@steroidsjs/bootstrap 3.0.0-beta.85 → 3.0.0-beta.87

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.
Files changed (80) hide show
  1. package/content/Accordion/AccordionItemView.scss +24 -14
  2. package/content/Alert/AlertView.scss +20 -17
  3. package/content/Avatar/AvatarView.scss +12 -10
  4. package/content/Badge/BadgeView.scss +21 -19
  5. package/content/Calendar/CalendarView.scss +27 -37
  6. package/content/Calendar/CaptionElement.scss +14 -11
  7. package/content/Card/CardView.scss +11 -9
  8. package/content/Detail/DetailView.scss +13 -11
  9. package/content/DropDown/DropDownView.scss +4 -2
  10. package/content/Menu/MenuItemView.scss +7 -3
  11. package/content/Menu/MenuView.scss +16 -13
  12. package/form/AutoCompleteField/AutoCompleteFieldView.scss +36 -33
  13. package/form/Button/ButtonView.scss +28 -26
  14. package/form/CheckboxField/CheckboxFieldView.scss +29 -27
  15. package/form/DateField/DateFieldView.scss +11 -7
  16. package/form/DateRangeField/DateRangeFieldView.scss +21 -7
  17. package/form/DateTimeField/DateTimeFieldView.scss +11 -8
  18. package/form/DateTimeRangeField/DateTimeRangeFieldView.scss +15 -10
  19. package/form/DropDownField/DropDownFieldView.scss +75 -73
  20. package/form/DropDownFieldItem/DropDownFieldItemView.scss +13 -11
  21. package/form/FieldLayout/FieldLayoutView.scss +27 -25
  22. package/form/FieldList/FieldListItemView.scss +3 -1
  23. package/form/FieldList/FieldListView.scss +11 -8
  24. package/form/FieldSet/FieldSetView.scss +4 -1
  25. package/form/FileField/FileFieldItemView.scss +21 -17
  26. package/form/FileField/FileFieldView.scss +3 -1
  27. package/form/ImageField/ImageFieldView.scss +2 -2
  28. package/form/InputField/InputFieldView.scss +33 -31
  29. package/form/NumberField/NumberFieldView.scss +23 -21
  30. package/form/PasswordField/PasswordFieldView.scss +22 -20
  31. package/form/RadioField/RadioFieldView.scss +26 -24
  32. package/form/RateField/RateFieldView.scss +19 -16
  33. package/form/SliderField/SliderFieldView.scss +17 -15
  34. package/form/SwitcherField/SwitcherFieldView.scss +30 -26
  35. package/form/TextField/TextFieldView.scss +24 -21
  36. package/form/TimeField/TimeFieldView.scss +11 -8
  37. package/form/TimeField/TimePanelView.scss +13 -10
  38. package/form/TimeRangeField/TimeRangeFieldView.scss +14 -10
  39. package/index.scss +90 -89
  40. package/layout/Header/HeaderView.scss +15 -13
  41. package/layout/Loader/LoaderView.scss +5 -2
  42. package/layout/ProgressBar/CircleProgressBarView.scss +9 -7
  43. package/layout/ProgressBar/LineProgressBarView.scss +10 -8
  44. package/layout/Sidebar/FooterIcons/FooterIcons.scss +1 -1
  45. package/layout/Sidebar/SidebarLogo/SidebarLogo.scss +7 -7
  46. package/layout/Sidebar/SidebarUser/SidebarUser.scss +5 -5
  47. package/layout/Sidebar/SidebarView.scss +9 -7
  48. package/layout/Skeleton/SkeletonView.scss +7 -5
  49. package/layout/Tooltip/TooltipView.scss +2 -1
  50. package/list/Empty/EmptyView.scss +2 -1
  51. package/list/FlexGrid/FlexGridView.scss +6 -3
  52. package/list/Grid/GridView.scss +15 -13
  53. package/list/Grid/views/ContentColumnView/ContentColumnView.scss +9 -7
  54. package/list/Grid/views/DiagramColumnView/DiagramColumnView.scss +12 -12
  55. package/list/List/ListView.scss +3 -1
  56. package/list/Pagination/PaginationButtonView.scss +15 -13
  57. package/list/Steps/StepItemView.scss +13 -12
  58. package/list/Steps/StepsView.scss +3 -1
  59. package/modal/Modal/ModalView.scss +19 -17
  60. package/nav/Breadcrubms/BreadcrumbsView.scss +5 -5
  61. package/nav/ButtonGroup/ButtonGroupView.scss +8 -5
  62. package/nav/Nav/NavBarView.scss +7 -4
  63. package/nav/Nav/NavIconView.scss +6 -4
  64. package/nav/Nav/NavTabsView.scss +11 -8
  65. package/nav/Tree/TreeView.scss +7 -5
  66. package/package.json +1 -1
  67. package/scss/animations/index.scss +1 -1
  68. package/scss/mixins/button.scss +31 -28
  69. package/scss/mixins/customMixins.scss +2 -1
  70. package/scss/mixins/date.scss +55 -41
  71. package/scss/mixins/index.scss +6 -6
  72. package/scss/mixins/typography.scss +23 -20
  73. package/scss/variables/common/colors.scss +4 -2
  74. package/scss/variables/common/typography.scss +22 -19
  75. package/scss/variables/components/calendar.scss +8 -5
  76. package/scss/variables/components/input.scss +3 -1
  77. package/scss/variables/components/ratefield.scss +3 -1
  78. package/scss/variables/index.scss +10 -11
  79. package/typography/Text/TextView.scss +7 -4
  80. package/typography/Title/TitleView.scss +7 -4
@@ -1,3 +1,5 @@
1
+ @use "../../scss/variables";
2
+
1
3
  :root {
2
4
  --sidebar-text-color: #00000099;
3
5
  --sidebar-text-hover-color: #312c3a;
@@ -47,7 +49,7 @@ $sidebar-badge-border-color: var(--sidebar-badge-border-color);
47
49
  padding: 8px;
48
50
  max-width: 72px;
49
51
  transition: max-width 250ms ease-in-out;
50
- background-color: $element-background-color;
52
+ background-color: variables.$element-background-color;
51
53
 
52
54
  &__header {
53
55
  margin-bottom: 80px;
@@ -55,9 +57,9 @@ $sidebar-badge-border-color: var(--sidebar-badge-border-color);
55
57
 
56
58
  .ButtonView .ButtonView__link .ButtonView__text {
57
59
  color: $sidebar-text-color;
58
- font-size: $font-size-14;
59
- font-weight: $font-weight-sm;
60
- line-height: $line-height-18;
60
+ font-size: variables.$font-size-sm;
61
+ font-weight: variables.$font-weight-sm;
62
+ line-height: variables.$line-height-sm;
61
63
  transition: color 150ms ease-in-out;
62
64
  opacity: 0;
63
65
  }
@@ -92,12 +94,12 @@ $sidebar-badge-border-color: var(--sidebar-badge-border-color);
92
94
  &-item {
93
95
  position: relative;
94
96
  width: 100%;
95
- border-radius: $radius-large;
97
+ border-radius: variables.$radius-large;
96
98
 
97
99
  svg path,
98
100
  rect,
99
101
  circle {
100
- stroke: $icon-color;
102
+ stroke: variables.$icon-color;
101
103
  }
102
104
 
103
105
  transition: background-color 150ms ease-in-out;
@@ -241,7 +243,7 @@ $sidebar-badge-border-color: var(--sidebar-badge-border-color);
241
243
  }
242
244
 
243
245
  &__footer {
244
- border-top: 1px solid $element-border-color;
246
+ border-top: 1px solid variables.$element-border-color;
245
247
  }
246
248
 
247
249
  &__trigger {
@@ -1,6 +1,8 @@
1
+ @use "../../scss/variables";
2
+
1
3
  .SkeletonView{
2
4
  $root: &;
3
- background-color: $grey-darker;
5
+ background-color: variables.$grey-darker;
4
6
  border-radius: 4px;
5
7
  position: relative;
6
8
  overflow: hidden;
@@ -35,13 +37,13 @@
35
37
 
36
38
  @keyframes pulse {
37
39
  0% {
38
- background-color: $grey-darker;
40
+ background-color: variables.$grey-darker;
39
41
  }
40
42
  50% {
41
- background-color: $grey-light;
43
+ background-color: variables.$grey-light;
42
44
  }
43
45
  100% {
44
- background-color: $grey-darker;
46
+ background-color: variables.$grey-darker;
45
47
  }
46
48
  }
47
49
 
@@ -54,7 +56,7 @@
54
56
  content: "";
55
57
  position: absolute;
56
58
  transform: translateX(-100%);
57
- background: linear-gradient(90deg, transparent, rgba($grey-light, 0.3), transparent);
59
+ background: linear-gradient(90deg, transparent, rgba(variables.$grey-light, 0.3), transparent);
58
60
  animation: wave-animation 1.6s linear 0.5s infinite;
59
61
  }
60
62
  }
@@ -1,4 +1,5 @@
1
1
  @use 'sass:math';
2
+ @use "../../scss/variables";
2
3
 
3
4
  $tooltip-arrow-width: 10px;
4
5
  $tooltip-arrow-height: 10px;
@@ -121,7 +122,7 @@ $tooltip-background-color: rgba(65, 65, 65, 0.95);
121
122
  }
122
123
 
123
124
  &__content{
124
- color: $white;
125
+ color: variables.$white;
125
126
  font-size: 14px;
126
127
  line-height: 24px;
127
128
  }
@@ -1,6 +1,7 @@
1
+ @use "../../scss/variables";
1
2
 
2
3
  .EmptyView {
3
4
  text-align: center;
4
5
  padding: 20px;
5
- color: $text-color;
6
+ color: variables.$text-color;
6
7
  }
@@ -1,3 +1,6 @@
1
+ @use "../../scss/variables";
2
+
3
+
1
4
  $justifyValues: center, end, start, stretch, flex-start, flex-end, left, right, space-between, space-around, space-evenly;
2
5
  $alignValues: center, end, start, stretch, flex-start, flex-end;
3
6
  $directionValues: column-reverse column row-reverse row;
@@ -44,13 +47,13 @@ $colMaxValue: 12;
44
47
  @include col(col, $root);
45
48
  @include col(offset, $root, margin-inline-start);
46
49
 
47
- @media (max-width: $desktop-width) {
50
+ @media (max-width: variables.$desktop-width) {
48
51
  @include col(lg, $root);
49
52
  }
50
- @media (max-width: $tablet-width) {
53
+ @media (max-width: variables.$tablet-width) {
51
54
  @include col(md, $root);
52
55
  }
53
- @media (max-width: $mobile-width) {
56
+ @media (max-width: variables.$mobile-width) {
54
57
  @include col(sm, $root);
55
58
  }
56
59
  }
@@ -1,3 +1,5 @@
1
+ @use "../../scss/variables";
2
+
1
3
  :root {
2
4
  --grid-header-background-color: var(--light-gray);
3
5
  --grid-border-color: var(--gray);
@@ -33,16 +35,16 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
33
35
  border-spacing: 0;
34
36
  border-collapse: separate;
35
37
  border: 1px solid $grid-border-color;
36
- border-radius: $radius-large;
38
+ border-radius: variables.$radius-large;
37
39
  margin: 24px 0;
38
40
 
39
41
  th,
40
42
  td {
41
- color: $text-color;
43
+ color: variables.$text-color;
42
44
  background-color: $grid-td-background-color;
43
45
  }
44
46
  th {
45
- font-weight: $font-weight-lg;
47
+ font-weight: variables.$font-weight-lg;
46
48
  background-color: $grid-header-background-color;
47
49
  }
48
50
 
@@ -61,20 +63,20 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
61
63
 
62
64
  thead > tr > th {
63
65
  &:first-child {
64
- border-top-left-radius: $radius-large;
66
+ border-top-left-radius: variables.$radius-large;
65
67
  }
66
68
  &:last-child {
67
- border-top-right-radius: $radius-large;
69
+ border-top-right-radius: variables.$radius-large;
68
70
  }
69
71
  }
70
72
 
71
73
  tbody > tr:last-child > td {
72
74
  &:first-child {
73
- border-bottom-left-radius: $radius-large;
75
+ border-bottom-left-radius: variables.$radius-large;
74
76
  }
75
77
 
76
78
  &:last-child {
77
- border-bottom-right-radius: $radius-large;
79
+ border-bottom-right-radius: variables.$radius-large;
78
80
  }
79
81
  }
80
82
  }
@@ -88,8 +90,8 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
88
90
  &_size {
89
91
  &_lg {
90
92
  #{$root}__table {
91
- font-size: $font-size-lg;
92
- line-height: $line-height-lg;
93
+ font-size: variables.$font-size-lg;
94
+ line-height: variables.$line-height-lg;
93
95
  }
94
96
 
95
97
  th,
@@ -100,8 +102,8 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
100
102
 
101
103
  &_md {
102
104
  #{$root}__table {
103
- font-size: $font-size-base;
104
- line-height: $line-height-base;
105
+ font-size: variables.$font-size-base;
106
+ line-height: variables.$line-height-base;
105
107
  }
106
108
 
107
109
  th,
@@ -112,8 +114,8 @@ $grid-td-alternating-color: var(--grid-td-alternating-color);
112
114
 
113
115
  &_sm {
114
116
  #{$root}__table {
115
- font-size: $font-size-sm;
116
- line-height: $line-height-sm;
117
+ font-size: variables.$font-size-sm;
118
+ line-height: variables.$line-height-sm;
117
119
  }
118
120
 
119
121
  th,
@@ -1,3 +1,5 @@
1
+ @use "../../../../scss/variables";
2
+
1
3
  :root {
2
4
  --grid-icon-color: #323232;
3
5
  }
@@ -26,7 +28,7 @@ $grid-icon-color: var(--grid-icon-color);
26
28
  }
27
29
 
28
30
  &__subtitle {
29
- color: $element-placeholder-color;
31
+ color: variables.$element-placeholder-color;
30
32
  }
31
33
 
32
34
  &__picture {
@@ -53,8 +55,8 @@ $grid-icon-color: var(--grid-icon-color);
53
55
  &_size {
54
56
  &_lg {
55
57
  #{$root}__subtitle {
56
- font-size: $font-size-base;
57
- line-height: $line-height-base;
58
+ font-size: variables.$font-size-base;
59
+ line-height: variables.$line-height-base;
58
60
  }
59
61
 
60
62
  #{$root}__avatar-wrapper {
@@ -65,15 +67,15 @@ $grid-icon-color: var(--grid-icon-color);
65
67
 
66
68
  &_md {
67
69
  #{$root}__subtitle {
68
- font-size: $font-size-sm;
69
- line-height: $line-height-sm;
70
+ font-size: variables.$font-size-sm;
71
+ line-height: variables.$line-height-sm;
70
72
  }
71
73
  }
72
74
 
73
75
  &_sm {
74
76
  #{$root}__subtitle {
75
- font-size: $font-size-xs;
76
- line-height: $line-height-xs;
77
+ font-size: variables.$font-size-xs;
78
+ line-height: variables.$line-height-xs;
77
79
  }
78
80
  }
79
81
  }
@@ -1,4 +1,4 @@
1
- @import "style/variables";
1
+ @use "../../../../scss/variables";
2
2
 
3
3
  .DiagramColumnView {
4
4
  $root: &;
@@ -40,10 +40,10 @@
40
40
  }
41
41
 
42
42
  &__diagram {
43
- font-weight: $font-weight-lg;
44
- font-size: $font-size-xs;
45
- line-height: $line-height-xs;
46
- color: $text-color;
43
+ font-weight: variables.$font-weight-lg;
44
+ font-size: variables.$font-size-xs;
45
+ line-height: variables.$line-height-xs;
46
+ color: variables.$text-color;
47
47
  width: 100%;
48
48
  }
49
49
 
@@ -66,7 +66,7 @@
66
66
  top: 0;
67
67
 
68
68
  &_color {
69
- @each $color, $color-map in $diagram-colors {
69
+ @each $color, $color-map in variables.$diagram-colors {
70
70
  &_#{$color} {
71
71
  background-color: map-get($color-map, color-themed);
72
72
  border-right: 1px solid map-get($color-map, color);
@@ -105,7 +105,7 @@
105
105
  bottom: 0;
106
106
 
107
107
  &_color {
108
- @each $color, $color-map in $diagram-colors {
108
+ @each $color, $color-map in variables.$diagram-colors {
109
109
  &_#{$color} {
110
110
  background-color: map-get($color-map, color-themed);
111
111
  border-top: 1px solid map-get($color-map, color);
@@ -133,10 +133,10 @@
133
133
  #{$root}__subtitle {
134
134
  margin: 0 auto;
135
135
 
136
- font-weight: $font-weight-sm;
137
- font-size: $font-size-base;
138
- line-height: $line-height-base;
139
- color: $element-placeholder-color;
136
+ font-weight: variables.$font-weight-sm;
137
+ font-size: variables.$font-size-base;
138
+ line-height: variables.$line-height-base;
139
+ color: variables.$element-placeholder-color;
140
140
  }
141
141
  }
142
142
 
@@ -150,7 +150,7 @@
150
150
  border-radius: 100%;
151
151
 
152
152
  &_color {
153
- @each $color, $color-map in $diagram-colors {
153
+ @each $color, $color-map in variables.$diagram-colors {
154
154
  &_#{$color} {
155
155
  border: 2px solid map-get($color-map, color);
156
156
  }
@@ -1,5 +1,7 @@
1
+ @use "../../scss/variables";
2
+
1
3
  .ListView {
2
- color: $text-color;
4
+ color: variables.$text-color;
3
5
 
4
6
  .FormView {
5
7
  margin-bottom: 10px;
@@ -1,3 +1,5 @@
1
+ @use "../../scss/variables";
2
+
1
3
  :root {
2
4
  --pagination-border-color: var(--gray);
3
5
  --pagination-hover-background-color: $white;
@@ -25,7 +27,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
25
27
 
26
28
  display: flex;
27
29
  flex-flow: row nowrap;
28
- color: $text-color;
30
+ color: variables.$text-color;
29
31
 
30
32
  &_size {
31
33
  &_lg {
@@ -33,7 +35,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
33
35
  #{$root}__page {
34
36
  &-button {
35
37
  padding: 12px 18px;
36
- font-size: $font-size-lg;
38
+ font-size: variables.$font-size-lg;
37
39
  line-height: 24px;
38
40
 
39
41
  &_hasIcon {
@@ -71,7 +73,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
71
73
  #{$root}__page {
72
74
  &-button {
73
75
  padding: 8px 14px;
74
- font-size: $font-size-base;
76
+ font-size: variables.$font-size-base;
75
77
  line-height: 24px;
76
78
 
77
79
  &_hasIcon {
@@ -109,7 +111,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
109
111
  #{$root}__page {
110
112
  &-button {
111
113
  padding: 4px 12px;
112
- font-size: $font-size-sm;
114
+ font-size: variables.$font-size-sm;
113
115
  line-height: 25px;
114
116
 
115
117
  &_hasIcon {
@@ -151,7 +153,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
151
153
  display: inline-block;
152
154
  cursor: pointer;
153
155
 
154
- background-color: $element-background-color;
156
+ background-color: variables.$element-background-color;
155
157
  border: 1px solid $pagination-border-color;
156
158
  border-right: none;
157
159
 
@@ -165,7 +167,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
165
167
  height: 100%;
166
168
  pointer-events: none;
167
169
  border-radius: inherit;
168
- border: 4px solid $light-gray;
170
+ border: 4px solid variables.$light-gray;
169
171
  opacity: 0;
170
172
  }
171
173
 
@@ -174,12 +176,12 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
174
176
  }
175
177
 
176
178
  &_active {
177
- background-color: $primary;
178
- color: $white;
179
+ background-color: variables.$primary;
180
+ color: variables.$white;
179
181
  }
180
182
 
181
183
  &_hasIcon:not(#{$pageRoot}_disabled):active {
182
- background-color: $primary;
184
+ background-color: variables.$primary;
183
185
 
184
186
  #{$pageRoot}-icon {
185
187
  path {
@@ -189,7 +191,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
189
191
  }
190
192
 
191
193
  &:not(#{$pageRoot}_disabled):not(#{$pageRoot}_active):hover {
192
- border-color: $element-border-color-hover;
194
+ border-color: variables.$element-border-color-hover;
193
195
  background-color: $pagination-hover-background-color;
194
196
  }
195
197
 
@@ -244,8 +246,8 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
244
246
  }
245
247
 
246
248
  &_disabled {
247
- background-color: $element-background-color-disabled;
248
- color: $element-placeholder-color-disabled;
249
+ background-color: variables.$element-background-color-disabled;
250
+ color: variables.$element-placeholder-color-disabled;
249
251
 
250
252
  cursor: not-allowed;
251
253
 
@@ -256,7 +258,7 @@ $pagination-background-color-disabled: var(--pagination-background-color-disable
256
258
  #{$pageRoot}-icon {
257
259
  pointer-events: none;
258
260
  path {
259
- stroke: $element-placeholder-color-disabled;
261
+ stroke: variables.$element-placeholder-color-disabled;
260
262
  }
261
263
  }
262
264
  }
@@ -1,3 +1,4 @@
1
+ @use "../../scss/variables";
1
2
 
2
3
  .StepItemView{
3
4
  $root: &;
@@ -14,31 +15,31 @@
14
15
  }
15
16
 
16
17
  &__icon{
17
- background-color: rgba($white, .2);
18
+ background-color: rgba(variables.$white, .2);
18
19
  padding: 5px;
19
20
  border-radius: 10px;
20
21
  }
21
22
 
22
23
  &_wait{
23
24
  #{$root}__icon{
24
- background-color: $grey-darker;
25
+ background-color: variables.$grey-darker;
25
26
  svg{
26
- fill: $white;
27
+ fill:variables.$white;
27
28
  }
28
29
  }
29
30
 
30
31
  #{$root}__title, #{$root}__subtitle, #{$root}__description{
31
- color: $grey-darker;
32
+ color: variables.$grey-darker;
32
33
  }
33
34
 
34
35
  #{$root}__divider{
35
- border-top-color: $grey-darker;
36
+ border-top-color: variables.$grey-darker;
36
37
  }
37
38
  }
38
39
 
39
40
  &_active{
40
41
  #{$root}__body{
41
- background-color: $primary;
42
+ background-color: variables.$primary;
42
43
  }
43
44
 
44
45
  #{$root}__icon svg{
@@ -50,13 +51,13 @@
50
51
  }
51
52
 
52
53
  #{$root}__divider{
53
- border-top-color: $primary;
54
+ border-top-color: variables.$primary;
54
55
  }
55
56
  }
56
57
 
57
58
  &_finish{
58
59
  #{$root}__body{
59
- background-color: $success;
60
+ background-color: variables.$success;
60
61
  }
61
62
 
62
63
  #{$root}__icon svg{
@@ -68,13 +69,13 @@
68
69
  }
69
70
 
70
71
  #{$root}__divider{
71
- border-top-color: $success;
72
+ border-top-color: variables.$success;
72
73
  }
73
74
  }
74
75
 
75
76
  &_error{
76
77
  #{$root}__body{
77
- background-color: $danger;
78
+ background-color: variables.$danger;
78
79
  }
79
80
 
80
81
  #{$root}__icon svg{
@@ -86,7 +87,7 @@
86
87
  }
87
88
 
88
89
  #{$root}__divider{
89
- border-top-color: $danger;
90
+ border-top-color: variables.$danger;
90
91
  }
91
92
  }
92
93
 
@@ -115,7 +116,7 @@
115
116
  &__icon{
116
117
  margin-right: 5px;
117
118
 
118
- color: $white;
119
+ color: variables.$white;
119
120
  font-size: 12px;
120
121
  font-weight: 500;
121
122
 
@@ -1,3 +1,5 @@
1
+ @use "../../scss/variables";
2
+
1
3
  .StepsView{
2
4
  width: 100%;
3
5
  min-height: 96px;
@@ -6,7 +8,7 @@
6
8
  justify-content: center;
7
9
  align-items: center;
8
10
  flex-shrink: 1;
9
- background: $secondary-light;
11
+ background: variables.$secondary-light;
10
12
  overflow: auto;
11
13
  padding: 5px;
12
14
 
@@ -1,9 +1,11 @@
1
- :root {
2
- --modal-background-color: #FFFFFF;
1
+ @use "../../scss/variables";
2
+
3
+ :root {
4
+ --modal-background-color: #ffffff;
3
5
  }
4
6
 
5
7
  html[data-theme="dark"] {
6
- --modal-background-color: #272A37;
8
+ --modal-background-color: #272a37;
7
9
  }
8
10
 
9
11
  $modal-background-color: var(--modal-background-color);
@@ -29,15 +31,15 @@ $modal-background-color: var(--modal-background-color);
29
31
  margin: auto;
30
32
  overflow: visible;
31
33
  background-color: $modal-background-color;
32
- color: $text-color;
34
+ color: variables.$text-color;
33
35
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
34
36
 
35
37
  &_size {
36
38
  &_lg {
37
39
  border-radius: 16px;
38
40
 
39
- font-size: $font-size-lg;
40
- line-height: $line-height-lg;
41
+ font-size: variables.$font-size-lg;
42
+ line-height: variables.$line-height-lg;
41
43
 
42
44
  #{$root}__header {
43
45
  padding: 24px;
@@ -47,15 +49,15 @@ $modal-background-color: var(--modal-background-color);
47
49
  padding: 24px;
48
50
  }
49
51
 
50
- #{$root}__footer {
52
+ #{$root}__footer {
51
53
  padding: 24px;
52
54
  }
53
55
  }
54
56
  &_md {
55
- border-radius: $radius-large;
57
+ border-radius: variables.$radius-large;
56
58
 
57
- font-size: $font-size-base;
58
- line-height: $line-height-base;
59
+ font-size: variables.$font-size-base;
60
+ line-height: variables.$line-height-base;
59
61
 
60
62
  #{$root}__header {
61
63
  padding: 21px 20px;
@@ -65,15 +67,15 @@ $modal-background-color: var(--modal-background-color);
65
67
  padding: 20px;
66
68
  }
67
69
 
68
- #{$root}__footer {
70
+ #{$root}__footer {
69
71
  padding: 20px;
70
72
  }
71
73
  }
72
74
  &_sm {
73
- border-radius: $radius-small;
75
+ border-radius: variables.$radius-small;
74
76
 
75
- font-size: $font-size-sm;
76
- line-height: $line-height-sm;
77
+ font-size: variables.$font-size-sm;
78
+ line-height: variables.$line-height-sm;
77
79
 
78
80
  #{$root}__header {
79
81
  padding: 19px 16px;
@@ -83,7 +85,7 @@ $modal-background-color: var(--modal-background-color);
83
85
  padding: 16px;
84
86
  }
85
87
 
86
- #{$root}__footer {
88
+ #{$root}__footer {
87
89
  padding: 16px;
88
90
  }
89
91
  }
@@ -104,7 +106,7 @@ $modal-background-color: var(--modal-background-color);
104
106
  &__title {
105
107
  font-size: inherit;
106
108
  line-height: inherit;
107
- font-weight: $font-weight-lg;
109
+ font-weight: variables.$font-weight-lg;
108
110
  }
109
111
 
110
112
  &__close {
@@ -114,7 +116,7 @@ $modal-background-color: var(--modal-background-color);
114
116
 
115
117
  svg {
116
118
  path {
117
- stroke: $text-color;
119
+ stroke: variables.$text-color;
118
120
  }
119
121
  }
120
122
  }
@@ -1,4 +1,4 @@
1
-
1
+ @use "../../scss/variables";
2
2
 
3
3
  :root {
4
4
  --last-link-color: rgba(0, 0, 0, 0.3);;
@@ -19,11 +19,11 @@ $last-link-color: var(--last-link-color);
19
19
  display: flex;
20
20
 
21
21
  svg {
22
- stroke: $link-color;
22
+ stroke: variables.$link-color;
23
23
  }
24
24
 
25
25
  svg:hover {
26
- stroke: $link-color-hover;
26
+ stroke: variables.$link-color-hover;
27
27
  }
28
28
 
29
29
  svg path, svg circle {
@@ -52,7 +52,7 @@ $last-link-color: var(--last-link-color);
52
52
  content: $breadcrumb-item-separator;
53
53
  display: inline-block;
54
54
  margin: 0 8px;
55
- color: $link-color;
55
+ color: variables.$link-color;
56
56
  }
57
57
 
58
58
  span {
@@ -61,7 +61,7 @@ $last-link-color: var(--last-link-color);
61
61
  }
62
62
 
63
63
  span:hover {
64
- color: $link-color-hover;
64
+ color: variables.$link-color-hover;
65
65
  }
66
66
  }
67
67
  }