@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,127 @@
|
|
|
1
|
+
@use "../../core";
|
|
2
|
+
@use "../../core/size";
|
|
3
|
+
@use "../../core/utils/functions" as *;
|
|
4
|
+
|
|
5
|
+
$TEXT_FIELD_SELECTOR: ".text-field" !default;
|
|
6
|
+
|
|
7
|
+
#{$TEXT_FIELD_SELECTOR} {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
margin: 0 0 densify(var(--f-margin-component-bottom));
|
|
12
|
+
position: relative;
|
|
13
|
+
width: var(--f-width-full);
|
|
14
|
+
|
|
15
|
+
&--inline {
|
|
16
|
+
@include core.label-inline;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&--table {
|
|
20
|
+
margin-bottom: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
// remove clear X in IE11, Edge
|
|
24
|
+
input[type="text"]::-ms-clear {
|
|
25
|
+
display: none;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__error-popup-icon {
|
|
29
|
+
color: var(--f-text-color-error);
|
|
30
|
+
height: 16px;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__input-wrapper {
|
|
34
|
+
display: flex;
|
|
35
|
+
gap: densify(size.$padding-050);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__input {
|
|
39
|
+
background-color: var(--f-background-input);
|
|
40
|
+
box-shadow: var(--f-input-shadow-inset);
|
|
41
|
+
border-radius: var(--f-border-radius-medium);
|
|
42
|
+
border: var(--f-border-width-medium) solid var(--f-border-color-input);
|
|
43
|
+
min-height: densify(var(--f-height-large));
|
|
44
|
+
padding: 0 0.75rem;
|
|
45
|
+
width: var(--f-width-full);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__icon-wrapper {
|
|
49
|
+
flex: 1 1 auto;
|
|
50
|
+
position: relative;
|
|
51
|
+
|
|
52
|
+
&:has(.text-field__append-inner) {
|
|
53
|
+
.text-field__input {
|
|
54
|
+
padding: var(--padding-input-fields);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__append-inner {
|
|
60
|
+
display: inline;
|
|
61
|
+
position: absolute;
|
|
62
|
+
right: densify(size.$margin-075);
|
|
63
|
+
top: densify(size.$margin-050);
|
|
64
|
+
height: var(--f-icon-size-large);
|
|
65
|
+
width: var(--f-icon-size-large);
|
|
66
|
+
overflow: hidden;
|
|
67
|
+
text-align: center;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&__icon {
|
|
71
|
+
height: var(--f-icon-size-large);
|
|
72
|
+
transition: opacity var(--f-animation-duration-medium) ease-in-out;
|
|
73
|
+
width: var(--f-icon-size-large);
|
|
74
|
+
|
|
75
|
+
&--left {
|
|
76
|
+
position: relative;
|
|
77
|
+
top: 3px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
&__input:disabled + &__icon {
|
|
82
|
+
color: var(--f-text-color-button-disabled);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
&__input:disabled {
|
|
86
|
+
border-color: var(--f-border-color-input-disabled);
|
|
87
|
+
color: var(--f-text-color-input-disabled);
|
|
88
|
+
background-color: var(--f-background-input-disabled);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&--error {
|
|
92
|
+
#{$TEXT_FIELD_SELECTOR}__input {
|
|
93
|
+
border-color: var(--f-border-color-error);
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--search + #{$TEXT_FIELD_SELECTOR}__append-inner {
|
|
98
|
+
display: flex;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: center;
|
|
101
|
+
top: 0;
|
|
102
|
+
right: densify(0.25rem);
|
|
103
|
+
min-height: densify(var(--f-height-large));
|
|
104
|
+
width: 2.5rem;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.clear-button {
|
|
108
|
+
background: none;
|
|
109
|
+
border: 0;
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
|
|
112
|
+
&__icon {
|
|
113
|
+
color: var(--f-text-color-discrete);
|
|
114
|
+
height: var(--f-icon-size-x-small);
|
|
115
|
+
width: var(--f-icon-size-x-small);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
// Hide the web browsers standard clear-button when input is of type search
|
|
120
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
121
|
+
input[type="search"]::-webkit-search-decoration,
|
|
122
|
+
input[type="search"]::-webkit-search-cancel-button,
|
|
123
|
+
input[type="search"]::-webkit-search-results-button,
|
|
124
|
+
input[type="search"]::-webkit-search-results-decoration {
|
|
125
|
+
-webkit-appearance: none;
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../../core";
|
|
3
|
+
@use "../../core/utils/functions" as *;
|
|
4
|
+
|
|
5
|
+
$TEXTAREA_FIELD_SELECTOR: ".textarea-field" !default;
|
|
6
|
+
|
|
7
|
+
#{$TEXTAREA_FIELD_SELECTOR} {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
justify-content: flex-end;
|
|
11
|
+
line-height: var(--f-line-height-large);
|
|
12
|
+
margin: 0 0 densify(var(--f-margin-component-bottom));
|
|
13
|
+
position: relative;
|
|
14
|
+
width: var(--f-width-full);
|
|
15
|
+
|
|
16
|
+
&--inline {
|
|
17
|
+
@include core.label-inline;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&__textarea {
|
|
21
|
+
background-color: var(--f-background-input);
|
|
22
|
+
box-shadow: var(--f-input-shadow-inset);
|
|
23
|
+
border-radius: var(--f-border-radius-medium);
|
|
24
|
+
border: var(--f-border-width-medium) solid var(--f-border-color-input);
|
|
25
|
+
box-sizing: border-box;
|
|
26
|
+
font-size: var(--f-font-size-standard);
|
|
27
|
+
min-height: densify(var(--f-height-large));
|
|
28
|
+
padding: densify(size.$padding-050) size.$padding-075;
|
|
29
|
+
width: var(--f-width-full);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__textarea[rows] {
|
|
33
|
+
height: auto;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__textarea:disabled {
|
|
37
|
+
border-color: var(--f-border-color-input-disabled);
|
|
38
|
+
color: var(--f-text-color-input-disabled);
|
|
39
|
+
background-color: var(--f-background-input-disabled);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&--error {
|
|
43
|
+
#{$TEXTAREA_FIELD_SELECTOR}__textarea {
|
|
44
|
+
border-color: var(--f-border-color-error);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&__resize--none {
|
|
49
|
+
resize: none;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&__resize--vertical {
|
|
53
|
+
resize: vertical;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@use "../../core/size";
|
|
2
|
+
@use "../icon/icon";
|
|
3
|
+
@use "../../core/mixins/arrow-creator";
|
|
4
|
+
@use "../../core/mixins/breakpoints";
|
|
5
|
+
@use "../../core/utils/functions" as *;
|
|
6
|
+
|
|
7
|
+
$TOOLTIP_SELECTOR: ".tooltip" !default;
|
|
8
|
+
|
|
9
|
+
#{$TOOLTIP_SELECTOR}-before {
|
|
10
|
+
display: inline-block;
|
|
11
|
+
|
|
12
|
+
&__label {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
#{$TOOLTIP_SELECTOR} {
|
|
18
|
+
display: inline;
|
|
19
|
+
margin-left: size.$margin-050;
|
|
20
|
+
|
|
21
|
+
&__container {
|
|
22
|
+
display: inline;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__button {
|
|
26
|
+
background: none;
|
|
27
|
+
border: 0;
|
|
28
|
+
cursor: pointer;
|
|
29
|
+
font-size: var(--f-font-size-large);
|
|
30
|
+
padding: 0.125rem;
|
|
31
|
+
transform: translateY(0.125rem);
|
|
32
|
+
height: var(--f-icon-size-large);
|
|
33
|
+
width: var(--f-icon-size-large);
|
|
34
|
+
|
|
35
|
+
#{icon.$ICON_SELECTOR}-stack {
|
|
36
|
+
height: 100%;
|
|
37
|
+
width: 100%;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
#{icon.$ICON_SELECTOR} {
|
|
41
|
+
height: 100%;
|
|
42
|
+
width: 100%;
|
|
43
|
+
left: 0;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&__arrow {
|
|
48
|
+
@include arrow-creator.arrow-creator(
|
|
49
|
+
$background: var(--f-background-info),
|
|
50
|
+
$border: var(--f-tooltip-border-color),
|
|
51
|
+
$position: size.$margin-200,
|
|
52
|
+
$size: size.$margin-075,
|
|
53
|
+
$up: true,
|
|
54
|
+
$width: var(--f-tooltip-border-width)
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/// Content wrapper is placed around everything, i.e.
|
|
59
|
+
/// arrow, close button, header and body.
|
|
60
|
+
&__content-wrapper {
|
|
61
|
+
background-color: var(--f-background-info);
|
|
62
|
+
border: var(--f-tooltip-border-width) solid var(--f-tooltip-border-color);
|
|
63
|
+
border-radius: var(--f-border-radius-small);
|
|
64
|
+
box-sizing: content-box;
|
|
65
|
+
margin-top: size.$margin-075;
|
|
66
|
+
margin-bottom: size.$margin-050;
|
|
67
|
+
position: relative;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/// Content is placed around header and body.
|
|
71
|
+
&__content {
|
|
72
|
+
margin: densify(size.$margin-100) size.$margin-100 0 size.$margin-100;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
&__header {
|
|
76
|
+
align-items: flex-start;
|
|
77
|
+
display: flex;
|
|
78
|
+
font-size: var(--f-font-size-large);
|
|
79
|
+
font-weight: var(--f-font-weight-bold);
|
|
80
|
+
line-height: var(--f-line-height-medium);
|
|
81
|
+
margin-bottom: size.$margin-050;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.close-button {
|
|
85
|
+
margin: var(--f-tooltip-close-button-margin);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
@use "../../core";
|
|
2
|
+
|
|
3
|
+
$WIZARD_STEP_SELECTOR: ".wizard-step" !default;
|
|
4
|
+
|
|
5
|
+
/* Selectors */
|
|
6
|
+
$icon-stack-selector: ".icon-stack" !default;
|
|
7
|
+
$icon-circle-selector: ".icon.f-icon-circle" !default;
|
|
8
|
+
$icon-success-selector: ".icon.f-icon-success" !default;
|
|
9
|
+
$icon-number-selector: "#{$icon-stack-selector} div" !default;
|
|
10
|
+
$title-placeholder-selector: ".iflex--grow" !default;
|
|
11
|
+
$header-selector: "#{$WIZARD_STEP_SELECTOR}__header" !default;
|
|
12
|
+
$title-selector: "#{$header-selector}__title" !default;
|
|
13
|
+
$title-container-selector: "#{$title-selector}-container";
|
|
14
|
+
$line-adjustment-selector: "#{$header-selector}__line-adjustment" !default;
|
|
15
|
+
$step-of-selector: "#{$header-selector}__step-of" !default;
|
|
16
|
+
$line-up-selector: "#{$header-selector}__line-up" !default;
|
|
17
|
+
$line-down-selector: "#{$header-selector}__line-down" !default;
|
|
18
|
+
|
|
19
|
+
/* position adjustments for lines */
|
|
20
|
+
|
|
21
|
+
/* change line-gap-to-circle variable to change distances */
|
|
22
|
+
|
|
23
|
+
$line-gap-to-circle: 4px;
|
|
24
|
+
$line-width: 2px;
|
|
25
|
+
$line-center: 14px;
|
|
26
|
+
$line-down-adjustment-up: #{-7 + $line-gap-to-circle};
|
|
27
|
+
$line-down-length: 13px;
|
|
28
|
+
$line-up-length: 20px;
|
|
29
|
+
$line-up-adjustment-down: #{$line-gap-to-circle};
|
|
30
|
+
$line-desktop-adjustment-up: #{$line-down-adjustment-up};
|
|
31
|
+
$line-desktop-adjustment-down: #{$line-gap-to-circle * -2};
|
|
32
|
+
$line-desktop-push-content-right: 22px;
|
|
33
|
+
$line-desktop-align-line: 4px;
|
|
34
|
+
$line-desktop-padding-top: 1px;
|
|
35
|
+
$icon-size: 30px;
|
|
36
|
+
|
|
37
|
+
#{$WIZARD_STEP_SELECTOR} {
|
|
38
|
+
#{$title-selector} {
|
|
39
|
+
font-size: 1.125rem;
|
|
40
|
+
margin-top: 0;
|
|
41
|
+
margin-bottom: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
#{$title-container-selector} {
|
|
45
|
+
height: $icon-size;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
#{$line-adjustment-selector} {
|
|
49
|
+
height: calc(#{$line-down-length} + #{$line-gap-to-circle});
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
#{$header-selector} {
|
|
53
|
+
margin-left: -10px;
|
|
54
|
+
|
|
55
|
+
#{$icon-stack-selector} {
|
|
56
|
+
display: block;
|
|
57
|
+
width: $icon-size;
|
|
58
|
+
height: $icon-size;
|
|
59
|
+
margin-right: 8px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
#{$icon-number-selector} {
|
|
63
|
+
width: 100%;
|
|
64
|
+
text-align: center;
|
|
65
|
+
font-size: 20px;
|
|
66
|
+
position: absolute;
|
|
67
|
+
font-weight: bold;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
#{$icon-circle-selector} {
|
|
71
|
+
width: $icon-size;
|
|
72
|
+
height: $icon-size;
|
|
73
|
+
transition:
|
|
74
|
+
color 400ms ease-out,
|
|
75
|
+
fill 400ms ease-out,
|
|
76
|
+
opacity 400ms ease-out;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
#{$icon-success-selector} {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
#{$step-of-selector} {
|
|
85
|
+
color: var(--f-text-color-discrete);
|
|
86
|
+
font-weight: normal;
|
|
87
|
+
font-size: 1rem;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
#{$line-down-selector} {
|
|
91
|
+
position: relative;
|
|
92
|
+
margin-bottom: $line-gap-to-circle;
|
|
93
|
+
margin-left: #{$line-center};
|
|
94
|
+
height: #{$line-down-length};
|
|
95
|
+
margin-top: $line-gap-to-circle;
|
|
96
|
+
width: #{$line-width};
|
|
97
|
+
background-color: var(--f-background-wizard-step-line);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
#{$line-up-selector} {
|
|
101
|
+
margin-left: #{$line-center};
|
|
102
|
+
height: #{$line-up-length};
|
|
103
|
+
width: #{$line-width};
|
|
104
|
+
margin-top: #{$line-gap-to-circle};
|
|
105
|
+
margin-bottom: #{$line-up-adjustment-down};
|
|
106
|
+
background-color: var(--f-background-wizard-step-line);
|
|
107
|
+
}
|
|
108
|
+
@include core.breakpoint-up(md) {
|
|
109
|
+
#{$line-up-selector} {
|
|
110
|
+
margin-bottom: $line-gap-to-circle;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
@include core.breakpoint-up(md) {
|
|
114
|
+
&__connector {
|
|
115
|
+
border-left: #{$line-width} solid var(--f-border-color-wizard-step-line);
|
|
116
|
+
padding-left: #{$line-desktop-push-content-right};
|
|
117
|
+
margin-top: #{$line-desktop-adjustment-up};
|
|
118
|
+
margin-left: #{$line-desktop-align-line};
|
|
119
|
+
margin-bottom: #{$line-desktop-adjustment-down};
|
|
120
|
+
padding-top: #{$line-desktop-padding-top};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&--open #{$header-selector} {
|
|
125
|
+
#{$title-selector} {
|
|
126
|
+
color: var(--f-text-color-default);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
#{$icon-circle-selector} {
|
|
130
|
+
fill: var(--f-icon-color-discrete);
|
|
131
|
+
color: var(--f-icon-color-white);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
#{$icon-number-selector} {
|
|
135
|
+
color: var(--f-icon-color-black);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
#{$step-of-selector} {
|
|
139
|
+
display: block;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
#{$title-placeholder-selector} {
|
|
143
|
+
padding-top: 12px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
#{$line-up-selector} {
|
|
147
|
+
height: 35px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
#{$line-down-selector} {
|
|
151
|
+
margin-bottom: 0;
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&--done #{$header-selector} {
|
|
156
|
+
margin-top: $line-gap-to-circle;
|
|
157
|
+
|
|
158
|
+
#{$title-selector} {
|
|
159
|
+
color: var(--f-text-color-wizard-step-done);
|
|
160
|
+
text-decoration-color: var(--f-text-color-wizard-step-done);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
#{$title-selector}:hover {
|
|
164
|
+
text-decoration-color: var(--f-text-color-link-hover);
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
#{$line-up-selector} {
|
|
168
|
+
display: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
#{$line-down-selector} {
|
|
172
|
+
margin-bottom: 0;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
#{$icon-circle-selector} {
|
|
176
|
+
fill: var(--f-icon-color-wizard-step-done);
|
|
177
|
+
color: var(--f-icon-color-wizard-step-done);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
#{$icon-number-selector} {
|
|
181
|
+
display: none;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
#{$icon-success-selector} {
|
|
185
|
+
display: block;
|
|
186
|
+
color: var(--f-icon-color-white);
|
|
187
|
+
width: 20px;
|
|
188
|
+
height: 20px;
|
|
189
|
+
left: 5px;
|
|
190
|
+
top: 5px;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
#{$line-adjustment-selector} {
|
|
194
|
+
height: calc(#{$line-down-length} + #{$line-gap-to-circle});
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&--pending #{$header-selector} {
|
|
199
|
+
#{$title-selector} {
|
|
200
|
+
color: var(--f-text-color-discrete);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
#{$icon-number-selector} {
|
|
204
|
+
color: var(--f-icon-color-discrete);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
#{$icon-circle-selector} {
|
|
208
|
+
color: var(--f-icon-color-wizard-step-pending);
|
|
209
|
+
fill: var(--f-text-color-discrete);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
#{$title-placeholder-selector} {
|
|
213
|
+
padding-top: 0;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
#{$line-adjustment-selector} {
|
|
217
|
+
height: calc(#{$line-down-length} + (#{$line-gap-to-circle} * 2));
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
#{$WIZARD_STEP_SELECTOR}--pending + #{$WIZARD_STEP_SELECTOR} {
|
|
223
|
+
#{$line-up-selector} {
|
|
224
|
+
display: none;
|
|
225
|
+
}
|
|
226
|
+
#{$title-placeholder-selector} {
|
|
227
|
+
padding-top: 0;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
#{$WIZARD_STEP_SELECTOR}--open:first-child {
|
|
232
|
+
#{$line-up-selector} {
|
|
233
|
+
visibility: hidden;
|
|
234
|
+
height: 1.25rem;
|
|
235
|
+
}
|
|
236
|
+
#{$title-placeholder-selector} {
|
|
237
|
+
padding-top: 0;
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
#{$WIZARD_STEP_SELECTOR}--done:first-child,
|
|
242
|
+
#{$WIZARD_STEP_SELECTOR}--pending:first-child {
|
|
243
|
+
#{$line-up-selector} {
|
|
244
|
+
display: none;
|
|
245
|
+
margin-top: 0;
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
#{$WIZARD_STEP_SELECTOR}--done {
|
|
250
|
+
@include core.breakpoint-up(md) {
|
|
251
|
+
.wizard-step__connector {
|
|
252
|
+
margin-top: 0;
|
|
253
|
+
margin-bottom: 0;
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
#{$WIZARD_STEP_SELECTOR}--pending {
|
|
259
|
+
@include core.breakpoint-up(md) {
|
|
260
|
+
.wizard-step__connector {
|
|
261
|
+
margin-top: -#{$line-gap-to-circle};
|
|
262
|
+
margin-bottom: $line-gap-to-circle;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
#{$WIZARD_STEP_SELECTOR}--done:last-child,
|
|
268
|
+
#{$WIZARD_STEP_SELECTOR}--pending:last-child {
|
|
269
|
+
@include core.breakpoint-up(md) {
|
|
270
|
+
.wizard-step__connector {
|
|
271
|
+
border-left: none;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
#{$WIZARD_STEP_SELECTOR}--done:last-child {
|
|
277
|
+
@include core.breakpoint-up(md) {
|
|
278
|
+
.wizard-step__connector {
|
|
279
|
+
border-left: none;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
#{$WIZARD_STEP_SELECTOR}:last-child {
|
|
285
|
+
#{$line-down-selector} {
|
|
286
|
+
display: none;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
&.wizard-step--open {
|
|
290
|
+
.wizard-step__connector {
|
|
291
|
+
margin-top: 1rem;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
#{$line-adjustment-selector} {
|
|
296
|
+
display: none;
|
|
297
|
+
}
|
|
298
|
+
@include core.breakpoint-up(md) {
|
|
299
|
+
.wizard-step__connector {
|
|
300
|
+
border-left: none;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
#{$WIZARD_STEP_SELECTOR}--open,
|
|
306
|
+
#{$WIZARD_STEP_SELECTOR}--pending {
|
|
307
|
+
#{$line-up-selector} {
|
|
308
|
+
margin-top: -#{$line-gap-to-circle + 3};
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
#{$WIZARD_STEP_SELECTOR}--done + #{$WIZARD_STEP_SELECTOR}--pending {
|
|
313
|
+
margin-top: $line-gap-to-circle;
|
|
314
|
+
|
|
315
|
+
#{$line-up-selector} {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
$asset-path: "~@fkui/design" !default;
|
|
2
|
+
$asset-path-images: "#{$asset-path}/src/assets/images" !default;
|
|
3
|
+
|
|
4
|
+
// responsiveness
|
|
5
|
+
$f-grid-base: 16px !default;
|
|
6
|
+
$f-grid-columns: 12 !default;
|
|
7
|
+
$f-gutter-width: 2rem !default;
|
|
8
|
+
$f-container-spacing: 1rem !default;
|
|
9
|
+
$f-container-max-widths: (
|
|
10
|
+
sm: 95%,
|
|
11
|
+
md: 90%,
|
|
12
|
+
lg: 80%,
|
|
13
|
+
xl: 1280px,
|
|
14
|
+
) !default;
|
|
15
|
+
$f-breakpoint-medium: (40 * $f-grid-base) !default; // 640px
|
|
16
|
+
$f-breakpoint-large: (64 * $f-grid-base) !default; // 1024px
|
|
17
|
+
$f-breakpoint-xlarge: (80 * $f-grid-base) !default; // 1280px
|
|
18
|
+
$f-breakpoints: (
|
|
19
|
+
sm: 0,
|
|
20
|
+
md: $f-breakpoint-medium,
|
|
21
|
+
lg: $f-breakpoint-large,
|
|
22
|
+
xl: $f-breakpoint-xlarge,
|
|
23
|
+
) !default;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
@use "../core/mixins/breakpoints";
|
|
2
|
+
@use "size";
|
|
3
|
+
|
|
4
|
+
html {
|
|
5
|
+
// only applies when using FKUI in a non scoped application
|
|
6
|
+
font-size: var(--f-font-size-default-rem);
|
|
7
|
+
|
|
8
|
+
@include breakpoints.breakpoint-up(lg) {
|
|
9
|
+
font-size: var(--f-font-size-default-large-up-rem);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
body {
|
|
14
|
+
// only applies when using FKUI in a non scoped application
|
|
15
|
+
color: var(--f-text-color-default);
|
|
16
|
+
font-size: var(--f-font-size-standard);
|
|
17
|
+
font-weight: var(--f-font-weight-normal);
|
|
18
|
+
line-height: var(--f-line-height-large);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
p {
|
|
22
|
+
font-size: var(--f-font-size-standard);
|
|
23
|
+
font-weight: var(--f-font-weight-normal);
|
|
24
|
+
line-height: var(--f-line-height-large);
|
|
25
|
+
margin-bottom: #{size.$margin-100};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
b,
|
|
29
|
+
strong {
|
|
30
|
+
font-weight: var(--f-font-weight-medium);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
code {
|
|
34
|
+
font-size: var(--f-font-size-standard);
|
|
35
|
+
border-radius: var(--f-border-radius-small);
|
|
36
|
+
font-family: var(--f-font-family-code);
|
|
37
|
+
background-color: var(--f-background-code);
|
|
38
|
+
display: inline-block;
|
|
39
|
+
margin: 0 #{size.$margin-025};
|
|
40
|
+
padding: 0 #{size.$padding-025};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
pre {
|
|
44
|
+
code {
|
|
45
|
+
display: block;
|
|
46
|
+
}
|
|
47
|
+
}
|