spectre_scss 0.5.5.0 → 0.5.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (27) hide show
  1. checksums.yaml +4 -4
  2. data/lib/spectre_scss/version.rb +1 -1
  3. data/vendor/assets/stylesheets/spectre/_accordions.scss +2 -2
  4. data/vendor/assets/stylesheets/spectre/_buttons.scss +6 -4
  5. data/vendor/assets/stylesheets/spectre/_calendars.scss +1 -1
  6. data/vendor/assets/stylesheets/spectre/_carousels.scss +1 -1
  7. data/vendor/assets/stylesheets/spectre/_chips.scss +1 -0
  8. data/vendor/assets/stylesheets/spectre/_forms.scss +4 -4
  9. data/vendor/assets/stylesheets/spectre/_hero.scss +22 -0
  10. data/vendor/assets/stylesheets/spectre/_layout.scss +0 -1
  11. data/vendor/assets/stylesheets/spectre/_mixins.scss +1 -2
  12. data/vendor/assets/stylesheets/spectre/_off-canvas.scss +1 -1
  13. data/vendor/assets/stylesheets/spectre/_parallax.scss +1 -1
  14. data/vendor/assets/stylesheets/spectre/_popovers.scss +1 -1
  15. data/vendor/assets/stylesheets/spectre/_sliders.scss +3 -3
  16. data/vendor/assets/stylesheets/spectre/_tables.scss +1 -1
  17. data/vendor/assets/stylesheets/spectre/_toasts.scss +7 -1
  18. data/vendor/assets/stylesheets/spectre/_tooltips.scss +1 -1
  19. data/vendor/assets/stylesheets/spectre/_typography.scss +2 -1
  20. data/vendor/assets/stylesheets/spectre/_variables.scss +1 -1
  21. data/vendor/assets/stylesheets/spectre/icons/_icons-action.scss +22 -23
  22. data/vendor/assets/stylesheets/spectre/icons/_icons-core.scss +1 -0
  23. data/vendor/assets/stylesheets/spectre/icons/_icons-navigation.scss +0 -6
  24. data/vendor/assets/stylesheets/spectre/icons/_icons-object.scss +3 -18
  25. data/vendor/assets/stylesheets/spectre/spectre.scss +1 -0
  26. metadata +3 -3
  27. data/vendor/assets/stylesheets/spectre/mixins/_transition.scss +0 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cee4800c834f3cd72e107c75b9f5346afd455722dc240ed1a26052e63ac31699
4
- data.tar.gz: c2142ade66f5cb6455c50e4f3aa1e727e83bfddc95c7ce8e21ae0b6b3a208c83
3
+ metadata.gz: 33803d89a05a4b253d90572b0549c87548141afd65e7a8915286b5051cd13729
4
+ data.tar.gz: 63429bf1267303c020038f9a24a941622e9e9c4960d74bf18d657e48f291873d
5
5
  SHA512:
6
- metadata.gz: 7f916b6a629e77aff7f6c4d864d0fc96bb6540846ee10fd7d3c34aa88ea82e8315ad12a9167515b68977cf36d400ee15a4f42004962b6905006362b6726da933
7
- data.tar.gz: 57a3f99c84ece4f16ce577843599b45f4ec8f9f224d9ffc26159b4d9c827f66d89a04ac6b83e763463fcc350239bd121889dc2b6cca6d1f107a5fe9b7dbe52a8
6
+ metadata.gz: '0085ffdfc32b0e9d1b617c2af116d4b84d985b24d1ee8ef9ed0e0488ae9382147ae0e1dcea16b1ef752a280504653ecd4e8e073c37a3d0ae32fca59a5cb7751c'
7
+ data.tar.gz: bdd91eabfd7c665c0963017590a76c16442f41fb3967c843ed3955f1dc91505b8bc8674b919ee21b2f7aca76026ff072cffd65b8f2f21e15a2d642b0c3061019
@@ -1,3 +1,3 @@
1
1
  module SpectreScss
2
- VERSION = '0.5.5.0'
2
+ VERSION = '0.5.6.0'
3
3
  end
@@ -18,7 +18,7 @@
18
18
  padding: $unit-1 $unit-2;
19
19
 
20
20
  .icon {
21
- transition: all .2s ease;
21
+ transition: transform .25s;
22
22
  }
23
23
  }
24
24
 
@@ -26,7 +26,7 @@
26
26
  margin-bottom: $layout-spacing;
27
27
  max-height: 0;
28
28
  overflow: hidden;
29
- transition: max-height .2s ease;
29
+ transition: max-height .25s;
30
30
  }
31
31
  }
32
32
 
@@ -1,6 +1,5 @@
1
1
  // Buttons
2
2
  .btn {
3
- @include control-transition();
4
3
  appearance: none;
5
4
  background: $bg-color-light;
6
5
  border: $border-width solid $primary-color;
@@ -15,6 +14,7 @@
15
14
  padding: $control-padding-y $control-padding-x;
16
15
  text-align: center;
17
16
  text-decoration: none;
17
+ transition: background .2s, border .2s, box-shadow .2s, color .2s;
18
18
  user-select: none;
19
19
  vertical-align: middle;
20
20
  white-space: nowrap;
@@ -134,16 +134,18 @@
134
134
  background: transparent;
135
135
  border: 0;
136
136
  color: currentColor;
137
- height: $unit-4;
137
+ height: $unit-5;
138
138
  line-height: $unit-4;
139
139
  margin-left: $unit-1;
140
140
  margin-right: -2px;
141
141
  opacity: 1;
142
- padding: 0;
142
+ padding: $unit-h;
143
143
  text-decoration: none;
144
- width: $unit-4;
144
+ width: $unit-5;
145
145
 
146
+ &:focus,
146
147
  &:hover {
148
+ background: rgba($bg-color, .5);
147
149
  opacity: .95;
148
150
  }
149
151
 
@@ -45,7 +45,6 @@
45
45
  padding: $unit-1;
46
46
 
47
47
  .date-item {
48
- @include control-transition();
49
48
  appearance: none;
50
49
  background: transparent;
51
50
  border: $border-width solid transparent;
@@ -60,6 +59,7 @@
60
59
  position: relative;
61
60
  text-align: center;
62
61
  text-decoration: none;
62
+ transition: background .2s, border .2s, box-shadow .2s, color .2s;
63
63
  vertical-align: middle;
64
64
  white-space: nowrap;
65
65
  width: $unit-7;
@@ -44,7 +44,7 @@
44
44
  opacity: 0;
45
45
  position: absolute;
46
46
  top: 50%;
47
- transition: all .4s ease;
47
+ transition: all .4s;
48
48
  transform: translateY(-50%);
49
49
  z-index: $zindex-1;
50
50
  }
@@ -27,6 +27,7 @@
27
27
  }
28
28
 
29
29
  .btn-clear {
30
+ border-radius: 50%;
30
31
  transform: scale(.75);
31
32
  }
32
33
  }
@@ -34,7 +34,6 @@ legend {
34
34
 
35
35
  // Form element: Input
36
36
  .form-input {
37
- @include control-transition();
38
37
  appearance: none;
39
38
  background: $bg-color-light;
40
39
  background-image: none;
@@ -49,6 +48,7 @@ legend {
49
48
  outline: none;
50
49
  padding: $control-padding-y $control-padding-x;
51
50
  position: relative;
51
+ transition: background .2s, border .2s, box-shadow .2s, color .2s;
52
52
  width: 100%;
53
53
  &:focus {
54
54
  @include control-shadow();
@@ -221,11 +221,11 @@ textarea.form-input {
221
221
  }
222
222
 
223
223
  .form-icon {
224
- @include control-transition();
225
224
  border: $border-width solid $border-color-dark;
226
225
  cursor: pointer;
227
226
  display: inline-block;
228
227
  position: absolute;
228
+ transition: background .2s, border .2s, box-shadow .2s, color .2s;
229
229
  }
230
230
 
231
231
  // Input checkbox, radio and switch sizes
@@ -331,7 +331,6 @@ textarea.form-input {
331
331
  top: ($control-size-sm - $unit-4) / 2 - $border-width;
332
332
  width: $unit-8;
333
333
  &::before {
334
- @include control-transition();
335
334
  background: $bg-color-light;
336
335
  border-radius: 50%;
337
336
  content: "";
@@ -340,6 +339,7 @@ textarea.form-input {
340
339
  left: 0;
341
340
  position: absolute;
342
341
  top: 0;
342
+ transition: background .2s, border .2s, box-shadow .2s, color .2s, left .2s;
343
343
  width: $unit-4;
344
344
  }
345
345
  }
@@ -486,7 +486,7 @@ textarea.form-input {
486
486
  border-color: $error-color;
487
487
  &:focus {
488
488
  @include control-shadow($error-color);
489
- background: lighten($error-color, 10%);
489
+ background: lighten($error-color, 53%);
490
490
  }
491
491
 
492
492
  & + .form-input-hint {
@@ -0,0 +1,22 @@
1
+ // Hero
2
+ .hero {
3
+ display: flex;
4
+ flex-direction: column;
5
+ justify-content: space-between;
6
+ padding-bottom: 4rem;
7
+ padding-top: 4rem;
8
+
9
+ &.hero-sm {
10
+ padding-bottom: 2rem;
11
+ padding-top: 2rem;
12
+ }
13
+
14
+ &.hero-lg {
15
+ padding-bottom: 8rem;
16
+ padding-top: 8rem;
17
+ }
18
+
19
+ .hero-body {
20
+ padding: $layout-spacing;
21
+ }
22
+ }
@@ -5,7 +5,6 @@
5
5
  padding-left: $layout-spacing;
6
6
  padding-right: $layout-spacing;
7
7
  width: 100%;
8
- @extend .clearfix;
9
8
 
10
9
  $grid-spacing: ($layout-spacing / ($layout-spacing * 0 + 1)) * $html-font-size;
11
10
 
@@ -7,5 +7,4 @@
7
7
  @import "mixins/position";
8
8
  @import "mixins/shadow";
9
9
  @import "mixins/text";
10
- @import "mixins/toast";
11
- @import "mixins/transition";
10
+ @import "mixins/toast";
@@ -28,7 +28,7 @@ $off-canvas-breakpoint: $size-lg !default;
28
28
  overflow-y: auto;
29
29
  position: fixed;
30
30
  top: 0;
31
- transition: transform .25s ease;
31
+ transition: transform .25s;
32
32
  z-index: $zindex-2;
33
33
  @if $rtl == true {
34
34
  right: 0;
@@ -52,7 +52,7 @@ $parallax-fade-color: rgba(255, 255, 255, .35) !default;
52
52
  text-shadow: 0 0 20px rgba($dark-color, .75);
53
53
  top: 0;
54
54
  transform: translateZ($parallax-offset-z) scale($parallax-scale);
55
- transition: all .4s ease;
55
+ transition: transform .4s;
56
56
  width: 100%;
57
57
  z-index: $zindex-0;
58
58
  }
@@ -10,7 +10,7 @@
10
10
  position: absolute;
11
11
  top: 0;
12
12
  transform: translate(-50%, -50%) scale(0);
13
- transition: transform .2s ease;
13
+ transition: transform .2s;
14
14
  width: $control-width-sm;
15
15
  z-index: $zindex-3;
16
16
  }
@@ -26,7 +26,7 @@
26
26
  border-radius: 50%;
27
27
  height: $unit-3;
28
28
  margin-top: -($unit-3 - $unit-h) / 2;
29
- transition: transform .2s ease;
29
+ transition: transform .2s;
30
30
  width: $unit-3;
31
31
  }
32
32
  &::-moz-range-thumb {
@@ -34,7 +34,7 @@
34
34
  border: 0;
35
35
  border-radius: 50%;
36
36
  height: $unit-3;
37
- transition: transform .2s ease;
37
+ transition: transform .2s;
38
38
  width: $unit-3;
39
39
  }
40
40
  &::-ms-thumb {
@@ -42,7 +42,7 @@
42
42
  border: 0;
43
43
  border-radius: 50%;
44
44
  height: $unit-3;
45
- transition: transform .2s ease;
45
+ transition: transform .2s;
46
46
  width: $unit-3;
47
47
  }
48
48
 
@@ -38,7 +38,7 @@
38
38
  }
39
39
  }
40
40
 
41
- // Tables with horizontal scrollbar
41
+ // Scollable tables
42
42
  &.table-scroll {
43
43
  display: block;
44
44
  overflow-x: auto;
@@ -37,6 +37,12 @@
37
37
  }
38
38
 
39
39
  .btn-clear {
40
- margin: 4px -2px 4px 4px;
40
+ margin: $unit-h;
41
+ }
42
+
43
+ p {
44
+ &:last-child {
45
+ margin-bottom: 0;
46
+ }
41
47
  }
42
48
  }
@@ -18,7 +18,7 @@
18
18
  position: absolute;
19
19
  text-overflow: ellipsis;
20
20
  transform: translate(-50%, $unit-2);
21
- transition: all .2s ease;
21
+ transition: opacity .2s, transform .2s;
22
22
  white-space: pre;
23
23
  z-index: $zindex-3;
24
24
  }
@@ -71,8 +71,9 @@ kbd {
71
71
 
72
72
  mark {
73
73
  @include label-variant($body-font-color, $highlight-color);
74
+ border-bottom: $unit-o solid darken($highlight-color, 15%);
74
75
  border-radius: $border-radius;
75
- padding: .05rem;
76
+ padding: $unit-o $unit-h 0;
76
77
  }
77
78
 
78
79
  // Blockquote
@@ -1,5 +1,5 @@
1
1
  // Core variables
2
- $version: "0.5.5";
2
+ $version: "0.5.6";
3
3
 
4
4
  // Core features
5
5
  $rtl: false !default;
@@ -1,4 +1,3 @@
1
-
2
1
  // Icon resize
3
2
  .icon-resize-horiz,
4
3
  .icon-resize-vert {
@@ -7,7 +6,6 @@
7
6
  border: $icon-border-width solid currentColor;
8
7
  border-bottom: 0;
9
8
  border-right: 0;
10
- content: "";
11
9
  height: .45em;
12
10
  width: .45em;
13
11
  }
@@ -35,7 +33,6 @@
35
33
  background: currentColor;
36
34
  box-shadow: -.4em 0, .4em 0;
37
35
  border-radius: 50%;
38
- content: "";
39
36
  height: 3px;
40
37
  width: 3px;
41
38
  }
@@ -53,7 +50,6 @@
53
50
  .icon-cross {
54
51
  &::before {
55
52
  background: currentColor;
56
- content: "";
57
53
  height: $icon-border-width;
58
54
  width: 100%;
59
55
  }
@@ -63,7 +59,6 @@
63
59
  .icon-cross {
64
60
  &::after {
65
61
  background: currentColor;
66
- content: "";
67
62
  height: 100%;
68
63
  width: $icon-border-width;
69
64
  }
@@ -88,7 +83,6 @@
88
83
  border: $icon-border-width solid currentColor;
89
84
  border-right: 0;
90
85
  border-top: 0;
91
- content: "";
92
86
  height: .5em;
93
87
  width: .9em;
94
88
  transform: translate(-50%, -75%) rotate(-45deg);
@@ -101,7 +95,6 @@
101
95
  border-radius: 50%;
102
96
  &::before {
103
97
  background: currentColor;
104
- content: "";
105
98
  height: $icon-border-width;
106
99
  transform: translate(-50%, -50%) rotate(45deg);
107
100
  width: 1em;
@@ -128,7 +121,6 @@
128
121
  border: $icon-border-width solid currentColor;
129
122
  border-radius: 50%;
130
123
  border-right-color: transparent;
131
- content: "";
132
124
  height: 1em;
133
125
  width: 1em;
134
126
  }
@@ -136,7 +128,6 @@
136
128
  border: .2em solid currentColor;
137
129
  border-top-color: transparent;
138
130
  border-left-color: transparent;
139
- content: "";
140
131
  height: 0;
141
132
  left: 80%;
142
133
  top: 20%;
@@ -149,7 +140,6 @@
149
140
  &::before {
150
141
  border: $icon-border-width solid currentColor;
151
142
  border-radius: 50%;
152
- content: "";
153
143
  height: .75em;
154
144
  left: 5%;
155
145
  top: 5%;
@@ -158,7 +148,6 @@
158
148
  }
159
149
  &::after {
160
150
  background: currentColor;
161
- content: "";
162
151
  height: $icon-border-width;
163
152
  left: 80%;
164
153
  top: 80%;
@@ -171,7 +160,6 @@
171
160
  .icon-edit {
172
161
  &::before {
173
162
  border: $icon-border-width solid currentColor;
174
- content: "";
175
163
  height: .4em;
176
164
  transform: translate(-40%, -60%) rotate(-45deg);
177
165
  width: .85em;
@@ -180,7 +168,6 @@
180
168
  border: .15em solid currentColor;
181
169
  border-top-color: transparent;
182
170
  border-right-color: transparent;
183
- content: "";
184
171
  height: 0;
185
172
  left: 5%;
186
173
  top: 95%;
@@ -196,7 +183,6 @@
196
183
  border-bottom-left-radius: $border-radius;
197
184
  border-bottom-right-radius: $border-radius;
198
185
  border-top: 0;
199
- content: "";
200
186
  height: .75em;
201
187
  top: 60%;
202
188
  width: .75em;
@@ -204,7 +190,6 @@
204
190
  &::after {
205
191
  background: currentColor;
206
192
  box-shadow: -.25em .2em, .25em .2em;
207
- content: "";
208
193
  height: $icon-border-width;
209
194
  top: $icon-border-width/2;
210
195
  width: .5em;
@@ -221,7 +206,6 @@
221
206
  border: $icon-border-width solid currentColor;
222
207
  border-left: 0;
223
208
  border-top: 0;
224
- content: "";
225
209
  height: .4em;
226
210
  left: 100%;
227
211
  top: .25em;
@@ -233,7 +217,6 @@
233
217
  border-bottom: 0;
234
218
  border-right: 0;
235
219
  border-radius: 75% 0;
236
- content: "";
237
220
  height: .5em;
238
221
  width: .6em;
239
222
  }
@@ -243,7 +226,6 @@
243
226
  .icon-flag {
244
227
  &::before {
245
228
  background: currentColor;
246
- content: "";
247
229
  height: 1em;
248
230
  left: 15%;
249
231
  width: $icon-border-width;
@@ -253,7 +235,6 @@
253
235
  border-bottom-right-radius: $border-radius;
254
236
  border-left: 0;
255
237
  border-top-right-radius: $border-radius;
256
- content: "";
257
238
  height: .65em;
258
239
  top: 35%;
259
240
  left: 60%;
@@ -268,7 +249,6 @@
268
249
  border-bottom: 0;
269
250
  border-top-left-radius: $border-radius;
270
251
  border-top-right-radius: $border-radius;
271
- content: "";
272
252
  height: .9em;
273
253
  width: .8em;
274
254
  }
@@ -277,7 +257,6 @@
277
257
  border-bottom: 0;
278
258
  border-left: 0;
279
259
  border-radius: $border-radius;
280
- content: "";
281
260
  height: .5em;
282
261
  transform: translate(-50%, 35%) rotate(-45deg) skew(15deg, 15deg);
283
262
  width: .5em;
@@ -292,14 +271,12 @@
292
271
  border: $icon-border-width solid currentColor;
293
272
  border-bottom: 0;
294
273
  border-right: 0;
295
- content: "";
296
274
  height: .5em;
297
275
  width: .5em;
298
276
  transform: translate(-50%, -60%) rotate(-135deg);
299
277
  }
300
278
  &::after {
301
279
  background: currentColor;
302
- content: "";
303
280
  height: .6em;
304
281
  top: 40%;
305
282
  width: $icon-border-width;
@@ -314,3 +291,25 @@
314
291
  top: 50%;
315
292
  }
316
293
  }
294
+
295
+ // Icon copy
296
+ .icon-copy {
297
+ &::before {
298
+ border: $icon-border-width solid currentColor;
299
+ border-radius: $border-radius;
300
+ border-right: 0;
301
+ border-bottom: 0;
302
+ height: .8em;
303
+ left: 40%;
304
+ top: 35%;
305
+ width: .8em;
306
+ }
307
+ &::after {
308
+ border: $icon-border-width solid currentColor;
309
+ border-radius: $border-radius;
310
+ height: .8em;
311
+ left: 60%;
312
+ top: 60%;
313
+ width: .8em;
314
+ }
315
+ }
@@ -15,6 +15,7 @@ $icon-prefix: "icon";
15
15
  width: 1em;
16
16
  &::before,
17
17
  &::after {
18
+ content: "";
18
19
  display: block;
19
20
  left: 50%;
20
21
  position: absolute;
@@ -11,7 +11,6 @@
11
11
  border: $icon-border-width solid currentColor;
12
12
  border-bottom: 0;
13
13
  border-right: 0;
14
- content: "";
15
14
  height: .65em;
16
15
  width: .65em;
17
16
  }
@@ -45,7 +44,6 @@
45
44
  .icon-forward {
46
45
  &::after {
47
46
  background: currentColor;
48
- content: "";
49
47
  height: $icon-border-width;
50
48
  width: .8em;
51
49
  }
@@ -55,7 +53,6 @@
55
53
  .icon-upward {
56
54
  &::after {
57
55
  background: currentColor;
58
- content: "";
59
56
  height: .8em;
60
57
  width: $icon-border-width;
61
58
  }
@@ -103,7 +100,6 @@
103
100
  border-top: .3em solid currentColor;
104
101
  border-right: .3em solid transparent;
105
102
  border-left: .3em solid transparent;
106
- content: "";
107
103
  height: 0;
108
104
  transform: translate(-50%, -25%);
109
105
  width: 0;
@@ -115,7 +111,6 @@
115
111
  &::before {
116
112
  background: currentColor;
117
113
  box-shadow: 0 -.35em, 0 .35em;
118
- content: "";
119
114
  height: $icon-border-width;
120
115
  width: 100%;
121
116
  }
@@ -126,7 +121,6 @@
126
121
  &::before {
127
122
  background: currentColor;
128
123
  box-shadow: -.35em -.35em, -.35em 0, -.35em .35em, 0 -.35em, 0 .35em, .35em -.35em, .35em 0, .35em .35em;
129
- content: "";
130
124
  height: 3px;
131
125
  width: 3px;
132
126
  }
@@ -4,14 +4,12 @@
4
4
  border-radius: 50%;
5
5
  &::before {
6
6
  background: currentColor;
7
- content: "";
8
7
  height: .4em;
9
8
  transform: translate(-50%, -75%);
10
9
  width: $icon-border-width;
11
10
  }
12
11
  &::after {
13
12
  background: currentColor;
14
- content: "";
15
13
  height: .3em;
16
14
  transform: translate(-50%, -75%) rotate(90deg);
17
15
  transform-origin: 50% 90%;
@@ -24,7 +22,6 @@
24
22
  &::before {
25
23
  border: $icon-border-width solid currentColor;
26
24
  border-radius: $border-radius;
27
- content: "";
28
25
  height: .8em;
29
26
  width: 1em;
30
27
  }
@@ -32,7 +29,6 @@
32
29
  border: $icon-border-width solid currentColor;
33
30
  border-right: 0;
34
31
  border-top: 0;
35
- content: "";
36
32
  height: .5em;
37
33
  transform: translate(-50%, -90%) rotate(-45deg) skew(10deg, 10deg);
38
34
  width: .5em;
@@ -44,7 +40,6 @@
44
40
  &::before {
45
41
  border: $icon-border-width solid currentColor;
46
42
  border-radius: 50%;
47
- content: "";
48
43
  height: .45em;
49
44
  top: 25%;
50
45
  width: .45em;
@@ -52,7 +47,6 @@
52
47
  &::after {
53
48
  border: $icon-border-width solid currentColor;
54
49
  border-radius: 50% 50% 0 0;
55
- content: "";
56
50
  height: .4em;
57
51
  top: 75%;
58
52
  width: .9em;
@@ -70,7 +64,6 @@
70
64
  border-bottom-right-radius: $border-radius;
71
65
  border-left: 0;
72
66
  border-top: 0;
73
- content: "";
74
67
  height: .8em;
75
68
  left: 65%;
76
69
  top: 40%;
@@ -79,7 +72,6 @@
79
72
  &::after {
80
73
  background: currentColor;
81
74
  border-radius: $border-radius;
82
- content: "";
83
75
  height: .3em;
84
76
  left: 10%;
85
77
  top: 100%;
@@ -95,7 +87,6 @@
95
87
  &::before {
96
88
  border: $icon-border-width solid currentColor;
97
89
  border-radius: 50%;
98
- content: "";
99
90
  height: .25em;
100
91
  left: 35%;
101
92
  top: 35%;
@@ -105,7 +96,6 @@
105
96
  border: $icon-border-width solid currentColor;
106
97
  border-bottom: 0;
107
98
  border-left: 0;
108
- content: "";
109
99
  height: .5em;
110
100
  left: 60%;
111
101
  transform: translate(-50%, 25%) rotate(-45deg);
@@ -120,7 +110,6 @@
120
110
  border: $icon-border-width solid currentColor;
121
111
  border-radius: 5em 0 0 5em;
122
112
  border-right: 0;
123
- content: "";
124
113
  height: .5em;
125
114
  width: .75em;
126
115
  }
@@ -137,7 +126,6 @@
137
126
  &::before {
138
127
  border: $icon-border-width solid currentColor;
139
128
  border-radius: 50% 50% 50% 0;
140
- content: "";
141
129
  height: .8em;
142
130
  transform: translate(-50%, -60%) rotate(-45deg);
143
131
  width: .8em;
@@ -145,7 +133,6 @@
145
133
  &::after {
146
134
  border: $icon-border-width solid currentColor;
147
135
  border-radius: 50%;
148
- content: "";
149
136
  height: .2em;
150
137
  transform: translate(-50%, -80%);
151
138
  width: .2em;
@@ -158,17 +145,15 @@
158
145
  border-radius: 50%;
159
146
  &::before {
160
147
  border-radius: 50%;
161
- box-shadow: -.17em -.15em, .17em -.15em;
162
- content: "";
163
- height: .1em;
164
- width: .1em;
148
+ box-shadow: -.17em -.1em, .17em -.1em;
149
+ height: .15em;
150
+ width: .15em;
165
151
  }
166
152
  &::after {
167
153
  border: $icon-border-width solid currentColor;
168
154
  border-bottom-color: transparent;
169
155
  border-radius: 50%;
170
156
  border-right-color: transparent;
171
- content: "";
172
157
  height: .5em;
173
158
  transform: translate(-50%, -40%) rotate(-135deg);
174
159
  width: .5em;
@@ -19,6 +19,7 @@
19
19
 
20
20
  // Layout
21
21
  @import "layout";
22
+ @import "hero";
22
23
  @import "navbar";
23
24
 
24
25
  // Components
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spectre_scss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.5.0
4
+ version: 0.5.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoran
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-09 00:00:00.000000000 Z
11
+ date: 2018-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,6 +92,7 @@ files:
92
92
  - vendor/assets/stylesheets/spectre/_empty.scss
93
93
  - vendor/assets/stylesheets/spectre/_filters.scss
94
94
  - vendor/assets/stylesheets/spectre/_forms.scss
95
+ - vendor/assets/stylesheets/spectre/_hero.scss
95
96
  - vendor/assets/stylesheets/spectre/_icons.scss
96
97
  - vendor/assets/stylesheets/spectre/_labels.scss
97
98
  - vendor/assets/stylesheets/spectre/_layout.scss
@@ -133,7 +134,6 @@ files:
133
134
  - vendor/assets/stylesheets/spectre/mixins/_shadow.scss
134
135
  - vendor/assets/stylesheets/spectre/mixins/_text.scss
135
136
  - vendor/assets/stylesheets/spectre/mixins/_toast.scss
136
- - vendor/assets/stylesheets/spectre/mixins/_transition.scss
137
137
  - vendor/assets/stylesheets/spectre/spectre-exp.scss
138
138
  - vendor/assets/stylesheets/spectre/spectre-icons.scss
139
139
  - vendor/assets/stylesheets/spectre/spectre.scss
@@ -1,4 +0,0 @@
1
- // Component transition
2
- @mixin control-transition() {
3
- transition: all .2s ease;
4
- }