superdesk-ui-framework 3.0.1-beta.1 → 3.0.1-beta.2

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 (168) hide show
  1. package/app/fonts/sd_big-icons.eot +0 -0
  2. package/app/fonts/sd_big-icons.svg +55 -53
  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 +1 -0
  7. package/app/fonts/sd_icons.ttf +0 -0
  8. package/app/fonts/sd_icons.woff +0 -0
  9. package/app/img/dots.svg +3 -0
  10. package/app/styles/_accessibility.scss +3 -3
  11. package/app/styles/_big-icon-font.scss +60 -23
  12. package/app/styles/_boxed-list.scss +26 -3
  13. package/app/styles/_buttons.scss +4 -0
  14. package/app/styles/_helpers.scss +4 -3
  15. package/app/styles/_icon-font.scss +341 -307
  16. package/app/styles/_icon-labels.scss +66 -10
  17. package/app/styles/_table-list.scss +244 -0
  18. package/app/styles/app.scss +1 -0
  19. package/app/styles/components/_list-item.scss +24 -20
  20. package/app/styles/components/_sd-dropzone.scss +52 -16
  21. package/app/styles/components/_subnav.scss +87 -80
  22. package/app/styles/design-tokens/_design-tokens-general.scss +7 -0
  23. package/app/styles/design-tokens/_new-colors.scss +4 -2
  24. package/app/styles/form-elements/_inputs.scss +4 -0
  25. package/app/styles/grids/_grid-layout.scss +21 -7
  26. package/app/styles/layout/_container.scss +3 -0
  27. package/app/styles/layout/_editor.scss +108 -16
  28. package/app/styles/menus/_sd-sidebar-menu.scss +6 -0
  29. package/app/styles/primereact/_pr-dialog.scss +39 -7
  30. package/app-typescript/components/CreateButton.tsx +38 -0
  31. package/app-typescript/components/DropZone.tsx +4 -4
  32. package/app-typescript/components/Icon.tsx +3 -1
  33. package/app-typescript/components/IconLabel.tsx +8 -1
  34. package/app-typescript/components/Input.tsx +2 -0
  35. package/app-typescript/components/Layouts/AuthoringContainer.tsx +27 -0
  36. package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +2 -0
  37. package/app-typescript/components/Layouts/AuthoringMain.tsx +11 -7
  38. package/app-typescript/components/Layouts/AuthoringMainToolBar.tsx +7 -1
  39. package/app-typescript/components/Layouts/Container.tsx +1 -1
  40. package/app-typescript/components/Layouts/ContentSplitter.tsx +23 -0
  41. package/app-typescript/components/Layouts/Layout.tsx +33 -0
  42. package/app-typescript/components/Layouts/LayoutContainer.tsx +1 -4
  43. package/app-typescript/components/Layouts/MainPanel.tsx +10 -5
  44. package/app-typescript/components/Layouts/OverlayPanel.tsx +19 -0
  45. package/app-typescript/components/Layouts/Panel.tsx +1 -0
  46. package/app-typescript/components/Layouts/index.tsx +8 -2
  47. package/app-typescript/components/Lists/BoxedList.tsx +6 -2
  48. package/app-typescript/components/Lists/ContentList.tsx +100 -0
  49. package/app-typescript/components/Lists/TableList.tsx +208 -0
  50. package/app-typescript/components/Modal.tsx +27 -17
  51. package/app-typescript/components/Navigation/SideBarTabs.tsx +10 -0
  52. package/app-typescript/components/SearchBar.tsx +79 -0
  53. package/app-typescript/components/Select.tsx +2 -0
  54. package/app-typescript/components/SidebarMenu.tsx +68 -0
  55. package/app-typescript/components/Spinner.tsx +1 -1
  56. package/app-typescript/components/SwitchGroup.tsx +2 -1
  57. package/app-typescript/index.ts +3 -0
  58. package/dist/dots.svg +3 -0
  59. package/dist/examples.bundle.css +7871 -379
  60. package/dist/examples.bundle.js +29461 -15740
  61. package/dist/playgrounds/react-playgrounds/EditorTest.tsx +9 -4
  62. package/dist/playgrounds/react-playgrounds/Index.tsx +3 -1
  63. package/dist/playgrounds/react-playgrounds/PersonalProfile.tsx +13 -0
  64. package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
  65. package/dist/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
  66. package/dist/playgrounds/react-playgrounds/TestGround.tsx +190 -182
  67. package/dist/playgrounds/react-playgrounds/UiPlayground.tsx +4 -0
  68. package/dist/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
  69. package/dist/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
  70. package/dist/playgrounds/react-playgrounds/components/Index.tsx +6 -1
  71. package/dist/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
  72. package/dist/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
  73. package/dist/react/Container.tsx +1 -1
  74. package/dist/react/ContentList.tsx +280 -0
  75. package/dist/react/CreateButton.tsx +71 -0
  76. package/dist/react/DropZone.tsx +14 -6
  77. package/dist/react/IconButtons.tsx +6 -6
  78. package/dist/react/IconLabels.tsx +24 -2
  79. package/dist/react/Index.tsx +15 -0
  80. package/dist/react/Inputs.tsx +32 -3
  81. package/dist/react/Modal.tsx +1 -0
  82. package/dist/react/TableList.tsx +268 -0
  83. package/dist/sd_big-icons.eot +0 -0
  84. package/dist/sd_big-icons.svg +55 -53
  85. package/dist/sd_big-icons.ttf +0 -0
  86. package/dist/sd_big-icons.woff +0 -0
  87. package/dist/sd_icons.eot +0 -0
  88. package/dist/sd_icons.svg +1 -0
  89. package/dist/sd_icons.ttf +0 -0
  90. package/dist/sd_icons.woff +0 -0
  91. package/dist/superdesk-ui.bundle.css +44994 -24931
  92. package/dist/superdesk-ui.bundle.js +2437 -1949
  93. package/dist/vendor.bundle.js +27 -27
  94. package/examples/css/docs-page.css +2 -3
  95. package/examples/index.js +8 -0
  96. package/examples/pages/playgrounds/react-playgrounds/EditorTest.tsx +9 -4
  97. package/examples/pages/playgrounds/react-playgrounds/Index.tsx +3 -1
  98. package/examples/pages/playgrounds/react-playgrounds/PersonalProfile.tsx +13 -0
  99. package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +466 -0
  100. package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +1002 -0
  101. package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +190 -182
  102. package/examples/pages/playgrounds/react-playgrounds/UiPlayground.tsx +4 -0
  103. package/examples/pages/playgrounds/react-playgrounds/components/AuthoringContainer.tsx +26 -0
  104. package/examples/pages/playgrounds/react-playgrounds/components/ContentSplitter.tsx +22 -0
  105. package/examples/pages/playgrounds/react-playgrounds/components/Index.tsx +6 -1
  106. package/examples/pages/playgrounds/react-playgrounds/components/MainPanel.tsx +11 -1
  107. package/examples/pages/playgrounds/react-playgrounds/components/SearchBar.tsx +51 -9
  108. package/examples/pages/react/Container.tsx +1 -1
  109. package/examples/pages/react/ContentList.tsx +280 -0
  110. package/examples/pages/react/CreateButton.tsx +71 -0
  111. package/examples/pages/react/DropZone.tsx +14 -6
  112. package/examples/pages/react/IconButtons.tsx +6 -6
  113. package/examples/pages/react/IconLabels.tsx +24 -2
  114. package/examples/pages/react/Index.tsx +15 -0
  115. package/examples/pages/react/Inputs.tsx +32 -3
  116. package/examples/pages/react/Modal.tsx +1 -0
  117. package/examples/pages/react/TableList.tsx +268 -0
  118. package/package.json +2 -1
  119. package/react/components/CreateButton.d.ts +17 -0
  120. package/react/components/CreateButton.js +66 -0
  121. package/react/components/DropZone.d.ts +2 -2
  122. package/react/components/DropZone.js +2 -2
  123. package/react/components/Icon.d.ts +1 -0
  124. package/react/components/Icon.js +2 -1
  125. package/react/components/IconLabel.d.ts +2 -0
  126. package/react/components/IconLabel.js +6 -3
  127. package/react/components/Input.d.ts +1 -0
  128. package/react/components/Input.js +1 -0
  129. package/react/components/Layouts/AuthoringContainer.d.ts +11 -0
  130. package/react/components/Layouts/AuthoringContainer.js +58 -0
  131. package/react/components/Layouts/AuthoringInnerHeader.d.ts +1 -0
  132. package/react/components/Layouts/AuthoringInnerHeader.js +6 -3
  133. package/react/components/Layouts/AuthoringMain.d.ts +3 -1
  134. package/react/components/Layouts/AuthoringMain.js +2 -2
  135. package/react/components/Layouts/AuthoringMainToolBar.d.ts +1 -0
  136. package/react/components/Layouts/AuthoringMainToolBar.js +8 -1
  137. package/react/components/Layouts/Container.d.ts +1 -1
  138. package/react/components/Layouts/ContentSplitter.d.ts +10 -0
  139. package/react/components/Layouts/ContentSplitter.js +56 -0
  140. package/react/components/Layouts/Layout.d.ts +8 -0
  141. package/react/components/Layouts/Layout.js +35 -0
  142. package/react/components/Layouts/LayoutContainer.js +1 -1
  143. package/react/components/Layouts/MainPanel.d.ts +1 -0
  144. package/react/components/Layouts/MainPanel.js +11 -4
  145. package/react/components/Layouts/OverlayPanel.d.ts +8 -0
  146. package/react/components/Layouts/OverlayPanel.js +49 -0
  147. package/react/components/Layouts/Panel.d.ts +1 -0
  148. package/react/components/Layouts/index.d.ts +6 -2
  149. package/react/components/Layouts/index.js +12 -4
  150. package/react/components/Lists/BoxedList.d.ts +2 -0
  151. package/react/components/Lists/BoxedList.js +6 -4
  152. package/react/components/Modal.d.ts +2 -0
  153. package/react/components/Modal.js +11 -3
  154. package/react/components/Navigation/SideBarTabs.d.ts +1 -0
  155. package/react/components/Navigation/SideBarTabs.js +4 -0
  156. package/react/components/SearchBar.d.ts +23 -0
  157. package/react/components/SearchBar.js +87 -0
  158. package/react/components/Select.d.ts +1 -0
  159. package/react/components/Select.js +1 -0
  160. package/react/components/Spinner.js +1 -1
  161. package/react/components/SwitchGroup.d.ts +1 -0
  162. package/react/components/SwitchGroup.js +1 -1
  163. package/react/index.d.ts +2 -0
  164. package/react/index.js +5 -0
  165. package/sd_icons.eot +0 -0
  166. package/sd_icons.svg +189 -0
  167. package/sd_icons.ttf +0 -0
  168. package/sd_icons.woff +0 -0
@@ -16,388 +16,422 @@
16
16
  $icon-color: var(--color-icon-default) !default;
17
17
 
18
18
  @font-face {
19
- font-family: 'sd_icons';
20
- src:url('../fonts/sd_icons.eot?-r9v51w');
21
- src:url('../fonts/sd_icons.eot?#iefix-r9v51w') format('embedded-opentype'),
22
- url('../fonts/sd_icons.woff?-r9v51w') format('woff'),
23
- url('../fonts/sd_icons.ttf?-r9v51w') format('truetype'),
24
- url('../fonts/sd_icons.svg?-r9v51w#sd_icons') format('svg');
25
- font-weight: normal;
26
- font-style: normal;
19
+ font-family: 'sd_icons';
20
+ src:url('../fonts/sd_icons.eot?-r9v51w');
21
+ src:url('../fonts/sd_icons.eot?#iefix-r9v51w') format('embedded-opentype'),
22
+ url('../fonts/sd_icons.woff?-r9v51w') format('woff'),
23
+ url('../fonts/sd_icons.ttf?-r9v51w') format('truetype'),
24
+ url('../fonts/sd_icons.svg?-r9v51w#sd_icons') format('svg');
25
+ font-weight: normal;
26
+ font-style: normal;
27
27
  }
28
28
 
29
29
  $icon-base-size: 16px;
30
30
 
31
31
  @mixin icon-base {
32
- display: inline-block;
33
- width: $icon-base-size;
34
- height: $icon-base-size;
35
- line-height: $icon-base-size;
36
- font-size: $icon-base-size;
37
- font-family: 'sd_icons';
38
- speak: none;
39
- font-style: normal;
40
- font-weight: normal;
41
- font-variant: normal;
42
- text-transform: none;
32
+ --icon-base-size: 16px;
33
+ display: inline-block;
34
+ width: var(--icon-base-size);
35
+ height: var(--icon-base-size);
36
+ line-height: var(--icon-base-size);
37
+ font-size: var(--icon-base-size);
38
+ font-family: 'sd_icons';
39
+ speak: none;
40
+ font-style: normal;
41
+ font-weight: normal;
42
+ font-variant: normal;
43
+ text-transform: none;
43
44
  }
44
45
 
45
46
  [class^="icon-"],
46
47
  [class*=" icon-"] {
47
- @include icon-base;
48
- color: $icon-color;
49
- /* Better Font Rendering =========== */
50
- -webkit-font-smoothing: antialiased;
51
- -moz-osx-font-smoothing: grayscale;
48
+ @include icon-base;
49
+ color: $icon-color;
50
+ /* Better Font Rendering =========== */
51
+ -webkit-font-smoothing: antialiased;
52
+ -moz-osx-font-smoothing: grayscale;
52
53
  }
53
54
 
54
55
  .icon--2x {
55
- width: $icon-base-size *2;
56
- height: $icon-base-size *2;
57
- line-height: $icon-base-size *2;
58
- font-size: $icon-base-size *2;
56
+ width: $icon-base-size *2;
57
+ height: $icon-base-size *2;
58
+ line-height: $icon-base-size *2;
59
+ font-size: $icon-base-size *2;
59
60
  }
60
61
 
61
62
  .icon--light {
62
- opacity: 0.5;
63
+ opacity: 0.5;
63
64
  }
64
65
  .icon--blue {
65
- color: $sd-colour-interactive !important;
66
+ color: $sd-colour-interactive !important;
66
67
  }
67
68
  .icon--white {
68
- color: $white !important;
69
+ color: $white !important;
69
70
  }
70
71
  .icon--light-blue {
71
- color: #68abc8 !important;
72
- opacity: 1 !important;
72
+ color: #68abc8 !important;
73
+ opacity: 1 !important;
73
74
  }
74
75
  .icon--dark-blue-grey {
75
- color: #31728e !important;
76
- opacity: 1 !important;
76
+ color: #31728e !important;
77
+ opacity: 1 !important;
77
78
  }
78
79
  [class*=icon-].red,
79
80
  .icon--red {
80
- color: $fireBrick !important;
81
+ color: $fireBrick !important;
81
82
  }
82
83
  .icon--orange {
83
- color: $orange !important;
84
+ color: $orange !important;
84
85
  }
85
86
  .icon--green {
86
- color: $green !important;
87
+ color: $green !important;
87
88
  }
88
89
  .icon--rotate-180 {
89
- transform: rotate(180deg);
90
+ transform: rotate(180deg);
90
91
  }
91
92
  .icon--rotate-90 {
92
- transform: rotate(90deg);
93
+ transform: rotate(90deg);
93
94
  }
94
95
  .icon--full-opacity {
95
- opacity: 1 !important;
96
+ opacity: 1 !important;
96
97
  }
97
98
  .icon--disabled {
98
- opacity: 0.2 !important;
99
+ opacity: 0.2 !important;
99
100
  }
100
101
 
101
102
  // Icons definition
102
103
  $sd-icon-font: (
103
- photo: "\e600",
104
- video: "\e601",
105
- map-marker: "\e602",
106
- slideshow: "\e603",
107
- text: "\e604",
108
- file: "\e605",
109
- calendar: "\e606",
110
- composite: "\e607",
111
- audio: "\e608",
112
- stream: "\e609",
113
- ingest: "\e60a",
114
- archive: "\e60b",
115
- time: "\e60c",
116
- pin: "\e60d",
117
- expand: "\e60e",
118
- ascending: "\e60f",
119
- descending: "\e60f",
120
- th: "\e610",
121
- grid-view: "\e610",
122
- th-list: "\e611",
123
- list-view: "\e611",
124
- pencil: "\e612",
125
- lock: "\e613",
126
- retweet: "\e614",
127
- unspike: "\e615",
128
- fullscreen: "\e616",
129
- fetch-as: "\e617",
130
- search: "\e618",
131
- star: "\e619",
132
- star-empty: "\e61a",
133
- multi-star: "\e61b",
134
- th-large: "\e61c",
135
- grid-view-large: "\e61c",
136
- ok: "\e61d",
137
- zoom-in: "\e61e",
138
- zoom-out: "\e61f",
139
- signal: "\e620",
140
- filter-large: "\e621",
141
- trash: "\e622",
142
- user: "\e623",
143
- download: "\e624",
144
- upload: "\e625",
145
- repeat: "\e626",
146
- refresh: "\e627",
147
- list-alt: "\e628",
148
- plus-large: "\e629",
149
- picture: "\e62a",
150
- question-sign: "\e62b",
151
- info-sign: "\e62c",
152
- plus-sign: "\e62d",
153
- minus-sign: "\e62e",
154
- remove-sign: "\e62f",
155
- share-alt: "\e630",
156
- exclamation-sign: "\e631",
157
- eye-open: "\e632",
158
- copy: "\e633",
159
- comment: "\e634",
160
- warning-sign: "\e635",
161
- adjust: "\e636",
162
- folder-close: "\e637",
163
- folder-open: "\e638",
164
- download-alt: "\e639",
165
- tasks: "\e63a",
166
- globe: "\e63b",
167
- link: "\e63c",
168
- expand-thin: "\e63d",
169
- assign: "\e63e",
170
- dots: "\e63f",
171
- dots-vertical: "\e63f",
172
- backward-thin: "\e640",
173
- forward-thin: "\e641",
174
- chevron-left-thin:"\e642",
175
- chevron-right-thin: "\e643",
176
- switches: "\e644",
177
- plus-small: "\e645",
178
- minus-small: "\e646",
179
- close-small: "\e647",
180
- post: "\e648",
181
- external: "\e649",
182
- chevron-up-thin: "\e64a",
183
- chevron-down-thin: "\e64b",
184
- pick: "\e64c",
185
- revert: "\e64d",
186
- package-plus: "\e64e",
187
- list-plus: "\e64f",
188
- envelope: "\e650",
189
- heart: "\e651",
190
- home: "\e652",
191
- print: "\e653",
192
- font: "\e654",
193
- bold: "\e655",
194
- italic: "\e656",
195
- underline: "\e657",
196
- strikethrough: "\e658",
197
- align-left: "\e659",
198
- align-center: "\e65a",
199
- align-right: "\e65b",
200
- align-justify: "\e65c",
201
- unordered-list: "\e65d",
202
- indent-left: "\e65e",
203
- indent-right: "\e65f",
204
- ban-circle: "\e660",
205
- bell: "\e661",
206
- random: "\e662",
207
- settings: "\e663",
208
- package-create: "\e664",
209
- list-menu: "\e665",
210
- new-doc: "\e666",
211
- edit-line: "\e667",
212
- calendar-list: "\e668",
213
- collapse: "\e669",
214
- broadcast: "\e66a",
215
- broadcast-create: "\e66b",
216
- kill: "\e66c",
217
- graphic: "\e66d",
218
- close-thick: "\e66e",
219
- move: "\e66f",
220
- takes-package: "\e670",
221
- highlight-package: "\e671",
222
- preview-mode: "\e672",
223
- unlocked: "\e673",
224
- code: "\e674",
225
- cut: "\e675",
226
- paste: "\e676",
227
- arrow-left:"\e677",
228
- arrow-right: "\e678",
229
- info-large: "\e679",
230
- help-large: "\e67a",
231
- attachment: "\e67b",
232
- attachment-large: "\e67c",
233
- table: "\e67d",
234
- ordered-list: "\e67e",
235
- heading-1: "\e67f",
236
- heading-2: "\e680",
237
- heading-3: "\e681",
238
- heading-4: "\e682",
239
- heading-5: "\e683",
240
- heading-6: "\e684",
241
- quote: "\e685",
242
- multiedit: "\e686",
243
- phone: "\e687",
244
- mobile: "\e688",
245
- twitter: "\e689",
246
- facebook: "\e68a",
247
- linked-in: "\e68b",
248
- twitter-circle: "\e68c",
249
- facebook-circle: "\e68d",
250
- linked-in-circle: "\e68e",
251
- recurring: "\e68f",
252
- paragraph: "\e690",
253
- suggestion: "\e691",
254
- event: "\e692",
255
- kanban-view: "\e693",
256
- subscript: "\e694",
257
- superscript: "\e695",
258
- clear-format: "\e696",
259
- preformatted: "\e697",
260
- crop: "\e698",
261
- flip-horizontal: "\e699",
262
- flip-vertical: "\e69a",
263
- rotate-right: "\e69b",
264
- rotate-left: "\e69c",
265
- business: "\e69d",
266
- paywall: "\e69e",
267
- analytics: "\e69f",
268
- amp: "\e6a0",
269
- undo: "\e6a1",
270
- redo: "\e6a2",
271
- instagram: "\e6a3",
272
- play: "\e6a4",
273
- stop: "\e6a5",
274
- pause: "\e6a6",
275
- fast_rewind: "\e6a7",
276
- fast_forward: "\e6a8",
277
- skip_previous: "\e6a9",
278
- skip_next: "\e6aa",
279
- add-image: "\e6ab",
280
- add-gallery: "\e6ac",
281
- text-format: "\e6ad",
282
- to-uppercase: "\e6ae",
283
- to-lowercase: "\e6af",
284
- arrow-small: "\e6b0",
285
- clear-all: "\e6b1"
104
+ photo: "\e600",
105
+ video: "\e601",
106
+ map-marker: "\e602",
107
+ slideshow: "\e603",
108
+ text: "\e604",
109
+ file: "\e605",
110
+ calendar: "\e606",
111
+ composite: "\e607",
112
+ audio: "\e608",
113
+ stream: "\e609",
114
+ ingest: "\e60a",
115
+ archive: "\e60b",
116
+ time: "\e60c",
117
+ pin: "\e60d",
118
+ expand: "\e60e",
119
+ ascending: "\e60f",
120
+ descending: "\e60f",
121
+ th: "\e610",
122
+ grid-view: "\e610",
123
+ th-list: "\e611",
124
+ list-view: "\e611",
125
+ pencil: "\e612",
126
+ lock: "\e613",
127
+ retweet: "\e614",
128
+ unspike: "\e615",
129
+ fullscreen: "\e616",
130
+ fetch-as: "\e617",
131
+ search: "\e618",
132
+ star: "\e619",
133
+ star-empty: "\e61a",
134
+ multi-star: "\e61b",
135
+ th-large: "\e61c",
136
+ grid-view-large: "\e61c",
137
+ ok: "\e61d",
138
+ zoom-in: "\e61e",
139
+ zoom-out: "\e61f",
140
+ signal: "\e620",
141
+ filter-large: "\e621",
142
+ trash: "\e622",
143
+ user: "\e623",
144
+ download: "\e624",
145
+ upload: "\e625",
146
+ repeat: "\e626",
147
+ refresh: "\e627",
148
+ list-alt: "\e628",
149
+ plus-large: "\e629",
150
+ picture: "\e62a",
151
+ question-sign: "\e62b",
152
+ info-sign: "\e62c",
153
+ plus-sign: "\e62d",
154
+ minus-sign: "\e62e",
155
+ remove-sign: "\e62f",
156
+ share-alt: "\e630",
157
+ exclamation-sign: "\e631",
158
+ eye-open: "\e632",
159
+ copy: "\e633",
160
+ comment: "\e634",
161
+ warning-sign: "\e635",
162
+ adjust: "\e636",
163
+ folder-close: "\e637",
164
+ folder-open: "\e638",
165
+ download-alt: "\e639",
166
+ tasks: "\e63a",
167
+ globe: "\e63b",
168
+ link: "\e63c",
169
+ expand-thin: "\e63d",
170
+ assign: "\e63e",
171
+ dots: "\e63f",
172
+ dots-vertical: "\e63f",
173
+ backward-thin: "\e640",
174
+ forward-thin: "\e641",
175
+ chevron-left-thin:"\e642",
176
+ chevron-right-thin: "\e643",
177
+ switches: "\e644",
178
+ plus-small: "\e645",
179
+ minus-small: "\e646",
180
+ close-small: "\e647",
181
+ post: "\e648",
182
+ external: "\e649",
183
+ chevron-up-thin: "\e64a",
184
+ chevron-down-thin: "\e64b",
185
+ pick: "\e64c",
186
+ revert: "\e64d",
187
+ package-plus: "\e64e",
188
+ list-plus: "\e64f",
189
+ envelope: "\e650",
190
+ heart: "\e651",
191
+ home: "\e652",
192
+ print: "\e653",
193
+ font: "\e654",
194
+ bold: "\e655",
195
+ italic: "\e656",
196
+ underline: "\e657",
197
+ strikethrough: "\e658",
198
+ align-left: "\e659",
199
+ align-center: "\e65a",
200
+ align-right: "\e65b",
201
+ align-justify: "\e65c",
202
+ unordered-list: "\e65d",
203
+ indent-left: "\e65e",
204
+ indent-right: "\e65f",
205
+ ban-circle: "\e660",
206
+ bell: "\e661",
207
+ random: "\e662",
208
+ settings: "\e663",
209
+ package-create: "\e664",
210
+ list-menu: "\e665",
211
+ new-doc: "\e666",
212
+ edit-line: "\e667",
213
+ calendar-list: "\e668",
214
+ collapse: "\e669",
215
+ broadcast: "\e66a",
216
+ broadcast-create: "\e66b",
217
+ kill: "\e66c",
218
+ graphic: "\e66d",
219
+ close-thick: "\e66e",
220
+ move: "\e66f",
221
+ takes-package: "\e670",
222
+ highlight-package: "\e671",
223
+ preview-mode: "\e672",
224
+ unlocked: "\e673",
225
+ code: "\e674",
226
+ cut: "\e675",
227
+ paste: "\e676",
228
+ arrow-left:"\e677",
229
+ arrow-right: "\e678",
230
+ info-large: "\e679",
231
+ help-large: "\e67a",
232
+ attachment: "\e67b",
233
+ attachment-large: "\e67c",
234
+ table: "\e67d",
235
+ ordered-list: "\e67e",
236
+ heading-1: "\e67f",
237
+ heading-2: "\e680",
238
+ heading-3: "\e681",
239
+ heading-4: "\e682",
240
+ heading-5: "\e683",
241
+ heading-6: "\e684",
242
+ quote: "\e685",
243
+ multiedit: "\e686",
244
+ phone: "\e687",
245
+ mobile: "\e688",
246
+ twitter: "\e689",
247
+ facebook: "\e68a",
248
+ linked-in: "\e68b",
249
+ twitter-circle: "\e68c",
250
+ facebook-circle: "\e68d",
251
+ linked-in-circle: "\e68e",
252
+ recurring: "\e68f",
253
+ paragraph: "\e690",
254
+ suggestion: "\e691",
255
+ event: "\e692",
256
+ kanban-view: "\e693",
257
+ subscript: "\e694",
258
+ superscript: "\e695",
259
+ clear-format: "\e696",
260
+ preformatted: "\e697",
261
+ crop: "\e698",
262
+ flip-horizontal: "\e699",
263
+ flip-vertical: "\e69a",
264
+ rotate-right: "\e69b",
265
+ rotate-left: "\e69c",
266
+ business: "\e69d",
267
+ paywall: "\e69e",
268
+ analytics: "\e69f",
269
+ amp: "\e6a0",
270
+ undo: "\e6a1",
271
+ redo: "\e6a2",
272
+ instagram: "\e6a3",
273
+ play: "\e6a4",
274
+ stop: "\e6a5",
275
+ pause: "\e6a6",
276
+ fast_rewind: "\e6a7",
277
+ fast_forward: "\e6a8",
278
+ skip_previous: "\e6a9",
279
+ skip_next: "\e6aa",
280
+ add-image: "\e6ab",
281
+ add-gallery: "\e6ac",
282
+ text-format: "\e6ad",
283
+ to-uppercase: "\e6ae",
284
+ to-lowercase: "\e6af",
285
+ arrow-small: "\e6b0",
286
+ clear-all: "\e6b1",
287
+ rundown: "\e6b2",
286
288
  );
287
289
 
288
290
  @each $name, $value in $sd-icon-font {
289
- &.icon-#{$name}:before {
290
- content: $value;
291
- }
292
- .icon-#{$name} {
293
- @if $name == descending {
294
- transform: rotate(180deg);
291
+ &.icon-#{$name}:before {
292
+ content: $value;
295
293
  }
296
- @if $name == dots-vertical {
297
- transform: rotate(90deg);
294
+ .icon-#{$name} {
295
+ @if $name == descending {
296
+ transform: rotate(180deg);
297
+ }
298
+ @if $name == dots-vertical {
299
+ transform: rotate(90deg);
300
+ }
301
+ &.color--default {
302
+ color: $icon-color;
303
+ }
304
+ &.color--primary {
305
+ color: var(--sd-colour-primary) !important;
306
+ }
307
+ &.color--success {
308
+ color: var(--sd-colour-success) !important;
309
+ }
310
+ &.color--warning {
311
+ color: var(--sd-colour-warning) !important;
312
+ }
313
+ &.color--alert {
314
+ color: var(--sd-colour-alert) !important;
315
+ }
316
+ &.color--highlight {
317
+ color: var(--sd-colour-highlight) !important;
318
+ }
319
+ &.color--light {
320
+ color: var(--color-text-lighter) !important;
321
+ }
322
+
323
+ &.scale--2x {
324
+ --icon-base-size: 32px
325
+ }
326
+ &.scale--3x {
327
+ --icon-base-size: 48px
328
+ }
329
+ &.scale--4x {
330
+ --icon-base-size: 64px
331
+ }
332
+
298
333
  }
299
- }
300
334
  }
301
335
 
302
336
  :export {
303
- icon: map-keys($sd-icon-font);
337
+ icon: map-keys($sd-icon-font);
304
338
  }
305
339
 
306
340
  // Combining 2 icons
307
341
  .icn-mix {
308
- position: relative;
309
- display: inline-block;
310
- font-size: $icon-base-size;
311
- height: $icon-base-size;
312
- .icn-mix__icn {
313
- opacity: 0.6;
314
- }
315
- .icn-mix__sub-icn {
316
- position:absolute;
317
- font-size: 1.1rem;
318
- box-sizing: content-box;
319
- line-height: 100%;
320
- color: $purple;
321
- right: -0.5rem;
322
- bottom: -0.7rem;
323
- height: 1em;
324
- width: 1em;
325
- background-color: var(--sd-item__main-Bg);
326
- border-radius: $border-radius__base--full;
327
- padding: 1px;
328
- z-index: 1;
329
- opacity: 1 !important;
330
- }
331
- &--2x {
332
- font-size: $icon-base-size *2;
333
- height: $icon-base-size *2;
342
+ position: relative;
343
+ display: inline-block;
344
+ font-size: $icon-base-size;
345
+ height: $icon-base-size;
334
346
  .icn-mix__icn {
335
- opacity: 0.6;
336
- width: $icon-base-size *2;
337
- height: $icon-base-size *2;
338
- line-height: $icon-base-size *2;
339
- font-size: $icon-base-size *2;
347
+ opacity: 0.6;
340
348
  }
341
349
  .icn-mix__sub-icn {
342
- font-size: 1.6rem;
343
- right: -0.6rem;
344
- bottom: -0.3rem;
350
+ position:absolute;
351
+ font-size: 1.1rem;
352
+ box-sizing: content-box;
353
+ line-height: 100%;
354
+ color: $purple;
355
+ right: -0.5rem;
356
+ bottom: -0.7rem;
357
+ height: 1em;
358
+ width: 1em;
359
+ background-color: var(--sd-item__main-Bg);
360
+ border-radius: $border-radius__base--full;
361
+ padding: 1px;
362
+ z-index: 1;
363
+ opacity: 1 !important;
364
+ }
365
+ &--2x {
366
+ font-size: $icon-base-size *2;
367
+ height: $icon-base-size *2;
368
+ .icn-mix__icn {
369
+ opacity: 0.6;
370
+ width: $icon-base-size *2;
371
+ height: $icon-base-size *2;
372
+ line-height: $icon-base-size *2;
373
+ font-size: $icon-base-size *2;
374
+ }
375
+ .icn-mix__sub-icn {
376
+ font-size: 1.6rem;
377
+ right: -0.6rem;
378
+ bottom: -0.3rem;
379
+ }
345
380
  }
346
- }
347
381
  }
348
382
 
349
383
  .double-size-icn {
350
- display: inline-block;
351
- height: 3.2rem;
352
- width: 3.2rem;
353
- [class^="icon-"],
354
- [class*=" icon-"] {
355
- width: 32px;
356
- height: 32px;
357
- line-height: 32px;
358
- font-size: 32px;
359
- }
360
- &--light {
384
+ display: inline-block;
385
+ height: 3.2rem;
386
+ width: 3.2rem;
361
387
  [class^="icon-"],
362
388
  [class*=" icon-"] {
363
- opacity: 0.5;
389
+ width: 32px;
390
+ height: 32px;
391
+ line-height: 32px;
392
+ font-size: 32px;
393
+ }
394
+ &--light {
395
+ [class^="icon-"],
396
+ [class*=" icon-"] {
397
+ opacity: 0.5;
398
+ }
364
399
  }
365
- }
366
400
  }
367
401
 
368
402
  .subnav {
369
- .icn-mix__sub-icn {
370
- background-color: $subnav-background;
371
- }
372
- &--darker {
373
403
  .icn-mix__sub-icn {
374
- background-color: $subnav-background-darker;
404
+ background-color: $subnav-background;
375
405
  }
376
- }
377
- &--dark-blue-grey {
378
- .icn-mix__sub-icn {
379
- background-color: $subnav-background-dark-blue-grey;
380
- color: scale-color($purple, $lightness: 50%);
406
+ &--darker {
407
+ .icn-mix__sub-icn {
408
+ background-color: $subnav-background-darker;
409
+ }
381
410
  }
382
- .icn-mix__icn {
383
- color: inherit;
384
- opacity: 1;
411
+ &--dark-blue-grey {
412
+ .icn-mix__sub-icn {
413
+ background-color: $subnav-background-dark-blue-grey;
414
+ color: scale-color($purple, $lightness: 50%);
415
+ }
416
+ .icn-mix__icn {
417
+ color: inherit;
418
+ opacity: 1;
419
+ }
385
420
  }
386
- }
387
421
  }
388
422
 
389
423
  .side-panel__top-tools {
390
- .icn-mix__sub-icn {
391
- background-color: #f0f0f0;
392
- }
393
- &--dark-blue-grey {
394
424
  .icn-mix__sub-icn {
395
- background-color: $subnav-background-dark-blue-grey;
396
- color: scale-color($purple, $lightness: 50%);
425
+ background-color: #f0f0f0;
397
426
  }
398
- .icn-mix__icn {
399
- color: inherit;
400
- opacity: 1;
427
+ &--dark-blue-grey {
428
+ .icn-mix__sub-icn {
429
+ background-color: $subnav-background-dark-blue-grey;
430
+ color: scale-color($purple, $lightness: 50%);
431
+ }
432
+ .icn-mix__icn {
433
+ color: inherit;
434
+ opacity: 1;
435
+ }
401
436
  }
402
- }
403
437
  }