bullframe.css 5.0.1 → 6.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/CHANGELOG.md +276 -234
- package/LICENSE +2 -2
- package/README.md +34 -455
- package/dist/css/bullframe-classless-dark.css +1218 -932
- package/dist/css/bullframe-classless-dark.css.map +1 -1
- package/dist/css/bullframe-classless-dark.min.css +1 -3
- package/dist/css/bullframe-classless-dark.min.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.css +1316 -936
- package/dist/css/bullframe-classless-system-default.css.map +1 -1
- package/dist/css/bullframe-classless-system-default.min.css +1 -3
- package/dist/css/bullframe-classless-system-default.min.css.map +1 -1
- package/dist/css/bullframe-classless.css +1038 -715
- package/dist/css/bullframe-classless.css.map +1 -1
- package/dist/css/bullframe-classless.min.css +1 -3
- package/dist/css/bullframe-classless.min.css.map +1 -1
- package/dist/css/bullframe-dark.css +1943 -1459
- package/dist/css/bullframe-dark.css.map +1 -1
- package/dist/css/bullframe-dark.min.css +1 -3
- package/dist/css/bullframe-dark.min.css.map +1 -1
- package/dist/css/bullframe-system-default.css +2005 -1489
- package/dist/css/bullframe-system-default.css.map +1 -1
- package/dist/css/bullframe-system-default.min.css +1 -3
- package/dist/css/bullframe-system-default.min.css.map +1 -1
- package/dist/css/bullframe-utilities.css +769 -491
- package/dist/css/bullframe-utilities.css.map +1 -1
- package/dist/css/bullframe-utilities.min.css +1 -2
- package/dist/css/bullframe-utilities.min.css.map +1 -1
- package/dist/css/bullframe.css +1911 -1383
- package/dist/css/bullframe.css.map +1 -1
- package/dist/css/bullframe.min.css +1 -3
- package/dist/css/bullframe.min.css.map +1 -1
- package/package.json +71 -29
- package/.browserslistrc +0 -3
- package/.editorconfig +0 -15
- package/.htmlhintrc +0 -12
- package/.prettierignore +0 -1
- package/.stylelintignore +0 -3
- package/.stylelintrc.json +0 -26
- package/dist/css/bullframe-classless-dark-prefers.css +0 -1340
- package/dist/css/bullframe-classless-dark-prefers.css.map +0 -1
- package/dist/css/bullframe-classless-dark-prefers.min.css +0 -3
- package/dist/css/bullframe-classless-dark-prefers.min.css.map +0 -1
- package/dist/css/bullframe-dark-prefers.css +0 -2356
- package/dist/css/bullframe-dark-prefers.css.map +0 -1
- package/dist/css/bullframe-dark-prefers.min.css +0 -3
- package/dist/css/bullframe-dark-prefers.min.css.map +0 -1
- package/dist/docs/demo/css/style.css +0 -131
- package/dist/docs/demo/icons/android-chrome-192x192.png +0 -0
- package/dist/docs/demo/icons/android-chrome-384x384.png +0 -0
- package/dist/docs/demo/icons/apple-touch-icon.png +0 -0
- package/dist/docs/demo/icons/favicon-16x16.png +0 -0
- package/dist/docs/demo/icons/favicon-32x32.png +0 -0
- package/dist/docs/demo/icons/favicon.ico +0 -0
- package/dist/docs/demo/icons/mstile-150x150.png +0 -0
- package/dist/docs/demo/icons/safari-pinned-tab.svg +0 -28
- package/dist/docs/demo/images/logo.png +0 -0
- package/dist/docs/demo/images/placeholder-img-130x140.jpg +0 -0
- package/dist/docs/demo/images/placeholder-img-16x16.jpg +0 -0
- package/dist/docs/demo/images/placeholder-img-800x400.jpg +0 -0
- package/dist/docs/demo/images/video-poster.png +0 -0
- package/dist/docs/demo/index.html +0 -1152
- package/dist/docs/github-readme/bf-logo-full-dark.png +0 -0
- package/dist/docs/github-readme/bf-logo-full-light.png +0 -0
- package/prettier.config.js +0 -26
- package/src/docs/demo/css/style.css +0 -131
- package/src/docs/demo/icons/android-chrome-192x192.png +0 -0
- package/src/docs/demo/icons/android-chrome-384x384.png +0 -0
- package/src/docs/demo/icons/apple-touch-icon.png +0 -0
- package/src/docs/demo/icons/favicon-16x16.png +0 -0
- package/src/docs/demo/icons/favicon-32x32.png +0 -0
- package/src/docs/demo/icons/favicon.ico +0 -0
- package/src/docs/demo/icons/mstile-150x150.png +0 -0
- package/src/docs/demo/icons/safari-pinned-tab.svg +0 -28
- package/src/docs/demo/images/logo.png +0 -0
- package/src/docs/demo/images/placeholder-img-130x140.jpg +0 -0
- package/src/docs/demo/images/placeholder-img-16x16.jpg +0 -0
- package/src/docs/demo/images/placeholder-img-800x400.jpg +0 -0
- package/src/docs/demo/images/video-poster.png +0 -0
- package/src/docs/demo/index.html +0 -1152
- package/src/docs/github-readme/bf-logo-full-dark.png +0 -0
- package/src/docs/github-readme/bf-logo-full-light.png +0 -0
- package/src/scss/bullframe-classless-dark-prefers.scss +0 -2
- package/src/scss/bullframe-classless-dark.scss +0 -2
- package/src/scss/bullframe-classless-system-default.scss +0 -2
- package/src/scss/bullframe-classless.scss +0 -49
- package/src/scss/bullframe-dark-prefers.scss +0 -2
- package/src/scss/bullframe-dark.scss +0 -2
- package/src/scss/bullframe-system-default.scss +0 -2
- package/src/scss/bullframe-utilities.scss +0 -21
- package/src/scss/bullframe.scss +0 -49
- package/src/scss/custom/_author-styles.scss +0 -5
- package/src/scss/forms/_forms-normalization.scss +0 -316
- package/src/scss/forms/_forms-styling-radio-checkbox.scss +0 -82
- package/src/scss/forms/_forms-styling-range.scss +0 -113
- package/src/scss/forms/_forms-styling-select.scss +0 -65
- package/src/scss/forms/_forms-styling.scss +0 -131
- package/src/scss/miscellaneous/_misc-accessibility.scss +0 -36
- package/src/scss/miscellaneous/_misc-anchors.scss +0 -37
- package/src/scss/miscellaneous/_misc-embedded-content.scss +0 -117
- package/src/scss/miscellaneous/_misc-focus.scss +0 -79
- package/src/scss/miscellaneous/_misc-interactive.scss +0 -48
- package/src/scss/miscellaneous/_misc-layout.scss +0 -30
- package/src/scss/miscellaneous/_misc-lists.scss +0 -53
- package/src/scss/miscellaneous/_misc-scrolling.scss +0 -5
- package/src/scss/miscellaneous/_misc-shame.scss +0 -37
- package/src/scss/miscellaneous/_misc-tables.scss +0 -53
- package/src/scss/mixins/_mixin-dark-prefers.scss +0 -414
- package/src/scss/mixins/_mixin-dark.scss +0 -396
- package/src/scss/mixins/_mixin-grid-flex.scss +0 -80
- package/src/scss/mixins/_mixin-layout.scss +0 -42
- package/src/scss/mixins/_mixin-texts.scss +0 -37
- package/src/scss/typography/_typography-blockquotes.scss +0 -28
- package/src/scss/typography/_typography-headings.scss +0 -45
- package/src/scss/typography/_typography-html-body.scss +0 -75
- package/src/scss/typography/_typography-misc.scss +0 -90
- package/src/scss/typography/_typography-monospaced-elements.scss +0 -59
- package/src/scss/utilities/_utility-buttons.scss +0 -73
- package/src/scss/utilities/_utility-debugging.scss +0 -31
- package/src/scss/utilities/_utility-embeds.scss +0 -34
- package/src/scss/utilities/_utility-filters.scss +0 -21
- package/src/scss/utilities/_utility-form-states.scss +0 -89
- package/src/scss/utilities/_utility-global-dark-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-prefers-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-prefers.scss +0 -3
- package/src/scss/utilities/_utility-global-dark-scrollbars.scss +0 -34
- package/src/scss/utilities/_utility-global-dark.scss +0 -4
- package/src/scss/utilities/_utility-global-system-default-classless.scss +0 -3
- package/src/scss/utilities/_utility-global-system-default.scss +0 -3
- package/src/scss/utilities/_utility-grid-system.scss +0 -140
- package/src/scss/utilities/_utility-layout.scss +0 -187
- package/src/scss/utilities/_utility-lists.scss +0 -17
- package/src/scss/utilities/_utility-print.scss +0 -101
- package/src/scss/utilities/_utility-reduced-motion.scss +0 -29
- package/src/scss/utilities/_utility-spacing.scss +0 -148
- package/src/scss/utilities/_utility-tables.scss +0 -34
- package/src/scss/utilities/_utility-texts.scss +0 -225
- package/src/scss/utilities/_utility-z-index.scss +0 -83
- package/src/scss/variables/_variables-breakpoints.scss +0 -6
- package/src/scss/variables/_variables-colors.scss +0 -34
- package/src/scss/variables/_variables-spacing.scss +0 -24
- package/src/scss/variables/_variables-texts.scss +0 -8
- package/vite.config.js +0 -116
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
@use "../variables/variables-colors" as bf-v-color;
|
|
2
|
-
@use "../variables/variables-texts" as bf-v-text;
|
|
3
|
-
@use "../variables/variables-spacing" as bf-v-space;
|
|
4
|
-
@use "../variables/variables-breakpoints" as bf-v-bp;
|
|
5
|
-
@use "sass:color";
|
|
6
|
-
|
|
7
|
-
p {
|
|
8
|
-
margin: 0 0 bf-v-space.$bf-spacing-xl-rem 0;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
// Abbreviations (taken from Bootstrap 4)
|
|
12
|
-
//
|
|
13
|
-
// 1. Remove the bottom border in Firefox 39-.
|
|
14
|
-
// 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
15
|
-
// 3. Add explicit cursor to indicate changed behavior.
|
|
16
|
-
abbr[title],
|
|
17
|
-
abbr[data-original-title] {
|
|
18
|
-
cursor: help;
|
|
19
|
-
text-decoration: underline; // 2
|
|
20
|
-
text-decoration: underline dotted; // 2
|
|
21
|
-
border-bottom: 0; // 2
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
mark {
|
|
25
|
-
background-color: bf-v-color.$bf-yellow;
|
|
26
|
-
color: bf-v-color.$bf-black;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
ins {
|
|
30
|
-
background-color: bf-v-color.$bf-yellow-light;
|
|
31
|
-
color: bf-v-color.$bf-black;
|
|
32
|
-
text-decoration: none;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
// Prevent the duplicate application of `bolder` by the next rule
|
|
36
|
-
// in Safari 6
|
|
37
|
-
b,
|
|
38
|
-
strong {
|
|
39
|
-
font-weight: inherit;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
// Add the correct font weight in Chrome, Edge, and Safari
|
|
43
|
-
b,
|
|
44
|
-
strong {
|
|
45
|
-
/* stylelint-disable-next-line */
|
|
46
|
-
font-weight: bolder;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
dfn {
|
|
50
|
-
font-style: italic;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
sub,
|
|
54
|
-
sup {
|
|
55
|
-
font-size: 75%;
|
|
56
|
-
line-height: 0;
|
|
57
|
-
position: relative;
|
|
58
|
-
vertical-align: baseline;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
sup {
|
|
62
|
-
top: -8px;
|
|
63
|
-
top: -0.8rem;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
sub {
|
|
67
|
-
bottom: -4px;
|
|
68
|
-
bottom: -0.4rem;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
small {
|
|
72
|
-
font-size: 80%;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
// Reduce line-height for <small> elements inside <p>
|
|
76
|
-
p:has(small) {
|
|
77
|
-
line-height: 1.25;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
hr {
|
|
81
|
-
box-sizing: content-box;
|
|
82
|
-
display: block;
|
|
83
|
-
height: 0;
|
|
84
|
-
border-style: solid;
|
|
85
|
-
border-width: 1px 0 0;
|
|
86
|
-
color: inherit;
|
|
87
|
-
margin: bf-v-space.$bf-spacing-xl-rem 0;
|
|
88
|
-
padding: 0;
|
|
89
|
-
overflow: visible; // Show the overflow in Edge
|
|
90
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
pre {
|
|
8
|
-
margin: 0 0 bf-v-space.$bf-spacing-xl-rem 0;
|
|
9
|
-
|
|
10
|
-
display: block;
|
|
11
|
-
overflow: auto;
|
|
12
|
-
word-break: break-all; // webkit
|
|
13
|
-
word-wrap: break-word;
|
|
14
|
-
white-space: pre;
|
|
15
|
-
hyphens: none;
|
|
16
|
-
|
|
17
|
-
// Disable auto-hiding scrollbar in legacy Edge
|
|
18
|
-
// https://github.com/twbs/bootstrap/pull/30685
|
|
19
|
-
-ms-overflow-style: auto;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
pre,
|
|
23
|
-
code,
|
|
24
|
-
kbd,
|
|
25
|
-
samp {
|
|
26
|
-
font-family:
|
|
27
|
-
|
|
28
|
-
/* macOS 1.10+ */
|
|
29
|
-
Menlo,
|
|
30
|
-
Consolas,
|
|
31
|
-
'Roboto Mono',
|
|
32
|
-
'Ubuntu Monospace',
|
|
33
|
-
'Noto Mono',
|
|
34
|
-
'Oxygen Mono',
|
|
35
|
-
'Liberation Mono',
|
|
36
|
-
monospace,
|
|
37
|
-
'Apple Color Emoji',
|
|
38
|
-
'Segoe UI Emoji',
|
|
39
|
-
'Segoe UI Symbol',
|
|
40
|
-
'Noto Color Emoji';
|
|
41
|
-
|
|
42
|
-
// a monospaced text font should looks bigger, so a smaller font-size
|
|
43
|
-
// is preferred
|
|
44
|
-
font-size: 0.875em;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
code {
|
|
48
|
-
word-wrap: break-word;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
a > code {
|
|
52
|
-
color: inherit;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
pre code {
|
|
56
|
-
font-size: inherit;
|
|
57
|
-
color: inherit;
|
|
58
|
-
word-break: normal;
|
|
59
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
.bf-btn {
|
|
8
|
-
display: inline-block;
|
|
9
|
-
cursor: pointer;
|
|
10
|
-
color: bf-v-color.$bf-dark;
|
|
11
|
-
padding: calc(bf-v-space.$bf-spacing-xl-rem / 3) (calc(bf-v-space.$bf-spacing-xl-rem / 3) * 2); // 8px 16px
|
|
12
|
-
line-height: normal;
|
|
13
|
-
text-align: center;
|
|
14
|
-
margin: 0;
|
|
15
|
-
background-clip: padding-box;
|
|
16
|
-
vertical-align: baseline;
|
|
17
|
-
overflow: visible;
|
|
18
|
-
-webkit-tap-highlight-color: rgb(0 0 0 / 0%);
|
|
19
|
-
user-select: none;
|
|
20
|
-
border-radius: bf-v-space.$bf-spacing-sm-rem;
|
|
21
|
-
|
|
22
|
-
border: 0;
|
|
23
|
-
background-image: none; // FF mobile
|
|
24
|
-
background-color: bf-v-color.$bf-gray-light;
|
|
25
|
-
transition: all 0.2s;
|
|
26
|
-
|
|
27
|
-
&:hover,
|
|
28
|
-
&:active,
|
|
29
|
-
&:focus {
|
|
30
|
-
text-decoration: none;
|
|
31
|
-
color: bf-v-color.$bf-dark;
|
|
32
|
-
background: color.adjust(bf-v-color.$bf-gray-light, $lightness: -10%);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&:active,
|
|
36
|
-
&:focus {
|
|
37
|
-
box-shadow: 0 0 0 3px rgb(0 0 0 / 15%);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&:focus {
|
|
41
|
-
outline: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.bf-btn--primary {
|
|
45
|
-
color: bf-v-color.$bf-white;
|
|
46
|
-
background: bf-v-color.$bf-blue;
|
|
47
|
-
|
|
48
|
-
&:hover,
|
|
49
|
-
&:active,
|
|
50
|
-
&:focus {
|
|
51
|
-
color: bf-v-color.$bf-white;
|
|
52
|
-
background: color.adjust(bf-v-color.$bf-blue, $lightness: -10%);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:active,
|
|
56
|
-
&:focus {
|
|
57
|
-
box-shadow: 0 0 0 3px rgb(0 86 179 / 25%);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
fieldset[disabled] .bf-btn,
|
|
63
|
-
.bf-btn[disabled],
|
|
64
|
-
.bf-btn:disabled,
|
|
65
|
-
.bf-btn[aria-disabled='true'] {
|
|
66
|
-
cursor: default !important; // fallback
|
|
67
|
-
cursor: not-allowed !important;
|
|
68
|
-
pointer-events: none !important;
|
|
69
|
-
user-select: none !important;
|
|
70
|
-
box-shadow: none !important;
|
|
71
|
-
opacity: 0.5 !important;
|
|
72
|
-
background-color: bf-v-color.$bf-gray-light;
|
|
73
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
// Toggle debugging tools setting '$debug' variable to true or false
|
|
2
|
-
|
|
3
|
-
$debug: false;
|
|
4
|
-
|
|
5
|
-
// visualizing layout internals
|
|
6
|
-
* {
|
|
7
|
-
@if $debug {
|
|
8
|
-
outline: 1px solid hotpink !important;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
// ...or something more powerful
|
|
13
|
-
//
|
|
14
|
-
// Debug CSS
|
|
15
|
-
// https://gist.github.com/zaydek-old/6b2e55258734deabbd2b4a284321d6f6
|
|
16
|
-
//
|
|
17
|
-
// :not(g):not(path) {
|
|
18
|
-
// @if ($debug) {
|
|
19
|
-
// color: hsla(210, 100%, 100%, 0.9) !important;
|
|
20
|
-
// background: hsla(210, 100%, 50%, 0.5) !important;
|
|
21
|
-
// outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important;
|
|
22
|
-
|
|
23
|
-
// box-shadow: none !important;
|
|
24
|
-
// filter: none !important;
|
|
25
|
-
// }
|
|
26
|
-
// }
|
|
27
|
-
|
|
28
|
-
// Read more
|
|
29
|
-
//
|
|
30
|
-
// a interesting guide about CSS debugging from Ben Frain
|
|
31
|
-
// https://benfrain.com/debugging-css/
|
|
@@ -1,34 +0,0 @@
|
|
|
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,21 +0,0 @@
|
|
|
1
|
-
// useful if dark mode
|
|
2
|
-
.bf-filter-invert {
|
|
3
|
-
filter: invert(100%) !important;
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
// useful to dim bright images if dark mode
|
|
7
|
-
.bf-filter-dim-images {
|
|
8
|
-
filter: brightness(0.8) contrast(1.2);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.bf-filter-grayscale {
|
|
12
|
-
filter: grayscale(1) !important;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.bf-filter-blur {
|
|
16
|
-
filter: blur(0.3rem) !important;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.bf-filter-none {
|
|
20
|
-
filter: none !important;
|
|
21
|
-
}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
.bf-focused {
|
|
8
|
-
transition:
|
|
9
|
-
border 0.2s,
|
|
10
|
-
background-color 0.2s,
|
|
11
|
-
box-shadow 0.2s !important;
|
|
12
|
-
border-color: bf-v-color.$bf-blue !important;
|
|
13
|
-
box-shadow: 0 0 0 3px rgb(0 86 179 / 25%) !important;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.bf-disabled,
|
|
17
|
-
.bf-disabled:hover,
|
|
18
|
-
.bf-disabled:active,
|
|
19
|
-
.bf-disabled:focus,
|
|
20
|
-
.bf-disabled::after,
|
|
21
|
-
.bf-disabled::before,
|
|
22
|
-
.bf-disabled:invalid,
|
|
23
|
-
.bf-disabled:checked {
|
|
24
|
-
cursor: default !important; // IE8-10 fallback
|
|
25
|
-
cursor: not-allowed !important;
|
|
26
|
-
pointer-events: none !important;
|
|
27
|
-
user-select: none !important;
|
|
28
|
-
box-shadow: none !important;
|
|
29
|
-
opacity: 0.5 !important;
|
|
30
|
-
|
|
31
|
-
background-color: bf-v-color.$bf-white;
|
|
32
|
-
border-color: bf-v-color.$bf-gray;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
label.bf-disabled {
|
|
36
|
-
background-color: transparent;
|
|
37
|
-
border-color: transparent;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
button.bf-disabled,
|
|
41
|
-
[type='button'].bf-disabled,
|
|
42
|
-
[type='reset'].bf-disabled,
|
|
43
|
-
[type='submit'].bf-disabled,
|
|
44
|
-
.bf-btn.bf-disabled {
|
|
45
|
-
cursor: default;
|
|
46
|
-
cursor: not-allowed;
|
|
47
|
-
pointer-events: none;
|
|
48
|
-
user-select: none;
|
|
49
|
-
box-shadow: none;
|
|
50
|
-
opacity: 0.5;
|
|
51
|
-
|
|
52
|
-
color: bf-v-color.$bf-dark;
|
|
53
|
-
background: bf-v-color.$bf-gray-light;
|
|
54
|
-
|
|
55
|
-
&:hover,
|
|
56
|
-
&:active,
|
|
57
|
-
&:focus {
|
|
58
|
-
box-shadow: none;
|
|
59
|
-
color: bf-v-color.$bf-dark;
|
|
60
|
-
background: bf-v-color.$bf-gray-light;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
.bf-btn--primary.bf-disabled {
|
|
65
|
-
cursor: default;
|
|
66
|
-
cursor: not-allowed;
|
|
67
|
-
pointer-events: none;
|
|
68
|
-
user-select: none;
|
|
69
|
-
box-shadow: none;
|
|
70
|
-
opacity: 0.5;
|
|
71
|
-
|
|
72
|
-
color: bf-v-color.$bf-white;
|
|
73
|
-
background: bf-v-color.$bf-blue;
|
|
74
|
-
|
|
75
|
-
&:hover,
|
|
76
|
-
&:active,
|
|
77
|
-
&:focus {
|
|
78
|
-
box-shadow: none;
|
|
79
|
-
color: bf-v-color.$bf-white;
|
|
80
|
-
background: bf-v-color.$bf-blue;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.bf-invalid,
|
|
85
|
-
.bf-invalid:focus {
|
|
86
|
-
color: bf-v-color.$bf-red !important;
|
|
87
|
-
border-color: bf-v-color.$bf-red !important;
|
|
88
|
-
box-shadow: 0 0 0 3px rgb(255 0 0 / 25%) !important;
|
|
89
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-colors' as bf-v-color;
|
|
2
|
-
@use '../variables/variables-texts' as bf-v-text;
|
|
3
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
4
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
5
|
-
@use 'sass:color';
|
|
6
|
-
|
|
7
|
-
// standard property
|
|
8
|
-
// 'scrollbar-color'
|
|
9
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-color
|
|
10
|
-
html {
|
|
11
|
-
scrollbar-color: color.adjust(bf-v-color.$bf-gray-dark, $lightness: -5%)
|
|
12
|
-
bf-v-color.$bf-dark-extra;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
// these features are not standard, and blink and webkit only
|
|
16
|
-
// '::-webkit-scrollbar'
|
|
17
|
-
// https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar
|
|
18
|
-
|
|
19
|
-
::-webkit-scrollbar {
|
|
20
|
-
width: 1.5rem;
|
|
21
|
-
height: 1.5rem;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
::-webkit-scrollbar-track {
|
|
25
|
-
background-color: bf-v-color.$bf-dark-extra;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
::-webkit-scrollbar-thumb {
|
|
29
|
-
background-color: color.adjust(bf-v-color.$bf-gray-dark, $lightness: -5%);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
::-webkit-scrollbar-thumb:hover {
|
|
33
|
-
background-color: color.adjust(bf-v-color.$bf-gray-dark, $lightness: 10%);
|
|
34
|
-
}
|
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
@use '../variables/variables-spacing' as bf-v-space;
|
|
2
|
-
@use '../variables/variables-breakpoints' as bf-v-bp;
|
|
3
|
-
|
|
4
|
-
.bf-container,
|
|
5
|
-
.bf-container--fluid {
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
display: block;
|
|
8
|
-
margin-right: auto;
|
|
9
|
-
margin-left: auto;
|
|
10
|
-
padding-left: bf-v-space.$bf-spacing-grid-gutter-rem;
|
|
11
|
-
padding-right: bf-v-space.$bf-spacing-grid-gutter-rem;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.bf-container {
|
|
15
|
-
max-width: 114rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.bf-row {
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-wrap: wrap;
|
|
21
|
-
margin-left: calc(-1 * bf-v-space.$bf-spacing-grid-gutter-rem);
|
|
22
|
-
margin-right: calc(-1 * bf-v-space.$bf-spacing-grid-gutter-rem);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
[class^='bf-col-'] {
|
|
26
|
-
position: relative;
|
|
27
|
-
min-height: 1px;
|
|
28
|
-
padding-left: bf-v-space.$bf-spacing-grid-gutter-rem;
|
|
29
|
-
padding-right: bf-v-space.$bf-spacing-grid-gutter-rem;
|
|
30
|
-
flex-grow: 0;
|
|
31
|
-
flex-shrink: 0;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.bf-no-gutters {
|
|
35
|
-
margin-right: 0;
|
|
36
|
-
margin-left: 0;
|
|
37
|
-
> [class^='bf-col'] {
|
|
38
|
-
padding-right: 0;
|
|
39
|
-
padding-left: 0;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
// Column widths
|
|
44
|
-
.bf-col-12 {
|
|
45
|
-
flex-basis: 100%;
|
|
46
|
-
max-width: 100%;
|
|
47
|
-
}
|
|
48
|
-
.bf-col-11 {
|
|
49
|
-
flex-basis: 91.6667%;
|
|
50
|
-
max-width: 91.6667%;
|
|
51
|
-
}
|
|
52
|
-
.bf-col-10 {
|
|
53
|
-
flex-basis: 83.3333%;
|
|
54
|
-
max-width: 83.3333%;
|
|
55
|
-
}
|
|
56
|
-
.bf-col-9 {
|
|
57
|
-
flex-basis: 75%;
|
|
58
|
-
max-width: 75%;
|
|
59
|
-
}
|
|
60
|
-
.bf-col-8 {
|
|
61
|
-
flex-basis: 66.6667%;
|
|
62
|
-
max-width: 66.6667%;
|
|
63
|
-
}
|
|
64
|
-
.bf-col-7 {
|
|
65
|
-
flex-basis: 58.3333%;
|
|
66
|
-
max-width: 58.3333%;
|
|
67
|
-
}
|
|
68
|
-
.bf-col-6 {
|
|
69
|
-
flex-basis: 50%;
|
|
70
|
-
max-width: 50%;
|
|
71
|
-
}
|
|
72
|
-
.bf-col-5 {
|
|
73
|
-
flex-basis: 41.6667%;
|
|
74
|
-
max-width: 41.6667%;
|
|
75
|
-
}
|
|
76
|
-
.bf-col-4 {
|
|
77
|
-
flex-basis: 33.3333%;
|
|
78
|
-
max-width: 33.3333%;
|
|
79
|
-
}
|
|
80
|
-
.bf-col-3 {
|
|
81
|
-
flex-basis: 25%;
|
|
82
|
-
max-width: 25%;
|
|
83
|
-
}
|
|
84
|
-
.bf-col-2 {
|
|
85
|
-
flex-basis: 16.6667%;
|
|
86
|
-
max-width: 16.6667%;
|
|
87
|
-
}
|
|
88
|
-
.bf-col-1 {
|
|
89
|
-
flex-basis: 8.3333%;
|
|
90
|
-
max-width: 8.3333%;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Responsive breakpoints: stack columns
|
|
94
|
-
@media (max-width: 575px) {
|
|
95
|
-
.bf-container--break-xs .bf-row {
|
|
96
|
-
margin-left: 0;
|
|
97
|
-
margin-right: 0;
|
|
98
|
-
}
|
|
99
|
-
.bf-container--break-xs [class^='bf-col'] {
|
|
100
|
-
flex-basis: 100%;
|
|
101
|
-
max-width: 100%;
|
|
102
|
-
margin-left: 0;
|
|
103
|
-
padding-left: 0;
|
|
104
|
-
padding-right: 0;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
@media (max-width: 767px) {
|
|
109
|
-
.bf-container--break-md .bf-row {
|
|
110
|
-
margin-left: 0;
|
|
111
|
-
margin-right: 0;
|
|
112
|
-
}
|
|
113
|
-
.bf-container--break-md [class^='bf-col'] {
|
|
114
|
-
flex-basis: 100%;
|
|
115
|
-
max-width: 100%;
|
|
116
|
-
margin-left: 0;
|
|
117
|
-
padding-left: 0;
|
|
118
|
-
padding-right: 0;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
@media (max-width: 991px) {
|
|
123
|
-
.bf-container--break-lg .bf-row {
|
|
124
|
-
margin-left: 0;
|
|
125
|
-
margin-right: 0;
|
|
126
|
-
}
|
|
127
|
-
.bf-container--break-lg [class^='bf-col'] {
|
|
128
|
-
flex-basis: 100%;
|
|
129
|
-
max-width: 100%;
|
|
130
|
-
margin-left: 0;
|
|
131
|
-
padding-left: 0;
|
|
132
|
-
padding-right: 0;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
// Table fix (not needed for flexbox, but kept for compatibility with Bullframe v4.x)
|
|
137
|
-
table td[class^='bf-col'],
|
|
138
|
-
table th[class^='bf-col'] {
|
|
139
|
-
position: static;
|
|
140
|
-
}
|