1
0
mirror of https://github.com/gilbN/theme.park.git synced 2024-10-03 05:57:16 +02:00
theme.park/CSS/themes/duplicacy/duplicacy-base.css
rg9400 a87c2102c5
Duplicacy fixes
Fix the active tab indicator for the mobile sidebar, remove transparency on the pinned table header in restore window, *try* to fix the initial state of the "OK" button when trying to mark a job as parallel in the schedule window.

Placeholder text is not being differentiated from normal text in input boxes, so that's still pending along with the Schedule Graph navpills. Rest seems to look amazing to me now (up to you if you want to try to handle the multiple layers of cards on Schedule/Backup tabs, though I think it still looks good).
2020-10-11 12:10:16 -05:00

421 lines
8.9 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 */
body {
background: var(--main-bg-color);
}
a {
color: var(--link-color);
}
a:hover {
color: #fff;
}
/* Scrollbar */
@media only screen and (min-width: 768px) {
html {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
overflow-y: auto;
height: 100%;
background: var(--main-bg-color)
}
}
::-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;
}
/* TEXT */
body,
.card,
.category,
.card label,
.card .labels p,
.card .title,
.card .stats,
.vis-time-axis .vis-text,
.footer .copyright,
.navbar-default .navbar-brand {
color: var(--text) !important;
}
.main-panel {
background: var(--main-bg-color);
}
.content .card {
box-shadow: none;
}
/* CARDS */
.card {
background: rgb(255 255 255 / 8%);
}
/* TIMELINE */
.vis-timeline {
border: 1px solid rgb(255 255 255 / 20%);
}
/* CHARTS */
.ct-label {
fill: var(--text);
color: var(--text);
}
.ct-grid {
stroke: #777;
}
.tab-content {
border-color: transparent !important;
}
.vis-labelset .vis-label .vis-inner {
color: var(--text);
}
/* NAVBAR */
.navbar-default .navbar-toggle .icon-bar {
background-color: var(--text);
}
.navbar-default {
background-color: rgb(0 0 0 / 26%);
border-bottom: 1px solid rgb(255 255 255 / 25%);
}
/* SIDEBAR */
.sidebar[data-background-color="black"]:after,
.sidebar[data-background-color="black"]:before,
.off-canvas-sidebar[data-background-color="black"]:after,
.off-canvas-sidebar[data-background-color="black"]:before {
background: rgb(0 0 0 / 10%);
}
.sidebar .nav li.active>a:before,
.sidebar .nav li.active>a:after {
border-right: 17px solid var(--accent-color);
}
@media (min-width: 992px) {
.off-canvas-sidebar .nav li.active>a:before,
.off-canvas-sidebar .nav li.active>a:after {
border-right: 17px solid var(--accent-color);
}
}
.sidebar[data-active-color="success"] .nav li.active>a,
.off-canvas-sidebar[data-active-color="success"] .nav li.active>a {
color: var(--accent-color);
}
.sidebar .sidebar-wrapper {
box-shadow: none;
}
/* MODAL */
.modal-content {
background: var(--modal-bg-color);
border: 1px solid transparent;
}
.modal-header {
border-bottom: 1px solid rgb(255 255 255 / 25%);
}
.modal-footer {
border-top: 1px solid rgb(255 255 255 / 25%);
}
.modal-body .nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
color: var(--text);
cursor: default;
background-color: rgba(0, 0, 0, .25);
border: 1px solid transparent;
border-bottom-color: transparent;
}
.modal-body .nav>li>a:hover,
.nav>li>a:focus {
background-color: transparent;
}
.modal-body .nav-tabs>li.active>a:hover {
background-color: rgba(0, 0, 0, .25);
border: 1px solid transparent;
}
.modal-body .nav-tabs>li>a:hover {
border-color: #fff3 #fff3 #fff3;
color: var(--text-hover)
}
.modal-body .nav-tabs>li>a {
color: var(--text)
}
#modal_storage_info_tab_content {
border: none !important;
}
.modal-body .nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover {
background-color: rgb(0 0 0 / 25%);
border-color: transparent;
}
/* DROPDOWN */
.dropdown-menu {
background: var(--modal-bg-color);
}
.dropdown a {
color: var(--text) !important;
}
.dropdown a:hover {
color: var(--text-hover) !important;
}
/* FORMS */
.form-control.border-input {
border: 1px solid transparent;
}
.form-control,
textarea {
background-color: rgba(0, 0, 0, .25);
color: var(--text);
}
.form-control:focus {
background-color: rgb(0 0 0 / 50%);
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
background-color: rgba(0, 0, 0, .15);
}
#input_s3_provider:focus,
#schedule_frequency:focus,
#modal_restore_storage:focus,
#modal_restore_id:focus,
#modal_restore_revision:focus {
background: white;
color: black;
}
.form-check-label{
word-break: break-word;
}
/* BUTTONS */
.btn {
color: var(--text);
}
.timepicker-spinner .btn:hover,
.timepicker-spinner .btn:focus {
background-color: rgba(255, 255, 255, .08);
color: var(--text-hover);
border: 1px solid transparent;
}
.timepicker-spinner .btn {
border: 1px solid transparent;
}
.timepicker-spinner .input-group-btn-vertical {
border-left: 1px solid transparent;
}
.btn-info.btn-fill {
color: var(--text);
background-color: var(--button-color);
border: var(--button-color);
}
.btn-info.btn-fill:hover,
.btn-info.btn-fill:active,
.btn-info.btn-fill.active,
.btn-info.btn-fill:focus {
background: var(--button-color-hover);
border: var(--button-color-hover);
}
.btn-primary {
border-color: var(--button-color);
color: var(--button-color);
}
.btn-primary:focus {
border-color: var(--button-color);
color: var(--button-color);
background-color: transparent;
}
.btn-primary:hover {
border-color: var(--button-color-hover);
color: var(--text-hover);
background-color: var(--button-color-hover);
}
.btn-primary.btn-fill {
color: var(--text);
background-color: var(--button-color);
border-color: var(--button-color);
}
.btn-primary.btn-fill:hover {
color: var(--text-hover);
background-color: var(--button-color-hover);
border-color: var(--button-color-hover);
}
div>div>div.modal-footer>button.btn.btn-default.pull-left {
border-color: #F44336;
color: #F44336;
}
div>div>div.modal-footer>button.btn.btn-default.pull-left:hover,
.navbar .navbar-nav > li > a.btn-danger.btn-fill, .btn-danger.btn-fill {
border-color: #F44336;
color: var(--text-hover);
background-color: #F44336;
}
.navbar .navbar-nav>li>a.btn-success,
.btn-success {
border-color: var(--button-color);
color: var(--button-color);
}
.navbar .navbar-nav>li>a.btn-success:hover,
.navbar .navbar-nav>li>a.btn-success:focus,
.navbar .navbar-nav>li>a.btn-success:active,
.navbar .navbar-nav>li>a.btn-success.active,
.open>.navbar .navbar-nav>li>a.btn-success.dropdown-toggle,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active,
.open>.btn-success.dropdown-toggle {
background-color: var(--button-color-hover);
color: var(--text-hover);
border-color: var(--button-color-hover);
}
.radio-box input:checked ~ .radio-button {
background-color: var(--button-color);
}
/* TABLES */
.table>tbody>tr.active>td,
.table>tbody>tr.active>th,
.table>tbody>tr>td.active,
.table>tbody>tr>th.active,
.table>tfoot>tr.active>td,
.table>tfoot>tr.active>th,
.table>tfoot>tr>td.active,
.table>tfoot>tr>th.active,
.table>thead>tr.active>td,
.table>thead>tr.active>th,
.table>thead>tr>td.active,
.table>thead>tr>th.active,
.row-clickable.active {
background-color: rgb(0 0 0 / 25%);
}
.fixed-header th {
background: var(--main-bg-color);
}
.table thead tr>th,
.table thead tr>td,
.table tbody tr>th,
.table tbody tr>td,
.table tfoot tr>th,
.table tfoot tr>td,
hr {
border-top: 1px solid rgb(255 255 255 / 20%);
}
.list-group-item{
background-color: transparent;
}
.list-group-item.active, .list-group-item.active:focus, .list-group-item.active:hover {
background-color: var(--accent-color);
border-color: var(--accent-color);
}
/* PROGRESS BARS */
.progress {
background-color: rgba(0, 0, 0, 0.25);
}
.progress-bar {
background-color: var(--accent-color);
}
.progress span {
color: var(--text);
}
/* FOOTER */
.main-panel>.footer {
background: rgb(0 0 0 / 0.25);
}
/* MOBILE */
@media (max-width: 991px) {
.off-canvas-sidebar .sidebar-wrapper {
box-shadow: 0 0 10px 0px #000000;
background: var(--modal-bg-color);
}
.off-canvas-sidebar .nav li.active>a:before,
.off-canvas-sidebar .nav > li.active > a:after {
border-left: 17px solid var(--accent-color);
}
}