summaryrefslogtreecommitdiffstats
path: root/b2g/chrome/content/shell.css
blob: 34daafd9910e25abfdae8963868218c18c392624 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/* 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;
}

#titlebar-buttonbox {
  margin: 6px 7px;
  -moz-appearance: -moz-window-button-box;
}

@keyframes throbber{
  from {
    transform: scale(0);
    opacity: 0.4;
  }
  to {
    transform: scale(400);
    opacity: 0;
  }
}

%endif