@rhavenside/baseline-ui 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.
- package/CHANGELOG.md +35 -0
- package/LICENSE +22 -0
- package/README.md +272 -0
- package/dist/.gitkeep +0 -0
- package/dist/baseline.css +4811 -0
- package/dist/baseline.css.map +1 -0
- package/dist/baseline.min.css +1 -0
- package/package.json +59 -0
- package/src/base/_base.scss +182 -0
- package/src/base/_normalize.scss +186 -0
- package/src/base/_reset.scss +24 -0
- package/src/baseline.scss +48 -0
- package/src/components/_alert.scss +97 -0
- package/src/components/_badge.scss +105 -0
- package/src/components/_button.scss +200 -0
- package/src/components/_card.scss +94 -0
- package/src/components/_dropdown.scss +111 -0
- package/src/components/_form.scss +324 -0
- package/src/components/_modal.scss +157 -0
- package/src/components/_nav.scss +211 -0
- package/src/components/_progress.scss +65 -0
- package/src/components/_spinner.scss +118 -0
- package/src/components/_table.scss +182 -0
- package/src/components/_tooltip.scss +134 -0
- package/src/fonts/.gitkeep +4 -0
- package/src/icons/_icons.scss +150 -0
- package/src/layout/_container.scss +45 -0
- package/src/layout/_flex.scss +174 -0
- package/src/layout/_grid-modern.scss +128 -0
- package/src/layout/_grid.scss +123 -0
- package/src/themes/_dark.scss +122 -0
- package/src/themes/_light.scss +7 -0
- package/src/tokens/_borders.scss +36 -0
- package/src/tokens/_colors.scss +136 -0
- package/src/tokens/_forms.scss +170 -0
- package/src/tokens/_glassmorphism.scss +60 -0
- package/src/tokens/_shadows.scss +24 -0
- package/src/tokens/_spacing.scss +31 -0
- package/src/tokens/_tokens.scss +14 -0
- package/src/tokens/_transitions.scss +42 -0
- package/src/tokens/_typography.scss +89 -0
- package/src/tokens/_z-index.scss +26 -0
- package/src/utilities/_accessibility.scss +76 -0
- package/src/utilities/_animations.scss +177 -0
- package/src/utilities/_display.scss +89 -0
- package/src/utilities/_position.scss +105 -0
- package/src/utilities/_spacing.scss +87 -0
- package/src/utilities/_text.scss +255 -0
- package/src/utilities/_visibility.scss +74 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Spacing Tokens
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
// Base spacing unit: 4px (0.25rem)
|
|
6
|
+
$spacing-base: 0.25rem; // 4px
|
|
7
|
+
|
|
8
|
+
// Spacing scale (8px base system)
|
|
9
|
+
$spacing-xs: 0.25rem; // 4px
|
|
10
|
+
$spacing-sm: 0.5rem; // 8px
|
|
11
|
+
$spacing-md: 1rem; // 16px
|
|
12
|
+
$spacing-lg: 1.5rem; // 24px
|
|
13
|
+
$spacing-xl: 2rem; // 32px
|
|
14
|
+
$spacing-2xl: 3rem; // 48px
|
|
15
|
+
$spacing-3xl: 4rem; // 64px
|
|
16
|
+
$spacing-4xl: 6rem; // 96px
|
|
17
|
+
$spacing-5xl: 8rem; // 128px
|
|
18
|
+
|
|
19
|
+
// Export as CSS Custom Properties
|
|
20
|
+
:root {
|
|
21
|
+
--spacing-xs: #{$spacing-xs};
|
|
22
|
+
--spacing-sm: #{$spacing-sm};
|
|
23
|
+
--spacing-md: #{$spacing-md};
|
|
24
|
+
--spacing-lg: #{$spacing-lg};
|
|
25
|
+
--spacing-xl: #{$spacing-xl};
|
|
26
|
+
--spacing-2xl: #{$spacing-2xl};
|
|
27
|
+
--spacing-3xl: #{$spacing-3xl};
|
|
28
|
+
--spacing-4xl: #{$spacing-4xl};
|
|
29
|
+
--spacing-5xl: #{$spacing-5xl};
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Design Tokens - Main Export
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
@forward 'colors';
|
|
6
|
+
@forward 'spacing';
|
|
7
|
+
@forward 'typography';
|
|
8
|
+
@forward 'borders';
|
|
9
|
+
@forward 'shadows';
|
|
10
|
+
@forward 'z-index';
|
|
11
|
+
@forward 'transitions';
|
|
12
|
+
@forward 'forms';
|
|
13
|
+
@forward 'glassmorphism';
|
|
14
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Transition Tokens (Mechanical, Linear)
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
// Transition Durations (shorter, mechanical)
|
|
6
|
+
$transition-duration-fast: 100ms;
|
|
7
|
+
$transition-duration-base: 150ms;
|
|
8
|
+
$transition-duration-slow: 200ms;
|
|
9
|
+
$transition-duration-slower: 300ms;
|
|
10
|
+
|
|
11
|
+
// Transition Timing Functions (all linear - mechanical)
|
|
12
|
+
$transition-ease-linear: linear;
|
|
13
|
+
$transition-ease-in: linear;
|
|
14
|
+
$transition-ease-out: linear;
|
|
15
|
+
$transition-ease-in-out: linear;
|
|
16
|
+
|
|
17
|
+
// Common Transitions (all linear)
|
|
18
|
+
$transition-base: all $transition-duration-base $transition-ease-linear;
|
|
19
|
+
$transition-colors: color $transition-duration-base $transition-ease-linear, background-color $transition-duration-base $transition-ease-linear, border-color $transition-duration-base $transition-ease-linear;
|
|
20
|
+
$transition-opacity: opacity $transition-duration-base $transition-ease-linear;
|
|
21
|
+
$transition-transform: transform $transition-duration-base $transition-ease-linear;
|
|
22
|
+
|
|
23
|
+
// Export as CSS Custom Properties
|
|
24
|
+
:root {
|
|
25
|
+
// Durations
|
|
26
|
+
--transition-duration-fast: #{$transition-duration-fast};
|
|
27
|
+
--transition-duration-base: #{$transition-duration-base};
|
|
28
|
+
--transition-duration-slow: #{$transition-duration-slow};
|
|
29
|
+
--transition-duration-slower: #{$transition-duration-slower};
|
|
30
|
+
|
|
31
|
+
// Timing Functions (all linear)
|
|
32
|
+
--transition-ease-linear: #{$transition-ease-linear};
|
|
33
|
+
--transition-ease-in: #{$transition-ease-in};
|
|
34
|
+
--transition-ease-out: #{$transition-ease-out};
|
|
35
|
+
--transition-ease-in-out: #{$transition-ease-in-out};
|
|
36
|
+
|
|
37
|
+
// Common Transitions
|
|
38
|
+
--transition-base: #{$transition-base};
|
|
39
|
+
--transition-colors: #{$transition-colors};
|
|
40
|
+
--transition-opacity: #{$transition-opacity};
|
|
41
|
+
--transition-transform: #{$transition-transform};
|
|
42
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Typography Tokens
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
// Font Families
|
|
6
|
+
$font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
7
|
+
$font-family-mono: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Liberation Mono", "Courier New", monospace;
|
|
8
|
+
$font-family-serif: Georgia, "Times New Roman", Times, serif;
|
|
9
|
+
|
|
10
|
+
// Font Sizes (Modular Scale: 1.125, 1.25, 1.5, 1.875, 2.25)
|
|
11
|
+
$font-size-xs: 0.75rem; // 12px
|
|
12
|
+
$font-size-sm: 0.875rem; // 14px
|
|
13
|
+
$font-size-base: 1rem; // 16px
|
|
14
|
+
$font-size-lg: 1.125rem; // 18px
|
|
15
|
+
$font-size-xl: 1.25rem; // 20px
|
|
16
|
+
$font-size-2xl: 1.5rem; // 24px
|
|
17
|
+
$font-size-3xl: 1.875rem; // 30px
|
|
18
|
+
$font-size-4xl: 2.25rem; // 36px
|
|
19
|
+
$font-size-5xl: 3rem; // 48px
|
|
20
|
+
$font-size-6xl: 3.75rem; // 60px
|
|
21
|
+
|
|
22
|
+
// Line Heights
|
|
23
|
+
$line-height-none: 1;
|
|
24
|
+
$line-height-tight: 1.25;
|
|
25
|
+
$line-height-snug: 1.375;
|
|
26
|
+
$line-height-base: 1.5;
|
|
27
|
+
$line-height-relaxed: 1.75;
|
|
28
|
+
$line-height-loose: 2;
|
|
29
|
+
|
|
30
|
+
// Font Weights
|
|
31
|
+
$font-weight-light: 300;
|
|
32
|
+
$font-weight-normal: 400;
|
|
33
|
+
$font-weight-medium: 500;
|
|
34
|
+
$font-weight-semibold: 600;
|
|
35
|
+
$font-weight-bold: 700;
|
|
36
|
+
$font-weight-extrabold: 800;
|
|
37
|
+
|
|
38
|
+
// Letter Spacing
|
|
39
|
+
$letter-spacing-tighter: -0.05em;
|
|
40
|
+
$letter-spacing-tight: -0.025em;
|
|
41
|
+
$letter-spacing-normal: 0;
|
|
42
|
+
$letter-spacing-wide: 0.025em;
|
|
43
|
+
$letter-spacing-wider: 0.05em;
|
|
44
|
+
$letter-spacing-widest: 0.1em;
|
|
45
|
+
|
|
46
|
+
// Export as CSS Custom Properties
|
|
47
|
+
:root {
|
|
48
|
+
// Font Families
|
|
49
|
+
--font-family-base: #{$font-family-base};
|
|
50
|
+
--font-family-mono: #{$font-family-mono};
|
|
51
|
+
--font-family-serif: #{$font-family-serif};
|
|
52
|
+
|
|
53
|
+
// Font Sizes
|
|
54
|
+
--font-size-xs: #{$font-size-xs};
|
|
55
|
+
--font-size-sm: #{$font-size-sm};
|
|
56
|
+
--font-size-base: #{$font-size-base};
|
|
57
|
+
--font-size-lg: #{$font-size-lg};
|
|
58
|
+
--font-size-xl: #{$font-size-xl};
|
|
59
|
+
--font-size-2xl: #{$font-size-2xl};
|
|
60
|
+
--font-size-3xl: #{$font-size-3xl};
|
|
61
|
+
--font-size-4xl: #{$font-size-4xl};
|
|
62
|
+
--font-size-5xl: #{$font-size-5xl};
|
|
63
|
+
--font-size-6xl: #{$font-size-6xl};
|
|
64
|
+
|
|
65
|
+
// Line Heights
|
|
66
|
+
--line-height-none: #{$line-height-none};
|
|
67
|
+
--line-height-tight: #{$line-height-tight};
|
|
68
|
+
--line-height-snug: #{$line-height-snug};
|
|
69
|
+
--line-height-base: #{$line-height-base};
|
|
70
|
+
--line-height-relaxed: #{$line-height-relaxed};
|
|
71
|
+
--line-height-loose: #{$line-height-loose};
|
|
72
|
+
|
|
73
|
+
// Font Weights
|
|
74
|
+
--font-weight-light: #{$font-weight-light};
|
|
75
|
+
--font-weight-normal: #{$font-weight-normal};
|
|
76
|
+
--font-weight-medium: #{$font-weight-medium};
|
|
77
|
+
--font-weight-semibold: #{$font-weight-semibold};
|
|
78
|
+
--font-weight-bold: #{$font-weight-bold};
|
|
79
|
+
--font-weight-extrabold: #{$font-weight-extrabold};
|
|
80
|
+
|
|
81
|
+
// Letter Spacing
|
|
82
|
+
--letter-spacing-tighter: #{$letter-spacing-tighter};
|
|
83
|
+
--letter-spacing-tight: #{$letter-spacing-tight};
|
|
84
|
+
--letter-spacing-normal: #{$letter-spacing-normal};
|
|
85
|
+
--letter-spacing-wide: #{$letter-spacing-wide};
|
|
86
|
+
--letter-spacing-wider: #{$letter-spacing-wider};
|
|
87
|
+
--letter-spacing-widest: #{$letter-spacing-widest};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Z-Index Tokens (Layer System)
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
// Z-Index Layers
|
|
6
|
+
$z-index-base: 0;
|
|
7
|
+
$z-index-dropdown: 1000;
|
|
8
|
+
$z-index-sticky: 1020;
|
|
9
|
+
$z-index-fixed: 1030;
|
|
10
|
+
$z-index-modal-backdrop: 1040;
|
|
11
|
+
$z-index-modal: 1050;
|
|
12
|
+
$z-index-popover: 1060;
|
|
13
|
+
$z-index-tooltip: 1070;
|
|
14
|
+
|
|
15
|
+
// Export as CSS Custom Properties
|
|
16
|
+
:root {
|
|
17
|
+
--z-index-base: #{$z-index-base};
|
|
18
|
+
--z-index-dropdown: #{$z-index-dropdown};
|
|
19
|
+
--z-index-sticky: #{$z-index-sticky};
|
|
20
|
+
--z-index-fixed: #{$z-index-fixed};
|
|
21
|
+
--z-index-modal-backdrop: #{$z-index-modal-backdrop};
|
|
22
|
+
--z-index-modal: #{$z-index-modal};
|
|
23
|
+
--z-index-popover: #{$z-index-popover};
|
|
24
|
+
--z-index-tooltip: #{$z-index-tooltip};
|
|
25
|
+
}
|
|
26
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Accessibility Utilities
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
// Screen Reader Only
|
|
6
|
+
.bl-sr-only {
|
|
7
|
+
position: absolute;
|
|
8
|
+
width: 1px;
|
|
9
|
+
height: 1px;
|
|
10
|
+
padding: 0;
|
|
11
|
+
margin: -1px;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
clip: rect(0, 0, 0, 0);
|
|
14
|
+
white-space: nowrap;
|
|
15
|
+
border-width: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bl-sr-only-focusable:focus {
|
|
19
|
+
position: static;
|
|
20
|
+
width: auto;
|
|
21
|
+
height: auto;
|
|
22
|
+
padding: inherit;
|
|
23
|
+
margin: inherit;
|
|
24
|
+
overflow: visible;
|
|
25
|
+
clip: auto;
|
|
26
|
+
white-space: normal;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Skip Link
|
|
30
|
+
.bl-skip-link {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: -40px;
|
|
33
|
+
left: 0;
|
|
34
|
+
z-index: var(--z-index-tooltip);
|
|
35
|
+
padding: var(--spacing-sm) var(--spacing-md);
|
|
36
|
+
background-color: var(--color-primary);
|
|
37
|
+
color: var(--color-text-inverse);
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
border-radius: var(--border-radius-md);
|
|
40
|
+
|
|
41
|
+
&:focus {
|
|
42
|
+
top: var(--spacing-sm);
|
|
43
|
+
outline: 2px solid var(--color-border-focus);
|
|
44
|
+
outline-offset: 2px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
// Focus Visible (for keyboard navigation)
|
|
49
|
+
.bl-focus-visible:focus-visible {
|
|
50
|
+
outline: 2px solid var(--color-border-focus);
|
|
51
|
+
outline-offset: 2px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
// High Contrast Mode Support
|
|
55
|
+
@media (prefers-contrast: high) {
|
|
56
|
+
* {
|
|
57
|
+
border-color: currentColor !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.bl-skip-link {
|
|
61
|
+
border: 2px solid currentColor;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// Reduced Motion
|
|
66
|
+
@media (prefers-reduced-motion: reduce) {
|
|
67
|
+
*,
|
|
68
|
+
*::before,
|
|
69
|
+
*::after {
|
|
70
|
+
animation-duration: 0.01ms !important;
|
|
71
|
+
animation-iteration-count: 1 !important;
|
|
72
|
+
transition-duration: 0.01ms !important;
|
|
73
|
+
scroll-behavior: auto !important;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Animation Utilities
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
@use '../tokens/tokens' as *;
|
|
6
|
+
|
|
7
|
+
// Transition
|
|
8
|
+
.bl-transition {
|
|
9
|
+
transition: var(--transition-base);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.bl-transition-colors {
|
|
13
|
+
transition: var(--transition-colors);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.bl-transition-opacity {
|
|
17
|
+
transition: var(--transition-opacity);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.bl-transition-transform {
|
|
21
|
+
transition: var(--transition-transform);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.bl-transition-none {
|
|
25
|
+
transition: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
// Duration
|
|
29
|
+
.bl-duration-fast {
|
|
30
|
+
transition-duration: var(--transition-duration-fast);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bl-duration-base {
|
|
34
|
+
transition-duration: var(--transition-duration-base);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.bl-duration-slow {
|
|
38
|
+
transition-duration: var(--transition-duration-slow);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.bl-duration-slower {
|
|
42
|
+
transition-duration: var(--transition-duration-slower);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
// Easing
|
|
46
|
+
.bl-ease-linear {
|
|
47
|
+
transition-timing-function: var(--transition-ease-linear);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bl-ease-in {
|
|
51
|
+
transition-timing-function: var(--transition-ease-in);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bl-ease-out {
|
|
55
|
+
transition-timing-function: var(--transition-ease-out);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.bl-ease-in-out {
|
|
59
|
+
transition-timing-function: var(--transition-ease-in-out);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
// Fade Animations
|
|
63
|
+
@keyframes bl-fade-in {
|
|
64
|
+
from {
|
|
65
|
+
opacity: 0;
|
|
66
|
+
}
|
|
67
|
+
to {
|
|
68
|
+
opacity: 1;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@keyframes bl-fade-out {
|
|
73
|
+
from {
|
|
74
|
+
opacity: 1;
|
|
75
|
+
}
|
|
76
|
+
to {
|
|
77
|
+
opacity: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.bl-fade-in {
|
|
82
|
+
animation: bl-fade-in var(--transition-duration-base) var(--transition-ease-out);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.bl-fade-out {
|
|
86
|
+
animation: bl-fade-out var(--transition-duration-base) var(--transition-ease-out);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
// Slide Animations
|
|
90
|
+
@keyframes bl-slide-up {
|
|
91
|
+
from {
|
|
92
|
+
transform: translateY(100%);
|
|
93
|
+
opacity: 0;
|
|
94
|
+
}
|
|
95
|
+
to {
|
|
96
|
+
transform: translateY(0);
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
@keyframes bl-slide-down {
|
|
102
|
+
from {
|
|
103
|
+
transform: translateY(-100%);
|
|
104
|
+
opacity: 0;
|
|
105
|
+
}
|
|
106
|
+
to {
|
|
107
|
+
transform: translateY(0);
|
|
108
|
+
opacity: 1;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@keyframes bl-slide-left {
|
|
113
|
+
from {
|
|
114
|
+
transform: translateX(100%);
|
|
115
|
+
opacity: 0;
|
|
116
|
+
}
|
|
117
|
+
to {
|
|
118
|
+
transform: translateX(0);
|
|
119
|
+
opacity: 1;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
@keyframes bl-slide-right {
|
|
124
|
+
from {
|
|
125
|
+
transform: translateX(-100%);
|
|
126
|
+
opacity: 0;
|
|
127
|
+
}
|
|
128
|
+
to {
|
|
129
|
+
transform: translateX(0);
|
|
130
|
+
opacity: 1;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.bl-slide-up {
|
|
135
|
+
animation: bl-slide-up var(--transition-duration-base) var(--transition-ease-out);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.bl-slide-down {
|
|
139
|
+
animation: bl-slide-down var(--transition-duration-base) var(--transition-ease-out);
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.bl-slide-left {
|
|
143
|
+
animation: bl-slide-left var(--transition-duration-base) var(--transition-ease-out);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bl-slide-right {
|
|
147
|
+
animation: bl-slide-right var(--transition-duration-base) var(--transition-ease-out);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// Spin Animation
|
|
151
|
+
@keyframes bl-spin {
|
|
152
|
+
from {
|
|
153
|
+
transform: rotate(0deg);
|
|
154
|
+
}
|
|
155
|
+
to {
|
|
156
|
+
transform: rotate(360deg);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.bl-animate-spin {
|
|
161
|
+
animation: bl-spin 1s linear infinite;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
// Pulse Animation
|
|
165
|
+
@keyframes bl-pulse {
|
|
166
|
+
0%, 100% {
|
|
167
|
+
opacity: 1;
|
|
168
|
+
}
|
|
169
|
+
50% {
|
|
170
|
+
opacity: 0.5;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.bl-animate-pulse {
|
|
175
|
+
animation: bl-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
176
|
+
}
|
|
177
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Display Utilities
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
.bl-d-none {
|
|
6
|
+
display: none;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bl-d-inline {
|
|
10
|
+
display: inline;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.bl-d-inline-block {
|
|
14
|
+
display: inline-block;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bl-d-block {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bl-d-table {
|
|
22
|
+
display: table;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.bl-d-table-row {
|
|
26
|
+
display: table-row;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.bl-d-table-cell {
|
|
30
|
+
display: table-cell;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.bl-d-flex {
|
|
34
|
+
display: flex;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.bl-d-inline-flex {
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.bl-d-grid {
|
|
42
|
+
display: grid;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.bl-d-inline-grid {
|
|
46
|
+
display: inline-grid;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// Responsive Display Utilities
|
|
50
|
+
@media (min-width: 640px) {
|
|
51
|
+
.bl-d-sm-none { display: none; }
|
|
52
|
+
.bl-d-sm-inline { display: inline; }
|
|
53
|
+
.bl-d-sm-inline-block { display: inline-block; }
|
|
54
|
+
.bl-d-sm-block { display: block; }
|
|
55
|
+
.bl-d-sm-flex { display: flex; }
|
|
56
|
+
.bl-d-sm-inline-flex { display: inline-flex; }
|
|
57
|
+
.bl-d-sm-grid { display: grid; }
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@media (min-width: 768px) {
|
|
61
|
+
.bl-d-md-none { display: none; }
|
|
62
|
+
.bl-d-md-inline { display: inline; }
|
|
63
|
+
.bl-d-md-inline-block { display: inline-block; }
|
|
64
|
+
.bl-d-md-block { display: block; }
|
|
65
|
+
.bl-d-md-flex { display: flex; }
|
|
66
|
+
.bl-d-md-inline-flex { display: inline-flex; }
|
|
67
|
+
.bl-d-md-grid { display: grid; }
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (min-width: 1024px) {
|
|
71
|
+
.bl-d-lg-none { display: none; }
|
|
72
|
+
.bl-d-lg-inline { display: inline; }
|
|
73
|
+
.bl-d-lg-inline-block { display: inline-block; }
|
|
74
|
+
.bl-d-lg-block { display: block; }
|
|
75
|
+
.bl-d-lg-flex { display: flex; }
|
|
76
|
+
.bl-d-lg-inline-flex { display: inline-flex; }
|
|
77
|
+
.bl-d-lg-grid { display: grid; }
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@media (min-width: 1280px) {
|
|
81
|
+
.bl-d-xl-none { display: none; }
|
|
82
|
+
.bl-d-xl-inline { display: inline; }
|
|
83
|
+
.bl-d-xl-inline-block { display: inline-block; }
|
|
84
|
+
.bl-d-xl-block { display: block; }
|
|
85
|
+
.bl-d-xl-flex { display: flex; }
|
|
86
|
+
.bl-d-xl-inline-flex { display: inline-flex; }
|
|
87
|
+
.bl-d-xl-grid { display: grid; }
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
// ============================================================================
|
|
2
|
+
// Position Utilities
|
|
3
|
+
// ============================================================================
|
|
4
|
+
|
|
5
|
+
.bl-static {
|
|
6
|
+
position: static;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bl-fixed {
|
|
10
|
+
position: fixed;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.bl-absolute {
|
|
14
|
+
position: absolute;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.bl-relative {
|
|
18
|
+
position: relative;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.bl-sticky {
|
|
22
|
+
position: sticky;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Top, Right, Bottom, Left
|
|
26
|
+
.bl-top-0 {
|
|
27
|
+
top: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.bl-right-0 {
|
|
31
|
+
right: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.bl-bottom-0 {
|
|
35
|
+
bottom: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.bl-left-0 {
|
|
39
|
+
left: 0;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.bl-top-auto {
|
|
43
|
+
top: auto;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.bl-right-auto {
|
|
47
|
+
right: auto;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.bl-bottom-auto {
|
|
51
|
+
bottom: auto;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.bl-left-auto {
|
|
55
|
+
left: auto;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
// Insets
|
|
59
|
+
.bl-inset-0 {
|
|
60
|
+
top: 0;
|
|
61
|
+
right: 0;
|
|
62
|
+
bottom: 0;
|
|
63
|
+
left: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.bl-inset-auto {
|
|
67
|
+
top: auto;
|
|
68
|
+
right: auto;
|
|
69
|
+
bottom: auto;
|
|
70
|
+
left: auto;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Z-Index
|
|
74
|
+
.bl-z-0 {
|
|
75
|
+
z-index: var(--z-index-base);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.bl-z-dropdown {
|
|
79
|
+
z-index: var(--z-index-dropdown);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.bl-z-sticky {
|
|
83
|
+
z-index: var(--z-index-sticky);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.bl-z-fixed {
|
|
87
|
+
z-index: var(--z-index-fixed);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.bl-z-modal-backdrop {
|
|
91
|
+
z-index: var(--z-index-modal-backdrop);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.bl-z-modal {
|
|
95
|
+
z-index: var(--z-index-modal);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.bl-z-popover {
|
|
99
|
+
z-index: var(--z-index-popover);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.bl-z-tooltip {
|
|
103
|
+
z-index: var(--z-index-tooltip);
|
|
104
|
+
}
|
|
105
|
+
|