Skip to content

Commit

Permalink
Merge pull request #1454 from RaspAP/fix/material-theme
Browse files Browse the repository at this point in the history
Style tweaks for modal dialog
  • Loading branch information
billz authored Nov 10, 2023
2 parents 645c336 + 36e8eec commit 7f7b688
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions app/css/material-dark.php
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ function lightenColor($color, $percent)

.modal-body {
background-color: <?php echo $backgroundColor; ?>;
min-height: 8rem;
}

.card-header {
Expand All @@ -228,8 +229,6 @@ function lightenColor($color, $percent)
border-color: transparent;
border-radius: 18px;
background-color: <?php echo $cardsColor; ?>;
box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.1),
0px 4px 6px rgba(0, 0, 0, 0.1);
}

.card-body {
Expand Down Expand Up @@ -288,11 +287,13 @@ function lightenColor($color, $percent)
border-bottom-right-radius: 18px!important;
border-bottom-left-radius: 18px!important;
position: relative;
margin-top: -18px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1),
0px 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-footer {
border-radius: 18px;
margin-top: 0px;
height: 3.5rem;
}

.card>.card-header::before, .navbar-default::before {
Expand Down Expand Up @@ -548,6 +549,7 @@ function lightenColor($color, $percent)
border-radius: 18px!important;
background-color: <?php echo $backgroundColor; ?>;
border: 1px solid <?php echo $primaryColor; ?>!important;
padding: 0.5rem;
}

.btn-sm {
Expand Down
10 changes: 6 additions & 4 deletions app/css/material-light.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ function lightenColor($color, $percent)

.modal-body {
background-color: <?php echo $backgroundColor; ?>;
min-height: 8rem;
}

.card-header {
Expand All @@ -226,8 +227,6 @@ function lightenColor($color, $percent)
border-color: transparent;
border-radius: 18px;
background-color: <?php echo $cardsColor; ?>;
box-shadow: 0px -5px 5px rgba(0, 0, 0, 0.1),
0px 4px 6px rgba(0, 0, 0, 0.1);
}

.card-body {
Expand Down Expand Up @@ -286,11 +285,13 @@ function lightenColor($color, $percent)
border-bottom-right-radius: 18px!important;
border-bottom-left-radius: 18px!important;
position: relative;
margin-top: -18px;
box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1),
0px 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-footer {
border-radius: 18px;
margin-top: 0px;
height: 3.5rem;
}

.card>.card-header::before, .navbar-default::before {
Expand Down Expand Up @@ -554,6 +555,7 @@ function lightenColor($color, $percent)
border-radius: 18px!important;
background-color: <?php echo $backgroundColor; ?>;
border: 1px solid <?php echo $primaryColor; ?>!important;
padding: 0.5rem;
}

.btn-sm {
Expand Down

0 comments on commit 7f7b688

Please sign in to comment.