commons-shared-web-ui 0.0.43 → 0.0.45
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/fesm2022/commons-shared-web-ui.mjs +1459 -1347
- package/fesm2022/commons-shared-web-ui.mjs.map +1 -1
- package/index.d.ts +49 -0
- package/package.json +1 -1
- package/src/lib/modules/alert/alert.theme.scss +84 -84
- package/src/lib/modules/button/button.theme.scss +120 -120
- package/src/lib/modules/configurable-form/configurable-form.theme.scss +77 -77
- package/src/lib/modules/confirmation-modal/confirmation-modal.theme.scss +86 -86
- package/src/lib/modules/filter/filter.theme.scss +91 -91
- package/src/lib/modules/filter-sidebar/filter-sidebar.theme.scss +37 -37
- package/src/lib/modules/filter-table-selector/filter-table-selector.theme.scss +36 -36
- package/src/lib/modules/form-builder/form-builder.theme.scss +212 -212
- package/src/lib/modules/form-components/components/checkbox/_theme.scss +62 -62
- package/src/lib/modules/form-components/components/datepicker/_theme.scss +81 -81
- package/src/lib/modules/form-components/components/dropdown/_theme.scss +90 -90
- package/src/lib/modules/form-components/components/input/_theme.scss +76 -76
- package/src/lib/modules/form-components/components/radio/_theme.scss +60 -60
- package/src/lib/modules/form-components/components/search/_theme.scss +72 -72
- package/src/lib/modules/form-components/components/toggle/_theme.scss +44 -44
- package/src/lib/modules/form-components/form-components.theme.scss +24 -24
- package/src/lib/modules/nav/nav.theme.scss +86 -86
- package/src/lib/modules/pagination/pagination.theme.scss +66 -66
- package/src/lib/modules/side-nav/side-nav.theme.scss +111 -111
- package/src/lib/modules/smart-form/smart-form.theme.scss +889 -889
- package/src/lib/modules/smart-table/smart-table.theme.scss +335 -335
- package/src/lib/modules/snackbar/snackbar.theme.scss +93 -93
- package/src/lib/modules/summary-card/summary-card.theme.scss +175 -175
- package/src/lib/styles/global.scss +151 -151
- package/src/lib/styles/utilities.scss +250 -250
|
@@ -1,212 +1,212 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
// ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
-
// Form Builder Theme
|
|
5
|
-
// ─────────────────────────────────────────────────────────────────────────────
|
|
6
|
-
|
|
7
|
-
$form-builder-config: (
|
|
8
|
-
bg: #ffffff,
|
|
9
|
-
border-color: #E5E7EB,
|
|
10
|
-
header-bg: #F9FAFB,
|
|
11
|
-
accent-color: #3B82F6,
|
|
12
|
-
|
|
13
|
-
// Step Indicator
|
|
14
|
-
step-bubble-size: 32px,
|
|
15
|
-
step-bubble-active-bg: #3B82F6,
|
|
16
|
-
step-bubble-active-color: #ffffff,
|
|
17
|
-
step-bubble-inactive-bg: #E5E7EB,
|
|
18
|
-
step-bubble-inactive-color: #6B7280,
|
|
19
|
-
|
|
20
|
-
// Sidebar / Tree
|
|
21
|
-
sidebar-width: 320px,
|
|
22
|
-
node-hover-bg: #F3F4F6,
|
|
23
|
-
node-selected-bg: #EFF6FF,
|
|
24
|
-
node-selected-border: #3B82F6,
|
|
25
|
-
|
|
26
|
-
// Config Panel (Premium Card Style)
|
|
27
|
-
config-panel-padding: 32px,
|
|
28
|
-
config-card-bg: #ffffff,
|
|
29
|
-
config-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05),
|
|
30
|
-
config-section-gap: 24px,
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
@mixin form-builder-theme($user-config: ()) {
|
|
34
|
-
$config: map.merge($form-builder-config, $user-config);
|
|
35
|
-
|
|
36
|
-
// Variables
|
|
37
|
-
--fb-bg: #{map.get($config, bg)};
|
|
38
|
-
--fb-border-color: #{map.get($config, border-color)};
|
|
39
|
-
--fb-accent: #{map.get($config, accent-color)};
|
|
40
|
-
--fb-font-family: 'Inter', sans-serif;
|
|
41
|
-
|
|
42
|
-
background: var(--fb-bg);
|
|
43
|
-
font-family: var(--fb-font-family);
|
|
44
|
-
|
|
45
|
-
// Premium Stepper (Lifecycle)
|
|
46
|
-
.fb-stepper {
|
|
47
|
-
display: flex;
|
|
48
|
-
align-items: center;
|
|
49
|
-
justify-content: center;
|
|
50
|
-
background: #ffffff;
|
|
51
|
-
padding: 1.5rem;
|
|
52
|
-
border-radius: 1rem;
|
|
53
|
-
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
54
|
-
margin-bottom: 2rem;
|
|
55
|
-
|
|
56
|
-
.fb-step {
|
|
57
|
-
display: flex;
|
|
58
|
-
align-items: center;
|
|
59
|
-
gap: 0.75rem;
|
|
60
|
-
cursor: pointer;
|
|
61
|
-
padding: 0.5rem 1rem;
|
|
62
|
-
border-radius: 0.75rem;
|
|
63
|
-
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
-
|
|
65
|
-
&:hover { background: #F3F4F6; }
|
|
66
|
-
|
|
67
|
-
&.active {
|
|
68
|
-
background: #EFF6FF;
|
|
69
|
-
.fb-step__icon {
|
|
70
|
-
background: var(--fb-accent);
|
|
71
|
-
color: #ffffff;
|
|
72
|
-
border-color: var(--fb-accent);
|
|
73
|
-
transform: scale(1.1);
|
|
74
|
-
}
|
|
75
|
-
.fb-step__label {
|
|
76
|
-
color: #111827;
|
|
77
|
-
font-weight: 700;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.completed .fb-step__icon {
|
|
82
|
-
background: #10B981;
|
|
83
|
-
color: #ffffff;
|
|
84
|
-
border-color: #10B981;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&__icon {
|
|
88
|
-
width: 32px;
|
|
89
|
-
height: 32px;
|
|
90
|
-
border-radius: 50%;
|
|
91
|
-
border: 2px solid #D1D5DB;
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
justify-content: center;
|
|
95
|
-
font-size: 14px;
|
|
96
|
-
font-weight: 700;
|
|
97
|
-
color: #6B7280;
|
|
98
|
-
background: #ffffff;
|
|
99
|
-
transition: all 0.3s;
|
|
100
|
-
flex-shrink: 0;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
&__label {
|
|
104
|
-
font-size: 14px;
|
|
105
|
-
font-weight: 600;
|
|
106
|
-
color: #6B7280;
|
|
107
|
-
white-space: nowrap;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&__line {
|
|
111
|
-
width: 60px;
|
|
112
|
-
height: 2px;
|
|
113
|
-
background: #E5E7EB;
|
|
114
|
-
margin: 0 1rem;
|
|
115
|
-
flex-shrink: 0;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
// ── Field Selection Component ───────────────────────────────────────────────
|
|
121
|
-
--fb-fs-padding: 16px;
|
|
122
|
-
--fb-fs-group-gap: 16px;
|
|
123
|
-
--fb-fs-group-bg: #ffffff;
|
|
124
|
-
--fb-fs-group-border: #e5e7eb;
|
|
125
|
-
--fb-fs-group-radius: 12px;
|
|
126
|
-
--fb-fs-header-padding: 14px 16px;
|
|
127
|
-
--fb-fs-header-gap: 10px;
|
|
128
|
-
--fb-fs-header-hover-bg: #f9fafb;
|
|
129
|
-
--fb-fs-chevron-color: #9ca3af;
|
|
130
|
-
--fb-fs-group-label-size: 14px;
|
|
131
|
-
--fb-fs-group-label-color: #111827;
|
|
132
|
-
--fb-fs-body-padding: 0 16px 16px 28px;
|
|
133
|
-
--fb-fs-section-gap: 12px;
|
|
134
|
-
--fb-fs-section-border: #e5e7eb;
|
|
135
|
-
--fb-fs-section-radius: 10px;
|
|
136
|
-
--fb-fs-section-bg: #ffffff;
|
|
137
|
-
--fb-fs-section-nested-border: #f3f4f6;
|
|
138
|
-
--fb-fs-section-nested-bg: #fafafa;
|
|
139
|
-
--fb-fs-section-header-padding: 10px 14px;
|
|
140
|
-
--fb-fs-section-header-hover: #f9fafb;
|
|
141
|
-
--fb-fs-section-label-size: 13px;
|
|
142
|
-
--fb-fs-section-label-color: #111827;
|
|
143
|
-
--fb-fs-section-body-padding: 4px 14px 14px 28px;
|
|
144
|
-
--fb-fs-field-gap: 6px;
|
|
145
|
-
--fb-fs-field-padding: 8px 12px;
|
|
146
|
-
--fb-fs-field-radius: 6px;
|
|
147
|
-
--fb-fs-field-bg: #ffffff;
|
|
148
|
-
--fb-fs-field-border: #e5e7eb;
|
|
149
|
-
--fb-fs-field-hover-border: #3b82f6;
|
|
150
|
-
--fb-fs-field-hover-bg: #f8fafc;
|
|
151
|
-
--fb-fs-field-selected-bg: #eff6ff;
|
|
152
|
-
--fb-fs-field-selected-border: #bfdbfe;
|
|
153
|
-
--fb-fs-field-locked-bg: #f3f4f6;
|
|
154
|
-
--fb-fs-field-locked-color: #6b7280;
|
|
155
|
-
--fb-fs-field-label-size: 13px;
|
|
156
|
-
--fb-fs-field-label-color: #111827;
|
|
157
|
-
--fb-fs-toggle-width: 36px;
|
|
158
|
-
--fb-fs-toggle-height: 20px;
|
|
159
|
-
--fb-fs-toggle-off-bg: #d1d5db;
|
|
160
|
-
--fb-fs-toggle-on-bg: #f5a623;
|
|
161
|
-
--fb-fs-toggle-thumb: #ffffff;
|
|
162
|
-
--fb-fs-checkbox-border: #d1d5db;
|
|
163
|
-
--fb-fs-checkbox-checked-bg: #3b82f6;
|
|
164
|
-
--fb-fs-lock-color: #9ca3af;
|
|
165
|
-
--fb-fs-empty-color: #9ca3af;
|
|
166
|
-
|
|
167
|
-
// ── Field Configurator Component ──────────────────────────────────────────
|
|
168
|
-
--fb-fc-bg: #ffffff;
|
|
169
|
-
--fb-fc-sidebar-width: 400px;
|
|
170
|
-
--fb-fc-sidebar-bg: #f9fafb;
|
|
171
|
-
--fb-fc-main-bg: #ffffff;
|
|
172
|
-
--fb-fc-border: #e5e7eb;
|
|
173
|
-
--fb-fc-tree-header-bg: #ffffff;
|
|
174
|
-
--fb-fc-tree-title-color: #111827;
|
|
175
|
-
--fb-fc-tree-subtitle-color: #6b7280;
|
|
176
|
-
--fb-fc-section-divider: #f3f4f6;
|
|
177
|
-
--fb-fc-section-hover: #f9fafb;
|
|
178
|
-
--fb-fc-chevron-color: #9ca3af;
|
|
179
|
-
--fb-fc-section-label-color: #111827;
|
|
180
|
-
--fb-fc-item-bg: #ffffff;
|
|
181
|
-
--fb-fc-item-border: #e5e7eb;
|
|
182
|
-
--fb-fc-item-hover-border: #3b82f6;
|
|
183
|
-
--fb-fc-item-active-border: #3b82f6;
|
|
184
|
-
--fb-fc-item-active-bg: #f0f7ff;
|
|
185
|
-
--fb-fc-drag-color: #d1d5db;
|
|
186
|
-
--fb-fc-item-label-color: #111827;
|
|
187
|
-
--fb-fc-item-type-color: #6b7280;
|
|
188
|
-
--fb-fc-panel-bg: #f9fafb;
|
|
189
|
-
--fb-fc-header-bg: #ffffff;
|
|
190
|
-
--fb-fc-title-color: #111827;
|
|
191
|
-
--fb-fc-badge-bg: #eff6ff;
|
|
192
|
-
--fb-fc-badge-color: #3b82f6;
|
|
193
|
-
--fb-fc-badge-border: #dbeafe;
|
|
194
|
-
--fb-fc-card-bg: #ffffff;
|
|
195
|
-
--fb-fc-card-border: #e5e7eb;
|
|
196
|
-
--fb-fc-accent: #3b82f6;
|
|
197
|
-
--fb-fc-empty-color: #9ca3af;
|
|
198
|
-
// ── Type Switcher (Standalone header select) ─────────────────────────────
|
|
199
|
-
--fb-fc-type-label-color: #6b7280;
|
|
200
|
-
--fb-fc-type-label-size: 0.75rem;
|
|
201
|
-
--fb-fc-type-select-height: 36px;
|
|
202
|
-
--fb-fc-type-select-border: #d1d5db;
|
|
203
|
-
--fb-fc-type-select-radius: 8px;
|
|
204
|
-
--fb-fc-type-select-bg: #ffffff;
|
|
205
|
-
--fb-fc-type-select-color: #111827;
|
|
206
|
-
--fb-fc-type-select-hover-border: #9ca3af;
|
|
207
|
-
|
|
208
|
-
// Shared Components Overrides
|
|
209
|
-
::ng-deep lib-button button {
|
|
210
|
-
font-family: var(--fb-font-family) !important;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
4
|
+
// Form Builder Theme
|
|
5
|
+
// ─────────────────────────────────────────────────────────────────────────────
|
|
6
|
+
|
|
7
|
+
$form-builder-config: (
|
|
8
|
+
bg: #ffffff,
|
|
9
|
+
border-color: #E5E7EB,
|
|
10
|
+
header-bg: #F9FAFB,
|
|
11
|
+
accent-color: #3B82F6,
|
|
12
|
+
|
|
13
|
+
// Step Indicator
|
|
14
|
+
step-bubble-size: 32px,
|
|
15
|
+
step-bubble-active-bg: #3B82F6,
|
|
16
|
+
step-bubble-active-color: #ffffff,
|
|
17
|
+
step-bubble-inactive-bg: #E5E7EB,
|
|
18
|
+
step-bubble-inactive-color: #6B7280,
|
|
19
|
+
|
|
20
|
+
// Sidebar / Tree
|
|
21
|
+
sidebar-width: 320px,
|
|
22
|
+
node-hover-bg: #F3F4F6,
|
|
23
|
+
node-selected-bg: #EFF6FF,
|
|
24
|
+
node-selected-border: #3B82F6,
|
|
25
|
+
|
|
26
|
+
// Config Panel (Premium Card Style)
|
|
27
|
+
config-panel-padding: 32px,
|
|
28
|
+
config-card-bg: #ffffff,
|
|
29
|
+
config-card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05),
|
|
30
|
+
config-section-gap: 24px,
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
@mixin form-builder-theme($user-config: ()) {
|
|
34
|
+
$config: map.merge($form-builder-config, $user-config);
|
|
35
|
+
|
|
36
|
+
// Variables
|
|
37
|
+
--fb-bg: #{map.get($config, bg)};
|
|
38
|
+
--fb-border-color: #{map.get($config, border-color)};
|
|
39
|
+
--fb-accent: #{map.get($config, accent-color)};
|
|
40
|
+
--fb-font-family: 'Inter', sans-serif;
|
|
41
|
+
|
|
42
|
+
background: var(--fb-bg);
|
|
43
|
+
font-family: var(--fb-font-family);
|
|
44
|
+
|
|
45
|
+
// Premium Stepper (Lifecycle)
|
|
46
|
+
.fb-stepper {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
background: #ffffff;
|
|
51
|
+
padding: 1.5rem;
|
|
52
|
+
border-radius: 1rem;
|
|
53
|
+
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
|
|
54
|
+
margin-bottom: 2rem;
|
|
55
|
+
|
|
56
|
+
.fb-step {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
gap: 0.75rem;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
padding: 0.5rem 1rem;
|
|
62
|
+
border-radius: 0.75rem;
|
|
63
|
+
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
64
|
+
|
|
65
|
+
&:hover { background: #F3F4F6; }
|
|
66
|
+
|
|
67
|
+
&.active {
|
|
68
|
+
background: #EFF6FF;
|
|
69
|
+
.fb-step__icon {
|
|
70
|
+
background: var(--fb-accent);
|
|
71
|
+
color: #ffffff;
|
|
72
|
+
border-color: var(--fb-accent);
|
|
73
|
+
transform: scale(1.1);
|
|
74
|
+
}
|
|
75
|
+
.fb-step__label {
|
|
76
|
+
color: #111827;
|
|
77
|
+
font-weight: 700;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&.completed .fb-step__icon {
|
|
82
|
+
background: #10B981;
|
|
83
|
+
color: #ffffff;
|
|
84
|
+
border-color: #10B981;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__icon {
|
|
88
|
+
width: 32px;
|
|
89
|
+
height: 32px;
|
|
90
|
+
border-radius: 50%;
|
|
91
|
+
border: 2px solid #D1D5DB;
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
font-size: 14px;
|
|
96
|
+
font-weight: 700;
|
|
97
|
+
color: #6B7280;
|
|
98
|
+
background: #ffffff;
|
|
99
|
+
transition: all 0.3s;
|
|
100
|
+
flex-shrink: 0;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&__label {
|
|
104
|
+
font-size: 14px;
|
|
105
|
+
font-weight: 600;
|
|
106
|
+
color: #6B7280;
|
|
107
|
+
white-space: nowrap;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&__line {
|
|
111
|
+
width: 60px;
|
|
112
|
+
height: 2px;
|
|
113
|
+
background: #E5E7EB;
|
|
114
|
+
margin: 0 1rem;
|
|
115
|
+
flex-shrink: 0;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
// ── Field Selection Component ───────────────────────────────────────────────
|
|
121
|
+
--fb-fs-padding: 16px;
|
|
122
|
+
--fb-fs-group-gap: 16px;
|
|
123
|
+
--fb-fs-group-bg: #ffffff;
|
|
124
|
+
--fb-fs-group-border: #e5e7eb;
|
|
125
|
+
--fb-fs-group-radius: 12px;
|
|
126
|
+
--fb-fs-header-padding: 14px 16px;
|
|
127
|
+
--fb-fs-header-gap: 10px;
|
|
128
|
+
--fb-fs-header-hover-bg: #f9fafb;
|
|
129
|
+
--fb-fs-chevron-color: #9ca3af;
|
|
130
|
+
--fb-fs-group-label-size: 14px;
|
|
131
|
+
--fb-fs-group-label-color: #111827;
|
|
132
|
+
--fb-fs-body-padding: 0 16px 16px 28px;
|
|
133
|
+
--fb-fs-section-gap: 12px;
|
|
134
|
+
--fb-fs-section-border: #e5e7eb;
|
|
135
|
+
--fb-fs-section-radius: 10px;
|
|
136
|
+
--fb-fs-section-bg: #ffffff;
|
|
137
|
+
--fb-fs-section-nested-border: #f3f4f6;
|
|
138
|
+
--fb-fs-section-nested-bg: #fafafa;
|
|
139
|
+
--fb-fs-section-header-padding: 10px 14px;
|
|
140
|
+
--fb-fs-section-header-hover: #f9fafb;
|
|
141
|
+
--fb-fs-section-label-size: 13px;
|
|
142
|
+
--fb-fs-section-label-color: #111827;
|
|
143
|
+
--fb-fs-section-body-padding: 4px 14px 14px 28px;
|
|
144
|
+
--fb-fs-field-gap: 6px;
|
|
145
|
+
--fb-fs-field-padding: 8px 12px;
|
|
146
|
+
--fb-fs-field-radius: 6px;
|
|
147
|
+
--fb-fs-field-bg: #ffffff;
|
|
148
|
+
--fb-fs-field-border: #e5e7eb;
|
|
149
|
+
--fb-fs-field-hover-border: #3b82f6;
|
|
150
|
+
--fb-fs-field-hover-bg: #f8fafc;
|
|
151
|
+
--fb-fs-field-selected-bg: #eff6ff;
|
|
152
|
+
--fb-fs-field-selected-border: #bfdbfe;
|
|
153
|
+
--fb-fs-field-locked-bg: #f3f4f6;
|
|
154
|
+
--fb-fs-field-locked-color: #6b7280;
|
|
155
|
+
--fb-fs-field-label-size: 13px;
|
|
156
|
+
--fb-fs-field-label-color: #111827;
|
|
157
|
+
--fb-fs-toggle-width: 36px;
|
|
158
|
+
--fb-fs-toggle-height: 20px;
|
|
159
|
+
--fb-fs-toggle-off-bg: #d1d5db;
|
|
160
|
+
--fb-fs-toggle-on-bg: #f5a623;
|
|
161
|
+
--fb-fs-toggle-thumb: #ffffff;
|
|
162
|
+
--fb-fs-checkbox-border: #d1d5db;
|
|
163
|
+
--fb-fs-checkbox-checked-bg: #3b82f6;
|
|
164
|
+
--fb-fs-lock-color: #9ca3af;
|
|
165
|
+
--fb-fs-empty-color: #9ca3af;
|
|
166
|
+
|
|
167
|
+
// ── Field Configurator Component ──────────────────────────────────────────
|
|
168
|
+
--fb-fc-bg: #ffffff;
|
|
169
|
+
--fb-fc-sidebar-width: 400px;
|
|
170
|
+
--fb-fc-sidebar-bg: #f9fafb;
|
|
171
|
+
--fb-fc-main-bg: #ffffff;
|
|
172
|
+
--fb-fc-border: #e5e7eb;
|
|
173
|
+
--fb-fc-tree-header-bg: #ffffff;
|
|
174
|
+
--fb-fc-tree-title-color: #111827;
|
|
175
|
+
--fb-fc-tree-subtitle-color: #6b7280;
|
|
176
|
+
--fb-fc-section-divider: #f3f4f6;
|
|
177
|
+
--fb-fc-section-hover: #f9fafb;
|
|
178
|
+
--fb-fc-chevron-color: #9ca3af;
|
|
179
|
+
--fb-fc-section-label-color: #111827;
|
|
180
|
+
--fb-fc-item-bg: #ffffff;
|
|
181
|
+
--fb-fc-item-border: #e5e7eb;
|
|
182
|
+
--fb-fc-item-hover-border: #3b82f6;
|
|
183
|
+
--fb-fc-item-active-border: #3b82f6;
|
|
184
|
+
--fb-fc-item-active-bg: #f0f7ff;
|
|
185
|
+
--fb-fc-drag-color: #d1d5db;
|
|
186
|
+
--fb-fc-item-label-color: #111827;
|
|
187
|
+
--fb-fc-item-type-color: #6b7280;
|
|
188
|
+
--fb-fc-panel-bg: #f9fafb;
|
|
189
|
+
--fb-fc-header-bg: #ffffff;
|
|
190
|
+
--fb-fc-title-color: #111827;
|
|
191
|
+
--fb-fc-badge-bg: #eff6ff;
|
|
192
|
+
--fb-fc-badge-color: #3b82f6;
|
|
193
|
+
--fb-fc-badge-border: #dbeafe;
|
|
194
|
+
--fb-fc-card-bg: #ffffff;
|
|
195
|
+
--fb-fc-card-border: #e5e7eb;
|
|
196
|
+
--fb-fc-accent: #3b82f6;
|
|
197
|
+
--fb-fc-empty-color: #9ca3af;
|
|
198
|
+
// ── Type Switcher (Standalone header select) ─────────────────────────────
|
|
199
|
+
--fb-fc-type-label-color: #6b7280;
|
|
200
|
+
--fb-fc-type-label-size: 0.75rem;
|
|
201
|
+
--fb-fc-type-select-height: 36px;
|
|
202
|
+
--fb-fc-type-select-border: #d1d5db;
|
|
203
|
+
--fb-fc-type-select-radius: 8px;
|
|
204
|
+
--fb-fc-type-select-bg: #ffffff;
|
|
205
|
+
--fb-fc-type-select-color: #111827;
|
|
206
|
+
--fb-fc-type-select-hover-border: #9ca3af;
|
|
207
|
+
|
|
208
|
+
// Shared Components Overrides
|
|
209
|
+
::ng-deep lib-button button {
|
|
210
|
+
font-family: var(--fb-font-family) !important;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
|
|
3
|
-
$default-checkbox-config: (
|
|
4
|
-
// Layout
|
|
5
|
-
margin-bottom: 0.5rem,
|
|
6
|
-
group-gap: 0.75rem,
|
|
7
|
-
|
|
8
|
-
// Label
|
|
9
|
-
font-size: 0.875rem,
|
|
10
|
-
font-weight: 400,
|
|
11
|
-
font-family: inherit,
|
|
12
|
-
label-color: #202124,
|
|
13
|
-
|
|
14
|
-
// Group label
|
|
15
|
-
group-label-font-size: 0.875rem,
|
|
16
|
-
group-label-font-weight: 500,
|
|
17
|
-
group-label-color: #202124,
|
|
18
|
-
|
|
19
|
-
// Size
|
|
20
|
-
size: 1.125rem,
|
|
21
|
-
border-radius: 2px,
|
|
22
|
-
|
|
23
|
-
// Colors
|
|
24
|
-
checked-color: #1A73E8,
|
|
25
|
-
unchecked-color: #BDC1C6,
|
|
26
|
-
|
|
27
|
-
// States
|
|
28
|
-
disabled-color: #80868B,
|
|
29
|
-
error-color: #D93025,
|
|
30
|
-
required-color: #D93025
|
|
31
|
-
);
|
|
32
|
-
|
|
33
|
-
@mixin checkbox-theme($user-config: ()) {
|
|
34
|
-
$config: map.merge($default-checkbox-config, $user-config);
|
|
35
|
-
|
|
36
|
-
// Layout
|
|
37
|
-
--cc-checkbox-margin-bottom: #{map.get($config, margin-bottom)};
|
|
38
|
-
--cc-checkbox-group-gap: #{map.get($config, group-gap)};
|
|
39
|
-
|
|
40
|
-
// Label
|
|
41
|
-
--cc-checkbox-font-size: #{map.get($config, font-size)};
|
|
42
|
-
--cc-checkbox-font-weight: #{map.get($config, font-weight)};
|
|
43
|
-
--cc-checkbox-font-family: #{map.get($config, font-family)};
|
|
44
|
-
--cc-checkbox-label-color: #{map.get($config, label-color)};
|
|
45
|
-
|
|
46
|
-
// Group label
|
|
47
|
-
--cc-checkbox-group-label-font-size: #{map.get($config, group-label-font-size)};
|
|
48
|
-
--cc-checkbox-group-label-font-weight: #{map.get($config, group-label-font-weight)};
|
|
49
|
-
--cc-checkbox-group-label-color: #{map.get($config, group-label-color)};
|
|
50
|
-
|
|
51
|
-
// Size
|
|
52
|
-
--cc-checkbox-size: #{map.get($config, size)};
|
|
53
|
-
--cc-checkbox-border-radius: #{map.get($config, border-radius)};
|
|
54
|
-
|
|
55
|
-
// Colors
|
|
56
|
-
--cc-checkbox-checked-color: #{map.get($config, checked-color)};
|
|
57
|
-
--cc-checkbox-unchecked-color: #{map.get($config, unchecked-color)};
|
|
58
|
-
|
|
59
|
-
// States
|
|
60
|
-
--cc-checkbox-disabled-color: #{map.get($config, disabled-color)};
|
|
61
|
-
--cc-checkbox-error-color: #{map.get($config, error-color)};
|
|
62
|
-
--cc-checkbox-required-color: #{map.get($config, required-color)};
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
|
|
3
|
+
$default-checkbox-config: (
|
|
4
|
+
// Layout
|
|
5
|
+
margin-bottom: 0.5rem,
|
|
6
|
+
group-gap: 0.75rem,
|
|
7
|
+
|
|
8
|
+
// Label
|
|
9
|
+
font-size: 0.875rem,
|
|
10
|
+
font-weight: 400,
|
|
11
|
+
font-family: inherit,
|
|
12
|
+
label-color: #202124,
|
|
13
|
+
|
|
14
|
+
// Group label
|
|
15
|
+
group-label-font-size: 0.875rem,
|
|
16
|
+
group-label-font-weight: 500,
|
|
17
|
+
group-label-color: #202124,
|
|
18
|
+
|
|
19
|
+
// Size
|
|
20
|
+
size: 1.125rem,
|
|
21
|
+
border-radius: 2px,
|
|
22
|
+
|
|
23
|
+
// Colors
|
|
24
|
+
checked-color: #1A73E8,
|
|
25
|
+
unchecked-color: #BDC1C6,
|
|
26
|
+
|
|
27
|
+
// States
|
|
28
|
+
disabled-color: #80868B,
|
|
29
|
+
error-color: #D93025,
|
|
30
|
+
required-color: #D93025
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
@mixin checkbox-theme($user-config: ()) {
|
|
34
|
+
$config: map.merge($default-checkbox-config, $user-config);
|
|
35
|
+
|
|
36
|
+
// Layout
|
|
37
|
+
--cc-checkbox-margin-bottom: #{map.get($config, margin-bottom)};
|
|
38
|
+
--cc-checkbox-group-gap: #{map.get($config, group-gap)};
|
|
39
|
+
|
|
40
|
+
// Label
|
|
41
|
+
--cc-checkbox-font-size: #{map.get($config, font-size)};
|
|
42
|
+
--cc-checkbox-font-weight: #{map.get($config, font-weight)};
|
|
43
|
+
--cc-checkbox-font-family: #{map.get($config, font-family)};
|
|
44
|
+
--cc-checkbox-label-color: #{map.get($config, label-color)};
|
|
45
|
+
|
|
46
|
+
// Group label
|
|
47
|
+
--cc-checkbox-group-label-font-size: #{map.get($config, group-label-font-size)};
|
|
48
|
+
--cc-checkbox-group-label-font-weight: #{map.get($config, group-label-font-weight)};
|
|
49
|
+
--cc-checkbox-group-label-color: #{map.get($config, group-label-color)};
|
|
50
|
+
|
|
51
|
+
// Size
|
|
52
|
+
--cc-checkbox-size: #{map.get($config, size)};
|
|
53
|
+
--cc-checkbox-border-radius: #{map.get($config, border-radius)};
|
|
54
|
+
|
|
55
|
+
// Colors
|
|
56
|
+
--cc-checkbox-checked-color: #{map.get($config, checked-color)};
|
|
57
|
+
--cc-checkbox-unchecked-color: #{map.get($config, unchecked-color)};
|
|
58
|
+
|
|
59
|
+
// States
|
|
60
|
+
--cc-checkbox-disabled-color: #{map.get($config, disabled-color)};
|
|
61
|
+
--cc-checkbox-error-color: #{map.get($config, error-color)};
|
|
62
|
+
--cc-checkbox-required-color: #{map.get($config, required-color)};
|
|
63
63
|
}
|