mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 16:39:29 +00:00
Split out dashboard content items into a seperate css component
This commit is contained in:
46
src/stylesheets/components/_admin.scss
Normal file
46
src/stylesheets/components/_admin.scss
Normal file
@@ -0,0 +1,46 @@
|
||||
.adminItem {
|
||||
padding: .7rem;
|
||||
background-color: white;
|
||||
border-radius: 15px;
|
||||
}
|
||||
|
||||
.adminSection {
|
||||
margin: 1rem 0;
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 1rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: $text-colour;
|
||||
font-weight: normal;
|
||||
margin-left: .5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.adminTable {
|
||||
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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user