File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
cms/static/cms/sass/components Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 24
24
- run : |
25
25
gulp unitTest
26
26
gulp lint
27
+ - run : gulp icons
28
+ - run : gulp sass
Original file line number Diff line number Diff line change 1
1
// ##############################################################################
2
2
// MODAL
3
3
4
+ @use " sass:math" ;
5
+
4
6
// Editing plugins in frontend
5
7
.cms-modal {
6
8
display : none ;
151
153
display : block ;
152
154
position : absolute ;
153
155
top : 50% ;
154
- margin-top : - $modal-header-button-area-size / 2 ;
156
+ margin-top : math . div ( - $modal-header-button-area-size , 2 ) ;
155
157
right : $padding-normal ;
156
158
color : $gray-light ;
157
159
text-align : center ;
160
162
cursor : pointer ;
161
163
& :before {
162
164
position : relative ;
163
- top : ($modal-header-button-area-size - $icon-size ) / 2 ;
165
+ top : math . div ($modal-header-button-area-size - $icon-size , 2 ) ;
164
166
}
165
167
& :hover {
166
168
color : $color-primary ;
223
225
a {
224
226
color : $color-primary ;
225
227
& :hover {
226
- color : darken ($color-primary , 20% );
228
+ color : darken ($color-primary-fallback , 20% );
227
229
}
228
230
& :after {
229
231
content : " /" ;
250
252
padding : 0 $modal-resize-size 0 $padding-normal ;
251
253
}
252
254
.cms-modal-item-buttons {
253
- $margin : ($toolbar-height - $toolbar-button-height ) / 2 ;
255
+ $margin : math . div ($toolbar-height - $toolbar-button-height , 2 ) ;
254
256
@extend .cms-toolbar-item-buttons ;
255
257
float : right ;
256
258
margin-left : $margin ;
266
268
// alter footer when html markup is loaded
267
269
.cms-modal-markup {
268
270
.cms-modal-foot {
269
- height : $modal-footer-height / 2 ;
271
+ height : math . div ( $modal-footer-height , 2 ) ;
270
272
}
271
273
.cms-modal-body {
272
- bottom : $modal-footer-height / 2 ;
274
+ bottom : math . div ( $modal-footer-height , 2 ) ;
273
275
}
274
276
}
275
277
You can’t perform that action at this time.
0 commit comments