@unifiedsoftware/styles 2.0.1-beta.9 → 2.0.3
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/css/fci.css +295 -9
- package/css/fci.min.css +1 -1
- package/css/styles.css +501 -11
- package/css/styles.min.css +1 -1
- package/package.json +1 -1
- package/scss/_utilities.scss +5 -1
- package/scss/components/_dropdown.scss +213 -0
- package/scss/components/_index.scss +7 -1
- package/scss/components/_list.scss +11 -9
- package/scss/components/_navigation-menu-grid.scss +23 -0
- package/scss/components/_navigation-menu-group.scss +25 -0
- package/scss/components/_navigation-menu-item.scss +154 -0
- package/scss/components/_navigation-menu-separator.scss +8 -0
- package/scss/components/_navigation-menu.scss +184 -0
- package/scss/themes/centurion/_index.scss +3 -0
- package/scss/themes/centurion/_tokens.scss +56 -0
- package/scss/themes/centurion/components/_accordion.scss +235 -0
- package/scss/themes/centurion/components/_badge.scss +41 -0
- package/scss/themes/centurion/components/_breadcrumb.scss +0 -0
- package/scss/themes/centurion/components/_button.scss +367 -0
- package/scss/themes/centurion/components/_card.scss +195 -0
- package/scss/themes/centurion/components/_checkbox.scss +136 -0
- package/scss/themes/centurion/components/_chip.scss +192 -0
- package/scss/themes/centurion/components/_descriptions.scss +51 -0
- package/scss/themes/centurion/components/_drawer.scss +66 -0
- package/scss/themes/centurion/components/_icon.scss +50 -0
- package/scss/themes/centurion/components/_index.scss +31 -0
- package/scss/themes/centurion/components/_input.scss +278 -0
- package/scss/themes/centurion/components/_list.scss +118 -0
- package/scss/themes/centurion/components/_menu.scss +65 -0
- package/scss/themes/centurion/components/_modal.scss +76 -0
- package/scss/themes/centurion/components/_nav-rail.scss +65 -0
- package/scss/themes/centurion/components/_radio.scss +133 -0
- package/scss/themes/centurion/components/_result.scss +106 -0
- package/scss/themes/centurion/components/_steps.scss +79 -0
- package/scss/themes/centurion/components/_swipe.scss +6 -0
- package/scss/themes/centurion/components/_switch.scss +116 -0
- package/scss/themes/centurion/components/_tabs.scss +165 -0
- package/scss/themes/centurion/components/_toolbar.scss +73 -0
- package/scss/themes/fci/components/_dropdown.scss +126 -0
- package/scss/themes/fci/components/_index.scss +9 -1
- package/scss/themes/fci/components/_modal.scss +9 -9
- package/scss/themes/fci/components/_navigation-menu-grid.scss +7 -0
- package/scss/themes/fci/components/_navigation-menu-group.scss +16 -0
- package/scss/themes/fci/components/_navigation-menu-item.scss +148 -0
- package/scss/themes/fci/components/_navigation-menu-separator.scss +8 -0
- package/scss/themes/fci/components/_navigation-menu.scss +19 -0
- package/scss/themes/fci/components/_tabs.scss +50 -0
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
@use '../../../variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}theme-fci {
|
|
4
|
+
.#{$prefix}dropdown-item {
|
|
5
|
+
--#{$prefix}dropdown-item-border-radius: 0.375rem;
|
|
6
|
+
|
|
7
|
+
& > .#{$prefix}overlay {
|
|
8
|
+
--#{$prefix}overlay-color: inherit;
|
|
9
|
+
--#{$prefix}overlay-opacity: 0;
|
|
10
|
+
--#{$prefix}_hover-overlay-color: inherit;
|
|
11
|
+
--#{$prefix}_hover-overlay-opacity: 0.06;
|
|
12
|
+
--#{$prefix}_active-overlay-opacity: 0.1;
|
|
13
|
+
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&[data-highlighted] > .#{$prefix}overlay {
|
|
17
|
+
--#{$prefix}overlay-opacity: 0.08;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&--selected {
|
|
21
|
+
--#{$prefix}dropdown-item-selected-color: var(--#{$prefix}primary-color);
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
|
|
24
|
+
& > .#{$prefix}overlay {
|
|
25
|
+
--#{$prefix}overlay-color: var(--#{$prefix}primary-color);
|
|
26
|
+
--#{$prefix}overlay-opacity: 0.1;
|
|
27
|
+
--#{$prefix}_hover-overlay-color: var(--#{$prefix}primary-color);
|
|
28
|
+
--#{$prefix}_hover-overlay-opacity: 0.14;
|
|
29
|
+
--#{$prefix}_active-overlay-color: var(--#{$prefix}primary-color);
|
|
30
|
+
--#{$prefix}_active-overlay-opacity: 0.18;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Override data-highlighted when selected
|
|
34
|
+
&[data-highlighted] > .#{$prefix}overlay {
|
|
35
|
+
--#{$prefix}overlay-color: var(--#{$prefix}primary-color);
|
|
36
|
+
--#{$prefix}overlay-opacity: 0.14;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&--disabled > .#{$prefix}overlay {
|
|
41
|
+
--#{$prefix}overlay-opacity: 0;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.#{$prefix}dropdown-submenu-trigger {
|
|
46
|
+
& > .#{$prefix}overlay {
|
|
47
|
+
--#{$prefix}overlay-color: inherit;
|
|
48
|
+
--#{$prefix}overlay-opacity: 0;
|
|
49
|
+
--#{$prefix}_hover-overlay-color: inherit;
|
|
50
|
+
--#{$prefix}_hover-overlay-opacity: 0.06;
|
|
51
|
+
--#{$prefix}_active-overlay-opacity: 0.1;
|
|
52
|
+
transition: opacity 150ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&[data-highlighted] > .#{$prefix}overlay {
|
|
56
|
+
--#{$prefix}overlay-opacity: 0.08;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&[data-popup-open] > .#{$prefix}overlay {
|
|
60
|
+
--#{$prefix}overlay-opacity: 0.06;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Size variants - sm (Compact)
|
|
65
|
+
.#{$prefix}dropdown--sm .#{$prefix}dropdown-item {
|
|
66
|
+
--#{$prefix}dropdown-item-padding-block: 0.25rem; // 4px
|
|
67
|
+
--#{$prefix}dropdown-item-padding-left: 0.375rem; // 6px
|
|
68
|
+
--#{$prefix}dropdown-item-padding-right: 1.25rem; // 20px
|
|
69
|
+
--#{$prefix}dropdown-item-font-size: 0.6875rem; // 11px
|
|
70
|
+
--#{$prefix}dropdown-item-line-height: 0.875rem; // 14px
|
|
71
|
+
--#{$prefix}dropdown-item-gap: 0.375rem; // 6px
|
|
72
|
+
|
|
73
|
+
--#{$prefix}dropdown-item-title-font-size: 0.6875rem; // 11px
|
|
74
|
+
--#{$prefix}dropdown-item-title-line-height: 0.8125rem; // 13px (was 14px)
|
|
75
|
+
--#{$prefix}dropdown-item-subtitle-font-size: 0.625rem; // 10px
|
|
76
|
+
--#{$prefix}dropdown-item-subtitle-line-height: 0.6875rem; // 11px (was 12px)
|
|
77
|
+
--#{$prefix}dropdown-item-description-font-size: 0.5625rem; // 9px
|
|
78
|
+
--#{$prefix}dropdown-item-description-line-height: 0.625rem; // 10px (was 11px)
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.#{$prefix}dropdown--sm .#{$prefix}dropdown-item .#{$prefix}icon {
|
|
82
|
+
--#{$prefix}icon-font-size: 14px;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Size variants - md (Default)
|
|
86
|
+
.#{$prefix}dropdown--md .#{$prefix}dropdown-item {
|
|
87
|
+
--#{$prefix}dropdown-item-padding-block: 0.375rem; // 6px (increased for better spacing)
|
|
88
|
+
--#{$prefix}dropdown-item-padding-left: 0.5rem; // 8px
|
|
89
|
+
--#{$prefix}dropdown-item-padding-right: 1.5rem; // 24px
|
|
90
|
+
--#{$prefix}dropdown-item-font-size: 0.75rem; // 12px
|
|
91
|
+
--#{$prefix}dropdown-item-line-height: 1rem; // 16px
|
|
92
|
+
--#{$prefix}dropdown-item-gap: 0.5rem; // 8px
|
|
93
|
+
|
|
94
|
+
--#{$prefix}dropdown-item-title-font-size: 0.75rem; // 12px
|
|
95
|
+
--#{$prefix}dropdown-item-title-line-height: 0.9375rem; // 15px (was 16px)
|
|
96
|
+
--#{$prefix}dropdown-item-subtitle-font-size: 0.6875rem; // 11px
|
|
97
|
+
--#{$prefix}dropdown-item-subtitle-line-height: 0.8125rem; // 13px (was 14px)
|
|
98
|
+
--#{$prefix}dropdown-item-description-font-size: 0.625rem; // 10px
|
|
99
|
+
--#{$prefix}dropdown-item-description-line-height: 0.6875rem; // 11px (was 12px)
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.#{$prefix}dropdown--md .#{$prefix}dropdown-item .#{$prefix}icon {
|
|
103
|
+
--#{$prefix}icon-font-size: 16px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// Size variants - lg (Spacious)
|
|
107
|
+
.#{$prefix}dropdown--lg .#{$prefix}dropdown-item {
|
|
108
|
+
--#{$prefix}dropdown-item-padding-block: 0.5rem; // 8px (increased for proportional consistency)
|
|
109
|
+
--#{$prefix}dropdown-item-padding-left: 0.75rem; // 12px
|
|
110
|
+
--#{$prefix}dropdown-item-padding-right: 2rem; // 32px
|
|
111
|
+
--#{$prefix}dropdown-item-font-size: 0.875rem; // 14px
|
|
112
|
+
--#{$prefix}dropdown-item-line-height: 1.125rem; // 18px
|
|
113
|
+
--#{$prefix}dropdown-item-gap: 0.625rem; // 10px
|
|
114
|
+
|
|
115
|
+
--#{$prefix}dropdown-item-title-font-size: 0.875rem; // 14px
|
|
116
|
+
--#{$prefix}dropdown-item-title-line-height: 1.0625rem; // 17px (was 18px)
|
|
117
|
+
--#{$prefix}dropdown-item-subtitle-font-size: 0.75rem; // 12px
|
|
118
|
+
--#{$prefix}dropdown-item-subtitle-line-height: 0.9375rem; // 15px (was 16px)
|
|
119
|
+
--#{$prefix}dropdown-item-description-font-size: 0.6875rem; // 11px
|
|
120
|
+
--#{$prefix}dropdown-item-description-line-height: 0.8125rem; // 13px (was 14px)
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.#{$prefix}dropdown--lg .#{$prefix}dropdown-item .#{$prefix}icon {
|
|
124
|
+
--#{$prefix}icon-font-size: 18px;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
@use 'toolbar';
|
|
4
4
|
|
|
5
|
+
@use 'dropdown';
|
|
6
|
+
|
|
5
7
|
@use 'icon';
|
|
6
8
|
@use 'badge';
|
|
7
9
|
|
|
@@ -17,7 +19,13 @@
|
|
|
17
19
|
|
|
18
20
|
@use 'list';
|
|
19
21
|
@use 'menu';
|
|
20
|
-
@use '
|
|
22
|
+
@use 'navigation-menu';
|
|
23
|
+
@use 'navigation-menu-item';
|
|
24
|
+
@use 'navigation-menu-group';
|
|
25
|
+
@use 'navigation-menu-separator';
|
|
26
|
+
@use 'navigation-menu-grid';
|
|
27
|
+
|
|
28
|
+
@use 'breadcrumb';
|
|
21
29
|
@use 'tabs';
|
|
22
30
|
|
|
23
31
|
@use 'card';
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
--#{$prefix}modal-header-subtitle-font-weight: 400;
|
|
41
41
|
--#{$prefix}modal-header-subtitle-color: var(--#{$prefix}subtitle-color);
|
|
42
42
|
|
|
43
|
-
--#{$prefix}modal-header-min-height:
|
|
44
|
-
--#{$prefix}modal-header-padding-y: 0.
|
|
45
|
-
--#{$prefix}modal-header-padding-x:
|
|
46
|
-
--#{$prefix}modal-header-gap:
|
|
43
|
+
--#{$prefix}modal-header-min-height: 32px;
|
|
44
|
+
--#{$prefix}modal-header-padding-y: 0.25rem;
|
|
45
|
+
--#{$prefix}modal-header-padding-x: 0.625rem;
|
|
46
|
+
--#{$prefix}modal-header-gap: 0.75rem;
|
|
47
47
|
|
|
48
48
|
--#{$prefix}modal-header-title-font-size: 1rem;
|
|
49
49
|
--#{$prefix}modal-header-title-line-height: 20px;
|
|
@@ -53,14 +53,14 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
&-body {
|
|
56
|
-
--#{$prefix}modal-body-padding-y:
|
|
57
|
-
--#{$prefix}modal-body-padding-x:
|
|
56
|
+
--#{$prefix}modal-body-padding-y: 0.25rem;
|
|
57
|
+
--#{$prefix}modal-body-padding-x: 0.625rem;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
&-footer {
|
|
61
|
-
--#{$prefix}modal-footer-min-height:
|
|
62
|
-
--#{$prefix}modal-footer-padding-y: 0.
|
|
63
|
-
--#{$prefix}modal-footer-padding-x:
|
|
61
|
+
--#{$prefix}modal-footer-min-height: 32px;
|
|
62
|
+
--#{$prefix}modal-footer-padding-y: 0.25rem;
|
|
63
|
+
--#{$prefix}modal-footer-padding-x: 0.625rem;
|
|
64
64
|
|
|
65
65
|
--#{$prefix}modal-footer-border-width: 1px;
|
|
66
66
|
--#{$prefix}modal-footer-border-color: rgba(9, 30, 66, 0.14);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use '../../../variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}navigation-menu-group {
|
|
4
|
+
// FCI theme customizations
|
|
5
|
+
--#{$prefix}navigation-menu-group-gap: 0.375rem;
|
|
6
|
+
--#{$prefix}navigation-menu-group-padding: 0; // Remove padding, content already has padding
|
|
7
|
+
|
|
8
|
+
--#{$prefix}navigation-menu-group-label-font-size: 0.6875rem;
|
|
9
|
+
--#{$prefix}navigation-menu-group-label-font-weight: 600;
|
|
10
|
+
--#{$prefix}navigation-menu-group-label-color: var(--us-color-text-tertiary, #6c757d);
|
|
11
|
+
--#{$prefix}navigation-menu-group-label-padding-block: 0.25rem;
|
|
12
|
+
--#{$prefix}navigation-menu-group-label-padding-inline: 0;
|
|
13
|
+
--#{$prefix}navigation-menu-group-label-margin-bottom: 0.5rem;
|
|
14
|
+
|
|
15
|
+
--#{$prefix}navigation-menu-group-content-gap: 0.125rem;
|
|
16
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
@use '../../../variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}theme-fci {
|
|
4
|
+
.#{$prefix}navigation-menu-item {
|
|
5
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.5rem;
|
|
6
|
+
--#{$prefix}navigation-menu-item-padding-inline: 0.875rem;
|
|
7
|
+
--#{$prefix}navigation-menu-item-border-radius: 0.5rem;
|
|
8
|
+
--#{$prefix}navigation-menu-item-gap: 0.625rem;
|
|
9
|
+
|
|
10
|
+
--#{$prefix}navigation-menu-item-title-font-weight: 600;
|
|
11
|
+
--#{$prefix}navigation-menu-item-title-font-size: 0.875rem;
|
|
12
|
+
--#{$prefix}navigation-menu-item-title-line-height: 1.25rem;
|
|
13
|
+
|
|
14
|
+
--#{$prefix}navigation-menu-item-subtitle-font-size: 0.75rem;
|
|
15
|
+
--#{$prefix}navigation-menu-item-subtitle-line-height: 1.125rem;
|
|
16
|
+
--#{$prefix}navigation-menu-item-subtitle-color: #6b7280;
|
|
17
|
+
|
|
18
|
+
& > .#{$prefix}overlay {
|
|
19
|
+
--#{$prefix}overlay-color: currentColor;
|
|
20
|
+
--#{$prefix}overlay-opacity: 0;
|
|
21
|
+
--#{$prefix}_hover-overlay-color: currentColor;
|
|
22
|
+
--#{$prefix}_hover-overlay-opacity: 0.08;
|
|
23
|
+
--#{$prefix}_active-overlay-opacity: 0.12;
|
|
24
|
+
transition: opacity 120ms cubic-bezier(0.4, 0, 0.2, 1),
|
|
25
|
+
background-color 120ms cubic-bezier(0.4, 0, 0.2, 1);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&--selected {
|
|
29
|
+
--#{$prefix}navigation-menu-item-selected-color: var(--#{$prefix}primary-color);
|
|
30
|
+
font-weight: 600;
|
|
31
|
+
|
|
32
|
+
& > .#{$prefix}overlay {
|
|
33
|
+
--#{$prefix}overlay-color: var(--#{$prefix}primary-color);
|
|
34
|
+
--#{$prefix}overlay-opacity: 0.12;
|
|
35
|
+
--#{$prefix}_hover-overlay-color: var(--#{$prefix}primary-color);
|
|
36
|
+
--#{$prefix}_hover-overlay-opacity: 0.16;
|
|
37
|
+
--#{$prefix}_active-overlay-color: var(--#{$prefix}primary-color);
|
|
38
|
+
--#{$prefix}_active-overlay-opacity: 0.2;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--disabled > .#{$prefix}overlay {
|
|
43
|
+
--#{$prefix}overlay-opacity: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Size variants - sm (Compact)
|
|
48
|
+
.#{$prefix}navigation-menu--sm {
|
|
49
|
+
--#{$prefix}navigation-menu-popup-padding-inline: 0.25rem; // 4px
|
|
50
|
+
|
|
51
|
+
.#{$prefix}navigation-menu-item {
|
|
52
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.25rem; // 4px
|
|
53
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.375rem; // 6px
|
|
54
|
+
--#{$prefix}navigation-menu-item-padding-right: 0.375rem; // 6px (Balanced for root)
|
|
55
|
+
--#{$prefix}navigation-menu-item-gap: 0.375rem; // 6px
|
|
56
|
+
--#{$prefix}navigation-menu-item-icon-size: 1.75rem; // 28px
|
|
57
|
+
|
|
58
|
+
--#{$prefix}navigation-menu-item-title-font-size: 0.6875rem; // 11px
|
|
59
|
+
--#{$prefix}navigation-menu-item-title-line-height: 0.8125rem; // 13px
|
|
60
|
+
|
|
61
|
+
--#{$prefix}navigation-menu-item-subtitle-font-size: 0.625rem; // 10px
|
|
62
|
+
--#{$prefix}navigation-menu-item-subtitle-line-height: 0.6875rem; // 11px
|
|
63
|
+
|
|
64
|
+
--#{$prefix}navigation-menu-item-description-font-size: 0.5625rem; // 9px
|
|
65
|
+
--#{$prefix}navigation-menu-item-description-line-height: 0.875rem; // 14px (increased)
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
// Submenu override for sm (matches dropdown exactly)
|
|
70
|
+
.#{$prefix}navigation-menu-content.#{$prefix}navigation-menu--sm .#{$prefix}navigation-menu-item {
|
|
71
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.25rem; // 4px
|
|
72
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.375rem; // 6px
|
|
73
|
+
--#{$prefix}navigation-menu-item-padding-right: 1.25rem; // 20px
|
|
74
|
+
--#{$prefix}navigation-menu-item-gap: 0.375rem; // 6px
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.#{$prefix}navigation-menu--sm .#{$prefix}navigation-menu-item .#{$prefix}icon {
|
|
78
|
+
--#{$prefix}icon-font-size: 14px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
// Size variants - md (Default)
|
|
82
|
+
.#{$prefix}navigation-menu--md {
|
|
83
|
+
--#{$prefix}navigation-menu-popup-padding-inline: 0.375rem; // 6px
|
|
84
|
+
|
|
85
|
+
.#{$prefix}navigation-menu-item {
|
|
86
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.3125rem; // 5px
|
|
87
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.5rem; // 8px
|
|
88
|
+
--#{$prefix}navigation-menu-item-padding-right: 0.5rem; // 8px (Balanced for root)
|
|
89
|
+
--#{$prefix}navigation-menu-item-gap: 0.5rem; // 8px
|
|
90
|
+
--#{$prefix}navigation-menu-item-icon-size: 2rem; // 32px
|
|
91
|
+
|
|
92
|
+
--#{$prefix}navigation-menu-item-title-font-size: 0.75rem; // 12px
|
|
93
|
+
--#{$prefix}navigation-menu-item-title-line-height: 0.9375rem; // 15px
|
|
94
|
+
|
|
95
|
+
--#{$prefix}navigation-menu-item-subtitle-font-size: 0.6875rem; // 11px
|
|
96
|
+
--#{$prefix}navigation-menu-item-subtitle-line-height: 0.8125rem; // 13px
|
|
97
|
+
|
|
98
|
+
--#{$prefix}navigation-menu-item-description-font-size: 0.625rem; // 10px
|
|
99
|
+
--#{$prefix}navigation-menu-item-description-line-height: 1rem; // 16px (increased)
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
// Submenu override for md (matches dropdown exactly)
|
|
104
|
+
.#{$prefix}navigation-menu-content.#{$prefix}navigation-menu--md .#{$prefix}navigation-menu-item {
|
|
105
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.3125rem; // 5px
|
|
106
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.5rem; // 8px
|
|
107
|
+
--#{$prefix}navigation-menu-item-padding-right: 1.5rem; // 24px
|
|
108
|
+
--#{$prefix}navigation-menu-item-gap: 0.5rem; // 8px
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.#{$prefix}navigation-menu--md .#{$prefix}navigation-menu-item .#{$prefix}icon {
|
|
112
|
+
--#{$prefix}icon-font-size: 16px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
// Size variants - lg (Spacious)
|
|
116
|
+
.#{$prefix}navigation-menu--lg {
|
|
117
|
+
--#{$prefix}navigation-menu-popup-padding-inline: 0.5rem; // 8px
|
|
118
|
+
|
|
119
|
+
.#{$prefix}navigation-menu-item {
|
|
120
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.4375rem; // 7px
|
|
121
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.75rem; // 12px
|
|
122
|
+
--#{$prefix}navigation-menu-item-padding-right: 0.75rem; // 12px (Balanced for root)
|
|
123
|
+
--#{$prefix}navigation-menu-item-gap: 0.625rem; // 10px
|
|
124
|
+
--#{$prefix}navigation-menu-item-icon-size: 2.25rem; // 36px
|
|
125
|
+
|
|
126
|
+
--#{$prefix}navigation-menu-item-title-font-size: 0.875rem; // 14px
|
|
127
|
+
--#{$prefix}navigation-menu-item-title-line-height: 1.0625rem; // 17px
|
|
128
|
+
|
|
129
|
+
--#{$prefix}navigation-menu-item-subtitle-font-size: 0.75rem; // 12px
|
|
130
|
+
--#{$prefix}navigation-menu-item-subtitle-line-height: 0.9375rem; // 15px
|
|
131
|
+
|
|
132
|
+
--#{$prefix}navigation-menu-item-description-font-size: 0.6875rem; // 11px
|
|
133
|
+
--#{$prefix}navigation-menu-item-description-line-height: 1.125rem; // 18px (increased)
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
// Submenu override for lg (matches dropdown exactly)
|
|
138
|
+
.#{$prefix}navigation-menu-content.#{$prefix}navigation-menu--lg .#{$prefix}navigation-menu-item {
|
|
139
|
+
--#{$prefix}navigation-menu-item-padding-block: 0.4375rem; // 7px
|
|
140
|
+
--#{$prefix}navigation-menu-item-padding-left: 0.75rem; // 12px
|
|
141
|
+
--#{$prefix}navigation-menu-item-padding-right: 2rem; // 32px
|
|
142
|
+
--#{$prefix}navigation-menu-item-gap: 0.625rem; // 10px
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.#{$prefix}navigation-menu--lg .#{$prefix}navigation-menu-item .#{$prefix}icon {
|
|
146
|
+
--#{$prefix}icon-font-size: 18px;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
@use '../../../variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}navigation-menu-separator {
|
|
4
|
+
// FCI theme customizations
|
|
5
|
+
--#{$prefix}navigation-menu-separator-color: var(--us-color-border-default, #e9ecef);
|
|
6
|
+
--#{$prefix}navigation-menu-separator-margin-block: 0.625rem;
|
|
7
|
+
--#{$prefix}navigation-menu-separator-margin-inline: 1.25rem;
|
|
8
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@use '../../../variables' as *;
|
|
2
|
+
|
|
3
|
+
.#{$prefix}theme-fci {
|
|
4
|
+
.#{$prefix}navigation-menu {
|
|
5
|
+
--#{$prefix}navigation-menu-background: rgba(255, 255, 255, 0.98);
|
|
6
|
+
--#{$prefix}navigation-menu-padding: 0.375rem;
|
|
7
|
+
--#{$prefix}navigation-menu-border-radius: 0.5rem;
|
|
8
|
+
--#{$prefix}navigation-menu-color: #343a40;
|
|
9
|
+
|
|
10
|
+
--#{$prefix}navigation-menu-popup-border-radius: 0.5rem;
|
|
11
|
+
--#{$prefix}navigation-menu-popup-background: rgba(255, 255, 255, 0.98);
|
|
12
|
+
--#{$prefix}navigation-menu-popup-color: #343a40;
|
|
13
|
+
--#{$prefix}navigation-menu-popup-border-color: rgba(0, 0, 0, 0.08);
|
|
14
|
+
--#{$prefix}navigation-menu-popup-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.04),
|
|
15
|
+
0 8px 16px rgba(0, 0, 0, 0.08), 0 16px 32px rgba(0, 0, 0, 0.06);
|
|
16
|
+
|
|
17
|
+
--#{$prefix}navigation-menu-link-hover-background: rgba(0, 0, 0, 0.05);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -33,6 +33,10 @@
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
+
.#{$prefix}tabs--xs .#{$prefix}icon:not(.#{$prefix}button .#{$prefix}icon) {
|
|
37
|
+
--#{$prefix}icon-font-size-default: 18px;
|
|
38
|
+
}
|
|
39
|
+
|
|
36
40
|
.#{$prefix}tabs--underlined {
|
|
37
41
|
--#{$prefix}tab-indicator-color: var(--#{$prefix}primary-action-color);
|
|
38
42
|
--#{$prefix}tab-indicator-height: 3px;
|
|
@@ -162,4 +166,50 @@
|
|
|
162
166
|
|
|
163
167
|
--#{$prefix}tab-closable-color: var(--#{$prefix}secondary-action-color);
|
|
164
168
|
}
|
|
169
|
+
|
|
170
|
+
.#{$prefix}tabs--outlined {
|
|
171
|
+
gap: 4px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.#{$prefix}tabs--outlined .#{$prefix}tab {
|
|
175
|
+
--#{$prefix}tab-indicator-height: 0px;
|
|
176
|
+
--#{$prefix}tab-indicator-border-radius: 9999px;
|
|
177
|
+
|
|
178
|
+
--#{$prefix}tab-color: var(--#{$prefix}secondary-action-color);
|
|
179
|
+
--#{$prefix}tab-border-color: var(--#{$prefix}outline-color, rgba(0, 0, 0, 0.15));
|
|
180
|
+
|
|
181
|
+
--#{$prefix}tab-border-radius: 10px;
|
|
182
|
+
|
|
183
|
+
& > .#{$prefix}surface {
|
|
184
|
+
--#{$prefix}surface-color: transparent;
|
|
185
|
+
--#{$prefix}surface-opacity: 1;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
& > .#{$prefix}overlay {
|
|
189
|
+
--#{$prefix}overlay-opacity: 0;
|
|
190
|
+
--#{$prefix}overlay-color: inherit;
|
|
191
|
+
--#{$prefix}_hover-overlay-opacity: 0.08;
|
|
192
|
+
--#{$prefix}_active-overlay-opacity: 0.12;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.#{$prefix}tabs--outlined .#{$prefix}tab--selected {
|
|
197
|
+
--#{$prefix}tab-border-radius: 10px 10px 0px 0px;
|
|
198
|
+
|
|
199
|
+
& > .#{$prefix}surface {
|
|
200
|
+
--#{$prefix}surface-color: #fff;
|
|
201
|
+
--#{$prefix}surface-opacity: 1;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
& > .#{$prefix}overlay {
|
|
205
|
+
--#{$prefix}overlay-opacity: 0;
|
|
206
|
+
--#{$prefix}_hover-overlay-opacity: 0;
|
|
207
|
+
--#{$prefix}_active-overlay-opacity: 0;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.#{$prefix}tabs--outlined .#{$prefix}tab--disabled {
|
|
212
|
+
opacity: 0.5;
|
|
213
|
+
cursor: not-allowed;
|
|
214
|
+
}
|
|
165
215
|
}
|