2021-03-05 16:09:56 -05:00
|
|
|
|
html {
|
|
|
|
|
scroll-behavior: smooth;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-15 15:51:14 -04:00
|
|
|
|
body {
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
}
|
|
|
|
|
|
2020-11-24 15:07:00 -05:00
|
|
|
|
.image {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2020-10-01 16:53:52 -04:00
|
|
|
|
.navbar .logo {
|
|
|
|
|
max-height: 50px;
|
|
|
|
|
}
|
2021-01-06 22:56:56 -05:00
|
|
|
|
|
|
|
|
|
.card {
|
|
|
|
|
overflow: visible;
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-26 13:32:42 -04:00
|
|
|
|
.scroll-x {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-31 16:56:26 -04:00
|
|
|
|
.modal-card.is-fullwidth {
|
|
|
|
|
min-width: 75% !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-22 14:57:24 -04:00
|
|
|
|
/** Utilities not covered by Bulma
|
2021-04-21 16:32:14 -04:00
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
2021-04-21 16:36:07 -04:00
|
|
|
|
.is-sr-only-mobile {
|
2021-04-21 16:32:14 -04:00
|
|
|
|
border: none !important;
|
2021-04-21 16:36:07 -04:00
|
|
|
|
clip: rect(0, 0, 0, 0) !important;
|
|
|
|
|
height: 0.01em !important;
|
2021-04-21 16:32:14 -04:00
|
|
|
|
overflow: hidden !important;
|
|
|
|
|
padding: 0 !important;
|
|
|
|
|
position: absolute !important;
|
|
|
|
|
white-space: nowrap !important;
|
2021-04-21 16:36:07 -04:00
|
|
|
|
width: 0.01em !important;
|
2021-04-21 16:32:14 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.m-0-mobile {
|
|
|
|
|
margin: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.button.is-transparent {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-25 14:05:31 -04:00
|
|
|
|
.card.is-stretchable {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card.is-stretchable .card-content {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-07 11:33:28 -04:00
|
|
|
|
/** Shelving
|
|
|
|
|
******************************************************************************/
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
|
|
|
|
/** @todo Replace icons with SVG symbols.
|
|
|
|
|
@see https://www.youtube.com/watch?v=9xXBYcWgCHA */
|
2021-01-30 14:43:40 -05:00
|
|
|
|
.shelf-option:disabled > *::after {
|
2021-03-31 10:15:30 -04:00
|
|
|
|
font-family: "icomoon"; /* stylelint-disable font-family-no-missing-generic-family-keyword */
|
2021-01-30 14:43:40 -05:00
|
|
|
|
content: "\e918";
|
|
|
|
|
margin-left: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-07 11:33:28 -04:00
|
|
|
|
/** Toggles
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2021-03-31 10:15:30 -04:00
|
|
|
|
.toggle-button[aria-pressed=true],
|
|
|
|
|
.toggle-button[aria-pressed=true]:hover {
|
2021-01-16 22:57:20 -05:00
|
|
|
|
background-color: hsl(171, 100%, 41%);
|
|
|
|
|
color: white;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
|
|
|
|
.hide-active[aria-pressed=true],
|
|
|
|
|
.hide-inactive[aria-pressed=false] {
|
2021-01-17 11:26:28 -05:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2021-01-16 22:57:20 -05:00
|
|
|
|
|
2021-04-10 13:50:36 -04:00
|
|
|
|
.transition-x.is-hidden,
|
|
|
|
|
.transition-y.is-hidden {
|
2021-03-23 20:52:58 -04:00
|
|
|
|
display: block !important;
|
|
|
|
|
visibility: hidden !important;
|
|
|
|
|
height: 0;
|
|
|
|
|
width: 0;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-10 13:50:36 -04:00
|
|
|
|
.transition-x,
|
2021-03-23 20:52:58 -04:00
|
|
|
|
.transition-y {
|
|
|
|
|
transition-duration: 0.5s;
|
|
|
|
|
transition-timing-function: ease;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-03-23 20:52:58 -04:00
|
|
|
|
.transition-x {
|
|
|
|
|
transition-property: width, margin-left, margin-right, padding-left, padding-right;
|
2021-04-10 13:50:36 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.transition-y {
|
|
|
|
|
transition-property: height, margin-top, margin-bottom, padding-top, padding-bottom;
|
2021-03-23 20:52:58 -04:00
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-03-23 20:52:58 -04:00
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
2021-03-31 10:15:30 -04:00
|
|
|
|
.transition-x,
|
|
|
|
|
.transition-y {
|
2021-03-23 20:52:58 -04:00
|
|
|
|
transition-duration: 0.001ms !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-09-28 17:47:53 -04:00
|
|
|
|
|
2021-04-24 07:23:03 -04:00
|
|
|
|
/** Stars
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
.stars {
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
/** Stars in a review form
|
2021-03-31 10:15:30 -04:00
|
|
|
|
*
|
2021-04-04 09:08:42 -04:00
|
|
|
|
* Specificity makes hovering taking over checked inputs.
|
|
|
|
|
*
|
|
|
|
|
* \e9d9: filled star
|
|
|
|
|
* \e9d7: empty star;
|
2021-04-25 09:37:46 -04:00
|
|
|
|
* -------------------------------------------------------------------------- */
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
.form-rate-stars {
|
|
|
|
|
width: max-content;
|
2020-09-29 14:00:54 -04:00
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
/* All stars are visually filled by default. */
|
|
|
|
|
.form-rate-stars .icon::before {
|
2020-09-29 14:00:54 -04:00
|
|
|
|
content: '\e9d9';
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
/* Icons directly following inputs that follow the checked input are emptied. */
|
|
|
|
|
.form-rate-stars input:checked ~ input + .icon::before {
|
2020-09-29 14:00:54 -04:00
|
|
|
|
content: '\e9d7';
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
/* When a label is hovered, repeat the fill-all-then-empty-following pattern. */
|
|
|
|
|
.form-rate-stars:hover .icon.icon::before {
|
2021-03-04 13:27:03 -05:00
|
|
|
|
content: '\e9d9';
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-04 09:08:42 -04:00
|
|
|
|
.form-rate-stars .icon:hover ~ .icon::before {
|
2020-09-29 14:00:54 -04:00
|
|
|
|
content: '\e9d7';
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-07 11:33:28 -04:00
|
|
|
|
/** Book covers
|
2021-04-24 06:48:55 -04:00
|
|
|
|
*
|
2021-04-27 08:58:30 -04:00
|
|
|
|
* - .is-cover gives the behaviour of the cover and its surrounding.
|
|
|
|
|
* - .cover-container gives the dimensions and position (for borders, image and other elements).
|
2021-04-26 07:39:17 -04:00
|
|
|
|
* - .book-cover is positioned and sized based on its container.
|
2021-04-27 08:58:30 -04:00
|
|
|
|
*
|
|
|
|
|
* To have the cover with specific dimensions, specify a width or height for
|
|
|
|
|
* standard bulma’s named breapoints:
|
|
|
|
|
*
|
|
|
|
|
* is-[w|h]-[xs|s|m|l|xl]-[mobile|tablet|desktop]
|
2021-04-27 10:27:39 -04:00
|
|
|
|
*
|
|
|
|
|
* When using `.column.is-N`, add `.is-w-auto` to the container so that the flex
|
|
|
|
|
* calculations are not biased by the default `max-content`.
|
2021-04-07 11:33:28 -04:00
|
|
|
|
******************************************************************************/
|
2021-04-26 07:39:17 -04:00
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.column.is-cover {
|
|
|
|
|
flex-grow: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.column.is-cover,
|
|
|
|
|
.column.is-cover + .column {
|
|
|
|
|
flex-basis: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-29 16:11:52 -04:00
|
|
|
|
.cover-container {
|
2021-04-26 07:39:17 -04:00
|
|
|
|
display: flex;
|
2021-04-27 08:58:30 -04:00
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
2021-04-24 06:48:55 -04:00
|
|
|
|
position: relative;
|
2021-04-27 08:58:30 -04:00
|
|
|
|
width: max-content;
|
|
|
|
|
max-width: 100%;
|
2021-04-25 09:37:46 -04:00
|
|
|
|
overflow: hidden;
|
2020-09-29 16:11:52 -04:00
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-25 09:37:46 -04:00
|
|
|
|
/* Book cover
|
2021-04-25 09:45:49 -04:00
|
|
|
|
* -------------------------------------------------------------------------- */
|
2021-04-26 07:39:17 -04:00
|
|
|
|
|
2020-09-29 00:08:42 -04:00
|
|
|
|
.book-cover {
|
2021-04-24 06:48:55 -04:00
|
|
|
|
display: block;
|
2021-04-26 07:39:17 -04:00
|
|
|
|
max-width: 100%;
|
|
|
|
|
max-height: 100%;
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-24 15:18:48 -04:00
|
|
|
|
/* Useful when stretching under-sized images. */
|
2021-04-24 06:48:55 -04:00
|
|
|
|
image-rendering: optimizeQuality;
|
2021-04-25 09:37:46 -04:00
|
|
|
|
image-rendering: smooth;
|
2020-09-29 00:08:42 -04:00
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-25 09:37:46 -04:00
|
|
|
|
/* Cover caption
|
2021-04-25 09:45:49 -04:00
|
|
|
|
* -------------------------------------------------------------------------- */
|
2021-04-26 07:39:17 -04:00
|
|
|
|
|
2021-04-24 06:48:55 -04:00
|
|
|
|
.no-cover .cover_caption {
|
2020-09-29 00:08:42 -04:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
2021-04-26 07:39:17 -04:00
|
|
|
|
right: 0;
|
|
|
|
|
bottom: 0;
|
2020-09-29 00:08:42 -04:00
|
|
|
|
left: 0;
|
2021-04-26 07:39:17 -04:00
|
|
|
|
padding: 0.25em;
|
2021-04-25 09:37:46 -04:00
|
|
|
|
font-size: 0.75em;
|
2021-04-26 07:39:17 -04:00
|
|
|
|
color: white;
|
|
|
|
|
background-color: #002549;
|
2020-09-29 00:08:42 -04:00
|
|
|
|
}
|
|
|
|
|
|
2021-04-07 11:33:28 -04:00
|
|
|
|
/** Avatars
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2020-09-29 00:08:42 -04:00
|
|
|
|
.avatar {
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-07 12:07:32 -04:00
|
|
|
|
/** Statuses: Quotes
|
|
|
|
|
*
|
|
|
|
|
* \e906: icon-quote-open
|
|
|
|
|
* \e905: icon-quote-close
|
|
|
|
|
*
|
|
|
|
|
* The `content` class on the blockquote allows to apply styles to markdown
|
|
|
|
|
* generated HTML in the quote: https://bulma.io/documentation/elements/content/
|
|
|
|
|
*
|
|
|
|
|
* ```html
|
|
|
|
|
* <div class="quote block">
|
|
|
|
|
* <blockquote dir="auto" class="content mb-2">
|
|
|
|
|
* User generated quote in markdown…
|
|
|
|
|
* </blockquote>
|
|
|
|
|
*
|
|
|
|
|
* <p> — <a…>Book Title</a> by <a…class="author">Author</a></p>
|
|
|
|
|
* </div>
|
|
|
|
|
* ```
|
2021-04-07 11:33:28 -04:00
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2021-04-07 12:07:32 -04:00
|
|
|
|
.quote > blockquote {
|
2020-09-29 17:45:04 -04:00
|
|
|
|
position: relative;
|
|
|
|
|
padding-left: 2em;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-07 12:07:32 -04:00
|
|
|
|
.quote > blockquote::before,
|
|
|
|
|
.quote > blockquote::after {
|
2020-09-29 17:45:04 -04:00
|
|
|
|
font-family: 'icomoon';
|
|
|
|
|
position: absolute;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-07 12:07:32 -04:00
|
|
|
|
.quote > blockquote::before {
|
2021-01-16 11:54:16 -05:00
|
|
|
|
content: "\e906";
|
2020-09-29 17:45:04 -04:00
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
}
|
2021-03-31 10:15:30 -04:00
|
|
|
|
|
2021-04-07 12:07:32 -04:00
|
|
|
|
.quote > blockquote::after {
|
2021-01-16 11:54:16 -05:00
|
|
|
|
content: "\e905";
|
2020-09-29 17:45:04 -04:00
|
|
|
|
right: 0;
|
|
|
|
|
}
|
2021-04-07 03:24:34 -04:00
|
|
|
|
|
2021-04-07 11:31:00 -04:00
|
|
|
|
/* States
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
/* "disabled" for non-buttons */
|
|
|
|
|
|
|
|
|
|
.is-disabled {
|
|
|
|
|
background-color: #dbdbdb;
|
|
|
|
|
border-color: #dbdbdb;
|
|
|
|
|
box-shadow: none;
|
|
|
|
|
color: #7a7a7a;
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
}
|
2021-04-25 09:37:46 -04:00
|
|
|
|
|
|
|
|
|
/* Dimensions
|
2021-04-27 10:27:39 -04:00
|
|
|
|
* @todo These could be in rem.
|
2021-04-25 09:37:46 -04:00
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2021-04-26 07:39:17 -04:00
|
|
|
|
.is-32x32 {
|
|
|
|
|
min-width: 32px !important;
|
|
|
|
|
min-height: 32px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-96x96 {
|
|
|
|
|
min-width: 96px !important;
|
|
|
|
|
min-height: 96px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-w-auto {
|
|
|
|
|
width: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-xs {
|
|
|
|
|
width: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-s {
|
|
|
|
|
width: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-m {
|
|
|
|
|
width: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-l {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.is-w-xxl {
|
|
|
|
|
width: 500px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-xs {
|
|
|
|
|
height: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-s {
|
2021-04-25 09:37:46 -04:00
|
|
|
|
height: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-m {
|
2021-04-25 09:37:46 -04:00
|
|
|
|
height: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-l {
|
|
|
|
|
height: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.is-h-xxl {
|
|
|
|
|
height: 500px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-25 09:37:46 -04:00
|
|
|
|
@media only screen and (max-width: 768px) {
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-w-auto-mobile {
|
|
|
|
|
width: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-xs-mobile {
|
|
|
|
|
width: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-s-mobile {
|
|
|
|
|
width: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-m-mobile {
|
|
|
|
|
width: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-l-mobile {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.is-w-xxl-mobile {
|
|
|
|
|
width: 500px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-xs-mobile {
|
|
|
|
|
height: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-s-mobile {
|
|
|
|
|
height: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-m-mobile {
|
|
|
|
|
height: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-l-mobile {
|
|
|
|
|
height: 200px !important;
|
|
|
|
|
}
|
2021-04-27 10:27:39 -04:00
|
|
|
|
|
|
|
|
|
.is-h-xxl-mobile {
|
|
|
|
|
height: 500px !important;
|
|
|
|
|
}
|
2021-04-27 08:58:30 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media only screen and (min-width: 769px) {
|
|
|
|
|
.is-w-auto-tablet {
|
|
|
|
|
width: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-xs-tablet {
|
|
|
|
|
width: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-s-tablet {
|
|
|
|
|
width: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-m-tablet {
|
|
|
|
|
width: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-l-tablet {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.is-w-xxl-tablet {
|
|
|
|
|
width: 500px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-xs-tablet {
|
|
|
|
|
height: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-s-tablet {
|
|
|
|
|
height: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-m-tablet {
|
|
|
|
|
height: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-l-tablet {
|
|
|
|
|
height: 200px !important;
|
2021-04-25 09:37:46 -04:00
|
|
|
|
}
|
2021-04-27 10:27:39 -04:00
|
|
|
|
|
|
|
|
|
.is-h-xxl-tablet {
|
|
|
|
|
height: 500px !important;
|
|
|
|
|
}
|
2021-04-25 09:37:46 -04:00
|
|
|
|
}
|
2021-04-26 05:35:10 -04:00
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
@media only screen and (min-width: 1024px) {
|
|
|
|
|
.is-w-auto-desktop {
|
|
|
|
|
width: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-xs-desktop {
|
|
|
|
|
width: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-s-desktop {
|
|
|
|
|
width: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-m-desktop {
|
|
|
|
|
width: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-w-l-desktop {
|
|
|
|
|
width: 200px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.is-w-xxl-desktop {
|
|
|
|
|
width: 500px !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.is-h-xs-desktop {
|
|
|
|
|
height: 80px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-s-desktop {
|
|
|
|
|
height: 100px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-m-desktop {
|
|
|
|
|
height: 150px !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.is-h-l-desktop {
|
|
|
|
|
height: 200px !important;
|
|
|
|
|
}
|
2021-04-27 10:27:39 -04:00
|
|
|
|
|
|
|
|
|
.is-h-xxl-desktop {
|
|
|
|
|
height: 500px !important;
|
|
|
|
|
}
|
2021-04-26 07:39:17 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Alignments
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
|
|
|
|
/* Flex item position
|
|
|
|
|
* -------------------------------------------------------------------------- */
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.align {
|
|
|
|
|
display: flex !important;
|
|
|
|
|
flex-direction: row !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-c {
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-r {
|
|
|
|
|
justify-content: flex-end !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.align.to-b {
|
|
|
|
|
align-items: flex-end !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.align.to-l {
|
|
|
|
|
justify-content: flex-start !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (max-width: 768px) {
|
|
|
|
|
.align.to-c-mobile {
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-r-mobile {
|
|
|
|
|
justify-content: flex-end !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-l-mobile {
|
|
|
|
|
justify-content: flex-start !important;
|
|
|
|
|
}
|
2021-04-26 07:39:17 -04:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.align.to-c-tablet {
|
|
|
|
|
justify-content: center !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-r-tablet {
|
|
|
|
|
justify-content: flex-end !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.align.to-l-tablet {
|
|
|
|
|
justify-content: flex-start !important;
|
2021-04-26 07:39:17 -04:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* Spacings
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.mr-auto {
|
|
|
|
|
margin-right: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ml-auto {
|
|
|
|
|
margin-left: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-26 07:39:17 -04:00
|
|
|
|
@media screen and (max-width: 768px) {
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.mr-auto-mobile {
|
|
|
|
|
margin-right: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ml-auto-mobile {
|
|
|
|
|
margin-left: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 10:27:39 -04:00
|
|
|
|
.mt-3-mobile {
|
|
|
|
|
margin-top: 0.75rem !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.ml-3-mobile {
|
|
|
|
|
margin-left: 0.75rem !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-26 07:39:17 -04:00
|
|
|
|
.my-3-mobile {
|
|
|
|
|
margin-top: 0.75rem !important;
|
|
|
|
|
margin-bottom: 0.75rem !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media screen and (min-width: 769px) {
|
2021-04-27 08:58:30 -04:00
|
|
|
|
.mr-auto-tablet {
|
|
|
|
|
margin-right: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ml-auto-tablet {
|
|
|
|
|
margin-left: auto !important;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-26 07:39:17 -04:00
|
|
|
|
.ml-3-tablet {
|
|
|
|
|
margin-left: 0.75rem !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mx-3-tablet {
|
|
|
|
|
margin-right: 0.75rem !important;
|
|
|
|
|
margin-left: 0.75rem !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
/* Book preview table
|
|
|
|
|
******************************************************************************/
|
|
|
|
|
|
2021-04-21 15:26:20 -04:00
|
|
|
|
.book-preview td {
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
}
|
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
@media only screen and (max-width: 768px) {
|
2021-04-21 15:29:28 -04:00
|
|
|
|
table.is-mobile,
|
|
|
|
|
table.is-mobile tbody {
|
2021-04-21 15:25:37 -04:00
|
|
|
|
display: block;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
table.is-mobile tr {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
border-top: 1px solid #dbdbdb;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
table.is-mobile td {
|
|
|
|
|
display: block;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
flex: 1 0 100%;
|
|
|
|
|
order: 2;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
table.is-mobile td.book-preview-top-row {
|
|
|
|
|
order: 1;
|
|
|
|
|
flex-basis: auto;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
table.is-mobile td[data-title]:not(:empty)::before {
|
|
|
|
|
content: attr(data-title);
|
|
|
|
|
display: block;
|
2021-04-21 15:29:28 -04:00
|
|
|
|
font-size: 0.75em;
|
2021-04-21 15:25:37 -04:00
|
|
|
|
font-weight: bold;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
2021-04-21 15:25:37 -04:00
|
|
|
|
table.is-mobile td:empty {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2021-04-21 15:29:28 -04:00
|
|
|
|
|
|
|
|
|
table.is-mobile th,
|
|
|
|
|
table.is-mobile thead {
|
2021-04-21 15:25:37 -04:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
}
|