viniBaxter-desk_front 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/lib/viniBaxter/desk_front/version.rb +1 -1
  3. data/lib/viniBaxter/sass/desk_front.scss +2 -20
  4. metadata +2 -93
  5. data/lib/viniBaxter/sass/desk_front/_user-variables.scss +0 -8
  6. data/lib/viniBaxter/sass/desk_front/_user.scss +0 -4
  7. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +0 -51
  8. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +0 -54
  9. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +0 -42
  10. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +0 -163
  11. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +0 -139
  12. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +0 -278
  13. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +0 -197
  14. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +0 -41
  15. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +0 -48
  16. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +0 -521
  17. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +0 -191
  18. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +0 -338
  19. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +0 -134
  20. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +0 -69
  21. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +0 -42
  22. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +0 -191
  23. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +0 -17
  24. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +0 -158
  25. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +0 -8
  26. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +0 -47
  27. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +0 -239
  28. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +0 -120
  29. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +0 -324
  30. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +0 -73
  31. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +0 -170
  32. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +0 -141
  33. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +0 -46
  34. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +0 -482
  35. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +0 -20
  36. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +0 -55
  37. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +0 -185
  38. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +0 -44
  39. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +0 -115
  40. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +0 -20
  41. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +0 -125
  42. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +0 -17
  43. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +0 -1143
  44. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +0 -29
  45. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +0 -12
  46. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +0 -44
  47. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +0 -13
  48. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +0 -22
  49. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +0 -17
  50. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +0 -63
  51. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +0 -20
  52. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +0 -123
  53. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +0 -110
  54. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +0 -62
  55. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +0 -7
  56. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +0 -10
  57. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +0 -14
  58. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +0 -177
  59. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +0 -45
  60. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +0 -71
  61. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +0 -69
  62. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +0 -37
  63. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +0 -36
  64. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +0 -21
  65. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +0 -7
  66. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +0 -11
  67. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +0 -22
  68. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +0 -17
  69. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +0 -6
  70. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +0 -34
  71. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +0 -7
  72. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +0 -39
  73. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +0 -17
  74. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +0 -11
  75. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +0 -8
  76. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +0 -16
  77. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +0 -8
  78. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +0 -8
  79. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +0 -19
  80. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +0 -75
  81. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +0 -3
  82. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +0 -26
  83. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +0 -39
  84. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +0 -51
  85. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +0 -11
  86. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +0 -5
  87. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +0 -32
  88. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +0 -11
  89. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +0 -6
  90. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +0 -20
  91. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +0 -73
  92. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +0 -19
  93. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +0 -72
  94. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +0 -13
  95. data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +0 -204
@@ -1,278 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .card {
6
- position: relative;
7
- display: flex;
8
- flex-direction: column;
9
- min-width: 0; // See https://github.com/twbs/bootstrap/pull/22740#issuecomment-305868106
10
- height: $card-height;
11
- word-wrap: break-word;
12
- background-color: $card-bg;
13
- background-clip: border-box;
14
- border: $card-border-width solid $card-border-color;
15
- @include border-radius($card-border-radius);
16
-
17
- > hr {
18
- margin-right: 0;
19
- margin-left: 0;
20
- }
21
-
22
- > .list-group:first-child {
23
- .list-group-item:first-child {
24
- @include border-top-radius($card-border-radius);
25
- }
26
- }
27
-
28
- > .list-group:last-child {
29
- .list-group-item:last-child {
30
- @include border-bottom-radius($card-border-radius);
31
- }
32
- }
33
- }
34
-
35
- .card-body {
36
- // Enable `flex-grow: 1` for decks and groups so that card blocks take up
37
- // as much space as possible, ensuring footers are aligned to the bottom.
38
- flex: 1 1 auto;
39
- // Workaround for the image size bug in IE
40
- // See: https://github.com/twbs/bootstrap/pull/28855
41
- min-height: 1px;
42
- padding: $card-spacer-x;
43
- color: $card-color;
44
- }
45
-
46
- .card-title {
47
- margin-bottom: $card-spacer-y;
48
- }
49
-
50
- .card-subtitle {
51
- margin-top: -$card-spacer-y / 2;
52
- margin-bottom: 0;
53
- }
54
-
55
- .card-text:last-child {
56
- margin-bottom: 0;
57
- }
58
-
59
- .card-link {
60
- @include hover() {
61
- text-decoration: none;
62
- }
63
-
64
- + .card-link {
65
- margin-left: $card-spacer-x;
66
- }
67
- }
68
-
69
- //
70
- // Optional textual caps
71
- //
72
-
73
- .card-header {
74
- padding: $card-spacer-y $card-spacer-x;
75
- margin-bottom: 0; // Removes the default margin-bottom of <hN>
76
- color: $card-cap-color;
77
- background-color: $card-cap-bg;
78
- border-bottom: $card-border-width solid $card-border-color;
79
-
80
- &:first-child {
81
- @include border-radius($card-inner-border-radius $card-inner-border-radius 0 0);
82
- }
83
-
84
- + .list-group {
85
- .list-group-item:first-child {
86
- border-top: 0;
87
- }
88
- }
89
- }
90
-
91
- .card-footer {
92
- padding: $card-spacer-y $card-spacer-x;
93
- background-color: $card-cap-bg;
94
- border-top: $card-border-width solid $card-border-color;
95
-
96
- &:last-child {
97
- @include border-radius(0 0 $card-inner-border-radius $card-inner-border-radius);
98
- }
99
- }
100
-
101
-
102
- //
103
- // Header navs
104
- //
105
-
106
- .card-header-tabs {
107
- margin-right: -$card-spacer-x / 2;
108
- margin-bottom: -$card-spacer-y;
109
- margin-left: -$card-spacer-x / 2;
110
- border-bottom: 0;
111
- }
112
-
113
- .card-header-pills {
114
- margin-right: -$card-spacer-x / 2;
115
- margin-left: -$card-spacer-x / 2;
116
- }
117
-
118
- // Card image
119
- .card-img-overlay {
120
- position: absolute;
121
- top: 0;
122
- right: 0;
123
- bottom: 0;
124
- left: 0;
125
- padding: $card-img-overlay-padding;
126
- }
127
-
128
- .card-img,
129
- .card-img-top,
130
- .card-img-bottom {
131
- flex-shrink: 0; // For IE: https://github.com/twbs/bootstrap/issues/29396
132
- width: 100%; // Required because we use flexbox and this inherently applies align-self: stretch
133
- }
134
-
135
- .card-img,
136
- .card-img-top {
137
- @include border-top-radius($card-inner-border-radius);
138
- }
139
-
140
- .card-img,
141
- .card-img-bottom {
142
- @include border-bottom-radius($card-inner-border-radius);
143
- }
144
-
145
-
146
- // Card deck
147
-
148
- .card-deck {
149
- .card {
150
- margin-bottom: $card-deck-margin;
151
- }
152
-
153
- @include media-breakpoint-up(sm) {
154
- display: flex;
155
- flex-flow: row wrap;
156
- margin-right: -$card-deck-margin;
157
- margin-left: -$card-deck-margin;
158
-
159
- .card {
160
- // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
161
- flex: 1 0 0%;
162
- margin-right: $card-deck-margin;
163
- margin-bottom: 0; // Override the default
164
- margin-left: $card-deck-margin;
165
- }
166
- }
167
- }
168
-
169
-
170
- //
171
- // Card groups
172
- //
173
-
174
- .card-group {
175
- // The child selector allows nested `.card` within `.card-group`
176
- // to display properly.
177
- > .card {
178
- margin-bottom: $card-group-margin;
179
- }
180
-
181
- @include media-breakpoint-up(sm) {
182
- display: flex;
183
- flex-flow: row wrap;
184
- // The child selector allows nested `.card` within `.card-group`
185
- // to display properly.
186
- > .card {
187
- // Flexbugs #4: https://github.com/philipwalton/flexbugs#flexbug-4
188
- flex: 1 0 0%;
189
- margin-bottom: 0;
190
-
191
- + .card {
192
- margin-left: 0;
193
- border-left: 0;
194
- }
195
-
196
- // Handle rounded corners
197
- @if $enable-rounded {
198
- &:not(:last-child) {
199
- @include border-right-radius(0);
200
-
201
- .card-img-top,
202
- .card-header {
203
- // stylelint-disable-next-line property-blacklist
204
- border-top-right-radius: 0;
205
- }
206
- .card-img-bottom,
207
- .card-footer {
208
- // stylelint-disable-next-line property-blacklist
209
- border-bottom-right-radius: 0;
210
- }
211
- }
212
-
213
- &:not(:first-child) {
214
- @include border-left-radius(0);
215
-
216
- .card-img-top,
217
- .card-header {
218
- // stylelint-disable-next-line property-blacklist
219
- border-top-left-radius: 0;
220
- }
221
- .card-img-bottom,
222
- .card-footer {
223
- // stylelint-disable-next-line property-blacklist
224
- border-bottom-left-radius: 0;
225
- }
226
- }
227
- }
228
- }
229
- }
230
- }
231
-
232
-
233
- //
234
- // Columns
235
- //
236
-
237
- .card-columns {
238
- .card {
239
- margin-bottom: $card-columns-margin;
240
- }
241
-
242
- @include media-breakpoint-up(sm) {
243
- column-count: $card-columns-count;
244
- column-gap: $card-columns-gap;
245
- orphans: 1;
246
- widows: 1;
247
-
248
- .card {
249
- display: inline-block; // Don't let them vertically span multiple columns
250
- width: 100%; // Don't let their width change
251
- }
252
- }
253
- }
254
-
255
-
256
- //
257
- // Accordion
258
- //
259
-
260
- .accordion {
261
- > .card {
262
- overflow: hidden;
263
-
264
- &:not(:last-of-type) {
265
- border-bottom: 0;
266
- @include border-bottom-radius(0);
267
- }
268
-
269
- &:not(:first-of-type) {
270
- @include border-top-radius(0);
271
- }
272
-
273
- > .card-header {
274
- @include border-radius(0);
275
- margin-bottom: -$card-border-width;
276
- }
277
- }
278
- }
@@ -1,197 +0,0 @@
1
- // Notes on the classes:
2
- //
3
- // 1. .carousel.pointer-event should ideally be pan-y (to allow for users to scroll vertically)
4
- // even when their scroll action started on a carousel, but for compatibility (with Firefox)
5
- // we're preventing all actions instead
6
- // 2. The .carousel-item-left and .carousel-item-right is used to indicate where
7
- // the active slide is heading.
8
- // 3. .active.carousel-item is the current slide.
9
- // 4. .active.carousel-item-left and .active.carousel-item-right is the current
10
- // slide in its in-transition state. Only one of these occurs at a time.
11
- // 5. .carousel-item-next.carousel-item-left and .carousel-item-prev.carousel-item-right
12
- // is the upcoming slide in transition.
13
-
14
- .carousel {
15
- position: relative;
16
- }
17
-
18
- .carousel.pointer-event {
19
- touch-action: pan-y;
20
- }
21
-
22
- .carousel-inner {
23
- position: relative;
24
- width: 100%;
25
- overflow: hidden;
26
- @include clearfix();
27
- }
28
-
29
- .carousel-item {
30
- position: relative;
31
- display: none;
32
- float: left;
33
- width: 100%;
34
- margin-right: -100%;
35
- backface-visibility: hidden;
36
- @include transition($carousel-transition);
37
- }
38
-
39
- .carousel-item.active,
40
- .carousel-item-next,
41
- .carousel-item-prev {
42
- display: block;
43
- }
44
-
45
- .carousel-item-next:not(.carousel-item-left),
46
- .active.carousel-item-right {
47
- transform: translateX(100%);
48
- }
49
-
50
- .carousel-item-prev:not(.carousel-item-right),
51
- .active.carousel-item-left {
52
- transform: translateX(-100%);
53
- }
54
-
55
-
56
- //
57
- // Alternate transitions
58
- //
59
-
60
- .carousel-fade {
61
- .carousel-item {
62
- opacity: 0;
63
- transition-property: opacity;
64
- transform: none;
65
- }
66
-
67
- .carousel-item.active,
68
- .carousel-item-next.carousel-item-left,
69
- .carousel-item-prev.carousel-item-right {
70
- z-index: 1;
71
- opacity: 1;
72
- }
73
-
74
- .active.carousel-item-left,
75
- .active.carousel-item-right {
76
- z-index: 0;
77
- opacity: 0;
78
- @include transition(opacity 0s $carousel-transition-duration);
79
- }
80
- }
81
-
82
-
83
- //
84
- // Left/right controls for nav
85
- //
86
-
87
- .carousel-control-prev,
88
- .carousel-control-next {
89
- position: absolute;
90
- top: 0;
91
- bottom: 0;
92
- z-index: 1;
93
- // Use flex for alignment (1-3)
94
- display: flex; // 1. allow flex styles
95
- align-items: center; // 2. vertically center contents
96
- justify-content: center; // 3. horizontally center contents
97
- width: $carousel-control-width;
98
- color: $carousel-control-color;
99
- text-align: center;
100
- opacity: $carousel-control-opacity;
101
- @include transition($carousel-control-transition);
102
-
103
- // Hover/focus state
104
- @include hover-focus() {
105
- color: $carousel-control-color;
106
- text-decoration: none;
107
- outline: 0;
108
- opacity: $carousel-control-hover-opacity;
109
- }
110
- }
111
- .carousel-control-prev {
112
- left: 0;
113
- @if $enable-gradients {
114
- background-image: linear-gradient(90deg, rgba($black, .25), rgba($black, .001));
115
- }
116
- }
117
- .carousel-control-next {
118
- right: 0;
119
- @if $enable-gradients {
120
- background-image: linear-gradient(270deg, rgba($black, .25), rgba($black, .001));
121
- }
122
- }
123
-
124
- // Icons for within
125
- .carousel-control-prev-icon,
126
- .carousel-control-next-icon {
127
- display: inline-block;
128
- width: $carousel-control-icon-width;
129
- height: $carousel-control-icon-width;
130
- background: no-repeat 50% / 100% 100%;
131
- }
132
- .carousel-control-prev-icon {
133
- background-image: escape-svg($carousel-control-prev-icon-bg);
134
- }
135
- .carousel-control-next-icon {
136
- background-image: escape-svg($carousel-control-next-icon-bg);
137
- }
138
-
139
-
140
- // Optional indicator pips
141
- //
142
- // Add an ordered list with the following class and add a list item for each
143
- // slide your carousel holds.
144
-
145
- .carousel-indicators {
146
- position: absolute;
147
- right: 0;
148
- bottom: 0;
149
- left: 0;
150
- z-index: 15;
151
- display: flex;
152
- justify-content: center;
153
- padding-left: 0; // override <ol> default
154
- // Use the .carousel-control's width as margin so we don't overlay those
155
- margin-right: $carousel-control-width;
156
- margin-left: $carousel-control-width;
157
- list-style: none;
158
-
159
- li {
160
- box-sizing: content-box;
161
- flex: 0 1 auto;
162
- width: $carousel-indicator-width;
163
- height: $carousel-indicator-height;
164
- margin-right: $carousel-indicator-spacer;
165
- margin-left: $carousel-indicator-spacer;
166
- text-indent: -999px;
167
- cursor: pointer;
168
- background-color: $carousel-indicator-active-bg;
169
- background-clip: padding-box;
170
- // Use transparent borders to increase the hit area by 10px on top and bottom.
171
- border-top: $carousel-indicator-hit-area-height solid transparent;
172
- border-bottom: $carousel-indicator-hit-area-height solid transparent;
173
- opacity: .5;
174
- @include transition($carousel-indicator-transition);
175
- }
176
-
177
- .active {
178
- opacity: 1;
179
- }
180
- }
181
-
182
-
183
- // Optional captions
184
- //
185
- //
186
-
187
- .carousel-caption {
188
- position: absolute;
189
- right: (100% - $carousel-caption-width) / 2;
190
- bottom: 20px;
191
- left: (100% - $carousel-caption-width) / 2;
192
- z-index: 10;
193
- padding-top: 20px;
194
- padding-bottom: 20px;
195
- color: $carousel-caption-color;
196
- text-align: center;
197
- }
@@ -1,41 +0,0 @@
1
- .close {
2
- float: right;
3
- @include font-size($close-font-size);
4
- font-weight: $close-font-weight;
5
- line-height: 1;
6
- color: $close-color;
7
- text-shadow: $close-text-shadow;
8
- opacity: .5;
9
-
10
- // Override <a>'s hover style
11
- @include hover() {
12
- color: $close-color;
13
- text-decoration: none;
14
- }
15
-
16
- &:not(:disabled):not(.disabled) {
17
- @include hover-focus() {
18
- opacity: .75;
19
- }
20
- }
21
- }
22
-
23
- // Additional properties for button version
24
- // iOS requires the button element instead of an anchor tag.
25
- // If you want the anchor version, it requires `href="#"`.
26
- // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
27
-
28
- // stylelint-disable-next-line selector-no-qualifying-type
29
- button.close {
30
- padding: 0;
31
- background-color: transparent;
32
- border: 0;
33
- appearance: none;
34
- }
35
-
36
- // Future-proof disabling of clicks on `<a>` elements
37
-
38
- // stylelint-disable-next-line selector-no-qualifying-type
39
- a.close.disabled {
40
- pointer-events: none;
41
- }
@@ -1,48 +0,0 @@
1
- // Inline code
2
- code {
3
- @include font-size($code-font-size);
4
- color: $code-color;
5
- word-wrap: break-word;
6
-
7
- // Streamline the style when inside anchors to avoid broken underline and more
8
- a > & {
9
- color: inherit;
10
- }
11
- }
12
-
13
- // User input typically entered via keyboard
14
- kbd {
15
- padding: $kbd-padding-y $kbd-padding-x;
16
- @include font-size($kbd-font-size);
17
- color: $kbd-color;
18
- background-color: $kbd-bg;
19
- @include border-radius($border-radius-sm);
20
- @include box-shadow($kbd-box-shadow);
21
-
22
- kbd {
23
- padding: 0;
24
- @include font-size(100%);
25
- font-weight: $nested-kbd-font-weight;
26
- @include box-shadow(none);
27
- }
28
- }
29
-
30
- // Blocks of code
31
- pre {
32
- display: block;
33
- @include font-size($code-font-size);
34
- color: $pre-color;
35
-
36
- // Account for some code outputs that place code tags in pre tags
37
- code {
38
- @include font-size(inherit);
39
- color: inherit;
40
- word-break: normal;
41
- }
42
- }
43
-
44
- // Enable scrollable blocks of code
45
- .pre-scrollable {
46
- max-height: $pre-scrollable-max-height;
47
- overflow-y: scroll;
48
- }