mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-24 00:20:23 +00:00
334 lines
6.1 KiB
CSS
334 lines
6.1 KiB
CSS
/*
|
|
Name: all.css
|
|
Author: @billz
|
|
Author URI: https://github.com/billz
|
|
Description: Classes shared by all themes
|
|
License: GNU General Public License v3.0
|
|
*/
|
|
|
|
:root {
|
|
--raspap-content-main: #495057;
|
|
--raspap-text-muted: #858796;
|
|
--raspap-brand-color: #2b8080;
|
|
}
|
|
|
|
a {
|
|
color: var(--raspap-brand-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.sb-sidenav .sb-sidenav-menu .nav .nav-link {
|
|
padding-top: 0.6rem;
|
|
padding-bottom: 0.6rem;
|
|
}
|
|
|
|
.sb-sidenav-light .sb-sidenav-menu .nav-link, .card-title, h4 {
|
|
color: var(--raspap-content-main);
|
|
}
|
|
|
|
.sb-topnav.navbar-light #sidebarToggle {
|
|
color: var(--raspap-content-main);
|
|
}
|
|
.sidebar-brand-text {
|
|
text-transform: none;
|
|
font-size: 2.0rem;
|
|
font-weight: 500;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
}
|
|
|
|
th {
|
|
color: var(--raspap-content-main) !important;
|
|
}
|
|
|
|
.h-underlined {
|
|
border-bottom: 1px solid #e3e6f0;
|
|
padding-bottom: 0.3rem;
|
|
}
|
|
|
|
.navbar-logo {
|
|
margin-top: 0.5em;
|
|
margin-left: 0.5em;
|
|
}
|
|
|
|
.page-header {
|
|
font-size: 26pt;
|
|
margin: 20px 0 20px;
|
|
}
|
|
|
|
.info-item {
|
|
text-transform: uppercase;
|
|
font-size: 0.7em;
|
|
color: var(--raspap-text-muted);
|
|
}
|
|
|
|
.info-value {
|
|
font-size: 0.7rem;
|
|
margin-left: 0.7rem;
|
|
}
|
|
|
|
.info-item-xs {
|
|
font-size: 0.7rem;
|
|
margin-left: 0.75rem;
|
|
}
|
|
|
|
.sb-status {
|
|
margin-left: 0.75rem!important;
|
|
}
|
|
|
|
.info-item-wifi {
|
|
width: 6rem;
|
|
float: left;
|
|
}
|
|
|
|
.service-status {
|
|
border-width: 0;
|
|
align-items: center;
|
|
}
|
|
|
|
.service-status-up {
|
|
color: #a1ec38 !important;
|
|
}
|
|
|
|
.service-status-warn {
|
|
color: #ffbf00 !important;
|
|
}
|
|
|
|
.service-status-down {
|
|
color: #f80107 !important;
|
|
}
|
|
|
|
@keyframes flash {
|
|
50% {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
.logoutput {
|
|
width:100%;
|
|
height: 20rem;
|
|
border: 1px solid #d1d3e2;
|
|
border-radius: .35rem;
|
|
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New,monospace;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.dhcp-static-leases {
|
|
margin-top: 1em;
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.dhcp-static-lease-row {
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
#wifiClientContent #wpaConf {
|
|
min-height: calc(100vh / 3);
|
|
}
|
|
|
|
.loading-spinner::before {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: calc(100vh / 4);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: var(--raspap-text-muted);
|
|
content: "\f1ce"; /* Unicode for the circle-notch icon */
|
|
font-family: "Font Awesome 5 Free";
|
|
font-weight: 900; /* Adjust as needed */
|
|
font-size: 54px; /* Adjust icon size as needed */
|
|
animation: spin 1.2s linear infinite;
|
|
width: 100%;
|
|
}
|
|
|
|
@keyframes spin {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
@media (min-width: 576px) {
|
|
.card-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 50%;
|
|
grid-gap: 1rem;
|
|
}
|
|
}
|
|
|
|
.toggle-off.btn {
|
|
padding-left: 1.2rem;
|
|
font-size: 0.9rem!important;
|
|
}
|
|
|
|
.toggle-on.btn {
|
|
font-size: 0.9rem!important;
|
|
}
|
|
|
|
canvas#divDBChartBandwidthhourly {
|
|
height: 350px!important;
|
|
}
|
|
|
|
.chart-container {
|
|
height: 150px;
|
|
width: 200px;
|
|
}
|
|
|
|
.dbChart {
|
|
display: flex;
|
|
height: 80%;
|
|
}
|
|
|
|
.table {
|
|
margin-bottom: 0rem;
|
|
}
|
|
|
|
.check-hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.check-progress {
|
|
color: #999;
|
|
}
|
|
|
|
.fa-check {
|
|
color: #90ee90;
|
|
}
|
|
|
|
.fa-times {
|
|
color: #ff4500;
|
|
}
|
|
|
|
button.btn.btn-light.js-toggle-password {
|
|
border: 1px solid lightgrey;
|
|
}
|
|
|
|
.signal-icon {
|
|
margin-top: 2px;
|
|
height: 16px;
|
|
width: 16px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
.signal-icon .signal-bar {
|
|
width: 4px;
|
|
border-radius: 1px;
|
|
opacity: 30%;
|
|
}
|
|
|
|
.signal-icon .signal-bar:nth-child(1) { height: 40%; }
|
|
.signal-icon .signal-bar:nth-child(2) { height: 70%; }
|
|
.signal-icon .signal-bar:nth-child(3) { height: 100%; }
|
|
|
|
.signal-icon.weak .signal-bar:nth-child(1),
|
|
.signal-icon.medium .signal-bar:nth-child(1),
|
|
.signal-icon.medium .signal-bar:nth-child(2),
|
|
.signal-icon.strong .signal-bar:nth-child(1),
|
|
.signal-icon.strong .signal-bar:nth-child(2),
|
|
.signal-icon.strong .signal-bar:nth-child(3)
|
|
{ opacity: 100%; }.signal-icon {
|
|
margin-top: 2px;
|
|
height: 16px;
|
|
width: 16px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
}
|
|
.signal-icon .signal-bar {
|
|
width: 4px;
|
|
border-radius: 1px;
|
|
opacity: 30%;
|
|
}
|
|
|
|
.signal-icon .signal-bar:nth-child(1) { height: 40%; }
|
|
.signal-icon .signal-bar:nth-child(2) { height: 70%; }
|
|
.signal-icon .signal-bar:nth-child(3) { height: 100%; }
|
|
|
|
.signal-icon.weak .signal-bar:nth-child(1),
|
|
.signal-icon.medium .signal-bar:nth-child(1),
|
|
.signal-icon.medium .signal-bar:nth-child(2),
|
|
.signal-icon.strong .signal-bar:nth-child(1),
|
|
.signal-icon.strong .signal-bar:nth-child(2),
|
|
.signal-icon.strong .signal-bar:nth-child(3)
|
|
{ opacity: 100%; }
|
|
|
|
.gs-edit {
|
|
border: 1px dashed #ccc;
|
|
background-color: #f1faee;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
figcaption.figure-caption a {
|
|
color: var(--raspap-text-muted);
|
|
}
|
|
|
|
button > i.fas {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.close {
|
|
font-weight: 400;
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.was-validated .form-control:valid,
|
|
.was-validated .form-control:invalid {
|
|
background-position: center right calc(.375em + .4875rem);
|
|
}
|
|
|
|
.was-validated .form-control:invalid {
|
|
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
|
|
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
|
|
}
|
|
|
|
.was-validated .form-control:valid {
|
|
background-size: calc(0.6em + 0.375rem) calc(0.6em + 0.375rem);
|
|
}
|
|
|
|
.input-group>.input-group-append:not(:last-child)>.btn {
|
|
border-top-right-radius: 0.35rem;
|
|
border-bottom-right-radius: 0.35rem;
|
|
}
|
|
|
|
.nav-user {
|
|
position: relative;
|
|
bottom: 11px;
|
|
right: 3px;
|
|
}
|
|
|
|
.nav-item {
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
/* Font Awesome 5 brands */
|
|
.fa-reddit {
|
|
color: #ff4500;
|
|
}
|
|
.fa-twitter {
|
|
color: #55acee
|
|
}
|
|
.fa-discord {
|
|
color: #7289da
|
|
}
|
|
.fa-github {
|
|
color: #151b23
|
|
}
|
|
|
|
@keyframes heart {
|
|
0%, 40%, 80%, 100% {
|
|
transform: scale(1);
|
|
}
|
|
20%, 60% {
|
|
transform: scale(1.15);
|
|
}
|
|
}
|
|
|
|
.heart {
|
|
color: #e63946;
|
|
animation: heart 1000ms infinite;
|
|
}
|
|
|