baseline-scss 0.6.0 → 1.0.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/LICENSE +1 -1
- data/lib/baseline_scss/version.rb +1 -1
- data/src/baseline-scss/_helpers.scss +23 -7
- data/src/baseline-scss/_mixins.scss +65 -7
- data/src/baseline-scss/_reboot.scss +16 -172
- data/src/baseline-scss/_variables.scss +63 -127
- data/src/baseline-scss/content/_buttons.scss +77 -24
- data/src/baseline-scss/content/_code.scss +23 -10
- data/src/baseline-scss/content/_forms.scss +167 -53
- data/src/baseline-scss/content/_index.scss +8 -0
- data/src/baseline-scss/content/_lists.scss +4 -3
- data/src/baseline-scss/content/_multimedia.scss +13 -0
- data/src/baseline-scss/content/_tables.scss +21 -1
- data/src/baseline-scss/content/_typography.scss +68 -41
- data/src/baseline-scss.scss +5 -11
- metadata +4 -59
- data/src/_baseline.scss +0 -5
- data/src/baseline-scss/_content.scss +0 -7
- data/src/baseline-scss/mixins/_.scss +0 -4
- data/src/baseline-scss/mixins/_after_border.scss +0 -12
- data/src/baseline-scss/mixins/_clearfix.scss +0 -7
- data/src/baseline-scss/mixins/_font_awesome.scss +0 -12
- data/src/baseline-scss/mixins/_max_width_container.scss +0 -15
- data/src/baseline-scss/mixins/_outline.scss +0 -5
- data/src/baseline-scss/mixins/_sr_only.scss +0 -17
- data/src/vendors/_bourbon.scss +0 -54
- data/src/vendors/_include-media.scss +0 -591
- data/src/vendors/bourbon/helpers/_buttons-list.scss +0 -14
- data/src/vendors/bourbon/helpers/_scales.scss +0 -27
- data/src/vendors/bourbon/helpers/_text-inputs-list.scss +0 -26
- data/src/vendors/bourbon/library/_border-color.scss +0 -26
- data/src/vendors/bourbon/library/_border-radius.scss +0 -85
- data/src/vendors/bourbon/library/_border-style.scss +0 -25
- data/src/vendors/bourbon/library/_border-width.scss +0 -25
- data/src/vendors/bourbon/library/_buttons.scss +0 -84
- data/src/vendors/bourbon/library/_clearfix.scss +0 -25
- data/src/vendors/bourbon/library/_contrast-switch.scss +0 -81
- data/src/vendors/bourbon/library/_ellipsis.scss +0 -36
- data/src/vendors/bourbon/library/_font-face.scss +0 -65
- data/src/vendors/bourbon/library/_font-stacks.scss +0 -248
- data/src/vendors/bourbon/library/_hide-text.scss +0 -24
- data/src/vendors/bourbon/library/_hide-visually.scss +0 -70
- data/src/vendors/bourbon/library/_margin.scss +0 -37
- data/src/vendors/bourbon/library/_modular-scale.scss +0 -120
- data/src/vendors/bourbon/library/_overflow-wrap.scss +0 -25
- data/src/vendors/bourbon/library/_padding.scss +0 -36
- data/src/vendors/bourbon/library/_position.scss +0 -62
- data/src/vendors/bourbon/library/_prefixer.scss +0 -37
- data/src/vendors/bourbon/library/_shade.scss +0 -32
- data/src/vendors/bourbon/library/_size.scss +0 -50
- data/src/vendors/bourbon/library/_strip-unit.scss +0 -17
- data/src/vendors/bourbon/library/_text-inputs.scss +0 -163
- data/src/vendors/bourbon/library/_timing-functions.scss +0 -36
- data/src/vendors/bourbon/library/_tint.scss +0 -32
- data/src/vendors/bourbon/library/_triangle.scss +0 -82
- data/src/vendors/bourbon/library/_value-prefixer.scss +0 -37
- data/src/vendors/bourbon/settings/_settings.scss +0 -75
- data/src/vendors/bourbon/utilities/_assign-inputs.scss +0 -28
- data/src/vendors/bourbon/utilities/_compact-shorthand.scss +0 -42
- data/src/vendors/bourbon/utilities/_contrast-ratio.scss +0 -31
- data/src/vendors/bourbon/utilities/_directional-property.scss +0 -68
- data/src/vendors/bourbon/utilities/_fetch-bourbon-setting.scss +0 -16
- data/src/vendors/bourbon/utilities/_font-source-declaration.scss +0 -52
- data/src/vendors/bourbon/utilities/_gamma.scss +0 -24
- data/src/vendors/bourbon/utilities/_lightness.scss +0 -24
- data/src/vendors/bourbon/utilities/_unpack-shorthand.scss +0 -29
- data/src/vendors/bourbon/validators/_contains-falsy.scss +0 -20
- data/src/vendors/bourbon/validators/_contains.scss +0 -26
- data/src/vendors/bourbon/validators/_is-color.scss +0 -13
- data/src/vendors/bourbon/validators/_is-length.scss +0 -20
- data/src/vendors/bourbon/validators/_is-number.scss +0 -15
- data/src/vendors/bourbon/validators/_is-size.scss +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9c4e193fe2e01039c6e1e1fc417b03df02e9efaefac0c9996c177aaea94cc1f
|
4
|
+
data.tar.gz: 8e0dd80eadae92e4fbcecad395321c6ebe88dca02e8d5462375f1e7bbb32ab53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 865e780f83232a06d0c2f8db5017b460fec3015748bddcae41cd85c5a4160925456d6e4fac8b106864e8b173ba78dab647ab2c433e51befa60f2914b08051d43
|
7
|
+
data.tar.gz: 1256b0e5190a71e2c68d2e0396f3b33eedf22861a19fd72932fb95ecab89bbbab26e8bae7ce1fc83475f49ec9e9201de2112a36c4301f6bcd51b5b498937b5aa
|
data/LICENSE
CHANGED
@@ -1,5 +1,16 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
@use 'baseline-scss/mixins' as _;
|
2
|
+
|
3
|
+
._clear_left {
|
4
|
+
clear: left;
|
5
|
+
}
|
6
|
+
._clear_right {
|
7
|
+
clear: right;
|
8
|
+
}
|
9
|
+
|
10
|
+
._clearfix::after {
|
11
|
+
display: block;
|
12
|
+
clear: both;
|
13
|
+
content: '';
|
3
14
|
}
|
4
15
|
|
5
16
|
._margin_bottom {
|
@@ -9,6 +20,13 @@
|
|
9
20
|
margin-bottom: 0;
|
10
21
|
}
|
11
22
|
|
23
|
+
._pull_left {
|
24
|
+
float: left;
|
25
|
+
}
|
26
|
+
._pull_right {
|
27
|
+
float: right;
|
28
|
+
}
|
29
|
+
|
12
30
|
._responsive_table_wrapper {
|
13
31
|
margin-bottom: var(--_);
|
14
32
|
overflow-x: auto;
|
@@ -18,11 +36,9 @@
|
|
18
36
|
}
|
19
37
|
}
|
20
38
|
|
21
|
-
._sr_only
|
22
|
-
|
23
|
-
|
24
|
-
._sr_only_focusable {
|
25
|
-
@include sr_only_focusable();
|
39
|
+
._sr_only,
|
40
|
+
._sr_only_focusable:not(:focus):not(:focus-within) {
|
41
|
+
@include _.sr_only();
|
26
42
|
}
|
27
43
|
|
28
44
|
._text_left {
|
@@ -1,7 +1,65 @@
|
|
1
|
-
@
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
@
|
7
|
-
|
1
|
+
@mixin centered_container() {
|
2
|
+
margin-inline: auto;
|
3
|
+
max-width: var(--centered_container_max_width, 100%);
|
4
|
+
}
|
5
|
+
|
6
|
+
@mixin font_awesome($content: '') {
|
7
|
+
content: $content;
|
8
|
+
display: var(--fa-display, inline-block);
|
9
|
+
font-family: var(--fa-style-family, 'FontAwesome');
|
10
|
+
font-style: normal;
|
11
|
+
font-variant: normal;
|
12
|
+
font-weight: var(--fa-style, 900);
|
13
|
+
line-height: 1;
|
14
|
+
text-rendering: auto;
|
15
|
+
-webkit-font-smoothing: antialiased;
|
16
|
+
-moz-osx-font-smoothing: grayscale;
|
17
|
+
}
|
18
|
+
|
19
|
+
@mixin full_bleed() {
|
20
|
+
--_full_bleed_background_color: var(--full_bleed_background_color, var(--body_background_color));
|
21
|
+
|
22
|
+
background-color: var(--_full_bleed_background_color);
|
23
|
+
box-shadow: 50vmax 0 0 0 var(--_full_bleed_background_color),
|
24
|
+
-50vmax 0 0 0 var(--_full_bleed_background_color);
|
25
|
+
}
|
26
|
+
|
27
|
+
@mixin inset_border() {
|
28
|
+
--_inset_border_color: var(--inset_border_color, var(--body_color));
|
29
|
+
--_inset_border_block_color: var(--inset_border_block_color, var(--_inset_border_color));
|
30
|
+
--_inset_border_inline_color: var(--inset_border_inline_color, var(--_inset_border_color));
|
31
|
+
--_inset_border_top_color: var(--inset_border_top_color, var(--_inset_border_block_color));
|
32
|
+
--_inset_border_right_color: var(--inset_border_right_color, var(--_inset_border_inline_color));
|
33
|
+
--_inset_border_bottom_color: var(--inset_border_bottom_color, var(--_inset_border_block_color));
|
34
|
+
--_inset_border_left_color: var(--inset_border_left_color, var(--_inset_border_inline_color));
|
35
|
+
|
36
|
+
--_inset_border_width: var(--inset_border_width, 1px);
|
37
|
+
--_inset_border_block_width: var(--inset_border_block_width, var(--_inset_border_width));
|
38
|
+
--_inset_border_inline_width: var(--inset_border_inline_width, var(--_inset_border_width));
|
39
|
+
--_inset_border_top_width: var(--inset_border_top_width, var(--_inset_border_block_width));
|
40
|
+
--_inset_border_right_width: calc(-1 * var(--inset_border_right_width, var(--_inset_border_inline_width)));
|
41
|
+
--_inset_border_bottom_width: calc(-1 * var(--inset_border_bottom_width, var(--_inset_border_block_width)));
|
42
|
+
--_inset_border_left_width: var(--inset_border_left_width, var(--_inset_border_inline_width));
|
43
|
+
|
44
|
+
box-shadow: inset 0 var(--_inset_border_top_width) 0 0 var(--_inset_border_top_color),
|
45
|
+
inset var(--_inset_border_right_width) 0 0 0 var(--_inset_border_right_color),
|
46
|
+
inset 0 var(--_inset_border_bottom_width) 0 0 var(--_inset_border_bottom_color),
|
47
|
+
inset var(--_inset_border_left_width) 0 0 0 var(--_inset_border_left_color);
|
48
|
+
}
|
49
|
+
|
50
|
+
@mixin outline() {
|
51
|
+
outline: var(--outline_width, .2rem) var(--outline_style, auto) var(--outline_color, #9cf);
|
52
|
+
outline-offset: var(--outline_offset, .2rem);
|
53
|
+
}
|
54
|
+
|
55
|
+
@mixin sr_only() {
|
56
|
+
border: 0;
|
57
|
+
clip: rect(0, 0, 0, 0);
|
58
|
+
height: 1px;
|
59
|
+
margin: -1px;
|
60
|
+
padding: 0;
|
61
|
+
position: absolute;
|
62
|
+
overflow: hidden;
|
63
|
+
white-space: nowrap;
|
64
|
+
width: 1px;
|
65
|
+
}
|
@@ -1,8 +1,4 @@
|
|
1
|
-
@
|
2
|
-
@-ms-viewport {
|
3
|
-
width: device-width; // Honor viewport meta in IE10+.
|
4
|
-
}
|
5
|
-
}
|
1
|
+
@use 'baseline-scss/mixins' as _;
|
6
2
|
|
7
3
|
*,
|
8
4
|
*::before,
|
@@ -10,18 +6,14 @@
|
|
10
6
|
box-sizing: border-box;
|
11
7
|
}
|
12
8
|
|
13
|
-
::-moz-selection,
|
14
|
-
::selection {
|
15
|
-
text-shadow: none; // Remove text-shadow in selection highlight.
|
16
|
-
}
|
17
|
-
|
18
9
|
[hidden] {
|
19
10
|
display: none !important;
|
20
11
|
}
|
21
12
|
|
22
13
|
[tabindex]:not([tabindex^='-']):focus {
|
23
|
-
@include outline();
|
14
|
+
@include _.outline();
|
24
15
|
}
|
16
|
+
|
25
17
|
// Don't outline elements that programmatically receive focus but wouldn't normally show an outline.
|
26
18
|
[tabindex='-1']:focus:not(:focus-visible) {
|
27
19
|
outline: 0 !important;
|
@@ -32,11 +24,11 @@ html {
|
|
32
24
|
}
|
33
25
|
|
34
26
|
body {
|
35
|
-
@include _();
|
36
|
-
|
37
27
|
background-color: var(--body_background_color); // Best practice.
|
38
28
|
color: var(--body_color);
|
39
|
-
|
29
|
+
line-height: var(--body_line_height);
|
30
|
+
font-family: var(--body_font_family);
|
31
|
+
font-size: var(--body_font_size);
|
40
32
|
font-weight: normal;
|
41
33
|
text-align: left;
|
42
34
|
|
@@ -44,122 +36,17 @@ body {
|
|
44
36
|
-webkit-tap-highlight-color: rgba(#000, 0); // Change the default tap highlight to be completely transparent in iOS.
|
45
37
|
}
|
46
38
|
|
47
|
-
article,
|
48
|
-
aside,
|
49
|
-
canvas,
|
50
|
-
details,
|
51
|
-
dialog,
|
52
|
-
figcaption,
|
53
|
-
figure,
|
54
|
-
footer,
|
55
|
-
header,
|
56
|
-
hgroup,
|
57
|
-
main,
|
58
|
-
nav,
|
59
|
-
section {
|
60
|
-
display: block;
|
61
|
-
}
|
62
|
-
|
63
39
|
iframe {
|
64
40
|
border: 0;
|
65
41
|
vertical-align: middle;
|
66
42
|
}
|
67
43
|
|
68
|
-
summary {
|
69
|
-
cursor: pointer;
|
70
|
-
}
|
71
|
-
|
72
|
-
// Code
|
73
|
-
code {
|
74
|
-
word-wrap: break-word;
|
75
|
-
|
76
|
-
a > & {
|
77
|
-
color: inherit; // Avoid broken underline and more when inside anchors.
|
78
|
-
}
|
79
|
-
}
|
80
|
-
|
81
|
-
pre {
|
82
|
-
display: block;
|
83
|
-
overflow: auto;
|
84
|
-
-ms-overflow-style: scrollbar; // Force scrollbar in IE11+/Edge.
|
85
|
-
|
86
|
-
code {
|
87
|
-
color: inherit;
|
88
|
-
font-size: inherit;
|
89
|
-
word-break: normal;
|
90
|
-
}
|
91
|
-
}
|
92
|
-
|
93
|
-
// Forms
|
94
|
-
fieldset {
|
95
|
-
border: 0; // Don't affect page layout.
|
96
|
-
min-width: 0; // Behave like a standard block element.
|
97
|
-
}
|
98
|
-
|
99
|
-
label {
|
100
|
-
display: inline-block; // Allow labels to use `margin` for spacing.
|
101
|
-
}
|
102
|
-
|
103
|
-
button,
|
104
|
-
input,
|
105
|
-
optgroup,
|
106
|
-
select,
|
107
|
-
textarea {
|
108
|
-
line-height: inherit;
|
109
|
-
vertical-align: bottom; // Make's elments behave better height-wise.
|
110
|
-
}
|
111
|
-
|
112
|
-
#{$all-buttons} {
|
113
|
-
&:focus:not(:focus-visible) {
|
114
|
-
outline: 0; // Explicitly remove focus outline in Chromium.
|
115
|
-
}
|
116
|
-
|
117
|
-
&:not(:disabled) {
|
118
|
-
cursor: pointer; // Add "hand" cursor to non-disabled button elements.
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
[role='button'] {
|
123
|
-
cursor: pointer; // Set the cursor for non-`<button>` buttons.
|
124
|
-
}
|
125
|
-
|
126
|
-
[type='search'] {
|
127
|
-
outline-offset: -.2rem;
|
128
|
-
|
129
|
-
&::-ms-clear,
|
130
|
-
&::-ms-reveal {
|
131
|
-
display: none;
|
132
|
-
height: 0;
|
133
|
-
width : 0;
|
134
|
-
}
|
135
|
-
|
136
|
-
&::-webkit-search-decoration,
|
137
|
-
&::-webkit-search-cancel-button,
|
138
|
-
&::-webkit-search-results-button,
|
139
|
-
&::-webkit-search-results-decoration {
|
140
|
-
display: none;
|
141
|
-
}
|
142
|
-
}
|
143
|
-
|
144
44
|
output {
|
145
45
|
display: inline-block;
|
146
46
|
}
|
147
47
|
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
&:disabled {
|
152
|
-
opacity: 1; // Undo the opacity change from Chrome.
|
153
|
-
}
|
154
|
-
}
|
155
|
-
|
156
|
-
textarea {
|
157
|
-
resize: vertical; // Don't break its (horizontal) containers.
|
158
|
-
}
|
159
|
-
|
160
|
-
::file-selector-button {
|
161
|
-
font: inherit; // Inherit font family and line height for file input buttons.
|
162
|
-
-webkit-appearance: button; // Correct the inability to style clickable types in iOS and Safari.
|
48
|
+
summary {
|
49
|
+
cursor: pointer;
|
163
50
|
}
|
164
51
|
|
165
52
|
::-webkit-color-swatch-wrapper {
|
@@ -176,57 +63,14 @@ textarea {
|
|
176
63
|
padding: 0;
|
177
64
|
}
|
178
65
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
svg,
|
185
|
-
video {
|
186
|
-
vertical-align: middle; // Remove gap between the bottom of their containers.
|
187
|
-
}
|
188
|
-
|
189
|
-
svg {
|
190
|
-
overflow: hidden; // Workaround for the SVG overflow bug in IE10/11.
|
191
|
-
}
|
192
|
-
|
193
|
-
// Tables
|
194
|
-
table {
|
195
|
-
border-collapse: collapse; // Prevent double borders.
|
196
|
-
}
|
197
|
-
|
198
|
-
thead,
|
199
|
-
tbody,
|
200
|
-
tfoot,
|
201
|
-
tr,
|
202
|
-
td,
|
203
|
-
th {
|
204
|
-
border-color: inherit;
|
205
|
-
border-style: solid;
|
206
|
-
border-width: 0;
|
207
|
-
}
|
208
|
-
|
209
|
-
th {
|
210
|
-
font-weight: inherit;
|
211
|
-
text-align: inherit; // Matches default `<td>` alignment.
|
212
|
-
text-align: -webkit-match-parent; // Fix alignment for Safari.
|
213
|
-
}
|
214
|
-
|
215
|
-
// Typography
|
216
|
-
address {
|
217
|
-
font-style: normal;
|
218
|
-
line-height: inherit;
|
219
|
-
}
|
220
|
-
|
221
|
-
hr {
|
222
|
-
box-sizing: border-box;
|
223
|
-
}
|
224
|
-
|
225
|
-
a:not([href]):not([tabindex]):focus {
|
226
|
-
outline: 0; // Plain anchors don't need an outline.
|
66
|
+
::-webkit-search-decoration,
|
67
|
+
::-webkit-search-cancel-button,
|
68
|
+
::-webkit-search-results-button,
|
69
|
+
::-webkit-search-results-decoration {
|
70
|
+
-webkit-appearance: none;
|
227
71
|
}
|
228
72
|
|
229
|
-
|
230
|
-
|
231
|
-
|
73
|
+
::-webkit-inner-spin-button,
|
74
|
+
::-webkit-outer-spin-button {
|
75
|
+
height: auto;
|
232
76
|
}
|
@@ -1,5 +1,13 @@
|
|
1
|
+
@use 'sass:math';
|
2
|
+
|
1
3
|
:root {
|
4
|
+
$_: 1.2rem;
|
5
|
+
$_half_ceil: math.div(math.ceil(math.div($_ * 10, 2)), 10);
|
6
|
+
$_half_floor: math.div(math.floor(math.div($_ * 10, 2)), 10);
|
7
|
+
$_half: math.min($_half_ceil, $_half_floor);
|
8
|
+
|
2
9
|
--_: #{$_};
|
10
|
+
--_half: #{$_half};
|
3
11
|
--_half_ceil: #{$_half_ceil};
|
4
12
|
--_half_floor: #{$_half_floor};
|
5
13
|
|
@@ -7,142 +15,70 @@
|
|
7
15
|
--font_family_sans: sans-serif;
|
8
16
|
--font_family_serif: serif;
|
9
17
|
--font_family_mono: monospace;
|
10
|
-
|
11
|
-
--
|
12
|
-
--
|
13
|
-
|
14
|
-
|
15
|
-
--
|
18
|
+
--h_font_family: var(--font_family_sans);
|
19
|
+
--h_font_weight: var(--font_weight_bold);
|
20
|
+
--code_font_family: var(--font_family_mono);
|
21
|
+
|
22
|
+
--h1_font_size: 3.6rem;
|
23
|
+
--h2_font_size: 3.0rem;
|
24
|
+
--h3_font_size: 2.4rem;
|
25
|
+
--h4_font_size: 2rem;
|
26
|
+
--h5_font_size: 1.6rem;
|
27
|
+
--h6_font_size: 1.2rem;
|
28
|
+
--large_font_size: 125%;
|
29
|
+
--small_font_size: 75%;
|
30
|
+
--code_font_size: 1.5rem;
|
31
|
+
|
32
|
+
--font_weight_normal: normal;
|
16
33
|
--font_weight_bold: bold;
|
17
|
-
--
|
34
|
+
--font_weight_light: light;
|
18
35
|
|
19
|
-
--
|
20
|
-
--
|
21
|
-
--
|
22
|
-
--
|
23
|
-
--
|
24
|
-
--
|
25
|
-
--
|
26
|
-
--font_size_h2_lines: 3;
|
27
|
-
--font_size_h3: 2.4rem;
|
28
|
-
--font_size_h3_lines: 2;
|
29
|
-
--font_size_h4: 2rem;
|
30
|
-
--font_size_h4_lines: 2;
|
31
|
-
--font_size_h5: 1.6rem;
|
32
|
-
--font_size_h5_lines: 2;
|
33
|
-
--font_size_h6: 1.2rem;
|
34
|
-
--font_size_h6_lines: 1;
|
35
|
-
--font_size_large: 125%;
|
36
|
-
--font_size_small: 75%;
|
36
|
+
--h1_line_height: 1;
|
37
|
+
--h2_line_height: 1.2;
|
38
|
+
--h3_line_height: 1.5;
|
39
|
+
--h4_line_height: 1.2;
|
40
|
+
--h5_line_height: 1.5;
|
41
|
+
--h6_line_height: 1;
|
42
|
+
--code_line_height: 1.6;
|
37
43
|
|
38
44
|
// Colors
|
39
|
-
--
|
40
|
-
--
|
45
|
+
--white: #ffffff;
|
46
|
+
--gray_50: #fafafa;
|
47
|
+
--gray_100: #f5f5f5;
|
48
|
+
--gray_200: #eeeeee;
|
49
|
+
--gray_300: #e0e0e0;
|
50
|
+
--gray_400: #bdbdbd;
|
51
|
+
--gray_500: #9e9e9e;
|
52
|
+
--gray_600: #757575;
|
53
|
+
--gray_700: #616161;
|
54
|
+
--gray_800: #424242;
|
55
|
+
--gray_900: #212121;
|
56
|
+
--black: #000000;
|
41
57
|
|
42
58
|
--create_background_color: #cfc;
|
43
59
|
--create_border_color: #3c3;
|
60
|
+
--create_color: #3c3;
|
44
61
|
--update_background_color: #cff;
|
45
62
|
--update_border_color: #3cc;
|
63
|
+
--update_color: #3cc;
|
46
64
|
--destroy_background_color: #fcc;
|
47
65
|
--destroy_border_color: #c33;
|
48
|
-
|
49
|
-
|
50
|
-
--
|
51
|
-
--
|
52
|
-
--
|
53
|
-
--
|
54
|
-
|
55
|
-
|
56
|
-
--
|
57
|
-
--
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
--
|
62
|
-
--
|
63
|
-
--
|
64
|
-
--
|
65
|
-
|
66
|
-
--button_border_color: #767676;
|
67
|
-
--button_border_color_hover: #4f4f4f;
|
68
|
-
--button_border_color_focus: var(--button_border_color);
|
69
|
-
--button_border_color_active: #8d8d8d;
|
70
|
-
--button_border_color_disabled: #d0d0d0;
|
71
|
-
|
72
|
-
--button_border_style: solid;
|
73
|
-
|
74
|
-
--button_border_radius: .3rem;
|
75
|
-
|
76
|
-
--button_border_width: .1rem;
|
77
|
-
|
78
|
-
--button_color: var(--body_color);
|
79
|
-
--button_color_hover: var(--button_color);
|
80
|
-
--button_color_focus: var(--button_color);
|
81
|
-
--button_color_active: var(--button_color);
|
82
|
-
--button_color_disabled: #b3b3b3;
|
83
|
-
|
84
|
-
--button_height: calc(2 * var(--_));
|
85
|
-
|
86
|
-
--button_padding: 0 .5em;
|
87
|
-
|
88
|
-
// Forms
|
89
|
-
--fieldset_padding_h: 1rem;
|
90
|
-
|
91
|
-
--legend_padding_h: 0 .5rem;
|
92
|
-
|
93
|
-
--input_background_color: var(--body_background_color);
|
94
|
-
--input_background_color_hover: var(--input_background_color);
|
95
|
-
--input_background_color_focus: var(--input_background_color);
|
96
|
-
--input_background_color_active: var(--input_background_color);
|
97
|
-
--input_background_color_disabled: #eee;
|
98
|
-
--input_background_color_read_only: var(--input_background_color_disabled);
|
99
|
-
|
100
|
-
--input_border_color: #767676;
|
101
|
-
--input_border_color_hover: #4f4f4f;
|
102
|
-
--input_border_color_focus: var(--input_border_color);
|
103
|
-
--input_border_color_active: #8d8d8d;
|
104
|
-
--input_border_color_disabled: #d0d0d0;
|
105
|
-
--input_border_color_read_only: var(--input_border_color_disabled);
|
106
|
-
|
107
|
-
--input_border_style: inset;
|
108
|
-
|
109
|
-
--input_border_radius: 0;
|
110
|
-
|
111
|
-
--input_border_width: .1rem;
|
112
|
-
|
113
|
-
--input_color: var(--body_color);
|
114
|
-
--input_color_hover: var(--input_color);
|
115
|
-
--input_color_focus: var(--input_color);
|
116
|
-
--input_color_active: var(--input_color);
|
117
|
-
--input_color_disabled: #b3b3b3;
|
118
|
-
--input_color_read_only: var(--input_color_disabled);
|
119
|
-
|
120
|
-
--input_height: calc(var(--_) * 2);
|
121
|
-
|
122
|
-
--input_padding: 0 .25em;
|
123
|
-
|
124
|
-
--textarea_padding_h: .25em;
|
125
|
-
|
126
|
-
// Lists
|
127
|
-
--dl_margin_l: 1.5em;
|
128
|
-
--list_padding_l: 1.5em;
|
129
|
-
|
130
|
-
// Tables
|
131
|
-
--table_cell_padding: 0 .25em;
|
132
|
-
|
133
|
-
// Typography
|
134
|
-
--blockquote_margin_h: 2rem;
|
135
|
-
|
136
|
-
--hr_border_color: var(--body_color);
|
137
|
-
--hr_border_style: solid;
|
138
|
-
--hr_border_width: .1rem;
|
139
|
-
--hr_height: var(--_);
|
140
|
-
|
141
|
-
--link_color: #00e;
|
142
|
-
--link_visited_color: #528;
|
143
|
-
--link_hover_color: #00f;
|
144
|
-
--link_focus_color: var(--link_hover_color);
|
145
|
-
--link_active_color: var(--link_hover_color);
|
146
|
-
|
147
|
-
--mark_background_color: #ff0;
|
66
|
+
--destroy_color: #c33;
|
67
|
+
|
68
|
+
--valid_background_color: #cfc;
|
69
|
+
--valid_border_color: #3c3;
|
70
|
+
--valid_color: #3c3;
|
71
|
+
--warning_background_color: #ffc;
|
72
|
+
--warning_border_color: #fc3;
|
73
|
+
--warning_color: #fc3;
|
74
|
+
--invalid_background_color: #fcc;
|
75
|
+
--invalid_border_color: #c33;
|
76
|
+
--invalid_color: #c33;
|
77
|
+
|
78
|
+
// Body Defaults
|
79
|
+
--body_background_color: var(--white);
|
80
|
+
--body_color: var(--black);
|
81
|
+
--body_font_family: var(--font_family_sans);
|
82
|
+
--body_font_size: 1.6rem;
|
83
|
+
--body_line_height: 1.5;
|
148
84
|
}
|