mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-01 22:59:28 +00:00
Move adminContent into admin component
This commit is contained in:
@@ -1,3 +1,18 @@
|
||||
.adminContent {
|
||||
min-height: 91vh;
|
||||
background-color: $admin-bg;
|
||||
padding: .5rem 1rem 0 1rem;
|
||||
|
||||
@include respond-to('medium') {
|
||||
padding-left: 2rem;
|
||||
padding-right: 2rem;
|
||||
}
|
||||
|
||||
@include respond-to('large') {
|
||||
margin-left: 20vw;
|
||||
}
|
||||
}
|
||||
|
||||
.adminItem {
|
||||
padding: .7rem;
|
||||
background-color: white;
|
||||
|
||||
@@ -1,30 +1,20 @@
|
||||
.adminContent {
|
||||
min-height: 91vh;
|
||||
background-color: $admin-bg;
|
||||
padding: .5rem 1rem 0 1rem;
|
||||
.dashboard__stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
|
||||
.dashboard__stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 1rem;
|
||||
.dashboard__stat {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
|
||||
.dashboard__stat {
|
||||
text-align: center;
|
||||
padding: 1rem;
|
||||
|
||||
h2 {
|
||||
color: $primary-colour;
|
||||
margin: .75rem 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@include respond-to('medium') {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
h2 {
|
||||
color: $primary-colour;
|
||||
margin: .75rem 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
@include respond-to('large') {
|
||||
margin-left: 20vw;
|
||||
@include respond-to('medium') {
|
||||
grid-template-columns: repeat(4, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user