0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-23 23:18:48 -05:00
penpot/frontend/resources/styles/main/partials/zoom-widget.scss
Ondřej Konečný be865af1fc ♻️ connect values with variables in CSS and remove unused code
Signed-off-by: Ondřej Konečný <ondrej.konecny@gmail.com>
2023-02-23 10:58:27 +01:00

94 lines
1.7 KiB
SCSS

.zoom-widget {
cursor: pointer;
display: flex;
position: relative;
span {
color: $color-gray-10;
font-size: $fs14;
margin-left: $size-1;
}
.icon svg {
fill: $color-gray-10;
height: 10px;
width: 10px;
}
.dropdown {
position: absolute;
right: 0;
top: 25px;
width: 210px;
z-index: 12;
background-color: $color-white;
border-radius: $br3;
box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
li {
color: $color-gray-60;
cursor: pointer;
font-size: $fs14;
display: flex;
padding: $size-2;
&.separator {
border-top: 1px solid $color-gray-10;
padding: 0px;
margin: 2px;
height: 0;
}
&.basic-zoom-bar {
cursor: auto;
display: flex;
justify-content: space-between;
&:hover {
background-color: $color-white;
}
}
span {
color: $color-gray-20;
font-size: $fs14;
margin-left: auto;
&.zoom-btns {
display: flex;
margin-left: 2px;
color: $color-gray-60;
p {
margin-bottom: 0;
font-size: $fs14;
padding: 0 3px;
}
}
}
&:hover {
background-color: $color-primary-lighter;
}
button {
cursor: pointer;
background-color: $color-white;
border: none;
&:hover {
color: $color-primary-darker;
}
}
.reset-btn {
color: $color-primary-dark;
}
.zoom-size {
min-width: 40px;
display: flex;
align-items: center;
justify-content: flex-end;
}
}
}
}