Files
ops-Gazelle/sass/global.scss
2025-10-13 09:26:11 +02:00

965 lines
14 KiB
SCSS

.box h3 {
font-size: 140%;
}
.box h4 {
font-size: 130%;
}
.box h5 {
font-size: 120%;
}
.box h6 {
font-size: 110%;
}
pre br {
line-height: 0px;
display: none;
}
.center {
text-align: center;
}
.req-choice {
display: inline-block;
text-align: left;
width: 130px;
}
.cat-choice {
display: inline-block;
text-align: left;
width: 117px;
}
ul.rules {
list-style-type: none;
}
div.rule_short {
font-weight: bold;
font-size: 10pt;
}
div.rule_wrap {
display: inline-table;
width: 96%;
}
a.rule_link {
display: inline-table;
font-weight: bold;
font-size: 10pt;
width: 4%;
}
.golden_rules {
list-style-type: none !important;
}
.ft_cataloguenumber {
width: 160px;
}
ul.collage_images {
display: table;
padding: 0;
width: 100%;
border-collapse: collapse;
}
ul.collage_images li {
border: none;
float: left;
margin: 0;
width: 20%;
list-style: none;
}
ul.collage_images li a {
display: block;
overflow: hidden;
}
.selected a {
font-weight: bold;
text-decoration: underline;
}
.invisible {
visibility: hidden;
}
.collage td {
padding: 0;
border: none;
}
.collage-artist {
padding: 10px;
}
.collage-artist-entry {
display: grid;
gap: 2px 0;
grid-auto-flow: row;
grid-template-columns: 154px 1fr 48px 40px 55px 40px;
grid-template-rows: 20px 25px 1fr;
grid-template-areas:
"cae-img cae-name cae-l-grp cae-v-grp cae-l-sna cae-v-sna"
"cae-img cae-tag cae-l-dcg cae-v-dcg cae-l-see cae-v-see"
"cae-img cae-bio cae-bio cae-bio cae-bio cae-bio";
}
.cae-img {
grid-area: cae-img;
}
.cae-name {
font-size: 1.4em;
font-weight: 600;
grid-area: cae-name;
}
.cae-bio {
grid-area: cae-bio;
margin: 4px 0 10px 2px;
}
.cae-bio-content {
max-height: 130px;
overflow: hidden;
position: relative;
transition: max-height 0.3s ease;
}
.read-more {
cursor: pointer;
display: none;
position: absolute;
}
.cae-tag { grid-area: cae-tag; }
.cae-l-grp { grid-area: cae-l-grp; }
.cae-v-grp { grid-area: cae-v-grp; }
.cae-l-sna { grid-area: cae-l-sna; }
.cae-v-sna { grid-area: cae-v-sna; }
.cae-l-dcg { grid-area: cae-l-dcg; }
.cae-v-dcg { grid-area: cae-v-dcg; }
.cae-l-see { grid-area: cae-l-see; }
.cae-v-see { grid-area: cae-v-see; }
.line_new {
color: green;
}
.line_deleted {
color: red;
}
.line_moved {
color: blue;
}
.log2 {
color: yellow;
}
.log3 {
color: #0E88C6;
}
.log4 {
font-weight: bold;
}
.log5 {
text-decoration: underline;
}
body#log .log-removed {
color: crimson;
}
body#log .log-edited {
color: royalblue;
}
body#log .log-uploaded {
color: forestgreen;
}
pre {
overflow: auto;
}
.hidden {
display: none !important;
}
form textarea,
form input {
max-width: 100%;
}
a.beta {
font-weight: bold;
color: #ff0000;
}
strong.important_text {
color: red;
font-weight: bold;
}
strong.important_text_alt {
color: green;
font-weight: bold;
}
.invalid,
.warning,
.error,
.new {
color: #dd0000;
}
.sys-error {
color: red;
font-weight: 600;
font-variant-caps: small-caps;
}
.sys-warning {
color: orange;
font-weight: 600;
font-variant-caps: small-caps;
}
/* Make [+] on add multiple artists stay at the bottom (on torrent details page) */
div#AddArtists {
position: relative;
}
div#AddArtists a {
position: absolute;
right: 0;
bottom: 0;
}
.nra-rename-form {
display: inline-block;
}
div#flip_view_1 {
position: relative;
}
div#flip_view_1 div#similar-artist {
position: absolute;
z-index: 1;
font-size: 13pt;
white-space: nowrap;
}
div#flip_view_1 .similar-artist-graph {
position: relative;
height: 0;
width: 100%;
}
.clear::after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.new-subscriptions {
font-weight: bold;
}
#forums #quickpost {
width: 95%;
}
td.label {
vertical-align: top;
}
td.nowrap {
white-space: nowrap;
}
td.colhead,
td.colhead_dark,
.colhead td,
.colhead th,
.colhead_dark td,
.colhead_dark th {
top: 0;
position: sticky;
z-index: 10;
}
span.secondary_class {
font-size: 85%;
font-weight: bold;
}
.breadcrumbs {
font-weight: bold;
text-align: right;
}
.paranoia_override {
font-style: italic;
}
#manage_collage_table.ui-sortable .drag {
cursor: n-resize;
}
#manage_collage_table.ui-sortable .ui-sortable-helper.drag {
cursor: grabbing;
}
#manage_collage_table .ui-sortable-helper td,
#manage_collage_table .ui-sortable-placeholder {
border: 0;
}
.subscribed-collages-table {
margin-top: 8px;
}
.drag_drop_save {
padding: 6px 0;
overflow: hidden;
}
.headerSort {
cursor: pointer;
}
.headerSort span {
background: url("../common/table-order.png") no-repeat scroll right -38px transparent;
padding: 0 20px 0 0;
}
.headerSortDown span {
background: url("../common/table-order.png") no-repeat scroll right 4px transparent;
}
.headerSortUp span {
background: url("../common/table-order.png") no-repeat scroll right -79px transparent;
}
.headerSort.sorter-false,
.headerSort.sorter-false span {
background-image: none;
cursor: default;
}
.album_votes {
text-align: center;
}
.favoritecount {
font-size: 150%;
font-weight: bold;
}
.favoritecount_small {
font-size: 110%;
font-weight: bold;
}
ul.votedalbums li {
list-style: none;
margin: 0;
}
tr.torrent .bookmark > a::before {
text-decoration: none;
font-weight: normal;
}
tr.torrent .bookmark > a::after {
text-decoration: none;
font-weight: normal;
}
#sortable {
list-style-type: none;
margin: 0;
padding: 0;
width: 50%;
}
#sortable li {
padding: 0;
font-size: 1.2em;
height: 1.5em;
}
.ui-state-highlight {
background: #007DC6 /*{bgColorHighlight}*/;
opacity: 0.15;
width: 50%;
}
.navigation_list,
.navigation_list ol {
list-style-position: inside;
margin-top: 10px;
margin-bottom: 20px;
}
.navigation_list > li {
list-style-type: upper-roman !important;
}
.navigation_list li li {
list-style-type: upper-alpha;
}
.navigation_list li li li {
list-style-type: decimal;
}
.navigation_list li li li li {
list-style-type: lower-alpha;
}
.torrent_table .group .votes_info_td strong {
font-size: inherit;
}
.preview_wrap {
text-align: left;
}
.text_preview {
min-height: 100px;
}
#lastfm_compatibilitybar_container {
width: 100%;
height: 5px;
background: #969696;
}
#lastfm_compatibilitybar {
height: 100%;
}
.brackets {
text-indent: 0;
white-space: nowrap;
}
.brackets::before {
content: "[";
}
.brackets::after {
content: "]";
}
.vote_tag_up,
.vote_artist_up,
.vote_album_up {
font-weight: bolder;
}
.vote_tag_down,
.vote_artist_down,
.vote_album_down {
font-weight: bolder;
}
.votespan.brackets::before {
content: "(";
}
.votespan.brackets::after {
content: ")";
}
#userinfo .brackets::before,
#userinfo .brackets::after {
content: "";
}
.group_image {
overflow: hidden;
}
.float_left {
float: left;
}
.float_right {
float: right;
}
.float_clear {
clear: both;
}
.group_image + .group_info {
margin-left: 100px;
}
.group_image img {
cursor: pointer;
}
.user_title {
font-weight: normal;
}
/*
* Fix long filename tables overflowing (Chrome only).
* Stop various release page containers from overflowing with long input.
* !! Be sure to test all major browsers before changing this section. !!
* Fix report information tables overflowing long reports (all browsers).
* Fix long release descriptions overflowing containers (all browsers).
* Fix flowing issues in the report resolving pages.
*/
.wrap_overflow,
.filelist_table td,
.reportinfo_table,
.torrentdetails blockquote {
word-break: normal;
/* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
word-wrap: break-word;
hyphens: auto;
}
/* Non-web-standard for webkit */
.torrentdetails blockquote {
/* stylelint-disable-next-line declaration-property-value-keyword-no-deprecated */
word-break: break-word;
}
/* Fix long filename tables overflowing (Chrome only). */
.filelist_table td:first-child {
word-break: break-all;
}
/* Fix long overflow for Opera (doesn't support word-break). */
.reportinfo_table {
table-layout: fixed;
}
.pre-wrap {
white-space: pre-wrap;
}
/* Wrap release info for consistent DOM and to limit table expansion. */
.no_overflow {
width: 100%;
overflow: hidden;
}
/* Stylesheet gallery in user profile editing */
#css_gallery {
display: none;
overflow: hidden;
margin-top: 10px;
}
.preview_wrapper {
position: relative;
display: inline-block;
width: 29%;
height: 120px;
margin: 0 10px;
}
.preview_image {
display: block;
height: 80px;
cursor: pointer;
overflow: hidden;
}
.preview_image img {
width: 100%;
}
.preview_name {
text-align: center;
margin-top: 5px;
}
.option_group {
margin-bottom: 10px;
}
.option_group:last-child {
margin-bottom: 0;
}
.autocomplete-suggestions {
margin-top: 5px;
border: 1px solid #999;
background: #FFF;
width: auto !important;
}
.autocomplete-suggestion {
padding: 2px 5px;
white-space: nowrap;
cursor: pointer;
}
.autocomplete-selected {
background: #F0F0F0;
}
.autocomplete-suggestions strong {
font-weight: normal;
color: #3399FF;
}
.setting_description > * {
margin: 1em 0 0 0;
}
.settings_sidebar {
min-height: 385px;
}
#settings_sections {
position: absolute;
}
#settings_sections.fixed {
position: fixed;
top: 0;
}
#settings_sections #submit,
#settings_sections #settings_search {
box-sizing: border-box;
width: 100%;
}
#settings_sections h2 {
text-align: left;
}
#settings_sections input#save-profile {
margin: 15px;
}
.donor_icon {
margin-left: 2px;
width: 15px;
height: 13px;
}
.donation_address {
display: block;
padding: 1em 0 1em 0;
font-weight: bold;
text-align: center;
}
.donation_info {
padding: 10px 10px 10px 20px;
margin-left: 10px;
margin-right: 10px;
margin-bottom: 20px;
}
.donation_info_title {
display: block;
font-size: 1.75em;
-webkit-margin-before: 1em;
-webkit-margin-after: 1em;
-webkit-margin-start: 0;
-webkit-margin-end: 0;
font-weight: bold;
margin: 10px 0;
}
.number_column {
text-align: right;
}
.wide_input_text {
width: 95%;
}
.top_artist_list li {
margin-left: 25px;
margin-bottom: 5px;
list-style-type: decimal;
font-size: 150%;
}
.noborder {
border: none;
}
.two_columns {
float: left;
width: 50%;
box-sizing: border-box;
}
.field_div {
margin-bottom: 10px;
}
.field_div:last-of-type {
margin-bottom: 0;
}
.field_div .label,
.submit_div .label {
float: left;
padding: 0 5px;
text-align: right;
width: 150px;
}
.field_div .input,
.submit_div .input {
padding: 0 5px;
}
.small_label {
text-align: right;
width: auto;
}
.scale_image {
max-width: 500px;
}
.sidebar img {
max-width: 220px;
}
.site_name {
display: none;
}
.forum_post td img {
max-width: 675px;
}
#collage #reply_box img,
#forums #reply_box img {
max-width: 650px;
}
#artistcomments #reply_box img,
#request_comments #reply_box img,
#torrent_comments #reply_box img {
max-width: 400px;
}
#artistcomments img,
#request_comments img,
#torrent_comments img {
max-width: 417px;
}
.blog_post img {
max-width: 825px;
}
#artist_information img,
.box_request_desc img,
.news_post img,
.torrent_description img,
.wiki_article img {
max-width: 570px;
}
.torrentdetails img {
max-width: 540px;
}
.request-vote:hover {
cursor: pointer;
}
tr#logcue_tr td div#logscore {
align-items: center;
display: flex;
#minlogscore-label {
margin-left: 18px;
}
}
#inbox #preview img,
#staffpm #reply_box img,
#wiki .create_form img,
#wiki .edit_form img {
max-width: 805px;
}
#inbox .body img {
max-width: 830px;
}
#userform img {
max-width: 490px;
}
.profileinfo img {
max-width: 565px;
}
#reportsv2 .manage_form img {
max-width: 616px;
}
#footer .footer-stats {
white-space: nowrap;
}
/* make Safari treat <input type="search" /> as a regular text box */
input[type="search"] {
appearance: textfield;
/* font-size: medium;
background: #fff; */
}
.last_edited {
display: block;
padding-right: 5px;
padding-top: 5px;
border-top: 1px solid #c7c7c7;
}
.avatar_container img {
max-height: 400px;
max-width: 150px;
}
.avatar_container > div {
width: 0;
overflow: visible;
display: inline-block;
vertical-align: top;
transition: opacity 500ms;
}
.avatar_container > :last-child {
opacity: 0;
}
.avatar_container > :first-child {
opacity: 1;
}
.avatar_container:hover > :first-child {
opacity: 0;
}
.avatar_container:hover > :last-child {
opacity: 1;
}
#user .avatar_container > :last-child {
margin-right: 150px;
}
#user .avatar_container:hover > :last-child {
margin-right: 150px;
}
@media only screen and (width >= 768px) {
.avatar_container > :last-child {
margin-right: 150px;
}
.avatar_container:hover > :last-child {
margin-right: 150px;
}
}
.pager-cur {
border: 1px solid #178c36;
color: #178c36;
}
.pager-link {
margin: 0 2px;
padding: 1px 3px;
}
.pager-link:hover {
border: 1px solid #1fd54f;
color: #1fd54f;
}
.tbx {
display: grid;
grid-template-columns: 140px 1fr;
gap: 12px 8px;
}
.tbx-label {
font-weight: 800;
margin-top: 2px;
text-align: right;
}
hr.tbx {
margin: 15px 6px 10px 6px;
}
td.forum-post-head a.username {
font-weight: bold;
}
.upload-error {
color: red;
text-align: center;
}
.warning-message {
position: fixed;
top: 64px;
left: 50vw;
transform: translateX(-50%);
z-index: 900;
border: thick solid #daa520;
border-radius: 0.25rem;
padding: 1rem 1rem 1rem 48px;
background-color: #eaebeb;
background-image: url(config('STATIC_SERVER') + "/svg/site/ops-icon-triangle-000.svg");
background-repeat: no-repeat;
background-position: 8px 1rem;
background-size: 32px;
box-shadow: 0 10px 18px rgb(0 0 0 / 55%), 0 7px 7px rgb(0 0 0 / 52%), 0 -5px 9px rgb(0 0 0 / 32%);
font-weight: 700;
font-size: medium;
color: #000;
width: min(80ch, 92%);
> button {
margin: 1em;
border: 0.2em solid black;
padding: 0.5em;
background-color: #daa520;
font-weight: bold;
cursor: pointer;
}
a {
color: #900;
}
a::after {
content: '↗︎';
}
ul li {
font-size: smaller;
font-weight: normal;
}
}
figure.user-error {
margin: 0 auto;
padding: 24px 0 12px 0;
width: 700px;
}
.user-error figcaption {
color: orange;
font-size: 1.4em;
padding-top: 15px;
}
#user .mfa_text {
font-size: 14px;
margin-top: 10px;
font-weight: 600;
}
#more-news-loader {
cursor: pointer;
}