@@ -278,6 +278,7 @@ form .aligned ul {
278
278
279
279
.button , input [type = submit ], input [type = button ], .submit-row input , a .button {
280
280
border : 1px solid var (--dca-gray-lighter , # ddd );
281
+ font-size : 14px ;
281
282
}
282
283
283
284
a .btn {
@@ -287,7 +288,7 @@ a.btn {
287
288
288
289
input [type = "text" ], input [type = "url" ], input [type = "email" ], .vLargeTextField , .vXMLLargeTextField , .vTextField , .vUUIDField ,
289
290
.colM .aligned .vLargeTextField , .colM .aligned .vXMLLargeTextField , .vURLField ,
290
- . flex-container textarea {
291
+ textarea {
291
292
width : calc (100% - 10px );
292
293
}
293
294
@@ -360,15 +361,29 @@ body.cms-admin-sideframe #content > h1 {
360
361
display : none;
361
362
}
362
363
363
- body .cms-admin-modal . content {
364
- margin-top : 36 px ;
364
+ body .cms-admin-sideframe . object-tools {
365
+ margin-right : 92 px ; /* Space for cms navigation butons */
365
366
}
367
+
366
368
body .cms-admin-modal .breadcrumbs ,
367
369
body .cms-admin-modal # toggle-nav-sidebar ,
368
- body .cms-admin-modal # nav-sidebar {
370
+ body .cms-admin-modal # nav-sidebar ,
371
+ body .cms-admin-modal .hide-in-modal ,
372
+ body .cms-admin-modal # content > h2 {
369
373
display : none;
370
374
}
371
375
376
+ /* Remove space reserved for (hidden) sidebar */
377
+ body .cms-admin-modal .main > # nav-sidebar + .content ,
378
+ body .cms-admin-modal .main .shifted > # nav-sidebar + .content {
379
+ max-width : 100% ;
380
+ }
381
+
382
+ .main .shifted > # nav-sidebar + .content {
383
+ max-width : calc (100% - 299px );
384
+ }
385
+
386
+
372
387
body .cms-admin-sideframe .djangocms-simple-admin-style {
373
388
margin-top : 0 ;
374
389
}
0 commit comments