mirror of
https://github.com/matt-fidd/stratos.git
synced 2026-01-02 10:19:29 +00:00
Added add test and add class buttons to tests and classes pages
This commit is contained in:
@@ -35,6 +35,13 @@
|
||||
.adminSection {
|
||||
margin: 1rem 0;
|
||||
|
||||
&--buttons {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 1rem;
|
||||
|
||||
@@ -14,6 +14,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
.btn--lg {
|
||||
padding: 1em 3em;
|
||||
}
|
||||
|
||||
@each $name, $colour in $button-colours {
|
||||
.btn.btn--#{$name}.btn--full {
|
||||
background: $colour;
|
||||
|
||||
@@ -1,14 +1,16 @@
|
||||
.classes {
|
||||
display: grid;
|
||||
column-gap: 1rem;
|
||||
row-gap: 1.5rem;
|
||||
margin-top: 1rem;
|
||||
&__classes {
|
||||
display: grid;
|
||||
column-gap: 1rem;
|
||||
row-gap: 1.5rem;
|
||||
margin-top: 1rem;
|
||||
|
||||
@include respond-to('medium') {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
@include respond-to('medium') {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
@include respond-to('large') {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
@include respond-to('large') {
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user