@baloise/ds-styles 0.0.5-nightly.e56f740
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 +201 -0
- package/README.md +45 -0
- package/bin/index.mjs +1333 -0
- package/css/all.css +18468 -0
- package/css/all.css.map +1 -0
- package/css/all.min.css +1 -0
- package/css/baloise-design-system.css +18468 -0
- package/css/baloise-design-system.css.map +1 -0
- package/css/baloise-design-system.min.css +1 -0
- package/css/core.css +4423 -0
- package/css/core.css.map +1 -0
- package/css/core.min.css +1 -0
- package/css/font.css +29 -0
- package/css/font.css.map +1 -0
- package/css/font.min.css +1 -0
- package/css/mixins.css +2 -0
- package/css/mixins.css.map +1 -0
- package/css/mixins.min.css +0 -0
- package/css/normalize.css +351 -0
- package/css/normalize.css.map +1 -0
- package/css/normalize.min.css +1 -0
- package/css/structure.css +147 -0
- package/css/structure.css.map +1 -0
- package/css/structure.min.css +1 -0
- package/css/themes/compact.css +30 -0
- package/css/themes/compact.css.map +1 -0
- package/css/themes/compact.min.css +1 -0
- package/css/utilities/all.css +13112 -0
- package/css/utilities/all.css.map +1 -0
- package/css/utilities/all.min.css +1 -0
- package/css/utilities/background.css +1460 -0
- package/css/utilities/background.css.map +1 -0
- package/css/utilities/background.min.css +1 -0
- package/css/utilities/border.css +4697 -0
- package/css/utilities/border.css.map +1 -0
- package/css/utilities/border.min.css +1 -0
- package/css/utilities/elevation.css +317 -0
- package/css/utilities/elevation.css.map +1 -0
- package/css/utilities/elevation.min.css +1 -0
- package/css/utilities/flex.css +969 -0
- package/css/utilities/flex.css.map +1 -0
- package/css/utilities/flex.min.css +1 -0
- package/css/utilities/grid.css +1209 -0
- package/css/utilities/grid.css.map +1 -0
- package/css/utilities/grid.min.css +1 -0
- package/css/utilities/interaction.css +44 -0
- package/css/utilities/interaction.css.map +1 -0
- package/css/utilities/interaction.min.css +1 -0
- package/css/utilities/layout.css +1055 -0
- package/css/utilities/layout.css.map +1 -0
- package/css/utilities/layout.min.css +1 -0
- package/css/utilities/sizing.css +1931 -0
- package/css/utilities/sizing.css.map +1 -0
- package/css/utilities/sizing.min.css +1 -0
- package/css/utilities/spacing.css +1881 -0
- package/css/utilities/spacing.css.map +1 -0
- package/css/utilities/spacing.min.css +1 -0
- package/css/utilities/typography.css +763 -0
- package/css/utilities/typography.css.map +1 -0
- package/css/utilities/typography.min.css +1 -0
- package/package.json +36 -0
- package/sass/all.sass +6 -0
- package/sass/baloise-design-system.sass +1 -0
- package/sass/core.sass +37 -0
- package/sass/font.sass +1 -0
- package/sass/mixins.sass +3 -0
- package/sass/normalize.sass +359 -0
- package/sass/structure.sass +113 -0
- package/sass/themes/compact.sass +28 -0
- package/sass/utilities/all.sass +9 -0
- package/sass/utilities/background.sass +5 -0
- package/sass/utilities/border.sass +2 -0
- package/sass/utilities/elevation.sass +2 -0
- package/sass/utilities/flex.sass +2 -0
- package/sass/utilities/grid.sass +2 -0
- package/sass/utilities/interaction.sass +2 -0
- package/sass/utilities/layout.sass +12 -0
- package/sass/utilities/sizing.sass +2 -0
- package/sass/utilities/spacing.sass +2 -0
- package/sass/utilities/typography.sass +127 -0
- package/src/core/_all.sass +18 -0
- package/src/core/container.sass +23 -0
- package/src/core/form/_all.sass +6 -0
- package/src/core/form/button.sass +532 -0
- package/src/core/form/file.sass +139 -0
- package/src/core/form/input-textarea.sass +80 -0
- package/src/core/form/select.sass +111 -0
- package/src/core/form/shared.sass +69 -0
- package/src/core/form/tools.sass +209 -0
- package/src/core/grid.sass +477 -0
- package/src/core/link.sass +64 -0
- package/src/core/list.sass +85 -0
- package/src/core/table.sass +134 -0
- package/src/core/typography.sass +33 -0
- package/src/core/vars/_all.sass +7 -0
- package/src/core/vars/button.vars.sass +282 -0
- package/src/core/vars/form.vars.sass +137 -0
- package/src/core/vars/link.vars.sass +36 -0
- package/src/core/vars/list.vars.sass +20 -0
- package/src/core/vars/structure.vars.sass +47 -0
- package/src/core/vars/table.vars.sass +55 -0
- package/src/core/vars/typography.vars.sass +12 -0
- package/src/generated/background.sass +1091 -0
- package/src/generated/border.sass +3943 -0
- package/src/generated/elevation.sass +283 -0
- package/src/generated/flex.sass +831 -0
- package/src/generated/interaction.sass +26 -0
- package/src/generated/layout.sass +948 -0
- package/src/generated/sizing.sass +1703 -0
- package/src/generated/spacing.sass +1683 -0
- package/src/generated/typography.sass +453 -0
- package/src/mixins/_all.sass +7 -0
- package/src/mixins/bem.mixin.sass +39 -0
- package/src/mixins/breakpoint.mixin.sass +67 -0
- package/src/mixins/extends.sass +32 -0
- package/src/mixins/general.mixin.sass +95 -0
- package/src/mixins/svg.mixin.sass +6 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
%input-textarea
|
|
2
|
+
@extend %input
|
|
3
|
+
max-width: 100%
|
|
4
|
+
width: 100%
|
|
5
|
+
&[readonly]
|
|
6
|
+
box-shadow: none
|
|
7
|
+
// Modifiers
|
|
8
|
+
&.is-fullwidth
|
|
9
|
+
display: block
|
|
10
|
+
width: 100%
|
|
11
|
+
&.is-inline
|
|
12
|
+
display: inline
|
|
13
|
+
width: auto
|
|
14
|
+
|
|
15
|
+
.input
|
|
16
|
+
@extend %input-textarea
|
|
17
|
+
|
|
18
|
+
.textarea
|
|
19
|
+
@extend %input-textarea
|
|
20
|
+
display: block
|
|
21
|
+
max-width: 100%
|
|
22
|
+
min-width: 100%
|
|
23
|
+
resize: vertical
|
|
24
|
+
padding: calc(0.75em - 2px)
|
|
25
|
+
&:not([rows])
|
|
26
|
+
max-height: 40em
|
|
27
|
+
min-height: 8em
|
|
28
|
+
&[rows]
|
|
29
|
+
height: initial
|
|
30
|
+
// Modifiers
|
|
31
|
+
&.has-fixed-size
|
|
32
|
+
resize: none
|
|
33
|
+
|
|
34
|
+
input.input,
|
|
35
|
+
textarea.textarea
|
|
36
|
+
border-width: 2px
|
|
37
|
+
border-radius: var(--bal-form-field-control-radius)
|
|
38
|
+
font-size: var(--bal-form-field-control-font-size)
|
|
39
|
+
font-family: var(--bal-form-field-control-font-family)
|
|
40
|
+
color: var(--bal-form-field-control-color)
|
|
41
|
+
outline: none
|
|
42
|
+
box-shadow: none
|
|
43
|
+
&.is-danger
|
|
44
|
+
border-color: var(--bal-form-field-control-danger-border-color)
|
|
45
|
+
background: var(--bal-form-field-control-danger-background)
|
|
46
|
+
&.bal-focused,
|
|
47
|
+
&:focus,
|
|
48
|
+
&.is-focused,
|
|
49
|
+
&:active,
|
|
50
|
+
&.is-active
|
|
51
|
+
border-color: var(--bal-form-field-control-border-color-active)
|
|
52
|
+
&.is-success
|
|
53
|
+
border-color: var(--bal-form-field-control-success-border-color)
|
|
54
|
+
background: var(--bal-form-field-control-success-background)
|
|
55
|
+
&.bal-focused,
|
|
56
|
+
&:focus,
|
|
57
|
+
&.is-focused,
|
|
58
|
+
&:active,
|
|
59
|
+
&.is-active
|
|
60
|
+
border-color: var(--bal-form-field-control-border-color-active)
|
|
61
|
+
// deprecated
|
|
62
|
+
&.is-warning
|
|
63
|
+
border-color: var(--bal-color-border-warning)
|
|
64
|
+
background: var(--bal-color-warning-1)
|
|
65
|
+
&.bal-focused,
|
|
66
|
+
&:focus,
|
|
67
|
+
&.is-focused,
|
|
68
|
+
&:active,
|
|
69
|
+
&.is-active
|
|
70
|
+
border-color: var(--bal-form-field-control-border-color-active)
|
|
71
|
+
&.is-disabled
|
|
72
|
+
color: var(--bal-form-field-control-disabled-color)
|
|
73
|
+
border-color: var(--bal-form-field-control-disabled-border-color)
|
|
74
|
+
background: var(--bal-form-field-control-disabled-background)
|
|
75
|
+
|
|
76
|
+
// overrides style for inputs in a group input
|
|
77
|
+
input.is-grouped
|
|
78
|
+
background: none !important
|
|
79
|
+
border: none !important
|
|
80
|
+
box-shadow: none !important
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.select
|
|
2
|
+
display: inline-block
|
|
3
|
+
max-width: 100%
|
|
4
|
+
width: 100%
|
|
5
|
+
position: relative
|
|
6
|
+
vertical-align: top
|
|
7
|
+
&:not(.is-multiple)
|
|
8
|
+
height: 3rem
|
|
9
|
+
&:not(.is-multiple):not(.is-loading)
|
|
10
|
+
&::after
|
|
11
|
+
border: 3px solid var(--bal-form-field-icon-color)
|
|
12
|
+
border-radius: 2px
|
|
13
|
+
border-right: 0
|
|
14
|
+
border-top: 0
|
|
15
|
+
content: " "
|
|
16
|
+
display: block
|
|
17
|
+
height: 0.625em
|
|
18
|
+
margin-top: -0.4rem
|
|
19
|
+
pointer-events: none
|
|
20
|
+
position: absolute
|
|
21
|
+
top: 50%
|
|
22
|
+
transform: rotate(-45deg)
|
|
23
|
+
transform-origin: center
|
|
24
|
+
width: 0.625em
|
|
25
|
+
|
|
26
|
+
+ltr-position(1.125em)
|
|
27
|
+
z-index: 4
|
|
28
|
+
select
|
|
29
|
+
@extend %input
|
|
30
|
+
cursor: pointer
|
|
31
|
+
display: block
|
|
32
|
+
font-size: 1em
|
|
33
|
+
max-width: 100%
|
|
34
|
+
width: 100%
|
|
35
|
+
outline: none
|
|
36
|
+
border-radius: var(--bal-form-field-control-radius)
|
|
37
|
+
&::-ms-expand
|
|
38
|
+
display: none
|
|
39
|
+
&[disabled]:hover,
|
|
40
|
+
fieldset[disabled] &:hover
|
|
41
|
+
border-color: var(--bal-form-field-control-disabled-border-color)
|
|
42
|
+
&:not([multiple])
|
|
43
|
+
+ltr-property("padding", 2.5em)
|
|
44
|
+
&[multiple]
|
|
45
|
+
height: auto
|
|
46
|
+
padding: 0
|
|
47
|
+
option
|
|
48
|
+
padding: 0.5em 1em
|
|
49
|
+
// States
|
|
50
|
+
&:not(.is-multiple):not(.is-loading):hover
|
|
51
|
+
&::after
|
|
52
|
+
border-color: var(--bal-form-field-label-color-hover)
|
|
53
|
+
&:not(.is-multiple):not(.is-loading):active
|
|
54
|
+
&::after
|
|
55
|
+
border-color: var(--bal-form-field-label-color-active)
|
|
56
|
+
// Modifiers
|
|
57
|
+
&.is-disabled
|
|
58
|
+
&::after
|
|
59
|
+
border-color: var(--bal-form-field-control-disabled-border-color) !important
|
|
60
|
+
&.is-success
|
|
61
|
+
select
|
|
62
|
+
border-color: var(--bal-form-field-control-success-border-color)
|
|
63
|
+
background: var(--bal-form-field-control-success-background)
|
|
64
|
+
&.bal-focused,
|
|
65
|
+
&:focus,
|
|
66
|
+
&.is-focused,
|
|
67
|
+
&:active,
|
|
68
|
+
&.is-active
|
|
69
|
+
border-color: var(--bal-form-field-control-success-border-color-active)
|
|
70
|
+
&::after
|
|
71
|
+
border-color: var(--bal-form-field-control-success-border-color) !important
|
|
72
|
+
&:focus::after,
|
|
73
|
+
&:active::after,
|
|
74
|
+
&:focus-within::after
|
|
75
|
+
border-color: var(--bal-form-field-control-success-border-color-active) !important
|
|
76
|
+
&.is-danger
|
|
77
|
+
select
|
|
78
|
+
border-color: var(--bal-form-field-control-danger-border-color)
|
|
79
|
+
background: var(--bal-form-field-control-danger-background)
|
|
80
|
+
&.bal-focused,
|
|
81
|
+
&:focus,
|
|
82
|
+
&.is-focused,
|
|
83
|
+
&:active,
|
|
84
|
+
&.is-active
|
|
85
|
+
border-color: var(--bal-form-field-control-danger-border-color-active)
|
|
86
|
+
&::after
|
|
87
|
+
border-color: var(--bal-form-field-control-danger-border-color) !important
|
|
88
|
+
&:focus::after,
|
|
89
|
+
&:active::after,
|
|
90
|
+
&:focus-within::after
|
|
91
|
+
border-color: var(--bal-form-field-control-danger-border-color-active) !important
|
|
92
|
+
&.is-warning
|
|
93
|
+
select
|
|
94
|
+
border-color: var(--bal-color-border-warning)
|
|
95
|
+
background: var(--bal-color-warning-1)
|
|
96
|
+
&.bal-focused,
|
|
97
|
+
&:focus,
|
|
98
|
+
&.is-focused,
|
|
99
|
+
&:active,
|
|
100
|
+
&.is-active
|
|
101
|
+
border-color: var(--bal-color-border-primary)
|
|
102
|
+
&::after
|
|
103
|
+
border-color: var(--bal-color-border-warning) !important
|
|
104
|
+
&:focus::after,
|
|
105
|
+
&:active::after,
|
|
106
|
+
&:focus-within::after
|
|
107
|
+
border-color: var(--bal-color-border-primary) !important
|
|
108
|
+
&.is-fullwidth
|
|
109
|
+
width: 100%
|
|
110
|
+
select
|
|
111
|
+
width: 100%
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
=placeholder
|
|
2
|
+
$placeholders: ':-moz' ':-webkit-input' '-moz' '-ms-input'
|
|
3
|
+
@each $placeholder in $placeholders
|
|
4
|
+
&:#{$placeholder}-placeholder
|
|
5
|
+
@content
|
|
6
|
+
|
|
7
|
+
=input
|
|
8
|
+
@extend %control
|
|
9
|
+
justify-content: flex-start
|
|
10
|
+
background-color: var(--bal-form-field-control-background)
|
|
11
|
+
border-color: var(--bal-form-field-control-border-color)
|
|
12
|
+
border-style: var(--bal-form-field-control-border-style)
|
|
13
|
+
border-radius: var(--bal-form-field-control-radius)
|
|
14
|
+
color: var(--bal-form-field-control-color)
|
|
15
|
+
+placeholder
|
|
16
|
+
color: var(--bal-form-field-control-placeholder-color)
|
|
17
|
+
+hover()
|
|
18
|
+
&:hover,
|
|
19
|
+
&.is-hovered
|
|
20
|
+
border-color: var(--bal-form-field-control-border-color-hover)
|
|
21
|
+
background-color: var(--bal-form-field-control-background-hover)
|
|
22
|
+
&.bal-focused,
|
|
23
|
+
&:focus,
|
|
24
|
+
&.is-focused,
|
|
25
|
+
&:active,
|
|
26
|
+
&.is-active
|
|
27
|
+
border-color: var(--bal-form-field-control-border-color-active)
|
|
28
|
+
background-color: var(--bal-form-field-control-background-active)
|
|
29
|
+
&[disabled],
|
|
30
|
+
fieldset[disabled] &
|
|
31
|
+
background-color: var(--bal-form-field-control-disabled-background)
|
|
32
|
+
border-color: var(--bal-form-field-control-disabled-border-color)
|
|
33
|
+
box-shadow: none
|
|
34
|
+
color: var(--bal-form-field-control-disabled-color)
|
|
35
|
+
+placeholder
|
|
36
|
+
color: var(--bal-form-field-control-disabled-color)
|
|
37
|
+
|
|
38
|
+
=control
|
|
39
|
+
-moz-appearance: none !important
|
|
40
|
+
-webkit-appearance: none !important
|
|
41
|
+
align-items: center
|
|
42
|
+
border-width: var(--bal-border-width-normal)
|
|
43
|
+
border-color: var(--bal-color-border)
|
|
44
|
+
border-radius: var(--bal-radius-normal)
|
|
45
|
+
box-shadow: none
|
|
46
|
+
display: inline-flex
|
|
47
|
+
font-size: var(--bal-text-size-normal)
|
|
48
|
+
min-height: 3rem
|
|
49
|
+
height: 3rem
|
|
50
|
+
line-height: 1.5
|
|
51
|
+
padding-left: calc(0.75em - var(--bal-border-width-normal))
|
|
52
|
+
padding-right: calc(0.75em - var(--bal-border-width-normal))
|
|
53
|
+
position: relative
|
|
54
|
+
vertical-align: top
|
|
55
|
+
// States
|
|
56
|
+
&:focus,
|
|
57
|
+
&.is-focused,
|
|
58
|
+
&:active,
|
|
59
|
+
&.is-active
|
|
60
|
+
outline: none
|
|
61
|
+
&[disabled],
|
|
62
|
+
fieldset[disabled] &
|
|
63
|
+
cursor: default
|
|
64
|
+
|
|
65
|
+
%input
|
|
66
|
+
+input
|
|
67
|
+
|
|
68
|
+
%control
|
|
69
|
+
+control
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
@keyframes spinAround
|
|
2
|
+
from
|
|
3
|
+
transform: rotate(0deg)
|
|
4
|
+
to
|
|
5
|
+
transform: rotate(359deg)
|
|
6
|
+
|
|
7
|
+
.label
|
|
8
|
+
display: block
|
|
9
|
+
font-size: var(--bal-form-field-label-font-size)
|
|
10
|
+
line-height: var(--bal-form-field-label-line-height)
|
|
11
|
+
font-weight: var(--bal-form-field-label-font-weight)
|
|
12
|
+
font-family: var(--bal-form-field-label-font-family)
|
|
13
|
+
hyphens: auto
|
|
14
|
+
&:not(:last-child)
|
|
15
|
+
margin-bottom: var(--bal-form-field-label-margin-bottom)
|
|
16
|
+
&.is-danger
|
|
17
|
+
color: var(--bal-form-field-label-danger-color)
|
|
18
|
+
&.is-success
|
|
19
|
+
color: var(--bal-form-field-label-success-color)
|
|
20
|
+
// deprecated
|
|
21
|
+
&.is-warning
|
|
22
|
+
color: var(--bal-color-text-warning)
|
|
23
|
+
&.is-disabled
|
|
24
|
+
color: var(--bal-form-field-label-disabled-color)
|
|
25
|
+
|
|
26
|
+
.help
|
|
27
|
+
display: block
|
|
28
|
+
margin-top: -2px
|
|
29
|
+
color: var(--bal-form-field-message-color)
|
|
30
|
+
font-size: var(--bal-form-field-message-font-size)
|
|
31
|
+
font-weight: var(--bal-form-field-message-font-weight)
|
|
32
|
+
hyphens: auto
|
|
33
|
+
&.is-danger
|
|
34
|
+
color: var(--bal-form-field-message-danger-color)
|
|
35
|
+
&.is-success
|
|
36
|
+
color: var(--bal-form-field-message-success-color)
|
|
37
|
+
// deprecated
|
|
38
|
+
&.is-warning
|
|
39
|
+
color: var(--bal-color-text-warning)
|
|
40
|
+
&.is-disabled
|
|
41
|
+
color: var(--bal-form-field-message-disabled-color)
|
|
42
|
+
|
|
43
|
+
.field
|
|
44
|
+
&:not(:last-child)
|
|
45
|
+
margin-bottom: 0.75rem
|
|
46
|
+
// Modifiers
|
|
47
|
+
&.has-addons
|
|
48
|
+
display: flex
|
|
49
|
+
justify-content: flex-start
|
|
50
|
+
.control
|
|
51
|
+
&:not(:last-child)
|
|
52
|
+
+ltr-property("margin", -1px)
|
|
53
|
+
&:not(:first-child):not(:last-child)
|
|
54
|
+
.button,
|
|
55
|
+
.input,
|
|
56
|
+
.select select
|
|
57
|
+
border-radius: 0
|
|
58
|
+
&:first-child:not(:only-child)
|
|
59
|
+
.button,
|
|
60
|
+
.input,
|
|
61
|
+
.select select
|
|
62
|
+
border-bottom-right-radius: 0
|
|
63
|
+
border-top-right-radius: 0
|
|
64
|
+
&:last-child:not(:only-child)
|
|
65
|
+
.button,
|
|
66
|
+
.input,
|
|
67
|
+
.select select
|
|
68
|
+
border-bottom-left-radius: 0
|
|
69
|
+
border-top-left-radius: 0
|
|
70
|
+
.button,
|
|
71
|
+
.input,
|
|
72
|
+
.select select
|
|
73
|
+
&:not([disabled])
|
|
74
|
+
&:hover,
|
|
75
|
+
&.is-hovered
|
|
76
|
+
z-index: 2
|
|
77
|
+
&:focus,
|
|
78
|
+
&.is-focused,
|
|
79
|
+
&:active,
|
|
80
|
+
&.is-active
|
|
81
|
+
z-index: 3
|
|
82
|
+
&:hover
|
|
83
|
+
z-index: 4
|
|
84
|
+
&.is-expanded
|
|
85
|
+
flex-grow: 1
|
|
86
|
+
flex-shrink: 1
|
|
87
|
+
&.has-addons-centered
|
|
88
|
+
justify-content: center
|
|
89
|
+
&.has-addons-right
|
|
90
|
+
justify-content: flex-end
|
|
91
|
+
&.has-addons-fullwidth
|
|
92
|
+
.control
|
|
93
|
+
flex-grow: 1
|
|
94
|
+
flex-shrink: 0
|
|
95
|
+
&.is-grouped
|
|
96
|
+
display: flex
|
|
97
|
+
justify-content: flex-start
|
|
98
|
+
& > .control
|
|
99
|
+
flex-shrink: 0
|
|
100
|
+
&:not(:last-child)
|
|
101
|
+
margin-bottom: 0
|
|
102
|
+
&.is-expanded
|
|
103
|
+
flex-grow: 1
|
|
104
|
+
flex-shrink: 1
|
|
105
|
+
&.is-grouped-centered
|
|
106
|
+
justify-content: center
|
|
107
|
+
&.is-grouped-right
|
|
108
|
+
justify-content: flex-end
|
|
109
|
+
&.is-grouped-multiline
|
|
110
|
+
flex-wrap: wrap
|
|
111
|
+
& > .control
|
|
112
|
+
&:last-child,
|
|
113
|
+
&:not(:last-child)
|
|
114
|
+
margin-bottom: 0.75rem
|
|
115
|
+
&:last-child
|
|
116
|
+
margin-bottom: -0.75rem
|
|
117
|
+
&:not(:last-child)
|
|
118
|
+
margin-bottom: 0
|
|
119
|
+
&.is-horizontal
|
|
120
|
+
+tablet
|
|
121
|
+
display: flex
|
|
122
|
+
|
|
123
|
+
.field-label
|
|
124
|
+
.label
|
|
125
|
+
font-size: inherit
|
|
126
|
+
+mobile
|
|
127
|
+
margin-bottom: 0.5rem
|
|
128
|
+
+tablet
|
|
129
|
+
flex-basis: 0
|
|
130
|
+
flex-grow: 1
|
|
131
|
+
flex-shrink: 0
|
|
132
|
+
+ltr-property("margin", 1.5rem)
|
|
133
|
+
text-align: right
|
|
134
|
+
&.is-small
|
|
135
|
+
font-size: var(--bal-text-size-small)
|
|
136
|
+
padding-top: 0.375em
|
|
137
|
+
&.is-normal
|
|
138
|
+
padding-top: 0.375em
|
|
139
|
+
|
|
140
|
+
.field-body
|
|
141
|
+
.field .field
|
|
142
|
+
margin-bottom: 0
|
|
143
|
+
+tablet
|
|
144
|
+
display: flex
|
|
145
|
+
flex-basis: 0
|
|
146
|
+
flex-grow: 5
|
|
147
|
+
flex-shrink: 1
|
|
148
|
+
.field
|
|
149
|
+
margin-bottom: 0
|
|
150
|
+
& > .field
|
|
151
|
+
flex-shrink: 1
|
|
152
|
+
&:not(.is-narrow)
|
|
153
|
+
flex-grow: 1
|
|
154
|
+
&:not(:last-child)
|
|
155
|
+
+ltr-property("margin", 0.75rem)
|
|
156
|
+
|
|
157
|
+
.control
|
|
158
|
+
box-sizing: border-box
|
|
159
|
+
clear: both
|
|
160
|
+
font-size: var(--bal-form-field-control-font-size)
|
|
161
|
+
position: relative
|
|
162
|
+
text-align: inherit
|
|
163
|
+
&.is-loading
|
|
164
|
+
&::after
|
|
165
|
+
animation: spinAround 500ms infinite linear
|
|
166
|
+
border: 2px solid var(--bal-form-field-control-border-color-active)
|
|
167
|
+
border-radius: var(--bal-radius-rounded)
|
|
168
|
+
border-right-color: transparent
|
|
169
|
+
border-top-color: transparent
|
|
170
|
+
content: ""
|
|
171
|
+
display: block
|
|
172
|
+
height: 1.125em
|
|
173
|
+
width: 1.125em
|
|
174
|
+
position: absolute !important
|
|
175
|
+
+ltr-position(0.875rem)
|
|
176
|
+
top: 0.875rem
|
|
177
|
+
z-index: 4
|
|
178
|
+
|
|
179
|
+
.control.has-icons-right::after
|
|
180
|
+
right: 2.3rem
|
|
181
|
+
|
|
182
|
+
.field.is-grouped
|
|
183
|
+
gap: calc(var(--bal-column-gap) / 2)
|
|
184
|
+
|
|
185
|
+
.field.has-direction-row.is-grouped
|
|
186
|
+
flex-direction: row
|
|
187
|
+
|
|
188
|
+
.field.has-direction-column.is-grouped
|
|
189
|
+
flex-direction: column
|
|
190
|
+
width: fit-content
|
|
191
|
+
.button
|
|
192
|
+
width: 100%
|
|
193
|
+
.bal-button
|
|
194
|
+
margin: 0 !important
|
|
195
|
+
|
|
196
|
+
+mobile()
|
|
197
|
+
.field.has-direction-auto.is-grouped
|
|
198
|
+
flex-wrap: wrap
|
|
199
|
+
flex-direction: column
|
|
200
|
+
width: 100%
|
|
201
|
+
.control
|
|
202
|
+
flex-grow: 1
|
|
203
|
+
flex-shrink: 1
|
|
204
|
+
min-width: 100%
|
|
205
|
+
margin-right: 0 !important
|
|
206
|
+
.button
|
|
207
|
+
min-width: 100%
|
|
208
|
+
&.is-reverse
|
|
209
|
+
flex-direction: column-reverse
|