combo/combo/apps/pwa/static/css/combo.manager.pwa.scss

112 lines
1.7 KiB
SCSS

.manager-mobile-home-layout {
display: flex;
div.sections {
flex: 1;
}
}
div#mobile-case {
background: url(../img/mobile-case.svg) top left no-repeat;
width: 400px;
height: 720px;
position: relative;
overflow: hidden;
div.screen {
position: absolute;
overflow: hidden;
left: 12px;
top: 52px;
bottom: 67px;
right: 28px;
div.mobile-top-bar {
position: absolute;
top: 0;
left: 0;
background: rgba(0, 0, 0, 0.7);
width: 100%;
text-align: right;
color: white;
box-sizing: border-box;
padding-right: 5px;
height: 20px;
}
div.mobile-app-content {
position: absolute;
top: 20px;
left: 0;
width: 100%;
bottom: 0;
div.splash,
iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0;
opacity: 0;
transition: all ease-out 0.4s;
}
div.splash {
z-index: 100;
opacity: 1;
transform: scale(1);
}
&.splash-off {
div.splash {
pointer-events: none;
opacity: 0;
transform: scale(10);
}
iframe {
opacity: 1;
}
}
}
div.appicon {
position: absolute;
top: 40%;
text-align: center;
img {
width: 50%;
}
}
div.applabel {
position: absolute;
bottom: 50px;
left: 0;
width: 100%;
text-align: center;
font-size: 30px;
color: white;
}
}
}
div.section.navigation {
ul.navigation-entries {
margin-bottom: 0;
+ ul {
margin-top: 0;
}
span.handle {
padding: 0;
position: absolute;
width: 2em;
+ a {
padding-left: 4ex;
}
}
}
li a.add {
padding-left: 0;
&::before {
content: "\f055"; // circle-plus
font-family: FontAwesome;
width: 2.2em;
display: inline-block;
text-align: center;
}
}
}