More global styling properties.

This commit is contained in:
2020-10-11 18:16:03 +02:00
committed by KevinMidboe
parent f2989d2534
commit 21904f4bb6
4 changed files with 82 additions and 5 deletions

View File

@@ -129,6 +129,15 @@ textarea {
// disable-dbl-tap-zoom
touch-action: manipulation;
&.auto-height {
height: auto;
}
&.danger {
background-color: $red;
color: white;
}
&::after {
content: "";
position: absolute;
@@ -172,7 +181,14 @@ textarea {
font-weight: bold;
border-bottom: 1px solid $link-color;
font-size: 1rem;
margin-left: 15px;
cursor: pointer;
text-decoration: none;
color: $matte-text-color;
&:focus, &:hover {
border-color: $link-color;
}
}
@@ -180,8 +196,35 @@ textarea {
&-md {
margin-top: 3rem;
}
&-sm {
margin-top: 1rem;
}
&-0 {
margin-top: 0;
}
}
.margin-left {
&-md {
margin-left: 3rem;
}
&-sm {
margin-left: 1rem;
}
&-0 {
margin-left: 0;
}
}
.margin-right {
&-md {
margin-right: 3rem;
}
&-sm {
margin-right: 1rem;
}
&-0 {
margin-right: 0;
}
}
.margin-bottom {
&-md {
margin-bottom: 3rem;
@@ -224,3 +267,15 @@ textarea {
background-color: $light-red;
}
}
.desktop-only {
@include mobile {
display: none;
}
}
.mobile-only {
@include desktop {
display: none;
}
}