mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-03 01:38:17 +00:00
Split out dashboard content items into a seperate css component
This commit is contained in:
@@ -3,53 +3,6 @@
|
||||
background-color: #E5E5E5;
|
||||
padding: .5rem 2rem 0 2rem;
|
||||
|
||||
.dashboard__item {
|
||||
padding: .7rem;
|
||||
background-color: white;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.dashboard__row {
|
||||
margin: 1rem 0;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: $text-colour;
|
||||
font-weight: normal;
|
||||
margin-left: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard__table {
|
||||
background-color: #E5E5E5;
|
||||
padding: 1rem;
|
||||
border-radius: 15px;
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
|
||||
}
|
||||
|
||||
tr {
|
||||
@include on-event() {
|
||||
background-color: white;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
padding: .5rem;
|
||||
|
||||
&:last-child {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dashboard__stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
|
||||
Reference in New Issue
Block a user