bullframe.css 3.8.0 → 4.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.
- package/.browserslistrc +5 -5
- package/.stylelintrc.json +10 -0
- package/CHANGELOG.md +28 -7
- package/LICENSE +20 -20
- package/README.md +25 -171
- package/dist/css/bullframe-classless-dark-prefers.css +357 -434
- package/dist/css/bullframe-classless-dark-prefers.min.css +2 -3
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-classless-dark.css +328 -421
- package/dist/css/bullframe-classless-dark.min.css +2 -3
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +237 -302
- package/dist/css/bullframe-classless.min.css +2 -2
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark-prefers.css +468 -642
- package/dist/css/bullframe-dark-prefers.min.css +2 -2
- package/dist/css/bullframe-dark-prefers.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +402 -602
- package/dist/css/bullframe-dark.min.css +2 -2
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +87 -125
- package/dist/css/bullframe-utilities.min.css +1 -1
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +288 -464
- package/dist/css/bullframe.min.css +1 -1
- package/dist/css/bullframe.min.css.map +1 -1
- package/docs/test/css/style.css +130 -130
- package/docs/test/icons/safari-pinned-tab.svg +28 -28
- package/docs/test/js/vendor/html5shiv.js +335 -335
- package/docs/test/js/vendor/ie10-viewport-bug-workaround.js +20 -20
- package/gulpfile.js +5 -2
- package/index.html +1214 -1223
- package/package.json +14 -7
- package/src/scss/bullframe-classless-dark-prefers.scss +5 -5
- package/src/scss/bullframe-classless-dark.scss +5 -5
- package/src/scss/bullframe-classless.scss +1 -9
- package/src/scss/bullframe-dark-prefers.scss +4 -4
- package/src/scss/bullframe-dark.scss +4 -4
- package/src/scss/bullframe-utilities.scss +18 -18
- package/src/scss/bullframe.scss +0 -7
- package/src/scss/forms/_forms-normalization.scss +4 -2
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +84 -85
- package/src/scss/forms/_forms-styling-range.scss +99 -103
- package/src/scss/forms/_forms-styling-select.scss +63 -63
- package/src/scss/forms/_forms-styling.scss +119 -121
- package/src/scss/miscellaneous/_misc-focus.scss +0 -1
- package/src/scss/miscellaneous/_misc-layout.scss +1 -36
- package/src/scss/mixins/_mixin-grid-flex.scss +83 -83
- package/src/scss/mixins/_mixin-layout.scss +42 -42
- package/src/scss/mixins/_mixin-texts.scss +38 -37
- package/src/scss/typography/_typography-blockquotes.scss +23 -23
- package/src/scss/typography/_typography-headings.scss +43 -43
- package/src/scss/typography/_typography-html-body.scss +72 -72
- package/src/scss/typography/_typography-misc.scss +3 -3
- package/src/scss/typography/_typography-monospaced-elements.scss +50 -56
- package/src/scss/utilities/_utility-buttons.scss +71 -71
- package/src/scss/utilities/_utility-embeds.scss +34 -34
- package/src/scss/utilities/_utility-filters.scss +24 -24
- package/src/scss/utilities/_utility-form-states.scss +80 -80
- package/src/scss/utilities/_utility-global-dark-classless.scss +157 -169
- package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-prefers.scss +3 -3
- package/src/scss/utilities/_utility-global-dark-scrollbars.scss +29 -29
- package/src/scss/utilities/_utility-global-dark.scss +213 -224
- package/src/scss/utilities/_utility-grid-system.scss +204 -204
- package/src/scss/utilities/_utility-layout.scss +195 -196
- package/src/scss/utilities/_utility-lists.scss +17 -17
- package/src/scss/utilities/_utility-print.scss +101 -111
- package/src/scss/utilities/_utility-reduced-motion.scss +29 -29
- package/src/scss/utilities/_utility-tables.scss +40 -40
- package/src/scss/utilities/_utility-texts.scss +199 -199
- package/src/scss/utilities/_utility-z-index.scss +82 -82
- package/src/scss/variables/_variables-breakpoints.scss +5 -5
- package/src/scss/variables/_variables-colors.scss +31 -31
- package/src/scss/variables/_variables-spacing.scss +25 -25
- package/src/scss/variables/_variables-texts.scss +12 -12
- package/dist/css/bullframe-classless-dark-ie10+.css +0 -1330
- package/dist/css/bullframe-classless-dark-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-dark-prefers-ie10+.css +0 -1310
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css +0 -4
- package/dist/css/bullframe-classless-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-classless-ie10+.css +0 -1093
- package/dist/css/bullframe-classless-ie10+.min.css +0 -3
- package/dist/css/bullframe-classless-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-ie10+.css +0 -2578
- package/dist/css/bullframe-dark-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-dark-prefers-ie10+.css +0 -2550
- package/dist/css/bullframe-dark-prefers-ie10+.min.css +0 -3
- package/dist/css/bullframe-dark-prefers-ie10+.min.css.map +0 -1
- package/dist/css/bullframe-ie10+.css +0 -2259
- package/dist/css/bullframe-ie10+.min.css +0 -2
- package/dist/css/bullframe-ie10+.min.css.map +0 -1
- package/docs/images-readme/browserstack-logo.png +0 -0
- package/src/scss/bullframe-classless-dark-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-dark-prefers-ie10+.scss +0 -5
- package/src/scss/bullframe-classless-ie10+.scss +0 -43
- package/src/scss/bullframe-dark-ie10+.scss +0 -4
- package/src/scss/bullframe-dark-prefers-ie10+.scss +0 -4
- package/src/scss/bullframe-ie10+.scss +0 -121
- package/src/scss/forms/_forms-styling-ie-hacks.scss +0 -56
- package/src/scss/forms/_forms-styling-select-ie-hacks.scss +0 -30
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
// taken from https://getbootstrap.com/docs/4.4/utilities/embed/
|
|
2
|
-
// but lightened a bit
|
|
3
|
-
|
|
4
|
-
.bf-embed-responsive {
|
|
5
|
-
position: relative;
|
|
6
|
-
display: block;
|
|
7
|
-
width: 100%;
|
|
8
|
-
padding: 0;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
|
|
11
|
-
&::before {
|
|
12
|
-
display: block;
|
|
13
|
-
content: '';
|
|
14
|
-
padding-top: 56.25%; // 16:9 by default
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.bf-embed-responsive--4-3::before {
|
|
18
|
-
padding-top: 75%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
& .bf-embed-responsive--item,
|
|
22
|
-
& iframe,
|
|
23
|
-
& embed,
|
|
24
|
-
& object,
|
|
25
|
-
& video {
|
|
26
|
-
position: absolute;
|
|
27
|
-
top: 0;
|
|
28
|
-
bottom: 0;
|
|
29
|
-
left: 0;
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: 100%;
|
|
32
|
-
border: 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
// taken from https://getbootstrap.com/docs/4.4/utilities/embed/
|
|
2
|
+
// but lightened a bit
|
|
3
|
+
|
|
4
|
+
.bf-embed-responsive {
|
|
5
|
+
position: relative;
|
|
6
|
+
display: block;
|
|
7
|
+
width: 100%;
|
|
8
|
+
padding: 0;
|
|
9
|
+
overflow: hidden;
|
|
10
|
+
|
|
11
|
+
&::before {
|
|
12
|
+
display: block;
|
|
13
|
+
content: '';
|
|
14
|
+
padding-top: 56.25%; // 16:9 by default
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bf-embed-responsive--4-3::before {
|
|
18
|
+
padding-top: 75%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
& .bf-embed-responsive--item,
|
|
22
|
+
& iframe,
|
|
23
|
+
& embed,
|
|
24
|
+
& object,
|
|
25
|
+
& video {
|
|
26
|
+
position: absolute;
|
|
27
|
+
top: 0;
|
|
28
|
+
bottom: 0;
|
|
29
|
+
left: 0;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: 100%;
|
|
32
|
+
border: 0;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
// No IE and Opera Mini support
|
|
2
|
-
// https://caniuse.com/css-filters
|
|
3
|
-
|
|
4
|
-
// useful if dark mode
|
|
5
|
-
.bf-filter-invert {
|
|
6
|
-
filter: invert(100%) !important;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
// useful to dim bright images if dark mode
|
|
10
|
-
.bf-filter-dim-images {
|
|
11
|
-
filter: brightness(0.8) contrast(1.2);
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.bf-filter-grayscale {
|
|
15
|
-
filter: grayscale(1) !important;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bf-filter-blur {
|
|
19
|
-
filter: blur(.3rem) !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.bf-filter-none {
|
|
23
|
-
filter: none !important;
|
|
24
|
-
}
|
|
1
|
+
// No IE and Opera Mini support
|
|
2
|
+
// https://caniuse.com/css-filters
|
|
3
|
+
|
|
4
|
+
// useful if dark mode
|
|
5
|
+
.bf-filter-invert {
|
|
6
|
+
filter: invert(100%) !important;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
// useful to dim bright images if dark mode
|
|
10
|
+
.bf-filter-dim-images {
|
|
11
|
+
filter: brightness(0.8) contrast(1.2);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.bf-filter-grayscale {
|
|
15
|
+
filter: grayscale(1) !important;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bf-filter-blur {
|
|
19
|
+
filter: blur(0.3rem) !important;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.bf-filter-none {
|
|
23
|
+
filter: none !important;
|
|
24
|
+
}
|
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
.bf-focused {
|
|
2
|
-
transition: border .2s, background-color .2s, box-shadow .2s !important;
|
|
3
|
-
border-color: $bf-blue !important;
|
|
4
|
-
box-shadow: 0 0 0 3px rgba(0, 86, 179, .25) !important;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.bf-disabled,
|
|
8
|
-
.bf-disabled:hover,
|
|
9
|
-
.bf-disabled:active,
|
|
10
|
-
.bf-disabled:focus,
|
|
11
|
-
.bf-disabled:after,
|
|
12
|
-
.bf-disabled:before,
|
|
13
|
-
.bf-disabled:invalid,
|
|
14
|
-
.bf-disabled:checked {
|
|
15
|
-
cursor: default !important; // IE8-10 fallback
|
|
16
|
-
cursor: not-allowed !important;
|
|
17
|
-
pointer-events: none !important;
|
|
18
|
-
user-select: none !important;
|
|
19
|
-
box-shadow: none !important;
|
|
20
|
-
opacity: .5 !important;
|
|
21
|
-
|
|
22
|
-
background-color: $bf-white;
|
|
23
|
-
border-color: $bf-gray;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
label.bf-disabled {
|
|
27
|
-
background-color: transparent;
|
|
28
|
-
border-color: transparent;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
button.bf-disabled,
|
|
32
|
-
[type='button'].bf-disabled,
|
|
33
|
-
[type='reset'].bf-disabled,
|
|
34
|
-
[type='submit'].bf-disabled,
|
|
35
|
-
.bf-btn.bf-disabled {
|
|
36
|
-
cursor: default;
|
|
37
|
-
cursor: not-allowed;
|
|
38
|
-
pointer-events: none;
|
|
39
|
-
user-select: none;
|
|
40
|
-
box-shadow: none;
|
|
41
|
-
opacity: .5;
|
|
42
|
-
|
|
43
|
-
color: $bf-dark;
|
|
44
|
-
background: $bf-gray-light;
|
|
45
|
-
|
|
46
|
-
&:hover,
|
|
47
|
-
&:active,
|
|
48
|
-
&:focus {
|
|
49
|
-
box-shadow: none;
|
|
50
|
-
color: $bf-dark;
|
|
51
|
-
background: $bf-gray-light;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.bf-btn--primary.bf-disabled {
|
|
56
|
-
cursor: default;
|
|
57
|
-
cursor: not-allowed;
|
|
58
|
-
pointer-events: none;
|
|
59
|
-
user-select: none;
|
|
60
|
-
box-shadow: none;
|
|
61
|
-
opacity: .5;
|
|
62
|
-
|
|
63
|
-
color: $bf-white;
|
|
64
|
-
background: $bf-blue;
|
|
65
|
-
|
|
66
|
-
&:hover,
|
|
67
|
-
&:active,
|
|
68
|
-
&:focus {
|
|
69
|
-
box-shadow: none;
|
|
70
|
-
color: $bf-white;
|
|
71
|
-
background: $bf-blue;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.bf-invalid,
|
|
76
|
-
.bf-invalid:focus {
|
|
77
|
-
color: $bf-red !important;
|
|
78
|
-
border-color: $bf-red !important;
|
|
79
|
-
box-shadow: 0 0 0 3px rgba(255, 0, 0, .25) !important;
|
|
80
|
-
}
|
|
1
|
+
.bf-focused {
|
|
2
|
+
transition: border .2s, background-color .2s, box-shadow .2s !important;
|
|
3
|
+
border-color: $bf-blue !important;
|
|
4
|
+
box-shadow: 0 0 0 3px rgba(0, 86, 179, .25) !important;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.bf-disabled,
|
|
8
|
+
.bf-disabled:hover,
|
|
9
|
+
.bf-disabled:active,
|
|
10
|
+
.bf-disabled:focus,
|
|
11
|
+
.bf-disabled:after,
|
|
12
|
+
.bf-disabled:before,
|
|
13
|
+
.bf-disabled:invalid,
|
|
14
|
+
.bf-disabled:checked {
|
|
15
|
+
cursor: default !important; // IE8-10 fallback
|
|
16
|
+
cursor: not-allowed !important;
|
|
17
|
+
pointer-events: none !important;
|
|
18
|
+
user-select: none !important;
|
|
19
|
+
box-shadow: none !important;
|
|
20
|
+
opacity: .5 !important;
|
|
21
|
+
|
|
22
|
+
background-color: $bf-white;
|
|
23
|
+
border-color: $bf-gray;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
label.bf-disabled {
|
|
27
|
+
background-color: transparent;
|
|
28
|
+
border-color: transparent;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
button.bf-disabled,
|
|
32
|
+
[type='button'].bf-disabled,
|
|
33
|
+
[type='reset'].bf-disabled,
|
|
34
|
+
[type='submit'].bf-disabled,
|
|
35
|
+
.bf-btn.bf-disabled {
|
|
36
|
+
cursor: default;
|
|
37
|
+
cursor: not-allowed;
|
|
38
|
+
pointer-events: none;
|
|
39
|
+
user-select: none;
|
|
40
|
+
box-shadow: none;
|
|
41
|
+
opacity: .5;
|
|
42
|
+
|
|
43
|
+
color: $bf-dark;
|
|
44
|
+
background: $bf-gray-light;
|
|
45
|
+
|
|
46
|
+
&:hover,
|
|
47
|
+
&:active,
|
|
48
|
+
&:focus {
|
|
49
|
+
box-shadow: none;
|
|
50
|
+
color: $bf-dark;
|
|
51
|
+
background: $bf-gray-light;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.bf-btn--primary.bf-disabled {
|
|
56
|
+
cursor: default;
|
|
57
|
+
cursor: not-allowed;
|
|
58
|
+
pointer-events: none;
|
|
59
|
+
user-select: none;
|
|
60
|
+
box-shadow: none;
|
|
61
|
+
opacity: .5;
|
|
62
|
+
|
|
63
|
+
color: $bf-white;
|
|
64
|
+
background: $bf-blue;
|
|
65
|
+
|
|
66
|
+
&:hover,
|
|
67
|
+
&:active,
|
|
68
|
+
&:focus {
|
|
69
|
+
box-shadow: none;
|
|
70
|
+
color: $bf-white;
|
|
71
|
+
background: $bf-blue;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.bf-invalid,
|
|
76
|
+
.bf-invalid:focus {
|
|
77
|
+
color: $bf-red !important;
|
|
78
|
+
border-color: $bf-red !important;
|
|
79
|
+
box-shadow: 0 0 0 3px rgba(255, 0, 0, .25) !important;
|
|
80
|
+
}
|
|
@@ -1,169 +1,157 @@
|
|
|
1
|
-
// these are global stylest tha that ovveride all the "light" styles
|
|
2
|
-
|
|
3
|
-
// import dark scrollbars utility module
|
|
4
|
-
@import 'utility-global-dark-scrollbars';
|
|
5
|
-
|
|
6
|
-
// the basics: background and texts
|
|
7
|
-
html {
|
|
8
|
-
color: $bf-light;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
body {
|
|
12
|
-
background-color: lighten($bf-dark-extra, 7.5%);
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// anchors
|
|
16
|
-
a {
|
|
17
|
-
color: lighten($bf-blue, 20%);
|
|
18
|
-
|
|
19
|
-
&:hover,
|
|
20
|
-
&:focus {
|
|
21
|
-
color: lighten($bf-blue-light, 20%);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
// typography elements that need tiny adjustments
|
|
26
|
-
mark {
|
|
27
|
-
background-color: darken($bf-yellow, 10%);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
ins {
|
|
31
|
-
background-color: darken($bf-yellow-light, 45%);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
// forms
|
|
35
|
-
|
|
36
|
-
[type='email'],
|
|
37
|
-
[type='number'],
|
|
38
|
-
[type='password'],
|
|
39
|
-
[type='tel'],
|
|
40
|
-
[type='search'],
|
|
41
|
-
[type='text'],
|
|
42
|
-
[type='date'],
|
|
43
|
-
[type='datetime-local'],
|
|
44
|
-
[type='month'],
|
|
45
|
-
[type='
|
|
46
|
-
[type='
|
|
47
|
-
[type='
|
|
48
|
-
[type='
|
|
49
|
-
[
|
|
50
|
-
|
|
51
|
-
select,
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
&:
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
[type='
|
|
66
|
-
[type='
|
|
67
|
-
[type='
|
|
68
|
-
[type='
|
|
69
|
-
[type='
|
|
70
|
-
[type='
|
|
71
|
-
[type='
|
|
72
|
-
[type='
|
|
73
|
-
[type='
|
|
74
|
-
[type='time'],
|
|
75
|
-
[type='
|
|
76
|
-
[
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
//
|
|
94
|
-
|
|
95
|
-
//
|
|
96
|
-
select:not([size]):not([multiple]),
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
//
|
|
105
|
-
|
|
106
|
-
//
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
[type='
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
&:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// focus
|
|
162
|
-
a:focus,
|
|
163
|
-
input:focus {
|
|
164
|
-
outline-color: darken(orange, 15%);
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
:focus-visible {
|
|
168
|
-
outline-color: darken(orange, 15%);
|
|
169
|
-
}
|
|
1
|
+
// these are global stylest tha that ovveride all the "light" styles
|
|
2
|
+
|
|
3
|
+
// import dark scrollbars utility module
|
|
4
|
+
@import 'utility-global-dark-scrollbars';
|
|
5
|
+
|
|
6
|
+
// the basics: background and texts
|
|
7
|
+
html {
|
|
8
|
+
color: $bf-light;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
body {
|
|
12
|
+
background-color: lighten($bf-dark-extra, 7.5%);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// anchors
|
|
16
|
+
a {
|
|
17
|
+
color: lighten($bf-blue, 20%);
|
|
18
|
+
|
|
19
|
+
&:hover,
|
|
20
|
+
&:focus {
|
|
21
|
+
color: lighten($bf-blue-light, 20%);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// typography elements that need tiny adjustments
|
|
26
|
+
mark {
|
|
27
|
+
background-color: darken($bf-yellow, 10%);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
ins {
|
|
31
|
+
background-color: darken($bf-yellow-light, 45%);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
// forms
|
|
35
|
+
|
|
36
|
+
[type='email'],
|
|
37
|
+
[type='number'],
|
|
38
|
+
[type='password'],
|
|
39
|
+
[type='tel'],
|
|
40
|
+
[type='search'],
|
|
41
|
+
[type='text'],
|
|
42
|
+
[type='date'],
|
|
43
|
+
[type='datetime-local'],
|
|
44
|
+
[type='month'],
|
|
45
|
+
[type='week'],
|
|
46
|
+
[type='time'],
|
|
47
|
+
[type='url'],
|
|
48
|
+
[type='range'],
|
|
49
|
+
input[list],
|
|
50
|
+
select,
|
|
51
|
+
select:not([size]):not([multiple]),
|
|
52
|
+
textarea {
|
|
53
|
+
background-color: $bf-dark-extra;
|
|
54
|
+
border-color: $bf-black;
|
|
55
|
+
color: $bf-gray-light;
|
|
56
|
+
|
|
57
|
+
&:active,
|
|
58
|
+
&:focus {
|
|
59
|
+
background-color: $bf-dark-extra;
|
|
60
|
+
border-color: lighten($bf-blue, 10%);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
[type='email'],
|
|
65
|
+
[type='number'],
|
|
66
|
+
[type='password'],
|
|
67
|
+
[type='tel'],
|
|
68
|
+
[type='search'],
|
|
69
|
+
[type='text'],
|
|
70
|
+
[type='date'],
|
|
71
|
+
[type='datetime-local'],
|
|
72
|
+
[type='month'],
|
|
73
|
+
[type='week'],
|
|
74
|
+
[type='time'],
|
|
75
|
+
[type='url'],
|
|
76
|
+
input[list],
|
|
77
|
+
select,
|
|
78
|
+
select:not([size]):not([multiple]),
|
|
79
|
+
textarea {
|
|
80
|
+
&:active,
|
|
81
|
+
&:focus {
|
|
82
|
+
box-shadow: 0 0 0 3px rgba(3, 102, 214, 0.5);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
select:not([size]):not([multiple]) {
|
|
87
|
+
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='4' height='5' viewBox='0 0 4 5'%3e%3cpath fill='%23f0f0f0' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e");
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
// IE9 only hack
|
|
91
|
+
// https://gist.github.com/marcop135/cf5163ab23d1cb208248b955c990b2ea#ie-9-only
|
|
92
|
+
@media screen and (min-width: 0\0) and (min-resolution: 0.001dpcm) {
|
|
93
|
+
// hide custom arrow
|
|
94
|
+
select:not([size]):not([multiple]),
|
|
95
|
+
// RTL
|
|
96
|
+
*[dir="rtl"] select:not([size]):not([multiple]),
|
|
97
|
+
select[dir="rtl"]:not([size]):not([multiple]) {
|
|
98
|
+
background-image: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// range
|
|
103
|
+
|
|
104
|
+
// all modern browsers but not IE
|
|
105
|
+
@supports (appearance: none) {
|
|
106
|
+
// override above declaration
|
|
107
|
+
[type='range'] {
|
|
108
|
+
background-color: transparent;
|
|
109
|
+
|
|
110
|
+
&:focus {
|
|
111
|
+
background-color: transparent;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// darker background
|
|
116
|
+
// the rulesets must be separated
|
|
117
|
+
[type='range']::-webkit-slider-runnable-track {
|
|
118
|
+
background-color: $bf-dark-extra;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
[type='range']::-moz-range-track {
|
|
122
|
+
background-color: $bf-dark-extra;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
input::placeholder,
|
|
127
|
+
textarea::placeholder {
|
|
128
|
+
color: $bf-gray;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
button,
|
|
132
|
+
[type='button'],
|
|
133
|
+
[type='reset'],
|
|
134
|
+
[type='submit'] {
|
|
135
|
+
background: $bf-gray-light;
|
|
136
|
+
|
|
137
|
+
&:hover,
|
|
138
|
+
&:active,
|
|
139
|
+
&:focus {
|
|
140
|
+
background: darken($bf-gray-light, 10%);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&:active,
|
|
144
|
+
&:focus {
|
|
145
|
+
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.45);
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
// focus
|
|
150
|
+
a:focus,
|
|
151
|
+
input:focus {
|
|
152
|
+
outline-color: darken(orange, 15%);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:focus-visible {
|
|
156
|
+
outline-color: darken(orange, 15%);
|
|
157
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@media (prefers-color-scheme: dark) {
|
|
2
|
-
@import 'utilities/utility-global-dark-classless';
|
|
3
|
-
}
|
|
1
|
+
@media (prefers-color-scheme: dark) {
|
|
2
|
+
@import 'utilities/utility-global-dark-classless';
|
|
3
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
@media (prefers-color-scheme: dark) {
|
|
2
|
-
@import 'utilities/utility-global-dark';
|
|
3
|
-
}
|
|
1
|
+
@media (prefers-color-scheme: dark) {
|
|
2
|
+
@import 'utilities/utility-global-dark';
|
|
3
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
// standard property
|
|
2
|
-
// 'scrollbar-color'
|
|
3
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color
|
|
4
|
-
// currently (June 2020) Firefox only
|
|
5
|
-
// https://caniuse.com/#feat=mdn-css_properties_scrollbar-color
|
|
6
|
-
html {
|
|
7
|
-
scrollbar-color: darken($bf-gray-dark, 5%) $bf-dark-extra;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
// these features are not standard, and blink and webkit only
|
|
11
|
-
// '::-webkit-scrollbar'
|
|
12
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
|
|
13
|
-
|
|
14
|
-
::-webkit-scrollbar {
|
|
15
|
-
width: 1.5rem;
|
|
16
|
-
height: 1.5rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
::-webkit-scrollbar-
|
|
20
|
-
background-color:
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
::-webkit-scrollbar-thumb
|
|
24
|
-
background-color:
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
::-webkit-scrollbar-
|
|
28
|
-
background-color: $bf-dark
|
|
29
|
-
}
|
|
1
|
+
// standard property
|
|
2
|
+
// 'scrollbar-color'
|
|
3
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color
|
|
4
|
+
// currently (June 2020) Firefox only
|
|
5
|
+
// https://caniuse.com/#feat=mdn-css_properties_scrollbar-color
|
|
6
|
+
html {
|
|
7
|
+
scrollbar-color: darken($bf-gray-dark, 5%) $bf-dark-extra;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
// these features are not standard, and blink and webkit only
|
|
11
|
+
// '::-webkit-scrollbar'
|
|
12
|
+
// https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
|
|
13
|
+
|
|
14
|
+
::-webkit-scrollbar {
|
|
15
|
+
width: 1.5rem;
|
|
16
|
+
height: 1.5rem;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
::-webkit-scrollbar-track {
|
|
20
|
+
background-color: $bf-dark-extra;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
::-webkit-scrollbar-thumb {
|
|
24
|
+
background-color: darken($bf-gray-dark, 5%);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
::-webkit-scrollbar-thumb:hover {
|
|
28
|
+
background-color: lighten($bf-gray-dark, 10%);
|
|
29
|
+
}
|