mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-12 08:19:06 +05:30
143 lines
2.2 KiB
SCSS
143 lines
2.2 KiB
SCSS
|
@import "~components/ui/fonts.scss";
|
||
|
|
||
|
.instructionContainer {
|
||
|
position: relative;
|
||
|
min-height: 160px;
|
||
|
|
||
|
background: #fff;
|
||
|
border: 1px #fff solid;
|
||
|
|
||
|
transition: 0.4s ease;
|
||
|
}
|
||
|
|
||
|
.instructionActive {
|
||
|
background: #ebe8e1;
|
||
|
border-color: #d8d5ce;
|
||
|
}
|
||
|
|
||
|
.osList {
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
margin: 15px;
|
||
|
height: 130px;
|
||
|
}
|
||
|
|
||
|
.osTile {
|
||
|
position: absolute;
|
||
|
text-align: center;
|
||
|
cursor: pointer;
|
||
|
|
||
|
transform: scale(1);
|
||
|
opacity: 1;
|
||
|
transition: 0.2s ease-in;
|
||
|
}
|
||
|
|
||
|
.osLogo {
|
||
|
display: block;
|
||
|
margin: 0 auto;
|
||
|
height: 90px;
|
||
|
color: #444;
|
||
|
}
|
||
|
|
||
|
.osName {
|
||
|
font-size: 16px;
|
||
|
margin: 10px 0;
|
||
|
}
|
||
|
|
||
|
.androidTile {
|
||
|
$translateX: 0;
|
||
|
|
||
|
transform: translateX($translateX) scale(1);
|
||
|
|
||
|
&:hover {
|
||
|
transform: translateX($translateX) scale(1.1);
|
||
|
}
|
||
|
|
||
|
.androidActive & {
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
|
||
|
.appleActive &,
|
||
|
.windowsActive & {
|
||
|
transform: translateX($translateX) scale(0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.appleTile {
|
||
|
$translateX: 125px;
|
||
|
|
||
|
transform: translateX($translateX) scale(1);
|
||
|
|
||
|
&:hover {
|
||
|
transform: translateX($translateX) scale(1.1);
|
||
|
}
|
||
|
|
||
|
.appleActive & {
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
|
||
|
.androidActive &,
|
||
|
.windowsActive & {
|
||
|
transform: translateX($translateX) scale(0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.windowsTile {
|
||
|
$translateX: 232px;
|
||
|
|
||
|
transform: translateX($translateX) scale(1);
|
||
|
|
||
|
&:hover {
|
||
|
transform: translateX($translateX) scale(1.1);
|
||
|
}
|
||
|
|
||
|
.windowsActive & {
|
||
|
transform: translateX(0);
|
||
|
}
|
||
|
|
||
|
.appleActive &,
|
||
|
.androidActive & {
|
||
|
transform: translateX($translateX) scale(0);
|
||
|
opacity: 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.osInstructionContainer {
|
||
|
opacity: 0;
|
||
|
transition: 0.4s ease;
|
||
|
|
||
|
.instructionActive & {
|
||
|
opacity: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.osInstruction {
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
margin-left: 100px;
|
||
|
padding: 15px;
|
||
|
}
|
||
|
|
||
|
.instructionTitle {
|
||
|
font-family: $font-family-title;
|
||
|
font-size: 15px;
|
||
|
}
|
||
|
|
||
|
.appList {
|
||
|
margin: 15px 0;
|
||
|
font-size: 14px;
|
||
|
|
||
|
li {
|
||
|
margin: 5px 0;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.otherApps {
|
||
|
text-align: right;
|
||
|
font-size: 13px;
|
||
|
opacity: 0.7;
|
||
|
}
|