superdesk-ui-framework 3.0.41 → 3.0.43

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 (104) hide show
  1. package/app/styles/_accessibility.scss +349 -310
  2. package/app/styles/_alerts.scss +102 -71
  3. package/app/styles/_animations.scss +29 -16
  4. package/app/styles/_avatar.scss +159 -140
  5. package/app/styles/_badge.scss +11 -5
  6. package/app/styles/_big-icon-font.scss +21 -9
  7. package/app/styles/_boxed-list.scss +72 -47
  8. package/app/styles/_buttons.scss +266 -177
  9. package/app/styles/_carousel.scss +58 -45
  10. package/app/styles/_content-divider.scss +28 -2
  11. package/app/styles/_drag-drop.scss +3 -0
  12. package/app/styles/_empty-states.scss +21 -13
  13. package/app/styles/_hamburger.scss +142 -144
  14. package/app/styles/_helpers.scss +297 -93
  15. package/app/styles/_icon-font.scss +75 -43
  16. package/app/styles/_icon-labels.scss +11 -1
  17. package/app/styles/_labels.scss +27 -14
  18. package/app/styles/_loaders.scss +2 -1
  19. package/app/styles/_master-desk.scss +67 -31
  20. package/app/styles/_mixins.scss +40 -20
  21. package/app/styles/_modals.scss +112 -56
  22. package/app/styles/_panel-info.scss +38 -34
  23. package/app/styles/_popover.scss +0 -1
  24. package/app/styles/_publisher-styles.scss +132 -122
  25. package/app/styles/_sd-tag-input.scss +104 -24
  26. package/app/styles/_simple-list.scss +89 -66
  27. package/app/styles/_spinner.scss +24 -17
  28. package/app/styles/_table-list.scss +114 -80
  29. package/app/styles/_tables.scss +14 -2
  30. package/app/styles/_tabs-vertical.scss +46 -43
  31. package/app/styles/_tabs.scss +97 -87
  32. package/app/styles/_tag-labels.scss +26 -11
  33. package/app/styles/_thumb-carousel.scss +37 -11
  34. package/app/styles/_toggle-box.scss +27 -7
  35. package/app/styles/_toggle-button.scss +5 -1
  36. package/app/styles/_tooltips.scss +284 -272
  37. package/app/styles/components/_card-item.scss +268 -192
  38. package/app/styles/components/_list-item.scss +261 -175
  39. package/app/styles/components/_sd-circular-progress.scss +109 -79
  40. package/app/styles/components/_sd-collapse-box.scss +45 -33
  41. package/app/styles/components/_sd-comment-box.scss +17 -12
  42. package/app/styles/components/_sd-dropzone.scss +32 -15
  43. package/app/styles/components/_sd-editor-popup.scss +29 -15
  44. package/app/styles/components/_sd-grid-item.scss +349 -237
  45. package/app/styles/components/_sd-loader.scss +1 -2
  46. package/app/styles/components/_sd-media-carousel.scss +119 -78
  47. package/app/styles/components/_sd-notification-panel.scss +2 -1
  48. package/app/styles/components/_sd-pagination.scss +27 -19
  49. package/app/styles/components/_sd-photo-preview.scss +82 -41
  50. package/app/styles/components/_sd-searchbar.scss +79 -51
  51. package/app/styles/components/_sd-toaster.scss +52 -30
  52. package/app/styles/components/_subnav.scss +230 -135
  53. package/app/styles/components/_theme-selector.scss +78 -53
  54. package/app/styles/components/sd-slider.scss +11 -7
  55. package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
  56. package/app/styles/design-tokens/_new-colors.scss +3 -1
  57. package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
  58. package/app/styles/dropdowns/_input-dropdown.scss +5 -2
  59. package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
  60. package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
  61. package/app/styles/dropdowns/_other_dropdown.scss +9 -3
  62. package/app/styles/editor/_editor-buttons.scss +10 -6
  63. package/app/styles/editor/_editor-themes.scss +401 -350
  64. package/app/styles/form-elements/_autocomplete.scss +7 -1
  65. package/app/styles/form-elements/_checkbox.scss +230 -159
  66. package/app/styles/form-elements/_forms-general.scss +345 -285
  67. package/app/styles/form-elements/_input-preview.scss +15 -9
  68. package/app/styles/form-elements/_input-wrap.scss +77 -71
  69. package/app/styles/form-elements/_inputs.scss +668 -489
  70. package/app/styles/form-elements/_radio.scss +10 -5
  71. package/app/styles/form-elements/_switch.scss +27 -16
  72. package/app/styles/grids/_basic-grid.scss +83 -64
  73. package/app/styles/grids/_grid-layout.scss +301 -165
  74. package/app/styles/grids/_layout-grid.scss +85 -59
  75. package/app/styles/grids/_sd-kanban-list.scss +14 -4
  76. package/app/styles/interface-elements/_side-panel.scss +279 -200
  77. package/app/styles/layout/_basic-layout.scss +36 -34
  78. package/app/styles/layout/_container.scss +38 -31
  79. package/app/styles/layout/_editor.scss +57 -17
  80. package/app/styles/layout/_general.scss +81 -67
  81. package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
  82. package/app/styles/menus/_sd-content-navigation.scss +20 -16
  83. package/app/styles/menus/_sd-left-navigation.scss +62 -49
  84. package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
  85. package/app/styles/menus/_sd-top-menu.scss +16 -7
  86. package/app/styles/primereact/_pr-autocomplete.scss +2 -0
  87. package/app/styles/primereact/_pr-datepicker.scss +20 -7
  88. package/app/styles/primereact/_pr-dialog.scss +55 -47
  89. package/app/styles/primereact/_pr-dropdown.scss +27 -22
  90. package/app/styles/primereact/_pr-general.scss +3 -0
  91. package/app/styles/primereact/_pr-menu.scss +2 -1
  92. package/app/styles/primereact/_pr-skeleton.scss +1 -0
  93. package/app/styles/primereact/_pr-tag-input.scss +1 -0
  94. package/app/styles/variables/_colors.scss +168 -170
  95. package/app/styles/variables/_typography.scss +1 -2
  96. package/app-typescript/components/Form/InputWrapper.tsx +1 -1
  97. package/app-typescript/components/Menu.tsx +1 -1
  98. package/dist/examples.bundle.css +18 -16
  99. package/dist/examples.bundle.js +5 -7
  100. package/dist/superdesk-ui.bundle.css +4271 -3557
  101. package/dist/superdesk-ui.bundle.js +4 -6
  102. package/package.json +2 -2
  103. package/react/components/Form/InputWrapper.d.ts +1 -1
  104. package/react/components/Menu.js +1 -1
@@ -1,9 +1,4 @@
1
1
  // LAYOUT : Basic Layouts : layout/basic-layout.scss
2
- // -----------------------------------------------------
3
-
4
- // ============================================================================
5
- //
6
- // ============================================================================
7
2
 
8
3
  .sd-page {
9
4
  position: absolute;
@@ -31,15 +26,17 @@
31
26
  background-color: var(--sd-colour-panel-bg--100);
32
27
  display: flex;
33
28
  flex-direction: column;
34
- &--double-left-nav {
35
- left: 400px;
36
- }
37
29
  }
38
30
 
31
+ .sd-page__main-content--double-left-nav {
32
+ left: 400px;
33
+ }
34
+
39
35
  .sd-page__sidebar {
40
36
  & + .sd-page__main-content {
41
37
  left: 240px;
42
38
  }
39
+
43
40
  & + .sd-content-navigation-panel {
44
41
  left: 240px;
45
42
  top: 0;
@@ -57,18 +54,19 @@
57
54
  align-items: center;
58
55
  padding: 0 20px;
59
56
  z-index: 3;
60
- &--justify-space-between {
61
- justify-content: space-between;
62
- }
57
+ }
58
+
59
+ .sd-page__header--justify-space-between {
60
+ justify-content: space-between;
63
61
  }
64
62
 
65
63
  .sd-page__element-grow {
66
64
  flex-grow: 1;
67
65
  display: inline-block;
66
+ }
68
67
 
69
- &--x-padding {
70
- padding: 0 20px;
71
- }
68
+ .sd-page__element-grow--x-padding {
69
+ padding: 0 20px;
72
70
  }
73
71
 
74
72
  .sd-page__page-heading {
@@ -82,18 +80,18 @@
82
80
  padding: 20px;
83
81
  overflow: auto;
84
82
  background-color: $mainListBackGround;
83
+ }
85
84
 
86
- &--centered-dashboard {
87
- display: grid;
88
- grid-template-columns: 1fr;
89
- grid-template-rows: 1fr;
90
- align-items: center;
91
- justify-content: center;
85
+ .sd-page__content--centered-dashboard {
86
+ display: grid;
87
+ grid-template-columns: 1fr;
88
+ grid-template-rows: 1fr;
89
+ align-items: center;
90
+ justify-content: center;
92
91
 
93
- .sd-grid-list {
94
- width: 60%;
95
- margin: 0 auto;
96
- }
92
+ .sd-grid-list {
93
+ width: 60%;
94
+ margin: 0 auto;
97
95
  }
98
96
  }
99
97
 
@@ -116,20 +114,24 @@
116
114
  box-shadow: -2px 0 12px 0 rgba(0,0,0,0.3);
117
115
  overflow: hidden;
118
116
  transition: all 0.1s ease-out;
117
+
119
118
  .side-panel {
120
119
  opacity: 0;
121
120
  transition: all 0.2s ease-out;
122
121
  transition-delay: .1s;
123
122
  }
124
- &--open {
125
- width:40rem;
126
- overflow: auto;
127
- .side-panel {
128
- opacity: 1;
129
- }
130
- &.sd-overlay-panel--large {
131
- width:68rem;
132
- }
123
+ }
124
+
125
+ .sd-overlay-panel--open {
126
+ width:40rem;
127
+ overflow: auto;
128
+
129
+ .side-panel {
130
+ opacity: 1;
131
+ }
132
+
133
+ &.sd-overlay-panel--large {
134
+ width:68rem;
133
135
  }
134
136
  }
135
137
 
@@ -141,4 +143,4 @@
141
143
  }
142
144
  }
143
145
  }
144
- }
146
+ }
@@ -2,34 +2,41 @@
2
2
  display: flex;
3
3
  align-items: center;
4
4
  align-self: stretch;
5
- &--inline-flex {
6
- display: inline-flex;
7
- }
8
- &--block {
9
- display: block;
10
- }
11
-
12
- &--direction-row {
13
- flex-direction: row;
14
- }
15
- &--direction-column {
16
- flex-direction: column;
17
- align-items: flex-start;
18
- }
19
-
20
- &--gap-none {
21
- gap: 0;
22
- }
23
- &--gap-x-small {
24
- gap: $sd-base-increment / 2;
25
- }
26
- &--gap-small {
27
- gap: $sd-base-increment;
28
- }
29
- &--gap-medium {
30
- gap: $sd-base-increment * 1.5;
31
- }
32
- &--gap-large {
33
- gap: $sd-base-increment * 2;
34
- }
35
- }
5
+ }
6
+
7
+ .sd-container--inline-flex {
8
+ display: inline-flex;
9
+ }
10
+
11
+ .sd-container--block {
12
+ display: block;
13
+ }
14
+
15
+ .sd-container--direction-row {
16
+ flex-direction: row;
17
+ }
18
+
19
+ .sd-container--direction-column {
20
+ flex-direction: column;
21
+ align-items: flex-start;
22
+ }
23
+
24
+ .sd-container--gap-none {
25
+ gap: 0;
26
+ }
27
+
28
+ .sd-container--gap-x-small {
29
+ gap: $sd-base-increment / 2;
30
+ }
31
+
32
+ .sd-container--gap-small {
33
+ gap: $sd-base-increment;
34
+ }
35
+
36
+ .sd-container--gap-medium {
37
+ gap: $sd-base-increment * 1.5;
38
+ }
39
+
40
+ .sd-container--gap-large {
41
+ gap: $sd-base-increment * 2;
42
+ }
@@ -1,15 +1,18 @@
1
1
  // ========== Outer Editor Layout (Frame) ========== //
2
+
2
3
  .sd-editor-grid {
3
4
  display: grid;
4
5
  grid-template-columns: [sideBarLeft] auto [editorContent] 1fr [sideTabPinned] auto [sideTabOverlay] auto [sideTabsBar] auto [editorOverlay] 0 [editorOverlay-end];
5
6
  grid-template-rows: [editorSubnav] auto [editorContent] 1fr [editorContent-end];
6
7
  height: 100%;
7
8
  }
9
+
8
10
  .sd-editor-grid__editor-subnav {
9
11
  grid-column: 1 / 6;
10
12
  grid-row: editorSubnav;
11
13
  height: $nav-height;
12
14
  }
15
+
13
16
  .sd-editor-grid__sidebar-left {
14
17
  grid-column: sideBarLeft;
15
18
  grid-row: editorContent;
@@ -19,6 +22,7 @@
19
22
  width: $sd-sidebarMenu-width;
20
23
  overflow-y: auto;
21
24
  }
25
+
22
26
  .sd-editor-grid__editor-content {
23
27
  grid-column: editorContent;
24
28
  grid-row: editorContent;
@@ -26,6 +30,7 @@
26
30
  position: relative;
27
31
  overflow-y: auto;
28
32
  }
33
+
29
34
  .sd-editor-grid__sidetabs-content-pinned {
30
35
  grid-column: sideTabPinned;
31
36
  grid-row: editorContent;
@@ -38,12 +43,14 @@
38
43
  width: 0;
39
44
  z-index: 1;
40
45
  transition: all 0.2s ease;
46
+
41
47
  &.sidetab-content-pinned--pinned {
42
48
  overflow-y: auto;
43
49
  overflow-x: hidden;
44
50
  width: auto;
45
51
  max-height: 100%;
46
52
  }
53
+
47
54
  &.sidetab-content-pinned--open {
48
55
  overflow-y: auto;
49
56
  overflow-x: hidden;
@@ -51,6 +58,7 @@
51
58
  max-height: 100%;
52
59
  }
53
60
  }
61
+
54
62
  .sd-editor-grid__sidetabs-content-overlay {
55
63
  grid-column: sideTabOverlay;
56
64
  grid-row: editorContent;
@@ -63,6 +71,7 @@
63
71
  width: 0;
64
72
  background-color: var(--sd-colour-panel-bg--000);
65
73
  z-index: 10;
74
+
66
75
  .sidetabs-content-overlay__inner {
67
76
  opacity: 0;
68
77
  position: absolute;
@@ -78,8 +87,10 @@
78
87
  grid-template-rows: 1fr;
79
88
  z-index: 10;
80
89
  }
90
+
81
91
  &.sidetab-content-overlay--open {
82
92
  overflow: visible;
93
+
83
94
  .sidetabs-content-overlay__inner {
84
95
  opacity: 1;
85
96
  width: auto;
@@ -90,6 +101,7 @@
90
101
  }
91
102
  }
92
103
  }
104
+
93
105
  .sd-editor-grid__sidetabs-bar {
94
106
  display: grid;
95
107
  grid-template-rows: 1fr;
@@ -99,8 +111,8 @@
99
111
  width: $sd-sidebarMenu-width;
100
112
  overflow-y: auto;
101
113
  z-index: 11;
102
-
103
114
  }
115
+
104
116
  .sd-editor-grid__editor-overlay {
105
117
  grid-column: editorOverlay;
106
118
  grid-row-start: editorSubnav;
@@ -121,6 +133,7 @@
121
133
  position: relative;
122
134
  height: 100%;
123
135
  }
136
+
124
137
  .sd-editor-content__toolbar {
125
138
  grid-column: editorMain;
126
139
  grid-row: editorToolbar;
@@ -134,13 +147,15 @@
134
147
  justify-content: space-between;
135
148
  align-items: center;
136
149
  box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.2);
137
- &--custom {
138
- height: auto;
139
- flex-direction: column;
140
- align-items: stretch;
141
- padding: 0;
142
- }
143
150
  }
151
+
152
+ .sd-editor-content__toolbar--custom {
153
+ height: auto;
154
+ flex-direction: column;
155
+ align-items: stretch;
156
+ padding: 0;
157
+ }
158
+
144
159
  .sd-editor-content__save-bar {
145
160
  height: $nav-height;
146
161
  position: relative;
@@ -153,13 +168,15 @@
153
168
  justify-content: space-between;
154
169
  align-items: center;
155
170
  box-shadow: 0px 1px 3px -1px rgba(0, 0, 0, 0.2);
156
- &--custom {
157
- height: auto;
158
- flex-direction: column;
159
- align-items: stretch;
160
- padding: 0;
161
- }
162
171
  }
172
+
173
+ .sd-editor-content__save-bar--custom {
174
+ height: auto;
175
+ flex-direction: column;
176
+ align-items: stretch;
177
+ padding: 0;
178
+ }
179
+
163
180
  .sd-editor-content__toolbar-inner {
164
181
  height: $nav-height;
165
182
  position: relative;
@@ -182,14 +199,15 @@
182
199
  grid-template-columns: [bookmarkBar] auto [mainContent] 1fr;
183
200
  flex-direction: column;
184
201
  overflow-y: auto;
202
+
185
203
  p {
186
204
  font-size: 16px;
187
205
  line-height: 1.5;
188
206
  margin-bottom: 24px;
189
207
  }
190
208
  }
191
- .sd-editor-content__authoring-header {
192
209
 
210
+ .sd-editor-content__authoring-header {
193
211
  grid-column: 1 / 3;
194
212
  grid-row: authoringHeader;
195
213
  display: flex;
@@ -202,7 +220,8 @@
202
220
  box-shadow: 0px 1px 4px -1px rgba(0, 0, 0, 0.25);
203
221
  max-height: 1400px;
204
222
  transition: max-height 0.12s ease-in;
205
- & > .authoring-header__holder {
223
+
224
+ &>.authoring-header__holder {
206
225
  height: auto;
207
226
  opacity: 1;
208
227
  overflow: visible;
@@ -211,20 +230,24 @@
211
230
  width: 100%;
212
231
  max-width: var(--width__container--xxx-large);
213
232
  }
233
+
214
234
  &.authoring-header--collapsed {
215
235
  max-height: 0;
216
236
  padding: 0 $sd-base-increment * 1.5;
237
+
217
238
  .authoring-header__toggle {
218
239
  i {
219
240
  transform: rotate(180deg);
220
241
  }
221
242
  }
222
- & > .authoring-header__holder {
243
+
244
+ &>.authoring-header__holder {
223
245
  height: 0px;
224
246
  opacity: 0;
225
247
  overflow: hidden;
226
248
  transition: opacity 0.4s 0.1s;
227
249
  }
250
+
228
251
  &.authoring-header--padding-small,
229
252
  &.authoring-header--padding-medium,
230
253
  &.authoring-header--padding-large {
@@ -232,16 +255,20 @@
232
255
  padding-block-end: 0 !important;
233
256
  }
234
257
  }
258
+
235
259
  &.authoring-header--padding-small {
236
260
  padding: $sd-base-increment * 3 $sd-base-increment * 1.5;
237
261
  }
262
+
238
263
  &.authoring-header--padding-medium {
239
264
  padding: $sd-base-increment * 3 $sd-base-increment * 3;
240
265
  }
266
+
241
267
  &.authoring-header--padding-large {
242
268
  padding: $sd-base-increment * 3 $sd-base-increment * 4;
243
269
  }
244
270
  }
271
+
245
272
  .authoring-header__toggle {
246
273
  position: absolute;
247
274
  width: 37px;
@@ -261,14 +288,17 @@
261
288
  align-items: center;
262
289
  justify-content: center;
263
290
  transition: all ease-in 0.12s;
291
+
264
292
  &:hover {
265
293
  height: 32px;
266
294
  bottom: -32px;
267
295
  padding-top: 2px;
296
+
268
297
  i {
269
298
  opacity: 1;
270
299
  }
271
300
  }
301
+
272
302
  i {
273
303
  height: 15px;
274
304
  transition: all 0.5s;
@@ -301,18 +331,22 @@
301
331
  .sd-editor-toolbar__content {
302
332
  display: inline-flex;
303
333
  gap: 8px;
334
+
304
335
  dl {
305
336
  display: flex;
306
337
  gap: 4px;
307
338
  font-size: 1.2rem;
339
+
308
340
  &:not(:first-child) {
309
341
  border-inline-start: 1px solid var(--sd-colour-line--light);
310
342
  padding-inline-start: 8px;
311
343
  }
312
344
  }
345
+
313
346
  dt {
314
347
  font-weight: 500;
315
348
  }
349
+
316
350
  dd,
317
351
  dd time {
318
352
  font-weight: 400;
@@ -323,6 +357,7 @@
323
357
  .sd-editor-grid__sidetabs-bar,
324
358
  .sd-editor-grid__sidebar-left {
325
359
  position: relative;
360
+
326
361
  ::-webkit-scrollbar {
327
362
  width: 4px;
328
363
  height: 4px;
@@ -330,6 +365,7 @@
330
365
  position: absolute;
331
366
  inset-block-end: 0;
332
367
  }
368
+
333
369
  ::-webkit-scrollbar:hover {
334
370
  background-color: var(--sd-colour__webkit-scrollbar--hover);
335
371
  background-color: transparent;
@@ -339,6 +375,7 @@
339
375
  ::-webkit-scrollbar-thumb {
340
376
  background: var(--sd-colour__webkit-scrollbar-thumb);
341
377
  }
378
+
342
379
  ::-webkit-scrollbar-thumb:hover {
343
380
  background: var(--sd-colour__webkit-scrollbar-thumb--hover);
344
381
  cursor: pointer;
@@ -351,12 +388,12 @@
351
388
  grid-template-rows: 1fr;
352
389
  grid-auto-columns: auto;
353
390
  overflow-y: auto;
354
-
355
391
  width: 0;
356
392
  min-width: 0;
357
393
  overflow: hidden;
358
394
  opacity: 0;
359
395
  transition: all ease-in-out 0.1s;
396
+
360
397
  .sd-content-wrapper__main-content-area.sd-main-content-grid {
361
398
  grid-column: 1 / 2 !important;
362
399
  }
@@ -369,6 +406,7 @@
369
406
  width: auto;
370
407
  min-width: 45vw;
371
408
  max-width: 45vw;
409
+
372
410
  &.sd-editor__container--large {
373
411
  min-width: 52vw;
374
412
  }
@@ -396,9 +434,11 @@
396
434
  min-height: 5.6rem;
397
435
  border-radius: var(--b-radius--large);
398
436
  display: block;
437
+
399
438
  &:hover {
400
439
  border-color: var(--color-input-border-hover);
401
440
  }
441
+
402
442
  &:focus {
403
443
  outline: none;
404
444
  border-color: var(--sd-colour-interactive--alpha-50);
@@ -1,76 +1,90 @@
1
1
  // LAYOUT : General : layout/general.scss
2
- // -----------------------------------------------------
3
2
 
4
3
  .button-stack {
5
- height:$subnav-height !important;
6
- position: relative;
7
- margin: 0 20px 0 0;
8
- float: left;
9
- > .btn {
10
- margin-left: 20px;
11
- margin-top: 10px;
12
- }
13
- &.right-stack, &--right {
14
- float: right;
15
- margin: 0 0 0 5px;
16
- .navbtn {
17
- border-left: 1px solid var(--sd-colour-line--x-light) !important;
18
- border-right: 0 !important;
19
- }
20
- > .btn {
21
- margin-right: 12px;
22
- margin-left: 0;
23
- }
24
- }
4
+ height: $subnav-height !important;
5
+ position: relative;
6
+ margin: 0 20px 0 0;
7
+ float: left;
8
+
9
+ >.btn {
10
+ margin-left: 20px;
11
+ margin-top: 10px;
12
+ }
13
+ }
14
+
15
+ .button-stack.right-stack,
16
+ .button-stack--right {
17
+ float: right;
18
+ margin: 0 0 0 5px;
19
+
20
+ .navbtn {
21
+ border-left: 1px solid var(--sd-colour-line--x-light) !important;
22
+ border-right: 0 !important;
23
+ }
24
+
25
+ >.btn {
26
+ margin-right: 12px;
27
+ margin-left: 0;
28
+ }
25
29
  }
26
30
 
27
31
  a.text-link {
28
- text-decoration: none;
29
- color: var(--sd-colour-interactive--darken-10);
30
- transition: all 0.1s ease-in;
31
- display: inline-block;
32
- cursor: pointer;
33
- &:hover {
34
- text-decoration: underline;
35
- }
36
- [class^="icon-"], [class*=" icon-"] {
37
- color: currentColor;
38
- vertical-align: middle;
39
- margin-right: 0.3rem;
40
- position: relative;
41
- top: -0.2rem;
42
- }
43
- &.text-link--white {
44
- color: rgba(255, 255, 255, 0.4);
45
- &:hover {
46
- color: rgba(255, 255, 255, 0.75);
47
- text-decoration: none;
48
- }
49
- &:active {
50
- color: rgba(255, 255, 255, 1);
51
- }
52
- }
32
+ text-decoration: none;
33
+ color: var(--sd-colour-interactive--darken-10);
34
+ transition: all 0.1s ease-in;
35
+ display: inline-block;
36
+ cursor: pointer;
37
+
38
+ &:hover {
39
+ text-decoration: underline;
40
+ }
41
+
42
+ [class^="icon-"],
43
+ [class*=" icon-"] {
44
+ color: currentColor;
45
+ vertical-align: middle;
46
+ margin-right: 0.3rem;
47
+ position: relative;
48
+ top: -0.2rem;
49
+ }
50
+
51
+ &.text-link--white {
52
+ color: rgba(255, 255, 255, 0.4);
53
+
54
+ &:hover {
55
+ color: rgba(255, 255, 255, 0.75);
56
+ text-decoration: none;
57
+ }
58
+
59
+ &:active {
60
+ color: rgba(255, 255, 255, 1);
61
+ }
62
+ }
53
63
  }
64
+
54
65
  .text-link__group {
55
- > a.text-link {
56
- margin: 0.4rem 0.4rem 0.4rem 0;
57
- font-size: 1.4rem;
58
- padding: 0 .6rem 0 0;
59
- border-right: 1px dotted var(--sd-colour-line--medium);
60
- &:last-child {
61
- padding-right: 0;
62
- border-right: none;
63
- }
64
- }
65
- .text-link__item {
66
- display: inline-block;
67
- padding: 0 .8rem 0 0;
68
- margin: 0.6rem 0.8rem 0.6rem 0;
69
- font-size: 1.4rem;
70
- border-right: 1px dotted var(--sd-colour-line--medium);
71
- &:last-child {
72
- padding-right: 0;
73
- border-right: none;
74
- }
75
- }
66
+ >a.text-link {
67
+ margin: 0.4rem 0.4rem 0.4rem 0;
68
+ font-size: 1.4rem;
69
+ padding: 0 .6rem 0 0;
70
+ border-right: 1px dotted var(--sd-colour-line--medium);
71
+
72
+ &:last-child {
73
+ padding-right: 0;
74
+ border-right: none;
75
+ }
76
+ }
77
+
78
+ .text-link__item {
79
+ display: inline-block;
80
+ padding: 0 .8rem 0 0;
81
+ margin: 0.6rem 0.8rem 0.6rem 0;
82
+ font-size: 1.4rem;
83
+ border-right: 1px dotted var(--sd-colour-line--medium);
84
+
85
+ &:last-child {
86
+ padding-right: 0;
87
+ border-right: none;
88
+ }
89
+ }
76
90
  }