1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-11-14 23:22:39 +01:00
theme.park/CSS/themes/adguard/adguard-base.css

460 lines
9.0 KiB
CSS
Raw Normal View History

2020-08-28 14:30:01 +02:00
/* 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 */
body {
background: var(--main-bg-color);
color: var(--text) !important;
}
/* Scrollbar */
@media only screen and (min-width: 768px) {
2020-08-28 14:30:01 +02:00
html {
height: 100%;
width: 100%;
overflow: hidden;
}
2020-08-28 14:30:01 +02:00
body {
overflow-y: auto;
height: 100%;
background: var(--main-bg-color)
}
}
body *::-webkit-scrollbar-thumb {
background: hsla(0,0%,100%,.2);
}
::-webkit-scrollbar {
width: 14px;
}
::-webkit-scrollbar-thumb {
min-height: 50px;
border: 3px solid transparent;
border-radius: 8px;
background-color: hsla(0, 0%, 100%, .2);
background-clip: padding-box;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb:hover {
min-height: 50px;
border: 3px solid transparent;
border-radius: 8px;
background-color: hsla(0, 0%, 100%, .5);
background-clip: padding-box;
}
2020-08-28 14:30:01 +02:00
/* TEXT */
a {
color: var(--text)
}
2020-08-28 14:30:01 +02:00
a:hover {
color: var(--accent-color-hover);
}
2020-08-28 14:30:01 +02:00
a:-webkit-any-link:focus {
outline: none;
}
/* LOGIN PAGE */
.login .login__form .text-center .h-6 {
filter: invert(1);
}
.login__form .card {
background: rgba(0, 0, 0, 0.08);
border: 1px solid rgb(0 0 0 / 0.08);
}
.login .btn-success:hover {
background-color: var(--button-color-hover);
border-color: var(--button-color-hover);
color: var(--text-hover);
}
.login .btn-link {
color: var(--text);
}
2020-08-28 14:30:01 +02:00
.login .btn-link:hover {
color: var(--text-hover);
}
2020-08-28 14:30:01 +02:00
.form__message--error {
color: #F44336;
}
/* HEADER */
.header {
background: transparent;
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
2020-08-28 14:30:01 +02:00
.header-brand-img {
filter: invert(1);
}
2020-08-28 14:30:01 +02:00
.header .btn-outline-secondary {
2020-09-28 21:12:47 +02:00
color: var(--text);
background: var(--button-color);
2020-08-28 14:30:01 +02:00
border-color: var(--button-color);
}
2020-08-28 14:30:01 +02:00
.header .btn-outline-secondary:hover {
2020-09-28 21:12:47 +02:00
color: var(--text-hover);
2020-08-28 14:30:01 +02:00
background-color: var(--button-color-hover);
}
2020-08-28 14:30:01 +02:00
.nav-tabs .nav-link.active {
border-color: var(--accent-color);
color: var(--accent-color);
background: transparent;
}
2020-08-28 14:30:01 +02:00
.header .nav-tabs .nav-link.active:hover {
border-color: var(--accent-color-hover) !important;
color: var(--accent-color-hover) !important;
}
2020-08-28 14:30:01 +02:00
.header a:not([href]):not([tabindex]) {
color: var(--text);
text-decoration: none;
}
2020-08-28 14:30:01 +02:00
.header .nav-tabs {
color: var(--text);
}
2020-08-28 14:30:01 +02:00
.header .nav-tabs .nav-link:hover:not(.disabled) {
border-color: var(--text-hover);
color: var(--text-hover);
}
2020-08-28 14:30:01 +02:00
/* FOOTER */
.footer {
background: rgba(0, 0, 0, 0.08);
border-top: 1px solid rgba(255, 255, 255, 0.03);
color: var(--text);
}
2020-08-28 14:30:01 +02:00
.footer a:not(.btn) {
color: var(--text);
}
2020-08-28 14:30:01 +02:00
.footer .btn-outline-primary {
color: var(--button-color);
background-color: transparent;
background-image: none;
border-color: var(--button-color);
}
.footer .btn-outline-primary:hover {
color: var(--text);
background-color: var(--button-color-hover);
border-color: var(--button-color-hover);
2020-08-28 14:30:01 +02:00
}
/* MAIN PAGE */
.header__row .mobile-menu {
2020-08-28 14:30:01 +02:00
background-color: transparent;
}
/* BUTTONS */
.container .btn-outline-primary {
color: var(--text);
background-color: var(--button-color);
background-image: none;
border-color: var(--button-color);
}
.container .btn-outline-primary:hover {
color: var(--text-hover);
background-color: var(--button-color-hover);
border-color: var(--button-color-hover);
}
.tooltip-container {
background: var(--tooltip-bg);
}
/* CARDS*/
.card {
background-color: rgb(255 255 255 / 8%);
border: 1px solid rgba(255, 255, 255, 0.1);
color: var(--text);
}
.tooltip-custom__container {
background: var(--tooltip-bg);
}
.tooltip-custom__content-link {
color: var(--tooltip-link-color);
}
.card-wrap,
.card-title-stats {
color: inherit;
}
.card-title-stats a {
text-decoration: underline;
}
.card-title-stats a:hover {
text-decoration: underline;
color: var(--accent-color-hover);
}
.card .icon--lightgray {
color: var(--text);
}
.card .logs__text {
color: var(--text);
}
.card .button__action {
background-color: transparent;
}
.card .btn-outline-danger {
color: #F44336;
background-color: transparent;
background-image: none;
border-color: #F44336;
}
.btn-outline-danger:hover {
color: #fff;
background-color: #F44336;
border-color: #F44336;
}
2020-08-28 14:30:01 +02:00
/* DROPDOWNS */
.dropdown-menu {
color: var(--text);
background: var(--modal-bg-color);
background-clip: padding-box;
border: 1px solid rgba(0, 40, 100, 0.12);
border-radius: 3px;
}
2020-08-28 14:30:01 +02:00
.dropdown-item {
color: var(--text);
}
.dropdown-item:hover,
.dropdown-item:focus {
2020-08-28 14:30:01 +02:00
color: var(--text-hover);
text-decoration: none;
background-color: rgb(255 255 255 / 0.08);
}
.select__menu {
background: var(--modal-bg-color) !important;
box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, .5);
}
.select__option:hover {
background: rgba(255, 255, 255, .08) !important;
}
.select__option {
background: rgba(0, 0, 0, 0) !important;
border-bottom: solid rgba(255, 255, 255, .1) 1px;
}
.select__multi-value__remove {
color: black;
}
.basic-multi-select .select__control--is-focused, .basic-multi-select .select__control--is-focused:hover {
border-color: transparent !important;
}
2020-08-28 14:30:01 +02:00
/* SETTINGS */
.checkbox__label-subtitle,
.form__desc,
.page-subtitle,
.card-title small,
.card-subtitle {
2020-08-28 14:30:01 +02:00
color: var(--text);
}
.dropdown-item.active,
.dropdown-item:active {
2020-08-28 14:30:01 +02:00
background-color: rgb(0 0 0 / 25%);
}
2020-08-28 14:30:01 +02:00
.service__icon {
color: #eee;
}
/* LOGS */
.logs__table {
background-color: rgb(255 255 255 / 8%);
}
.logs__text,
.logs__row .list-unstyled li,
.detailed-info,
.icon--lightgray,
.icon--gray,
.loading__text {
color: var(--text)
}
.rt-tr-group.red {
background-color: rgb(244 67 54 / 30%);
}
.rt-tr-group.blue {
background-color: rgb(54 146 244 / 30%);
}
.ReactTable .rt-noData {
background: transparent;
}
.ReactTable .-loading,
.ReactTable .-loading>div {
background: rgba(255, 255, 255, 0.5);
}
.loading:before {
background-color: transparent;
}
.custom-select:focus {
-webkit-box-shadow: none;
box-shadow: none;
}
/* FORMS */
.form-control--transparent {
color: var(--text);
}
.form-control--search {
outline: none;
}
.form-control:focus {
border-color: transparent;
-webkit-box-shadow: none;
box-shadow: none;
background: #ffffff !important;
}
2020-08-28 14:30:01 +02:00
.icon--selected {
background-color: rgb(255 255 255 / 15%);
border: solid 1px transparent;
}
.tab__control,
.tab__control--active {
2020-08-28 14:30:01 +02:00
color: var(--text);
}
2020-08-28 14:30:01 +02:00
/* BUTTONS */
.btn-outline-secondary {
color: #c9c9c9;
border-color: #c9c9c9;
}
.btn-success,
.btn-success.disabled,
.btn-success:disabled {
2020-08-28 14:30:01 +02:00
background-color: var(--button-color);
border-color: var(--button-color);
color: var(--text);
}
2020-08-28 14:30:01 +02:00
.btn-success:hover {
color: var(--text-hover);
background-color: var(--button-color-hover);
border-color: var(--button-color-hover);
}
.btn-success:focus,
.btn-success.focus {
2020-08-28 14:30:01 +02:00
-webkit-box-shadow: none;
box-shadow: none;
}
.btn-secondary {
color: var(--text);
background-color: rgb(255 255 255 / 25%);
border-color: rgb(255 255 255 / 0%);
-webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.05);
}
2020-08-28 14:30:01 +02:00
.btn-secondary:hover {
color: var(--text-hover);
background-color: var(--button-color-hover);
border-color: transparent;
}
/* MODALS */
.modal-content {
background: var(--modal-bg-color);
}
2020-08-28 14:30:01 +02:00
.ReactModal__Overlay--after-open {
background-color: rgb(0 0 0 / 0.7) !important;
}
2020-08-28 14:30:01 +02:00
/* MOBILE */
@media (max-width: 767px) {
.mobile-menu {
background: #1b1b1b !important;
}
.dropdown-menu {
background: #1f1f1f !important;
}
.ReactModal__Content {
background: var(--modal-bg-color) !important;
border: 1px solid transparent !important;
}
2020-08-28 14:30:01 +02:00
}
@media (max-width: 991px) {
.mobile-menu {
background: #1b1b1b !important;
}
.dropdown-menu {
background: #1f1f1f !important;
}
2020-08-28 14:30:01 +02:00
}
/* PLACEHOLDER TEXT */
::placeholder {
color: var(--text);
}
:-moz-placeholder {
color: var(--text);
}
:-ms-input-placeholder {
color: var(--text);
}
::-webkit-input-placeholder {
color: var(--text);
}