64425 - edit mode tabs, r=andreww, sr=ben
|
@ -6,7 +6,7 @@
|
|||
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
||||
|
||||
<binding id="button-doubletext" extends="chrome://global/content/xulBindings.xml#basetext">
|
||||
<content>
|
||||
<content includes="menupopup">
|
||||
<xul:box class="button-internal-box" orient="vertical" autostretch="never" flex="1">
|
||||
<xul:image class="button-icon" inherits="src"/>
|
||||
<xul:box orient="vertical" class="button-text-container" autostretch="never" flex="1">
|
||||
|
@ -260,12 +260,13 @@
|
|||
<xul:spring class="tab-image-left-mid" inherits="selected" flex="1"/>
|
||||
<xul:spring class="tab-image-left-btm" inherits="selected"/>
|
||||
</xul:box>
|
||||
<xul:box flex="1" class="tab-image-middle" orient="vertical" inherits="selected">
|
||||
<xul:box orient="horizontal" align="center" autostretch="never">
|
||||
<xul:box flex="1" class="tab-image-mid" orient="vertical" inherits="selected">
|
||||
<xul:box class="tab-image-mid-top" inherits="selected"/>
|
||||
<xul:box class="tab-image-mid-mid" orient="horizontal" align="center" autostretch="never" flex="1">
|
||||
<xul:image class="tab-left"/>
|
||||
<xul:text flex="1" inherits="value,crop,accesskey" crop="right" class="tab-text"/>
|
||||
</xul:box>
|
||||
<xul:box class="tab-image-middle-btm" inherits="selected"/>
|
||||
<xul:box class="tab-image-mid-btm" inherits="selected"/>
|
||||
</xul:box>
|
||||
<xul:box class="tab-image-right" orient="vertical">
|
||||
<xul:spring class="tab-image-right-top" inherits="selected"/>
|
||||
|
|
Двоичные данные
themes/modern/global/tab-bot-clicked-left.gif
До Ширина: | Высота: | Размер: 232 B После Ширина: | Высота: | Размер: 222 B |
Двоичные данные
themes/modern/global/tab-bot-clicked-middle.gif
До Ширина: | Высота: | Размер: 277 B После Ширина: | Высота: | Размер: 253 B |
Двоичные данные
themes/modern/global/tab-bot-clicked-right.gif
До Ширина: | Высота: | Размер: 231 B После Ширина: | Высота: | Размер: 221 B |
Двоичные данные
themes/modern/global/tab-bot-select-left.gif
До Ширина: | Высота: | Размер: 630 B После Ширина: | Высота: | Размер: 612 B |
Двоичные данные
themes/modern/global/tab-bot-select-middle.gif
До Ширина: | Высота: | Размер: 285 B После Ширина: | Высота: | Размер: 261 B |
Двоичные данные
themes/modern/global/tab-bot-select-right.gif
До Ширина: | Высота: | Размер: 604 B После Ширина: | Высота: | Размер: 586 B |
Двоичные данные
themes/modern/global/tab-bot-unselect-left.gif
До Ширина: | Высота: | Размер: 227 B После Ширина: | Высота: | Размер: 217 B |
Двоичные данные
themes/modern/global/tab-bot-unselect-middle.gif
До Ширина: | Высота: | Размер: 285 B После Ширина: | Высота: | Размер: 261 B |
Двоичные данные
themes/modern/global/tab-bot-unselect-right.gif
До Ширина: | Высота: | Размер: 234 B После Ширина: | Высота: | Размер: 224 B |
|
@ -25,13 +25,12 @@ tab {
|
|||
border-bottom: 1px solid #D7E2E3;
|
||||
}
|
||||
|
||||
.tab-image-middle {
|
||||
min-height: 19px;
|
||||
.tab-image-mid {
|
||||
background : url(chrome://global/skin/tab-unselect-middle.gif) repeat-x top;
|
||||
background-color: #9BA8AA;
|
||||
}
|
||||
|
||||
.tab-image-middle-btm {
|
||||
.tab-image-mid-btm {
|
||||
border-top: 1px solid #333D4B;
|
||||
border-bottom: 1px solid #D7E2E3;
|
||||
}
|
||||
|
@ -68,7 +67,7 @@ tab:hover:active > box > box > .tab-image-left-mid {
|
|||
background-image: url(chrome://global/skin/tab-clicked-left-mid.gif);
|
||||
}
|
||||
|
||||
tab:hover:active > box > .tab-image-middle {
|
||||
tab:hover:active > box > .tab-image-mid {
|
||||
background-image: url(chrome://global/skin/tab-clicked-middle.gif);
|
||||
background-color: #7A878C;
|
||||
}
|
||||
|
@ -105,14 +104,14 @@ tab:hover:active[selected="true"] > box > box > .tab-image-left-btm {
|
|||
height: 2px;
|
||||
}
|
||||
|
||||
.tab-image-middle[selected="true"],
|
||||
tab:hover:active[selected="true"] > box > .tab-image-middle {
|
||||
.tab-image-mid[selected="true"],
|
||||
tab:hover:active[selected="true"] > box > .tab-image-mid {
|
||||
background-image: url(chrome://global/skin/tab-select-middle.gif);
|
||||
background-color: #C3D1D1;
|
||||
}
|
||||
|
||||
.tab-image-middle-btm[selected="true"],
|
||||
tab:hover:active[selected="true"] > box > box > .tab-image-middle-btm {
|
||||
.tab-image-mid-btm[selected="true"],
|
||||
tab:hover:active[selected="true"] > box > box > .tab-image-mid-btm {
|
||||
border-top: 1px solid #919FA3;
|
||||
border-bottom: 1px solid #F4F7F9;
|
||||
}
|
||||
|
@ -167,60 +166,96 @@ tabcontrol[align="vertical"] > tabbox[align="horizontal"] > tab {
|
|||
/* Found in editor.xul & editorOverlay.xul
|
||||
* SMALL TABS FOR NOW */
|
||||
|
||||
.tab-bottom:hover:active > box > .tab-image-middle > .tab-text {
|
||||
color : #FEFEFE;
|
||||
.tab-bottom {
|
||||
min-height: 21px;
|
||||
}
|
||||
|
||||
.tab-bottom > box > .tab-image-left {
|
||||
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-top {
|
||||
border-top: 1px solid #919FA3;
|
||||
border-bottom: 1px solid #333D4B;
|
||||
height: 0px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-middle {
|
||||
border-left: 1px solid #333D4B;
|
||||
background-color: #9BA8AA;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-left > .tab-image-left-btm {
|
||||
border: none;
|
||||
background : url(chrome://global/skin/tab-bot-unselect-left.gif) no-repeat;
|
||||
width : 11px;
|
||||
height : 19px;
|
||||
}
|
||||
|
||||
.tab-bottom > box > .tab-image-middle {
|
||||
background : url(chrome://global/skin/tab-bot-unselect-middle.gif) repeat-x;
|
||||
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-top {
|
||||
border-top: 1px solid #919FA3;
|
||||
border-bottom: 1px solid #333D4B;
|
||||
}
|
||||
|
||||
.tab-bottom > box > .tab-image-right {
|
||||
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
||||
background: url(chrome://global/skin/tab-bot-unselect-middle.gif) repeat-x bottom;
|
||||
background-color: #9BA8AA;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-mid > .tab-image-mid-btm {
|
||||
border: none;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-top {
|
||||
border-top: 1px solid #919FA3;
|
||||
border-bottom: 1px solid #333D4B;
|
||||
height: 0px;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-mid {
|
||||
background: url(chrome://global/skin/tab-unselect-right-mid.gif) repeat-y;
|
||||
}
|
||||
|
||||
.tab-bottom > .tab-top > .tab-image-right > .tab-image-right-btm {
|
||||
border: none;
|
||||
background : url(chrome://global/skin/tab-bot-unselect-right.gif) no-repeat;
|
||||
width : 11px;
|
||||
height : 19px;
|
||||
}
|
||||
|
||||
.tab-bottom > box > .tab-image-middle > .tab-text {
|
||||
padding : 4px 0px 1px 0px;
|
||||
/* active state */
|
||||
|
||||
.tab-bottom:hover:active > .tab-top > .tab-image-left > .tab-image-left-btm {
|
||||
background-image: url(chrome://global/skin/tab-bot-clicked-left.gif);
|
||||
}
|
||||
|
||||
.tab-bottom:hover:active > box > .tab-image-left {
|
||||
background : url(chrome://global/skin/tab-bot-clicked-left.gif) no-repeat;
|
||||
.tab-bottom:hover:active > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
||||
background-image: url(chrome://global/skin/tab-bot-clicked-middle.gif);
|
||||
}
|
||||
|
||||
.tab-bottom:hover:active > box > .tab-image-middle {
|
||||
background : url(chrome://global/skin/tab-bot-clicked-middle.gif) repeat-x;
|
||||
.tab-bottom:hover:active > .tab-top > .tab-image-right > .tab-image-right-btm {
|
||||
background-image: url(chrome://global/skin/tab-bot-clicked-right.gif);
|
||||
}
|
||||
|
||||
.tab-bottom:hover:active > box > .tab-image-right {
|
||||
background : url(chrome://global/skin/tab-bot-clicked-right.gif) no-repeat;
|
||||
/* selected state */
|
||||
|
||||
.tab-bottom[selected="true"] > .tab-top > .tab-image-left > .tab-image-left-btm,
|
||||
.tab-bottom:hover:active[selected="true"] > .tab-top > .tab-image-left > .tab-image-left-btm {
|
||||
background-image: url(chrome://global/skin/tab-bot-select-left.gif);
|
||||
}
|
||||
|
||||
/* when a tab is selected this is how it should look */
|
||||
|
||||
.tab-bottom[selected="true"] > box > .tab-image-left,
|
||||
.tab-bottom:hover:active[selected="true"] > box > .tab-image-left {
|
||||
background : url(chrome://global/skin/tab-bot-select-left.gif) no-repeat;
|
||||
.tab-bottom[selected="true"] > .tab-top > .tab-image-mid > .tab-image-mid-mid ,
|
||||
.tab-bottom:hover:active[selected="true"] > .tab-top > .tab-image-mid > .tab-image-mid-mid {
|
||||
background-image: url(chrome://global/skin/tab-bot-select-middle.gif);
|
||||
}
|
||||
|
||||
.tab-bottom[selected="true"] > box > .tab-image-middle,
|
||||
.tab-bottom:hover:active[selected="true"] > box > .tab-image-middle {
|
||||
background : url(chrome://global/skin/tab-bot-select-middle.gif) repeat-x;
|
||||
.tab-bottom[selected="true"] > .tab-top > .tab-image-right > .tab-image-right-btm,
|
||||
.tab-bottom:hover:active[selected="true"] > .tab-top > .tab-image-right > .tab-image-right-btm {
|
||||
background-image: url(chrome://global/skin/tab-bot-select-right.gif);
|
||||
}
|
||||
|
||||
.tab-bottom[selected="true"] > box > .tab-image-right,
|
||||
.tab-bottom:hover:active[selected="true"] > box > .tab-image-right {
|
||||
background : url(chrome://global/skin/tab-bot-select-right.gif) no-repeat;
|
||||
}
|
||||
/* tabbox-bottom - the whole tabbox */
|
||||
|
||||
.tabbox-bottom > .tab-border-top-left, .tabbox-bottom > .tab-border-top-right {
|
||||
.tabbox-bottom > .tab-border-top-left,
|
||||
.tabbox-bottom > .tab-border-top-right {
|
||||
background : url(chrome://global/skin/tab-bot-border.gif) repeat-x top;
|
||||
width : 2px;
|
||||
}
|
||||
|
@ -228,13 +263,11 @@ tabcontrol[align="vertical"] > tabbox[align="horizontal"] > tab {
|
|||
.tabbox-bottom > .tab-border-top-left-cap {
|
||||
background : url(chrome://global/skin/tab-bot-border-leftcap.gif) no-repeat top;
|
||||
width : 2px;
|
||||
height : 2px;
|
||||
}
|
||||
|
||||
.tabbox-bottom > .tab-border-top-right-cap {
|
||||
background : url(chrome://global/skin/tab-bot-border-rightcap.gif) no-repeat top;
|
||||
width : 2px;
|
||||
height : 2px;
|
||||
}
|
||||
|
||||
/* bottom tabs */
|
||||
|
|