mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
73eb5512e6
+ Created a platform-specific css file for tabcandy in the theme directory. + Copied the Mac TabCandy theme additions into the Windows and Linux themes. --HG-- rename : browser/themes/pinstripe/browser/tabcandy/tabcandy.css => browser/base/content/tabcandy/tabcandy.css
424 lines
7.9 KiB
CSS
424 lines
7.9 KiB
CSS
html {
|
|
overflow: hidden;
|
|
/* image-rendering: -moz-crisp-edges; */
|
|
}
|
|
|
|
body {
|
|
font-family: Tahoma, sans-serif !important;
|
|
padding: 0px;
|
|
color: rgba(0,0,0,0.4);
|
|
font-size:12px;
|
|
line-height: 16px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
#bg {
|
|
background: -moz-linear-gradient(top,#C4C4C4,#9E9E9E);
|
|
position:absolute;
|
|
top:0;
|
|
left:0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -999999;
|
|
}
|
|
|
|
/* Tab Styling
|
|
----------------------------------*/
|
|
|
|
|
|
.tab {
|
|
position: absolute;
|
|
padding: 4px 6px 6px 4px;
|
|
border: 1px solid rgba(230,230,230,1);
|
|
background-color: rgba(245,245,245,1);
|
|
overflow: visible !important;
|
|
-moz-border-radius: 0.4em;
|
|
-moz-box-shadow: inset rgba(255, 255, 255, 0.6) 0 0 0 2px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tab canvas {
|
|
border: 1px solid rgba(0,0,0,0.2);
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.thumb {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.thumbShadow {
|
|
position: absolute;
|
|
border-bottom: 5px solid rgba(0,0,0,0.05);
|
|
margin-right: -12px;
|
|
bottom: 2px;
|
|
width: 94.5%;
|
|
}
|
|
|
|
.favicon {
|
|
position: absolute;
|
|
background-color: rgba(245,245,245,1);
|
|
-moz-border-radius-bottomright: 0.4em;
|
|
-moz-box-shadow:
|
|
inset rgba(255, 255, 255, 0.6) 0 -2px 0px,
|
|
inset rgba(255, 255, 255, 0.6) -2px 0px 0px;
|
|
padding: 4px 6px 6px 4px;
|
|
top: 4px;
|
|
left: 4px;
|
|
border-right: 1px solid rgba(0,0,0,0.2);
|
|
border-bottom: 1px solid rgba(0,0,0,0.2);
|
|
height: 17;
|
|
width: 17;
|
|
}
|
|
|
|
.favicon img {
|
|
border: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 6px;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: url(chrome://global/skin/icons/closetab.png) no-repeat;
|
|
opacity: 0.2;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.close:hover{ opacity: 1.0;}
|
|
|
|
.expander {
|
|
position: absolute;
|
|
bottom: 6px;
|
|
right: 6px;
|
|
width: 16px;
|
|
height: 16px;
|
|
background: url(chrome://global/skin/icons/resizer.png) no-repeat;
|
|
opacity: 0.2;
|
|
}
|
|
|
|
.expander:hover{opacity:1.0;}
|
|
|
|
.favicon img:hover, .close img:hover, .expander img:hover{
|
|
opacity: 1;
|
|
border: none;
|
|
}
|
|
|
|
.tab-title {
|
|
position: absolute;
|
|
top: 100%;
|
|
text-align: center;
|
|
width: 94.5%;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.stacked {padding:0;}
|
|
.stacked .tab-title{ display: none; }
|
|
.stacked .thumbShadow{display: none;}
|
|
.stacked .thumb{-moz-box-shadow: rgba(0,0,0,.2) 1px 1px 6px;}
|
|
|
|
.stack-trayed .tab-title{
|
|
display: block !important;
|
|
text-shadow: rgba(0,0,0,1) 1px 1px 2px;
|
|
color: #EEE;
|
|
font-size: 11px;
|
|
}
|
|
.stack-trayed .thumb{ -moz-box-shadow: none !important;}
|
|
|
|
.focus{
|
|
-moz-box-shadow: rgba(54,79,225,1) 0px 0px 5px -1px !important;
|
|
}
|
|
|
|
.front .tab-title, .front .close, .front .favicon, .front .expander, .front .thumbShadow {
|
|
display: none;
|
|
}
|
|
|
|
.front .focus {
|
|
-moz-box-shadow: none !important;
|
|
}
|
|
|
|
/* Tab Group
|
|
----------------------------------*/
|
|
|
|
.tabInGroup {
|
|
border: none;
|
|
-moz-box-shadow: none !important;
|
|
}
|
|
|
|
|
|
.group {
|
|
position: absolute;
|
|
/* float: left; */
|
|
cursor: move;
|
|
border: 1px solid rgba(230,230,230,1);
|
|
background-color: rgba(248,248,248,1);
|
|
-moz-border-radius: 0.4em;
|
|
-moz-box-shadow:
|
|
inset rgba(255, 255, 255, 0.6) 0 0 0 2px,
|
|
rgba(0,0,0, .2) 1px 1px 4px;
|
|
}
|
|
|
|
.phantom {
|
|
border: 1px solid rgba(190,190,190,1);
|
|
}
|
|
|
|
.overlay{
|
|
|
|
background-color: rgba(0,0,0,.7) !important;
|
|
-moz-box-shadow: 3px 3px 8px rgba(0,0,0,.5);
|
|
-moz-border-radius: 0.4em;
|
|
|
|
/*
|
|
border: 1px solid rgba(230,230,230,1);
|
|
background-color: rgba(248,248,248,1);
|
|
-moz-border-radius: 0.4em;
|
|
-moz-box-shadow:
|
|
rgba(0,0,0, .3) 2px 2px 8px,
|
|
inset rgba(255, 255, 255, 0.6) 0 2px 0px,
|
|
inset rgba(255, 255, 255, 0.6) 0 -2px 0px,
|
|
inset rgba(255, 255, 255, 0.6) 2px 0px 0px,
|
|
inset rgba(255, 255, 255, 0.6) -2px 0px 0px; */
|
|
}
|
|
|
|
/* Trenches
|
|
----------------------------------*/
|
|
|
|
.guideTrench, .visibleTrench, .activeVisibleTrench {
|
|
position: absolute;
|
|
}
|
|
|
|
.guideTrench {
|
|
z-index: -101;
|
|
opacity: 0.9;
|
|
border: 1px dashed rgba(0,0,0,.08);
|
|
border-bottom: none;
|
|
border-right: none;
|
|
-moz-box-shadow: 1px 1px 0 rgba(255,255,255,.1);
|
|
}
|
|
|
|
.visibleTrench {
|
|
z-index: -103;
|
|
opacity: 0.05;
|
|
}
|
|
|
|
.activeVisibleTrench {
|
|
z-index: -102;
|
|
opacity: 0;
|
|
}
|
|
|
|
.activeVisibleTrench.activeTrench {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.visibleTrench.border, .activeVisibleTrench.border {
|
|
background-color: red;
|
|
}
|
|
|
|
.visibleTrench.guide, .activeVisibleTrench.guide {
|
|
background-color: blue;
|
|
}
|
|
|
|
/* Other
|
|
----------------------------------*/
|
|
|
|
.newTabButton{
|
|
width: 16px;
|
|
height: 15px;
|
|
bottom: 10px;
|
|
left: 10px;
|
|
position: absolute !important;
|
|
cursor: pointer;
|
|
opacity: .3;
|
|
background-image: url(chrome://browser/skin/tabcandy/new-tab.png);
|
|
z-index:99999;
|
|
}
|
|
|
|
.newTabButton:hover{
|
|
opacity: 1;
|
|
}
|
|
|
|
.newTabButtonAlt{
|
|
position: absolute;
|
|
cursor: pointer;
|
|
z-index:99999;
|
|
border: none;
|
|
-moz-border-radius: 4px;
|
|
font-size: 50px;
|
|
line-height: 50px;
|
|
height: 57px !important;
|
|
width: 70px !important;
|
|
margin-top: 4px !important;
|
|
text-align: center;
|
|
background-color: #888888;
|
|
-moz-box-shadow: inset 0px 0px 5px rgba(0,0,0,.5), 0 1px 0 rgba(255,255,255,.3);
|
|
}
|
|
|
|
.newTabButtonAlt>span{
|
|
color: #909090;
|
|
text-shadow: 0px 0px 7px rgba(0,0,0,.4), 0 -1px 0 rgba(255,255,255,.6);
|
|
font-weight: bold;
|
|
}
|
|
|
|
.newTabGroup{
|
|
background-color: #8F8F8F;
|
|
border: none;
|
|
border-top: 1px solid rgba(127,127,127,.5);
|
|
-moz-border-radius: 0.1em;
|
|
-moz-box-shadow: inset 0px 5px 10px rgba(0,0,0,.1);
|
|
}
|
|
|
|
.inNewTabGroup{
|
|
background-color: transparent;
|
|
}
|
|
|
|
.inNewTabGroup .favicon{
|
|
background-color: #8F8F8F;
|
|
-moz-box-shadow: none;
|
|
}
|
|
|
|
.inNewTabGroup .tab-title{
|
|
color: #2C2C2C;
|
|
text-shadow: 0px 1px 0px rgba(255,255,255,.25);
|
|
}
|
|
|
|
|
|
.newTabGroup .name{
|
|
display: none;
|
|
}
|
|
|
|
.newTabAnimatee{
|
|
position: absolute;
|
|
background-color: white;
|
|
border: 1px solid #AAA;
|
|
}
|
|
|
|
.active{
|
|
-moz-box-shadow: 5px 5px 4px rgba(0,0,0,.5);
|
|
}
|
|
|
|
.acceptsDrop{
|
|
-moz-box-shadow: 2px 2px 10px -1px rgba(0,0,0,.6);
|
|
}
|
|
|
|
.titlebar{
|
|
font-size: 12px;
|
|
line-height: 18px;
|
|
height: 18px;
|
|
}
|
|
|
|
input.name{
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
color: #999;
|
|
margin: 3px 0px 0px 3px;
|
|
padding: 1px;
|
|
background-image: url(chrome://browser/skin/tabcandy/edit-light.png);
|
|
padding-left: 20px;
|
|
}
|
|
|
|
input.name:hover{
|
|
border: 1px solid #ddd;
|
|
}
|
|
|
|
input.name-locked:hover{
|
|
border: 1px solid transparent !important;
|
|
cursor: default;
|
|
}
|
|
|
|
input.name:focus{
|
|
color: #555;
|
|
}
|
|
|
|
input.defaultName{
|
|
font-style: italic !important;
|
|
background-image-opacity: .1;
|
|
color: transparent;
|
|
}
|
|
|
|
input.defaultName:hover{
|
|
color: #CCC;
|
|
}
|
|
|
|
.title-container {
|
|
}
|
|
|
|
.title-shield {
|
|
position:absolute;
|
|
margin: 3px 0px 0px 3px;
|
|
padding: 1px;
|
|
left:0;
|
|
top:0;
|
|
width:100%;
|
|
height:100%;
|
|
z-index:10;
|
|
}
|
|
|
|
.transparentBorder{
|
|
border: 1px solid transparent !important;
|
|
}
|
|
|
|
.stackExpander{
|
|
position: absolute;
|
|
opacity: .4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.stackExpander:hover{ opacity: .7 !important; }
|
|
|
|
/* Resizable
|
|
----------------------------------*/
|
|
.resizer{
|
|
background-image: url(chrome://global/skin/icons/resizer.png);
|
|
position: absolute;
|
|
bottom: 6px;
|
|
right: 6px;
|
|
opacity: .2;
|
|
}
|
|
|
|
.iq-resizable { }
|
|
.iq-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block;}
|
|
.iq-resizable-disabled .iq-resizable-handle, .iq-resizable-autohide .iq-resizable-handle { display: none; }
|
|
.iq-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }
|
|
|
|
/* Utils
|
|
----------------------------------*/
|
|
|
|
.front{
|
|
z-index: 999999 !important;
|
|
-moz-border-radius: 0 !important;
|
|
-moz-box-shadow: none !important;
|
|
-moz-transform: none !important;
|
|
image-rendering: -moz-crisp-edges;
|
|
}
|
|
|
|
/* Feedback
|
|
----------------------------------*/
|
|
|
|
.bottomButton{
|
|
position: absolute;
|
|
bottom: 0px;
|
|
width: 100px;
|
|
height: 20px;
|
|
line-height: 20px;
|
|
z-index: 99 !important;
|
|
background-color: blue;
|
|
text-align: center;
|
|
color: white;
|
|
background-color: #9E9E9E;
|
|
-moz-box-shadow: 0px 0px 4px rgba(0,0,0,.3), inset 0px 1px 0px rgba(255,255,255,.4);
|
|
}
|
|
|
|
.bottomButton:hover{
|
|
cursor: pointer;
|
|
background-color: #A5A5A5;
|
|
-moz-box-shadow: 0px 0px 5px rgba(0,0,0,.6), inset 0px 1px 0px rgba(255,255,255,.4);
|
|
}
|
|
|
|
#feedback{ right: 200px; }
|
|
#reset{ right: 130px; width: 50px;} |