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

245 lines
3.7 KiB
PHP
Raw Normal View History

2020-06-30 17:46:04 +02:00
<?php header("Content-Type: text/css; charset=utf-8"); ?>
<?php
2020-07-01 11:32:31 +02:00
require_once '../../includes/functions.php';
$color = getColorOpt();
2020-06-30 17:46:04 +02:00
?>
2020-03-06 19:40:47 +01:00
/*
Theme Name: RaspAP default
Author: @billz
Author URI: https://github.com/billz
Description: Default theme for RaspAP
License: GNU General Public License v3.0
*/
2019-10-11 21:39:35 +02:00
body {
color: #212529;
}
.page-header {
margin: 20px 0 20px;
}
2020-02-02 12:37:23 +01:00
.navbar-logo {
margin-top: 0.5em;
margin-left: 0.5em;
}
/* Small devices (portrait 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:25:16 +02:00
.sidebar {
background-color: #f8f9fc;
}
2019-10-11 21:39:35 +02:00
.sidebar-brand-text {
text-transform: none;
color: #212529;
2019-10-15 22:06:25 +02:00
font-size: 2.0rem;
2019-10-11 21:39:35 +02:00
font-weight: 500;
2019-10-13 00:04:27 +02:00
font-family: Helvetica, Arial, sans-serif;
2019-10-11 21:39:35 +02:00
}
2019-10-24 23:24:36 +02:00
.sidebar .nav-item.active .nav-link {
font-weight: 500;
}
2020-04-20 23:36:34 +02:00
.sidebar-light hr.sidebar-divider {
padding-top: 0.5rem;
}
2019-10-11 21:39:35 +02:00
.card .card-header {
2020-06-30 17:46:04 +02:00
border-color: <?php echo $color; ?>;
2019-10-11 21:39:35 +02:00
color: #fff;
2020-06-30 17:46:04 +02:00
background-color: <?php echo $color; ?>;
}
.btn-primary {
color: <?php echo $color; ?>;
border-color: <?php echo $color; ?>;
background-color: #fff;
}
2019-10-11 21:39:35 +02:00
.card-footer {
background-color: #f2f1f0;
}
2019-10-11 21:39:35 +02:00
.nav-item {
font-size: 0.85rem;
}
2019-10-14 22:16:11 +02:00
.nav-tabs .nav-link.active,
.nav-tabs .nav-link {
font-size: 1.0rem;
}
.nav-tabs a.nav-link {
color: #6e707e;
}
a.nav-link.active {
2020-03-01 18:00:50 +01:00
font-weight: bolder;
2019-10-14 22:16:11 +02:00
}
2019-10-11 21:39:35 +02:00
.sidebar .nav-item .nav-link {
2020-03-01 18:00:50 +01:00
padding: 0.6rem 0.6rem 0.6rem 1.0rem;
2019-10-11 21:39:35 +02:00
}
.alert-success {
background-color: #d4edda;
}
.btn-primary {
background-color: #fff;
}
.btn-warning {
color: #333;
}
.btn-primary:hover {
2020-06-30 17:46:04 +02:00
background-color: <?php echo $color; ?>;
border-color: <?php echo $color; ?>;
}
2019-10-18 10:12:30 +02:00
i.fa.fa-bars {
color: #d1d3e2;
}
i.fa.fa-bars:hover{
color: #6e707e;
}
.info-item {
2019-10-15 01:02:05 +02:00
width: 10rem;
float: left;
}
2020-02-02 12:37:23 +01:00
.info-item-xs {
font-size: 0.7rem;
margin-left: 0.3rem;
}
2019-10-15 19:29:00 +02:00
.info-item-wifi {
width: 6rem;
float: left;
}
2019-10-14 22:16:11 +02:00
.service-status {
border-width: 0;
}
.service-status-up {
2020-02-02 16:34:53 +01:00
color: #a1ec38;
}
2019-10-14 22:16:11 +02:00
2020-02-02 13:35:21 +01:00
.service-status-warn {
2020-02-02 16:34:53 +01:00
color: #f6f044;
2020-02-02 13:35:21 +01:00
}
.service-status-down {
2020-02-02 16:34:53 +01:00
color: #f80107;
animation: flash 1s linear infinite;
}
@keyframes flash {
50% {
opacity: 0;
}
}
2019-10-14 22:16:11 +02:00
.logoutput {
width:100%;
2019-10-22 10:03:13 +02:00
height: 20rem;
border: 1px solid #d1d3e2;
border-radius: .35rem;
}
pre.unstyled {
border-width: 0;
background-color: transparent;
padding: 0;
}
.dhcp-static-leases {
margin-top: 1em;
margin-bottom: 1em;
}
.dhcp-static-lease-row {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.loading-spinner {
2019-10-08 20:08:25 +02:00
background: url("../../app/img/loading-spinner.gif") no-repeat scroll center center transparent;
min-height: 150px;
width: 100%;
}
2019-10-15 14:43:20 +02:00
.js-reload-wifi-stations {
min-width: 10rem;
}
2019-10-14 00:48:52 +02:00
.sidebar.toggled .nav-item .nav-link span {
display: none;
2019-10-15 14:43:20 +02:00
} .sidebar .nav-item .nav-link i,
2019-10-14 00:48:52 +02:00
.sidebar .nav-item .nav-link span {
font-size: 1.0rem;
}
.btn-warning:hover {
color: #000;
}
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;
}
canvas#divDBChartBandwidthhourly {
2020-02-02 12:37:23 +01:00
height: 350px!important;
}
2020-02-03 10:34:17 +01:00
.chart-container {
height: 150px;
width: 200px;
}
.table {
margin-bottom: 0rem;
}
2020-03-27 09:50:18 +01:00
.check-hidden {
visibility: hidden;
}
.check-updated {
opacity: 0;
2020-06-30 17:46:04 +02:00
color: #90ee90;
2020-03-27 09:50:18 +01:00
}
2020-03-31 02:04:52 +02:00
.check-progress {
color: #999;
}
2020-06-30 17:46:04 +02:00
.fa-check {
color: #90ee90;
}
.fa-times {
color: #ff4500;
}