silverstripe-userforms/scss/UserForm_cms.scss

110 lines
1.6 KiB
SCSS
Raw Normal View History

2015-08-12 02:50:14 +02:00
/**
* Styles for cms
*/
.cms {
2015-08-14 04:51:42 +02:00
.uf-field-editor {
// Row styles
table.ss-gridfield-table {
2015-08-12 02:50:14 +02:00
2015-08-14 04:51:42 +02:00
// Standard rows
.ss-gridfield-item {
&, &:hover {
background: white;
}
td {
border-right-width: 0;
border-bottom: 1px solid #EEE;
&:last-child {
border-right-width: 1px;
}
}
2015-08-12 02:50:14 +02:00
}
2015-08-14 04:51:42 +02:00
.ss-gridfield-item.inFieldGroup {
&, &:hover {
background: #f2f9fd;
}
td {
// border style for darker background
border-bottom: 1px solid #CCC;
}
.col-reorder, .handle {
// level 1
background: #BEE0F8;
}
&.inFieldGroup-level-2 {
.col-reorder, .handle {
background: #99CEF4;
}
}
&.inFieldGroup-level-3 {
.col-reorder, .handle {
background: #89BEF4;
}
}
2015-08-12 02:50:14 +02:00
}
2015-08-14 04:51:42 +02:00
.ss-gridfield-item[data-class='EditableFormStep'] {
&, &:hover {
background: #dae2e7;
}
label {
font-weight: bold;
color: black;
font-size: 1.1em;
}
2015-08-12 02:50:14 +02:00
}
2015-08-14 04:51:42 +02:00
.ss-gridfield-item[data-class='EditableFieldGroup'] {
td {
border-top: 1px inset #c9e6f9;
}
&.inFieldGroup-level-2 td {
border-top-color: #a8d7f5;
}
&.inFieldGroup-level-3 td {
border-top-color: #94cef3;
}
label {
font-weight: bold;
color: #444;
}
2015-08-12 02:50:14 +02:00
}
2015-08-14 04:51:42 +02:00
.ss-gridfield-item[data-class='EditableFieldGroupEnd'] {
td {
border-bottom: 1px outset #c9e6f9;
}
&.inFieldGroup-level-2 td {
border-bottom-color: #a8d7f5;
}
&.inFieldGroup-level-3 td {
border-bottom-color: #94cef3;
}
label {
color: #777;
}
2015-08-12 02:50:14 +02:00
}
}
}
}