Files
Paradise/html/statbrowser.css
Aylong b6999a13fb [TGUI] Fixes scrollbar & background styles for 516 (#26433)
* Fixes scrollbar and background image styles for 516

* Background
2024-08-11 19:41:13 +00:00

399 lines
6.0 KiB
CSS

.light:root {
--scrollbar-base: #f2f2f2;
--scrollbar-thumb: #a7a7a7;
}
html,
body {
scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-base);
}
/* Light theme */
body {
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 12px !important;
margin: 0 !important;
padding: 0 !important;
overflow-x: hidden;
overflow-y: scroll;
}
#menu {
background-color: #efeeee;
position: fixed;
width: 100%;
z-index: 100;
}
#statcontent {
padding: 7px;
}
a {
color: black;
text-decoration: none;
}
a:hover,
.dark a:hover,
.ntos a:hover,
.paradise a:hover,
.syndicate a:hover {
text-decoration: underline;
}
ul {
list-style-type: none;
margin: 0;
padding: 0;
background-color: #333;
}
li {
float: left;
}
li a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
background-color: #111;
}
td {
padding-right: 15px;
}
.button-container {
display: inline-flex;
flex-wrap: wrap-reverse;
flex-direction: row;
align-items: flex-start;
overflow-x: hidden;
white-space: pre-wrap;
}
.button {
background-color: #ffffff;
border-style: none;
border-bottom-style: solid;
border: 1px solid transparent;
border-bottom-width: 2px;
color: rgba(0, 0, 0, 0.7);
padding: 7px 8px 5px 8px;
text-align: center;
text-decoration: none;
font-size: 12px;
margin: 0;
cursor: pointer;
transition-duration: 100ms;
order: 3;
min-width: 40px;
}
.button:hover {
background-color: #ececec;
transition-duration: 0;
}
.button:active,
.button.active {
background-color: #dfdfdf;
color: black;
border-bottom-color: #000000;
}
.grid-container {
margin: -2px;
margin-right: -15px;
}
.grid-item {
position: relative;
display: inline-block;
width: 100%;
box-sizing: border-box;
overflow: visible;
padding: 3px 2px;
text-decoration: none;
}
@media only screen and (min-width: 300px) {
.grid-item {
width: 50%;
}
}
@media only screen and (min-width: 430px) {
.grid-item {
width: 33%;
}
}
@media only screen and (min-width: 560px) {
.grid-item {
width: 25%;
}
}
@media only screen and (min-width: 770px) {
.grid-item {
width: 20%;
}
}
.grid-item:hover {
z-index: 1;
}
.grid-item:hover .grid-item-text {
width: auto;
text-decoration: underline;
}
.grid-item-text {
display: inline-block;
width: 100%;
background-color: #ffffff;
margin: 0 -6px;
padding: 0 6px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
pointer-events: none;
}
.link,
.listedturf_link {
background: none;
border: none;
color: black;
text-decoration: none;
cursor: pointer;
font-size: 13px;
}
.link {
display: inline;
padding: 7px 14px;
margin: 2px 2px;
}
.link:hover,
.listedturf_link:hover {
text-decoration: underline;
}
img {
-ms-interpolation-mode: nearest-neighbor;
image-rendering: pixelated;
}
.interview_panel_controls,
.interview_panel_stats {
margin-bottom: 10px;
}
/* Dark Theme */
.dark:root {
--scrollbar-base: #181818;
--scrollbar-thumb: #363636;
}
body.dark {
background-color: #131313;
color: #b2c4dd;
scrollbar-base-color: #1c1c1c;
scrollbar-face-color: #3b3b3b;
scrollbar-3dlight-color: #252525;
scrollbar-highlight-color: #252525;
scrollbar-track-color: #1c1c1c;
scrollbar-arrow-color: #929292;
scrollbar-shadow-color: #3b3b3b;
}
.dark #menu {
background-color: #212020;
}
.dark button {
background-color: #131313;
color: rgba(255, 255, 255, 0.5);
}
.dark button:hover {
background-color: #252525;
}
.dark .button:active,
.dark .button.active {
background-color: #313131;
color: white;
border-bottom-color: #ffffff;
}
.dark .grid-item-text {
background-color: #131313;
}
.dark a {
color: #b2c4dd;
}
.dark .link,
.dark .listedturf_link {
color: #abc6ec;
}
/* NTOS theme */
.ntos:root {
--scrollbar-base: #141d26;
--scrollbar-thumb: #2a3b4f;
}
body.ntos {
background-color: #121922;
color: #b2c4dd;
scrollbar-base-color: #141d26;
scrollbar-face-color: #2a3b4f;
scrollbar-track-color: #141d26;
scrollbar-arrow-color: #7290b4;
scrollbar-shadow-color: #2a3b4f;
}
.ntos #menu {
background-color: #1b2633;
}
.ntos button {
background-color: #121922;
color: rgba(255, 255, 255, 0.5);
}
.ntos button:hover {
background-color: #242a32;
}
.ntos .button:active,
.ntos .button.active {
background-color: #30363e;
color: white;
border-bottom-color: #ffffff;
}
.ntos .grid-item-text {
background-color: #121922;
}
.ntos a {
color: #b2c4dd;
}
.ntos .link,
.ntos .listedturf_link {
color: #abc6ec;
}
/* Paradise theme */
.paradise:root {
--scrollbar-base: #680b29;
--scrollbar-thumb: #cb1551;
}
body.paradise {
background-color: #400125;
color: #dec5bd;
scrollbar-base-color: #680b29;
scrollbar-face-color: #99103d;
scrollbar-track-color: #680b29;
scrollbar-arrow-color: #ea2e6c;
scrollbar-shadow-color: #99103d;
}
.paradise #menu {
background-color: #800448;
}
.paradise button {
background-color: #400125;
color: rgba(255, 255, 255, 0.5);
}
.paradise button:hover {
background-color: #4e1435;
}
.paradise .button:active,
.paradise .button.active {
background-color: #582140;
color: white;
border-bottom-color: #ffffff;
}
.paradise .grid-item-text {
background-color: #400125;
}
.paradise a {
color: #dec5bd;
}
.paradise .link,
.paradise .listedturf_link {
color: #edc1b2;
}
/* Syndicate theme */
.syndicate:root {
--scrollbar-base: #3a0202;
--scrollbar-thumb: #770303;
}
body.syndicate {
background-color: #2b0101;
color: #debdbd;
scrollbar-base-color: #3a0202;
scrollbar-face-color: #770303;
scrollbar-track-color: #3a0202;
scrollbar-arrow-color: #fa2d2d;
scrollbar-shadow-color: #770303;
}
.syndicate #menu {
background-color: #4d0202;
}
.syndicate button {
background-color: #2b0101;
color: rgba(255, 255, 255, 0.5);
}
.syndicate button:hover {
background-color: #3b1414;
}
.syndicate .button:active,
.syndicate .button.active {
background-color: #462121;
color: white;
border-bottom-color: #ffffff;
}
.syndicate .grid-item-text {
background-color: #2b0101;
}
.syndicate a {
color: #debdbd;
}
.syndicate .link,
.syndicate .listedturf_link {
color: #edb2b2;
}