Files
kupshop/admin/static/scss/window/_window.sliders.scss
2025-08-02 16:30:27 +02:00

187 lines
2.9 KiB
SCSS

.window-sliders {
.actions {
border-right: 1px solid #eee;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
width: auto;
.drag-drop-mover {
margin-top: 0;
}
}
.photo {
width: auto;
}
.thumbnail {
margin-bottom: 0;
img {
width: 110px !important;
@supports (object-fit: cover) {
height: 90px !important;
object-fit: cover;
max-width: 100%;
}
}
}
.sizes {
flex-grow: 1;
> div {
display: flex;
align-items: center;
padding: 4px 0;
}
div:not(:last-child) {
border-bottom: 1px solid #eee;
}
a:nth-of-type(2) {
margin-left: auto;
white-space: nowrap;
}
.fc {
margin-right: 10px;
line-height: .8;
width: 16px;
text-align: center;
font-size: 15px;
}
a > .glyphicon {
margin-right: 6px;
}
a {
@include underline-default;
}
}
.dates {
max-width: 300px;
.form-group {
margin-bottom: 8px;
}
.badge {
display: block;
margin-left: 105px;
}
.glyphicon {
margin-right: 5px;
margin-left: -5px;
}
.control-label {
padding-right: 0;
width: 105px;
+ div {
width: calc(100% - 105px);
}
}
}
.open {
border-left: 1px solid #eee;
border-right: 1px solid #eee;
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
width: auto;
a {
display: inline-block;
width: 55px;
}
.glyphicon {
left: -2px;
top: 2px;
}
}
.is-inactive {
display: none;
}
.active {
.is-active {
display: none;
}
.is-inactive {
display: block;
}
}
.delete {
text-align: center;
width: auto;
}
.panel {
border: 1px solid #eee;
margin-bottom: 10px;
margin-top: 10px;
box-shadow: none;
.form-group:last-child {
margin-bottom: 0;
}
&.old {
background-color: #f6f6f6;
}
}
.panel-body {
padding: 0 10px;
> .row-flex {
margin-right: -10px;
margin-left: -10px;
> div {
padding-top: 10px;
padding-bottom: 10px;
}
+ .row {
border-top: 1px solid #eee;
margin-right: -10px;
margin-left: -10px;
> div {
padding-top: 15px;
padding-bottom: 15px;
}
}
}
}
.bootstrap-filestyle {
margin-left: auto;
label {
font-size: 11px;
padding: 4px 16px;
}
}
hr {
margin-top: 0;
}
}