2015-08-20 02:37:00 +02:00
|
|
|
/**
|
|
|
|
* Animations
|
|
|
|
*/
|
|
|
|
|
|
|
|
@keyframes rowSlide {
|
|
|
|
0% {top: 20%;}
|
|
|
|
100% {top: 80%;}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes flashBackground {
|
|
|
|
0% {background-color: white;}
|
|
|
|
10% {background-color: #dcfedd;}
|
|
|
|
70% {background-color: #dcfedd;}
|
|
|
|
}
|
|
|
|
|
2015-08-12 02:50:14 +02:00
|
|
|
/**
|
|
|
|
* Styles for cms
|
|
|
|
*/
|
|
|
|
|
|
|
|
.cms {
|
2015-08-14 04:51:42 +02:00
|
|
|
.uf-field-editor {
|
2015-08-19 04:40:40 +02:00
|
|
|
padding-bottom: 0;
|
|
|
|
|
2015-08-14 04:51:42 +02:00
|
|
|
// Row styles
|
|
|
|
table.ss-gridfield-table {
|
|
|
|
// Standard rows
|
|
|
|
.ss-gridfield-item {
|
2015-08-19 04:12:23 +02:00
|
|
|
height: 46px;
|
|
|
|
|
2015-08-14 04:51:42 +02:00
|
|
|
&, &:hover {
|
|
|
|
background: white;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
|
|
|
border-right-width: 0;
|
2015-08-17 01:06:56 +02:00
|
|
|
border-top: 1px solid #EEE;
|
2015-08-14 04:51:42 +02:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-right-width: 1px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-20 00:54:36 +02:00
|
|
|
|
|
|
|
.handle {
|
|
|
|
min-height: 46px;
|
|
|
|
}
|
2015-08-12 02:50:14 +02:00
|
|
|
|
2015-08-20 02:37:00 +02:00
|
|
|
&.newField {
|
|
|
|
position: fixed;
|
|
|
|
animation: rowSlide .5s ease forwards;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.flashBackground {
|
|
|
|
animation: flashBackground 2s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.ui-sortable-placeholder {
|
|
|
|
height: 50px;
|
|
|
|
}
|
2015-08-19 04:12:23 +02:00
|
|
|
}
|
|
|
|
|
2015-08-14 04:51:42 +02:00
|
|
|
.ss-gridfield-item.inFieldGroup {
|
|
|
|
&, &:hover {
|
|
|
|
background: #f2f9fd;
|
|
|
|
}
|
|
|
|
|
|
|
|
td {
|
2015-08-17 01:06:56 +02:00
|
|
|
border-bottom: 0;
|
|
|
|
border-top: 1px solid #eee;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.col-reorder, .handle {
|
|
|
|
background: #BEE0F8;
|
2015-08-17 01:06:56 +02:00
|
|
|
border-top: 0;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inFieldGroup-level-2 {
|
|
|
|
.col-reorder, .handle {
|
|
|
|
background: #99CEF4;
|
2015-08-17 01:06:56 +02:00
|
|
|
border-top: 0;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inFieldGroup-level-3 {
|
|
|
|
.col-reorder, .handle {
|
|
|
|
background: #89BEF4;
|
2015-08-17 01:06:56 +02:00
|
|
|
border-top: 0;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
}
|
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
|
|
|
td {
|
2015-08-17 01:06:56 +02:00
|
|
|
border-top: 1px solid #a6b6c1;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
2015-08-17 01:06:56 +02:00
|
|
|
|
|
|
|
+ .ss-gridfield-item td {
|
|
|
|
border-top: 1px solid #dae2e7;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
2015-08-17 01:06:56 +02:00
|
|
|
|
|
|
|
+ .ss-gridfield-item[data-class='EditableFieldGroup'] td {
|
|
|
|
border-top: 1px solid #a8d7f5;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ss-gridfield-item[data-class='EditableFieldGroup'] {
|
|
|
|
td {
|
|
|
|
border-top: 1px solid #a8d7f5;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
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 {
|
2015-08-17 01:06:56 +02:00
|
|
|
border-bottom: 1px solid #a8d7f5;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
2015-08-17 01:06:56 +02:00
|
|
|
|
|
|
|
+ .ss-gridfield-item[data-class='EditableFieldGroupEnd'] {
|
|
|
|
border-top: 0;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
2015-08-17 01:06:56 +02:00
|
|
|
|
|
|
|
.col-buttons .action{
|
|
|
|
display: none;
|
2015-08-14 04:51:42 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
color: #777;
|
|
|
|
}
|
2015-08-12 02:50:14 +02:00
|
|
|
}
|
|
|
|
}
|
2015-08-20 02:37:00 +02:00
|
|
|
|
|
|
|
.stickyButtons {
|
|
|
|
position: fixed;
|
|
|
|
top: 40px;
|
|
|
|
z-index: 2;
|
|
|
|
background: #E6EAED;
|
|
|
|
box-shadow: 0 12px 4px -8px #999;
|
|
|
|
padding: 12px;
|
|
|
|
margin-left: -12px;
|
|
|
|
|
|
|
|
& button.action {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
~ .ss-gridfield-table {
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
2015-08-12 02:50:14 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|