@fkui/design 5.36.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/LICENSE.md +7 -0
- package/README.md +3 -0
- package/lib/fkui-exp.css +7818 -0
- package/lib/fkui-exp.min.css +1 -0
- package/lib/fkui-int.css +7818 -0
- package/lib/fkui-int.min.css +1 -0
- package/lib/fonts.css +3 -0
- package/lib/fonts.min.css +1 -0
- package/package.json +70 -0
- package/src/_core.scss +1 -0
- package/src/assets/images/fk-logo-default.svg +22 -0
- package/src/assets/images/fk-logo-primary-large.svg +161 -0
- package/src/assets/images/fk-logo-primary-small.svg +1 -0
- package/src/assets/images/fk-logo-primary.svg +23 -0
- package/src/assets/images/fk-logo-small.svg +5 -0
- package/src/components/_all.scss +60 -0
- package/src/components/_z-index.scss +6 -0
- package/src/components/anchor/_anchor.scss +27 -0
- package/src/components/badge/_badge.scss +72 -0
- package/src/components/button/_button.scss +497 -0
- package/src/components/calendar-day/_calendar-day.scss +86 -0
- package/src/components/calendar-deprecated/_calendar-deprecated.scss +628 -0
- package/src/components/card/_card.scss +51 -0
- package/src/components/checkbox/_all.scss +2 -0
- package/src/components/checkbox/_checkbox-group.scss +18 -0
- package/src/components/checkbox/_checkbox.scss +111 -0
- package/src/components/chip/_chip.scss +91 -0
- package/src/components/close-button/_close-button.scss +16 -0
- package/src/components/contextmenu/_contextmenu.scss +54 -0
- package/src/components/crud-dataset/_crud-dataset.scss +18 -0
- package/src/components/datepicker-field/_datepicker-field.scss +76 -0
- package/src/components/dialogue-tree/_dialogue-tree.scss +54 -0
- package/src/components/entrypoint/_entrypoint.scss +40 -0
- package/src/components/error-list/_error-list.scss +54 -0
- package/src/components/expandable-panel/_expandable-panel.scss +113 -0
- package/src/components/expandable-paragraph/_expandable-paragraph.scss +97 -0
- package/src/components/fieldset/_fieldset.scss +22 -0
- package/src/components/file-item/_file-item.scss +80 -0
- package/src/components/file-selector/_file-selector.scss +28 -0
- package/src/components/file-uploader/_file-uploader.scss +7 -0
- package/src/components/form/_all.scss +2 -0
- package/src/components/form/_form-step.scss +91 -0
- package/src/components/form/_form.scss +8 -0
- package/src/components/group/_group.scss +8 -0
- package/src/components/icon/_icon.scss +175 -0
- package/src/components/indent/_indent.scss +11 -0
- package/src/components/label/_label.scss +47 -0
- package/src/components/layout-application-template/_layout-application-template.scss +75 -0
- package/src/components/layout-navigation/_layout-navigation.scss +124 -0
- package/src/components/layout-secondary/_layout-secondary.scss +129 -0
- package/src/components/list/_list.scss +117 -0
- package/src/components/loader/_loader.scss +179 -0
- package/src/components/message-box/_message-box.scss +121 -0
- package/src/components/modal/_modal.scss +190 -0
- package/src/components/navbar/_navbar-header.scss +77 -0
- package/src/components/navbar/_navbar-nav.scss +30 -0
- package/src/components/navbar/_navbar.scss +71 -0
- package/src/components/offline/_offline.scss +40 -0
- package/src/components/output-field/_output-field.scss +23 -0
- package/src/components/page-header/_page-header.scss +96 -0
- package/src/components/progressbar/_progressbar.scss +34 -0
- package/src/components/radio-button/_all.scss +2 -0
- package/src/components/radio-button/_item.scss +54 -0
- package/src/components/radio-button/_radio-button-group.scss +38 -0
- package/src/components/radio-button/_radio-button.scss +106 -0
- package/src/components/select-field/_select-field.scss +88 -0
- package/src/components/sort-filter-dataset/_sort-filter-dataset.scss +70 -0
- package/src/components/static-panel/_static-panel.scss +31 -0
- package/src/components/table/_table.scss +415 -0
- package/src/components/text-field/_text-field.scss +127 -0
- package/src/components/textarea-field/_textarea-field.scss +55 -0
- package/src/components/tooltip/_tooltip.scss +87 -0
- package/src/components/wizard/_all.scss +2 -0
- package/src/components/wizard/_wizard-step.scss +318 -0
- package/src/components/wizard/_wizard.scss +5 -0
- package/src/core/_all.scss +6 -0
- package/src/core/_config-variables.scss +23 -0
- package/src/core/_density.scss +11 -0
- package/src/core/_global.scss +47 -0
- package/src/core/_mixins.scss +8 -0
- package/src/core/_reset.scss +60 -0
- package/src/core/_size.scss +23 -0
- package/src/core/helpers/_all.scss +2 -0
- package/src/core/helpers/_helpers.scss +19 -0
- package/src/core/helpers/accessibility/_all.scss +2 -0
- package/src/core/helpers/accessibility/_focus.scss +24 -0
- package/src/core/helpers/accessibility/_screenreader.scss +11 -0
- package/src/core/layout/_all.scss +2 -0
- package/src/core/layout/grid/_all.scss +1 -0
- package/src/core/layout/grid/_grid.scss +135 -0
- package/src/core/layout/positioning/_all.scss +1 -0
- package/src/core/layout/positioning/_positioning.scss +16 -0
- package/src/core/mixins/_all.scss +9 -0
- package/src/core/mixins/_anchor.scss +17 -0
- package/src/core/mixins/_arrow-creator.scss +51 -0
- package/src/core/mixins/_breakpoints.scss +42 -0
- package/src/core/mixins/_button.scss +78 -0
- package/src/core/mixins/_button_icon.scss +51 -0
- package/src/core/mixins/_circle.scss +21 -0
- package/src/core/mixins/_focus.scss +4 -0
- package/src/core/mixins/_label-inline.scss +19 -0
- package/src/core/mixins/_sr-only.scss +11 -0
- package/src/core/typography/_all.scss +1 -0
- package/src/core/typography/_headings.scss +88 -0
- package/src/core/utils/_all.scss +1 -0
- package/src/core/utils/_functions.scss +41 -0
- package/src/fkui-exp.scss +1 -0
- package/src/fkui-int.scss +1 -0
- package/src/fkui.scss +3 -0
- package/src/fonts.scss +3 -0
- package/src/internal-components/IFlex/_iflex.scss +98 -0
- package/src/internal-components/IMenu/_imenu.scss +106 -0
- package/src/internal-components/IPopupMenu/_ipopupmenu.scss +50 -0
- package/src/internal-components/ISkipLink/_iskiplink.scss +16 -0
- package/src/internal-components/_all.scss +11 -0
- package/src/internal-components/animate-expand/_animate-expand.scss +17 -0
- package/src/internal-components/calendar/_calendar.scss +7 -0
- package/src/internal-components/calendar-month/_month.scss +74 -0
- package/src/internal-components/calendar-navbar/_navbar.scss +55 -0
- package/src/internal-components/popup/_popup.scss +35 -0
- package/src/internal-components/popupError/_popuperror.scss +116 -0
- package/src/internal-components/popupError/arrows/_bottom-before.scss +22 -0
- package/src/internal-components/popupError/arrows/_bottom.scss +19 -0
- package/src/internal-components/popupError/arrows/_left-before.scss +22 -0
- package/src/internal-components/popupError/arrows/_left.scss +19 -0
- package/src/internal-components/popupError/arrows/_right-before.scss +22 -0
- package/src/internal-components/popupError/arrows/_right.scss +19 -0
- package/src/internal-components/popupError/arrows/_top-before.scss +22 -0
- package/src/internal-components/popupError/arrows/_top.scss +19 -0
- package/stylelint/index.js +3 -0
- package/stylelint/recommended.js +6 -0
- package/stylelint/rules/deprecatedVariable/index.js +93 -0
- package/stylelint/rules/index.js +3 -0
|
@@ -0,0 +1,628 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
|
|
3
|
+
$CALENDAR_SELECTOR: ".calendar" !default;
|
|
4
|
+
$calendar-color-highlight-primary: var(--f-background-calendar-selected) !default;
|
|
5
|
+
$calendar-color-today: #666666 !default;
|
|
6
|
+
$calendar-color-background-primary: var(--f-background-calendar-default) !default;
|
|
7
|
+
$calendar-color-background-secondary: #fff !default;
|
|
8
|
+
$calendar-color-background-hover: var(--f-background-calendar-hover) !default;
|
|
9
|
+
$calendar-color-font-black: #1b1e23 !default;
|
|
10
|
+
$calendar-color-border-primary: #767676 !default;
|
|
11
|
+
$calendar-color-border-secondary: #dddddd !default;
|
|
12
|
+
$calendar-color-border-tertiary: #adadad !default;
|
|
13
|
+
$calendar-color-monthitem-circle: #ccc !default;
|
|
14
|
+
$calendar-color-dayitem-line: #99a2a2 !default;
|
|
15
|
+
$calendar-color-link: var(--f-text-color-link) !default;
|
|
16
|
+
$calendar-color-button-icon: var(--f-icon-color-primary) !default;
|
|
17
|
+
$calendar-color-tabs-selected: var(--f-background-tab-active) !default;
|
|
18
|
+
$calendar-color-tabs-unselected: var(--f-background-tab-inactive) !default;
|
|
19
|
+
$calendar-font-size: var(--f-font-size-standard) !default;
|
|
20
|
+
$calendar-font-size-small: 0.875rem !default;
|
|
21
|
+
$calendar-font-size-big: 1.125rem !default;
|
|
22
|
+
$calendar-font-size-added-day: 3rem !default;
|
|
23
|
+
$calendar-size-addedday-padding: 2.5rem !default;
|
|
24
|
+
$calendar-size-day: 2.75rem !default;
|
|
25
|
+
$calendar-size-day-responsive: 15% !default;
|
|
26
|
+
$calendar-size-number-circle: 1.6rem !default;
|
|
27
|
+
$calendar-size-month-item: 33% !default;
|
|
28
|
+
$calendar-size-padding: 0.25rem !default;
|
|
29
|
+
$calendar-size-padding-period: 1rem !default;
|
|
30
|
+
$calendar-size-padding-editbox: 1rem !default;
|
|
31
|
+
$calendar-size-padding-navbar: 0.5rem !default;
|
|
32
|
+
$calendar-size-calendar-margin-day: 0.05rem !default;
|
|
33
|
+
$calendar-size-calendar-margin-month: 0.25rem !default;
|
|
34
|
+
$calendar-size-tab-height: 4rem !default;
|
|
35
|
+
$calendar-size-addedmonth-padding: 0.75rem !default;
|
|
36
|
+
$calendar-size-daycount-padding: 1.5rem !default;
|
|
37
|
+
$calendar-border-size: 1px !default;
|
|
38
|
+
$calendar-editbox-border-size: 2px !default;
|
|
39
|
+
$calendar-editbox-border-size-arrow: calc(#{$calendar-editbox-border-size} + 1px) !default;
|
|
40
|
+
$calendar-border-size-middle: 2px !default;
|
|
41
|
+
$calendar-border-size-item: 2px !default;
|
|
42
|
+
$calendar-border-size-radius: 6px !default;
|
|
43
|
+
$calendar-arrow-size: 1.75rem !default;
|
|
44
|
+
$calendar-device-sm: 460px !default;
|
|
45
|
+
|
|
46
|
+
#{$CALENDAR_SELECTOR} {
|
|
47
|
+
font-size: $calendar-font-size;
|
|
48
|
+
display: inline-block;
|
|
49
|
+
width: 100%;
|
|
50
|
+
max-width: 27.5rem;
|
|
51
|
+
|
|
52
|
+
&__container {
|
|
53
|
+
background: $calendar-color-background-secondary;
|
|
54
|
+
margin-bottom: 1.5rem;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
button:focus {
|
|
58
|
+
z-index: 2;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__tabs {
|
|
62
|
+
position: relative;
|
|
63
|
+
height: $calendar-size-tab-height;
|
|
64
|
+
padding: 0;
|
|
65
|
+
margin: 0;
|
|
66
|
+
list-style: none;
|
|
67
|
+
|
|
68
|
+
&-tab {
|
|
69
|
+
width: calc(50% + #{$calendar-border-size});
|
|
70
|
+
color: $calendar-color-button-icon;
|
|
71
|
+
font-size: $calendar-font-size;
|
|
72
|
+
font-weight: bold;
|
|
73
|
+
border: $calendar-border-size solid $calendar-color-border-primary;
|
|
74
|
+
height: 100%;
|
|
75
|
+
position: absolute;
|
|
76
|
+
background: $calendar-color-tabs-unselected;
|
|
77
|
+
.button__icon {
|
|
78
|
+
width: #{$calendar-arrow-size};
|
|
79
|
+
height: #{$calendar-arrow-size};
|
|
80
|
+
margin-right: calc(#{$calendar-font-size} / 2);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.button__icon,
|
|
84
|
+
span {
|
|
85
|
+
display: inline-block;
|
|
86
|
+
vertical-align: middle;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
span {
|
|
90
|
+
max-width: 7rem;
|
|
91
|
+
text-align: left;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&--left {
|
|
95
|
+
left: 0;
|
|
96
|
+
box-shadow: inset -3px -1px 5px $calendar-color-border-tertiary;
|
|
97
|
+
}
|
|
98
|
+
&--right {
|
|
99
|
+
right: 0;
|
|
100
|
+
box-shadow: inset 3px -1px 5px $calendar-color-border-tertiary;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&--selected {
|
|
104
|
+
background: $calendar-color-tabs-selected;
|
|
105
|
+
z-index: 1;
|
|
106
|
+
border-bottom: 0;
|
|
107
|
+
box-shadow: unset;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&__period {
|
|
113
|
+
border: $calendar-border-size solid $calendar-color-border-primary;
|
|
114
|
+
border-top: 0;
|
|
115
|
+
padding: $calendar-size-padding-period;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
&__navbar {
|
|
119
|
+
text-align: center;
|
|
120
|
+
border-right: $calendar-border-size solid $calendar-color-border-primary;
|
|
121
|
+
border-left: $calendar-border-size solid $calendar-color-border-primary;
|
|
122
|
+
border-bottom-color: $calendar-color-border-secondary;
|
|
123
|
+
position: relative;
|
|
124
|
+
|
|
125
|
+
button,
|
|
126
|
+
.button {
|
|
127
|
+
font-size: 100%;
|
|
128
|
+
border: 0;
|
|
129
|
+
background-color: transparent;
|
|
130
|
+
|
|
131
|
+
&:hover,
|
|
132
|
+
&:focus {
|
|
133
|
+
color: $calendar-color-border-primary;
|
|
134
|
+
background-color: transparent;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
&-middle {
|
|
139
|
+
padding: calc(#{$calendar-size-padding-navbar} * 2);
|
|
140
|
+
position: relative;
|
|
141
|
+
color: $calendar-color-link;
|
|
142
|
+
|
|
143
|
+
span {
|
|
144
|
+
font-size: $calendar-font-size-big;
|
|
145
|
+
font-weight: bold;
|
|
146
|
+
border-bottom: $calendar-border-size-middle solid;
|
|
147
|
+
padding-bottom: $calendar-border-size-middle;
|
|
148
|
+
transition: all 0.15s ease-in-out;
|
|
149
|
+
|
|
150
|
+
&:hover {
|
|
151
|
+
padding-bottom: calc(#{$calendar-border-size-middle} * 2);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
&-arrow {
|
|
157
|
+
color: $calendar-color-border-primary;
|
|
158
|
+
position: absolute;
|
|
159
|
+
padding: 0 $calendar-size-padding-navbar;
|
|
160
|
+
height: 100%;
|
|
161
|
+
|
|
162
|
+
span,
|
|
163
|
+
.button__icon {
|
|
164
|
+
display: inline-block;
|
|
165
|
+
vertical-align: middle;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.button__icon {
|
|
169
|
+
color: $calendar-color-button-icon;
|
|
170
|
+
width: #{$calendar-arrow-size};
|
|
171
|
+
height: #{$calendar-arrow-size};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&--left {
|
|
175
|
+
left: 0;
|
|
176
|
+
text-align: left;
|
|
177
|
+
|
|
178
|
+
.button__icon {
|
|
179
|
+
transform: rotate(180deg);
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&--right {
|
|
184
|
+
right: 0;
|
|
185
|
+
text-align: right;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
&__monthview,
|
|
191
|
+
&__yearview {
|
|
192
|
+
padding: $calendar-size-padding;
|
|
193
|
+
border: $calendar-border-size solid $calendar-color-border-primary;
|
|
194
|
+
border-top: 0;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
&__row {
|
|
198
|
+
display: flex;
|
|
199
|
+
button,
|
|
200
|
+
.button {
|
|
201
|
+
&:focus,
|
|
202
|
+
&:hover {
|
|
203
|
+
color: #1b1e23;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&:focus {
|
|
207
|
+
background-color: $calendar-color-background-primary;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
&:hover {
|
|
211
|
+
background-color: $calendar-color-background-hover;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
&.calendar__item--added {
|
|
215
|
+
&:focus {
|
|
216
|
+
background-color: $calendar-color-highlight-primary;
|
|
217
|
+
color: $calendar-color-background-primary;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
&.calendar__item--selected {
|
|
222
|
+
&:focus {
|
|
223
|
+
background-color: #fff;
|
|
224
|
+
color: $calendar-color-highlight-primary;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&.calendar__item--added,
|
|
229
|
+
&.calendar__item--selected {
|
|
230
|
+
&:hover {
|
|
231
|
+
background-color: $calendar-color-background-hover;
|
|
232
|
+
color: $calendar-color-highlight-primary;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
&__item {
|
|
239
|
+
height: $calendar-size-day;
|
|
240
|
+
width: $calendar-size-day-responsive;
|
|
241
|
+
margin: $calendar-size-calendar-margin-day;
|
|
242
|
+
padding: 0;
|
|
243
|
+
border: $calendar-border-size-item solid transparent;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
&__item--week {
|
|
247
|
+
background-color: transparent;
|
|
248
|
+
border: 0 solid transparent;
|
|
249
|
+
font-size: $calendar-font-size;
|
|
250
|
+
text-align: center;
|
|
251
|
+
line-height: $calendar-size-day;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
&__item--date {
|
|
255
|
+
color: $calendar-color-font-black;
|
|
256
|
+
background-color: $calendar-color-background-primary;
|
|
257
|
+
font-weight: bold;
|
|
258
|
+
font-size: $calendar-font-size;
|
|
259
|
+
position: relative;
|
|
260
|
+
|
|
261
|
+
&:hover {
|
|
262
|
+
background-color: $calendar-color-background-hover;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
&__item--today {
|
|
267
|
+
.calendar__item__number {
|
|
268
|
+
background: $calendar-color-today;
|
|
269
|
+
color: $calendar-color-background-primary;
|
|
270
|
+
display: inline-block;
|
|
271
|
+
width: $calendar-size-number-circle;
|
|
272
|
+
line-height: $calendar-size-number-circle;
|
|
273
|
+
border-radius: $calendar-size-number-circle;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&.calendar__item--added,
|
|
277
|
+
&.calendar__item--selected {
|
|
278
|
+
.calendar__item__number {
|
|
279
|
+
width: calc(#{$calendar-size-number-circle} + 0.2rem);
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
&.calendar__item--added .calendar__item__number {
|
|
284
|
+
background: $calendar-color-highlight-primary;
|
|
285
|
+
border: $calendar-border-size-item solid $calendar-color-background-secondary;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
&.calendar__item--selected .calendar__item__number {
|
|
289
|
+
background: $calendar-color-background-secondary;
|
|
290
|
+
color: $calendar-color-highlight-primary;
|
|
291
|
+
border: $calendar-border-size-item solid $calendar-color-highlight-primary;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
&__item--added {
|
|
296
|
+
background-color: $calendar-color-highlight-primary;
|
|
297
|
+
color: $calendar-color-background-primary;
|
|
298
|
+
|
|
299
|
+
&:hover {
|
|
300
|
+
border-color: $calendar-color-highlight-primary;
|
|
301
|
+
color: $calendar-color-highlight-primary;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
&__item--selected {
|
|
306
|
+
background-color: $calendar-color-background-secondary;
|
|
307
|
+
border-color: $calendar-color-highlight-primary;
|
|
308
|
+
color: $calendar-color-highlight-primary;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
&__item--disabled {
|
|
312
|
+
color: $calendar-color-border-primary;
|
|
313
|
+
cursor: not-allowed;
|
|
314
|
+
|
|
315
|
+
&::before {
|
|
316
|
+
content: "";
|
|
317
|
+
position: absolute;
|
|
318
|
+
border-top: $calendar-border-size-item solid $calendar-color-dayitem-line;
|
|
319
|
+
top: 50%;
|
|
320
|
+
margin-left: 25%;
|
|
321
|
+
width: 50%;
|
|
322
|
+
left: 0;
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
&__item--disabled:hover {
|
|
327
|
+
background-color: $calendar-color-background-primary;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&__editbox {
|
|
331
|
+
border: $calendar-editbox-border-size solid $calendar-color-border-primary;
|
|
332
|
+
border-radius: $calendar-border-size-radius;
|
|
333
|
+
position: relative;
|
|
334
|
+
background-color: white;
|
|
335
|
+
margin-bottom: 1.5rem;
|
|
336
|
+
|
|
337
|
+
&::before,
|
|
338
|
+
&::after {
|
|
339
|
+
content: "";
|
|
340
|
+
display: block;
|
|
341
|
+
position: absolute;
|
|
342
|
+
left: calc(50% - 1rem);
|
|
343
|
+
width: 0;
|
|
344
|
+
height: 0;
|
|
345
|
+
border: $calendar-size-padding-editbox solid transparent;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
&::before {
|
|
349
|
+
bottom: 100%;
|
|
350
|
+
border-bottom-color: $calendar-color-border-primary;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
&::after {
|
|
354
|
+
bottom: calc(100% - #{$calendar-editbox-border-size-arrow});
|
|
355
|
+
border-bottom-color: $calendar-color-background-secondary;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
&-header {
|
|
359
|
+
text-align: center;
|
|
360
|
+
border-bottom: $calendar-border-size solid $calendar-color-border-primary;
|
|
361
|
+
padding: 1.5rem;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
&-content {
|
|
365
|
+
padding: $calendar-size-padding-editbox;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
&-submit-button {
|
|
370
|
+
margin-top: calc(#{$calendar-size-padding-editbox} * 2);
|
|
371
|
+
margin-bottom: $calendar-size-padding-editbox;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
&__month-item {
|
|
375
|
+
color: $calendar-color-font-black;
|
|
376
|
+
background-color: $calendar-color-background-primary;
|
|
377
|
+
border: $calendar-border-size-item solid transparent;
|
|
378
|
+
font-weight: bold;
|
|
379
|
+
font-size: $calendar-font-size-small;
|
|
380
|
+
width: $calendar-size-month-item;
|
|
381
|
+
height: $calendar-size-day;
|
|
382
|
+
margin: $calendar-size-calendar-margin-month;
|
|
383
|
+
padding: $calendar-size-padding calc(#{$calendar-size-padding} * 2);
|
|
384
|
+
display: inline-block;
|
|
385
|
+
text-align: left;
|
|
386
|
+
|
|
387
|
+
&:hover {
|
|
388
|
+
background-color: $calendar-color-background-hover;
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
&__month-item--name {
|
|
393
|
+
float: left;
|
|
394
|
+
text-align: center;
|
|
395
|
+
line-height: $calendar-size-number-circle;
|
|
396
|
+
|
|
397
|
+
&-sm {
|
|
398
|
+
display: none;
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
&__month-item--days {
|
|
403
|
+
float: right;
|
|
404
|
+
background: $calendar-color-monthitem-circle;
|
|
405
|
+
text-align: center;
|
|
406
|
+
width: $calendar-size-number-circle;
|
|
407
|
+
line-height: $calendar-size-number-circle;
|
|
408
|
+
border-radius: $calendar-size-number-circle;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
&__month-item--has-days {
|
|
412
|
+
border: $calendar-border-size-item solid $calendar-color-highlight-primary;
|
|
413
|
+
color: $calendar-color-highlight-primary;
|
|
414
|
+
|
|
415
|
+
.calendar__month-item--days {
|
|
416
|
+
background: $calendar-color-highlight-primary;
|
|
417
|
+
color: white;
|
|
418
|
+
}
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
&__addedmonth-wrapper {
|
|
422
|
+
background-color: $calendar-color-background-secondary;
|
|
423
|
+
border-radius: $calendar-border-size-radius;
|
|
424
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
425
|
+
}
|
|
426
|
+
|
|
427
|
+
&__addedmonth {
|
|
428
|
+
border-top: $calendar-border-size solid $calendar-color-border-primary;
|
|
429
|
+
&-header {
|
|
430
|
+
display: flex;
|
|
431
|
+
flex-wrap: wrap;
|
|
432
|
+
padding: 0.5rem;
|
|
433
|
+
&-edit {
|
|
434
|
+
margin-left: auto;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
&-expand {
|
|
438
|
+
margin-right: auto;
|
|
439
|
+
font-size: 1rem;
|
|
440
|
+
background: none;
|
|
441
|
+
border: none;
|
|
442
|
+
cursor: pointer;
|
|
443
|
+
|
|
444
|
+
&:hover,
|
|
445
|
+
&:focus {
|
|
446
|
+
background-color: #fff;
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
&-expand-icon {
|
|
451
|
+
display: inline-block;
|
|
452
|
+
position: relative;
|
|
453
|
+
width: 2rem;
|
|
454
|
+
height: 2rem;
|
|
455
|
+
border-radius: 50%;
|
|
456
|
+
background-color: $calendar-color-highlight-primary;
|
|
457
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
|
|
458
|
+
|
|
459
|
+
&::before,
|
|
460
|
+
&::after {
|
|
461
|
+
content: " ";
|
|
462
|
+
display: block;
|
|
463
|
+
position: absolute;
|
|
464
|
+
top: 50%;
|
|
465
|
+
left: 50%;
|
|
466
|
+
transform: translate(-50%, -50%);
|
|
467
|
+
background-color: #fff;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
&::before {
|
|
471
|
+
width: 1rem;
|
|
472
|
+
height: 0.125rem;
|
|
473
|
+
transition: all 0.5s ease;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
&::after {
|
|
477
|
+
width: 1rem;
|
|
478
|
+
height: 0.125rem;
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
&-expand-text {
|
|
483
|
+
color: $calendar-color-font-black;
|
|
484
|
+
display: inline-block;
|
|
485
|
+
font-weight: normal;
|
|
486
|
+
padding-left: $calendar-size-padding;
|
|
487
|
+
text-align: left;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
&-expand-days {
|
|
491
|
+
display: block;
|
|
492
|
+
font-weight: bold;
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
&-collapsable {
|
|
497
|
+
display: block;
|
|
498
|
+
height: auto;
|
|
499
|
+
transition: height 0.4s cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
&--collapsed {
|
|
503
|
+
.calendar__addedmonth-header-expand-icon::before {
|
|
504
|
+
transform: translate(-50%, -50%) rotate(90deg);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.calendar__addedmonth-collapsable {
|
|
508
|
+
overflow: hidden;
|
|
509
|
+
height: 0;
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
.button--discrete {
|
|
514
|
+
margin-bottom: 0;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.button__icon {
|
|
518
|
+
color: $calendar-color-link;
|
|
519
|
+
}
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
&__addedmonth:first-child {
|
|
523
|
+
border-top: none;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
&__addedsummary {
|
|
527
|
+
margin-bottom: size.$margin-150;
|
|
528
|
+
|
|
529
|
+
&-days {
|
|
530
|
+
text-align: center;
|
|
531
|
+
background-color: $calendar-color-background-secondary;
|
|
532
|
+
padding: size.$padding-150;
|
|
533
|
+
margin-bottom: size.$margin-150;
|
|
534
|
+
border-radius: $calendar-border-size-radius;
|
|
535
|
+
font-size: $calendar-font-size-big;
|
|
536
|
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
&__addedday {
|
|
541
|
+
border-top: $calendar-border-size solid $calendar-color-border-tertiary;
|
|
542
|
+
position: relative;
|
|
543
|
+
width: 100%;
|
|
544
|
+
display: flex;
|
|
545
|
+
|
|
546
|
+
&-date {
|
|
547
|
+
background-color: $calendar-color-background-primary;
|
|
548
|
+
color: $calendar-color-highlight-primary;
|
|
549
|
+
text-align: center;
|
|
550
|
+
padding: 10px;
|
|
551
|
+
min-width: 90px;
|
|
552
|
+
|
|
553
|
+
&-day {
|
|
554
|
+
font-weight: bold;
|
|
555
|
+
font-size: $calendar-font-size-added-day;
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
&-content {
|
|
560
|
+
padding: 0.5rem;
|
|
561
|
+
display: flex;
|
|
562
|
+
flex-direction: column;
|
|
563
|
+
justify-content: space-between;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
&-text {
|
|
567
|
+
margin-bottom: 1rem;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
&__addedmonth-collapsable > div:first-child .calendar__addedday {
|
|
572
|
+
border-top: $calendar-border-size solid $calendar-color-border-primary;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
&__collapsed {
|
|
576
|
+
visibility: hidden;
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
@media (max-width: $calendar-device-sm) {
|
|
580
|
+
&__tabs {
|
|
581
|
+
height: calc(#{$calendar-size-tab-height} + 1rem);
|
|
582
|
+
|
|
583
|
+
&-tab {
|
|
584
|
+
span {
|
|
585
|
+
text-align: center;
|
|
586
|
+
}
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
&__monthview,
|
|
591
|
+
&__yearview {
|
|
592
|
+
padding: 0;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
&__item--week:first-child {
|
|
596
|
+
display: none;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
&__month-item--name-lg {
|
|
600
|
+
display: none;
|
|
601
|
+
}
|
|
602
|
+
&__month-item--name-sm {
|
|
603
|
+
display: inline-block;
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
@media (max-width: 355px) {
|
|
608
|
+
&__tabs {
|
|
609
|
+
height: calc(#{$calendar-size-tab-height} + 2rem);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
&__navbar-arrow--month {
|
|
613
|
+
span {
|
|
614
|
+
display: none;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
&--hide-tabs {
|
|
620
|
+
#{$CALENDAR_SELECTOR}__tabs {
|
|
621
|
+
display: none;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
#{$CALENDAR_SELECTOR}__navbar {
|
|
625
|
+
border-top: $calendar-border-size solid $calendar-color-border-primary;
|
|
626
|
+
}
|
|
627
|
+
}
|
|
628
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/utils/functions" as *;
|
|
3
|
+
|
|
4
|
+
$CARD_SELECTOR: ".card" !default;
|
|
5
|
+
|
|
6
|
+
#{$CARD_SELECTOR} {
|
|
7
|
+
padding: densify(size.$padding-100) size.$padding-100;
|
|
8
|
+
margin: densify(size.$margin-100) 0;
|
|
9
|
+
|
|
10
|
+
&--default {
|
|
11
|
+
border-radius: var(--f-border-radius-medium);
|
|
12
|
+
border: var(--f-border-width-medium) solid var(--f-border-color-card);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&__content {
|
|
16
|
+
> p,
|
|
17
|
+
> div {
|
|
18
|
+
&:last-child {
|
|
19
|
+
margin-bottom: 0;
|
|
20
|
+
|
|
21
|
+
> *:last-child {
|
|
22
|
+
// Disable eventually margin from vue-components (wraps all components in an extra div)
|
|
23
|
+
margin-bottom: 0;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&__header {
|
|
30
|
+
&-label {
|
|
31
|
+
color: var(--f-text-color-default);
|
|
32
|
+
font-size: var(--f-font-size-large);
|
|
33
|
+
font-weight: var(--f-font-weight-bold);
|
|
34
|
+
line-height: var(--f-line-height-large);
|
|
35
|
+
margin-bottom: densify(size.$margin-025);
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__footer {
|
|
41
|
+
padding-top: densify(size.$padding-125);
|
|
42
|
+
|
|
43
|
+
> .button-group {
|
|
44
|
+
margin-bottom: 0;
|
|
45
|
+
|
|
46
|
+
.button-group__item {
|
|
47
|
+
margin-bottom: 0 !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use ".././radio-button/item";
|
|
3
|
+
|
|
4
|
+
$CHECKBOX_GROUP_SELECTOR: ".checkbox-group" !default;
|
|
5
|
+
|
|
6
|
+
#{$CHECKBOX_GROUP_SELECTOR} {
|
|
7
|
+
&__content {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
}
|
|
11
|
+
&--border {
|
|
12
|
+
#{$CHECKBOX_GROUP_SELECTOR}__content {
|
|
13
|
+
.checkbox {
|
|
14
|
+
@extend %selectable-item;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|