0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-06 14:28:30 -05:00
penpot/resources/public/styles/partials/lightbox.scss

79 lines
1.2 KiB
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
.lightbox {
align-items: center;
background-color: $color-dark-bg;
display: flex;
justify-content: center;
position: fixed;
height: 100%;
left: 0;
top: 0;
width: 100%;
z-index: 1000;
.lightbox-body {
align-items: center;
background-color: $color-white;
border-radius: $br-medium;
box-sizing: border-box;
display: flex;
flex-direction: column;
padding: $medium $x-big;
position: relative;
width: 500px;
@include animation(.1s,1s,fadeInDown);
.input-text {
margin: 1rem 0;
width: 100%;
}
.project-size {
align-items: center;
display: flex;
justify-content: space-between;
width: 100%;
.input-text {
width: 35%;
}
.toggle-layout {
svg {
fill: $color-gray;
height: 20px;
width: 20px;
&:hover {
fill: $color-gray-darker;
}
}
}
}
.close {
position: absolute;
right: -30px;
transform: rotate(45deg);
top: -30px;
svg {
fill: $color-white;
height: 20px;
width: 20px;
&:hover {
fill: $color-danger;
}
}
}
}
}