﻿/* Кнопку закрытия, если она видима, показываем всегда, и на неактивной вкладке тоже */
.tabbrowser-tab > .tab-close-button {
  display: -moz-box;
}

/* Сокрытие кнопок закрытия вкладки */

.tabbrowser-tab[type="home"] > .tab-close-button {
  display: none !important;
}

/*.tabbrowser-tab[type="mybase"] > .tab-close-button {
  display: none !important;
}*/

/* Сокрытие иконки вкладки */

/*
.tabbrowser-tab > .tab-icon-image {
  display: none !important;
}

.tabbrowser-tab > .tab-text {
  padding-left: 8px !important;
}
*/

/* Иконки вкладок */

.tab-icon-image {
  list-style-image: url("img/bro.ico");
}

.tabbrowser-tab[type="update"] > .tab-icon-image {
  list-style-image: url("img/ok.ico");
}

.tabbrowser-tab[type="update"] > .tab-icon-image {
  margin-right: 6px;
}

.tabbrowser-tab[type="tab"] > .tab-icon-image {
  list-style-image: url("img/document_shred.png");
}

.tabbrowser-tab[type="mybase"] > .tab-icon-image {
  list-style-image: url("img/myBase.png");
}

.tabbrowser-tab[type="habitpage"] > .tab-icon-image {
  list-style-image: url("img/habitPage.png");
}

.tabbrowser-tab[type="winnerNew"] > .tab-icon-image {
  list-style-image: url("img/winner_new.png");
}

/* Иконки занятой вкладки */

.tabbrowser-tab[busy] > .tab-icon-image {
  list-style-image: url("img/loading.png") !important;
}

.tabbrowser-tab[type="update"][busy] > .tab-icon-image {
  list-style-image: url("img/update-loading.gif") !important;
  margin-top: 5px;
}
 
#toolbox {
  border: none;
}

#toolbar {
  padding: 1px 1px 1px 0px;
}

#reload-button {
  padding: 0;
  margin: 0;
}

/* hbox, содержащий кнопки на вкладке обновления */
.buttons-box {
  padding: 10px 5px 0px;
  background-color: white;
}

/* Панель инструментов Back/Forward */

#toolbar-back-forward {
  border-top: none !important; 
  border-bottom: none !important;
  background: -moz-dialog url("chrome://browser/skin/tabbrowser/tabbrowser-tabs-bkgnd.png") repeat-x; 
}

#toolbar-back-forward toolbarbutton{
  margin-top: -2px;
  margin-bottom: -3px;
  border: none !important; 
}

#toolbar-back-forward toolbarbutton:hover{
  border: none !important; 
}

#back-button{
  margin-right: -3px;
}

#forward-button{
  margin-left: -3px;
}

/* Индикация нажатия кнопки */

#toolbar-back-forward toolbarbutton:hover:active:not([disabled="true"]){
  margin-top: -1px;
  margin-bottom: -4px;
}

/*
#back-button:hover:active:not([disabled="true"]){
  margin-right: -2px;
  margin-left: -1px;
}

#forward-button:hover:active:not([disabled="true"]){
  margin-left: -2px;
  margin-right: -1px;
}
*/

/* updateTabBrowser, type="chrome", по умолчанию имеет серый фон, делаем белый */
#updateTabBrowser, #updateTabXulBrowser {
  background: white;
}

/* otherTabsBrowser - серый цвет фона, чтобы не мигало белым при перезагрузке страницы, 
т.к. обычно вкладки в otherTabsBrowser с серым фоном */
#otherTabsBrowser {
  background: #D4D0C8;
}

/* notification */

notification {
  background-color: #FFFF99;
}

notification[id="needRestartApp"] {
  background-color: #FFF7C0;
  height: 35px;
  border-top: 2px solid #FED626;
} 

/* Надпись "Обновление %AppName%" */

#updateTabBrowserBox{
  background: white;
}

#updateCaption {
  margin: 10px 0 0 10px; 
  padding: 0;
  color: #666666;
  font-family: Tahoma,Verdana,sans-serif;
  font-size: 20px;
  font-weight: normal;
  padding-bottom: 10px;
}

#pushContainer {
  background: rgba(0,120,0,0.8);
  position:fixed;
  bottom: 30px;
  right: 0px;
  text-align: right;
  padding: 0;
  display: none;
}

#pushIframe {
  padding: 0;
  border: none;
  /* background-color: rgba(241, 191, 83, 0.7); */
}