superdesk-ui-framework 3.0.62 → 3.0.63

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 (88) hide show
  1. package/app/styles/_accessibility.scss +1 -1
  2. package/app/styles/_alerts.scss +6 -6
  3. package/app/styles/_avatar.scss +4 -4
  4. package/app/styles/_badge.scss +4 -4
  5. package/app/styles/_big-icon-font.scss +1 -1
  6. package/app/styles/_boxed-list.scss +8 -8
  7. package/app/styles/_buttons.scss +17 -17
  8. package/app/styles/_carousel.scss +20 -20
  9. package/app/styles/_content-divider.scss +20 -20
  10. package/app/styles/_empty-states.scss +8 -8
  11. package/app/styles/_hamburger.scss +8 -8
  12. package/app/styles/_helpers.scss +509 -122
  13. package/app/styles/_loaders.scss +8 -8
  14. package/app/styles/_master-desk.scss +14 -14
  15. package/app/styles/_mixins.scss +4 -4
  16. package/app/styles/_modals.scss +18 -18
  17. package/app/styles/_normalize.scss +3 -3
  18. package/app/styles/_popover.scss +2 -2
  19. package/app/styles/_publisher-styles.scss +13 -13
  20. package/app/styles/_sd-tag-input.scss +18 -18
  21. package/app/styles/_simple-list.scss +6 -6
  22. package/app/styles/_table-list.scss +2 -2
  23. package/app/styles/_tables.scss +10 -10
  24. package/app/styles/_tabs-vertical.scss +3 -3
  25. package/app/styles/_tabs.scss +4 -4
  26. package/app/styles/_tag-labels.scss +4 -4
  27. package/app/styles/_thumb-carousel.scss +14 -14
  28. package/app/styles/_toggle-box.scss +8 -8
  29. package/app/styles/_toggle-button.scss +1 -1
  30. package/app/styles/_tooltips.scss +37 -37
  31. package/app/styles/components/_card-item.scss +25 -25
  32. package/app/styles/components/_list-item.scss +32 -32
  33. package/app/styles/components/_sd-circular-progress.scss +6 -6
  34. package/app/styles/components/_sd-collapse-box.scss +16 -16
  35. package/app/styles/components/_sd-comment-box.scss +4 -4
  36. package/app/styles/components/_sd-dropzone.scss +1 -1
  37. package/app/styles/components/_sd-editor-popup.scss +7 -7
  38. package/app/styles/components/_sd-grid-item.scss +22 -22
  39. package/app/styles/components/_sd-loader.scss +4 -4
  40. package/app/styles/components/_sd-media-carousel.scss +7 -7
  41. package/app/styles/components/_sd-notification-panel.scss +1 -1
  42. package/app/styles/components/_sd-photo-preview.scss +34 -34
  43. package/app/styles/components/_sd-searchbar.scss +8 -8
  44. package/app/styles/components/_sd-toaster.scss +20 -20
  45. package/app/styles/components/_subnav.scss +38 -38
  46. package/app/styles/components/sd-slider.scss +11 -11
  47. package/app/styles/design-tokens/_design-tokens-general.scss +12 -0
  48. package/app/styles/dropdowns/_basic-dropdown.scss +30 -30
  49. package/app/styles/dropdowns/_input-dropdown.scss +4 -4
  50. package/app/styles/dropdowns/_navigation_dropdown.scss +8 -8
  51. package/app/styles/dropdowns/_other_dropdown.scss +5 -5
  52. package/app/styles/editor/_editor-buttons.scss +2 -2
  53. package/app/styles/editor/_editor-themes.scss +6 -6
  54. package/app/styles/form-elements/_autocomplete.scss +4 -4
  55. package/app/styles/form-elements/_checkbox.scss +5 -5
  56. package/app/styles/form-elements/_forms-general.scss +44 -44
  57. package/app/styles/form-elements/_input-preview.scss +1 -1
  58. package/app/styles/form-elements/_input-wrap.scss +3 -3
  59. package/app/styles/form-elements/_inputs.scss +33 -33
  60. package/app/styles/form-elements/_radio.scss +3 -3
  61. package/app/styles/form-elements/_select-grid.scss +3 -3
  62. package/app/styles/form-elements/_switch.scss +3 -3
  63. package/app/styles/grids/_basic-grid.scss +2 -2
  64. package/app/styles/grids/_grid-layout.scss +42 -42
  65. package/app/styles/grids/_layout-grid.scss +11 -11
  66. package/app/styles/grids/_sd-kanban-list.scss +7 -7
  67. package/app/styles/interface-elements/_side-panel.scss +38 -38
  68. package/app/styles/layout/_basic-layout.scss +20 -20
  69. package/app/styles/layout/_editor.scss +7 -7
  70. package/app/styles/layout/_general.scss +16 -16
  71. package/app/styles/menus/_sd-bottom-tabs.scss +1 -1
  72. package/app/styles/menus/_sd-left-navigation.scss +8 -8
  73. package/app/styles/menus/_sd-sidebar-menu.scss +33 -33
  74. package/app/styles/menus/_sd-top-menu.scss +7 -7
  75. package/app/styles/primereact/_pr-autocomplete.scss +1 -1
  76. package/app/styles/primereact/_pr-datepicker.scss +11 -11
  77. package/app/styles/primereact/_pr-dialog.scss +7 -7
  78. package/app/styles/primereact/_pr-dropdown.scss +1 -1
  79. package/app/styles/primereact/_pr-general.scss +1 -1
  80. package/app/styles/primereact/_pr-menu.scss +3 -3
  81. package/app/styles/primereact/_pr-skeleton.scss +3 -3
  82. package/app/styles/primereact/_pr-tag-input.scss +2 -2
  83. package/dist/examples.bundle.css +13 -13
  84. package/dist/examples.bundle.js +17 -14
  85. package/dist/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  86. package/dist/superdesk-ui.bundle.css +1326 -1227
  87. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +22 -13
  88. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  .a11y-only {
2
2
  position: absolute;
3
- top: 0;
3
+ inset-block-start: 0;
4
4
  z-index: -1;
5
5
  pointer-events: none;
6
6
  opacity: 0 !important;
@@ -65,11 +65,11 @@ $sd-alert-transition-small: font-size ease-out 20ms, padding ease-out 200ms, max
65
65
  }
66
66
 
67
67
  &--marg-b12 {
68
- margin-bottom: 1.2rem;
68
+ margin-block-end: 1.2rem;
69
69
  }
70
70
 
71
71
  &--no-margin {
72
- margin-bottom: 0;
72
+ margin-block-end: 0;
73
73
  }
74
74
 
75
75
  &--margin-none {
@@ -254,8 +254,8 @@ $sd-alert-transition-small: font-size ease-out 20ms, padding ease-out 200ms, max
254
254
  width: 16px;
255
255
  height:16px;
256
256
  position: absolute;
257
- top:0;
258
- left: 0.3rem;
257
+ inset-block-start:0;
258
+ inset-inline-start: 0.3rem;
259
259
  line-height: inherit;
260
260
  color: inherit;
261
261
  font-style: normal;
@@ -311,7 +311,7 @@ $sd-alert-transition-small: font-size ease-out 20ms, padding ease-out 200ms, max
311
311
 
312
312
  & [class^="icon-"], & [class*=" icon-"] {
313
313
  color:inherit;
314
- margin-top: 0.3rem;
314
+ margin-block-start: 0.3rem;
315
315
  }
316
316
 
317
317
  &:hover {
@@ -384,6 +384,6 @@ $sd-alert-transition-small: font-size ease-out 20ms, padding ease-out 200ms, max
384
384
  .sd-alert {
385
385
  box-shadow: none !important;
386
386
  border-radius: unset !important;
387
- margin-bottom: 0;
387
+ margin-block-end: 0;
388
388
  }
389
389
  }
@@ -189,7 +189,7 @@
189
189
  display: block;
190
190
  position: absolute;
191
191
  inset-block-start: 4px;
192
- left: 4px;
192
+ inset-inline-start: 4px;
193
193
  background: var(--sd-colour-background__base--00);
194
194
  width: 8px;
195
195
  height: 8px;
@@ -205,7 +205,7 @@
205
205
 
206
206
  .sd-avatar--indicator-admin {
207
207
  inset-block-start: -4px;
208
- left: -6px;
208
+ inset-inline-start: -6px;
209
209
  }
210
210
  }
211
211
 
@@ -216,7 +216,7 @@
216
216
 
217
217
  .sd-avatar--indicator-admin {
218
218
  inset-block-start: -4px;
219
- left: -6px;
219
+ inset-inline-start: -6px;
220
220
  }
221
221
  }
222
222
 
@@ -270,7 +270,7 @@
270
270
  height: 14px;
271
271
  width: 14px;
272
272
  inset-block-start: 1px;
273
- left: 5px;
273
+ inset-inline-start: 5px;
274
274
  }
275
275
  }
276
276
  }
@@ -82,17 +82,17 @@ $badge-lineheight: 1.1em !default;
82
82
 
83
83
  .badge {
84
84
  position: absolute;
85
- top: -.5rem;
86
- right: -.8rem;
85
+ inset-block-start: -.5rem;
86
+ inset-inline-end: -.8rem;
87
87
  }
88
88
 
89
89
  + .element-with-badge, + .btn {
90
- margin-left: 1.2rem;
90
+ margin-inline-start: 1.2rem;
91
91
  vertical-align: top;
92
92
  }
93
93
  }
94
94
  .btn + .element-with-badge {
95
- margin-left: 1.2rem;
95
+ margin-inline-start: 1.2rem;
96
96
  vertical-align: top;
97
97
  }
98
98
 
@@ -93,7 +93,7 @@ $sd-big-icon-font: (
93
93
  add-to-list: "\e61e",
94
94
  text: "\e61f",
95
95
  desk: "\e620",
96
- chevron-left: "\e621",
96
+ chevron-inset-inline-start: "\e621",
97
97
  chevron-right: "\e622",
98
98
  dashboard-alt: "\e623",
99
99
  master: "\e624",
@@ -5,7 +5,7 @@
5
5
  flex-direction: column;
6
6
  align-self: stretch;
7
7
  gap: $sd-base-increment * 1.5;
8
- margin-bottom: $sd-base-increment * 2;
8
+ margin-block-end: $sd-base-increment * 2;
9
9
  }
10
10
 
11
11
  .boxed-list--comfortable {
@@ -32,8 +32,8 @@ $boxed-list-palette: $sd-basic-palette;
32
32
  width: 4px;
33
33
  height: 100%;
34
34
  position: absolute;
35
- top: 0px;
36
- left: 0px;
35
+ inset-block-start: 0px;
36
+ inset-inline-start: 0px;
37
37
  background-color: $color;
38
38
  z-index: 1;
39
39
  border-radius: 3px 0 0 3px;
@@ -51,7 +51,7 @@ $boxed-list-palette: $sd-basic-palette;
51
51
  &:hover {
52
52
  .boxed-list__slide-in-actions,
53
53
  .boxed-list__actions--slide-in {
54
- padding-left: 0.6rem;
54
+ padding-inline-start: 0.6rem;
55
55
  width: auto;
56
56
  max-width: 32px;
57
57
  overflow: visible;
@@ -96,7 +96,7 @@ $boxed-list-palette: $sd-basic-palette;
96
96
 
97
97
  .boxed-list__item--comfortable {
98
98
  min-height: 3.2rem;
99
- @include sd-padding('1-5');
99
+ padding: var(--space--1-5);
100
100
  }
101
101
 
102
102
  .boxed-list__item--compact {
@@ -106,7 +106,7 @@ $boxed-list-palette: $sd-basic-palette;
106
106
 
107
107
  .boxed-list__item--loose {
108
108
  min-height: 4.8rem;
109
- @include sd-padding('2');
109
+ padding: var(--space--2);
110
110
  }
111
111
 
112
112
  .boxed-list__item-media {
@@ -170,7 +170,7 @@ $boxed-list-palette: $sd-basic-palette;
170
170
  flex-direction: row;
171
171
  align-items: center;
172
172
  padding: 0.8rem 0.8rem 0 0.8rem;
173
- margin-top: 0.8rem;
173
+ margin-block-start: 0.8rem;
174
174
  }
175
175
 
176
176
  .boxed-list__item-footer--allign-baseline {
@@ -178,7 +178,7 @@ $boxed-list-palette: $sd-basic-palette;
178
178
  }
179
179
 
180
180
  .boxed-list__item-content-row + .boxed-list__item-content-row {
181
- margin-top: 0.8rem;
181
+ margin-block-start: 0.8rem;
182
182
  }
183
183
 
184
184
  .boxed-list__slide-in-actions,
@@ -288,8 +288,8 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
288
288
 
289
289
  .btn--expanded {
290
290
  width: 100%;
291
- margin-right: 0;
292
- margin-left: 0;
291
+ margin-inline-end: 0;
292
+ margin-inline-start: 0;
293
293
  }
294
294
 
295
295
  // Colours
@@ -635,47 +635,47 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
635
635
  }
636
636
 
637
637
  .button-group__divider--small {
638
- @include sd-margin('0-5', 'x');
638
+ margin-inline: var(--space--0-5);
639
639
  }
640
640
 
641
641
  .button-group__divider--medium {
642
- @include sd-margin('1', 'x');
642
+ margin-inline: var(--space--1);
643
643
  }
644
644
 
645
645
  .button-group__divider--large {
646
- @include sd-margin('1-5', 'x');
646
+ margin-inline: var(--space--1-5);
647
647
  }
648
648
 
649
649
  .button-group__divider--border {
650
- border-left: 1px dotted var(--sd-colour-line--strong);
650
+ border-inline-start: 1px dotted var(--sd-colour-line--strong);
651
651
  }
652
652
 
653
653
  .button-group--vertical {
654
654
  .button-group__divider {
655
655
  height: 1px;
656
656
  width: auto;
657
- @include sd-margin('0', 'x');
657
+ margin-inline: var(--space--0);
658
658
 
659
659
  &.button-group__divider--mini {
660
- @include sd-padding('1-5', 'top');
660
+ padding-block-start: var(--space--1-5);
661
661
  }
662
662
 
663
663
  &.button-group__divider--small {
664
- @include sd-margin('0-5', 'y');
664
+ margin-block: var(--space--0-5);
665
665
  }
666
666
 
667
667
  &.button-group__divider--medium {
668
- @include sd-margin('1', 'y');
668
+ margin-block: var(--space--1);
669
669
  }
670
670
 
671
671
  &.button-group__divider--large {
672
- @include sd-margin('1-5', 'y');
672
+ margin-block: var(--space--1-5);
673
673
  }
674
674
  }
675
675
 
676
676
  .button-group__divider--border {
677
- border-left: none;
678
- border-top: 1px dotted var(--sd-colour-line--strong);
677
+ border-inline-start: none;
678
+ border-block-start: 1px dotted var(--sd-colour-line--strong);
679
679
  }
680
680
  }
681
681
 
@@ -754,10 +754,10 @@ $new-button-active-shadow-hollow: inset 0 0 0 1px;
754
754
 
755
755
  .btn__state--loading {
756
756
  position: absolute;
757
- top: 0;
758
- bottom: 0;
759
- left: 0;
760
- right: 0;
757
+ inset-block-start: 0;
758
+ inset-block-end: 0;
759
+ inset-inline-start: 0;
760
+ inset-inline-end: 0;
761
761
  display: flex;
762
762
  align-items: center;
763
763
  justify-content: center;
@@ -2,10 +2,10 @@
2
2
 
3
3
  .sd-carousel {
4
4
  position: fixed;
5
- left: 40px;
6
- right: 40px;
7
- top: 40px;
8
- bottom: 40px;
5
+ inset-inline-start: 40px;
6
+ inset-inline-end: 40px;
7
+ inset-block-start: 40px;
8
+ inset-block-end: 40px;
9
9
  align-items: center;
10
10
  flex-direction: row;
11
11
  z-index: 1050;
@@ -65,8 +65,8 @@
65
65
 
66
66
  .sd-carousel__page-header-illustration {
67
67
  position: absolute;
68
- left: 0;
69
- bottom: 0;
68
+ inset-inline-start: 0;
69
+ inset-block-end: 0;
70
70
  opacity: 0.65;
71
71
  }
72
72
 
@@ -81,7 +81,7 @@
81
81
  color: $white;
82
82
  font-size: 3.2rem;
83
83
  line-height: 1;
84
- top: calc(50% - 1.6rem);
84
+ inset-block-start: calc(50% - 1.6rem);
85
85
  }
86
86
 
87
87
  .sd-carousel__page-text {
@@ -92,16 +92,16 @@
92
92
  font-weight: 300;
93
93
 
94
94
  p {
95
- margin-bottom: 1em;
95
+ margin-block-end: 1em;
96
96
  &:last-child, &:only-child {
97
- margin-bottom: 0;
97
+ margin-block-end: 0;
98
98
  }
99
99
  }
100
100
 
101
101
  h3 {
102
102
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
103
103
  font-size: 2rem;
104
- margin-bottom: 0.8em;
104
+ margin-block-end: 0.8em;
105
105
  font-weight: 700;
106
106
  }
107
107
  }
@@ -122,7 +122,7 @@
122
122
  height: 5.6rem;
123
123
  line-height: 5.6rem;
124
124
  position: absolute;
125
- top: calc(50% - 2.8rem);
125
+ inset-block-start: calc(50% - 2.8rem);
126
126
  width: 5.6rem;
127
127
  box-shadow: 0 4px 24px rgba(0,0,0,.20), 0 10px 28px rgba(0,0,0,.35);
128
128
  color: $sd-green;
@@ -143,7 +143,7 @@
143
143
  -webkit-font-smoothing: antialiased;
144
144
  -moz-osx-font-smoothing: grayscale;
145
145
  position: absolute;
146
- top:0;
146
+ inset-block-start:0;
147
147
  text-align: center;
148
148
  z-index: 2;
149
149
  color: $sd-green;
@@ -157,7 +157,7 @@
157
157
  }
158
158
 
159
159
  .sd-carousel__nav-button--next {
160
- right: -88px;
160
+ inset-inline-end: -88px;
161
161
  color: inherit;
162
162
 
163
163
  &::after {
@@ -166,7 +166,7 @@
166
166
  }
167
167
 
168
168
  .sd-carousel__nav-button--prev {
169
- left: -88px;
169
+ inset-inline-start: -88px;
170
170
  color: inherit;
171
171
 
172
172
  &::after {
@@ -175,7 +175,7 @@
175
175
  }
176
176
 
177
177
  .sd-carousel__nav-button--end {
178
- right: -88px;
178
+ inset-inline-end: -88px;
179
179
  background-color: var(--sd-colour-success);
180
180
 
181
181
  &::after {
@@ -193,7 +193,7 @@
193
193
  }
194
194
 
195
195
  .sd-carousel__page-indication-bar {
196
- bottom: -3.6rem;
196
+ inset-block-end: -3.6rem;
197
197
  height: 2.6rem;
198
198
  position: absolute;
199
199
  text-align: center;
@@ -221,8 +221,8 @@
221
221
  z-index: 1045;
222
222
  background: rgba(0,0,0,.45);
223
223
  position: fixed;
224
- top: 0;
225
- bottom: 0;
226
- left: 0;
227
- right: 0;
224
+ inset-block-start: 0;
225
+ inset-block-end: 0;
226
+ inset-inline-start: 0;
227
+ inset-inline-end: 0;
228
228
  }
@@ -4,10 +4,10 @@
4
4
  padding: 0;
5
5
  color: $sd-text;
6
6
  list-style: none;
7
- border-bottom: 0;
8
- border-left: 0;
9
- border-right: 0;
10
- border-top: 1px var(--sd-colour-line--medium);
7
+ border-block-end: 0;
8
+ border-inline-start: 0;
9
+ border-inline-end: 0;
10
+ border-block-start: 1px var(--sd-colour-line--medium);
11
11
  border-style: solid;
12
12
 
13
13
  &.sd-content-divider--with-text {
@@ -17,10 +17,10 @@
17
17
  font-size: 16px;
18
18
  white-space: nowrap;
19
19
  text-align: center;
20
- border-top: 0;
21
- border-bottom: 0;
22
- border-left: 0;
23
- border-right: 0;
20
+ border-block-start: 0;
21
+ border-block-end: 0;
22
+ border-inline-start: 0;
23
+ border-inline-end: 0;
24
24
  border-top-color: var(--sd-colour-line--medium);
25
25
  border-style: solid;
26
26
  }
@@ -58,14 +58,14 @@
58
58
  &::before, &::after {
59
59
  content: "";
60
60
  position: relative;
61
- top: 50%;
61
+ inset-block-start: 50%;
62
62
  width: 50%;
63
- border-top: 1px transparent;
63
+ border-block-start: 1px transparent;
64
64
  border-top-color: transparent;
65
65
  border-top-color: inherit;
66
- border-bottom: 0;
67
- border-left: 0;
68
- border-right: 0;
66
+ border-block-end: 0;
67
+ border-inline-start: 0;
68
+ border-inline-end: 0;
69
69
  transform: translateY(50%);
70
70
  border-style: inherit;
71
71
  }
@@ -114,8 +114,8 @@
114
114
  display: inline-block;
115
115
  //margin: $sd-base-increment * 0.5 $sd-base-increment * 1.5;
116
116
  vertical-align: middle;
117
- border-top: 0;
118
- border-left: 1px var(--sd-colour-line--medium);
117
+ border-block-start: 0;
118
+ border-inline-start: 1px var(--sd-colour-line--medium);
119
119
  border-style: solid;
120
120
  flex-grow: 0;
121
121
  align-self: stretch;
@@ -127,7 +127,7 @@
127
127
  flex-direction: column;
128
128
  justify-content: center;
129
129
  align-items: center;
130
- border-left: 0;
130
+ border-inline-start: 0;
131
131
 
132
132
  .sd-content-divider__inner-text {
133
133
  padding: $sd-base-increment * 0.5 $sd-base-increment * 2;
@@ -138,10 +138,10 @@
138
138
  background-color: transparent;
139
139
  position: relative;
140
140
  height: 50%;
141
- border-left: 1px var(--sd-colour-line--medium);
142
- border-right: 0;
143
- border-bottom: 0;
144
- border-top: 0;
141
+ border-inline-start: 1px var(--sd-colour-line--medium);
142
+ border-inline-end: 0;
143
+ border-block-end: 0;
144
+ border-block-start: 0;
145
145
  width: 1px;
146
146
  border-style: solid;
147
147
  }
@@ -16,14 +16,14 @@
16
16
 
17
17
  .content-state__empty-container--absolute {
18
18
  position: absolute;
19
- top: 0;
20
- left: 0;
21
- bottom: 0;
22
- right: 0;
19
+ inset-block-start: 0;
20
+ inset-inline-start: 0;
21
+ inset-block-end: 0;
22
+ inset-inline-end: 0;
23
23
  }
24
24
 
25
25
  .content-state__empty-info {
26
- @include sd-padding('2','x');
26
+ padding-inline: var(--space--2);
27
27
  display: flex;
28
28
  flex-direction: column;
29
29
  align-items: center;
@@ -34,7 +34,7 @@
34
34
  }
35
35
 
36
36
  .content-state__heading {
37
- @include sd-margin('1','bottom');
37
+ margin-block-end: var(--space--1);
38
38
  font-family: 'Merriweather', Georgia, 'Times New Roman', Times, serif;
39
39
  font-size: 1.8rem;
40
40
  line-height: 1.4;
@@ -58,8 +58,8 @@
58
58
  }
59
59
 
60
60
  .content-state__image {
61
- @include sd-padding('1','x');
62
- @include sd-margin('2','bottom');
61
+ padding-inline: var(--space--1);
62
+ margin-block-end: var(--space--2);
63
63
  display: block;
64
64
  height: auto;
65
65
  padding: 0;
@@ -43,8 +43,8 @@ $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
43
43
 
44
44
  .hamburger__inner {
45
45
  display: block;
46
- top: 50%;
47
- margin-top: $hamburger-layer-height / -2;
46
+ inset-block-start: 50%;
47
+ margin-block-start: $hamburger-layer-height / -2;
48
48
 
49
49
  &,
50
50
  &::before,
@@ -66,11 +66,11 @@ $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
66
66
  }
67
67
 
68
68
  &::before {
69
- top: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
69
+ inset-block-start: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
70
70
  }
71
71
 
72
72
  &::after {
73
- bottom: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
73
+ inset-block-end: ($hamburger-layer-spacing + $hamburger-layer-height) * -1;
74
74
  }
75
75
  }
76
76
 
@@ -101,14 +101,14 @@ $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
101
101
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
102
102
 
103
103
  &::before {
104
- top: 0;
104
+ inset-block-start: 0;
105
105
  opacity: 0;
106
106
  transition: top 0.1s ease-out,
107
107
  opacity 0.1s 0.12s ease-out;
108
108
  }
109
109
 
110
110
  &::after {
111
- bottom: 0;
111
+ inset-block-end: 0;
112
112
  transform: rotate(-90deg);
113
113
  transition: bottom 0.1s ease-out,
114
114
  transform 0.22s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);
@@ -141,14 +141,14 @@ $hamburger-active-hover-opacity: $hamburger-hover-opacity !default;
141
141
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
142
142
 
143
143
  &::before {
144
- top: 0;
144
+ inset-block-start: 0;
145
145
  opacity: 0;
146
146
  transition: top 0.075s ease,
147
147
  opacity 0.075s 0.12s ease;
148
148
  }
149
149
 
150
150
  &::after {
151
- bottom: 0;
151
+ inset-block-end: 0;
152
152
  transform: rotate(-90deg);
153
153
  transition: bottom 0.075s ease,
154
154
  transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1);