gecko/b2g/chrome/content/shell.css
Ting-Yu Lin f8e0941874 Bug 1205338 - Make system app iframe non-selectable. r=fabrice
User could long-press on the splash screen during boot process to select
the iframe of the system app. Make the iframe non-selectable to avoid
display the blue carets.
2015-10-12 20:39:00 +02:00

77 lines
1.2 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
html {
background: black;
overflow: hidden;
width: 100%;
height: 100%;
padding: 0 !important;
}
body {
margin: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
iframe {
overflow: hidden;
height: 100%;
width: 100%;
border: none;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1;
-moz-user-select: none;
}
%ifdef MOZ_GRAPHENE
body.content-loaded > #installing {
display: none;
}
#installing {
z-index: 2;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
background-color: #F1C40F;
color: #FFF;
}
.throbber {
width: 3px;
height: 3px;
border-radius: 100px;
background-color: #FFF;
animation-name: throbber;
animation-duration: 1500ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes throbber{
from {
transform: scale(0);
opacity: 0.4;
}
to {
transform: scale(400);
opacity: 0;
}
}
%endif