gecko/browser/components/tabview/tabview.css

295 lines
4.1 KiB
CSS
Raw Normal View History

2012-05-21 04:12:37 -07:00
/* 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/. */
/* Platform-independent structural styling for
* <strike>Tab Candy</strike> Panorama
----------------------------------*/
html {
overflow: hidden;
/* image-rendering: -moz-crisp-edges; */
}
2010-07-18 08:58:10 -07:00
body {
padding: 0px;
margin: 0 auto;
}
#content {
overflow: -moz-hidden-unscrollable;
2010-07-27 09:38:21 -07:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#bg {
2010-07-27 09:38:21 -07:00
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -999999;
}
/* Tabs
----------------------------------*/
.tab {
position: absolute;
overflow: visible !important;
}
.tab canvas,
.cached-thumb {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
}
.tabHidden {
display: none;
}
.thumb {
position: relative;
width: 100%;
2010-07-18 08:58:10 -07:00
height: 100%;
}
.favicon {
position: absolute;
}
/* Apply crisp rendering for favicons at exactly 2dppx resolution */
@media (resolution: 2dppx) {
.favicon > img {
image-rendering: -moz-crisp-edges;
}
}
.close {
position: absolute;
cursor: pointer;
}
.expander {
position: absolute;
}
.tab-title {
position: absolute;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2010-07-27 09:38:21 -07:00
}
.stacked .tab-title {
2010-07-27 09:38:21 -07:00
display: none;
}
.stack-trayed .tab-title {
display: block !important;
}
/* Tab: Zooming
----------------------------------*/
.front {
z-index: 999999 !important;
image-rendering: -moz-crisp-edges;
}
.front canvas {
border: none !important;
padding: 1px !important;
}
/* Groups
----------------------------------*/
.groupItem {
position: absolute;
}
.appTabTrayContainer {
position: absolute;
}
.title-container {
/* We want the title container to leave out width, position of the .close
button and space between input and .close button. Keep an eye on LTR and
RTL differences in .close. */
width: calc(100% - 16px - 6px - 6px);
}
input.name {
text-overflow: ellipsis;
width: -moz-available;
}
input.name:focus {
text-overflow: clip;
}
/* Other Items
----------------------------------*/
.undo {
position: absolute;
}
/* Trenches
----------------------------------*/
.guideTrench,
.visibleTrench,
.activeVisibleTrench {
position: absolute;
}
.guideTrench {
z-index: -101;
}
.visibleTrench {
z-index: -103;
}
.activeVisibleTrench {
z-index: -102;
}
2010-04-14 19:06:17 -07:00
/* Other
----------------------------------*/
.titlebar {
position: absolute;
}
.title-shield {
2010-07-27 09:38:21 -07:00
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
z-index: 10;
}
2010-07-27 09:38:21 -07:00
.transparentBorder {
2010-07-18 08:58:10 -07:00
border: 1px solid transparent !important;
}
2010-07-27 09:38:21 -07:00
.stackExpander {
position: absolute;
2010-07-27 09:38:21 -07:00
}
.shield {
left: 0;
top: 0;
width: 100%;
height: 100%;
position: absolute;
}
.banner {
left: 0;
bottom: 0;
right: 0;
padding: 10px 0;
position: absolute;
z-index: 1000060;
background: #000;
color: #fff;
opacity: 0;
text-align: center;
font-weight: 700;
}
/* Resizable
----------------------------------*/
2010-07-27 09:38:21 -07:00
.resizer {
position: absolute;
}
2010-07-27 09:38:21 -07:00
.iq-resizable-handle {
position: absolute;
z-index: 99999;
display: block;
}
.iq-resizable-disabled .iq-resizable-handle,
.iq-resizable-autohide .iq-resizable-handle {
2010-07-27 09:38:21 -07:00
display: none;
}
/* Search
----------------------------------*/
#searchshade{
position: absolute;
top: 0px;
left: 0px;
z-index: 1000001;
}
#search{
position: absolute;
top: 0px;
left: 0px;
pointer-events: none;
z-index: 1000050;
}
html[dir=rtl] #search {
left: auto;
right: 0;
}
#searchbox{
position: absolute;
right: 20px;
top: 20px;
pointer-events: auto;
}
html[dir=rtl] #searchbox {
right: auto;
left: 20px;
}
#actions{
position: absolute;
top: 0px;
right: -3px;
z-index: 1000000;
}
html[dir=rtl] #actions {
right: auto;
left: -3px;
}
#otherresults{
position: absolute;
opacity: 0;
overflow: hidden;
}
.onTop{
z-index: 1000010 !important;
}
.inlineMatch{
display: inline-block;
pointer-events: auto;
}
.inlineMatch>span{
display: inline-block;
overflow: hidden;
}