gecko/browser/themes/shared/social/chat.inc.css

174 lines
3.6 KiB
CSS

%if 0
/* 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/. */
%endif
.chat-status-icon {
max-height: 16px;
max-width: 16px;
padding: 0;
}
.chat-toolbarbutton {
-moz-appearance: none;
border: none;
padding: 0;
margin: 0;
background: none;
}
.chat-toolbarbutton > .toolbarbutton-text {
display: none;
}
.chat-toolbarbutton.notification-anchor-icon > .toolbarbutton-icon {
width: inherit;
margin-top: -2px;
}
.chat-close-button {
list-style-image: url('chrome://browser/skin/social/chat-icons.png');
-moz-image-region: rect(0, 14px, 14px, 0);
}
.chat-close-button:hover,
.chat-close-button:hover:active {
-moz-image-region: rect(14px, 14px, 28px, 0);
}
.chat-minimize-button {
list-style-image: url('chrome://browser/skin/social/chat-icons.png');
-moz-image-region: rect(0, 28px, 14px, 14px);
}
.chat-minimize-button:hover:active,
.chat-minimize-button:hover {
-moz-image-region: rect(14px, 28px, 28px, 14px);
}
.chat-swap-button {
list-style-image: url('chrome://browser/skin/social/chat-icons.png');
-moz-image-region: rect(0, 42px, 14px, 28px);
}
.chat-swap-button:hover:active,
.chat-swap-button:hover {
-moz-image-region: rect(14px, 42px, 28px, 28px);
}
chatbar > chatbox > .chat-titlebar > .chat-swap-button {
list-style-image: url('chrome://browser/skin/social/chat-icons.png');
-moz-image-region: rect(0, 56px, 14px, 42px);
}
chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover:active,
chatbar > chatbox > .chat-titlebar > .chat-swap-button:hover {
-moz-image-region: rect(14px, 56px, 28px, 42px);
}
.chat-title {
font-weight: bold;
color: black;
text-shadow: none;
cursor: inherit;
}
.chat-titlebar {
height: 20px;
min-height: 20px;
width: 100%;
margin: 0;
padding: 2px;
-moz-padding-start: 6px;
border: none;
border-bottom: 1px solid #ccc;
cursor: pointer;
}
.chat-titlebar > .notification-anchor-icon {
margin-left: 2px;
margin-right: 2px;
}
.chat-titlebar[minimized="true"] {
border-bottom: none;
}
.chat-titlebar[activity] {
background-image: radial-gradient(ellipse closest-side at center, rgb(255,255,255), rgba(255,255,255,0));
background-repeat: no-repeat;
background-size: 100% 20px;
background-position: 0 -10px;
}
.chat-frame {
padding: 0;
margin: 0;
overflow: hidden;
}
.chatbar-button {
list-style-image: url("chrome://browser/skin/social/services-16.png");
margin: 0;
padding: 2px;
height: 21px;
width: 21px;
border: 1px solid #ccc;
border-bottom: none;
}
@media (min-resolution: 2dppx) {
.chatbar-button {
list-style-image: url("chrome://browser/skin/social/services-16@2x.png");
}
}
.chatbar-button > .toolbarbutton-icon {
width: 16px;
}
.chatbar-button > menupopup > .menuitem-iconic > .menu-iconic-left > .menu-iconic-icon {
width: auto;
height: auto;
max-height: 16px;
max-width: 16px;
}
.chatbar-button[open="true"] {
box-shadow: inset 0 2px 5px rgba(0,0,0,0.6), 0 1px rgba(255,255,255,0.2);
}
.chatbar-button > .toolbarbutton-text,
.chatbar-button > .toolbarbutton-menu-dropmarker {
display: none;
}
.chatbar-button > menupopup > menuitem[activity] {
font-weight: bold;
}
.chatbar-innerbox {
background: transparent;
margin: -285px 0 0;
overflow: hidden;
}
chatbar {
-moz-margin-end: 20px;
}
chatbox {
-moz-margin-start: 4px;
background-color: white;
border: 1px solid #ccc;
border-bottom: none;
}
window > chatbox {
-moz-margin-start: 0px;
margin: 0px;
border: none;
padding: 0px;
}