@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,88 @@
|
|
|
1
|
+
@use "../../core/config-variables";
|
|
2
|
+
@use "../../core/size";
|
|
3
|
+
|
|
4
|
+
h1,
|
|
5
|
+
h2,
|
|
6
|
+
h3,
|
|
7
|
+
h4,
|
|
8
|
+
h5,
|
|
9
|
+
h6 {
|
|
10
|
+
font-weight: var(--f-font-weight-bold);
|
|
11
|
+
margin-bottom: size.$margin-025;
|
|
12
|
+
line-height: var(--f-line-height-medium);
|
|
13
|
+
}
|
|
14
|
+
h1 {
|
|
15
|
+
font-size: var(--f-font-size-h1);
|
|
16
|
+
color: var(--f-text-color-heading-1);
|
|
17
|
+
}
|
|
18
|
+
h2 {
|
|
19
|
+
font-size: var(--f-font-size-h2);
|
|
20
|
+
color: var(--f-text-color-heading-2);
|
|
21
|
+
}
|
|
22
|
+
h3 {
|
|
23
|
+
font-size: var(--f-font-size-h3);
|
|
24
|
+
color: var(--f-text-color-heading-3);
|
|
25
|
+
}
|
|
26
|
+
h4 {
|
|
27
|
+
font-size: var(--f-font-size-h4);
|
|
28
|
+
color: var(--f-text-color-heading-4);
|
|
29
|
+
}
|
|
30
|
+
h5 {
|
|
31
|
+
font-size: var(--f-font-size-large);
|
|
32
|
+
color: var(--f-text-color-heading-5);
|
|
33
|
+
}
|
|
34
|
+
h6 {
|
|
35
|
+
font-size: var(--f-font-size-standard);
|
|
36
|
+
color: var(--f-text-color-heading-6);
|
|
37
|
+
}
|
|
38
|
+
.heading--strong {
|
|
39
|
+
font-size: var(--f-font-size-large);
|
|
40
|
+
font-weight: var(--f-font-weight-medium);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
* + h1,
|
|
44
|
+
* + h2,
|
|
45
|
+
* + h3,
|
|
46
|
+
* + h4,
|
|
47
|
+
* + h5,
|
|
48
|
+
* + h6 {
|
|
49
|
+
margin-top: size.$margin-200;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
@media (max-width: config-variables.$f-breakpoint-medium) {
|
|
53
|
+
h1 {
|
|
54
|
+
font-size: var(--f-font-size-h2);
|
|
55
|
+
}
|
|
56
|
+
h2 {
|
|
57
|
+
font-size: var(--f-font-size-xxx-large);
|
|
58
|
+
}
|
|
59
|
+
h3 {
|
|
60
|
+
font-size: var(--f-font-size-h4);
|
|
61
|
+
}
|
|
62
|
+
h4 {
|
|
63
|
+
font-size: var(--f-font-size-large);
|
|
64
|
+
}
|
|
65
|
+
h5 {
|
|
66
|
+
font-size: var(--f-font-size-standard);
|
|
67
|
+
}
|
|
68
|
+
h6 {
|
|
69
|
+
font-size: var(--f-font-size-standard);
|
|
70
|
+
}
|
|
71
|
+
.heading--strong {
|
|
72
|
+
font-size: var(--f-font-size-large);
|
|
73
|
+
font-weight: var(--f-font-weight-medium);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@for $i from 1 through 6 {
|
|
78
|
+
.heading--h#{$i} {
|
|
79
|
+
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
80
|
+
@extend h#{$i};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@for $i from 1 through 5 {
|
|
85
|
+
h#{$i} + h#{$i + 1} {
|
|
86
|
+
margin-top: size.$margin-100;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@forward "functions";
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
@use "sass:list";
|
|
2
|
+
@use "sass:map";
|
|
3
|
+
@use "sass:math";
|
|
4
|
+
@use "../../core/config-variables";
|
|
5
|
+
|
|
6
|
+
// Expands a shorthand value:
|
|
7
|
+
// 10px -> 10px 10px 10px 10px
|
|
8
|
+
// 10px 20px -> 10px 20px 10px 20px
|
|
9
|
+
// 10px 20px 30px -> 10px 20px 30px 20px
|
|
10
|
+
// 10px 20px 30px 40px -> 10px 20px 30px 40px
|
|
11
|
+
@function fk-expand-shorthand($val) {
|
|
12
|
+
@if list.length($val) == 1 {
|
|
13
|
+
@return $val $val $val $val;
|
|
14
|
+
} @else if list.length($val) == 2 {
|
|
15
|
+
@return list.nth($val, 1) list.nth($val, 2) list.nth($val, 1) list.nth($val, 2);
|
|
16
|
+
} @else if list.length($val) == 3 {
|
|
17
|
+
@return list.nth($val, 1) list.nth($val, 2) list.nth($val, 3) list.nth($val, 2);
|
|
18
|
+
} @else {
|
|
19
|
+
@return $val;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@function strip-unit($value) {
|
|
24
|
+
@return math.div($value, $value * 0 + 1);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
@function get-min-for($key) {
|
|
28
|
+
$value: map.get(config-variables.$f-breakpoints, $key);
|
|
29
|
+
@return if($value != 0, $value, null);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
@function get-max-for($key) {
|
|
33
|
+
$breakpoint-keys: map.keys(config-variables.$f-breakpoints);
|
|
34
|
+
$index: list.index($breakpoint-keys, $key);
|
|
35
|
+
$next: if($index < list.length($breakpoint-keys), list.nth($breakpoint-keys, $index + 1), null);
|
|
36
|
+
@return if($next, get-min-for($next) - 0.02px, null);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@function densify($value) {
|
|
40
|
+
@return calc($value * var(--f-density-factor));
|
|
41
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "fkui";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@use "./fkui";
|
package/src/fkui.scss
ADDED
package/src/fonts.scss
ADDED
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/mixins/breakpoints";
|
|
3
|
+
@import "../../core/config-variables";
|
|
4
|
+
|
|
5
|
+
$IFLEX_SELECTOR: ".iflex" !default;
|
|
6
|
+
$iflex-base-gap: 0.25rem;
|
|
7
|
+
|
|
8
|
+
%iflex {
|
|
9
|
+
display: flex;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@for $i from 1 through 8 {
|
|
13
|
+
%iflex--gap-#{$i}x {
|
|
14
|
+
margin-left: -$iflex-base-gap * $i;
|
|
15
|
+
margin-right: -$iflex-base-gap * $i;
|
|
16
|
+
|
|
17
|
+
%iflex__item {
|
|
18
|
+
padding-left: $iflex-base-gap * $i;
|
|
19
|
+
padding-right: $iflex-base-gap * $i;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
%iflex__item {
|
|
25
|
+
flex: 1 0 0%;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
%iflex--grow {
|
|
29
|
+
flex: 1 1 auto;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
%iflex--shrink {
|
|
33
|
+
flex: 0 1 auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
%iflex--align-top {
|
|
37
|
+
align-self: flex-start;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
%iflex--align-center {
|
|
41
|
+
align-self: center;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
%iflex--align-bottom {
|
|
45
|
+
align-self: flex-end;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#{$IFLEX_SELECTOR} {
|
|
49
|
+
@extend %iflex;
|
|
50
|
+
|
|
51
|
+
&__item {
|
|
52
|
+
@extend %iflex__item;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&--grow {
|
|
56
|
+
@extend %iflex--grow;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--shrink {
|
|
60
|
+
@extend %iflex--shrink;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
@for $i from 1 through 8 {
|
|
64
|
+
&--gap-#{$i}x {
|
|
65
|
+
@extend %iflex--gap-#{$i}x;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&--align-top {
|
|
70
|
+
@extend %iflex--align-top;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--align-center {
|
|
74
|
+
@extend %iflex--align-center;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&--align-bottom {
|
|
78
|
+
@extend %iflex--align-bottom;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
#{$IFLEX_SELECTOR}--collapse {
|
|
83
|
+
@include breakpoints.breakpoint-down(sm) {
|
|
84
|
+
display: block;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
#{$IFLEX_SELECTOR}--wrap {
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
#{$IFLEX_SELECTOR}--float-right {
|
|
93
|
+
justify-content: flex-end;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
#{$IFLEX_SELECTOR}--float-center {
|
|
97
|
+
justify-content: center;
|
|
98
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/mixins/breakpoints";
|
|
3
|
+
@import "../../core/config-variables";
|
|
4
|
+
|
|
5
|
+
$IMENU_SELECTOR: ".imenu" !default;
|
|
6
|
+
|
|
7
|
+
#{$IMENU_SELECTOR} {
|
|
8
|
+
background-color: var(--f-background-menu);
|
|
9
|
+
|
|
10
|
+
&__list {
|
|
11
|
+
margin: 0;
|
|
12
|
+
padding: 0;
|
|
13
|
+
|
|
14
|
+
&__item {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
list-style-type: none;
|
|
17
|
+
white-space: nowrap;
|
|
18
|
+
|
|
19
|
+
a,
|
|
20
|
+
a:visited,
|
|
21
|
+
a:active {
|
|
22
|
+
color: var(--f-text-color-menu);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
a:hover {
|
|
26
|
+
color: var(--f-text-color-menu-hover);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
#{$IMENU_SELECTOR}--vertical {
|
|
33
|
+
.imenu__list {
|
|
34
|
+
display: block;
|
|
35
|
+
|
|
36
|
+
&__item {
|
|
37
|
+
padding: size.$padding-075;
|
|
38
|
+
display: block;
|
|
39
|
+
|
|
40
|
+
&:hover {
|
|
41
|
+
font-weight: var(--f-font-weight-normal);
|
|
42
|
+
background-color: var(--f-background-menu-vertical-hover);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&--highlight {
|
|
46
|
+
background-color: var(--f-background-menu-vertical-highlight);
|
|
47
|
+
font-weight: var(--f-font-weight-medium);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&--highlight:hover {
|
|
51
|
+
font-weight: var(--f-font-weight-medium);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
#{$IMENU_SELECTOR}--horizontal {
|
|
58
|
+
overflow: hidden;
|
|
59
|
+
|
|
60
|
+
.imenu__list {
|
|
61
|
+
display: flex;
|
|
62
|
+
|
|
63
|
+
&__item {
|
|
64
|
+
display: inline-flex;
|
|
65
|
+
padding-top: size.$padding-100;
|
|
66
|
+
padding-left: size.$padding-075;
|
|
67
|
+
padding-right: size.$padding-075;
|
|
68
|
+
|
|
69
|
+
&--highlight {
|
|
70
|
+
color: var(--f-text-color-menu-horizontal-highlight);
|
|
71
|
+
font-weight: var(--f-font-weight-medium);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__anchor-container {
|
|
76
|
+
padding-bottom: size.$padding-050;
|
|
77
|
+
border-bottom: 5px solid transparent;
|
|
78
|
+
|
|
79
|
+
&--highlight {
|
|
80
|
+
border-bottom: 5px solid var(--f-border-color-menu-horizontal-highlight);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
border-bottom: 5px solid var(--f-border-color-menu-horizontal-hover);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&__anchor {
|
|
89
|
+
display: inline-flex;
|
|
90
|
+
|
|
91
|
+
&--highlight:hover {
|
|
92
|
+
font-weight: var(--f-font-weight-medium);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&-icon-right {
|
|
96
|
+
flex: 1 0 auto;
|
|
97
|
+
padding-top: size.$padding-025;
|
|
98
|
+
color: var(--f-border-color-menu-horizontal-highlight);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&-span {
|
|
102
|
+
padding-right: size.$padding-075;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/mixins/breakpoints";
|
|
3
|
+
@import "../../core/config-variables";
|
|
4
|
+
|
|
5
|
+
$IPOPUPMENU_SELECTOR: ".ipopupmenu" !default;
|
|
6
|
+
|
|
7
|
+
#{$IPOPUPMENU_SELECTOR} {
|
|
8
|
+
background-color: var(--f-background-popupmenu);
|
|
9
|
+
|
|
10
|
+
&__list {
|
|
11
|
+
margin: 0;
|
|
12
|
+
border: 1px solid var(--f-border-color-popupmenu);
|
|
13
|
+
padding: size.$padding-050;
|
|
14
|
+
|
|
15
|
+
&__item {
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
list-style-type: none;
|
|
18
|
+
white-space: nowrap;
|
|
19
|
+
|
|
20
|
+
a,
|
|
21
|
+
a:visited,
|
|
22
|
+
a:active {
|
|
23
|
+
color: var(--f-text-color-popupmenu);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
a:hover {
|
|
27
|
+
color: var(--f-text-color-popupmenu-hover);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
#{$IPOPUPMENU_SELECTOR}--vertical {
|
|
34
|
+
.ipopupmenu__list {
|
|
35
|
+
display: block;
|
|
36
|
+
|
|
37
|
+
&__item {
|
|
38
|
+
padding: size.$padding-075;
|
|
39
|
+
display: block;
|
|
40
|
+
&:hover {
|
|
41
|
+
background-color: var(--f-background-popupmenu-vertical-hover);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--highlight {
|
|
45
|
+
background-color: var(--f-background-popupmenu-vertical-highlight);
|
|
46
|
+
font-weight: var(--f-font-weight-medium);
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@import "../../core/config-variables";
|
|
3
|
+
|
|
4
|
+
$ISKIPLINK_SELECTOR: ".iskiplink" !default;
|
|
5
|
+
|
|
6
|
+
#{$ISKIPLINK_SELECTOR} {
|
|
7
|
+
position: absolute;
|
|
8
|
+
top: -200px;
|
|
9
|
+
|
|
10
|
+
&:focus {
|
|
11
|
+
color: black;
|
|
12
|
+
background-color: var(--f-background-skiplink-focus);
|
|
13
|
+
left: 10px;
|
|
14
|
+
top: 45px;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* stylelint-disable no-invalid-position-at-import-rule -- technical debt */
|
|
2
|
+
@forward "IFlex/iflex";
|
|
3
|
+
@import "IMenu/imenu";
|
|
4
|
+
@import "IPopupMenu/ipopupmenu";
|
|
5
|
+
@import "popup/popup";
|
|
6
|
+
@import "animate-expand/animate-expand";
|
|
7
|
+
@import "ISkipLink/iskiplink";
|
|
8
|
+
@import "calendar/calendar";
|
|
9
|
+
@import "calendar-month/month";
|
|
10
|
+
@import "calendar-navbar/navbar";
|
|
11
|
+
@import "popupError/popuperror";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
$ANIMATE_EXPAND_SELECTOR: ".animate-expand" !default;
|
|
2
|
+
|
|
3
|
+
#{$ANIMATE_EXPAND_SELECTOR} {
|
|
4
|
+
transition: var(--f-animation-expand-close);
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
visibility: hidden;
|
|
7
|
+
|
|
8
|
+
&--expanded {
|
|
9
|
+
transition: var(--f-animation-expand-open);
|
|
10
|
+
opacity: 1;
|
|
11
|
+
visibility: visible;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&--opacity {
|
|
15
|
+
opacity: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use "../../components/z-index";
|
|
2
|
+
|
|
3
|
+
$MONTH_SELECTOR: ".calendar-month" !default;
|
|
4
|
+
$days: 7;
|
|
5
|
+
$week-width: 2%;
|
|
6
|
+
$day-width: calc((100% - $week-width) / $days);
|
|
7
|
+
|
|
8
|
+
#{$MONTH_SELECTOR} {
|
|
9
|
+
&__table {
|
|
10
|
+
border-spacing: 2px;
|
|
11
|
+
padding: 0 0.5rem 1rem;
|
|
12
|
+
width: 100%;
|
|
13
|
+
border-collapse: separate;
|
|
14
|
+
border: none;
|
|
15
|
+
margin: 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__col--week {
|
|
19
|
+
width: #{$week-width};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__col--day {
|
|
23
|
+
width: #{$day-width};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__header-cell {
|
|
27
|
+
padding: 0.5rem 0;
|
|
28
|
+
text-align: center;
|
|
29
|
+
background-color: white;
|
|
30
|
+
|
|
31
|
+
abbr {
|
|
32
|
+
font-weight: var(--f-font-weight-normal);
|
|
33
|
+
text-decoration: none;
|
|
34
|
+
border-bottom: none;
|
|
35
|
+
text-transform: none;
|
|
36
|
+
font-size: 1rem;
|
|
37
|
+
cursor: auto;
|
|
38
|
+
color: var(--f-text-color-weekday-weeknumber);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__cell {
|
|
43
|
+
height: 2.75rem;
|
|
44
|
+
padding: 0;
|
|
45
|
+
background: white;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__cell--week-number {
|
|
49
|
+
vertical-align: middle;
|
|
50
|
+
padding-right: 0.25rem;
|
|
51
|
+
text-align: right;
|
|
52
|
+
min-width: 2rem;
|
|
53
|
+
color: var(--f-text-color-weekday-weeknumber);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&__button {
|
|
57
|
+
appearance: none;
|
|
58
|
+
border: 0;
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
padding: 0;
|
|
61
|
+
width: 100%;
|
|
62
|
+
background-color: var(--f-background-month);
|
|
63
|
+
font-size: 1rem;
|
|
64
|
+
|
|
65
|
+
&:focus {
|
|
66
|
+
position: relative;
|
|
67
|
+
z-index: z-index.$CALENDAR_MONTH;
|
|
68
|
+
|
|
69
|
+
&[tabindex="-1"] {
|
|
70
|
+
box-shadow: var(--f-focus-box-shadow);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
$CALENDAR_NAVBAR_SELECTOR: ".calendar-navbar" !default;
|
|
2
|
+
$calendar-icon-padding: 5px;
|
|
3
|
+
$calendar-icon-disabled-border-width: 1px;
|
|
4
|
+
$calendar-icon-disabled-padding: calc($calendar-icon-padding - $calendar-icon-disabled-border-width);
|
|
5
|
+
|
|
6
|
+
#{$CALENDAR_NAVBAR_SELECTOR} {
|
|
7
|
+
display: flex;
|
|
8
|
+
flex-direction: row;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
align-items: center;
|
|
11
|
+
text-align: center;
|
|
12
|
+
border-bottom: 1px solid var(--f-border-color-calendar-navbar);
|
|
13
|
+
padding: 1rem;
|
|
14
|
+
margin-bottom: 0.75rem;
|
|
15
|
+
font-size: var(--f-font-size-h4);
|
|
16
|
+
|
|
17
|
+
&__month {
|
|
18
|
+
order: 2;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__arrow--previous {
|
|
22
|
+
order: 1;
|
|
23
|
+
transform: scaleX(-1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__arrow--next {
|
|
27
|
+
order: 3;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__icon {
|
|
31
|
+
color: var(--f-icon-color-white);
|
|
32
|
+
background-color: var(--f-icon-color-primary);
|
|
33
|
+
width: var(--f-icon-size-large);
|
|
34
|
+
height: var(--f-icon-size-large);
|
|
35
|
+
padding: $calendar-icon-padding;
|
|
36
|
+
border-radius: 50%;
|
|
37
|
+
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
|
|
38
|
+
|
|
39
|
+
&--disabled {
|
|
40
|
+
color: var(--f-icon-color-discrete);
|
|
41
|
+
background-color: var(--f-icon-color-white);
|
|
42
|
+
padding: $calendar-icon-disabled-padding;
|
|
43
|
+
border: $calendar-icon-disabled-border-width solid var(--f-border-color-calendar-navbar);
|
|
44
|
+
box-shadow: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__arrow {
|
|
49
|
+
padding: 0;
|
|
50
|
+
display: flex;
|
|
51
|
+
border: none;
|
|
52
|
+
background-color: transparent;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../components/z-index";
|
|
3
|
+
@import "../../core/config-variables";
|
|
4
|
+
|
|
5
|
+
$POPUP_SELECTOR: ".popup" !default;
|
|
6
|
+
|
|
7
|
+
#{$POPUP_SELECTOR} {
|
|
8
|
+
&--overlay {
|
|
9
|
+
position: absolute;
|
|
10
|
+
|
|
11
|
+
// Place popup at the top as default so it doesn't affect
|
|
12
|
+
// the page height when teleporting to bottom of body.
|
|
13
|
+
top: 0;
|
|
14
|
+
|
|
15
|
+
#{$POPUP_SELECTOR}__wrapper {
|
|
16
|
+
left: -10000px;
|
|
17
|
+
max-width: fit-content;
|
|
18
|
+
border-radius: var(--f-border-radius-small);
|
|
19
|
+
position: absolute;
|
|
20
|
+
z-index: z-index.$POPUP_ZINDEX;
|
|
21
|
+
box-shadow: var(--f-box-modal-shadow);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--inline {
|
|
26
|
+
position: static;
|
|
27
|
+
|
|
28
|
+
#{$POPUP_SELECTOR}__wrapper {
|
|
29
|
+
box-sizing: border-box;
|
|
30
|
+
margin-top: size.$margin-050;
|
|
31
|
+
margin-bottom: size.$margin-050;
|
|
32
|
+
position: static;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|