2022-08-24 23:51:23 +08:00
|
|
|
// scss-lint:disable SelectorDepth NestingDepth
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.label-templates-show {
|
|
|
|
.label-preview {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.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;
|
2022-08-24 23:51:23 +08:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.label-preview__image {
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: $flyout-shadow;
|
|
|
|
margin: .5em 0 1em;
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
img {
|
|
|
|
max-height: 60vh;
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
}
|
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.label-preview__controls {
|
|
|
|
height: 0;
|
|
|
|
overflow: hidden;
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
&.open {
|
|
|
|
height: auto;
|
|
|
|
margin-top: 16px;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
}
|
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.label-preview__controls__size {
|
|
|
|
display: flex;
|
|
|
|
margin-top: 16px;
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.sci-input-container {
|
|
|
|
margin-right: 8px;
|
2022-08-24 19:55:54 +08:00
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
&:last-child {
|
|
|
|
flex-basis: 50%;
|
|
|
|
flex-shrink: 0;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-08-24 23:51:23 +08:00
|
|
|
.label-preview__refresh {
|
|
|
|
cursor: pointer;
|
|
|
|
margin: 16px auto;
|
|
|
|
max-width: 160px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2022-08-24 19:55:54 +08:00
|
|
|
}
|