superdesk-ui-framework 7.0.0-dev-hg0 → 7.0.0-dev-hg2

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 (195) hide show
  1. package/app/fonts/sd_big-icons.eot +0 -0
  2. package/app/fonts/sd_big-icons.svg +69 -0
  3. package/app/fonts/sd_big-icons.ttf +0 -0
  4. package/app/fonts/sd_big-icons.woff +0 -0
  5. package/app/fonts/sd_icons.eot +0 -0
  6. package/app/fonts/sd_icons.svg +202 -0
  7. package/app/fonts/sd_icons.ttf +0 -0
  8. package/app/fonts/sd_icons.woff +0 -0
  9. package/app/img/AvatarDefaultImage.svg +6 -0
  10. package/app/img/DotsSmall-dark.svg +14 -0
  11. package/app/img/OneDot.svg +3 -0
  12. package/app/img/SD-logo.svg +52 -0
  13. package/app/img/dots.svg +3 -0
  14. package/app/img/empty_states/empty-state--large-1.svg +221 -0
  15. package/app/img/empty_states/empty-state--large-2.svg +207 -0
  16. package/app/img/empty_states/empty-state--large-3.svg +231 -0
  17. package/app/img/empty_states/empty-state--large-dashboard.svg +642 -0
  18. package/app/img/empty_states/empty-state--small-1.svg +112 -0
  19. package/app/img/empty_states/empty-state--small-2.svg +49 -0
  20. package/app/img/empty_states/empty-state--small-3.svg +47 -0
  21. package/app/img/icon_illustrations/IconIllustration__headlines.svg +25 -0
  22. package/app/img/icon_illustrations/IconIllustration__keywords.svg +46 -0
  23. package/app/img/icon_illustrations/IconIllustration__optimise.svg +38 -0
  24. package/app/img/icon_illustrations/IconIllustration__summary.svg +27 -0
  25. package/app/img/icon_illustrations/IconIllustration__translate.svg +12 -0
  26. package/app/img/icon_image_stack--white.svg +16 -0
  27. package/app/img/icon_image_stack.svg +16 -0
  28. package/app/img/spinner.svg +3 -0
  29. package/app/img/spinning-wheel.gif +0 -0
  30. package/app/img/theme-thumbnail.png +0 -0
  31. package/app/img/themes/theme-base.svg +1 -0
  32. package/app/img/themes/theme-contrast.svg +45 -0
  33. package/app/img/themes/theme-dark.svg +1 -0
  34. package/app/img/themes/theme-light.svg +1 -0
  35. package/app/img/three-dots.svg +33 -0
  36. package/app/styles/_accessibility.scss +358 -0
  37. package/app/styles/_alerts.scss +392 -0
  38. package/app/styles/_animations.scss +73 -0
  39. package/app/styles/_avatar.scss +526 -0
  40. package/app/styles/_badge.scss +106 -0
  41. package/app/styles/_big-icon-font.scss +182 -0
  42. package/app/styles/_boxed-list.scss +284 -0
  43. package/app/styles/_buttons.scss +874 -0
  44. package/app/styles/_carousel.scss +232 -0
  45. package/app/styles/_content-divider.scss +233 -0
  46. package/app/styles/_design-tokens.scss +6 -0
  47. package/app/styles/_drag-drop.scss +26 -0
  48. package/app/styles/_drag-handle.scss +48 -0
  49. package/app/styles/_empty-states.scss +81 -0
  50. package/app/styles/_expand-button.scss +31 -0
  51. package/app/styles/_hamburger.scss +160 -0
  52. package/app/styles/_helpers.scss +2220 -0
  53. package/app/styles/_icon-font.scss +488 -0
  54. package/app/styles/_icon-labels.scss +140 -0
  55. package/app/styles/_labels.scss +184 -0
  56. package/app/styles/_loaders.scss +29 -0
  57. package/app/styles/_master-desk.scss +323 -0
  58. package/app/styles/_mixins.scss +164 -0
  59. package/app/styles/_modals.scss +452 -0
  60. package/app/styles/_normalize.scss +466 -0
  61. package/app/styles/_panel-info.scss +48 -0
  62. package/app/styles/_popover.scss +29 -0
  63. package/app/styles/_pr-superdesk-theme.scss +4 -0
  64. package/app/styles/_publisher-styles.scss +195 -0
  65. package/app/styles/_reboot.scss +65 -0
  66. package/app/styles/_sd-tag-input.scss +715 -0
  67. package/app/styles/_simple-list.scss +158 -0
  68. package/app/styles/_spinner.scss +47 -0
  69. package/app/styles/_table-list.scss +385 -0
  70. package/app/styles/_tables.scss +150 -0
  71. package/app/styles/_tabs-vertical.scss +58 -0
  72. package/app/styles/_tabs.scss +232 -0
  73. package/app/styles/_tag-labels.scss +210 -0
  74. package/app/styles/_thumb-carousel.scss +247 -0
  75. package/app/styles/_time.scss +113 -0
  76. package/app/styles/_toggle-box.scss +175 -0
  77. package/app/styles/_toggle-button.scss +46 -0
  78. package/app/styles/_tooltips.scss +431 -0
  79. package/app/styles/_variables.scss +4 -0
  80. package/app/styles/app.scss +127 -0
  81. package/app/styles/components/_calendar-week-day.scss +99 -0
  82. package/app/styles/components/_card-item.scss +586 -0
  83. package/app/styles/components/_list-item.scss +694 -0
  84. package/app/styles/components/_load-more-indicator.scss +15 -0
  85. package/app/styles/components/_overflow-stack.scss +120 -0
  86. package/app/styles/components/_sd-circular-progress.scss +239 -0
  87. package/app/styles/components/_sd-collapse-box.scss +292 -0
  88. package/app/styles/components/_sd-comment-box.scss +42 -0
  89. package/app/styles/components/_sd-dropzone.scss +134 -0
  90. package/app/styles/components/_sd-editor-popup.scss +106 -0
  91. package/app/styles/components/_sd-grid-item.scss +865 -0
  92. package/app/styles/components/_sd-loader.scss +39 -0
  93. package/app/styles/components/_sd-media-carousel.scss +408 -0
  94. package/app/styles/components/_sd-notification-panel.scss +51 -0
  95. package/app/styles/components/_sd-pagination.scss +51 -0
  96. package/app/styles/components/_sd-photo-preview.scss +508 -0
  97. package/app/styles/components/_sd-searchbar.scss +276 -0
  98. package/app/styles/components/_sd-toaster.scss +226 -0
  99. package/app/styles/components/_subnav.scss +777 -0
  100. package/app/styles/components/_theme-selector.scss +221 -0
  101. package/app/styles/components/sd-slider.scss +125 -0
  102. package/app/styles/design-tokens/_brand-colors.scss +36 -0
  103. package/app/styles/design-tokens/_component-tokens.scss +11 -0
  104. package/app/styles/design-tokens/_design-tokens-general.scss +145 -0
  105. package/app/styles/design-tokens/_new-colors.scss +820 -0
  106. package/app/styles/design-tokens/_primitives.scss +161 -0
  107. package/app/styles/design-tokens/_semantic-colors.scss +161 -0
  108. package/app/styles/dropdowns/_basic-dropdown.scss +760 -0
  109. package/app/styles/dropdowns/_input-dropdown.scss +26 -0
  110. package/app/styles/dropdowns/_navigation_dropdown.scss +126 -0
  111. package/app/styles/dropdowns/_nested-dropdown.scss +95 -0
  112. package/app/styles/dropdowns/_other_dropdown.scss +59 -0
  113. package/app/styles/dropdowns/dropdown2.scss +4 -0
  114. package/app/styles/editor/_editor-buttons.scss +61 -0
  115. package/app/styles/editor/_editor-themes.scss +550 -0
  116. package/app/styles/form-elements/_autocomplete.scss +54 -0
  117. package/app/styles/form-elements/_checkbox.scss +770 -0
  118. package/app/styles/form-elements/_forms-general.scss +543 -0
  119. package/app/styles/form-elements/_input-preview.scss +80 -0
  120. package/app/styles/form-elements/_input-wrap.scss +147 -0
  121. package/app/styles/form-elements/_inputs.scss +1425 -0
  122. package/app/styles/form-elements/_radio.scss +65 -0
  123. package/app/styles/form-elements/_select-grid.scss +81 -0
  124. package/app/styles/form-elements/_switch.scss +109 -0
  125. package/app/styles/grids/_basic-grid.scss +206 -0
  126. package/app/styles/grids/_grid-layout.scss +1162 -0
  127. package/app/styles/grids/_layout-grid.scss +176 -0
  128. package/app/styles/grids/_sd-kanban-list.scss +92 -0
  129. package/app/styles/index.js +1 -0
  130. package/app/styles/interface-elements/_side-panel.scss +595 -0
  131. package/app/styles/layout/_basic-layout.scss +149 -0
  132. package/app/styles/layout/_container.scss +45 -0
  133. package/app/styles/layout/_editor.scss +464 -0
  134. package/app/styles/layout/_general.scss +92 -0
  135. package/app/styles/menus/_sd-bottom-tabs.scss +79 -0
  136. package/app/styles/menus/_sd-content-navigation.scss +50 -0
  137. package/app/styles/menus/_sd-left-navigation.scss +126 -0
  138. package/app/styles/menus/_sd-sidebar-menu.scss +465 -0
  139. package/app/styles/menus/_sd-top-menu.scss +105 -0
  140. package/app/styles/pr-superdesk-theme.scss +7 -0
  141. package/app/styles/primereact/_pr-autocomplete.scss +27 -0
  142. package/app/styles/primereact/_pr-datepicker.scss +288 -0
  143. package/app/styles/primereact/_pr-dialog.scss +399 -0
  144. package/app/styles/primereact/_pr-dropdown.scss +233 -0
  145. package/app/styles/primereact/_pr-general.scss +72 -0
  146. package/app/styles/primereact/_pr-menu.scss +60 -0
  147. package/app/styles/primereact/_pr-skeleton.scss +36 -0
  148. package/app/styles/primereact/_pr-tag-input.scss +66 -0
  149. package/app/styles/variables/_colors.scss +275 -0
  150. package/app/styles/variables/_dimensions.scss +89 -0
  151. package/app/styles/variables/_form-elements.scss +0 -0
  152. package/app/styles/variables/_typography.scss +20 -0
  153. package/dist/esm/components/EmptyState.d.ts.map +1 -1
  154. package/dist/esm/components/EmptyState.js +22 -1
  155. package/dist/esm/components/EmptyState.js.map +1 -1
  156. package/dist/fonts/sd_big-icons.eot +0 -0
  157. package/dist/fonts/sd_big-icons.svg +69 -0
  158. package/dist/fonts/sd_big-icons.ttf +0 -0
  159. package/dist/fonts/sd_big-icons.woff +0 -0
  160. package/dist/fonts/sd_icons.eot +0 -0
  161. package/dist/fonts/sd_icons.svg +202 -0
  162. package/dist/fonts/sd_icons.ttf +0 -0
  163. package/dist/fonts/sd_icons.woff +0 -0
  164. package/dist/img/AvatarDefaultImage.svg +6 -0
  165. package/dist/img/DotsSmall-dark.svg +14 -0
  166. package/dist/img/OneDot.svg +3 -0
  167. package/dist/img/SD-logo.svg +52 -0
  168. package/dist/img/dots.svg +3 -0
  169. package/dist/img/empty_states/empty-state--large-1.svg +221 -0
  170. package/dist/img/empty_states/empty-state--large-2.svg +207 -0
  171. package/dist/img/empty_states/empty-state--large-3.svg +231 -0
  172. package/dist/img/empty_states/empty-state--large-dashboard.svg +642 -0
  173. package/dist/img/empty_states/empty-state--small-1.svg +112 -0
  174. package/dist/img/empty_states/empty-state--small-2.svg +49 -0
  175. package/dist/img/empty_states/empty-state--small-3.svg +47 -0
  176. package/dist/img/icon_illustrations/IconIllustration__headlines.svg +25 -0
  177. package/dist/img/icon_illustrations/IconIllustration__keywords.svg +46 -0
  178. package/dist/img/icon_illustrations/IconIllustration__optimise.svg +38 -0
  179. package/dist/img/icon_illustrations/IconIllustration__summary.svg +27 -0
  180. package/dist/img/icon_illustrations/IconIllustration__translate.svg +12 -0
  181. package/dist/img/icon_image_stack--white.svg +16 -0
  182. package/dist/img/icon_image_stack.svg +16 -0
  183. package/dist/img/spinner.svg +3 -0
  184. package/dist/img/spinning-wheel.gif +0 -0
  185. package/dist/img/theme-thumbnail.png +0 -0
  186. package/dist/img/themes/theme-base.svg +1 -0
  187. package/dist/img/themes/theme-contrast.svg +45 -0
  188. package/dist/img/themes/theme-dark.svg +1 -0
  189. package/dist/img/themes/theme-light.svg +1 -0
  190. package/dist/img/three-dots.svg +33 -0
  191. package/dist/superdesk-ui.bundle.js +1 -1
  192. package/package.json +10 -3
  193. package/react/components/EmptyState.d.ts.map +1 -1
  194. package/react/components/EmptyState.js +22 -1
  195. package/react/components/EmptyState.js.map +1 -1
@@ -0,0 +1,184 @@
1
+ @use "variables/colors";
2
+ @use "variables/dimensions";
3
+
4
+
5
+ $font-size__label--default: 0.9rem;
6
+ $font-size__label--large: 1.2rem;
7
+
8
+ /// Base styles for a label.
9
+ @mixin label {
10
+ display: inline-flex;
11
+ align-items: center;
12
+ vertical-align: middle;
13
+ justify-content: center;
14
+ padding-block-start: 0;
15
+ padding-block-end: 0;
16
+ padding-inline: dimensions.$padding-x__label--default;
17
+ vertical-align: middle;
18
+ border-radius: var(--b-radius--full);
19
+ text-transform: uppercase;
20
+ line-height: dimensions.$height__label--default;
21
+ height: dimensions.$height__label--default;
22
+ letter-spacing: 0.125em;
23
+ font-size: $font-size__label--default;
24
+ white-space: nowrap;
25
+ border: 1px solid transparent;
26
+ font-weight: 500;
27
+ color: var(--sd-lbl-fg);
28
+ background-color: var(--sd-lbl-bg);
29
+
30
+ &--large {
31
+ padding-block-start: dimensions.$padding-y__label--large;
32
+ padding-block-end: dimensions.$padding-y__label--large;
33
+ padding-inline: dimensions.$padding-x__label--large;
34
+ font-size: $font-size__label--large;
35
+ height: dimensions.$height__label--large;
36
+ line-height: dimensions.$height__label--large;
37
+ }
38
+ }
39
+
40
+
41
+ .label {
42
+ @include label;
43
+ --sd-lbl-bg: var(--buoyant-grey-600);
44
+ --sd-lbl-fg: var(--color-text-ondark);
45
+ &.label--success {
46
+ --sd-lbl-bg: var(--color-success-default);
47
+ }
48
+ &.label--warning {
49
+ --sd-lbl-bg: var(--color-warning-default);
50
+ }
51
+ &.label--alert {
52
+ --sd-lbl-bg: var(--color-alert-default);
53
+ }
54
+ &.label--highlight {
55
+ --sd-lbl-bg: var(--color-highlight-default);
56
+ }
57
+ &.label--primary {
58
+ --sd-lbl-bg: var(--color-primary-default);
59
+ }
60
+ &.label--info {
61
+ --sd-lbl-bg: var(--color-info-default);
62
+ }
63
+
64
+ &.label--hollow {
65
+ --sd-lbl-border: var(--color-text-subdued);
66
+ border: 1px solid var(--sd-lbl-border);
67
+ background-color: transparent !important;
68
+ --sd-lbl-fg: var(--color-text-muted);
69
+
70
+ &.label--success {
71
+ --sd-lbl-fg: var(--color-success-text);
72
+ --sd-lbl-border: var(--color-success-default);
73
+ }
74
+ &.label--warning {
75
+ --sd-lbl-fg: var(--color-warning-text);
76
+ --sd-lbl-border: var(--color-warning-default);
77
+ }
78
+ &.label--alert {
79
+ --sd-lbl-fg: var(--color-alert-text);
80
+ --sd-lbl-border: var(--color-alert-default);
81
+ }
82
+ &.label--highlight {
83
+ --sd-lbl-fg: var(--color-highlight-text);
84
+ --sd-lbl-border: var(--color-highlight-default);
85
+ }
86
+ &.label--primary {
87
+ --sd-lbl-fg: var(--color-primary-text);
88
+ --sd-lbl-border: var(--color-primary-default);
89
+ }
90
+ &.label--info {
91
+ --sd-lbl-fg: var(--color-info-text);
92
+ --sd-lbl-border: var(--color-info-default);
93
+ }
94
+ }
95
+
96
+ &.label--translucent {
97
+ --sd-lbl-bg: var(--buoyant-grey-400-a24);
98
+ --sd-lbl-fg: var(--color-text-muted);
99
+ &.label--success {
100
+ --sd-lbl-fg: var(--color-success-text);
101
+ --sd-lbl-bg: var(--color-success-translucent);
102
+ }
103
+ &.label--warning {
104
+ --sd-lbl-fg: var(--color-warning-text);
105
+ --sd-lbl-bg: var(--color-warning-translucent);
106
+ }
107
+ &.label--alert {
108
+ --sd-lbl-fg: var(--color-alert-text);
109
+ --sd-lbl-bg: var(--color-alert-translucent);
110
+ }
111
+ &.label--highlight {
112
+ --sd-lbl-fg: var(--color-highlight-text);
113
+ --sd-lbl-bg: var(--color-highlight-translucent);
114
+ }
115
+ &.label--primary {
116
+ --sd-lbl-fg: var(--color-primary-text);
117
+ --sd-lbl-bg: var(--color-primary-translucent);
118
+ }
119
+ &.label--info {
120
+ --sd-lbl-fg: var(--color-info-text);
121
+ --sd-lbl-bg: var(--color-info-translucent);
122
+ }
123
+ }
124
+ }
125
+
126
+ .label--annotation {
127
+ background-color: colors.$annotation-color;
128
+ color: colors.$grayMedium;
129
+ }
130
+
131
+ .label--comment {
132
+ background-color: colors.$comment-color;
133
+ color: colors.$grayMedium;
134
+ }
135
+
136
+ .label--no-transform {
137
+ text-transform: none;
138
+ letter-spacing: 0.04em;
139
+ }
140
+
141
+ // Link label
142
+ a.label {
143
+ position: relative;
144
+ text-decoration: none;
145
+ cursor: pointer;
146
+ padding-block-start: 0;
147
+ padding-block-end: 0;
148
+ padding-inline-start: 0.8rem;
149
+ padding-inline-end: 1.8rem;
150
+ outline-color: transparent;
151
+ outline-offset: 1px;
152
+ transition: outline 0.12s ease;
153
+
154
+ &::before {
155
+ display: inline-block;
156
+ font-family: 'sd_icons';
157
+ content: '\e6b0';
158
+ position: absolute;
159
+ inset-block-start: 0;
160
+ inset-inline-end: 0.3rem;
161
+ width: 1.6rem;
162
+ height: 1.6rem;
163
+ font-size: 1.6rem;
164
+ font-family: 'sd_icons';
165
+ font-style: normal;
166
+ font-weight: normal;
167
+ font-variant: normal;
168
+ text-transform: none;
169
+ }
170
+
171
+ &:hover, &:focus {
172
+ outline-offset: 1px;
173
+ outline: 1px solid var(--color-primary-default);
174
+ }
175
+ }
176
+
177
+ .label.label--hollow.label--darkBlue2 {
178
+ border: 1px solid var(--sd-navy-color);
179
+ color: var(--sd-navy-color);
180
+ }
181
+
182
+ .label.label--darkBlue2 {
183
+ background: var(--sd-navy-color);
184
+ }
@@ -0,0 +1,29 @@
1
+ .sd-loading-overlay {
2
+ position: absolute;
3
+ inset-block-start: 0;
4
+ inset-inline-end: 0;
5
+ inset-block-end: 0;
6
+ inset-inline-start: 0;
7
+ z-index: 3;
8
+ background-image: url(../img/three-dots.svg);
9
+ background-repeat: no-repeat;
10
+ background-position: center center;
11
+ background-size: 60px;
12
+ background-color: var(--sd-colour-overlay-actioning);
13
+ pointer-events: none;
14
+ border-radius: var(--b-radius--medium);
15
+ }
16
+
17
+ .sd-loading-overlay--plain {
18
+ position: absolute;
19
+ inset-block-start: 0;
20
+ inset-inline-end: 0;
21
+ inset-block-end: 0;
22
+ inset-inline-start: 0;
23
+ z-index: 10;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ background-color: var(--sd-colour-overlay-actioning);
28
+ pointer-events: none;
29
+ }
@@ -0,0 +1,323 @@
1
+ @use "sass:math";
2
+ @use "variables/colors";
3
+ @use "variables/dimensions";
4
+
5
+ $board-header-border-color: var(--color-kanban-border);
6
+
7
+ .sd-board {
8
+ display: grid;
9
+ grid-template-rows: auto 1fr;
10
+ }
11
+
12
+ .sd-board__header {
13
+ padding-block-end: var(--space--0-5);
14
+ grid-row: 1/2;
15
+ position: relative;
16
+ min-height: 2rem;
17
+ display: flex;
18
+ flex-direction: row;
19
+ align-items: center;
20
+ border-block-end: 4px solid $board-header-border-color;
21
+ }
22
+
23
+ .sd-board__header--clickable {
24
+ transition: border-color ease-in-out .2s;
25
+ cursor: pointer;
26
+
27
+ &:hover {
28
+ border-bottom-color: colors.$sd-colour-interactive;
29
+ }
30
+ }
31
+
32
+ .sd-board__header-title {
33
+ text-transform: uppercase;
34
+ font-size: 1.2rem;
35
+ letter-spacing: .08em;
36
+ font-weight: 500;
37
+ flex-grow: 1;
38
+ color: var(--color-text);
39
+ }
40
+
41
+ .sd-board__content {
42
+ grid-row: 2/3;
43
+ }
44
+
45
+ .sd-board__content-block {
46
+ box-shadow: var(--sd-shadow--z2);
47
+ border-radius: dimensions.$border-radius__base--x-small;
48
+ background-color: var(--sd-item__main-Bg);
49
+ display: flex;
50
+ flex-direction: column;
51
+ }
52
+
53
+ .sd-board__content-block--clickable {
54
+ transition: box-shadow ease-in-out .2s;
55
+ cursor: pointer;
56
+
57
+ &:hover {
58
+ box-shadow: var(--sd-shadow--z3);
59
+ outline: 1px solid var(--sd-colour-interactive--alpha-50);
60
+ }
61
+ }
62
+
63
+ .sd-board__list {
64
+ display: flex;
65
+ flex-direction: column;
66
+ }
67
+
68
+ .sd-board__list-item {
69
+ padding-inline: var(--space--1-5);
70
+ padding-block: var(--space--1);
71
+ border-block-end: 1px solid var(--sd-colour-line--light);
72
+ display: flex;
73
+ flex-direction: row;
74
+ align-items: center;
75
+
76
+ &:last-child {
77
+ border-block-end: none;
78
+ }
79
+ }
80
+
81
+ .sd-board__list-item-title {
82
+ flex-grow: 1;
83
+ text-transform: uppercase;
84
+ font-size: 1.2rem;
85
+ color: var(--color-text-muted);
86
+
87
+ &.sd-board__list-item-title--to-do {
88
+ color: var(--color-assignment-to-do);
89
+ }
90
+
91
+ &.sd-board__list-item-title--progress {
92
+ color: var(--color-assignment-progress);
93
+ }
94
+
95
+ &.sd-board__list-item-title--completed {
96
+ color: var(--color-assignment-completed);
97
+ }
98
+
99
+ &.sd-board__list-item-title--to-do,
100
+ &.sd-board__list-item-title--progress,
101
+ &.sd-board__list-item-title--completed {
102
+ font-weight: 500;
103
+ }
104
+ }
105
+
106
+ .sd-board__list-item-badge {
107
+ margin-inline-end: var(--space--0-5);
108
+ }
109
+
110
+ .sd-board__item-count--large {
111
+ margin-inline-end: var(--space--1);
112
+ color: var(--color-text-muted);
113
+ font-size: 3.6rem;
114
+ font-weight: 300;
115
+ line-height: 4rem;
116
+ }
117
+
118
+ .sd-board__count-label {
119
+ font-size: 1.1rem;
120
+ line-height: 1.4;
121
+ text-transform: uppercase;
122
+ font-weight: 400;
123
+ color: var(--sd-colour-bg--10);
124
+ max-width: 10rem;
125
+
126
+ strong {
127
+ font-weight: 500;
128
+ color: var(--sd-colour-bg--07);
129
+ font-size: 1.3rem;
130
+ }
131
+ }
132
+
133
+ .sd-board__count-label--l {
134
+ max-width: 14rem;
135
+ }
136
+
137
+ .sd-board__doughnut-chart {
138
+ position: relative;
139
+ height: 4rem;
140
+ width: 4rem;
141
+ display: flex;
142
+ align-items: center;
143
+ justify-content: center;
144
+ flex-shrink: 0;
145
+ flex-grow: 0;
146
+ margin-inline-start: auto;
147
+ margin-inline-end: - math.div(dimensions.$sd-base-increment, 2);
148
+ }
149
+
150
+ .sd-board__doughnut-chart-number {
151
+ position: absolute;
152
+ height: 2.4rem;
153
+ width: 2.4rem;
154
+ font-size: 1.1rem;
155
+ line-height: 1;
156
+ display: flex;
157
+ align-items: center;
158
+ justify-content: center;
159
+ color: var(--color-text-muted);
160
+ font-weight: 600;
161
+ text-align: center;
162
+ }
163
+
164
+ .sd-inset-search {
165
+ display: flex;
166
+ align-items: stretch;
167
+ position: relative;
168
+ background-color: var(--color-inset-search-bg);
169
+ border-radius: 3px;
170
+ transition: all 0.2s ease-out;
171
+ height: 4rem;
172
+ border: 1px solid var(--sd-colour-line--medium);
173
+ color: inherit;
174
+ box-shadow: inset 0 1px 2px 0 rgba(0,0,0,0.12);
175
+
176
+ &:hover {
177
+ border-color: var(--sd-colour-line--strong);
178
+ box-shadow: inset 0 1px 3px 0 hsla(0, 0%, 0%, 0.18);
179
+ }
180
+
181
+ &:focus-within {
182
+ border-color: var(--sd-colour-interactive);
183
+ box-shadow: inset 0 0 0 3px var(--sd-colour-interactive--alpha-30);
184
+ }
185
+
186
+ &::before {
187
+ content: "\e618";
188
+ z-index: 1;
189
+ pointer-events: none;
190
+ position: absolute;
191
+ inset-block-start: 1.2rem;
192
+ inset-inline-start: 0.8rem;
193
+ width: 16px;
194
+ height: 16px;
195
+ line-height: 16px;
196
+ font-size: 16px;
197
+ font-family: 'sd_icons';
198
+ opacity: 0.4;
199
+ }
200
+ }
201
+
202
+ .sd-inset-search__input,
203
+ input.sd-inset-search__input {
204
+ flex-grow: 1;
205
+ flex-shrink: 1;
206
+ font-size: 1.4rem;
207
+ padding: 0;
208
+ color: inherit;
209
+ align-self: auto;
210
+ background-color: transparent !important;
211
+ border: 0;
212
+ box-shadow: none !important;
213
+ padding: 0 1rem 0 3rem;
214
+ height: auto;
215
+ color: inherit;
216
+
217
+ &::-ms-clear {
218
+ display: none;
219
+ }
220
+
221
+ &:focus {
222
+ box-shadow: unset !important;
223
+ }
224
+
225
+ &::placeholder {
226
+ opacity: 0.8;
227
+ font-weight: 300;
228
+ }
229
+
230
+ }
231
+
232
+ .sd-inset-search__cancel {
233
+ height: 1.6rem;
234
+ width: 1.6rem;
235
+ align-self: center;
236
+ flex-grow: 0;
237
+ flex-shrink: 0;
238
+ margin: 0 1.2rem 0 0;
239
+ padding: 0;
240
+ opacity: 0.35;
241
+ transition: opacity 0.2s ease-out;
242
+
243
+ i {
244
+ color: inherit;
245
+ }
246
+
247
+ &:hover {
248
+ opacity: 0.75;
249
+ }
250
+
251
+ &:active {
252
+ opacity: 1;
253
+ }
254
+ }
255
+
256
+ .sd-board__subheader {
257
+ padding-block-end: var(--space--0-5);
258
+ position: relative;
259
+ min-height: 2rem;
260
+ display: flex;
261
+ flex-direction: row;
262
+ align-items: center;
263
+ }
264
+
265
+ .sd-board__subheader--clickable {
266
+ transition: border-color ease-in-out .2s;
267
+ cursor: pointer;
268
+
269
+ &:hover {
270
+ border-bottom-color: colors.$sd-colour-interactive;
271
+ }
272
+ }
273
+
274
+ .sd-board__subheader-title {
275
+ text-transform: uppercase;
276
+ font-size: 1.1rem;
277
+ letter-spacing: .08em;
278
+ font-weight: 500;
279
+ flex-grow: 1;
280
+ color: var(--color-text);
281
+ opacity: 0.75;
282
+ }
283
+
284
+ .sd-list-item-group + .sd-board__subheader {
285
+ margin-block-start: var(--space--2);
286
+ }
287
+
288
+ .sd-kanban-list {
289
+ .sd-board {
290
+ flex: 1 1 0;
291
+ margin: 0 1.2rem;
292
+ min-width: 24rem;
293
+ }
294
+
295
+ .sd-board__content {
296
+ padding: 0.6rem 0.3rem 0.6rem 0.3rem;
297
+ overflow-y: auto;
298
+ }
299
+ }
300
+
301
+ .user-items--locked {
302
+ color: #c4170b;
303
+
304
+ i {
305
+ color: #c4170b;
306
+ font-size: 1.2rem;
307
+ width: 1.2rem;
308
+ height: 1.2rem;
309
+ opacity: 1 !important;
310
+ }
311
+ }
312
+
313
+ .user-items--assigned {
314
+ color: #009688;
315
+
316
+ i {
317
+ color: #009688;
318
+ font-size: 1.4rem;
319
+ width: 1.4rem;
320
+ height: 1.4rem;
321
+ opacity: 1 !important;
322
+ }
323
+ }
@@ -0,0 +1,164 @@
1
+ @use "sass:math";
2
+ @use "variables";
3
+ @use "variables/colors";
4
+ @use "variables/dimensions";
5
+
6
+ // Re-export variables for global availability when this file is imported
7
+ @forward "variables";
8
+ @forward "variables/colors";
9
+ @forward "variables/dimensions";
10
+
11
+ @mixin clearfix {
12
+ *zoom: 1;
13
+
14
+ &:before,
15
+ &:after {
16
+ display: table;
17
+ content: "";
18
+ }
19
+
20
+ &:after {
21
+ clear: both;
22
+ }
23
+ }
24
+
25
+ // Border radius
26
+ @mixin border-radius($radius) {
27
+ border-radius: $radius;
28
+ }
29
+
30
+ @mixin box-shadow-both($shadow1 , $shadow2) {
31
+ box-shadow: $shadow1, $shadow2;
32
+ }
33
+
34
+ // Text overflow ellipsis
35
+ @mixin text-overflow() {
36
+ overflow: hidden;
37
+ white-space: nowrap;
38
+ text-overflow: ellipsis;
39
+ }
40
+
41
+ // Font weight
42
+ @mixin text-light() {
43
+ font-weight: 300;
44
+ }
45
+
46
+ @mixin text-normal() {
47
+ font-weight: 400;
48
+ }
49
+
50
+ @mixin text-semibold() {
51
+ font-weight: 500;
52
+ }
53
+
54
+ @mixin text-bold() {
55
+ font-weight: 700;
56
+ }
57
+
58
+ @mixin text-extrabold() {
59
+ font-weight: 800;
60
+ }
61
+
62
+ // Box sizing
63
+ @mixin box-sizing($boxmodel) {
64
+ box-sizing: $boxmodel;
65
+ }
66
+
67
+ @mixin border-box() {
68
+ @include box-sizing(border-box);
69
+ }
70
+
71
+ // Opacity
72
+ @mixin opacity($opacity: 100) {
73
+ opacity: math.div($opacity, 100);
74
+ filter: "alpha(opacity=#{$opacity})";
75
+ }
76
+
77
+ // Box shadow
78
+ @mixin box-shadow($top, $left, $blur, $spread, $color, $inset: false) {
79
+ @if $inset {
80
+ -webkit-box-shadow:inset $top $left $blur $spread $color;
81
+ -moz-box-shadow:inset $top $left $blur $spread $color;
82
+ box-shadow:inset $top $left $blur $spread $color;
83
+ } @else {
84
+ -webkit-box-shadow: $top $left $blur $spread $color;
85
+ -moz-box-shadow: $top $left $blur $spread $color;
86
+ box-shadow: $top $left $blur $spread $color;
87
+ }
88
+ }
89
+
90
+ // Transition -- example: @include transition(padding, 1s, ease-in-out);
91
+ @mixin transition($transition-property, $transition-time, $method) {
92
+ -webkit-transition: $transition-property $transition-time $method;
93
+ -moz-transition: $transition-property $transition-time $method;
94
+ -ms-transition: $transition-property $transition-time $method;
95
+ -o-transition: $transition-property $transition-time $method;
96
+ transition: $transition-property $transition-time $method;
97
+ }
98
+
99
+ @mixin appearance-reset() {
100
+ -webkit-appearance: none;
101
+ -moz-appearance: none;
102
+ appearance: none;
103
+ }
104
+
105
+ @mixin sliding-toolbar {
106
+ position: absolute;
107
+ display: flex;
108
+ align-items: center;
109
+ inset-block-start: 0;
110
+ inset-block-end: 0;
111
+ inset-inline-start: 0;
112
+ inset-inline-end: 0;
113
+ z-index: 3;
114
+ padding: 0 dimensions.$sd-base-increment * 2;
115
+ color: colors.$sd-colour-text__base;
116
+ animation: dropOut2 .3s cubic-bezier(.695,.105,.285,1.275) 1;
117
+ background-color: var(--sd-colour-bg__sliding-toolbar);
118
+ box-shadow: var(--sd-shadow__sliding-toolbar);
119
+ gap: dimensions.$sd-base-increment;
120
+ height: dimensions.$nav-height;
121
+
122
+ &--right {
123
+ text-align: end;
124
+ justify-content: flex-end;
125
+ }
126
+
127
+ .sliding-toolbar__inner {
128
+ flex-grow: 1;
129
+ display: flex;
130
+ align-items: center;
131
+ gap: dimensions.$sd-base-increment;
132
+
133
+ &--right {
134
+ text-align: end;
135
+ }
136
+ }
137
+
138
+ .sliding-toolbar__info-text {
139
+ font-weight: 400;
140
+ opacity: 0.75;
141
+ font-size: 1.4rem;
142
+ }
143
+ }
144
+
145
+ .sliding-toolbar {
146
+ @include sliding-toolbar();
147
+
148
+ &--static {
149
+ position: static;
150
+ animation: none;
151
+ }
152
+ }
153
+
154
+ // User select
155
+ // For selecting text on the page
156
+ @mixin user-select($select) {
157
+ -webkit-user-select: $select;
158
+ -moz-user-select: $select;
159
+ -o-user-select: $select;
160
+ user-select: $select;
161
+ -webkit-touch-callout: $select;
162
+ -khtml-user-select: $select;
163
+ -ms-user-select: $select;
164
+ }