gadjo/gadjo/static/css/_wcs.scss

78 lines
1.3 KiB
SCSS
Raw Normal View History

2018-11-17 17:35:36 +01:00
$actions: add, duplicate, edit, remove;
2018-11-21 17:04:44 +01:00
#sidebar div#sticky-sidebar {
width: calc(100% - 2rem);
}
2018-11-17 10:17:12 +01:00
div#side { // w.c.s. steps in backoffice submission
background: white;
padding: 0.5rem;
border-radius: 3px 3px 0 0;
& + form {
background: white;
padding: 0.5rem;
border-radius: 0 0 3px 3px;
}
#steps ol {
background: transparent;
.current span.marker {
background: $primary-color;
border-color: darken($primary-color, 20%);
}
}
}
2018-11-17 17:35:36 +01:00
#main ul#fields-list li {
padding-top: 6px;
}
#main ul.biglist li p.commands span {
padding: 0;
box-shadow: none;
border: none;
a {
@extend %button;
font-weight: normal;
}
&.view {
margin-top: 2px;
}
2018-11-17 17:35:36 +01:00
&.remove, &.add, &.edit, &.duplicate {
padding: 0;
border: 0;
background: transparent;
box-shadow: none;
a {
border: none;
2018-11-17 17:35:36 +01:00
padding: 6px;
display: inline-block;
text-indent: -10000px;
overflow: hidden;
width: 30px;
}
}
@each $action in $actions {
&.#{$action} a {
background: url(icons/action-#{$action}.small.#{$string-color}.png) center center no-repeat;
&:hover {
background-image: url(icons/action-#{$action}.hover.png);
}
}
}
}
2018-11-18 08:35:00 +01:00
2018-11-18 12:01:11 +01:00
div.form-validation form div.page {
border: none;
}
2018-11-18 08:35:00 +01:00
div.workflow-messages > div,
div.workflow-messages > p {
background: white;
margin: 1ex 0;
padding: 1ex;
}
2018-11-18 12:01:11 +01:00
div.buttons > div.widget {
margin-right: 1rem;
}