mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 22:25:30 +08:00
70 lines
1.2 KiB
SCSS
70 lines
1.2 KiB
SCSS
// 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 {
|
|
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__error {
|
|
background-color: $brand-danger-light;
|
|
color: $brand-danger-hover;
|
|
margin-top: .5em;
|
|
padding: 1.5em 2em;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|