scinote-web/app/assets/stylesheets/label_templates/label_preview.scss

64 lines
1 KiB
SCSS
Raw Normal View History

// scss-lint:disable SelectorDepth NestingDepth
.label-templates-show {
.label-preview {
display: flex;
flex-direction: column;
height: 100%;
}
.label-preview__header {
align-items: center;
display: flex;
justify-content: space-between;
}
.label-preview__options-button {
2022-08-25 19:25:34 +08:00
color: $brand-primary;
cursor: pointer;
}
.label-preview__image {
border-radius: 4px;
box-shadow: $flyout-shadow;
margin: .5em 0 1em;
img {
max-height: 60vh;
max-width: 100%;
}
}
.label-preview__controls {
height: 0;
overflow: hidden;
&.open {
height: auto;
margin-top: 16px;
}
}
.label-preview__controls__size {
display: flex;
margin-top: 16px;
.sci-input-container {
margin-right: 8px;
&:last-child {
flex-basis: 50%;
flex-shrink: 0;
margin-right: 0;
}
}
}
.label-preview__refresh {
cursor: pointer;
margin: 16px auto;
max-width: 160px;
text-align: center;
}
}