A few transitions to amek things look fancier

This commit is contained in:
reverend 2021-10-02 08:25:37 +02:00
parent 5c7136bcbf
commit 6c5ce4a6ee
5 changed files with 19 additions and 4 deletions

View File

@ -1,5 +1,3 @@
<p class="LP-Paragraph">
Lorem ipsum dolor sit amet, consetetur sadipscing elitr
<a href="{{url}}" class="LP-Link"><span class="LP-Link__Text">{{text}}</span></a>
sanctus est Lorem ipsum dolor sit amet
</p>

View File

@ -6,6 +6,7 @@
@include RV-FlexRow__Container;
height: min-content;
gap: 3px;
transition: background .3s;
&__Remove {
.RV-Iconized__Icon {

View File

@ -43,6 +43,7 @@
text-align: left;
margin-bottom: 10px;
padding-left: 25px;
transition: background .2s;
&--additional{
background-color: #ccc;

View File

@ -14,6 +14,7 @@
position: relative;
display: block;
background: $-almost-white;
transition: background .3s;
.LP-Icon {
width: $-spacing-large;
@ -38,8 +39,9 @@
position: absolute;
top: $-spacing-small;
right: $-spacing-small;
background-color: $-light-brown;
background-color: transparent;
border-radius: 50%;
transition: background .2s;
height: $-spacing-large;
width: $-spacing-large;
@ -54,6 +56,7 @@
}
&__Item>.LP-Link:hover + &__DeleteItem, &__DeleteItem:hover {
background-color: $-light-brown;
visibility: visible;
}
@ -118,4 +121,15 @@
visibility: visible;
opacity: 1;
}
}
}
.LP-Select {
display: block;
cursor: pointer;
transition: box-shadow .3s;
}
.LP-Select:checked, :checked + .LP-Select, .LP-Select--active {
box-shadow: 0 0 3px 3px #C09F80;
}

View File

@ -8,6 +8,7 @@
border-left: 1px solid $-light-brown;
width: calc(100% - 1px);
overflow: hidden;
transition: background .3s, color .5s;
@include RV-Alignment--verticalCenter;
@include RV-FlexRow__Container;