scut 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/dist/_scut.scss +106 -135
- data/lib/scut.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4371e18570ddef0cc2de0474c1cc14b505cddfd1
|
4
|
+
data.tar.gz: 8703a4253e0a4561d17f083e22bd479a5e77b982
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf67ab7bc60e2b857c434bbe6edbe9acee888d91b6ae32c4b59aad79917efd14a6f3f88af1105f835b878998dac18e750c8beed7535873a2c7b125af8bf41128
|
7
|
+
data.tar.gz: 9ddadc1e1562b587ae1d2900fcb54f37ebd5369e17fe5197841124f18492236a95dd9d0cccb64c88ded3147e2c8add4c0e93905ba83381c22a8fdd9b7ebdd8b1
|
data/dist/_scut.scss
CHANGED
@@ -1,13 +1,10 @@
|
|
1
1
|
/*
|
2
2
|
* Scut, a collection of Sass utilities
|
3
3
|
* to ease and improve our implementations of common style-code patterns.
|
4
|
-
* v0.10.
|
4
|
+
* v0.10.2
|
5
5
|
* Docs at http://davidtheclark.github.io/scut
|
6
6
|
*/
|
7
7
|
|
8
|
-
// SCUT CLEARFIX
|
9
|
-
// http://davidtheclark.github.io/scut/#clearfix
|
10
|
-
|
11
8
|
@mixin scut-clearfix {
|
12
9
|
|
13
10
|
&:after {
|
@@ -21,9 +18,6 @@
|
|
21
18
|
%scut-clearfix {
|
22
19
|
@include scut-clearfix;
|
23
20
|
}
|
24
|
-
// SCUT LIST: UNSTYLED
|
25
|
-
// http://davidtheclark.github.io/scut/#list_unstyled
|
26
|
-
|
27
21
|
@mixin scut-list-unstyled(
|
28
22
|
$no-margin: true
|
29
23
|
) {
|
@@ -41,9 +35,6 @@
|
|
41
35
|
%scut-list-unstyled {
|
42
36
|
@include scut-list-unstyled();
|
43
37
|
}
|
44
|
-
// SCUT LIST: FLOATED
|
45
|
-
// http://davidtheclark.github.io/scut/#list_floated
|
46
|
-
|
47
38
|
// Depends on `list-unstyled` and `clearfix`.
|
48
39
|
|
49
40
|
@mixin scut-list-floated (
|
@@ -71,9 +62,6 @@
|
|
71
62
|
@include scut-list-floated;
|
72
63
|
}
|
73
64
|
|
74
|
-
// SCUT POSITIONING: COORDINATES
|
75
|
-
// http://davidtheclark.github.io/scut/#positioning_coordinates
|
76
|
-
|
77
65
|
@function scut-autoOrValue ($val) {
|
78
66
|
@if $val == a or $val == auto {
|
79
67
|
@return auto;
|
@@ -106,9 +94,6 @@
|
|
106
94
|
}
|
107
95
|
|
108
96
|
}
|
109
|
-
// SCUT STRIP UNIT
|
110
|
-
// http://davidtheclark.github.io/scut/#strip_unit
|
111
|
-
|
112
97
|
@function scut-strip-unit (
|
113
98
|
$num
|
114
99
|
) {
|
@@ -116,9 +101,6 @@
|
|
116
101
|
@return $num / ($num * 0 + 1);
|
117
102
|
|
118
103
|
}
|
119
|
-
// SCUT PIXELS TO EMS
|
120
|
-
// http://davidtheclark.github.io/scut/#pixels-to-ems
|
121
|
-
|
122
104
|
// Depends on `scut-strip-unit`.
|
123
105
|
|
124
106
|
$scut-em-base: 16 !default;
|
@@ -150,9 +132,6 @@ $scut-em-base: 16 !default;
|
|
150
132
|
}
|
151
133
|
|
152
134
|
}
|
153
|
-
// SCUT PIXELS TO REMS
|
154
|
-
// http://davidtheclark.github.io/scut/#pixels-to-rems
|
155
|
-
|
156
135
|
// Depends on `scut-strip-unit`.
|
157
136
|
|
158
137
|
$scut-rem-base: 16 !default;
|
@@ -177,9 +156,6 @@ $scut-rem-base: 16 !default;
|
|
177
156
|
}
|
178
157
|
|
179
158
|
}
|
180
|
-
// SCUT BORDER
|
181
|
-
// http://davidtheclark.github.io/scut/#border
|
182
|
-
|
183
159
|
@mixin scut-border (
|
184
160
|
$style,
|
185
161
|
$sides: n y
|
@@ -216,9 +192,6 @@ $scut-rem-base: 16 !default;
|
|
216
192
|
}
|
217
193
|
|
218
194
|
}
|
219
|
-
// SCUT CIRCLE
|
220
|
-
// http://davidtheclark.github.io/scut/#circle
|
221
|
-
|
222
195
|
@mixin scut-circle (
|
223
196
|
$size,
|
224
197
|
$color: inherit
|
@@ -244,9 +217,64 @@ $scut-rem-base: 16 !default;
|
|
244
217
|
}
|
245
218
|
|
246
219
|
}
|
247
|
-
|
248
|
-
|
220
|
+
@mixin scut-color-swap (
|
221
|
+
$off,
|
222
|
+
$on,
|
223
|
+
$duration: 0,
|
224
|
+
$bg: false
|
225
|
+
) {
|
226
|
+
|
227
|
+
$transition-properties: null;
|
228
|
+
$off-is-list: type-of($off) == list;
|
229
|
+
$on-is-list: type-of($on) == list;
|
230
|
+
|
231
|
+
// If $off IS a list,
|
232
|
+
// assign color and background-color.
|
233
|
+
@if $off-is-list {
|
234
|
+
color: nth($off, 1);
|
235
|
+
background-color: nth($off, 2);
|
236
|
+
$transition-properties: background-color, color;
|
237
|
+
}
|
238
|
+
|
239
|
+
// If $off IS NOT a list and $bg is TRUE,
|
240
|
+
// assign background-color.
|
241
|
+
@else if $bg and not $off-is-list {
|
242
|
+
background-color: $off;
|
243
|
+
$transition-properties: background-color;
|
244
|
+
}
|
245
|
+
|
246
|
+
// If $off IS NOT a list and $bg is FALSE,
|
247
|
+
// assign color.
|
248
|
+
@else {
|
249
|
+
color: $off;
|
250
|
+
$transition-properties: color;
|
251
|
+
}
|
252
|
+
|
253
|
+
// Only set-up transition if $duration != 0.
|
254
|
+
@if $duration != 0 {
|
255
|
+
transition-property: $transition-properties;
|
256
|
+
transition-duration: $duration;
|
257
|
+
}
|
258
|
+
|
259
|
+
&:hover,
|
260
|
+
&:focus {
|
261
|
+
|
262
|
+
// $on is treated the same as $off, above.
|
263
|
+
@if $on-is-list {
|
264
|
+
color: nth($on, 1);
|
265
|
+
background-color: nth($on, 2);
|
266
|
+
}
|
267
|
+
|
268
|
+
@else if $bg and not $on-is-list {
|
269
|
+
background-color: $on;
|
270
|
+
}
|
249
271
|
|
272
|
+
@else {
|
273
|
+
color: $on;
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
}
|
250
278
|
@mixin scut-hd-bp (
|
251
279
|
$ratio: 1.3
|
252
280
|
) {
|
@@ -258,9 +286,6 @@ $scut-rem-base: 16 !default;
|
|
258
286
|
}
|
259
287
|
|
260
288
|
}
|
261
|
-
// SCUT HIDE VISUALLY
|
262
|
-
// http://davidtheclark.github.io/scut/#hide_visually
|
263
|
-
|
264
289
|
@mixin scut-hide-visually {
|
265
290
|
|
266
291
|
border: 0;
|
@@ -277,9 +302,6 @@ $scut-rem-base: 16 !default;
|
|
277
302
|
%scut-hide-visually {
|
278
303
|
@include scut-hide-visually;
|
279
304
|
}
|
280
|
-
// SCUT IMAGE REPLACEMENT
|
281
|
-
// http://davidtheclark.github.io/scut/#image_replacement
|
282
|
-
|
283
305
|
@mixin scut-image-replace {
|
284
306
|
|
285
307
|
text-indent: 102%;
|
@@ -291,9 +313,6 @@ $scut-rem-base: 16 !default;
|
|
291
313
|
%scut-image-replace {
|
292
314
|
@include scut-image-replace;
|
293
315
|
}
|
294
|
-
// SCUT REMS WITH FALLBACK
|
295
|
-
// http://davidtheclark.github.io/scut/#rems_with_fallback
|
296
|
-
|
297
316
|
// Depends on scut-rem and scut-strip-unit
|
298
317
|
|
299
318
|
@mixin scut-rem-fallback (
|
@@ -312,9 +331,6 @@ $scut-rem-base: 16 !default;
|
|
312
331
|
#{$property}: $rem-vals;
|
313
332
|
|
314
333
|
}
|
315
|
-
// SCUT RESET
|
316
|
-
// http://davidtheclark.github.io/scut/#reset
|
317
|
-
|
318
334
|
@mixin scut-reset-border-box {
|
319
335
|
// Make everything a border-box, because why not?
|
320
336
|
*, *:before, *:after {
|
@@ -403,6 +419,15 @@ $scut-rem-base: 16 !default;
|
|
403
419
|
}
|
404
420
|
}
|
405
421
|
|
422
|
+
@mixin scut-reset-media {
|
423
|
+
// You want these elements fluid, probably.
|
424
|
+
img,
|
425
|
+
video {
|
426
|
+
max-width: 100%;
|
427
|
+
height: auto;
|
428
|
+
}
|
429
|
+
}
|
430
|
+
|
406
431
|
// Call them all, minus exclusions!
|
407
432
|
@mixin scut-reset ($exclude: false) {
|
408
433
|
@if not index($exclude, border-box) {
|
@@ -426,10 +451,10 @@ $scut-rem-base: 16 !default;
|
|
426
451
|
@if not index($exclude, paragraph) {
|
427
452
|
@include scut-reset-paragraph;
|
428
453
|
}
|
454
|
+
@if not index($exclude, media) {
|
455
|
+
@include scut-reset-media;
|
456
|
+
}
|
429
457
|
}
|
430
|
-
// SCUT SELECTED
|
431
|
-
// http://davidtheclark.github.io/scut/#selected
|
432
|
-
|
433
458
|
@mixin scut-selected (
|
434
459
|
$active: false
|
435
460
|
) {
|
@@ -449,9 +474,6 @@ $scut-rem-base: 16 !default;
|
|
449
474
|
}
|
450
475
|
|
451
476
|
}
|
452
|
-
// SCUT TRIANGLE
|
453
|
-
// http://davidtheclark.github.io/scut/#triangle
|
454
|
-
|
455
477
|
@mixin scut-triangle (
|
456
478
|
$direction: right,
|
457
479
|
$size: 0.75em,
|
@@ -554,9 +576,6 @@ $scut-rem-base: 16 !default;
|
|
554
576
|
%scut-triangle {
|
555
577
|
@include scut-triangle;
|
556
578
|
}
|
557
|
-
// SCUT CENTER ABSOLUTELY
|
558
|
-
// http://davidtheclark.github.io/scut/#center_absolutely
|
559
|
-
|
560
579
|
@mixin scut-center-absolutely (
|
561
580
|
$dimensions
|
562
581
|
) {
|
@@ -579,9 +598,6 @@ $scut-rem-base: 16 !default;
|
|
579
598
|
}
|
580
599
|
|
581
600
|
}
|
582
|
-
// SCUT CENTER BLOCK
|
583
|
-
// http://davidtheclark.github.io/scut/#center_block
|
584
|
-
|
585
601
|
@mixin scut-center-block (
|
586
602
|
$max-width: false
|
587
603
|
) {
|
@@ -598,9 +614,6 @@ $scut-rem-base: 16 !default;
|
|
598
614
|
@include scut-center-block;
|
599
615
|
}
|
600
616
|
|
601
|
-
// SCUT CENTER TRANSFORM
|
602
|
-
// http://davidtheclark.github.io/scut/#center_transform
|
603
|
-
|
604
617
|
@mixin scut-center-transform (
|
605
618
|
$axis: false // or x or y
|
606
619
|
) {
|
@@ -648,9 +661,6 @@ $scut-rem-base: 16 !default;
|
|
648
661
|
@include scut-center-transform(y);
|
649
662
|
}
|
650
663
|
|
651
|
-
// SCUT FILL
|
652
|
-
// http://davidtheclark.github.io/scut/#fill
|
653
|
-
|
654
664
|
@mixin scut-fill (
|
655
665
|
$width-height: false
|
656
666
|
) {
|
@@ -672,9 +682,6 @@ $scut-rem-base: 16 !default;
|
|
672
682
|
%scut-fill {
|
673
683
|
@include scut-fill;
|
674
684
|
}
|
675
|
-
// SCUT LIST: CUSTOM
|
676
|
-
// http://davidtheclark.github.io/scut/#list_custom
|
677
|
-
|
678
685
|
@mixin scut-list-custom (
|
679
686
|
$content: "\2022",
|
680
687
|
$marker-width: 0.75em,
|
@@ -724,9 +731,6 @@ $scut-rem-base: 16 !default;
|
|
724
731
|
}
|
725
732
|
|
726
733
|
}
|
727
|
-
// SCUT LIST: DIVIDED
|
728
|
-
// http://davidtheclark.github.io/scut/#list_divided
|
729
|
-
|
730
734
|
// Depends on `list-floated`, which depends in turn on `list-unstyled` and `clearfix`.
|
731
735
|
|
732
736
|
@mixin scut-list-divided (
|
@@ -782,9 +786,6 @@ $scut-rem-base: 16 !default;
|
|
782
786
|
%scut-list-breadcrumb {
|
783
787
|
@include scut-list-divided("/");
|
784
788
|
}
|
785
|
-
// SCUT LIST: INLINE
|
786
|
-
// http://davidtheclark.github.io/scut/#list_inline
|
787
|
-
|
788
789
|
// Depends on `list-unstyled`.
|
789
790
|
|
790
791
|
@mixin scut-list-inline (
|
@@ -809,9 +810,6 @@ $scut-rem-base: 16 !default;
|
|
809
810
|
%scut-list-inline {
|
810
811
|
@include scut-list-inline;
|
811
812
|
}
|
812
|
-
// SCUT LIST: PUNCTUATED
|
813
|
-
// http://davidtheclark.github.io/scut/#list_punctuated
|
814
|
-
|
815
813
|
// Depends on `list-unstyled`.
|
816
814
|
|
817
815
|
@mixin scut-list-punctuated (
|
@@ -834,9 +832,6 @@ $scut-rem-base: 16 !default;
|
|
834
832
|
%scut-list-comma {
|
835
833
|
@include scut-list-punctuated;
|
836
834
|
}
|
837
|
-
// SCUT MARGIN
|
838
|
-
// http://davidtheclark.github.io/scut/#margin
|
839
|
-
|
840
835
|
@mixin scut-margin (
|
841
836
|
$margin
|
842
837
|
) {
|
@@ -897,9 +892,6 @@ $scut-rem-base: 16 !default;
|
|
897
892
|
}
|
898
893
|
|
899
894
|
}
|
900
|
-
// SCUT PADDING
|
901
|
-
// http://davidtheclark.github.io/scut/#padding
|
902
|
-
|
903
895
|
@mixin scut-padding (
|
904
896
|
$padding
|
905
897
|
) {
|
@@ -959,9 +951,6 @@ $scut-rem-base: 16 !default;
|
|
959
951
|
}
|
960
952
|
}
|
961
953
|
}
|
962
|
-
// SCUT POSITIONING: ABSOLUTE
|
963
|
-
// http://davidtheclark.github.io/scut/#positioning_absolute
|
964
|
-
|
965
954
|
// Depends on `positioning-coordinates`.
|
966
955
|
|
967
956
|
@mixin scut-absolute (
|
@@ -976,9 +965,6 @@ $scut-rem-base: 16 !default;
|
|
976
965
|
%scut-absolute {
|
977
966
|
@include scut-absolute;
|
978
967
|
}
|
979
|
-
// SCUT POSITIONING: FIXED
|
980
|
-
// http://davidtheclark.github.io/scut/#positioning_fixed
|
981
|
-
|
982
968
|
// Depends on `positioning-coordinates`.
|
983
969
|
|
984
970
|
@mixin scut-fixed (
|
@@ -993,9 +979,6 @@ $scut-rem-base: 16 !default;
|
|
993
979
|
%scut-fixed {
|
994
980
|
@include scut-fixed;
|
995
981
|
}
|
996
|
-
// SCUT POSITIONING: RELATIVE
|
997
|
-
// http://davidtheclark.github.io/scut/#positioning_relative
|
998
|
-
|
999
982
|
// Depends on `positioning-coordinates`.
|
1000
983
|
|
1001
984
|
@mixin scut-relative (
|
@@ -1006,9 +989,6 @@ $scut-rem-base: 16 !default;
|
|
1006
989
|
@include scut-coords($coordinates);
|
1007
990
|
|
1008
991
|
}
|
1009
|
-
// SCUT RATIO-BOX
|
1010
|
-
// http://davidtheclark.github.io/scut/#ratio-box
|
1011
|
-
|
1012
992
|
@mixin scut-ratio-box (
|
1013
993
|
$ratio: 1/1
|
1014
994
|
) {
|
@@ -1031,9 +1011,6 @@ $scut-rem-base: 16 !default;
|
|
1031
1011
|
%scut-ratio-box {
|
1032
1012
|
@include scut-ratio-box;
|
1033
1013
|
}
|
1034
|
-
// SCUT SIZE
|
1035
|
-
// http://davidtheclark.github.io/scut/#size
|
1036
|
-
|
1037
1014
|
@mixin scut-size(
|
1038
1015
|
$size
|
1039
1016
|
) {
|
@@ -1048,10 +1025,7 @@ $scut-rem-base: 16 !default;
|
|
1048
1025
|
}
|
1049
1026
|
|
1050
1027
|
}
|
1051
|
-
|
1052
|
-
// http://davidtheclark.github.io/scut/#sticky_footer
|
1053
|
-
|
1054
|
-
@mixin scut-sticky-footer (
|
1028
|
+
@mixin scut-sticky-footer-fixed (
|
1055
1029
|
$height,
|
1056
1030
|
$wrapper: ".wrapper",
|
1057
1031
|
$footer: ".scut-sticky"
|
@@ -1060,6 +1034,8 @@ $scut-rem-base: 16 !default;
|
|
1060
1034
|
html,
|
1061
1035
|
body {
|
1062
1036
|
height: 100%;
|
1037
|
+
margin: 0;
|
1038
|
+
padding: 0;
|
1063
1039
|
}
|
1064
1040
|
|
1065
1041
|
#{$wrapper} {
|
@@ -1070,15 +1046,46 @@ $scut-rem-base: 16 !default;
|
|
1070
1046
|
display: block;
|
1071
1047
|
}
|
1072
1048
|
}
|
1049
|
+
|
1073
1050
|
#{$wrapper}:after,
|
1074
1051
|
#{$footer} {
|
1075
1052
|
height: $height;
|
1076
1053
|
}
|
1077
1054
|
|
1078
1055
|
}
|
1079
|
-
// SCUT V-CENTER: INLINE-BLOCK
|
1080
|
-
// http://davidtheclark.github.io/scut/#v-center_inline-block
|
1081
1056
|
|
1057
|
+
// deprecated
|
1058
|
+
@mixin scut-sticky-footer (
|
1059
|
+
$height,
|
1060
|
+
$wrapper: ".wrapper",
|
1061
|
+
$footer: ".scut-sticky"
|
1062
|
+
){
|
1063
|
+
@include scut-sticky-footer-fixed($height, $wrapper, $footer);
|
1064
|
+
}
|
1065
|
+
@mixin scut-sticky-footer-fluid (
|
1066
|
+
$wrapper: ".wrapper",
|
1067
|
+
$footer: ".scut-sticky"
|
1068
|
+
) {
|
1069
|
+
|
1070
|
+
html,
|
1071
|
+
body {
|
1072
|
+
height: 100%;
|
1073
|
+
margin: 0;
|
1074
|
+
padding: 0;
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
#{$wrapper} {
|
1078
|
+
display: table;
|
1079
|
+
height: 100%;
|
1080
|
+
width: 100%;
|
1081
|
+
}
|
1082
|
+
|
1083
|
+
#{$footer} {
|
1084
|
+
display: table-row;
|
1085
|
+
height: 1px;
|
1086
|
+
}
|
1087
|
+
|
1088
|
+
}
|
1082
1089
|
@mixin scut-vcenter-ib (
|
1083
1090
|
$inner: ".scut-inner"
|
1084
1091
|
) {
|
@@ -1109,9 +1116,6 @@ $scut-rem-base: 16 !default;
|
|
1109
1116
|
@include scut-vcenter-ib;
|
1110
1117
|
}
|
1111
1118
|
|
1112
|
-
// SCUT V-CENTER: LINE-HEIGHT
|
1113
|
-
// http://davidtheclark.github.io/scut/#v-center_line-height
|
1114
|
-
|
1115
1119
|
@mixin scut-vcenter-lh (
|
1116
1120
|
$height
|
1117
1121
|
) {
|
@@ -1120,9 +1124,6 @@ $scut-rem-base: 16 !default;
|
|
1120
1124
|
line-height: $height;
|
1121
1125
|
|
1122
1126
|
}
|
1123
|
-
// SCUT V-CENTER: TABLE DISPLAY
|
1124
|
-
// http://davidtheclark.github.io/scut/#v-center_table_display
|
1125
|
-
|
1126
1127
|
@mixin scut-vcenter-td (
|
1127
1128
|
$inner: ".scut-inner"
|
1128
1129
|
) {
|
@@ -1140,9 +1141,6 @@ $scut-rem-base: 16 !default;
|
|
1140
1141
|
%scut-vcenter-td {
|
1141
1142
|
@include scut-vcenter-td;
|
1142
1143
|
}
|
1143
|
-
// SCUT V-CENTER: TRANSFORM
|
1144
|
-
// http://davidtheclark.github.io/scut/#v-center_transform
|
1145
|
-
|
1146
1144
|
// Depends on scut-center-transform
|
1147
1145
|
|
1148
1146
|
@mixin scut-vcenter-tt () {
|
@@ -1152,9 +1150,6 @@ $scut-rem-base: 16 !default;
|
|
1152
1150
|
%scut-vcenter-tt {
|
1153
1151
|
@include scut-vcenter-tt;
|
1154
1152
|
}
|
1155
|
-
// SCUT CSS CHARACTERS
|
1156
|
-
// http://davidtheclark.github.io/scut/#characters
|
1157
|
-
|
1158
1153
|
// space
|
1159
1154
|
$scut-space: "\0020";
|
1160
1155
|
// non-breaking space
|
@@ -1253,9 +1248,6 @@ $scut-whitesquare: "\25a1";
|
|
1253
1248
|
$scut-ssquare: "\25aa";
|
1254
1249
|
// small white square
|
1255
1250
|
$scut-swhitesquare: "\25ab";
|
1256
|
-
// SCUT FONT-FACE
|
1257
|
-
// http://davidtheclark.github.io/scut/#font-face
|
1258
|
-
|
1259
1251
|
@function main-src($formats, $file-path, $font-family) {
|
1260
1252
|
// Return the list of `src` values, in order, that
|
1261
1253
|
// a good `@font-face` will need, including only
|
@@ -1305,9 +1297,6 @@ $scut-swhitesquare: "\25ab";
|
|
1305
1297
|
}
|
1306
1298
|
|
1307
1299
|
}
|
1308
|
-
// SCUT HANGING INDENT
|
1309
|
-
// http://davidtheclark.github.io/scut/#hanging_indent
|
1310
|
-
|
1311
1300
|
@mixin scut-hanging-indent (
|
1312
1301
|
$indent: 1em
|
1313
1302
|
) {
|
@@ -1324,9 +1313,6 @@ $scut-swhitesquare: "\25ab";
|
|
1324
1313
|
%scut-hanging-indent {
|
1325
1314
|
@include scut-hanging-indent;
|
1326
1315
|
}
|
1327
|
-
// SCUT INDENTED PARAGRAPHS
|
1328
|
-
// http://davidtheclark.github.io/scut/#indented_paragraphs
|
1329
|
-
|
1330
1316
|
@mixin scut-indented-ps (
|
1331
1317
|
$indent: 1.5em,
|
1332
1318
|
$no-first-indent: true
|
@@ -1348,9 +1334,6 @@ $scut-swhitesquare: "\25ab";
|
|
1348
1334
|
%scut-indented-ps {
|
1349
1335
|
@include scut-indented-ps;
|
1350
1336
|
}
|
1351
|
-
// SCUT KEY-VALUE
|
1352
|
-
// http://davidtheclark.github.io/scut/#key-value
|
1353
|
-
|
1354
1337
|
@mixin scut-key-val (
|
1355
1338
|
$divider: ":",
|
1356
1339
|
$pad: 0.25em,
|
@@ -1383,9 +1366,6 @@ $scut-swhitesquare: "\25ab";
|
|
1383
1366
|
%scut-key-val {
|
1384
1367
|
@include scut-key-val;
|
1385
1368
|
}
|
1386
|
-
// SCUT LINK: BOTTOM-BORDERED
|
1387
|
-
// http://davidtheclark.github.io/scut/#link_bottom-bordered
|
1388
|
-
|
1389
1369
|
@mixin scut-link-bb (
|
1390
1370
|
$color: inherit,
|
1391
1371
|
$style: solid,
|
@@ -1405,9 +1385,6 @@ $scut-swhitesquare: "\25ab";
|
|
1405
1385
|
%scut-link-bb {
|
1406
1386
|
@include scut-link-bb;
|
1407
1387
|
}
|
1408
|
-
// SCUT REVERSE ITALICS
|
1409
|
-
// http://davidtheclark.github.io/scut/#reverse-italics
|
1410
|
-
|
1411
1388
|
@mixin scut-reverse-italics (
|
1412
1389
|
$elements: false
|
1413
1390
|
) {
|
@@ -1427,9 +1404,6 @@ $scut-swhitesquare: "\25ab";
|
|
1427
1404
|
%scut-reverse-italics {
|
1428
1405
|
@include scut-reverse-italics;
|
1429
1406
|
}
|
1430
|
-
// SCUT SIDE-LINED
|
1431
|
-
// http://davidtheclark.github.io/scut/#side-lined
|
1432
|
-
|
1433
1407
|
@mixin scut-side-lined (
|
1434
1408
|
$height: 1px,
|
1435
1409
|
$space: 0.5em,
|
@@ -1486,9 +1460,6 @@ $scut-swhitesquare: "\25ab";
|
|
1486
1460
|
%scut-side-lined {
|
1487
1461
|
@include scut-side-lined;
|
1488
1462
|
}
|
1489
|
-
// SCUT TRUNCATE
|
1490
|
-
// http://davidtheclark.github.io/scut/#truncate
|
1491
|
-
|
1492
1463
|
@mixin scut-truncate {
|
1493
1464
|
|
1494
1465
|
white-space: nowrap;
|
data/lib/scut.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scut
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Clark
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03-
|
11
|
+
date: 2014-03-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|