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

116 lines
1.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
?>
/*
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 15:09:41 +01:00
@import url('all.css');
2020-06-30 17:46:04 +02:00
body {
color: #212529;
}
.sidebar {
background-color: #f8f9fc;
}
.sidebar .nav-item.active .nav-link {
font-weight: 500;
}
2020-12-24 21:52:18 +01:00
.card .card-header, .modal-header {
2020-06-30 17:46:04 +02:00
border-color: <?php echo $color; ?>;
color: #fff;
background-color: <?php echo $color; ?>;
}
2020-12-24 21:52:18 +01:00
.modal-header {
border-radius: 0px;
}
2020-06-30 17:46:04 +02:00
.btn-primary {
color: <?php echo $color; ?>;
border-color: <?php echo $color; ?>;
background-color: #fff;
}
2020-12-24 21:52:18 +01:00
.card-footer, .modal-footer {
2020-06-30 17:46:04 +02: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 12:02:19 +01:00
.signal-icon .signal-bar {
background: <?php echo $color; ?>;
}