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

60 lines
1.2 KiB
SCSS

.LP-LinkList__List{
list-style-type: none;
display: grid;
grid-template-columns: repeat(auto-fit, 300px);
margin: 0;
padding: 0;
.LP-LinkList__Item{
border-left: 1px solid $-secondary-accent-color;
width: 100%;
margin-top: 12px;
height: 55px;
.LP-Link{
$-link-padding: 1em;
padding: $-link-padding 0 $-link-padding $-link-padding;
width: calc(100% - $-link-padding);
display: block;
color: $-secondary-color;
&--iconized{
padding-top: 0;
padding-bottom: 1.1em;
&:hover{
background-color: #ccc !important;
}
.LP-Text{
padding-top: .1em;
}
}
&:hover{
background-color: $-secondary-background-color;
color: $-primary-accent-color;
}
.LP-Text{
color: inherit;
}
}
}
}
.LP-Link__Icon{
width: 2em;
height: 2em;
fill: $-primary-accent-color;
line-height: 5em;
}
.LP-LinkList__Item .LP-Link__Icon{
position: relative;
top: .7em;
margin-right: .6em;
}