mirror of
https://github.com/yusufipk/natours-react.git
synced 2026-09-11 19:16:11 +00:00
created popup component
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
.popup {
|
||||
background-color: rgba($color-black, 0.8);
|
||||
height: 100vh;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 3000;
|
||||
|
||||
&__content {
|
||||
@include center-horizontal-vertical;
|
||||
width: 75%;
|
||||
background-color: $color-white;
|
||||
box-shadow: $shadow-default;
|
||||
border-radius: 3px;
|
||||
display: table;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
&__left {
|
||||
width: 33.33333333%;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
&__right {
|
||||
width: 66.666666%;
|
||||
display: table-cell;
|
||||
vertical-align: middle;
|
||||
padding: 3rem 5rem;
|
||||
}
|
||||
|
||||
&__img {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&__text {
|
||||
font-size: $normal-font-size;
|
||||
margin-bottom: 4rem;
|
||||
|
||||
column-count: 2;
|
||||
column-gap: 4rem;
|
||||
column-rule: 1px solid $color-grey-light-2;
|
||||
hyphens: auto;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user