mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-11 18:21:04 +08:00
76 lines
1.4 KiB
SCSS
76 lines
1.4 KiB
SCSS
// scss-lint:disable SelectorDepth
|
|
// scss-lint:disable NestingDepth
|
|
|
|
:root {
|
|
--attachment-column-width: 16em;
|
|
--attachment-row-height: 3em;
|
|
}
|
|
|
|
.step-container {
|
|
.attachments-actions {
|
|
align-items: center;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
|
|
.title {
|
|
flex-grow: 1;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.dropdown-attachment-options {
|
|
@include font-button;
|
|
min-width: 200px;
|
|
|
|
.divider-label {
|
|
@include font-small;
|
|
color: $color-silver-chalice;
|
|
padding-left: 1em;
|
|
}
|
|
|
|
a {
|
|
border-radius: unset;
|
|
cursor: pointer;
|
|
padding: .5em 1em;
|
|
|
|
&:hover {
|
|
background: $color-concrete;
|
|
}
|
|
}
|
|
|
|
.action-link {
|
|
&.selected::after {
|
|
@include font-awesome;
|
|
content: $font-fas-check;
|
|
margin-left: auto;
|
|
position: absolute;
|
|
right: 1em;
|
|
}
|
|
}
|
|
|
|
.change-order {
|
|
padding-left: 2.75em;
|
|
}
|
|
|
|
.attachments-view-mode {
|
|
.fas {
|
|
width: 1.5em;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.attachments {
|
|
display: grid;
|
|
grid-auto-rows: var(--attachment-row-height);
|
|
grid-column-gap: 1em;
|
|
grid-row-gap: 1em;
|
|
grid-template-columns: repeat(auto-fill, minmax(var(--attachment-column-width), 1fr));
|
|
margin: 1em 0;
|
|
|
|
&[data-preview="true"] {
|
|
.asset-context-menu {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|