1
0
mirror of https://github.com/billz/raspap-webgui.git synced 2023-10-10 13:37:24 +02:00
raspap-webgui/app/css/lightsout.css

471 lines
7.5 KiB
CSS
Raw Normal View History

2020-03-06 19:40:47 +01:00
/*
Theme Name: Lights Out
Author: @billz
Author URI: https://github.com/billz
Description: A dark mode theme for RaspAP
License: GNU General Public License v3.0
*/
html * {
2020-03-06 19:40:47 +01:00
font-family: Helvetica,Arial,sans-serif;
2019-10-24 23:24:36 +02:00
font-size: 1.0rem;
2020-03-06 19:40:47 +01:00
color: #afafaf;
}
2020-04-12 12:27:02 +02:00
h2 {
font-size: 2rem !important;
}
2019-10-20 19:24:56 +02:00
h4 {
font-size: 1.3rem;
}
h5.card-title {
font-size: 1.2rem;
}
.page-header {
padding: 0 20px;
2020-03-06 19:40:47 +01:00
border-left: .01rem solid #d2d2d2;
2020-02-03 19:54:58 +01:00
}
.navbar-logo {
margin-top: 0.5em;
margin-left: 0.5em;
2020-03-06 19:40:47 +01:00
filter: brightness(70%);
}
2019-10-24 23:24:36 +02:00
.sidebar-light .nav-item.active .nav-link i {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
2019-10-24 23:24:36 +02:00
}
.sidebar .nav-item.active .nav-link {
2020-03-06 19:40:47 +01:00
font-weight: 400;
2019-10-24 23:24:36 +02:00
}
2019-10-20 19:24:56 +02:00
#wrapper #content-wrapper #content {
2020-03-06 19:40:47 +01:00
background-color: #202020;
}
/* Small devices (portait phones, up to 576px) */
@media (max-width: 576px) {
.container-fluid, .card-body, .col-md-6 { padding-left: 0.5rem; padding-right: 0.5rem; }
.card .card-header { padding: .75rem .5rem; font-size: 1.0rem; }
.row { margin-left: 0rem; margin-right: 0rem; }
.col-lg-12 { padding-right: 0.25rem; padding-left: 0.25rem; }
.form-group.col-md-6 { margin-left: -0.5rem; }
.js-wifi-stations { margin-left: -0.5rem; margin-right: -0.5rem; }
h4.mt-3 { margin-left: 0.5rem; }
}
2019-10-20 19:24:56 +02:00
.topbar {
2020-03-06 19:40:47 +01:00
background-color: #202020;
}
2020-03-06 19:40:47 +01:00
.nav-tabs {
border-bottom: 1px solid #404040;
}
2019-10-20 19:24:56 +02:00
.nav-tabs .nav-link.active,
.nav-tabs .nav-link {
font-size: 1.0rem;
}
2020-03-06 19:40:47 +01:00
.nav-tabs .nav-link:hover {
border-color: transparent;
}
2019-10-20 19:24:56 +02:00
.navbar-default .navbar-brand:hover {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
}
.navbar-default .navbar-toggle {
2020-03-06 19:40:47 +01:00
border-color: #d2d2d2;
}
.navbar-default .navbar-toggle .icon-bar {
2020-03-06 19:40:47 +01:00
background-color: #d2d2d2;
}
2019-10-20 19:24:56 +02:00
.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
2020-03-06 19:40:47 +01:00
background-color: #202020;
}
2020-03-17 00:18:35 +01:00
#content, .navbar, .sidebar, .footer, .sticky-footer {
background-image: url('/app/img/bg.png');
background-attachment: scroll;
background-repeat: repeat;
background-size: auto;
background-position: 0 0;
background-origin: padding-box;
background-clip: border-box;
}
.sticky-footer {
background-position: 30px 0;
}
.sidebar {
background-position: 0 20px;
}
2019-10-20 19:24:56 +02:00
.nav-tabs .nav-link.active {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
background-color: #141414;
border-color: #404040 #404040 #141414;
}
a:focus, a:hover {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
}
2020-12-24 21:52:18 +01:00
.card>.card-header, .modal-content, .modal-header {
2020-03-06 19:40:47 +01:00
border-color: #404040;
background-color: #202020;
2020-03-17 00:18:35 +01:00
color: #afafaf;
2020-03-06 19:40:47 +01:00
border-top-right-radius: 3px;
border-top-left-radius: 3px;
2020-03-17 00:18:35 +01:00
font-size: 1.0rem;
2020-03-06 19:40:47 +01:00
font-weight: 400;
}
2020-12-24 21:52:18 +01:00
.modal-body {
background-color: #141414;
}
2019-10-20 19:24:56 +02:00
.card>.card-header .fa {
2020-03-06 19:40:47 +01:00
color: #202020;
}
2019-10-20 19:24:56 +02:00
.card-header [class^="fa"] {
2020-03-06 19:40:47 +01:00
color: #afafaf;
2019-10-20 19:24:56 +02:00
font-size: 1.0rem;
}
2019-10-20 19:24:56 +02:00
.col {
2020-03-06 19:40:47 +01:00
color: #afafaf;
2019-10-20 19:24:56 +02:00
}
.card, .card-body {
2020-03-06 19:40:47 +01:00
border-color: #343434;
border-radius: 3px;
background-color: #141414;
}
hr {
2020-03-06 19:40:47 +01:00
border-top: .01rem solid #d2d2d2;
}
.page-header {
font-size: 24pt;
margin: 10px 0 20px;
2020-03-06 19:40:47 +01:00
border-bottom: .01rem solid #d2d2d2;
}
2019-10-20 19:24:56 +02:00
.sidebar-brand-text {
text-transform: none;
2020-03-06 19:40:47 +01:00
color: #ac1b3d;
2019-10-20 19:24:56 +02:00
font-size: 2.0rem;
font-weight: 500;
font-family: inherit;
}
2020-04-30 14:35:17 +02:00
.ra-raspap:before {
color: #ac1b3d !important;
}
2019-10-20 19:24:56 +02:00
.sidebar-light #sidebarToggle {
2020-03-06 19:40:47 +01:00
background-color: #202020;
2020-03-07 08:07:55 +01:00
border: 1px solid #afafaf !important
2019-10-20 19:24:56 +02:00
}
.sidebar-light #sidebarToggle::after {
2020-03-07 08:07:55 +01:00
color: #afafaf;
}
2019-10-20 19:24:56 +02:00
.sidebar-light .nav-item .nav-link:hover i {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
2019-10-20 19:24:56 +02:00
}
.sidebar-light #sidebarToggle:hover {
2020-03-06 19:40:47 +01:00
background-color: #202020;
2019-10-20 19:24:56 +02:00
}
2019-10-29 19:30:07 +01:00
.sidebar.toggled .nav-item .nav-link span {
display: none;
}
.sidebar.toggled .nav-item .nav-link {
text-align: center;
padding: .6rem 1rem;
width: 6.5rem;
}
2020-12-24 21:52:18 +01:00
.card-footer, .modal-footer {
2020-03-06 19:40:47 +01:00
background-color: #202020;
border-top: 0px;
}
2020-12-24 21:52:18 +01:00
.modal-footer {
border-radius: 0.3rem;
}
2019-10-20 19:24:56 +02:00
.card>.card-header::before, .navbar-default::before {
content: " ";
display: block;
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 2;
background-size: 100% 2px, 3px 100%;
pointer-events: none;
}
2019-10-20 19:24:56 +02:00
.sidebar-light, .sticky-footer {
2020-03-06 19:40:47 +01:00
background-color: #202020;
}
2019-10-20 19:24:56 +02:00
.sidebar-light .nav-item .nav-link i {
2020-03-06 19:40:47 +01:00
color: rgba(230, 230, 230, .3);
}
2019-10-20 19:24:56 +02:00
.sidebar .nav-item .nav-link {
padding: 0.6rem;
2020-03-06 19:40:47 +01:00
padding-left: 1.2rem;
}
2019-10-20 19:24:56 +02:00
.sidebar-light hr.sidebar-divider {
2020-03-06 19:40:47 +01:00
border-top: 1px solid #404040;
padding-top: 0.5rem;
}
.sidebar .nav-item .nav-link span {
font-size: 1.0rem;
}
2019-10-20 19:24:56 +02:00
.topbar .topbar-divider {
2020-03-06 19:40:47 +01:00
border-right: 1px solid #404040;
}
2019-11-17 13:01:36 +01:00
.info-item {
2021-04-02 18:03:35 +02:00
text-transform: uppercase;
font-size: 0.7em;
color: #858796;
2019-11-17 13:01:36 +01:00
}
.info-value {
font-size: 0.7rem;
margin-left: 0.7rem;
}
2020-02-03 19:54:58 +01:00
.info-item-xs {
font-size: 0.7rem;
2020-03-06 19:40:47 +01:00
line-height: 1.5em;
margin-left: 0.5rem;
2020-02-03 19:54:58 +01:00
}
2019-10-20 19:24:56 +02:00
.info-item-wifi {
width: 6rem;
float: left;
}
.label-warning {
2020-03-06 19:40:47 +01:00
background-color: #d2d2d2;
}
span.label.label-warning {
2020-03-06 19:40:47 +01:00
color: #202020;
}
2019-10-20 19:24:56 +02:00
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
2020-03-06 19:40:47 +01:00
background-color: #202020;
border-top: .01rem solid #202020;
}
.table>thead>tr>th {
vertical-align: bottom;
2020-03-06 19:40:47 +01:00
border-bottom: .01rem solid #d2d2d2;
}
2019-10-20 19:24:56 +02:00
[class*="btn"], [class*="btn"]:focus, [class*="btn"]:disabled {
2020-03-06 19:40:47 +01:00
background-color: #202020;
border-color: #404040;
border-radius: 3px;
color: #d2d2d2;
}
2019-10-20 19:24:56 +02:00
[class*="btn"]:hover {
2020-03-06 19:40:47 +01:00
border-radius: 3px;
color: #d2d2d2;
background-color: #202020;
border-color: #afafaf;
}
2019-10-20 19:24:56 +02:00
[class*="btn"]:hover .disabled {
background-color:red;
}
2019-10-20 19:24:56 +02:00
[class*="alert"] {
2020-03-10 12:56:03 +01:00
border-radius: .35rem;
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
background-color: #202020;
2020-03-10 12:56:03 +01:00
border: 1px solid #404040;
}
.close {
2020-03-10 12:56:03 +01:00
font-size: 1.2em;
font-weight: 400;
text-shadow: none;
color: #d2d2d2;
}
2019-10-20 19:24:56 +02:00
.form-control,
2020-03-17 08:30:26 +01:00
.form-control:focus,
.custom-select {
2020-03-06 19:40:47 +01:00
color: #d2d2d2;
background-color: #202020;
border: 1px solid #404040;
border-radius: 3px;
}
2019-10-20 19:24:56 +02:00
.form-control:disabled,
.form-control[readonly] {
2020-03-06 19:40:47 +01:00
background-color: #202020;
2019-10-20 19:24:56 +02:00
opacity: 0.5;
}
2020-03-06 19:40:47 +01:00
.form-control::-webkit-input-placeholder { color: #d2d2d2; }
.form-control:-moz-placeholder { color: #d2d2d2; }
.form-control::-moz-placeholder { color: #d2d2d2; }
.form-control:-ms-input-placeholder { color: #d2d2d2; }
.form-control::-ms-input-placeholder { color: #d2d2d2; }
2019-10-20 19:24:56 +02:00
input[type="text"]{
2020-03-06 19:40:47 +01:00
color: #d2d2d2 !important
2019-10-20 19:24:56 +02:00
}
.progress {
2020-03-06 19:40:47 +01:00
background-color: #202020;
border-radius: 0px;
}
.progress-bar {
2020-03-06 19:40:47 +01:00
color: #202020;
}
.progress-bar.progress-bar-info.progress-bar-striped.active {
2020-03-06 19:40:47 +01:00
background-color: #d2d2d2;
}
.logoutput {
width: 100%;
height: 300px;
2020-03-06 19:40:47 +01:00
background-color: #202020;
border-color: #404040;
}
tspan, rect {
2020-03-06 19:40:47 +01:00
fill: #d2d2d2;
}
span.text.service-status {
font-size: 0.75rem;
margin-top: 0.2rem;
}
2020-03-06 19:40:47 +01:00
.text-muted {
font-size: 0.8rem;
}
2020-02-06 13:37:09 +01:00
.fas.fa-circle {
font-size: 0.5rem;
}
2020-03-06 19:40:47 +01:00
.service-status-up {
color: #a1ec38 !important;
}
2020-03-06 19:40:47 +01:00
.service-status-warn {
color: #f6f044 !important;
}
.service-status-down {
color: #f80107 !important;
2019-10-20 19:24:56 +02:00
animation: flash 1s linear infinite;
}
2019-10-20 19:24:56 +02:00
@keyframes flash {
50% {
opacity: 0;
}
}
pre {
2020-03-06 19:40:47 +01:00
background-color: #202020;
border: #202020;
}
2019-10-20 19:24:56 +02:00
.dhcp-static-leases {
margin-top: 1em;
margin-bottom: 1em;
}
.dhcp-static-lease-row {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
2019-10-22 10:03:13 +02:00
.toggle-off.btn {
padding-left: 1.2rem;
font-size: 0.9rem!important;
}
.toggle-on.btn {
font-size: 0.9rem!important;
}
2020-02-03 10:34:17 +01:00
canvas#divDBChartBandwidthhourly {
height: 350px!important;
}
.chart-container {
height: 150px;
width: 200px;
}
.table {
margin-bottom: 0rem;
}
2020-03-06 19:40:47 +01:00
.figure, .authors {
filter: brightness(70%) !important;
}
2020-03-31 02:04:52 +02:00
.check-hidden {
visibility: hidden;
}
.check-updated {
opacity: 0;
color: #1cc88a;
}
.check-progress {
color: #999;
}
2020-06-29 17:07:38 +02:00
.fa-check {
color: #90ee90;
}
.fa-times {
color: #ff4500;
}