2022-05-12 23:05:07 +08:00
|
|
|
// scss-lint:disable SelectorDepth
|
|
|
|
// scss-lint:disable NestingDepth
|
|
|
|
|
|
|
|
:root {
|
|
|
|
--attachment-column-width: 16em;
|
|
|
|
--attachment-row-height: 3em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.step-container {
|
2022-07-11 18:31:54 +08:00
|
|
|
.step-attachments {
|
|
|
|
padding-left: 28px;
|
|
|
|
}
|
|
|
|
|
2022-05-16 17:05:18 +08:00
|
|
|
.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;
|
2022-07-12 21:24:12 +08:00
|
|
|
pointer-events: none;
|
2022-05-16 17:05:18 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-05-12 23:05:07 +08:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
2022-05-24 17:13:47 +08:00
|
|
|
|
|
|
|
#wopi_file_edit_button {
|
|
|
|
margin-left: -8px;
|
|
|
|
}
|
2022-05-12 23:05:07 +08:00
|
|
|
}
|
2022-05-18 17:12:53 +08:00
|
|
|
|
|
|
|
.add-file-modal {
|
|
|
|
.file-drop-zone {
|
|
|
|
align-items: center;
|
|
|
|
background: $color-concrete;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
padding: 2em;
|
|
|
|
|
2022-07-12 16:43:01 +08:00
|
|
|
.btn.title {
|
2022-05-18 17:12:53 +08:00
|
|
|
cursor: pointer;
|
2022-07-12 16:43:01 +08:00
|
|
|
font-size: 1em;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-alto;
|
|
|
|
}
|
2022-05-18 17:12:53 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
margin: 0 .5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.description {
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
margin-top: 1.5em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.drop-notification {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.draging-file {
|
|
|
|
.file-drop-zone {
|
|
|
|
background-color: $brand-focus-light;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.drop-notification {
|
|
|
|
@include font-h3;
|
|
|
|
align-items: center;
|
|
|
|
color: $brand-primary;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title,
|
|
|
|
.description,
|
|
|
|
.available-storage {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
* {
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.divider {
|
|
|
|
@include font-h3;
|
|
|
|
padding: 1em 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.integrations-container {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.integration-block {
|
|
|
|
margin: 0 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-05-12 23:05:07 +08:00
|
|
|
}
|