@import "../../../../node_modules/bulma/bulma.sass"; $fa-font-path: "~@fortawesome/fontawesome-free/webfonts"; @import "../../../../node_modules/@fortawesome/fontawesome-free/scss/fontawesome.scss"; @import "../../../../node_modules/@fortawesome/fontawesome-free/scss/regular.scss"; @import "../../../../node_modules/@fortawesome/fontawesome-free/scss/solid.scss"; $bg-color: yellow; $border-color: red; $volume-color: #fdecd1; $issue-color: #f2f1f9; $size-8: 0.9rem; .is-size-8 { font-size: $size-8; } // global style overrides pre { border-radius: 0.5rem; } .container { margin-top: 2em; } .app { font-family: helvetica, arial, sans-serif; padding: 2em; border: 5px solid $border-color; p { background-color: $bg-color; } } .navbar-item.is-mega { position: static; .is-mega-menu-title { margin-bottom: 0; padding: 0.375rem 1rem; } } // Dashboard // slick slider overrides .slick-slider { margin-left: -10px; .slick-list { padding: 0 0px 15px 10px; } } .recent-comics-container { display: -webkit-box; /* Not needed if autoprefixing */ display: -ms-flexbox; /* Not needed if autoprefixing */ display: flex; margin-left: -22px; /* gutter size offset */ width: auto; .recent-comics-column { padding-left: 22px; /* gutter size */ background-clip: padding-box; & > div { /* change div to reference your elements you put in */ margin-bottom: 20px; } } } .volumes-container { .stack { display: inline-block; border-radius: 0.3rem; box-shadow: /* The top layer shadow */ 0 -1px 1px rgba(0, 0, 0, 0.15), /* The second layer */ 0 -10px 0 -5px #eee, /* The second layer shadow */ 0 -10px 1px -4px rgba(0, 0, 0, 0.15), /* The third layer */ 0 -20px 0 -10px #eee, /* The third layer shadow */ 0 -20px 1px -9px rgba(0, 0, 0, 0.15); img { height: auto; border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .stack-title { margin-bottom: 0.4rem; } .content { margin: -5px 0 0 0; padding: 0.5rem 1rem; border-bottom-left-radius: 0.25rem; box-shadow: 1px 8px 23px 7px rgba(0, 0, 0, 0.12); border-bottom-right-radius: 0.25rem; } } .volumes-grid { display: -webkit-box; /* Not needed if autoprefixing */ display: -ms-flexbox; /* Not needed if autoprefixing */ display: flex; margin-left: -30px; /* gutter size offset */ width: auto; } .volumes-grid-column { padding-left: 22px; /* gutter size */ background-clip: padding-box; & > div { /* change div to reference your elements you put in */ margin-bottom: 20px; } } } .min { overflow: visible; margin: auto; .tag__custom { height: auto !important; padding: 0.3rem; white-space: unset !important; width: 100%; background-color: #effaf5; color: #257953; } .tags { display: inline; margin-right: 5px; margin-left: 5px; &:first-child { margin-left: 0; } } pre { border-radius: 0.4em; margin: 10px 0 10px 0; white-space: pre-wrap; } } .generic-card { display: inline-block; background-color: #fff; border-bottom-left-radius: 0.3rem; border-bottom-right-radius: 0.3rem; box-shadow: 1px 8px 23px 7px rgba(0, 0, 0, 0.12); .green-border { border: 1px dotted #168b64; border-radius: 0.3rem; } .truncate { width: 100px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .partial-rounded-card-image { figure { display: flex; img { border-top-left-radius: 0.3rem; border-top-right-radius: 0.3rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } } } .rounded-card-image { figure { display: flex; img { border-radius: 0.3rem; } } } .card-content { .card-title { margin-bottom: 0.4rem; } .custom-icon, i { margin: 4px 4px 4px 0; } padding: 0.5rem 1rem; } } .card-container { // display: grid; // grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); // column-gap: 0.5em; // row-gap: 1.2em; .card { margin: 0 0 15px 0; .partial-rounded-card-image { img { border-top-left-radius: 0.4rem; border-top-right-radius: 0.4rem; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } } .rounded-card-image { border-radius: 0.4rem; } .is-horizontal { flex-direction: row; display: flex; flex-basis: 50ex; flex-grow: 0; flex-shrink: 1; box-shadow: none; .card-image { align-self: center; .image { max-width: 80px; border-top-right-radius: 0; border-bottom-right-radius: 0; border-top-left-radius: 0.25em; border-bottom-left-radius: 0.25em; } } .card-content { align-self: top; flex: 1; padding-left: 1em; padding-top: 0.5em; padding-bottom: 0em; .name { font-size: 0.85em; } ul { li.status { margin-top: 10px; } } } .is-divider { margin-top: 1.5rem; margin-bottom: 1rem; } } } } // raw file details .raw-file-details { padding: 1rem; background-color: beige; border-radius: 0.5rem; } // comicvine metadata .comicvine-metadata { background-color: #f2f1f9; padding: 0.8rem; border-radius: 0.5rem; } // Comic Detail .comic-detail { dl { dd { margin: 0; } } .button { .airdcpp-text { margin: 0 0 0 0.2rem; } } } // AirDC++ search results .dupe-search-result { background: lavender; } // Search .search { .main-search-bar { border: 0; border-bottom: 1px solid #999; border-radius: 0; outline: 0; background: transparent; box-shadow: none; } } // Library .sticky { position: sticky; top: 56px; z-index: 2; background: #fffffc; } .library { table { border-collapse: separate; width: 100%; thead { position: sticky; top: 194px; z-index: 1; background: #fffffc; min-height: 120px; } tr { td { border: 0 none; .card { margin: 8px 0 7px 0; .name { margin: 0 0 4px 0; } } } } tbody { padding: 10px 0 0 0; } } } // Comic Detail .control-palette { background-color: #fff6de; display: inline-block; i { display: flex; justify-content: center; align-items: center; // padding: 1.5rem 2rem; } } // airdcpp downloads tab .tabs { .download-icon-labels { .downloads-count { margin: 0 1em 0 0.4em; border: 1px solid #ccc; } } .download-tab-name { } } // drawer content padding override .slide-pane__content { padding: 24px 12px; } .slide-pane__header { margin-top: 3.5rem; } .comic-vine-match-drawer { // comic detail drawer .search-criteria-card { width: 100%; .card-content { padding: 10px; .ant-divider-horizontal { margin: 12px 0; } } } .field { margin: 5px 0 0 0; } } // Volume detail .volume-details { .is-volume-related { $tag-background-color: $volume-color; } .issues-container { display: -webkit-box; /* Not needed if autoprefixing */ display: -ms-flexbox; /* Not needed if autoprefixing */ display: flex; margin-left: -10px; /* gutter size offset */ width: auto; .issues-column { max-width: 102px; margin: 10px; background-clip: padding-box; & > div { /* change div to reference your elements you put in */ margin-bottom: 20px; } } } } // Potential issue matches in library slideout panel .potential-matches-container { .potential-issue-match { border-radius: 0.3rem; background-color: beige; padding: 10px; pre { padding: 5px; background-color: transparent; border-radius: 0.3rem; white-space: pre-wrap; /* Since CSS 2.1 */ white-space: -moz-pre-wrap; /* Mozilla, since 1999 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; } .generic-card { max-width: 90px; } } } // comicvine search results .search-results-container { margin: 15px 0 0 0; overflow: hidden; .search-result { margin: 0 0 10px 0; padding: 1em; border-radius: 10px; background: #f2f1f9; .cover-image { border-radius: 5px; } .search-result-details { .score { float: right; } } .volume-information { margin-top: -2.5em; width: 80%; background: #fdecd1; border-radius: 10px; } .vertical-line { position: relative; top: -25px; left: 1.5rem; border: 2px dotted #ccc; width: 20px; min-height: 35px; border-color: transparent transparent #f3a22d #f3a22d; border-bottom-left-radius: 10px; } } } // Library grid .my-masonry-grid { display: -webkit-box; /* Not needed if autoprefixing */ display: -ms-flexbox; /* Not needed if autoprefixing */ display: flex; margin-left: -30px; /* gutter size offset */ width: auto; } .my-masonry-grid_column { padding-left: 30px; /* gutter size */ background-clip: padding-box; } .my-masonry-grid_column > div { /* change div to reference your elements you put in */ margin-bottom: 20px; } // progress .progress-indicator-container { height: 100%; padding: 0; margin: 0; display: flex; align-items: center; justify-content: center; .indicator { padding: 5px; width: 120px; height: 120px; } }