Update styling

This commit is contained in:
Ramon Wenger 2022-01-20 16:22:08 +01:00
parent 20876a0bf2
commit d3c790d221
6 changed files with 37 additions and 8 deletions

View File

@ -31,7 +31,7 @@
&__text {
// custom style, because the view needs this
@include link-base;
font-weight: $font-weight-bold;
font-weight: $font-weight-semibold;
color: $color;
}
}

View File

@ -174,10 +174,13 @@
@import '~styles/helpers';
.content-element {
&__section {
display: grid;
grid-template-columns: 1fr 50px;
grid-auto-rows: auto;
/*width: 95%; // reserve space for scrollbar*/
}
&__chooser {
grid-column: 1 / span 2;
}

View File

@ -148,7 +148,6 @@
//border: 2px solid $color-silver-dark;
//border-radius: 12px;
position: relative;
margin-bottom: 20px;
/*IE10+*/
& > :nth-child(1) {

View File

@ -39,7 +39,7 @@
.text-form {
&__input {
width: $modal-input-width;
width: 100%;
}
}
</style>

View File

@ -218,6 +218,16 @@
margin-bottom: $large-spacing;
}
&__add-button {
}
&__segment {
margin-bottom: $large-spacing;
:last-child {
margin-bottom: 0;
}
}
&__content {
grid-area: content;
overflow-x: visible;

View File

@ -11,7 +11,7 @@
&__item {
list-style: none;
position: relative;
padding: 0 0 0 2*15px;
padding: 0 0 0 $large-spacing;
&:before {
content: counter(content-items, lower-alpha) ")";
counter-increment: content-items;
@ -19,7 +19,24 @@
font-weight: 600;
left: 0;
color: $color-brand;
font-family: $sans-serif-font-family;
line-height: 27px;
top: -30px;
}
}
$parent: &;
&--creator {
padding-top: $medium-spacing;
padding-left: 10px;
#{$parent}__item {
border-left: 2px solid $color-brand;
padding: $small-spacing 0 $small-spacing $medium-spacing;
&:before {
left: -8px;
}
}
}
}