raspap-webgui-mirror/app/css/custom.php

125 lines
1.9 KiB
PHP
Raw Normal View History

2020-06-30 15:46:04 +00:00
<?php header("Content-Type: text/css; charset=utf-8"); ?>
<?php
2020-07-01 09:32:31 +00:00
require_once '../../includes/functions.php';
$color = getColorOpt();
2020-06-30 15:46:04 +00: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
*/
2023-03-24 14:09:41 +00:00
@import url('all.css');
2020-06-30 15:46:04 +00:00
body {
color: #212529;
}
.sidebar {
background-color: #f8f9fc;
}
.sidebar .nav-item.active .nav-link {
font-weight: 500;
}
.sidebar-brand-text {
color: <?php echo $color; ?>;
}
2020-12-24 20:52:18 +00:00
.card .card-header, .modal-header {
2020-06-30 15:46:04 +00:00
border-color: <?php echo $color; ?>;
color: #fff;
background-color: <?php echo $color; ?>;
}
2020-12-24 20:52:18 +00:00
.modal-header {
border-radius: 0px;
}
2020-06-30 15:46:04 +00:00
.btn-primary {
color: <?php echo $color; ?>;
border-color: <?php echo $color; ?>;
background-color: #fff;
}
2023-11-05 13:46:32 +00:00
.btn-primary:disabled {
color: <?php echo $color; ?> !important;
border-color: <?php echo $color; ?> !important;
background-color: #fff !important;
}
2020-12-24 20:52:18 +00:00
.card-footer, .modal-footer {
2020-06-30 15:46:04 +00:00
background-color: #f2f1f0;
}
.nav-item {
font-size: 0.85rem;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-link {
font-size: 1.0rem;
}
.nav-tabs a.nav-link {
color: #6e707e;
}
a.nav-link.active {
font-weight: bolder;
}
.sidebar .nav-item .nav-link {
padding: 0.6rem 0.6rem 0.6rem 1.0rem;
}
.alert-success {
background-color: #d4edda;
}
.btn-primary {
background-color: #fff;
}
.btn-warning {
color: #333;
}
.btn-primary:hover {
background-color: <?php echo $color; ?>;
border-color: <?php echo $color; ?>;
}
i.fa.fa-bars {
color: #d1d3e2;
}
i.fa.fa-bars:hover{
color: #6e707e;
}
pre.unstyled {
border-width: 0;
background-color: transparent;
padding: 0;
}
.sidebar.toggled .nav-item .nav-link span {
display: none;
} .sidebar .nav-item .nav-link i,
.sidebar .nav-item .nav-link span {
font-size: 1.0rem;
}
.btn-warning:hover {
color: #000;
}
2023-03-24 11:02:19 +00:00
.signal-icon .signal-bar {
background: <?php echo $color; ?>;
}