From 5bd2ef1edcc28331a2426612191d9f101eac2ed5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Gur=C3=A1=C5=88?= Date: Tue, 29 Aug 2023 12:28:51 +0200 Subject: [PATCH] Fixed missing padding to cards --- app/css/material-dark.php | 9 +++++++++ app/css/material-light.php | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/css/material-dark.php b/app/css/material-dark.php index 2ca08fd9..fef671e8 100644 --- a/app/css/material-dark.php +++ b/app/css/material-dark.php @@ -99,6 +99,10 @@ h5.card-title { font-weight: 400; } +.sidebar .nav-item .nav-link span:hover { + color: !important; +} + #wrapper #content-wrapper #content { background-color: ; } @@ -228,6 +232,11 @@ a:focus, a:hover { 0px 4px 6px rgba(0, 0, 0, 0.1); } +.card-body { + padding-top: 36px; /* 18px to move down + 18px space at the top */ + padding-bottom: 36px; /* 18px space at the bottom */ +} + .unstyled { background-color: ; color: ; diff --git a/app/css/material-light.php b/app/css/material-light.php index 52bba635..f2ad6815 100644 --- a/app/css/material-light.php +++ b/app/css/material-light.php @@ -230,6 +230,11 @@ a:focus, a:hover { 0px 4px 6px rgba(0, 0, 0, 0.1); } +.card-body { + padding-top: 36px; /* 18px to move down + 18px space at the top */ + padding-bottom: 36px; /* 18px space at the bottom */ +} + .unstyled { background-color: ; color: ; @@ -463,7 +468,7 @@ color: ; !important } .sidebar .nav-item.active .nav-link span.ra-wireguard:before { - color: !important; + color: !important; } .custom-control-input:checked ~ .custom-control-label::before {