1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-05 02:32:37 +01:00
theme.park/css/base/petio/petio-base.css
2022-04-23 01:14:15 +02:00

484 lines
12 KiB
CSS

/* dP dP dP */
/* 88 88 88 */
/* d8888P 88d888b. .d8888b. 88d8b.d8b. .d8888b. 88d888b. .d8888b. 88d888b. 88 .dP */
/* 88 88' `88 88ooood8 88'`88'`88 88ooood8 88' `88 88' `88 88' `88 88888" */
/* 88 88 88 88. ... 88 88 88 88. ... 88. .88 88. .88 88 88 `8b. */
/* dP dP dP `88888P' dP dP dP `88888P' 88 88Y888P' `88888P8 dP dP `YP */
/* 88 */
/* dP */
/* Made by @gilbN */
/* https://github.com/gilbN/theme.park */
@import url("/css/defaults/placeholders.css");
@import url("/css/defaults/transparent.css");
* {
outline: none;
}
body {
background: var(--main-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
color: var(--text)
}
/* TEXT COLOR */
p,
.card .text-wrap .year,
.media-content .overview,
.media-content .media-crew .crew-credit,
.media-content .media-crew .sidebar--item a,
.sidebar--item .media-content .media-crew a,
.sidebar--item p,
.menu--item p {
color: var(--text);
}
h1,
h2,
h3,
h4,
h5,
h6,
.person--details p,
.text-wrap>p,
.card .text-wrap .title,
.main-title,
.media-details .media-title,
.single-title,
.sub-title,
.sub-title,
.widget--title,
.settings--menu--item p {
color: var(--text-hover);
}
.card .text-wrap>p {
color: var(--text-hover);
}
.settings--menu--item.active p {
color: rgb(var(--accent-color));
}
.settings--menu--item.active {
border-bottom: 1px solid rgb(var(--accent-color));
}
.settings--menu--item:hover {
border-bottom: 1px solid var(--text-hover);
}
.settings--menu--item.active .icon svg path {
fill: rgb(var(--accent-color));
}
/* MENU */
.menu {
background: var(--transparency-dark-25);
}
@media (max-width: 1099.98px) {
.sidebar--inner,
.sidebar--scroll {
background: var(--modal-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
}
@media (min-width: 1100px) {
.page .sidebar {
background: var(--transparency-dark-25);
}
}
@media (max-width: 991.98px) {
.menu {
background: var(--modal-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
}
.mob-menu-top {
background: var(--modal-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
.menu--item.active {
background: rgba(var(--accent-color), .05);
border-right: 4px solid rgb(var(--accent-color));
}
.sidebar--inner .logo .logo-text span,
.menu .logo span {
color: rgb(var(--accent-color));
}
@media (min-width: 1100px) {
.sidebar--item.active {
border-top: none !important;
border-right: 4px solid rgb(var(--accent-color));
}
}
.sidebar--item.active {
background: rgba(var(--accent-color), .05);
border-top: 4px solid rgb(var(--accent-color));
}
.menu--item.active p,
.media-content .media-crew .sidebar--item.active a,
.sidebar--item.active .media-content .media-crew a,
.sidebar--item.active p {
color: rgb(var(--accent-color));
}
.menu--item.active .icon svg path,
.sidebar--item.active .icon svg path {
fill: rgb(var(--accent-color));
}
.mob-menu-top .nav-toggle span {
background: rgb(var(--accent-color));
}
.sidebar--item:hover p,
.sidebar--item:hover .icon svg path,
.menu--item:hover p,
.menu--item:hover .icon svg path {
color: rgb(var(--accent-color));
fill: rgb(var(--accent-color));
}
.sidebar--item .icon svg path,
.menu--item .icon svg path {
fill: var(--text);
}
/* LINKS */
a,
.table-action,
.session--toggle,
p a,
.profile-page .logout,
.person--bio--read-more,
.filter--item--collapse,
.filter--comparison {
color: var(--link-color);
}
a:hover,
.table-action:hover,
.session--toggle:hover,
p a:hover,
.profile-page .logout:hover,
.person--bio--read-more:hover,
.filter--item--collapse:hover,
.filter--comparison:hover {
color: var(--link-color-hover);
}
/* OTHER */
.widget--item hr {
background: var(--transparency-light-50);
}
.widget--item--inner,
.sr--instance--inner {
background: var(--transparency-dark-15);
}
.filter--add:hover {
color: rgb(var(--accent-color));
border-color: rgb(var(--accent-color));
}
.filter--row--add:hover,
.filter--row--remove:hover {
color: rgb(var(--accent-color));
}
.filter--item {
background: var(--transparency-dark-25);
}
.spinner svg {
filter: var(--petio-spinner);
}
.request-status {
color: var(--text-hover) !important;
}
.filter--action {
background: rgba(var(--accent-color), .3);
}
.sr--add-new .sr--instance--inner:hover {
color: rgb(var(--accent-color));
border-color: rgb(var(--accent-color));
}
.console--item {
color: var(--text-hover);
}
code {
color: var(--text-hover);
}
.color-green,
.color-orange,
.color-blue,
.color-red {
/* Ratings */
background: var(--transparency-dark-25);
border-radius: 5px;
padding: 0px 7px;
}
.color-blue {
color: #4eaff4;
}
.setup--step.active {
border-color: rgb(var(--accent-color));
color: rgb(var(--accent-color));
}
.setup--wrap .server-select-option.selected {
background: rgb(var(--accent-color));
}
.login-wrap .logo span {
color: rgb(var(--accent-color));
}
/* DASH */
.session--prog,
.session--media .card .playback-status {
background: rgb(var(--accent-color));
}
.card--inner:hover .image-wrap,
.company-card:hover .company-card--inner {
-webkit-filter: brightness(.7);
filter: brightness(.7);
-webkit-box-shadow: 0 0 0 2px rgb(var(--accent-color)), 0 5px 10px 0 rgb(0 0 0 / 30%);
-moz-box-shadow: 0 0 0 2px rgb(var(--accent-color)), 0 5px 10px 0 rgba(0, 0, 0, .3);
box-shadow: 0 0 0 2px rgb(var(--accent-color)), 0 5px 10px 0 rgb(0 0 0 / 30%);
}
.card .quick-req:hover svg {
fill: rgb(var(--accent-color));
}
.push-msg--item {
color: var(--text-hover);
}
/* BUTTONS */
.btn,
.btn__square,
.rbc-btn-group button.rbc-active {
background: var(--button-color);
color: var(--button-text);
border: 2px solid var(--button-color);
}
.btn:hover,
.btn__square:hover,
.rbc-btn-group button.rbc-active:active,
.rbc-btn-group button.rbc-active:focus,
.rbc-btn-group button.rbc-active:hover,
.rbc-btn-group button:active,
.rbc-btn-group button:focus,
.rbc-btn-group button:hover {
background: var(--button-color-hover);
color: var(--button-text-hover);
border: 2px solid var(--button-color-hover);
}
/* Keep Plex Button Color*/
#root>div>div.login-wrap>div.login--inner>form>div:nth-child(7)>button,
#root>div>div.view>div>div>div.settings--content>section:nth-child(2)>button:nth-child(3) {
background: #d79b23;
border: 2px solid #d79b23;
color: #000;
}
#root>div>div.login-wrap>div.login--inner>form>div:nth-child(7)>button:hover,
#root>div>div.view>div>div>div.settings--content>section:nth-child(2)>button:nth-child(3):hover {
background: #ab7b1c;
border-color: #ab7b1c;
}
.btn.bad:hover {
/*Delete/Cancel button*/
border: 2px solid #f55;
background: #f55;
}
.btn.good.btn__square:hover {
/*Watch Now button*/
border: 2px solid #98ec1c;
background: #98ec1c;
}
.btn.blue.btn__square:hover {
/* Requested button*/
border: 2px solid #3f9de0;
background: #3f9de0;
}
.media-trailer--close {
background: var(--button-color);
}
.media-trailer--close:hover {
background: var(--button-color-hover);
}
.requests--status__pending,
.requests--status__orange,
.requests--status__bad,
.requests--status__cinema,
.requests--status__blue,
.requests--status__manual {
color: var(--text-hover);
}
.myrequests--item--details .detail-steps--item__active {
color: rgb(var(--accent-color));
opacity: 1;
}
.myrequests--item--details .detail-steps--item__active .icon {
border-color: rgb(var(--accent-color));
}
.myrequests--item--details .detail-steps--item__active svg {
fill: rgb(var(--accent-color));
}
.request-count {
color: var(--text-hover);
background: rgba(var(--accent-color), .8);
}
/* TABLES */
.generic-table tr:not(.child):not(.sub) td {
border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.generic-table tr:not(.child):not(.sub) th {
text-align: left;
padding: 5px;
border-bottom: 1px solid rgba(255, 255, 255, .4);
}
thead {
color: var(--text-hover);
background: var(--transparency-dark-25)
}
.generic-table tr:not(.child):not(.sub) th:nth-child(odd),
.generic-table tr:not(.child):not(.sub) th:nth-child(2n) {
background: transparent !important;
}
/* MODALS */
.modal--inner,
.issues--inner,
.review--main {
background: var(--modal-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
.modal--top,
.issues--top,
.review--top {
background: var(--modal-bg-color);
background-repeat: repeat, no-repeat;
background-attachment: fixed, fixed;
background-position: center center, center center;
background-size: auto, cover;
-webkit-background-size: auto, cover;
-moz-background-size: auto, cover;
-o-background-size: auto, cover;
}
/* FORMS & INPUTS */
input[type=checkbox]:checked:after {
background: rgb(var(--accent-color))
}
input:not([type=checkbox]):not(.styled-input--input):not([type=file]):focus {
border-bottom: 2px solid rgb(var(--accent-color));
background: var(--transparency-light-20);
color: var(--text-hover)
}
input:not([type=checkbox]):not(.styled-input--input):not([type=file]),
.login-wrap input {
border-bottom: 2px solid rgba(0, 0, 0, 0);
color: var(--text);
background: var(--transparency-light-10);
}
.search-form input:focus {
background: var(--transparency-dark-10) !important;
color: var(--text-hover) !important;
border-bottom: 2px solid rgba(0, 0, 0, 0) !important;
}
/* CALENDAR */
.rbc-show-more {
background: var(--transparency-dark-25);
}
.rbc-day-bg.rbc-today {
background: rgb(var(--accent-color), .5);
}
a.rbc-show-more {
color: rgb(var(--accent-color));
}
.calendar--event p {
color: var(--text-hover) !important;
}