filesafe/src/css/dashboard.scss

225 lines
3.3 KiB
SCSS
Raw Normal View History

@charset "utf-8";
@import "_variables";
/** Main **/
body {
animation: none
}
.menu-label {
color: $grey-light
}
.menu-list {
a {
color: $link;
border: 1px solid transparent;
&.is-active {
color: $white;
background: $link;
border-color: $link
}
&:not(.is-active):hover {
color: $link;
background: none;
border-color: $link
}
&[disabled] {
color: $grey;
pointer-events: none
}
&.is-loading::after {
animation: spinAround 0.5s infinite linear;
border: 2px solid $white-ter;
border-radius: 290486px;
border-right-color: transparent;
border-top-color: transparent;
content: "";
display: block;
height: 1em;
width: 1em;
right: calc(0% + (1em / 2));
top: calc(50% - (1em / 2));
position: absolute !important
}
&.is-active[data-action="collapse"] {
color: $link !important;
background: none !important;
border-color: transparent !important;
&:hover {
border-color: $link !important
}
}
}
li ul {
border-left: 0;
padding-left: 0;
li {
border-left: 2px solid $grey-light;
padding-left: 0.75em
}
}
}
.pagination {
margin-bottom: 1.25rem
}
.pagination-previous,
.pagination-next,
.pagination-link {
&:not([disabled]) {
background-color: $pagination-background-color;
&:hover {
background-color: $pagination-hover-background-color
}
}
&[disabled] {
opacity: 1
}
}
.pagination-link.is-current {
color: $pagination-background-color;
background-color: $pagination-color;
border-color: $pagination-border-color;
&.is-loading::after {
border-bottom-color: $grey-dark;
border-left-color: $grey-dark
}
}
li[data-action="page-ellipsis"] {
cursor: pointer
}
.label {
color: $grey-lightest
}
#page {
/* fix overflow issue with flex */
min-width: 0
}
.is-linethrough {
text-decoration: line-through
}
#dashboard.is-loading {
*[data-action],
#menu .menu-list a {
cursor: progress
}
*[data-action$="-help"],
.table *[data-action],
.column.bulk-operations *[data-action],
.column.exclusive-operations *[data-action] {
cursor: pointer
}
}
.statistics {
2022-10-08 02:13:17 +00:00
thead,
tbody {
> tr {
> :first-child {
min-width: 33.3%
}
> :nth-child(2) :first-child {
min-width: 50%
}
}
}
}
.expirydate {
color: $grey-lightest
}
.table {
.originalname {
max-width: 200px;
text-overflow: ellipsis;
overflow: hidden
}
th,
td {
&[title] {
cursor: help
}
&[data-action] {
cursor: pointer;
&:hover {
text-decoration: dotted underline
}
}
i[data-action] {
cursor: pointer
}
}
}
/** Thumbs extension **/
.image-container {
.checkbox {
position: absolute;
top: 11px;
left: 11px
}
.controls {
display: flex;
position: absolute;
top: 11px;
right: 11px;
.button {
border-radius: 0;
2022-07-15 20:02:36 +00:00
&:not(:active,:hover) {
color: $white;
background-color: rgb(0 0 0 / 56%)
}
}
}
}
.no-touch .image-container {
.checkbox {
opacity: 0.5
}
.controls,
.details {
opacity: 0
}
&:hover {
.checkbox,
.controls,
.details {
opacity: 1
}
}
}