mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-16 12:30:13 +01:00
505 lines
14 KiB
CSS
505 lines
14 KiB
CSS
|
|
||
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
||
|
|
||
|
/**
|
||
|
* Tabbrowser Tabs
|
||
|
*/
|
||
|
|
||
|
.tabbrowser-tabs {
|
||
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tabs") !important;
|
||
|
padding-top: 0px;
|
||
|
background: #b5b6b5 !important;
|
||
|
-moz-padding-start: 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] {
|
||
|
-moz-padding-start: 0px;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Tab
|
||
|
*/
|
||
|
|
||
|
.tabbrowser-tab {
|
||
|
-moz-appearance: none !important;
|
||
|
-moz-binding: url("chrome://global/skin/globalBindings.xml#tabbrowser-tab") !important;
|
||
|
background: transparent !important;
|
||
|
margin: 0px !important;
|
||
|
padding: 0px !important;
|
||
|
border: none !important;
|
||
|
height: 22px !important;
|
||
|
margin-bottom: 1px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab > .tab-image-middle {
|
||
|
padding-top: 1px;
|
||
|
-moz-padding-start: 1px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image {
|
||
|
list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif") !important;
|
||
|
opacity: 0.6;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[selected="true"] {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[selected="true"] > .tab-image-middle > .tab-text {
|
||
|
opacity: 1.0 !important;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab > .tab-image-left {
|
||
|
width: 8px;
|
||
|
height: 24px;
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid;
|
||
|
border-left: 2px solid;
|
||
|
-moz-border-top-colors: #ababab;
|
||
|
-moz-border-left-colors: ThreeDShadow ThreeDHighlight;
|
||
|
-moz-border-radius-topleft: 3px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[chromedir="rtl"] > .tab-image-left {
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid;
|
||
|
border-left: none;
|
||
|
border-right: 1px solid;
|
||
|
-moz-border-top-colors: #ababab;
|
||
|
-moz-border-right-colors: ThreeDShadow;
|
||
|
-moz-border-radius-topleft: 0px;
|
||
|
-moz-border-radius-topright: 3px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:not([selected="true"]) > .tab-image-left {
|
||
|
height: 23px;
|
||
|
margin-bottom: 1px;
|
||
|
background-color: #d8d8d8;
|
||
|
border-top: 1px solid #ababab;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-left {
|
||
|
background-color: #e7e7e7;
|
||
|
border-top: 1px solid #8d8d8d;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab > .tab-image-middle {
|
||
|
height: 24px;
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid #ababab;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:not([selected="true"]) > .tab-image-middle {
|
||
|
height: 23px;
|
||
|
margin-bottom: 1px;
|
||
|
/* computing rgb+alpha on default OS/2 -moz-dialog would be #e1e1e1 *
|
||
|
* but better make it slightly darker than than */
|
||
|
background-color: #d8d8d8;
|
||
|
border-top: 1px solid #ababab;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-middle {
|
||
|
/* computing rgb+alpha on default OS/2 -moz-dialog would be #e9e9e9 *
|
||
|
* but better make it slightly darker than normal tab-middle */
|
||
|
background-color: #e7e7e7;
|
||
|
border-top: 1px solid #8d8d8d;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab > .tab-image-right {
|
||
|
width: 8px;
|
||
|
height: 24px;
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid;
|
||
|
border-right: 1px solid;
|
||
|
-moz-border-top-colors: #ababab;
|
||
|
-moz-border-right-colors: ThreeDShadow;
|
||
|
-moz-border-radius-topright: 3px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[chromedir="rtl"] > .tab-image-right {
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid;
|
||
|
border-right: none;
|
||
|
border-left: 2px solid;
|
||
|
-moz-border-top-colors: #ababab;
|
||
|
-moz-border-left-colors: ThreeDShadow ThreeDHighlight;
|
||
|
-moz-border-radius-topleft: 3px;
|
||
|
-moz-border-radius-topright: 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:not([selected="true"]) > .tab-image-right {
|
||
|
height: 23px;
|
||
|
margin-bottom: 1px;
|
||
|
background-color: #d8d8d8;
|
||
|
border-top: 1px solid #ababab;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:hover:not([selected="true"]) > .tab-image-right {
|
||
|
background-color: #e7e7e7;
|
||
|
border-top: 1px solid #8d8d8d;
|
||
|
}
|
||
|
|
||
|
.tab-icon-image {
|
||
|
margin-top: 1px;
|
||
|
-moz-margin-end: 3px;
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
||
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
||
|
}
|
||
|
|
||
|
.tabs-bottom {
|
||
|
height: 4px !important;
|
||
|
margin: 0px !important;
|
||
|
background: -moz-dialog !important;
|
||
|
border-top: 1px solid threedshadow;
|
||
|
border-bottom: 1px solid threedshadow;
|
||
|
}
|
||
|
|
||
|
tabpanels {
|
||
|
-moz-appearance: none;
|
||
|
}
|
||
|
|
||
|
.tabs-left,
|
||
|
.tabs-right {
|
||
|
width: 3px;
|
||
|
border-bottom-width: 0px;
|
||
|
}
|
||
|
|
||
|
/* tabbrowser-tab focus ring */
|
||
|
.tabbrowser-tab > .tab-image-middle > .tab-text {
|
||
|
border: 1px dotted transparent;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:focus > .tab-image-middle > .tab-text {
|
||
|
border: 1px dotted -moz-DialogText;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Tab Drag and Drop
|
||
|
*/
|
||
|
|
||
|
.tab-drop-indicator-bar {
|
||
|
display:none;
|
||
|
height: 9px;
|
||
|
margin-top: -9px;
|
||
|
position: relative;
|
||
|
}
|
||
|
|
||
|
.tab-drop-indicator {
|
||
|
height: 9px;
|
||
|
width: 9px;
|
||
|
margin-bottom: -5px;
|
||
|
position: relative;
|
||
|
background: url('chrome://global/skin/tabDragDrop/tabDragIndicator.png') 50% 50% no-repeat;
|
||
|
}
|
||
|
|
||
|
.tab-drop-indicator-bar[dragging="true"] {
|
||
|
display: -moz-box;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* In-tab close button
|
||
|
*/
|
||
|
.tab-close-button > .toolbarbutton-icon {
|
||
|
-moz-margin-end: 0px !important;
|
||
|
margin-top: 1px;
|
||
|
}
|
||
|
|
||
|
.tab-close-button {
|
||
|
-moz-appearance: none;
|
||
|
-moz-image-region: rect(0px, 64px, 16px, 48px);
|
||
|
height: 24px;
|
||
|
border: none !important;
|
||
|
padding: 0px;
|
||
|
cursor: default;
|
||
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:not([selected="true"]) > .tab-close-button {
|
||
|
height: 23px;
|
||
|
margin-bottom: 1px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:not([selected="true"]) > .tab-close-button > .toolbarbutton-icon {
|
||
|
margin-top: 2px;
|
||
|
}
|
||
|
|
||
|
.tab-close-button:hover,
|
||
|
.tabbrowser-tab[selected="true"] > .tab-close-button:hover {
|
||
|
-moz-image-region: rect(0px, 32px, 16px, 16px);
|
||
|
opacity: 1.0;
|
||
|
}
|
||
|
|
||
|
.tab-close-button:hover:active,
|
||
|
.tabbrowser-tab[selected="true"] > .tab-close-button:hover:active {
|
||
|
-moz-image-region: rect(0px, 48px, 16px, 32px);
|
||
|
opacity: 1.0;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab > .tab-close-button {
|
||
|
background-color: #d8d8d8;
|
||
|
border-top: 1px solid #ababab !important;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab:hover > .tab-close-button {
|
||
|
background-color: #e7e7e7;
|
||
|
border-top: 1px solid #8d8d8d !important;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tab[selected="true"] > .tab-close-button {
|
||
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
||
|
/* Make this button focusable so clicking on it will not focus the tab while
|
||
|
it's getting closed */
|
||
|
-moz-user-focus: normal;
|
||
|
background-color: #e9e9e9;
|
||
|
border-top: 1px solid #ababab;
|
||
|
}
|
||
|
|
||
|
.tab-close-button:focus {
|
||
|
outline: none !important;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Tab Scrollbox Arrow Buttons
|
||
|
*/
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] .tabs-left {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-up {
|
||
|
-moz-appearance: none !important;
|
||
|
border: none !important;
|
||
|
margin-top: 2px;
|
||
|
margin-bottom: 4px !important;
|
||
|
padding: 0px;
|
||
|
width: 18px;
|
||
|
height: 23px;
|
||
|
-moz-margin-start: 0px;
|
||
|
-moz-margin-end: 0px;
|
||
|
list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png");
|
||
|
-moz-image-region: rect(0, 11px, 14px, 0);
|
||
|
background-repeat: no-repeat;
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-enabled.png");
|
||
|
background-color: -moz-dialog;
|
||
|
-moz-border-radius-topright: 5px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up {
|
||
|
list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png");
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-enabled.png");
|
||
|
-moz-border-radius-topleft: 5px;
|
||
|
-moz-border-radius-topright: 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-up[disabled="true"] {
|
||
|
-moz-image-region: rect(0, 33px, 14px, 22px);
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-disabled.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up[disabled="true"] {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-disabled.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-hover.png");
|
||
|
-moz-image-region: rect(0, 22px, 14px, 11px);
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > .scrollbutton-up:not([disabled="true"]):hover {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-hover.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-up:not([disabled="true"]):hover:active {
|
||
|
-moz-image-region: rect(0, 44px, 14px, 33px);
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-up > .toolbarbutton-icon {
|
||
|
margin: 6px 0px 0px 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox > .scrollbutton-down-stack {
|
||
|
margin-top: 2px;
|
||
|
margin-bottom: 4px;
|
||
|
height: 23px;
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down-box {
|
||
|
-moz-appearance: none !important;
|
||
|
border: none !important;
|
||
|
width: 18px;
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-enabled.png");
|
||
|
background-repeat: no-repeat;
|
||
|
background-color: -moz-dialog;
|
||
|
-moz-border-radius-topleft: 5px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-enabled.png");
|
||
|
-moz-border-radius-topleft: 0px;
|
||
|
-moz-border-radius-topright: 5px;
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down-box[disabled="true"] {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-disabled.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box[disabled="true"] {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-disabled.png");
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down-box-animate {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-animate.png");
|
||
|
background-repeat: no-repeat;
|
||
|
opacity: 0.0;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down-box-animate {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-animate.png");
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down {
|
||
|
-moz-appearance: none !important;
|
||
|
border: none !important;
|
||
|
width: 18px;
|
||
|
list-style-image: url("chrome://global/skin/icons/tab-arrow-end.png");
|
||
|
-moz-image-region: rect(0, 11px, 14px, 0);
|
||
|
margin: 0px;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down {
|
||
|
list-style-image: url("chrome://global/skin/icons/tab-arrow-start.png");
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down[disabled="true"] {
|
||
|
-moz-image-region: rect(0, 33px, 14px, 22px);
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover {
|
||
|
-moz-image-region: rect(0, 22px, 14px, 11px);
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-end-bkgnd-hover.png");
|
||
|
background-repeat: no-repeat;
|
||
|
background-position: top left;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-arrowscrollbox[chromedir="rtl"] > stack > .scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover {
|
||
|
background-image: url("chrome://global/skin/icons/tab-arrow-start-bkgnd-hover.png");
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down:not([disabled="true"]):hover:active {
|
||
|
-moz-image-region: rect(0, 44px, 14px, 33px);
|
||
|
}
|
||
|
|
||
|
.scrollbutton-rel-box > .scrollbutton-down > .toolbarbutton-icon {
|
||
|
margin: 6px 0px 0px 1px;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* All Tabs Button
|
||
|
*/
|
||
|
|
||
|
.tabs-alltabs-box {
|
||
|
margin-top: 2px;
|
||
|
margin-bottom: 4px;
|
||
|
width: 18px !important;
|
||
|
height: 23px !important;
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-end-bkgnd.png");
|
||
|
background-repeat: no-repeat;
|
||
|
background-color: -moz-dialog;
|
||
|
-moz-border-radius-topleft: 5px;
|
||
|
}
|
||
|
|
||
|
stack[chromedir="rtl"] > hbox > .tabs-alltabs-box {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-start-bkgnd.png");
|
||
|
-moz-border-radius-topleft: 0px;
|
||
|
-moz-border-radius-topright: 5px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] .tabs-alltabs-box {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd.png");
|
||
|
-moz-border-radius-topleft: 0px;
|
||
|
-moz-border-radius-topright: 0px;
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] stack[chromedir="rtl"] > hbox > .tabs-alltabs-box {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd.png");
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-button {
|
||
|
-moz-appearance: none !important;
|
||
|
border: 0px !important;
|
||
|
margin-top: 2px;
|
||
|
margin-bottom: 4px;
|
||
|
width: 18px !important;
|
||
|
height: 23px !important;
|
||
|
border: 0px !important;
|
||
|
-moz-padding-start: 4px !important;
|
||
|
-moz-padding-end: 4px !important;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-button > .toolbarbutton-text {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-button > .toolbarbutton-icon {
|
||
|
-moz-margin-end: 2px;
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-button > .toolbarbutton-menu-dropmarker {
|
||
|
margin-top: 3px !important;
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-button:hover {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-end-bkgnd-hover.png");
|
||
|
background-repeat: no-repeat;
|
||
|
}
|
||
|
|
||
|
stack[chromedir="rtl"] > hbox > .tabs-alltabs-button:hover {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-start-bkgnd-hover.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] .tabs-alltabs-button:hover {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd-hover.png");
|
||
|
}
|
||
|
|
||
|
.tabbrowser-tabs[overflow="true"] stack[chromedir="rtl"] > hbox > .tabs-alltabs-button:hover {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd-hover.png");
|
||
|
}
|
||
|
|
||
|
.tabs-alltabs-box-animate {
|
||
|
margin-top: 2px;
|
||
|
margin-bottom: 4px;
|
||
|
width: 18px !important;
|
||
|
height: 23px !important;
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-end-bkgnd-animate.png");
|
||
|
background-repeat: no-repeat;
|
||
|
opacity: 0.0;
|
||
|
}
|
||
|
|
||
|
stack[chromedir="rtl"] > hbox > .tabs-alltabs-box-animate {
|
||
|
background-image: url("chrome://global/skin/icons/alltabs-box-overflow-start-bkgnd-animate.png");
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* All Tabs Menupopup
|
||
|
*/
|
||
|
|
||
|
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
|
||
|
width: 16px;
|
||
|
height: 16px;
|
||
|
list-style-image: url("chrome://global/skin/icons/folder-item.png");
|
||
|
-moz-image-region: rect(0px, 16px, 16px, 0px);
|
||
|
}
|
||
|
|
||
|
.alltabs-item[selected="true"] {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
.alltabs-item[busy] > .menu-iconic-left > .menu-iconic-icon {
|
||
|
list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
|
||
|
opacity: 0.6;
|
||
|
}
|