mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-05 07:38:26 +02:00
BUGFIX: actions panel
Fix actions panel background colours and shading to work on both the main page content areas and the settings area. Adjust margin and z-index so there isn't a visible space on the left-hand side.
This commit is contained in:
parent
bd6ca59558
commit
4dc564b143
@ -305,7 +305,8 @@ body.cms { overflow: hidden; }
|
|||||||
.ss-loading-screen .loading-animation { display: none; position: absolute; left: 49%; top: 75%; }
|
.ss-loading-screen .loading-animation { display: none; position: absolute; left: 49%; top: 75%; }
|
||||||
|
|
||||||
/** -------------------------------------------- Actions -------------------------------------------- */
|
/** -------------------------------------------- Actions -------------------------------------------- */
|
||||||
.cms-content-actions { margin: 8px 16px 16px 16px; height: 32px; z-index: 70; background-color: #e6eaed; -moz-box-shadow: #e6eaed 0 -16px 16px; -webkit-box-shadow: #e6eaed 0 -16px 16px; -o-box-shadow: #e6eaed 0 -16px 16px; box-shadow: #e6eaed 0 -16px 16px; }
|
.cms-content-actions { margin: 8px 16px 16px 0; padding-left: 16px; height: 32px; z-index: 0; -moz-box-shadow: #e6eaed 0 -16px 16px; -webkit-box-shadow: #e6eaed 0 -16px 16px; -o-box-shadow: #e6eaed 0 -16px 16px; box-shadow: #e6eaed 0 -16px 16px; }
|
||||||
|
.root-form .cms-content-actions { -moz-box-shadow: rgba(240, 243, 244, 0.8) 0 -16px 16px; -webkit-box-shadow: rgba(240, 243, 244, 0.8) 0 -16px 16px; -o-box-shadow: rgba(240, 243, 244, 0.8) 0 -16px 16px; box-shadow: rgba(240, 243, 244, 0.8) 0 -16px 16px; }
|
||||||
|
|
||||||
/** -------------------------------------------- Messages -------------------------------------------- */
|
/** -------------------------------------------- Messages -------------------------------------------- */
|
||||||
.message { margin: 0 0 8px 0; padding: 7px 7px; font-weight: bold; border: 1px black solid; }
|
.message { margin: 0 0 8px 0; padding: 7px 7px; font-weight: bold; border: 1px black solid; }
|
||||||
|
@ -372,11 +372,14 @@ body.cms {
|
|||||||
* -------------------------------------------- */
|
* -------------------------------------------- */
|
||||||
|
|
||||||
.cms-content-actions {
|
.cms-content-actions {
|
||||||
margin: $grid-y $grid-x*2 $grid-y*2 $grid-x*2;
|
margin: $grid-y $grid-x*2 $grid-y*2 0;
|
||||||
|
padding-left:$grid-x*2;
|
||||||
height: $grid-y*4;
|
height: $grid-y*4;
|
||||||
z-index: 70;
|
z-index: 0;
|
||||||
background-color:darken($color-widget-bg, 2%);
|
|
||||||
@include box-shadow(darken($color-widget-bg, 2%) 0 $grid-y*-2 $grid-y*2);
|
@include box-shadow(darken($color-widget-bg, 2%) 0 $grid-y*-2 $grid-y*2);
|
||||||
|
.root-form &{
|
||||||
|
@include box-shadow(rgba($tab-panel-texture-color, 0.8) 0 $grid-y*-2 $grid-y*2);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** --------------------------------------------
|
/** --------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user