superdesk-ui-framework 3.0.42 → 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.
- package/app/styles/_accessibility.scss +349 -310
- package/app/styles/_alerts.scss +102 -71
- package/app/styles/_animations.scss +29 -16
- package/app/styles/_avatar.scss +159 -140
- package/app/styles/_badge.scss +11 -5
- package/app/styles/_big-icon-font.scss +21 -9
- package/app/styles/_boxed-list.scss +72 -47
- package/app/styles/_buttons.scss +266 -177
- package/app/styles/_carousel.scss +58 -45
- package/app/styles/_content-divider.scss +28 -2
- package/app/styles/_drag-drop.scss +3 -0
- package/app/styles/_empty-states.scss +21 -13
- package/app/styles/_hamburger.scss +142 -144
- package/app/styles/_helpers.scss +297 -93
- package/app/styles/_icon-font.scss +75 -43
- package/app/styles/_icon-labels.scss +11 -1
- package/app/styles/_labels.scss +27 -14
- package/app/styles/_loaders.scss +2 -1
- package/app/styles/_master-desk.scss +67 -31
- package/app/styles/_mixins.scss +40 -20
- package/app/styles/_modals.scss +112 -56
- package/app/styles/_panel-info.scss +38 -34
- package/app/styles/_popover.scss +0 -1
- package/app/styles/_publisher-styles.scss +132 -122
- package/app/styles/_sd-tag-input.scss +104 -24
- package/app/styles/_simple-list.scss +89 -66
- package/app/styles/_spinner.scss +24 -17
- package/app/styles/_table-list.scss +114 -80
- package/app/styles/_tables.scss +14 -2
- package/app/styles/_tabs-vertical.scss +46 -43
- package/app/styles/_tabs.scss +97 -87
- package/app/styles/_tag-labels.scss +26 -11
- package/app/styles/_thumb-carousel.scss +37 -11
- package/app/styles/_toggle-box.scss +27 -7
- package/app/styles/_toggle-button.scss +5 -1
- package/app/styles/_tooltips.scss +284 -272
- package/app/styles/components/_card-item.scss +268 -192
- package/app/styles/components/_list-item.scss +261 -175
- package/app/styles/components/_sd-circular-progress.scss +109 -79
- package/app/styles/components/_sd-collapse-box.scss +45 -33
- package/app/styles/components/_sd-comment-box.scss +17 -12
- package/app/styles/components/_sd-dropzone.scss +32 -15
- package/app/styles/components/_sd-editor-popup.scss +29 -15
- package/app/styles/components/_sd-grid-item.scss +349 -237
- package/app/styles/components/_sd-loader.scss +1 -2
- package/app/styles/components/_sd-media-carousel.scss +119 -78
- package/app/styles/components/_sd-notification-panel.scss +2 -1
- package/app/styles/components/_sd-pagination.scss +27 -19
- package/app/styles/components/_sd-photo-preview.scss +82 -41
- package/app/styles/components/_sd-searchbar.scss +79 -51
- package/app/styles/components/_sd-toaster.scss +52 -30
- package/app/styles/components/_subnav.scss +230 -135
- package/app/styles/components/_theme-selector.scss +78 -53
- package/app/styles/components/sd-slider.scss +11 -7
- package/app/styles/design-tokens/_design-tokens-general.scss +31 -27
- package/app/styles/design-tokens/_new-colors.scss +3 -1
- package/app/styles/dropdowns/_basic-dropdown.scss +164 -86
- package/app/styles/dropdowns/_input-dropdown.scss +5 -2
- package/app/styles/dropdowns/_navigation_dropdown.scss +18 -4
- package/app/styles/dropdowns/_nested-dropdown.scss +11 -2
- package/app/styles/dropdowns/_other_dropdown.scss +9 -3
- package/app/styles/editor/_editor-buttons.scss +10 -6
- package/app/styles/editor/_editor-themes.scss +401 -350
- package/app/styles/form-elements/_autocomplete.scss +7 -1
- package/app/styles/form-elements/_checkbox.scss +230 -159
- package/app/styles/form-elements/_forms-general.scss +345 -285
- package/app/styles/form-elements/_input-preview.scss +15 -9
- package/app/styles/form-elements/_input-wrap.scss +77 -71
- package/app/styles/form-elements/_inputs.scss +668 -489
- package/app/styles/form-elements/_radio.scss +10 -5
- package/app/styles/form-elements/_switch.scss +27 -16
- package/app/styles/grids/_basic-grid.scss +83 -64
- package/app/styles/grids/_grid-layout.scss +301 -165
- package/app/styles/grids/_layout-grid.scss +85 -59
- package/app/styles/grids/_sd-kanban-list.scss +14 -4
- package/app/styles/interface-elements/_side-panel.scss +279 -200
- package/app/styles/layout/_basic-layout.scss +36 -34
- package/app/styles/layout/_container.scss +38 -31
- package/app/styles/layout/_editor.scss +57 -17
- package/app/styles/layout/_general.scss +81 -67
- package/app/styles/menus/_sd-bottom-tabs.scss +21 -12
- package/app/styles/menus/_sd-content-navigation.scss +20 -16
- package/app/styles/menus/_sd-left-navigation.scss +62 -49
- package/app/styles/menus/_sd-sidebar-menu.scss +365 -323
- package/app/styles/menus/_sd-top-menu.scss +16 -7
- package/app/styles/primereact/_pr-autocomplete.scss +2 -0
- package/app/styles/primereact/_pr-datepicker.scss +13 -2
- package/app/styles/primereact/_pr-dialog.scss +55 -47
- package/app/styles/primereact/_pr-dropdown.scss +27 -22
- package/app/styles/primereact/_pr-general.scss +3 -0
- package/app/styles/primereact/_pr-menu.scss +2 -1
- package/app/styles/primereact/_pr-skeleton.scss +1 -0
- package/app/styles/primereact/_pr-tag-input.scss +1 -0
- package/app/styles/variables/_colors.scss +168 -170
- package/app/styles/variables/_typography.scss +1 -2
- package/app-typescript/components/Form/InputWrapper.tsx +1 -1
- package/app-typescript/components/Menu.tsx +1 -1
- package/dist/examples.bundle.css +18 -16
- package/dist/examples.bundle.js +5 -7
- package/dist/superdesk-ui.bundle.css +4265 -3552
- package/dist/superdesk-ui.bundle.js +4 -6
- package/package.json +2 -2
- package/react/components/Form/InputWrapper.d.ts +1 -1
- package/react/components/Menu.js +1 -1
@@ -1,6 +1,5 @@
|
|
1
1
|
@import '../variables/_colors.scss';
|
2
2
|
|
3
|
-
|
4
3
|
// extra small
|
5
4
|
$circular-progress-size-xs: 20px;
|
6
5
|
$circular-progress-stroke-xs: 2;
|
@@ -21,10 +20,10 @@ $circular-progress-stroke-l: 4;
|
|
21
20
|
$circular-progress-size-xl: 102px;
|
22
21
|
$circular-progress-stroke-xl: 6;
|
23
22
|
|
24
|
-
|
25
23
|
.progress-bar-container {
|
26
24
|
display: inline-block;
|
27
25
|
position: relative;
|
26
|
+
|
28
27
|
.progress-text {
|
29
28
|
-moz-transform: translate(-50%, -50%);
|
30
29
|
-ms-transform: translate(-50%, -50%);
|
@@ -51,15 +50,18 @@ $circular-progress-stroke-xl: 6;
|
|
51
50
|
height: 20px;
|
52
51
|
transform: rotate(-90deg);
|
53
52
|
display: block;
|
53
|
+
|
54
54
|
circle {
|
55
55
|
stroke: rgba(123, 123, 123, 0.4);
|
56
56
|
stroke-width: 2;
|
57
57
|
fill: transparent;
|
58
58
|
}
|
59
|
+
|
59
60
|
.progressbar {
|
60
61
|
stroke: $green;
|
61
62
|
fill: transparent;
|
62
63
|
}
|
64
|
+
|
63
65
|
.error & {
|
64
66
|
.progressbar {
|
65
67
|
stroke: transparent !important;
|
@@ -79,6 +81,7 @@ $circular-progress-stroke-xl: 6;
|
|
79
81
|
box-shadow: inset 0 0 0 0 currentColor;
|
80
82
|
transition: box-shadow 0.3s ease-in-out;
|
81
83
|
z-index: 2;
|
84
|
+
|
82
85
|
i {
|
83
86
|
color: $white;
|
84
87
|
text-align: center;
|
@@ -89,16 +92,20 @@ $circular-progress-stroke-xl: 6;
|
|
89
92
|
transition: all .14s ease-in;
|
90
93
|
transition-delay: .2s;
|
91
94
|
}
|
95
|
+
|
92
96
|
&.progress-done--completed {
|
93
97
|
box-shadow: inset 0 0 0 50px currentColor;
|
98
|
+
|
94
99
|
i {
|
95
100
|
transform: scale(1);
|
96
101
|
opacity: 1;
|
97
102
|
}
|
98
103
|
}
|
104
|
+
|
99
105
|
&.progress-done--error {
|
100
106
|
color: $red;
|
101
107
|
box-shadow: inset 0 0 0 50px currentColor;
|
108
|
+
|
102
109
|
i {
|
103
110
|
transform: scale(1);
|
104
111
|
opacity: 1;
|
@@ -106,102 +113,125 @@ $circular-progress-stroke-xl: 6;
|
|
106
113
|
}
|
107
114
|
}
|
108
115
|
|
109
|
-
.sd-circular-progress {
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
}
|
116
|
+
.sd-circular-progress--xs {
|
117
|
+
.progress-svg {
|
118
|
+
width: $circular-progress-size-xs;
|
119
|
+
height: $circular-progress-size-xs;
|
120
|
+
|
121
|
+
circle {
|
122
|
+
stroke-width: $circular-progress-stroke-xs;
|
117
123
|
}
|
118
|
-
|
119
|
-
|
124
|
+
}
|
125
|
+
|
126
|
+
.progress-text {
|
127
|
+
display: none;
|
128
|
+
}
|
129
|
+
|
130
|
+
.progress-done {
|
131
|
+
margin: $circular-progress-stroke-xs - 1px;
|
132
|
+
|
133
|
+
i {
|
134
|
+
transition-duration: .12s;
|
120
135
|
}
|
121
|
-
|
122
|
-
|
136
|
+
|
137
|
+
&.progress-done--completed, &.progress-done--error {
|
138
|
+
box-shadow: inset 0 0 0 10px currentColor;
|
139
|
+
|
123
140
|
i {
|
124
|
-
|
125
|
-
}
|
126
|
-
&.progress-done--completed, &.progress-done--error {
|
127
|
-
box-shadow: inset 0 0 0 10px currentColor;
|
128
|
-
i {
|
129
|
-
transform: scale(0.8);
|
130
|
-
}
|
141
|
+
transform: scale(0.8);
|
131
142
|
}
|
132
143
|
}
|
133
144
|
}
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
145
|
+
}
|
146
|
+
|
147
|
+
.sd-circular-progress--s {
|
148
|
+
.progress-svg {
|
149
|
+
width: $circular-progress-size-s;
|
150
|
+
height: $circular-progress-size-s;
|
151
|
+
|
152
|
+
circle {
|
153
|
+
stroke-width: $circular-progress-stroke-s;
|
141
154
|
}
|
142
|
-
|
143
|
-
|
155
|
+
}
|
156
|
+
|
157
|
+
.progress-text {
|
158
|
+
display: none;
|
159
|
+
}
|
160
|
+
|
161
|
+
.progress-done {
|
162
|
+
margin: $circular-progress-stroke-s - 1px;
|
163
|
+
|
164
|
+
i {
|
165
|
+
transition-duration: .12s;
|
144
166
|
}
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
transition-duration: .12s;
|
149
|
-
}
|
150
|
-
&.progress-done--completed, &.progress-done--error {
|
151
|
-
box-shadow: inset 0 0 0 16px currentColor;
|
152
|
-
}
|
167
|
+
|
168
|
+
&.progress-done--completed, &.progress-done--error {
|
169
|
+
box-shadow: inset 0 0 0 16px currentColor;
|
153
170
|
}
|
154
171
|
}
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
172
|
+
}
|
173
|
+
|
174
|
+
.sd-circular-progress--m {
|
175
|
+
.progress-svg {
|
176
|
+
width: $circular-progress-size-m;
|
177
|
+
height: $circular-progress-size-m;
|
178
|
+
|
179
|
+
circle {
|
180
|
+
stroke-width: $circular-progress-stroke-m;
|
162
181
|
}
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
182
|
+
}
|
183
|
+
|
184
|
+
.progress-done {
|
185
|
+
margin: $circular-progress-stroke-m - 1px;
|
186
|
+
|
187
|
+
&.progress-done--completed, &.progress-done--error {
|
188
|
+
box-shadow: inset 0 0 0 26px currentColor;
|
189
|
+
|
190
|
+
i {
|
191
|
+
transform: scale(1.4);
|
170
192
|
}
|
171
193
|
}
|
172
194
|
}
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
195
|
+
}
|
196
|
+
|
197
|
+
.sd-circular-progress--l {
|
198
|
+
.progress-svg {
|
199
|
+
width: $circular-progress-size-l;
|
200
|
+
height: $circular-progress-size-l;
|
201
|
+
|
202
|
+
circle {
|
203
|
+
stroke-width: $circular-progress-stroke-l;
|
180
204
|
}
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
205
|
+
}
|
206
|
+
|
207
|
+
.progress-done {
|
208
|
+
margin: $circular-progress-stroke-l - 1px;
|
209
|
+
|
210
|
+
&.progress-done--completed, &.progress-done--error {
|
211
|
+
i {
|
212
|
+
transform: scale(2);
|
188
213
|
}
|
214
|
+
|
189
215
|
}
|
190
216
|
}
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
217
|
+
}
|
218
|
+
|
219
|
+
.sd-circular-progress--xl {
|
220
|
+
.progress-svg {
|
221
|
+
width: $circular-progress-size-xl;
|
222
|
+
height: $circular-progress-size-xl;
|
223
|
+
|
224
|
+
circle {
|
225
|
+
stroke-width: $circular-progress-stroke-xl;
|
198
226
|
}
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
227
|
+
}
|
228
|
+
|
229
|
+
.progress-done {
|
230
|
+
margin: $circular-progress-stroke-xl - 1px;
|
231
|
+
|
232
|
+
&.progress-done--completed, &.progress-done--error {
|
233
|
+
i {
|
234
|
+
transform: scale(2.4);
|
205
235
|
}
|
206
236
|
}
|
207
237
|
}
|
@@ -1,5 +1,3 @@
|
|
1
|
-
|
2
|
-
|
3
1
|
.sd-collapse-box {
|
4
2
|
display: flex;
|
5
3
|
flex-direction: column;
|
@@ -7,6 +5,7 @@
|
|
7
5
|
position: relative;
|
8
6
|
margin-bottom: 1rem;
|
9
7
|
border: 1px solid var(--sd-colour--shadow-line--m);
|
8
|
+
|
10
9
|
.sd-collapse-box__header {
|
11
10
|
display: block;
|
12
11
|
flex-grow: 0;
|
@@ -14,23 +13,18 @@
|
|
14
13
|
min-height: 3.8rem;
|
15
14
|
animation: fadeIn 0.3s ease-in 0s 1;
|
16
15
|
}
|
16
|
+
|
17
17
|
.sd-collapse-box__tools {
|
18
18
|
position: absolute;
|
19
19
|
right: 1rem;
|
20
20
|
top: 0.8rem;
|
21
21
|
z-index: 2;
|
22
22
|
color: var(--color-icon-default);
|
23
|
-
|
24
|
-
position: relative;
|
25
|
-
right: 0;
|
26
|
-
top: 0;
|
27
|
-
display: flex;
|
28
|
-
flex-direction: row;
|
29
|
-
margin: -1.4rem -1rem;
|
30
|
-
}
|
23
|
+
|
31
24
|
.sd-collapse-box__collapse-btn {
|
32
25
|
flex-grow: 1;
|
33
26
|
color: var(--color-icon-default);
|
27
|
+
|
34
28
|
&:hover {
|
35
29
|
.icn-btn {
|
36
30
|
background-color: hsla(214, 13%, 60%, 0.25);
|
@@ -38,6 +32,7 @@
|
|
38
32
|
opacity: 1;
|
39
33
|
}
|
40
34
|
}
|
35
|
+
|
41
36
|
&:active {
|
42
37
|
.icn-btn {
|
43
38
|
background-color: hsla(214, 13%, 70%, 0.25);
|
@@ -48,49 +43,64 @@
|
|
48
43
|
}
|
49
44
|
}
|
50
45
|
|
46
|
+
.sd-collapse-box__tools--flex {
|
47
|
+
position: relative;
|
48
|
+
right: 0;
|
49
|
+
top: 0;
|
50
|
+
display: flex;
|
51
|
+
flex-direction: row;
|
52
|
+
margin: -1.4rem -1rem;
|
53
|
+
}
|
54
|
+
|
51
55
|
.sd-collapse-box__content-wraper {
|
52
56
|
flex-grow: 1;
|
53
57
|
position: relative;
|
54
58
|
transition: all ease-in-out .4s;
|
55
59
|
max-height: 0;
|
56
60
|
}
|
61
|
+
|
57
62
|
.sd-collapse-box__content {
|
58
63
|
padding: 2rem;
|
59
64
|
display: none;
|
60
65
|
animation: fadeIn 0.3s ease-in 0s 1;
|
66
|
+
}
|
61
67
|
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
+
.sd-collapse-box__content--border-locked {
|
69
|
+
border-left: 4px solid $red;
|
70
|
+
}
|
71
|
+
|
72
|
+
.sd-collapse-box__content--border-success {
|
73
|
+
border-left: 4px solid $green;
|
68
74
|
}
|
75
|
+
|
69
76
|
.sd-collapse-box__content-block { // place inside .sd-collapse-box__content
|
70
77
|
padding: 1rem;
|
71
78
|
margin: 0 -2rem 3rem -2rem;
|
72
|
-
&--top {
|
73
|
-
margin-top: 2.2rem;
|
74
|
-
}
|
75
79
|
}
|
76
80
|
|
77
|
-
|
78
|
-
|
79
|
-
max-height: 80rem;
|
80
|
-
}
|
81
|
-
.sd-collapse-box__content {
|
82
|
-
display: block;
|
83
|
-
animation: fadeIn 0.3s ease-in 0s 1;
|
84
|
-
}
|
85
|
-
.sd-collapse-box__header {
|
86
|
-
display: none;
|
87
|
-
animation: fadeIn 0.3s ease-in 0s 1;
|
88
|
-
}
|
81
|
+
.sd-collapse-box__content-block--top {
|
82
|
+
margin-top: 2.2rem;
|
89
83
|
}
|
90
|
-
|
91
|
-
|
84
|
+
}
|
85
|
+
|
86
|
+
.sd-collapse-box--open {
|
87
|
+
.sd-collapse-box__content-wraper {
|
88
|
+
max-height: 80rem;
|
92
89
|
}
|
93
90
|
|
91
|
+
.sd-collapse-box__content {
|
92
|
+
display: block;
|
93
|
+
animation: fadeIn 0.3s ease-in 0s 1;
|
94
|
+
}
|
95
|
+
|
96
|
+
.sd-collapse-box__header {
|
97
|
+
display: none;
|
98
|
+
animation: fadeIn 0.3s ease-in 0s 1;
|
99
|
+
}
|
100
|
+
}
|
101
|
+
|
102
|
+
.sd-collapse-box--margin-small {
|
103
|
+
margin-bottom: 0.5rem;
|
94
104
|
}
|
95
105
|
|
96
106
|
.sd-collapse-box__content, .sd-collapse-box__content-block {
|
@@ -108,6 +118,7 @@
|
|
108
118
|
overflow: hidden;
|
109
119
|
border-radius: $border-radius__base--x-small $border-radius__base--x-small 0 0;
|
110
120
|
}
|
121
|
+
|
111
122
|
.sd-collapse-box__sliding-toolbar {
|
112
123
|
position: absolute;
|
113
124
|
display: flex;
|
@@ -122,6 +133,7 @@
|
|
122
133
|
animation: dropOut2 0.3s cubic-bezier(0.695, 0.105, 0.285, 1.275) 1;
|
123
134
|
background-color: var(--sd-colour-bg__sliding-toolbar);
|
124
135
|
box-shadow: var(--sd-shadow__sliding-toolbar);
|
136
|
+
|
125
137
|
.sliding-toolbar__inner {
|
126
138
|
flex-grow: 1;
|
127
139
|
display: flex;
|
@@ -9,16 +9,19 @@
|
|
9
9
|
height: 2.8rem;
|
10
10
|
resize: none;
|
11
11
|
}
|
12
|
+
|
12
13
|
.comment-box__reply-toolbar {
|
13
14
|
display: none;
|
14
15
|
padding-top: 1rem;
|
15
|
-
&--active {
|
16
|
-
display: flex;
|
17
|
-
justify-content: flex-end;
|
18
|
-
align-items: center;
|
19
|
-
gap: var(--gap--small);
|
20
|
-
}
|
21
16
|
}
|
17
|
+
|
18
|
+
.comment-box__reply-toolbar--active {
|
19
|
+
display: flex;
|
20
|
+
justify-content: flex-end;
|
21
|
+
align-items: center;
|
22
|
+
gap: var(--gap--small);
|
23
|
+
}
|
24
|
+
|
22
25
|
.comment-box__button-toolbar {
|
23
26
|
margin-top: 1.2rem;
|
24
27
|
display: flex;
|
@@ -26,10 +29,12 @@
|
|
26
29
|
align-items: center;
|
27
30
|
justify-content: flex-start;
|
28
31
|
gap: var(--gap--small);
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
}
|
33
|
+
|
34
|
+
.comment-box__button-toolbar--right {
|
35
|
+
justify-content: flex-end;
|
36
|
+
}
|
37
|
+
|
38
|
+
.comment-box__button-toolbar--small {
|
39
|
+
margin-top: 0.6rem;
|
35
40
|
}
|
@@ -14,35 +14,43 @@ $iconSize-small: 2.4rem;
|
|
14
14
|
gap: $sd-base-increment * 1;
|
15
15
|
transition: all 0.2s ease;
|
16
16
|
background-color: var(--sd-colour-bg-translucent--10);
|
17
|
-
|
18
|
-
min-height: var(--width__container--xx-small);
|
19
|
-
}
|
17
|
+
|
20
18
|
&.sd-dropzone__drop-target--ondragover {
|
21
19
|
background-color: var(--sd-colour-interactive--alpha-10);
|
20
|
+
|
22
21
|
.sd-dropzone__target-border {
|
23
22
|
inset: 4px;
|
24
23
|
border-color: var(--sd-colour-interactive);
|
25
24
|
}
|
25
|
+
|
26
26
|
.sd-dropzone__icon {
|
27
27
|
opacity: 1;
|
28
28
|
color: var(--sd-colour-interactive);
|
29
29
|
}
|
30
30
|
}
|
31
|
+
|
31
32
|
&:hover {
|
32
33
|
background-color: var(--sd-colour-interactive--alpha-10);
|
33
34
|
cursor: pointer;
|
35
|
+
|
34
36
|
.sd-dropzone__target-border {
|
35
37
|
border-color: var(--sd-colour-interactive--alpha-30);
|
36
38
|
}
|
37
39
|
}
|
40
|
+
|
38
41
|
&:active {
|
39
42
|
background-color: var(--sd-colour-interactive--alpha-20);
|
43
|
+
|
40
44
|
.sd-dropzone__target-border {
|
41
45
|
border-color: var(--sd-colour-interactive);
|
42
46
|
}
|
43
47
|
}
|
44
48
|
}
|
45
49
|
|
50
|
+
.sd-dropzone__drop-target--height-l {
|
51
|
+
min-height: var(--width__container--xx-small);
|
52
|
+
}
|
53
|
+
|
46
54
|
.sd-dropzone__target-border {
|
47
55
|
position: absolute;
|
48
56
|
inset: 2px;
|
@@ -51,6 +59,7 @@ $iconSize-small: 2.4rem;
|
|
51
59
|
transition: all 0.3s ease;
|
52
60
|
z-index: 0;
|
53
61
|
}
|
62
|
+
|
54
63
|
.sd-dropzone__icon {
|
55
64
|
width: 5.6rem;
|
56
65
|
height: 5.6rem;
|
@@ -59,6 +68,7 @@ $iconSize-small: 2.4rem;
|
|
59
68
|
justify-content: center;
|
60
69
|
background-color: hsla(0, 0%, 100%, 0.5);
|
61
70
|
border-radius: var(--b-radius--full);
|
71
|
+
|
62
72
|
[class^="big-icon--"],
|
63
73
|
[class*=" big-icon--"] {
|
64
74
|
margin-top: -4px;
|
@@ -68,22 +78,26 @@ $iconSize-small: 2.4rem;
|
|
68
78
|
line-height: $iconSize-large;
|
69
79
|
opacity: 0.5;
|
70
80
|
}
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
81
|
+
}
|
82
|
+
|
83
|
+
.sd-dropzone__icon--small {
|
84
|
+
width: 4rem;
|
85
|
+
height: 4rem;
|
86
|
+
|
87
|
+
[class^="big-icon--"],
|
88
|
+
[class*=" big-icon--"] {
|
89
|
+
width: $iconSize-small;
|
90
|
+
height: $iconSize-small;
|
91
|
+
font-size: $iconSize-small;
|
92
|
+
line-height: $iconSize-small;
|
93
|
+
opacity: 0.5;
|
82
94
|
}
|
83
95
|
}
|
96
|
+
|
84
97
|
.sd-dropzone__action {
|
85
98
|
margin: 0 auto;
|
86
99
|
}
|
100
|
+
|
87
101
|
.sd-dropzone__heading {
|
88
102
|
text-align: center;
|
89
103
|
max-width: 400px;
|
@@ -93,6 +107,7 @@ $iconSize-small: 2.4rem;
|
|
93
107
|
font-family: $baseFontFamilySerif;
|
94
108
|
color: var(--color-text-light);
|
95
109
|
}
|
110
|
+
|
96
111
|
.sd-dropzone__description {
|
97
112
|
opacity: 0.7;
|
98
113
|
text-align: center;
|
@@ -103,12 +118,14 @@ $iconSize-small: 2.4rem;
|
|
103
118
|
z-index: 0;
|
104
119
|
pointer-events: none;
|
105
120
|
}
|
121
|
+
|
106
122
|
.sd-dropzone__input {
|
107
123
|
opacity: 0;
|
108
124
|
position: absolute;
|
109
125
|
inset: 2px;
|
110
126
|
z-index: 1;
|
127
|
+
|
111
128
|
&:hover {
|
112
129
|
cursor: pointer;
|
113
130
|
}
|
114
|
-
}
|
131
|
+
}
|
@@ -3,16 +3,19 @@ $editor-popup-padding: 1.6rem;
|
|
3
3
|
.editor-popup {
|
4
4
|
display: none;
|
5
5
|
position: fixed;
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
6
|
+
}
|
7
|
+
|
8
|
+
.editor-popup--open {
|
9
|
+
display: inline-block;
|
10
|
+
z-index: 1040; // higher than top/bottom bars, lower than modals
|
11
|
+
}
|
12
|
+
|
13
|
+
.editor-popup--annotation {
|
14
|
+
border-top: 3px solid $annotation-color;
|
15
|
+
}
|
16
|
+
|
17
|
+
.editor-popup--comment {
|
18
|
+
border-top: 3px solid $comment-color;
|
16
19
|
}
|
17
20
|
|
18
21
|
.editor-popup__main {
|
@@ -20,6 +23,7 @@ $editor-popup-padding: 1.6rem;
|
|
20
23
|
color: var(--color-text);
|
21
24
|
width: 32rem;
|
22
25
|
max-height: 100%;
|
26
|
+
|
23
27
|
&.editor-popup__main--floating {
|
24
28
|
background-color: var(--color-dropdown-menu-Bg);
|
25
29
|
z-index: 2;
|
@@ -37,44 +41,54 @@ $editor-popup-padding: 1.6rem;
|
|
37
41
|
padding: $editor-popup-padding;
|
38
42
|
padding-bottom: 1rem;
|
39
43
|
}
|
44
|
+
|
40
45
|
.editor-popup__author-name {
|
46
|
+
@include text-overflow;
|
41
47
|
display: block;
|
42
48
|
margin: 0 0 0.2rem;
|
43
49
|
font-weight: 500;
|
44
50
|
line-height: 100%;
|
45
|
-
@include text-overflow;
|
46
51
|
}
|
52
|
+
|
47
53
|
.editor-popup__time {
|
48
54
|
font-size: 1.1rem;
|
49
55
|
font-weight: 400;
|
50
56
|
}
|
57
|
+
|
51
58
|
.editor-popup__header-text {
|
52
59
|
flex-grow: 1;
|
53
60
|
flex-shrink: 1;
|
54
61
|
overflow: hidden;
|
55
62
|
}
|
63
|
+
|
56
64
|
.editor-popup__header-tools {
|
57
65
|
margin: -2rem -1rem 0 0.4rem;
|
66
|
+
|
58
67
|
.icn-btn {
|
59
68
|
opacity: 0.2;
|
60
69
|
}
|
70
|
+
|
61
71
|
&:hover {
|
62
72
|
.icn-btn {
|
63
73
|
opacity: 1;
|
64
74
|
}
|
65
75
|
}
|
66
76
|
}
|
77
|
+
|
67
78
|
// content
|
68
79
|
.editor-popup__content-block {
|
69
80
|
padding: $editor-popup-padding;
|
70
81
|
position: relative;
|
71
|
-
|
72
|
-
max-height: 20rem;
|
73
|
-
}
|
82
|
+
|
74
83
|
p + p {
|
75
84
|
margin-top: 1rem;
|
76
85
|
}
|
77
86
|
}
|
87
|
+
|
88
|
+
.editor-popup__content-block--scrollable {
|
89
|
+
max-height: 20rem;
|
90
|
+
}
|
91
|
+
|
78
92
|
.editor-popup__info-bar {
|
79
93
|
margin-bottom: 0.4rem;
|
80
94
|
}
|
@@ -86,4 +100,4 @@ $editor-popup-padding: 1.6rem;
|
|
86
100
|
.editor-popup__secondary-content {
|
87
101
|
background-color: hsla(214, 13%, 48%, 0.05);
|
88
102
|
border-top: 1px solid var(--sd-colour-line--light);
|
89
|
-
}
|
103
|
+
}
|