-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
[Interfaced] Кирилл Дронкин
committed
Jan 25, 2019
1 parent
3edc374
commit 9ca6f23
Showing
29 changed files
with
428 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,214 @@ | ||
/* About popup | ||
*******************************/ | ||
|
||
.p-zb-about {} | ||
.p-zb-about__container { | ||
width: 360px; | ||
min-height: 140px; | ||
background: #fff url(about.png) 10px 50% no-repeat; | ||
.p-zb-about { | ||
background-color: rgba(0, 0, 0, 0.8); | ||
position: absolute; | ||
top: 0; | ||
right: 0; | ||
bottom: 0; | ||
left: 0; | ||
|
||
& .p-zb-about__container { | ||
width: 162rem; | ||
height: 270rem; | ||
background-color: #fff; | ||
font-family: Consolas, monospace; | ||
font-size: 7rem; | ||
line-height: 11rem; | ||
color: #000; | ||
box-sizing: border-box; | ||
overflow: hidden; | ||
padding: 10px; | ||
padding-left: 120px; | ||
border: 4px solid #A9A9A9; | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
padding-right: 21rem; | ||
padding-left: 24rem; | ||
margin-top: -135rem; | ||
margin-left: -104rem; | ||
border-radius: 2rem; | ||
|
||
&::before, | ||
&::after { | ||
height: 24rem; | ||
background-repeat: no-repeat; | ||
background-position: 0 0; | ||
background-size: 100% 100%; | ||
content: ''; | ||
position: absolute; | ||
right: 0; | ||
left: 0; | ||
z-index: 1; | ||
} | ||
&::before { | ||
background-image: url(img/shadow-top.png); | ||
top: 0; | ||
} | ||
|
||
&::after { | ||
background-image: url(img/shadow-bottom.png); | ||
bottom: 0; | ||
} | ||
|
||
&._no-scrolling { | ||
&::before, | ||
&::after { | ||
display: none; | ||
} | ||
} | ||
} | ||
|
||
& .p-zb-about__slider { | ||
text-align: left; | ||
position: absolute; | ||
top: 0; | ||
right: 21rem; | ||
left: 24rem; | ||
padding-top: 18rem; | ||
padding-bottom: 24rem; | ||
} | ||
|
||
& .p-zb-about__content { | ||
line-height: 11rem; | ||
white-space: pre-wrap; | ||
word-break: break-word; | ||
margin-top: 6rem; | ||
} | ||
|
||
& .p-zb-about__content-label { | ||
font-weight: bold; | ||
line-height: 15rem; | ||
display: inline-block; | ||
} | ||
|
||
& .p-zb-about__content-value { | ||
display: inline-block; | ||
} | ||
|
||
& .p-zb-about__logo { | ||
height: 75rem; | ||
background-image: url(img/logo-evil.png); | ||
background-repeat: no-repeat; | ||
background-position: 0 0; | ||
} | ||
|
||
& .p-zb-about__title { | ||
font-size: 12rem; | ||
line-height: 14rem; | ||
margin-top: 13rem; | ||
|
||
& span { | ||
font-weight: bold; | ||
} | ||
} | ||
|
||
& .p-zb-about__copyright { | ||
margin-top: 2rem; | ||
} | ||
|
||
& .p-zb-about__btn { | ||
width: 12rem; | ||
height: 12rem; | ||
background-color: #dcdcdc; | ||
background-repeat: no-repeat; | ||
background-position: 50% 50%; | ||
box-sizing: border-box; | ||
position: absolute; | ||
z-index: 2; | ||
border: 1px solid transparent; | ||
border-radius: 100%; | ||
|
||
&._exit { | ||
background-image: url(img/icon-close.png); | ||
top: 6rem; | ||
left: 6rem; | ||
} | ||
|
||
&._up { | ||
background-image: url(img/icon-up.png); | ||
background-position: 50% 48%; | ||
right: 6rem; | ||
bottom: 20rem; | ||
} | ||
|
||
&._down { | ||
background-image: url(img/icon-down.png); | ||
background-position: 50% 54%; | ||
right: 6rem; | ||
bottom: 6rem; | ||
} | ||
|
||
&._active { | ||
background-color: #000; | ||
|
||
&._exit { | ||
background-image: url(img/icon-close-focused.png); | ||
} | ||
&._up { | ||
background-image: url(img/icon-up-focused.png); | ||
} | ||
&._down { | ||
background-image: url(img/icon-down-focused.png); | ||
} | ||
} | ||
|
||
&._disabled { | ||
background-color: transparent; | ||
border-color: #dcdcdc; | ||
|
||
&._up { | ||
background-image: url(img/icon-up-disabled.png); | ||
} | ||
&._down { | ||
background-image: url(img/icon-down-disabled.png); | ||
} | ||
} | ||
} | ||
} | ||
|
||
.zb-hd { | ||
& .p-zb-about__container { | ||
&::before { | ||
background-image: url(img/hd/shadow-top.png); | ||
} | ||
|
||
&::after { | ||
background-image: url(img/hd/shadow-bottom.png); | ||
} | ||
} | ||
|
||
& .p-zb-about__logo { | ||
background-image: url(img/hd/logo-evil.png); | ||
} | ||
|
||
& .p-zb-about__btn { | ||
&._exit { | ||
background-image: url(img/hd/icon-close.png); | ||
} | ||
|
||
&._up { | ||
background-image: url(img/hd/icon-up.png); | ||
} | ||
|
||
&._down { | ||
background-image: url(img/hd/icon-down.png); | ||
} | ||
|
||
&._active { | ||
&._exit { | ||
background-image: url(img/hd/icon-close-focused.png); | ||
} | ||
&._up { | ||
background-image: url(img/hd/icon-up-focused.png); | ||
} | ||
&._down { | ||
background-image: url(img/hd/icon-down-focused.png); | ||
} | ||
} | ||
|
||
&._disabled { | ||
&._up { | ||
background-image: url(img/hd/icon-up-disabled.png); | ||
} | ||
&._down { | ||
background-image: url(img/hd/icon-down-disabled.png); | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.