@transferwise/neptune-css 14.28.2 → 14.29.1

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 (51) hide show
  1. package/dist/css/accordion.css +27 -46
  2. package/dist/css/alerts.css +56 -124
  3. package/dist/css/badge.css +20 -30
  4. package/dist/css/breadcrumbs.css +6 -4
  5. package/dist/css/button-groups.css +116 -254
  6. package/dist/css/buttons.css +50 -95
  7. package/dist/css/chevron.css +3 -0
  8. package/dist/css/circles.css +38 -76
  9. package/dist/css/close.css +1 -4
  10. package/dist/css/column-layout.css +38 -60
  11. package/dist/css/currency-flags.css +4 -17
  12. package/dist/css/decision.css +14 -12
  13. package/dist/css/dropdowns.css +59 -210
  14. package/dist/css/droppable.css +43 -38
  15. package/dist/css/flex.css +40 -136
  16. package/dist/css/footer.css +15 -14
  17. package/dist/css/grid.css +383 -1430
  18. package/dist/css/input-groups.css +254 -542
  19. package/dist/css/link-callout.css +2 -8
  20. package/dist/css/list-group.css +57 -92
  21. package/dist/css/loaders.css +11 -11
  22. package/dist/css/media.css +10 -34
  23. package/dist/css/modals.css +49 -59
  24. package/dist/css/navbar.css +372 -812
  25. package/dist/css/navs.css +59 -124
  26. package/dist/css/neptune-addons.css +687 -1234
  27. package/dist/css/neptune-core.css +123 -229
  28. package/dist/css/neptune-social-media.css +9 -33
  29. package/dist/css/neptune.css +3060 -6498
  30. package/dist/css/panels.css +143 -243
  31. package/dist/css/popovers.css +114 -295
  32. package/dist/css/process.css +79 -86
  33. package/dist/css/progress-bars.css +13 -19
  34. package/dist/css/select.css +21 -53
  35. package/dist/css/sequences.css +99 -219
  36. package/dist/css/table.css +48 -43
  37. package/dist/css/tick.css +14 -11
  38. package/dist/css/tooltip.css +49 -82
  39. package/dist/css/utilities.css +12 -40
  40. package/dist/css/wells.css +16 -16
  41. package/dist/less/legacy-variables.css +0 -0
  42. package/dist/less/neptune-tokens.css +0 -0
  43. package/package.json +2 -2
  44. package/src/less/addons/_spacing-utilities.less +4 -4
  45. package/src/less/buttons.less +3 -11
  46. package/src/less/chevron.less +4 -0
  47. package/src/less/mixins/_logical-properties-IE-friendly.less +1 -0
  48. package/src/less/mixins/_logical-properties-modern-browsers.less +80 -41
  49. package/src/less/mixins/_logical-properties.less +3 -3
  50. package/src/less/process.less +13 -6
  51. package/src/less/tick.less +7 -3
@@ -1,11 +1,11 @@
1
1
  .btn-sm {
2
- height: 32px;
2
+ block-size: 32px;
3
3
  }
4
4
  .btn {
5
5
  line-height: 150%;
6
6
  letter-spacing: -0.011em;
7
7
  display: inline-block;
8
- margin-bottom: 0;
8
+ margin-block-end: 0;
9
9
  text-align: center;
10
10
  vertical-align: middle;
11
11
  touch-action: manipulation;
@@ -13,7 +13,7 @@
13
13
  background-image: none;
14
14
  border: 1px solid transparent;
15
15
  white-space: nowrap;
16
- padding-bottom: 10px;
16
+ padding-block-end: 10px;
17
17
  font-weight: 600;
18
18
  font-weight: var(--font-weight-semi-bold);
19
19
  padding: var(--btn-padding);
@@ -22,7 +22,7 @@
22
22
  line-height: 1.5rem;
23
23
  line-height: var(--line-height-24);
24
24
  border-radius: var(--btn-radius-base);
25
- min-height: var(--btn-height);
25
+ min-block-size: var(--btn-height);
26
26
  -webkit-user-select: none;
27
27
  -moz-user-select: none;
28
28
  user-select: none;
@@ -1016,14 +1016,8 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1016
1016
  background: #384347;
1017
1017
  }
1018
1018
  .btn-input .caret {
1019
- margin-left: 8px;
1020
- margin-left: var(--size-8);
1021
- }
1022
- [dir="rtl"] .btn-input .caret {
1023
- margin-right: 8px;
1024
- margin-right: var(--size-8);
1025
- margin-left: 0;
1026
- margin-left: initial;
1019
+ margin-inline-start: 8px;
1020
+ margin-inline-start: var(--size-8);
1027
1021
  }
1028
1022
  .btn-inverse {
1029
1023
  color: #fff;
@@ -1065,7 +1059,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1065
1059
  line-height: 1.75rem;
1066
1060
  line-height: var(--line-height-28);
1067
1061
  border-radius: var(--btn-lg-radius-base);
1068
- min-height: var(--btn-lg-height);
1062
+ min-block-size: var(--btn-lg-height);
1069
1063
  }
1070
1064
  .btn-lg .dropdown-menu > li > a {
1071
1065
  font-size: 1.125rem;
@@ -1078,7 +1072,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1078
1072
  line-height: 32px;
1079
1073
  }
1080
1074
  .btn-lg .btn-loader {
1081
- margin-top: 2px;
1075
+ margin-block-start: 2px;
1082
1076
  }
1083
1077
  .btn-sm,
1084
1078
  .navbar .btn {
@@ -1088,7 +1082,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1088
1082
  line-height: 1.375rem;
1089
1083
  line-height: var(--line-height-22);
1090
1084
  border-radius: var(--btn-sm-radius-base);
1091
- min-height: var(--btn-sm-height);
1085
+ min-block-size: var(--btn-sm-height);
1092
1086
  }
1093
1087
  .btn-sm .dropdown-menu > li > a,
1094
1088
  .navbar .btn .dropdown-menu > li > a {
@@ -1109,7 +1103,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1109
1103
  line-height: 1.25rem;
1110
1104
  line-height: var(--line-height-20);
1111
1105
  border-radius: var(--btn-sm-radius-base);
1112
- min-height: 22px;
1106
+ min-block-size: 22px;
1113
1107
  }
1114
1108
  .btn-xs .dropdown-menu > li > a {
1115
1109
  font-size: 0.75rem;
@@ -1122,9 +1116,9 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1122
1116
  line-height: 18px;
1123
1117
  }
1124
1118
  .np-theme-personal .btn-xs .btn-loader {
1125
- margin-left: calc(8px / 2) !important;
1126
- margin-left: calc(var(--padding-x-small) / 2) !important;
1127
- height: 18px;
1119
+ margin-inline-start: calc(8px / 2) !important;
1120
+ margin-inline-start: calc(var(--padding-x-small) / 2) !important;
1121
+ block-size: 18px;
1128
1122
  background-size: 12px 12px !important;
1129
1123
  }
1130
1124
  @media (max-width: 839px) {
@@ -1135,7 +1129,7 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1135
1129
  line-height: 1.5rem;
1136
1130
  line-height: var(--line-height-24);
1137
1131
  border-radius: var(--border-radius-base);
1138
- min-height: var(--btn-height);
1132
+ min-block-size: var(--btn-height);
1139
1133
  }
1140
1134
  .navbar-collapse .btn .dropdown-menu > li > a {
1141
1135
  font-size: 1rem;
@@ -1146,37 +1140,27 @@ fieldset[disabled] .btn-accent:not(.disabled):not(:disabled).btn-priority-3 {
1146
1140
  .np-theme-personal .navbar-collapse .btn {
1147
1141
  font-size: 16px;
1148
1142
  line-height: 24px;
1149
- max-height: var(--btn-height);
1143
+ max-block-size: var(--btn-height);
1150
1144
  }
1151
1145
  }
1152
1146
  .btn-block {
1153
1147
  display: block;
1154
- width: 100%;
1148
+ inline-size: 100%;
1155
1149
  }
1156
1150
  .btn-block + .btn-block {
1157
- margin-top: 8px;
1158
- margin-top: var(--size-8);
1151
+ margin-block-start: 8px;
1152
+ margin-block-start: var(--size-8);
1159
1153
  }
1160
1154
  input[type="submit"].btn-block,
1161
1155
  input[type="reset"].btn-block,
1162
1156
  input[type="button"].btn-block {
1163
- width: 100%;
1157
+ inline-size: 100%;
1164
1158
  }
1165
1159
  .btn-input {
1166
1160
  font-weight: 400;
1167
1161
  font-weight: var(--font-weight-regular);
1168
- padding-left: 16px;
1169
- padding-right: 16px;
1170
- }
1171
- [dir="rtl"] .btn-input {
1172
- padding-right: 16px;
1173
- padding-left: 0;
1174
- padding-left: initial;
1175
- }
1176
- [dir="rtl"] .btn-input {
1177
- padding-left: 16px;
1178
- padding-right: 0;
1179
- padding-right: initial;
1162
+ padding-inline-start: 16px;
1163
+ padding-inline-end: 16px;
1180
1164
  }
1181
1165
  .btn-input:not(.disabled):not(:disabled):hover {
1182
1166
  border-color: #b5b7ba;
@@ -1202,18 +1186,8 @@ input[type="button"].btn-block {
1202
1186
  color: var(--color-content-accent);
1203
1187
  }
1204
1188
  .btn-input.btn-sm {
1205
- padding-left: 12px;
1206
- padding-right: 12px;
1207
- }
1208
- [dir="rtl"] .btn-input.btn-sm {
1209
- padding-right: 12px;
1210
- padding-left: 0;
1211
- padding-left: initial;
1212
- }
1213
- [dir="rtl"] .btn-input.btn-sm {
1214
- padding-left: 12px;
1215
- padding-right: 0;
1216
- padding-right: initial;
1189
+ padding-inline-start: 12px;
1190
+ padding-inline-end: 12px;
1217
1191
  }
1218
1192
  .btn-input.btn-lg {
1219
1193
  font-size: 1.25rem;
@@ -1273,10 +1247,12 @@ input[type="button"].btn-block {
1273
1247
  background-color: #ffffff;
1274
1248
  }
1275
1249
  .form-group-sm .bootstrap-select .btn-default {
1276
- padding: 4px 12px;
1250
+ padding-block: 4px;
1251
+ padding-inline: 12px;
1277
1252
  }
1278
1253
  .form-group-lg .bootstrap-select .btn-default {
1279
- padding: 12px 16px;
1254
+ padding-block: 12px;
1255
+ padding-inline: 16px;
1280
1256
  }
1281
1257
  .bootstrap-select.open > .dropdown-toggle.btn-default {
1282
1258
  border-color: #00a2dd;
@@ -1288,9 +1264,9 @@ input[type="button"].btn-block {
1288
1264
  }
1289
1265
  .btn-loader {
1290
1266
  display: inline-block;
1291
- height: 24px;
1292
- width: 24px;
1293
- margin-bottom: -8px;
1267
+ block-size: 24px;
1268
+ inline-size: 24px;
1269
+ margin-block-end: -8px;
1294
1270
  background-repeat: no-repeat;
1295
1271
  background-position: center;
1296
1272
  }
@@ -1301,22 +1277,16 @@ input[type="button"].btn-block {
1301
1277
  display: inline-flex;
1302
1278
  align-items: center;
1303
1279
  }
1304
- .btn-loading:not(.btn-block) .btn-loader {
1305
- margin-bottom: 0;
1306
- }
1307
- :not([dir="rtl"]) .btn-loading:not(.btn-block) .btn-loader {
1308
- margin-left: 16px;
1309
- margin-right: 0;
1310
- }
1311
- [dir="rtl"] .btn-loading:not(.btn-block) .btn-loader {
1312
- margin-left: 0 !important;
1313
- margin-right: 16px !important;
1280
+ .btn-loading:not(.btn-block) .btn-loader[class] {
1281
+ margin-block-end: 0;
1282
+ margin-inline-start: 16px;
1283
+ margin-inline-end: 0;
1314
1284
  }
1315
1285
  .btn-loading.btn-block .btn-loader {
1316
- top: 0;
1317
- bottom: 0;
1318
- margin-top: auto;
1319
- margin-bottom: auto;
1286
+ inset-block-start: 0;
1287
+ inset-block-end: 0;
1288
+ margin-block-start: auto;
1289
+ margin-block-end: auto;
1320
1290
  }
1321
1291
  .btn-loading:hover .process-circle[class],
1322
1292
  .btn-loading:focus .process-circle[class],
@@ -1328,8 +1298,8 @@ input[type="button"].btn-block {
1328
1298
  background-size: 16px 16px;
1329
1299
  }
1330
1300
  .np-theme-personal .btn-sm .btn-loader {
1331
- margin-left: calc(16px / 2) !important;
1332
- margin-left: calc(var(--padding-small) / 2) !important;
1301
+ margin-inline-start: calc(16px / 2) !important;
1302
+ margin-inline-start: calc(var(--padding-small) / 2) !important;
1333
1303
  }
1334
1304
  @keyframes rotating {
1335
1305
  from {
@@ -1340,42 +1310,27 @@ input[type="button"].btn-block {
1340
1310
  }
1341
1311
  }
1342
1312
  .btn-input.btn {
1343
- text-align: left;
1344
- }
1345
- [dir="rtl"] .btn-input.btn {
1346
- text-align: right;
1313
+ text-align: start;
1347
1314
  }
1348
1315
  .btn-input.btn .tw-icon {
1349
1316
  position: absolute;
1350
- right: 16px;
1351
- right: var(--size-16);
1352
- top: 16px;
1353
- top: var(--size-16);
1354
- }
1355
- [dir="rtl"] .btn-input.btn .tw-icon {
1356
- left: 16px;
1357
- left: var(--size-16);
1358
- right: auto;
1359
- right: initial;
1317
+ inset-inline-end: 16px;
1318
+ inset-inline-end: var(--size-16);
1319
+ inset-block-start: 16px;
1320
+ inset-block-start: var(--size-16);
1360
1321
  }
1361
1322
  .btn-input.btn .tw-icon:not(.tw-chevron):not(.tw-icon-chevron-down) {
1362
1323
  position: static;
1363
1324
  position: initial;
1364
1325
  }
1365
1326
  .btn-input.btn.btn-sm .tw-icon {
1366
- right: 8px;
1367
- right: var(--size-8);
1368
- top: 8px;
1369
- top: var(--size-8);
1370
- }
1371
- [dir="rtl"] .btn-input.btn.btn-sm .tw-icon {
1372
- left: 8px;
1373
- left: var(--size-8);
1374
- right: auto;
1375
- right: initial;
1327
+ inset-inline-end: 8px;
1328
+ inset-inline-end: var(--size-8);
1329
+ inset-block-start: 8px;
1330
+ inset-block-start: var(--size-8);
1376
1331
  }
1377
1332
  .btn-input.btn.btn-lg .tw-icon {
1378
- top: 27px;
1333
+ inset-block-start: 27px;
1379
1334
  }
1380
1335
  a.btn {
1381
1336
  -webkit-text-decoration: none;
@@ -5,6 +5,9 @@
5
5
  .tw-chevron.top {
6
6
  transform: rotate(0deg);
7
7
  }
8
+ [dir="rtl"] .tw-chevron.top {
9
+ transform: rotate(360deg);
10
+ }
8
11
  .tw-chevron.right {
9
12
  transform: rotate(90deg);
10
13
  }
@@ -18,8 +18,8 @@
18
18
  background-size: cover;
19
19
  background-position: center;
20
20
  overflow: hidden;
21
- margin-left: auto;
22
- margin-right: auto;
21
+ margin-inline-start: auto;
22
+ margin-inline-end: auto;
23
23
  transition: background-color ease 0.15s, border-color ease 0.15s, color ease 0.15s;
24
24
  }
25
25
  .circle.active {
@@ -29,7 +29,7 @@
29
29
  background-color: var(--color-interactive-accent-active);
30
30
  }
31
31
  .circle img {
32
- width: 100%;
32
+ inline-size: 100%;
33
33
  border-radius: 50%;
34
34
  vertical-align: baseline;
35
35
  vertical-align: initial;
@@ -47,8 +47,8 @@ a.circle[style]:hover {
47
47
  border: 1px solid var(--color-interactive-accent);
48
48
  }
49
49
  .navbar-nav > li > a .circle {
50
- width: 40px;
51
- height: 40px;
50
+ inline-size: 40px;
51
+ block-size: 40px;
52
52
  line-height: 40px;
53
53
  }
54
54
  .navbar-nav > li > a .circle .icon {
@@ -57,26 +57,26 @@ a.circle[style]:hover {
57
57
  .circle,
58
58
  .circle-sm {
59
59
  font-size: 16px;
60
- width: 48px;
61
- height: 48px;
60
+ inline-size: 48px;
61
+ block-size: 48px;
62
62
  line-height: 48px;
63
63
  }
64
64
  .circle-xs {
65
65
  font-size: 10px;
66
- width: 24px;
67
- height: 24px;
66
+ inline-size: 24px;
67
+ block-size: 24px;
68
68
  line-height: 24px;
69
69
  }
70
70
  .circle-md {
71
71
  font-size: 24px;
72
- width: 72px;
73
- height: 72px;
72
+ inline-size: 72px;
73
+ block-size: 72px;
74
74
  line-height: 72px;
75
75
  }
76
76
  .circle-lg {
77
77
  font-size: 32px;
78
- width: 96px;
79
- height: 96px;
78
+ inline-size: 96px;
79
+ block-size: 96px;
80
80
  line-height: 96px;
81
81
  }
82
82
  a.circle,
@@ -120,10 +120,10 @@ a.circle.active:hover {
120
120
  background-color: transparent;
121
121
  border: 0;
122
122
  border-radius: 0;
123
- width: 24px;
124
- width: var(--size-24);
125
- height: 24px;
126
- height: var(--size-24);
123
+ inline-size: 24px;
124
+ inline-size: var(--size-24);
125
+ block-size: 24px;
126
+ block-size: var(--size-24);
127
127
  line-height: 24px;
128
128
  line-height: var(--size-24);
129
129
  font-size: 16px;
@@ -137,8 +137,8 @@ a.circle.active:hover {
137
137
  border-radius: 50%;
138
138
  background-color: #fff;
139
139
  font-size: 16px;
140
- width: 48px;
141
- height: 48px;
140
+ inline-size: 48px;
141
+ block-size: 48px;
142
142
  line-height: 48px;
143
143
  }
144
144
  .circle-responsive.circle-lg.circle-inverse {
@@ -154,14 +154,14 @@ a.circle.active:hover {
154
154
  .circle-responsive.circle-sm,
155
155
  .circle-responsive.circle-md {
156
156
  font-size: 16px;
157
- width: 48px;
158
- height: 48px;
157
+ inline-size: 48px;
158
+ block-size: 48px;
159
159
  line-height: 48px;
160
160
  }
161
161
  .circle-responsive.circle-lg {
162
162
  font-size: 24px;
163
- width: 72px;
164
- height: 72px;
163
+ inline-size: 72px;
164
+ block-size: 72px;
165
165
  line-height: 72px;
166
166
  }
167
167
  .circle-responsive.circle-inverse {
@@ -172,77 +172,39 @@ a.circle.active:hover {
172
172
  @media (--screen-md-min) {
173
173
  .circle-responsive.circle-md {
174
174
  font-size: 24px;
175
- width: 72px;
176
- height: 72px;
175
+ inline-size: 72px;
176
+ block-size: 72px;
177
177
  line-height: 72px;
178
178
  }
179
179
  .circle-responsive.circle-lg {
180
180
  font-size: 32px;
181
- width: 96px;
182
- height: 96px;
181
+ inline-size: 96px;
182
+ block-size: 96px;
183
183
  line-height: 96px;
184
184
  }
185
185
  }
186
186
  .dropdown-menu li > .circle:first-child,
187
187
  .dropdown-menu li > a > .circle:first-child {
188
- margin-right: 8px;
189
- margin-right: var(--size-8);
190
- }
191
- [dir="rtl"] .dropdown-menu li > .circle:first-child,
192
- [dir="rtl"] .dropdown-menu li > a > .circle:first-child {
193
- margin-left: 8px;
194
- margin-left: var(--size-8);
195
- margin-right: 0;
196
- margin-right: initial;
188
+ margin-inline-end: 8px;
189
+ margin-inline-end: var(--size-8);
197
190
  }
198
191
  .dropdown-menu li > .circle-sm:first-child,
199
192
  .dropdown-menu li > a > .circle-sm:first-child {
200
- margin-right: 12px;
201
- margin-right: var(--size-12);
202
- }
203
- [dir="rtl"] .dropdown-menu li > .circle-sm:first-child,
204
- [dir="rtl"] .dropdown-menu li > a > .circle-sm:first-child {
205
- margin-left: 12px;
206
- margin-left: var(--size-12);
207
- margin-right: 0;
208
- margin-right: initial;
193
+ margin-inline-end: 12px;
194
+ margin-inline-end: var(--size-12);
209
195
  }
210
196
  .btn .circle:first-child {
211
- margin-right: 8px;
212
- margin-right: var(--size-8);
213
- }
214
- [dir="rtl"] .btn .circle:first-child {
215
- margin-left: 8px;
216
- margin-left: var(--size-8);
217
- margin-right: 0;
218
- margin-right: initial;
197
+ margin-inline-end: 8px;
198
+ margin-inline-end: var(--size-8);
219
199
  }
220
200
  .btn .circle-sm:first-child {
221
- margin-right: 12px;
222
- margin-right: var(--size-12);
223
- }
224
- [dir="rtl"] .btn .circle-sm:first-child {
225
- margin-left: 12px;
226
- margin-left: var(--size-12);
227
- margin-right: 0;
228
- margin-right: initial;
201
+ margin-inline-end: 12px;
202
+ margin-inline-end: var(--size-12);
229
203
  }
230
204
  .btn .circle .tw-icon,
231
205
  .dropdown-menu li .circle .tw-icon {
232
206
  float: none;
233
- margin-top: 0;
234
- margin-left: 0;
235
- margin-right: 0;
236
- }
237
- [dir="rtl"] .btn .circle .tw-icon,
238
- [dir="rtl"] .dropdown-menu li .circle .tw-icon {
239
- margin-right: 0;
240
- margin-left: 0;
241
- margin-left: initial;
242
- }
243
- [dir="rtl"] .btn .circle .tw-icon,
244
- [dir="rtl"] .dropdown-menu li .circle .tw-icon {
245
- margin-left: 0;
246
- margin-right: 0;
247
- margin-right: initial;
207
+ margin-block-start: 0;
208
+ margin-inline-start: 0;
209
+ margin-inline-end: 0;
248
210
  }
@@ -1,13 +1,10 @@
1
1
  .close {
2
- float: right;
2
+ float: inline-end;
3
3
  color: #0097c7;
4
4
  color: var(--color-content-accent);
5
5
  -webkit-text-decoration: none;
6
6
  text-decoration: none;
7
7
  }
8
- [dir="rtl"] .close {
9
- float: left;
10
- }
11
8
  .np-theme-personal .close {
12
9
  color: var(--color-interactive-primary);
13
10
  }
@@ -1,51 +1,46 @@
1
1
  .column-layout {
2
- width: 100%;
2
+ inline-size: 100%;
3
3
  }
4
4
  .column-layout-left,
5
5
  .column-layout-right {
6
6
  position: fixed;
7
- width: 264px;
7
+ inline-size: 264px;
8
8
  vertical-align: top;
9
- height: 100%;
9
+ block-size: 100%;
10
10
  z-index: 3;
11
11
  transition: transform ease 0.5s;
12
- top: 0;
13
- max-height: 100vh;
14
- max-height: 100dvh;
12
+ inset-block-start: 0;
13
+ max-block-size: 100vh;
14
+ max-block-size: 100dvh;
15
15
  overflow-y: auto;
16
16
  }
17
17
  .column-layout-left {
18
18
  transform: translateX(-264px);
19
19
  }
20
20
  .column-layout-right {
21
- right: 0;
21
+ inset-inline-end: 0;
22
22
  transform: translateX(264px);
23
23
  }
24
- [dir="rtl"] .column-layout-right {
25
- left: 0;
26
- right: auto;
27
- right: initial;
28
- }
29
24
  .column-layout-left.open,
30
25
  .column-layout-right.open {
31
26
  transform: translateX(0);
32
27
  }
33
28
  .column-layout-main {
34
- width: 100%;
29
+ inline-size: 100%;
35
30
  }
36
31
  .column-layout-top {
37
32
  position: fixed;
38
- top: 0;
39
- width: 264px;
40
- max-height: 100vh;
41
- max-height: 100dvh;
33
+ inset-block-start: 0;
34
+ inline-size: 264px;
35
+ max-block-size: 100vh;
36
+ max-block-size: 100dvh;
42
37
  overflow-y: auto;
43
38
  backface-visibility: hidden;
44
39
  }
45
40
  .column-layout-bottom {
46
41
  position: fixed;
47
- bottom: 0;
48
- width: 264px;
42
+ inset-block-end: 0;
43
+ inline-size: 264px;
49
44
  padding: 24px;
50
45
  padding: var(--size-24);
51
46
  }
@@ -62,32 +57,27 @@
62
57
  .column-layout-main {
63
58
  display: table-cell;
64
59
  vertical-align: top;
65
- width: auto;
60
+ inline-size: auto;
66
61
  }
67
62
  }
68
63
  .column-layout-cover.in {
69
- width: 100%;
70
- height: 100%;
64
+ inline-size: 100%;
65
+ block-size: 100%;
71
66
  opacity: 0.9;
72
67
  }
73
68
  .column-layout-cover .close {
74
69
  position: absolute;
75
- left: 284px;
76
- top: -1000px;
70
+ inset-inline-start: 284px;
71
+ inset-block-start: -1000px;
77
72
  opacity: 0;
78
73
  transition: opacity 0.35s ease;
79
74
  transition-delay: 0.35s;
80
75
  -webkit-text-decoration: none;
81
76
  text-decoration: none;
82
77
  }
83
- [dir="rtl"] .column-layout-cover .close {
84
- right: 284px;
85
- left: auto;
86
- left: initial;
87
- }
88
78
  .column-layout-cover.in .close {
89
79
  opacity: 1;
90
- top: 20px;
80
+ inset-block-start: 20px;
91
81
  }
92
82
  @media (min-width: 1160px) {
93
83
  .column-layout-cover {
@@ -101,64 +91,52 @@
101
91
  .column-layout-cover {
102
92
  position: fixed;
103
93
  display: block;
104
- top: 0;
105
- left: 0;
106
- width: 0;
107
- height: 0;
94
+ inset-block-start: 0;
95
+ inset-inline-start: 0;
96
+ inline-size: 0;
97
+ block-size: 0;
108
98
  opacity: 0;
109
99
  transition: opacity 0.35s ease;
110
100
  background-color: #37517e;
111
101
  cursor: pointer;
112
102
  z-index: 1055;
113
103
  }
114
- [dir="rtl"] .column-layout-cover {
115
- right: 0;
116
- left: auto;
117
- left: initial;
118
- }
119
104
  .column-layout-left,
120
105
  .column-layout-right {
121
106
  z-index: 1060;
122
107
  }
123
108
  }
124
109
  .column-layout-main .container {
125
- max-width: 1176px;
126
- margin-left: 0;
127
- }
128
- [dir="rtl"] .column-layout-main .container {
129
- margin-right: 0;
130
- margin-left: 0;
131
- margin-left: initial;
110
+ max-inline-size: 1176px;
111
+ margin-inline-start: 0;
132
112
  }
133
113
  .column-layout-brand {
134
- padding: 4px 24px;
135
- padding: var(--size-4) 24px;
114
+ padding-block: 4px;
115
+ padding-block: var(--size-4);
116
+ padding-inline: 24px;
136
117
  }
137
118
  @media (min-width: 1160px) {
138
119
  .column-layout-brand {
139
- padding-left: 32px;
140
- padding-right: 32px;
120
+ padding-inline-start: 32px;
121
+ padding-inline-end: 32px;
141
122
  }
142
123
  }
143
124
  body > .column-layout {
144
- min-height: 100vh;
145
- min-height: 100dvh;
146
- height: 100vh;
147
- height: 100dvh;
125
+ min-block-size: 100vh;
126
+ min-block-size: 100dvh;
127
+ block-size: 100vh;
128
+ block-size: 100dvh;
148
129
  }
149
130
  .column-layout-left .column-layout-top {
150
131
  background-position: 0 40px;
151
132
  background-position: 0 var(--size-40);
152
133
  background-repeat: no-repeat;
153
134
  background-size: 264px auto;
154
- height: 100vh;
155
- height: 100dvh;
135
+ block-size: 100vh;
136
+ block-size: 100dvh;
156
137
  }
157
138
  @media (min-height: 596px) {
158
139
  .column-layout-left .column-layout-top {
159
- background-position: left bottom;
160
- }
161
- [dir="rtl"] .column-layout-left .column-layout-top {
162
- background-position: right bottom;
140
+ background-position: var(--left) bottom;
163
141
  }
164
142
  }