bug 824164 change position of chat overflow button, r=markh

This commit is contained in:
Shane Caraveo 2013-05-05 19:48:20 -07:00
Родитель 9c1c4904de
Коммит 65f4b98545
5 изменённых файлов: 12 добавлений и 14 удалений

Просмотреть файл

@ -155,10 +155,10 @@
<binding id="chatbar">
<content>
<xul:hbox align="end" pack="end" anonid="innerbox" class="chatbar-innerbox" mousethrough="always" flex="1">
<xul:spacer flex="1" anonid="spacer" class="chatbar-overflow-spacer"/>
<xul:toolbarbutton anonid="nub" class="chatbar-button" type="menu" collapsed="true" mousethrough="never">
<xul:menupopup anonid="nubMenu" oncommand="document.getBindingParent(this).showChat(event.target.chat)"/>
</xul:toolbarbutton>
<xul:spacer flex="1" anonid="spacer" class="chatbar-overflow-spacer"/>
<children/>
</xul:hbox>
</content>

Просмотреть файл

@ -2194,12 +2194,14 @@ toolbar[iconsize="small"] .toolbarbutton-badge-container {
.chatbar-button {
-moz-appearance: none;
background-color: #d9d9d9;
background-image: linear-gradient(@toolbarHighlight@, rgba(255,255,255,0));
}
.chatbar-button > .toolbarbutton-icon {
-moz-margin-end: 0;
}
.chatbar-button:hover,
.chatbar-button[open="true"] {
background-color: #f0f0f0;
}

Просмотреть файл

@ -3775,13 +3775,17 @@ toolbar[mode="icons"] > *|* > .toolbarbutton-badge[badge]:not([badge=""]):-moz-l
.chatbar-button {
background-color: #d9d9d9;
background-image: linear-gradient(rgba(255,255,255,.43), rgba(255,255,255,0));
border-top-left-radius: @toolbarbuttonCornerRadius@;
border-top-right-radius: @toolbarbuttonCornerRadius@;
}
.chatbar-button:hover,
.chatbar-button[open="true"] {
background-color: #f0f0f0;
}
.chatbar-button[activity] {
.chatbar-button[activity]:not([open]) {
background-image: radial-gradient(circle farthest-corner at center 2px, rgb(254,254,255) 3%, rgba(210,235,255,0.9) 12%, rgba(148,205,253,0.6) 30%, rgba(148,205,253,0.2) 70%);
}

Просмотреть файл

@ -73,13 +73,12 @@
.chatbar-button {
list-style-image: url("chrome://browser/skin/social/services-16.png");
border: none;
margin: 0;
padding: 2px;
height: 21px;
width: 21px;
border-top: 1px solid #ccc;
-moz-border-end: 1px solid #ccc;
border: 1px solid #ccc;
border-bottom: none;
}
@media (min-resolution: 2dppx) {
@ -95,15 +94,6 @@
max-width: 16px;
}
.chatbar-button > .toolbarbutton-icon {
opacity: .6;
}
.chatbar-button:hover > .toolbarbutton-icon,
.chatbar-button[open="true"] > .toolbarbutton-icon {
opacity: 1;
}
.chatbar-button[open="true"] {
box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2);
}

Просмотреть файл

@ -2914,12 +2914,14 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
.chatbar-button {
-moz-appearance: none;
background-color: #c4cfde;
background-image: linear-gradient(rgba(255,255,255,.5), rgba(255,255,255,0));
}
.chatbar-button > .toolbarbutton-icon {
-moz-margin-end: 0;
}
.chatbar-button:hover,
.chatbar-button[open="true"] {
background-color: #dae3f0;
}