@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,97 @@
|
|
|
1
|
+
@use "../../core/config-variables";
|
|
2
|
+
@use "../../core/size";
|
|
3
|
+
@use "../../core/mixins/circle" as *;
|
|
4
|
+
@use "../../core/utils/functions" as *;
|
|
5
|
+
|
|
6
|
+
$EXPANDABLE_PARAGRAPH_SELECTOR: ".expandable-paragraph" !default;
|
|
7
|
+
$ICON_WIDTH: var(--f-icon-size-small);
|
|
8
|
+
$ICON_MARGIN: 0.5rem;
|
|
9
|
+
$CONTENT_MARGIN: calc(#{$ICON_WIDTH} + #{$ICON_MARGIN});
|
|
10
|
+
$EXPANDABLE_PARAGRAPH_LINE_HEIGHT: var(--f-line-height-medium);
|
|
11
|
+
|
|
12
|
+
#{$EXPANDABLE_PARAGRAPH_SELECTOR} {
|
|
13
|
+
margin: 0 0 densify(var(--f-margin-component-bottom));
|
|
14
|
+
&__heading {
|
|
15
|
+
line-height: $EXPANDABLE_PARAGRAPH_LINE_HEIGHT;
|
|
16
|
+
margin: 0;
|
|
17
|
+
|
|
18
|
+
button {
|
|
19
|
+
border: none;
|
|
20
|
+
background-color: transparent;
|
|
21
|
+
cursor: pointer;
|
|
22
|
+
margin: 0;
|
|
23
|
+
display: flex;
|
|
24
|
+
text-align: left;
|
|
25
|
+
padding: 0;
|
|
26
|
+
flex-shrink: 0;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__icon {
|
|
31
|
+
@include circle($background: var(--f-icon-color-expandable-paragraph), $size: $ICON_WIDTH);
|
|
32
|
+
|
|
33
|
+
margin-top: calc((#{$EXPANDABLE_PARAGRAPH_LINE_HEIGHT} * 1em - #{$ICON_WIDTH}) / 2); // Unit "em" intended here, align icon to header
|
|
34
|
+
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
|
|
35
|
+
display: flex;
|
|
36
|
+
color: var(--f-icon-color-white);
|
|
37
|
+
padding: 3px; // cross icon size
|
|
38
|
+
flex-shrink: 0; // needed for IE11
|
|
39
|
+
margin-right: $ICON_MARGIN;
|
|
40
|
+
|
|
41
|
+
.icon {
|
|
42
|
+
transition: transform var(--f-animation-duration-long) ease;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&#{$EXPANDABLE_PARAGRAPH_SELECTOR}--open {
|
|
47
|
+
#{$EXPANDABLE_PARAGRAPH_SELECTOR}__icon {
|
|
48
|
+
svg:nth-child(2) {
|
|
49
|
+
transform: rotate(0);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
#{$EXPANDABLE_PARAGRAPH_SELECTOR}__container {
|
|
54
|
+
height: auto;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&#{$EXPANDABLE_PARAGRAPH_SELECTOR}--closed {
|
|
59
|
+
#{$EXPANDABLE_PARAGRAPH_SELECTOR}__icon {
|
|
60
|
+
svg:nth-child(2) {
|
|
61
|
+
transform: rotate(-90deg);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&__container {
|
|
67
|
+
height: 0;
|
|
68
|
+
overflow: hidden;
|
|
69
|
+
transition: height var(--f-animation-duration-medium) cubic-bezier(0.46, 0.03, 0.52, 0.96);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__content,
|
|
73
|
+
&__related-information {
|
|
74
|
+
margin-left: $CONTENT_MARGIN;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__related-information {
|
|
78
|
+
color: var(--f-text-color-discrete);
|
|
79
|
+
font-size: 0.875rem;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&__content {
|
|
83
|
+
margin-top: densify(size.$margin-075);
|
|
84
|
+
margin-bottom: densify(size.$margin-100);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
&__separator {
|
|
88
|
+
border-bottom: var(--f-border-width-medium) solid var(--f-border-color-separator);
|
|
89
|
+
margin: 0 $ICON_MARGIN densify(size.$margin-050) $ICON_MARGIN;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
&--list {
|
|
93
|
+
margin-bottom: densify(size.$margin-050);
|
|
94
|
+
padding-bottom: densify(size.$padding-050);
|
|
95
|
+
border-bottom: var(--f-border-width-small) solid var(--f-border-color-separator);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@use "../../core/config-variables";
|
|
2
|
+
@use "../../core/size";
|
|
3
|
+
@use "../../core/utils/functions" as *;
|
|
4
|
+
|
|
5
|
+
$FIELDSET_SELECTOR: ".fieldset" !default;
|
|
6
|
+
|
|
7
|
+
#{$FIELDSET_SELECTOR} {
|
|
8
|
+
border: 0;
|
|
9
|
+
margin: 0 0 densify(var(--f-margin-component-bottom));
|
|
10
|
+
padding: 0;
|
|
11
|
+
width: var(--f-width-full);
|
|
12
|
+
|
|
13
|
+
&__label {
|
|
14
|
+
padding: 0;
|
|
15
|
+
margin-bottom: densify(size.$margin-075);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__content {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
@use "../anchor/anchor";
|
|
2
|
+
@use "../../core/size";
|
|
3
|
+
|
|
4
|
+
$FILE_ITEM_SELECTOR: ".file-item" !default;
|
|
5
|
+
$FILE_LIST_ITEM_SELECTOR: ".file-item-list" !default;
|
|
6
|
+
|
|
7
|
+
#{$FILE_LIST_ITEM_SELECTOR} {
|
|
8
|
+
list-style-type: none;
|
|
9
|
+
padding-left: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
#{$FILE_ITEM_SELECTOR} {
|
|
13
|
+
.button--discrete {
|
|
14
|
+
padding: 0;
|
|
15
|
+
min-width: auto;
|
|
16
|
+
text-align: left;
|
|
17
|
+
margin-right: size.$margin-025;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__row {
|
|
21
|
+
margin-bottom: size.$margin-125;
|
|
22
|
+
display: flex;
|
|
23
|
+
justify-content: space-between;
|
|
24
|
+
align-items: center;
|
|
25
|
+
|
|
26
|
+
button,
|
|
27
|
+
a {
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__file-open {
|
|
33
|
+
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
34
|
+
@extend .anchor;
|
|
35
|
+
/* stylelint-disable-next-line scss/at-extend-no-missing-placeholder -- technical debt */
|
|
36
|
+
@extend .anchor--block;
|
|
37
|
+
|
|
38
|
+
flex: 0 1 auto;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
white-space: nowrap;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__file-remove {
|
|
44
|
+
flex: 0 0 auto;
|
|
45
|
+
|
|
46
|
+
svg {
|
|
47
|
+
color: var(--f-icon-color-primary);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__file-abort {
|
|
52
|
+
flex: 0 0 auto;
|
|
53
|
+
|
|
54
|
+
svg {
|
|
55
|
+
color: var(--f-icon-color-error);
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__change-info {
|
|
60
|
+
margin-top: calc(-1 * size.$margin-125);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&__file-name {
|
|
64
|
+
margin-left: size.$margin-025;
|
|
65
|
+
overflow-wrap: break-word;
|
|
66
|
+
white-space: normal;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
&__separator {
|
|
70
|
+
margin-bottom: size.$margin-125;
|
|
71
|
+
border: var(--f-border-width-medium) solid var(--f-border-color-separator);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__file-uploading {
|
|
75
|
+
.progress__meter--inprogress {
|
|
76
|
+
background: var(--f-background-progress-file-item-ongoing);
|
|
77
|
+
border: var(--f-border-width-small) solid var(--f-border-color-progress-file-item-ongoing);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
@use "../../core/mixins/focus" as *;
|
|
2
|
+
@use "../../core/mixins/sr-only" as *;
|
|
3
|
+
|
|
4
|
+
$FILE_SELECTOR_SELECTOR: ".file-selector" !default;
|
|
5
|
+
|
|
6
|
+
#{$FILE_SELECTOR_SELECTOR} {
|
|
7
|
+
svg {
|
|
8
|
+
color: var(--f-icon-color-primary);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
input[type="file"] {
|
|
12
|
+
@include sr-only;
|
|
13
|
+
|
|
14
|
+
&:focus + label {
|
|
15
|
+
@include focus-indicator;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
label {
|
|
20
|
+
cursor: pointer;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
input:disabled + label {
|
|
24
|
+
background-color: transparent;
|
|
25
|
+
border-color: transparent;
|
|
26
|
+
cursor: default;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/mixins/arrow-creator" as *;
|
|
3
|
+
@use "../../core/mixins/breakpoints" as bp;
|
|
4
|
+
|
|
5
|
+
$FORM_STEP_SELECTOR: ".form-step" !default;
|
|
6
|
+
|
|
7
|
+
#{$FORM_STEP_SELECTOR} {
|
|
8
|
+
background: var(--f-background-form-step);
|
|
9
|
+
border: var(--f-border-width-medium) solid var(--f-border-color-form-step);
|
|
10
|
+
border-radius: var(--f-border-radius-small);
|
|
11
|
+
margin: 0 0 var(--f-margin-component-bottom);
|
|
12
|
+
margin-bottom: size.$margin-200;
|
|
13
|
+
padding: size.$padding-200;
|
|
14
|
+
position: relative;
|
|
15
|
+
transition:
|
|
16
|
+
background-color var(--f-animation-duration-medium) ease-in-out,
|
|
17
|
+
border-color var(--f-animation-duration-medium) ease-in-out;
|
|
18
|
+
|
|
19
|
+
@include bp.breakpoint-down(sm) {
|
|
20
|
+
padding: size.$padding-150 size.$padding-075 size.$padding-200;
|
|
21
|
+
margin-left: calc(-1 * size.$margin-075);
|
|
22
|
+
margin-right: calc(-1 * size.$margin-075);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&--last-step {
|
|
26
|
+
margin-bottom: calc(2 * size.$margin-150);
|
|
27
|
+
|
|
28
|
+
@include bp.breakpoint-down(sm) {
|
|
29
|
+
margin-bottom: size.$margin-200;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__header {
|
|
34
|
+
margin-bottom: size.$margin-050;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
&__title {
|
|
38
|
+
font-size: var(--f-font-size-h2);
|
|
39
|
+
display: inline;
|
|
40
|
+
|
|
41
|
+
@include bp.breakpoint-down(sm) {
|
|
42
|
+
font-size: var(--f-font-size-xxx-large);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&__check {
|
|
47
|
+
transition: opacity var(--f-animation-duration-medium) ease-in-out;
|
|
48
|
+
color: var(--f-icon-color-success);
|
|
49
|
+
height: var(--f-icon-size-x-large);
|
|
50
|
+
margin-bottom: calc(-1 * size.$margin-025);
|
|
51
|
+
margin-left: size.$margin-050;
|
|
52
|
+
width: var(--f-icon-size-x-large);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__error {
|
|
56
|
+
color: var(--f-text-color-error);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__arrow {
|
|
60
|
+
@include arrow-creator(
|
|
61
|
+
$size: var(--f-icon-size-small),
|
|
62
|
+
$position: calc(size.$padding-150 + size.$padding-150),
|
|
63
|
+
$width: var(--f-border-width-medium),
|
|
64
|
+
$background: var(--f-background-form-step),
|
|
65
|
+
$border: var(--f-border-color-form-step)
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
@include bp.breakpoint-down(sm) {
|
|
69
|
+
left: calc(size.$padding-100 + size.$padding-100);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&--complete {
|
|
74
|
+
background: var(--f-background-success);
|
|
75
|
+
border-color: var(--f-border-color-success);
|
|
76
|
+
|
|
77
|
+
#{$FORM_STEP_SELECTOR}__arrow {
|
|
78
|
+
@include arrow-creator(
|
|
79
|
+
$size: var(--f-icon-size-small),
|
|
80
|
+
$position: calc(size.$padding-150 + size.$padding-150),
|
|
81
|
+
$width: var(--f-border-width-medium),
|
|
82
|
+
$background: var(--f-background-success),
|
|
83
|
+
$border: var(--f-border-color-success)
|
|
84
|
+
);
|
|
85
|
+
|
|
86
|
+
@include bp.breakpoint-down(sm) {
|
|
87
|
+
left: size.$padding-200;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core/utils/functions" as *;
|
|
3
|
+
|
|
4
|
+
$ICON_SELECTOR: ".icon" !default;
|
|
5
|
+
|
|
6
|
+
@at-root {
|
|
7
|
+
%icon--base {
|
|
8
|
+
display: inline-block;
|
|
9
|
+
height: var(--f-icon-size-small);
|
|
10
|
+
max-height: 100%;
|
|
11
|
+
max-width: 100%;
|
|
12
|
+
pointer-events: none;
|
|
13
|
+
width: var(--f-icon-size-small);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
%icon--inset-top-right {
|
|
17
|
+
display: inline;
|
|
18
|
+
height: var(--f-icon-size-large);
|
|
19
|
+
position: absolute;
|
|
20
|
+
right: size.$margin-075;
|
|
21
|
+
top: densify(size.$margin-050);
|
|
22
|
+
transition: opacity var(--f-animation-duration-medium) ease-in-out;
|
|
23
|
+
width: var(--f-icon-size-large);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
%icon-stack {
|
|
27
|
+
@extend %icon--base;
|
|
28
|
+
|
|
29
|
+
position: relative;
|
|
30
|
+
|
|
31
|
+
#{$ICON_SELECTOR} {
|
|
32
|
+
position: absolute;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#{$ICON_SELECTOR} {
|
|
38
|
+
@extend %icon--base;
|
|
39
|
+
|
|
40
|
+
&--flip-horizontal {
|
|
41
|
+
transform: scaleX(-1);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&--flip-vertical {
|
|
45
|
+
transform: scaleY(-1);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&--rotate-90 {
|
|
49
|
+
transform: rotate(90deg);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&--rotate-180 {
|
|
53
|
+
transform: rotate(180deg);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&--rotate-270 {
|
|
57
|
+
transform: rotate(270deg);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
#{$ICON_SELECTOR}-stack,
|
|
62
|
+
#{$ICON_SELECTOR} {
|
|
63
|
+
&--new-window {
|
|
64
|
+
// anchor icons to top-right and bottom-left
|
|
65
|
+
.icon {
|
|
66
|
+
&.f-icon-new-window {
|
|
67
|
+
width: 55%;
|
|
68
|
+
height: 55%;
|
|
69
|
+
top: 0;
|
|
70
|
+
right: 0;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&:not(.f-icon-new-window) {
|
|
74
|
+
width: 83%;
|
|
75
|
+
height: 83%;
|
|
76
|
+
bottom: 0;
|
|
77
|
+
left: 5%;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
#{$ICON_SELECTOR}-stack,
|
|
84
|
+
#{$ICON_SELECTOR}--stack {
|
|
85
|
+
@extend %icon-stack;
|
|
86
|
+
|
|
87
|
+
&--tooltip {
|
|
88
|
+
.f-icon-circle {
|
|
89
|
+
color: var(--f-icon-color-info);
|
|
90
|
+
fill: var(--f-icon-color-info);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.f-icon-i {
|
|
94
|
+
color: var(--f-icon-color-white);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&--info {
|
|
99
|
+
.f-icon-circle {
|
|
100
|
+
color: var(--f-icon-color-white);
|
|
101
|
+
fill: var(--f-icon-color-info);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&--warning {
|
|
106
|
+
.f-icon-circle {
|
|
107
|
+
color: var(--f-icon-color-white);
|
|
108
|
+
fill: var(--f-icon-color-warning);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&--error {
|
|
113
|
+
.f-icon-triangle {
|
|
114
|
+
color: var(--f-icon-color-white);
|
|
115
|
+
fill: var(--f-icon-color-error);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&--success {
|
|
120
|
+
.f-icon-circle {
|
|
121
|
+
color: var(--f-icon-color-white);
|
|
122
|
+
fill: var(--f-icon-color-success);
|
|
123
|
+
}
|
|
124
|
+
.f-icon-success {
|
|
125
|
+
transform: scale(0.6);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&--large {
|
|
130
|
+
width: 2.5rem;
|
|
131
|
+
height: 2.5rem;
|
|
132
|
+
|
|
133
|
+
svg {
|
|
134
|
+
width: 100%;
|
|
135
|
+
height: 100%;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&--circle,
|
|
140
|
+
&--circle-bottom {
|
|
141
|
+
width: 4rem;
|
|
142
|
+
height: 4rem;
|
|
143
|
+
border-radius: 100%;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
.f-icon-circle {
|
|
146
|
+
color: var(--f-icon-color-success-background);
|
|
147
|
+
fill: var(--f-icon-color-success-background);
|
|
148
|
+
width: 100%;
|
|
149
|
+
height: 100%;
|
|
150
|
+
}
|
|
151
|
+
.icon:not(.f-icon-circle) {
|
|
152
|
+
color: var(--f-icon-color-success);
|
|
153
|
+
position: absolute;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
&--circle {
|
|
157
|
+
.icon:not(.f-icon-circle) {
|
|
158
|
+
width: 100 * 0.7%;
|
|
159
|
+
height: 100 * 0.7%;
|
|
160
|
+
inset: 0;
|
|
161
|
+
margin: auto;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&--circle-bottom {
|
|
166
|
+
.icon:not(.f-icon-circle) {
|
|
167
|
+
width: 100 * 0.8%;
|
|
168
|
+
height: 100 * 0.8%;
|
|
169
|
+
left: 0;
|
|
170
|
+
right: 0;
|
|
171
|
+
margin: 0 auto;
|
|
172
|
+
bottom: 0%;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
|
|
3
|
+
$radio_button_label_offset: 0.1rem;
|
|
4
|
+
$INDENT_SELECTOR: ".indent" !default;
|
|
5
|
+
|
|
6
|
+
#{$INDENT_SELECTOR} {
|
|
7
|
+
border-left: var(--f-border-width-medium) solid var(--f-border-color-separator);
|
|
8
|
+
margin-bottom: size.$margin-100;
|
|
9
|
+
margin-left: size.$margin-050;
|
|
10
|
+
padding-left: size.$padding-150;
|
|
11
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../icon/icon";
|
|
3
|
+
@use "../../core/utils/functions" as *;
|
|
4
|
+
|
|
5
|
+
$LABEL_SELECTOR: ".label" !default;
|
|
6
|
+
|
|
7
|
+
#{$LABEL_SELECTOR} {
|
|
8
|
+
color: var(--f-text-color-default);
|
|
9
|
+
display: inline-block;
|
|
10
|
+
font-size: var(--f-font-size-standard);
|
|
11
|
+
font-weight: var(--f-font-weight-medium);
|
|
12
|
+
line-height: var(--f-line-height-large);
|
|
13
|
+
margin-bottom: densify(size.$margin-025);
|
|
14
|
+
width: var(--f-width-full);
|
|
15
|
+
|
|
16
|
+
&__message {
|
|
17
|
+
display: block;
|
|
18
|
+
font-weight: var(--f-font-weight-normal);
|
|
19
|
+
margin-top: var(--f-label-message-margin-top);
|
|
20
|
+
|
|
21
|
+
&--error {
|
|
22
|
+
color: var(--f-text-color-error);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__icon-wrapper {
|
|
27
|
+
position: relative;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__icon {
|
|
31
|
+
@extend %icon--inset-top-right;
|
|
32
|
+
|
|
33
|
+
&--left {
|
|
34
|
+
position: relative;
|
|
35
|
+
top: densify(3px);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&__description {
|
|
40
|
+
display: block;
|
|
41
|
+
font-weight: var(--f-font-weight-normal);
|
|
42
|
+
|
|
43
|
+
&--discrete {
|
|
44
|
+
color: var(--f-text-color-discrete);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use "sass:map";
|
|
2
|
+
@use "sass:math";
|
|
3
|
+
@use "../../core/config-variables" as vars;
|
|
4
|
+
@use "../z-index";
|
|
5
|
+
|
|
6
|
+
$LAYOUT_APPLICATION_SELECTOR: ".layout-application-template" !default;
|
|
7
|
+
$ZINDEX: z-index.$MODAL_ZINDEX - 1 !default;
|
|
8
|
+
|
|
9
|
+
#{$LAYOUT_APPLICATION_SELECTOR} {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
height: 100%;
|
|
13
|
+
|
|
14
|
+
&__header {
|
|
15
|
+
z-index: $ZINDEX;
|
|
16
|
+
position: sticky;
|
|
17
|
+
align-self: flex-start;
|
|
18
|
+
top: 0;
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__footer {
|
|
23
|
+
flex-shrink: 0;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__main {
|
|
27
|
+
flex-grow: 1;
|
|
28
|
+
|
|
29
|
+
> .container-fluid {
|
|
30
|
+
margin: 20px;
|
|
31
|
+
width: initial;
|
|
32
|
+
max-width: 1440px;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
#{$LAYOUT_APPLICATION_SELECTOR}__body {
|
|
38
|
+
margin: 0;
|
|
39
|
+
padding: 0;
|
|
40
|
+
min-height: 100vh;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
#{$LAYOUT_APPLICATION_SELECTOR}__body > div {
|
|
44
|
+
height: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
#{$LAYOUT_APPLICATION_SELECTOR}__html {
|
|
48
|
+
height: 100%;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@each $name in map.keys(vars.$f-breakpoints) {
|
|
52
|
+
.grid--force {
|
|
53
|
+
@for $size from 1 through vars.$f-grid-columns {
|
|
54
|
+
.col.col--#{$name}-#{$size} {
|
|
55
|
+
width: 100%;
|
|
56
|
+
max-width: 100%;
|
|
57
|
+
flex: none;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.grid--force-#{$name} {
|
|
63
|
+
@for $size from 1 through vars.$f-grid-columns {
|
|
64
|
+
.col {
|
|
65
|
+
&.col--#{$name}-#{$size} {
|
|
66
|
+
flex: 0 0 math.percentage(math.div($size, vars.$f-grid-columns));
|
|
67
|
+
max-width: math.percentage(math.div($size, vars.$f-grid-columns));
|
|
68
|
+
}
|
|
69
|
+
&.col--#{$name}-order-#{$size} {
|
|
70
|
+
order: $size;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|