lostplaces-frontend/components/03_Organisms/linkList/_linkList.scss

48 lines
837 B
SCSS
Raw Permalink Normal View History

2020-08-25 15:55:02 +02:00
.LP-LinkList{
2021-10-18 16:02:20 +02:00
@include RV-Grid;
2021-10-24 12:32:32 +02:00
@include RV-Grid--autoWidth;
--itemMinWidth: 350px;
--itemHeight: 3em;
align-items: center;
2021-10-24 12:32:32 +02:00
--icon-color: #{$-light-brown};
.RV-Iconized__Icon {
font-size: calc(var(--itemHeight) * .75);
line-height: 1em;
color: var(--icon-color);
transition: color .2s;
2021-10-24 12:32:32 +02:00
}
.LP-LinkList__Item{
font-weight: 500;
--color: #{$-grey};
2020-08-25 15:55:02 +02:00
border-left: 1px solid $-light-brown;
transition: background .2s;
2021-10-24 12:32:32 +02:00
height: 100%;
@include RV-Alignment--verticalCenter;
2020-08-25 15:55:02 +02:00
&:hover {
background-color: $-beige;
2021-10-24 12:32:32 +02:00
--icon-color: #{$-grey};
.LP-LinkList__ItemHover {
opacity: 1;
}
2020-08-25 15:55:02 +02:00
}
&--addItem {
background-color: $-almost-white;
font-weight: bold;
}
2020-08-25 15:55:02 +02:00
}
.LP-Link {
2021-10-24 12:32:32 +02:00
@include RV-Flex__Item;
padding-left: $-spacing-medium;
color: var(--color);
transition: color .2s;
2020-08-26 16:48:48 +02:00
}
}