0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-30 19:00:10 -05:00
penpot/frontend/resources/styles/main/partials/dropdown.scss

62 lines
940 B
SCSS
Raw Normal View History

2020-10-05 18:20:39 +02:00
.dropdown {
position: absolute;
max-height: 30rem;
background-color: $color-white;
border-radius: 2px;
2020-10-05 18:20:39 +02:00
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
z-index: 12;
hr {
margin: 0 !important;
border-color: $color-gray-10;
}
2020-11-18 17:36:14 +01:00
> li {
2020-10-05 18:20:39 +02:00
display: flex;
align-items: center;
color: $color-gray-60;
cursor: pointer;
2020-10-19 14:07:59 +02:00
font-size: $fs14;
height: 40px;
2020-10-05 18:20:39 +02:00
padding: 5px 16px;
2020-11-18 17:36:14 +01:00
svg {
fill: $color-gray-20;
height: 12px;
width: 12px;
}
2020-10-05 18:20:39 +02:00
&.title {
font-weight: 600;
cursor: default;
}
&:hover {
background-color: $color-primary-lighter;
}
}
2020-11-18 17:36:14 +01:00
&.with-check {
> li {
padding: 5px 10px;
}
> li:not(.selected) {
svg { display: none; }
}
svg {
fill: $color-gray-50;
}
.icon {
display: flex;
align-items: center;
2021-08-16 15:46:02 +02:00
width: 20px;
height: 20px;
2020-11-18 17:36:14 +01:00
margin-right: 7px;
}
}
2020-10-05 18:20:39 +02:00
}