/* 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
