mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
81 lines
2.1 KiB
SCSS
81 lines
2.1 KiB
SCSS
.cms-panel {
|
|
.cms-panel-content-collapsed {
|
|
width: 40px;
|
|
h2, h3 {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
//fix for overlapping of tree view mode checkboxes
|
|
.cms-content-toolbar .cms-tree-view-modes .checkboxAboveTree {
|
|
margin-right:1px;
|
|
}
|
|
|
|
//add border below the content toolbar
|
|
.cms-content-toolbar {
|
|
border-bottom:1px solid rgb(201, 205, 206);
|
|
}
|
|
|
|
//fix for the button icon shifting on hover
|
|
.ss-ui-button.cms-page-add-button.ui-state-hover, .cms .ss-ui-button.cms-page-add-button:hover {
|
|
background: #80bf40 url('../images/btn-icon-saaa1989272.png') 5px -49px no-repeat;
|
|
}
|
|
|
|
//fix for background color on default tabs
|
|
.ui-state-default,
|
|
.ui-widget-content .ui-state-default,
|
|
.ui-widget-header .ui-state-default {
|
|
background-image:none;
|
|
}
|
|
|
|
//fix for filter and reset icons on datagrid
|
|
|
|
.ss-gridfield-button-filter.ss-ui-button{
|
|
background: #e6e6e6 url(../images/filter-icons.png) no-repeat -40px 6px; filter:none;
|
|
&.hover-alike:active {
|
|
background: darken(#338DC1, 5%) url(../images/filter-icons.png) no-repeat -15px 7px; filter:none;
|
|
}
|
|
&.hover-alike {
|
|
background: #338DC1 url(../images/filter-icons.png) no-repeat -16px 6px; filter:none;
|
|
}
|
|
}
|
|
.ss-gridfield-button-reset.ss-ui-button{
|
|
background: #e6e6e6 url(../images/filter-icons.png) no-repeat 8px 5px; filter:none;
|
|
&.filtered:hover {
|
|
background: #FF0000 url(../images/filter-icons.png) no-repeat 8px -17px; filter:none;
|
|
}
|
|
&.filtered:active {
|
|
background: darken(#FF0000, 5%) url(../images/filter-icons.png) no-repeat 9px -16px; filter:none;
|
|
}
|
|
}
|
|
|
|
//fix for borders on gridfield table
|
|
|
|
.cms table.ss-gridfield-table {
|
|
tr {
|
|
td {
|
|
border-right: 1px solid lighten(#808080, 10%);
|
|
}
|
|
th {
|
|
border-right: 1px solid lighten(#808080, 10%);
|
|
&.main {
|
|
border-top: 1px solid lighten(#808080, 10%);
|
|
border-bottom: none;
|
|
}
|
|
&.extra {
|
|
border-top: 1px solid lighten(#808080, 10%);
|
|
}
|
|
}
|
|
}
|
|
td:first-child, th:first-child {
|
|
border-left: 1px solid lighten(#808080, 10%);
|
|
}
|
|
}
|
|
|
|
//fix for wrong alignment of label on parent groups field in users groups
|
|
|
|
.cms .cms-content .cms-content-fields .aligned_right_label {
|
|
margin-left:0;
|
|
}
|