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

Fixed insiders dashboard - light theme

This commit is contained in:
Marek Guráň 2023-08-07 18:37:58 +02:00 committed by GitHub
parent 2f3582d952
commit 5970ee397b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,7 +15,7 @@ License: GNU General Public License v3.0
<?php <?php
// Base color // Base color
$baseColor = $color; // Replace this with your desired color value $baseColor = $color;
// Function to darken a color by a percentage // Function to darken a color by a percentage
function darkenColor($color, $percent) function darkenColor($color, $percent)
@ -63,7 +63,6 @@ $secondaryColor = lightenColor($baseColor, 50);
$primaryColor = $baseColor; $primaryColor = $baseColor;
$backgroundColor = lightenColor($baseColor, 70); $backgroundColor = lightenColor($baseColor, 70);
// Now you can use these color variables in your CSS or any other parts of your PHP code.
?> ?>
@import url('all.css'); @import url('all.css');
@ -617,3 +616,10 @@ a.scroll-to-top.rounded i.fas.fa-angle-up {
.text-muted { .text-muted {
color: <?php echo $textColor; ?>!important; color: <?php echo $textColor; ?>!important;
} }
.grid-stack-item-content {
width: 100%;
height: 100%;
padding: 5px;
box-sizing: border-box;
}