Fixed shadows and fixed insiders dashboard

This commit is contained in:
Marek Guráň 2023-08-07 18:36:56 +02:00 committed by GitHub
parent 7c0e4b73db
commit 2f3582d952
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -14,7 +14,7 @@ License: GNU General Public License v3.0
<?php
// Base color
$baseColor = $color; // Replace this with your desired color value
$baseColor = $color;
// Function to darken a color by a percentage
function darkenColor($color, $percent)
@ -62,7 +62,6 @@ $secondaryColor = lightenColor($baseColor, 30);
$primaryColor = $baseColor;
$backgroundColor = darkenColor($baseColor, 90);
// Now you can use these color variables in your CSS or any other parts of your PHP code.
?>
@import url('all.css');
@ -224,7 +223,7 @@ a:focus, a:hover {
border-color: transparent;
border-radius: 18px;
background-color: <?php echo $cardsColor; ?>;
box-shadow: 0px -20px 20px rgba(0, 0, 0, 0.1),
box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.1),
0px 4px 6px rgba(0, 0, 0, 0.1);
}
@ -607,3 +606,10 @@ a.scroll-to-top.rounded i.fas.fa-angle-up {
.text-muted {
color: <?php echo $textColor; ?>!important;
}
.grid-stack-item-content {
width: 100%;
height: 100%;
padding: 5px;
box-sizing: border-box;
}