mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-06-07 16:00:46 +00:00
c77e5a1a90
Divides the css into sub-files and normalizes how colors are defined. Co-authored-by: Joachim <joachim.robert@protonmail.com>
62 lines
860 B
SCSS
62 lines
860 B
SCSS
.image {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.navbar .logo {
|
|
max-height: 50px;
|
|
}
|
|
|
|
.card {
|
|
overflow: visible;
|
|
}
|
|
|
|
.card.has-border {
|
|
border: 1px solid $border;
|
|
}
|
|
|
|
.scroll-x {
|
|
overflow: hidden;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.modal-card {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.modal-card > * {
|
|
pointer-events: all;
|
|
}
|
|
|
|
/* stylelint-disable no-descending-specificity */
|
|
.modal-card:focus {
|
|
outline-style: auto;
|
|
}
|
|
|
|
.modal-card:focus:not(:focus-visible) {
|
|
outline-style: initial;
|
|
}
|
|
|
|
.modal-card:focus-visible {
|
|
outline-style: auto;
|
|
}
|
|
/* stylelint-enable no-descending-specificity */
|
|
|
|
.modal-card.is-fullwidth {
|
|
min-width: 75% !important;
|
|
}
|
|
|
|
@media only screen and (min-width: 769px) {
|
|
.modal-card.is-thin {
|
|
width: 350px !important;
|
|
}
|
|
}
|
|
|
|
.modal-card-body {
|
|
max-height: 70vh;
|
|
}
|
|
|
|
.clip-text {
|
|
max-height: 35em;
|
|
overflow: hidden;
|
|
}
|