1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 05:39:32 +00:00

Styling cleanups for admin pages

This commit is contained in:
2022-02-06 19:44:42 +00:00
parent c0f4d567df
commit 9e523f98cd
4 changed files with 11 additions and 9 deletions

View File

@@ -6,6 +6,7 @@ $text-colour: rgb(34, 34, 34) !default;
$primary-colour: #d71433; $primary-colour: #d71433;
$secondary-colour: #46b43d; $secondary-colour: #46b43d;
$grey: #505050; $grey: #505050;
$admin-bg: #e5e5e5;
$primary-colour-dark: darken-colour($primary-colour); $primary-colour-dark: darken-colour($primary-colour);
$secondary-colour-dark: darken-colour($secondary-colour); $secondary-colour-dark: darken-colour($secondary-colour);

View File

@@ -20,27 +20,27 @@
} }
.adminTable { .adminTable {
background-color: #E5E5E5; background-color: $admin-bg;
padding: 1rem; padding: 1rem;
border-radius: 15px; border-radius: 15px;
table { table {
width: 100%; width: 100%;
border-spacing: 0;
} }
tr { tbody tr {
@include on-event() { @include on-event() {
background-color: white; background-color: white;
cursor: pointer; cursor: pointer;
} }
} }
td { th {
padding: .5rem; text-align: left;
}
&:last-child { td, th {
width: 100%; padding: .5rem 1rem;
}
} }
} }

View File

@@ -10,6 +10,7 @@
background-color: $primary-colour; background-color: $primary-colour;
padding: 3rem 0; padding: 3rem 0;
padding-top: 5rem; padding-top: 5rem;
z-index: 50;
a { a {
color: white; color: white;

View File

@@ -1,6 +1,6 @@
.adminContent { .adminContent {
min-height: 91vh; min-height: 91vh;
background-color: #E5E5E5; background-color: $admin-bg;
padding: .5rem 2rem 0 2rem; padding: .5rem 2rem 0 2rem;
.dashboard__stats { .dashboard__stats {