piecss 0.6.0 → 0.7.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.
- checksums.yaml +4 -4
- data/sass/piecss/_behavior.scss +5 -0
- data/sass/piecss/_settings.scss +2 -2
- data/sass/piecss/_utilities.scss +2 -4
- data/sass/piecss/behavior/anchor/_anchor.scss +7 -21
- data/sass/piecss/behavior/anchor/_settings.scss +11 -0
- data/sass/piecss/behavior/base/_base.scss +0 -1
- data/sass/piecss/behavior/base/_collection.scss +3 -3
- data/sass/piecss/behavior/base/_settings.scss +1 -1
- data/sass/piecss/behavior/debug/_behavior.scss +22 -0
- data/sass/piecss/behavior/debug/_mixins.scss +127 -0
- data/sass/piecss/behavior/debug/_settings.scss +81 -0
- data/sass/piecss/behavior/is/_collection.scss +57 -0
- data/sass/piecss/behavior/is/_settings.scss +12 -0
- data/sass/piecss/behavior/layout/_bleed.scss +23 -0
- data/sass/piecss/behavior/layout/_chain.scss +45 -0
- data/sass/piecss/behavior/layout/_column.scss +14 -0
- data/sass/piecss/behavior/layout/_grid.scss +13 -3
- data/sass/piecss/behavior/layout/_gutters.scss +32 -0
- data/sass/piecss/behavior/layout/_layout.scss +29 -29
- data/sass/piecss/behavior/layout/_leader.scss +57 -0
- data/sass/piecss/behavior/layout/_trailer.scss +57 -0
- data/sass/piecss/behavior/layout/_wings.scss +122 -0
- data/sass/piecss/behavior/list/_list.scss +134 -175
- data/sass/piecss/behavior/list/_settings.scss +9 -31
- data/sass/piecss/settings/_colour.scss +10 -1
- data/sass/piecss/settings/_font.scss +0 -1
- data/sass/piecss/settings/_grid.scss +119 -0
- data/sass/piecss/settings/_legacy.scss +24 -0
- data/sass/piecss/settings/_rhythm.scss +0 -10
- data/sass/piecss/utilities/_collection.scss +5 -1
- data/sass/piecss/utilities/_colour.scss +3 -3
- data/sass/piecss/utilities/_grid.scss +355 -0
- data/sass/piecss/utilities/_legacy.scss +42 -0
- data/sass/piecss/utilities/_miscellaneous.scss +8 -82
- data/sass/piecss/utilities/_rhythm.scss +7 -36
- data/sass/piecss/utilities/_typography.scss +8 -98
- data/templates/project/_sets.scss +2 -3
- data/templates/project/_settings.scss +26 -27
- data/{sass/piecss/_behavior.css → templates/project/assets/css/screen.css} +100 -5
- data/templates/project/assets/images/piecss.png +0 -0
- data/templates/project/assets/images/piecss.svg +25 -0
- data/templates/project/examples.html +2 -2
- data/templates/project/screen.scss +8 -11
- metadata +21 -61
- data/sass/piecss/_behavior.css.map +0 -7
- data/sass/piecss/_settings.css +0 -2
- data/sass/piecss/_settings.css.map +0 -7
- data/sass/piecss/_utilities.css +0 -3
- data/sass/piecss/_utilities.css.map +0 -7
- data/sass/piecss/behavior/layout/_rhythm.scss +0 -21
- data/sass/piecss/settings/_breakpoint.css +0 -70
- data/sass/piecss/settings/_colour.css +0 -2
- data/sass/piecss/settings/_colour.css.map +0 -7
- data/sass/piecss/settings/_constants.css +0 -2
- data/sass/piecss/settings/_constants.css.map +0 -7
- data/sass/piecss/settings/_fallback.css +0 -2
- data/sass/piecss/settings/_fallback.css.map +0 -7
- data/sass/piecss/settings/_fallback.scss +0 -15
- data/sass/piecss/settings/_font.css +0 -2
- data/sass/piecss/settings/_font.css.map +0 -7
- data/sass/piecss/settings/_layout.css +0 -60
- data/sass/piecss/settings/_layout.scss +0 -168
- data/sass/piecss/settings/_miscellaneous.css +0 -2
- data/sass/piecss/settings/_miscellaneous.css.map +0 -7
- data/sass/piecss/settings/_rhythm.css +0 -2
- data/sass/piecss/settings/_rhythm.css.map +0 -7
- data/sass/piecss/settings/_typography.css +0 -2
- data/sass/piecss/settings/_typography.css.map +0 -7
- data/sass/piecss/settings/_unit.css +0 -2
- data/sass/piecss/settings/_unit.css.map +0 -7
- data/sass/piecss/settings/fonts/_verdana.scss +0 -40
- data/sass/piecss/utilities/_breakpoint.css +0 -2
- data/sass/piecss/utilities/_breakpoint.css.map +0 -7
- data/sass/piecss/utilities/_cache.css +0 -2
- data/sass/piecss/utilities/_cache.css.map +0 -7
- data/sass/piecss/utilities/_cache.scss +0 -78
- data/sass/piecss/utilities/_colour.css +0 -2
- data/sass/piecss/utilities/_colour.css.map +0 -7
- data/sass/piecss/utilities/_element.css +0 -2
- data/sass/piecss/utilities/_element.css.map +0 -7
- data/sass/piecss/utilities/_image.css +0 -2
- data/sass/piecss/utilities/_image.css.map +0 -7
- data/sass/piecss/utilities/_layout.css +0 -2
- data/sass/piecss/utilities/_layout.css.map +0 -7
- data/sass/piecss/utilities/_layout.scss +0 -570
- data/sass/piecss/utilities/_list.css +0 -2
- data/sass/piecss/utilities/_list.css.map +0 -7
- data/sass/piecss/utilities/_list.scss +0 -26
- data/sass/piecss/utilities/_miscellaneous.css +0 -2
- data/sass/piecss/utilities/_miscellaneous.css.map +0 -7
- data/sass/piecss/utilities/_rhythm.css +0 -2
- data/sass/piecss/utilities/_rhythm.css.map +0 -7
- data/sass/piecss/utilities/_side.css +0 -2
- data/sass/piecss/utilities/_side.css.map +0 -7
- data/sass/piecss/utilities/_side.scss +0 -370
- data/sass/piecss/utilities/_string.css +0 -2
- data/sass/piecss/utilities/_string.css.map +0 -7
- data/sass/piecss/utilities/_svg.css +0 -2
- data/sass/piecss/utilities/_svg.css.map +0 -7
- data/sass/piecss/utilities/_typography.css +0 -2
- data/sass/piecss/utilities/_typography.css.map +0 -7
- data/sass/piecss/utilities/_unit.css +0 -2
- data/sass/piecss/utilities/_unit.css.map +0 -7
@@ -0,0 +1,57 @@
|
|
1
|
+
/*
|
2
|
+
Leader
|
3
|
+
|
4
|
+
.leader - Adds a margin of 3 rhythms to top
|
5
|
+
.leader--tiny - Adds a margin of 1 rhythms to top
|
6
|
+
.leader--small - Adds a margin of 2 rhythms to top
|
7
|
+
.leader--large - Adds a margin of 4 rhythms to top
|
8
|
+
.leader--hug - Adds a margin of 6 rhythms to top
|
9
|
+
|
10
|
+
markup:
|
11
|
+
<div class="{$modifiers}">I am content inside of a semanticless container</div>
|
12
|
+
*/
|
13
|
+
|
14
|
+
.leader {
|
15
|
+
margin-top: rhythm(3);
|
16
|
+
&--tiny {
|
17
|
+
margin-top: rhythm();
|
18
|
+
}
|
19
|
+
&--small {
|
20
|
+
margin-top: rhythm(2);
|
21
|
+
}
|
22
|
+
&--large {
|
23
|
+
margin-top: rhythm(4);
|
24
|
+
}
|
25
|
+
&--huge {
|
26
|
+
margin-top: rhythm(6);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
/*
|
31
|
+
Leader inside
|
32
|
+
|
33
|
+
.leader-inside - Adds a padding of 3 rhythms to top
|
34
|
+
.leader-inside--tiny - Adds a padding of 1 rhythms to top
|
35
|
+
.leader-inside--small - Adds a padding of 2 rhythms to top
|
36
|
+
.leader-inside--large - Adds a padding of 4 rhythms to top
|
37
|
+
.leader-inside--huge - Adds a padding of 6 rhythms to top
|
38
|
+
|
39
|
+
markup:
|
40
|
+
<div class="{$modifiers}">I am content inside of a semanticless container</div>
|
41
|
+
*/
|
42
|
+
|
43
|
+
.leader-inside {
|
44
|
+
padding-top: rhythm(3);
|
45
|
+
&--tiny {
|
46
|
+
padding-top: rhythm();
|
47
|
+
}
|
48
|
+
&--small {
|
49
|
+
padding-top: rhythm(2);
|
50
|
+
}
|
51
|
+
&--large {
|
52
|
+
padding-top: rhythm(4);
|
53
|
+
}
|
54
|
+
&--huge {
|
55
|
+
padding-top: rhythm(6);
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,57 @@
|
|
1
|
+
/*
|
2
|
+
Trailer
|
3
|
+
|
4
|
+
.trailer - Adds a margin of 3 rhythms to bottom
|
5
|
+
.trailer--tiny - Adds a margin of 1 rhythms to bottom
|
6
|
+
.trailer--small - Adds a margin of 2 rhythms to bottom
|
7
|
+
.trailer--large - Adds a margin of 4 rhythms to bottom
|
8
|
+
.trailer--huge - Adds a margin of 6 rhythms to bottom
|
9
|
+
|
10
|
+
markup:
|
11
|
+
<div class="{$modifiers}">I am content inside of a semanticless container</div>
|
12
|
+
*/
|
13
|
+
|
14
|
+
.trailer {
|
15
|
+
margin-bottom: rhythm(3);
|
16
|
+
&--tiny {
|
17
|
+
margin-bottom: rhythm();
|
18
|
+
}
|
19
|
+
&--small {
|
20
|
+
margin-bottom: rhythm(2);
|
21
|
+
}
|
22
|
+
&--large {
|
23
|
+
margin-bottom: rhythm(4);
|
24
|
+
}
|
25
|
+
&--huge {
|
26
|
+
margin-bottom: rhythm(6);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
/*
|
31
|
+
Trailer inside
|
32
|
+
|
33
|
+
.trailer-inside - Adds a padding of 3 rhythms to bottom
|
34
|
+
.trailer-inside--tiny - Adds a padding of 1 rhythms to bottom
|
35
|
+
.trailer-inside--small - Adds a padding of 2 rhythms to bottom
|
36
|
+
.trailer-inside--large - Adds a padding of 4 rhythms to bottom
|
37
|
+
.trailer-inside--huge - Adds a padding of 6 rhythms to bottom
|
38
|
+
|
39
|
+
markup:
|
40
|
+
<div class="{$modifiers}">I am content inside of a semanticless container</div>
|
41
|
+
*/
|
42
|
+
|
43
|
+
.trailer-inside {
|
44
|
+
padding-bottom: rhythm(3);
|
45
|
+
&--tiny {
|
46
|
+
padding-bottom: rhythm();
|
47
|
+
}
|
48
|
+
&--small {
|
49
|
+
padding-bottom: rhythm(2);
|
50
|
+
}
|
51
|
+
&--large {
|
52
|
+
padding-bottom: rhythm(4);
|
53
|
+
}
|
54
|
+
&--huge {
|
55
|
+
padding-bottom: rhythm(6);
|
56
|
+
}
|
57
|
+
}
|
@@ -0,0 +1,122 @@
|
|
1
|
+
/*
|
2
|
+
Wings
|
3
|
+
|
4
|
+
.wings - Wings on an element outside a layout
|
5
|
+
|
6
|
+
markup:
|
7
|
+
<div class="{$modifiers} | gutters | txt--l | leader">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
8
|
+
*/
|
9
|
+
$wing-collection: ();
|
10
|
+
$wing-selector: ".wing";
|
11
|
+
@if variable-exists($wings) {
|
12
|
+
@if $wings > 0 {
|
13
|
+
@include add-properties(
|
14
|
+
$wing-collection,
|
15
|
+
$wing-selector,
|
16
|
+
(
|
17
|
+
width: percentage(($columns - $wings) / $columns);
|
18
|
+
)
|
19
|
+
);
|
20
|
+
}
|
21
|
+
@each $breakpoint, $grid in $grids {
|
22
|
+
@if $wings > 0 {
|
23
|
+
width: percentage(($columns - $wings) / $columns);
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.wings {
|
28
|
+
@if $wings > 0 {
|
29
|
+
width: percentage(($columns - $wings) / $columns);
|
30
|
+
} @else {
|
31
|
+
width: 100%;
|
32
|
+
}
|
33
|
+
@each $breakpoint, $grid in $grids {
|
34
|
+
@if $wings > 0 {
|
35
|
+
width: percentage(($columns - $wings) / $columns);
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
|
40
|
+
@include breakpoint($gt-medium-handheld) {
|
41
|
+
width: percentage(10 / 12);
|
42
|
+
margin-right: auto;
|
43
|
+
margin-left: auto;
|
44
|
+
}
|
45
|
+
@include breakpoint($gt-large-handheld) {
|
46
|
+
width: percentage(12 / 16);
|
47
|
+
}
|
48
|
+
@include breakpoint($gt-small-desktop) {
|
49
|
+
width: percentage(10 / 18);
|
50
|
+
.layout__cell--main & {
|
51
|
+
width: percentage(10 / 12);
|
52
|
+
.layout--sidebar & {
|
53
|
+
width: percentage(10 / 14);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
.layout__cell--aside & {
|
57
|
+
width: 100%;
|
58
|
+
}
|
59
|
+
}
|
60
|
+
@include breakpoint($gt-medium-desktop) {
|
61
|
+
.layout__cell--aside & {
|
62
|
+
width: percentage(4 / 6);
|
63
|
+
.layout--sidebar & {
|
64
|
+
width: 100%;
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
@include breakpoint($gt-large-desktop) {
|
69
|
+
width: percentage(10 / 20);
|
70
|
+
.layout__cell--main & {
|
71
|
+
width: percentage(10 / 14);
|
72
|
+
.layout--sidebar & {
|
73
|
+
width: percentage(10 / 16);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
|
84
|
+
/*
|
85
|
+
Wings
|
86
|
+
|
87
|
+
.wings - Wings on an element in a split layout
|
88
|
+
|
89
|
+
markup:
|
90
|
+
<div class="layout layout--split | trailer">
|
91
|
+
<div class="layout__cell layout__cell--main" style="border-right: 1px solid $color-structure--02;">
|
92
|
+
<div class="{$modifiers} | gutters | txt--l">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
93
|
+
<div class="{$modifiers} | gutters | leader">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
94
|
+
</div>
|
95
|
+
<div class="layout__cell layout__cell--aside">
|
96
|
+
<div class="{$modifiers} | gutters">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
97
|
+
</div>
|
98
|
+
</div>
|
99
|
+
|
100
|
+
Styleguide 3.97.2.1
|
101
|
+
*/
|
102
|
+
|
103
|
+
|
104
|
+
|
105
|
+
/*
|
106
|
+
Wings
|
107
|
+
|
108
|
+
.wings - Wings on an element in a sidebar layout
|
109
|
+
|
110
|
+
markup:
|
111
|
+
<div class="layout layout--sidebar | leader">
|
112
|
+
<div class="layout__cell layout__cell--main" style="border-right: 1px solid $color-structure--02;">
|
113
|
+
<div class="{$modifiers} | gutters | txt--l">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
114
|
+
<div class="{$modifiers} | gutters | leader">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
115
|
+
</div>
|
116
|
+
<div class="layout__cell layout__cell--aside">
|
117
|
+
<div class="{$modifiers} | gutters">Lorem ipsum dolor sit amet, consectetur adipisici|ng elit, sed do eius|mod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat.</div>
|
118
|
+
</div>
|
119
|
+
</div>
|
120
|
+
|
121
|
+
Styleguide 3.97.2.2
|
122
|
+
*/
|
@@ -2,189 +2,148 @@
|
|
2
2
|
|
3
3
|
@import "settings";
|
4
4
|
|
5
|
-
|
6
|
-
//
|
7
|
-
// CONTENT
|
8
|
-
//
|
9
|
-
// ==========================================================================
|
10
|
-
//
|
11
|
-
// 1. Reset
|
12
|
-
// 2. Placeholders
|
13
|
-
// %list--incognito
|
14
|
-
// %list--inline
|
15
|
-
// %list--outside
|
16
|
-
// %list--inside
|
17
|
-
// %list--{type}
|
5
|
+
#{$list-selector} {
|
18
6
|
|
7
|
+
// ==========================================================================
|
8
|
+
// List all items inline
|
9
|
+
// ==========================================================================
|
19
10
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
//
|
26
|
-
// If $reset-list-style equals true (see settings/list) all lists are reset.
|
27
|
-
// Applying a class of list to a ul or ol will restore the default behavior.
|
28
|
-
//
|
29
|
-
// 1. Remove default list behavior
|
30
|
-
// 2. Restore default list behavior when a class of list is applied
|
31
|
-
// 3. Ensure list items inherit from their parent list
|
32
|
-
//
|
33
|
-
// --------------------------------------------------------------------------
|
34
|
-
|
35
|
-
@if $reset-list {
|
36
|
-
ol {
|
37
|
-
&.#{$list-selector} {
|
38
|
-
@extend %#{$list-selector}--#{$list-ol-default} !optional;
|
39
|
-
@extend %#{$list-selector}--inside;
|
40
|
-
}
|
41
|
-
li {
|
42
|
-
list-style-type: $list-ul-default;
|
43
|
-
}
|
44
|
-
}
|
45
|
-
ul {
|
46
|
-
&.#{$list-selector} {
|
47
|
-
@extend %#{$list-selector}--#{$list-ul-default} !optional;
|
48
|
-
@extend %#{$list-selector}--inside;
|
11
|
+
@if $list-inline {
|
12
|
+
&--inline {
|
13
|
+
>li {
|
14
|
+
display: inline;
|
15
|
+
}
|
49
16
|
}
|
50
17
|
}
|
51
|
-
li {
|
52
|
-
list-style-type: inherit;
|
53
|
-
list-style-position: inherit;
|
54
|
-
list-style-image: inherit;
|
55
|
-
}
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
// ==========================================================================
|
60
|
-
//
|
61
|
-
// 2. PLACEHOLDERS
|
62
|
-
//
|
63
|
-
// ==========================================================================
|
64
|
-
|
65
|
-
|
66
|
-
// ==========================================================================
|
67
|
-
// Placeholder %list--reset
|
68
|
-
// --------------------------------------------------------------------------
|
69
|
-
// Remove default list behavior
|
70
|
-
// ==========================================================================
|
71
|
-
|
72
|
-
%#{$list-selector}--reset {
|
73
|
-
padding: 0;
|
74
|
-
list-style-type: none;
|
75
|
-
}
|
76
|
-
|
77
18
|
|
78
|
-
// ==========================================================================
|
79
|
-
//
|
80
|
-
//
|
81
|
-
// List all items inline
|
82
|
-
// ==========================================================================
|
19
|
+
// ==========================================================================
|
20
|
+
// Moves bullets outside of the left text margin
|
21
|
+
// ==========================================================================
|
83
22
|
|
84
|
-
|
85
|
-
|
86
|
-
|
23
|
+
@if $list-style-position-outside {
|
24
|
+
&--outside {
|
25
|
+
list-style-position: outside;
|
26
|
+
}
|
87
27
|
}
|
88
|
-
}
|
89
|
-
|
90
|
-
|
91
|
-
// ==========================================================================
|
92
|
-
// Placeholder %list--outside
|
93
|
-
// --------------------------------------------------------------------------
|
94
|
-
// Moves bullets outside of the left text margin
|
95
|
-
// ==========================================================================
|
96
28
|
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
// ==========================================================================
|
103
|
-
// Placeholder %list--inside
|
104
|
-
// --------------------------------------------------------------------------
|
105
|
-
// Moves bullets inside of the left text margin
|
106
|
-
// ==========================================================================
|
107
|
-
|
108
|
-
%#{$list-selector}--inside {
|
109
|
-
list-style-position: inside;
|
110
|
-
// padding-left: 1em;
|
111
|
-
// text-indent: -1em;
|
112
|
-
}
|
29
|
+
// ==========================================================================
|
30
|
+
// Moves bullets inside of the left text margin
|
31
|
+
// ==========================================================================
|
113
32
|
|
33
|
+
@if $list-style-position-inside {
|
34
|
+
&--inside {
|
35
|
+
list-style-position: inside;
|
36
|
+
}
|
37
|
+
}
|
114
38
|
|
115
|
-
// ==========================================================================
|
116
|
-
// List bullet types
|
117
|
-
// --------------------------------------------------------------------------
|
118
|
-
// All bullet types:
|
119
|
-
// %list--circle,
|
120
|
-
// %list--decimal,
|
121
|
-
// %list--lower-alpha,
|
122
|
-
// etc.
|
123
|
-
// ==========================================================================
|
124
|
-
|
125
|
-
@if $list-style-type-armenian {
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
}
|
134
|
-
|
135
|
-
@
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
}
|
140
|
-
@if $list-style-type-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
}
|
149
|
-
|
150
|
-
@
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
}
|
155
|
-
@if $list-style-type-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
}
|
164
|
-
|
165
|
-
@
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
}
|
170
|
-
@if $list-style-type-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
}
|
179
|
-
|
180
|
-
@
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
}
|
185
|
-
@if $list-style-type-
|
186
|
-
|
187
|
-
|
188
|
-
|
189
|
-
|
39
|
+
// ==========================================================================
|
40
|
+
// List bullet types
|
41
|
+
// --------------------------------------------------------------------------
|
42
|
+
// All bullet types:
|
43
|
+
// %list--circle,
|
44
|
+
// %list--decimal,
|
45
|
+
// %list--lower-alpha,
|
46
|
+
// etc.
|
47
|
+
// ==========================================================================
|
48
|
+
|
49
|
+
@if $list-style-type-armenian {
|
50
|
+
&--armenian {
|
51
|
+
list-style-type: armenian;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
@if $list-style-type-circle {
|
55
|
+
&--circle {
|
56
|
+
list-style-type: circle;
|
57
|
+
}
|
58
|
+
}
|
59
|
+
@if $list-style-type-cjk-ideographic {
|
60
|
+
&--cjk-ideographic {
|
61
|
+
list-style-type: cjk-ideographic;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
@if $list-style-type-decimal {
|
65
|
+
&--decimal {
|
66
|
+
list-style-type: decimal;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
@if $list-style-type-decimal-leading-zero {
|
70
|
+
&--decimal-leading-zero {
|
71
|
+
list-style-type: decimal-leading-zero;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
@if $list-style-type-disc {
|
75
|
+
&--disc {
|
76
|
+
list-style-type: disc;
|
77
|
+
}
|
78
|
+
}
|
79
|
+
@if $list-style-type-georgian {
|
80
|
+
&--georgian {
|
81
|
+
list-style-type: georgian;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
@if $list-style-type-hebrew {
|
85
|
+
&--hebrew {
|
86
|
+
list-style-type: hebrew;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
@if $list-style-type-hiragana {
|
90
|
+
&--hiragana {
|
91
|
+
list-style-type: hiragana;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
@if $list-style-type-hiragana-iroha {
|
95
|
+
&--hiragana-iroha {
|
96
|
+
list-style-type: hiragana-iroha;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
@if $list-style-type-katakana {
|
100
|
+
&--katakana {
|
101
|
+
list-style-type: katakana;
|
102
|
+
}
|
103
|
+
}
|
104
|
+
@if $list-style-type-katakana-iroha {
|
105
|
+
&--katakana-iroha {
|
106
|
+
list-style-type: katakana-iroha;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
@if $list-style-type-lower-alpha {
|
110
|
+
&--lower-alpha {
|
111
|
+
list-style-type: lower-alpha;
|
112
|
+
}
|
113
|
+
}
|
114
|
+
@if $list-style-type-lower-greek {
|
115
|
+
&--lower-greek {
|
116
|
+
list-style-type: lower-greek;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
@if $list-style-type-lower-latin {
|
120
|
+
&--lower-latin {
|
121
|
+
list-style-type: lower-latin;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
@if $list-style-type-lower-roman {
|
125
|
+
&--lower-roman {
|
126
|
+
list-style-type: lower-roman;
|
127
|
+
}
|
128
|
+
}
|
129
|
+
@if $list-style-type-square {
|
130
|
+
&--square {
|
131
|
+
list-style-type: square;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
@if $list-style-type-upper-alpha {
|
135
|
+
&--upper-alpha {
|
136
|
+
list-style-type: upper-alpha;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
@if $list-style-type-upper-latin {
|
140
|
+
&--upper-latin {
|
141
|
+
list-style-type: upper-latin;
|
142
|
+
}
|
143
|
+
}
|
144
|
+
@if $list-style-type-upper-roman {
|
145
|
+
&--upper-roman {
|
146
|
+
list-style-type: upper-roman;
|
147
|
+
}
|
148
|
+
}
|
190
149
|
}
|
@@ -2,42 +2,36 @@
|
|
2
2
|
|
3
3
|
|
4
4
|
///
|
5
|
-
///
|
5
|
+
/// The namespace for the list placeholders
|
6
6
|
///
|
7
|
-
/// @type {
|
7
|
+
/// @type {String}
|
8
8
|
///
|
9
9
|
|
10
|
-
$
|
10
|
+
$list-selector: "%list" !default;
|
11
11
|
|
12
12
|
///
|
13
|
-
///
|
13
|
+
/// If true, a --inline modifier lists all items inline
|
14
14
|
///
|
15
15
|
/// @type {String}
|
16
16
|
///
|
17
17
|
|
18
|
-
$list-
|
18
|
+
$list-inline: true !default;
|
19
19
|
|
20
20
|
///
|
21
|
-
///
|
21
|
+
/// If true, a --outside modifier moves bullets outside of the left text margin
|
22
22
|
///
|
23
23
|
/// @type {String}
|
24
24
|
///
|
25
25
|
|
26
|
-
$list-
|
26
|
+
$list-style-position-outside: false !default;
|
27
27
|
|
28
28
|
///
|
29
|
-
///
|
29
|
+
/// If true, a --inside modifier moves bullets inside of the left text margin
|
30
30
|
///
|
31
31
|
/// @type {String}
|
32
32
|
///
|
33
33
|
|
34
|
-
$list-
|
35
|
-
|
36
|
-
|
37
|
-
// ==========================================================================
|
38
|
-
// List Style Types
|
39
|
-
// See: http://www.w3schools.com/cssref/pr_list-style-type.asp
|
40
|
-
// ==========================================================================
|
34
|
+
$list-style-position-inside: false !default;
|
41
35
|
|
42
36
|
///
|
43
37
|
/// If true, Piecss will render a placeholder for this list-style-type (%list--armenian)
|
@@ -119,14 +113,6 @@ $list-style-type-hiragana: false;
|
|
119
113
|
|
120
114
|
$list-style-type-hiragana-iroha: false !default;
|
121
115
|
|
122
|
-
///
|
123
|
-
/// If true, Piecss will render a placeholder for this list-style-type (%list--inherit)
|
124
|
-
///
|
125
|
-
/// @type {Bool}
|
126
|
-
///
|
127
|
-
|
128
|
-
$list-style-type-inherit: true !default;
|
129
|
-
|
130
116
|
///
|
131
117
|
/// If true, Piecss will render a placeholder for this list-style-type (%list--katakana)
|
132
118
|
///
|
@@ -175,14 +161,6 @@ $list-style-type-lower-latin: true !default;
|
|
175
161
|
|
176
162
|
$list-style-type-lower-roman: true !default;
|
177
163
|
|
178
|
-
///
|
179
|
-
/// If true, Piecss will render a placeholder for this list-style-type (%list--none)
|
180
|
-
///
|
181
|
-
/// @type {Bool}
|
182
|
-
///
|
183
|
-
|
184
|
-
$list-style-type-none: true !default;
|
185
|
-
|
186
164
|
///
|
187
165
|
/// If true, Piecss will render a placeholder for this list-style-type (%list--square)
|
188
166
|
///
|
@@ -1,5 +1,14 @@
|
|
1
|
+
///
|
2
|
+
/// Force consistent shades in a project. These default values are based on
|
3
|
+
/// Google’s [Material Design](https://material.io/guidelines/style/color.html#).
|
4
|
+
/// See `[$shades](./#mixin-shades)` on how to use.
|
5
|
+
///
|
6
|
+
/// @since 0.7
|
7
|
+
///
|
8
|
+
/// @return {Bool}
|
9
|
+
///
|
1
10
|
|
2
|
-
$shades: (
|
11
|
+
$shades: (10%, 12%, 30%, 38%, 50%, 54%, 70%, 87%, 100%) !default;
|
3
12
|
|
4
13
|
$aliceblue: #f0f8ff;
|
5
14
|
$antiquewhite: #faebd7;
|