зеркало из https://github.com/mozilla/snowl.git
237 строки
5.5 KiB
CSS
237 строки
5.5 KiB
CSS
/* ***** BEGIN LICENSE BLOCK *****
|
|
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
*
|
|
* The contents of this file are subject to the Mozilla Public License Version
|
|
* 1.1 (the "License"); you may not use this file except in compliance with
|
|
* the License. You may obtain a copy of the License at
|
|
* http://www.mozilla.org/MPL/
|
|
*
|
|
* Software distributed under the License is distributed on an "AS IS" basis,
|
|
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
|
* for the specific language governing rights and limitations under the
|
|
* License.
|
|
*
|
|
* The Original Code is Snowl.
|
|
*
|
|
* The Initial Developer of the Original Code is Mozilla.
|
|
* Portions created by the Initial Developer are Copyright (C) 2008
|
|
* the Initial Developer. All Rights Reserved.
|
|
*
|
|
* Contributor(s):
|
|
* Myk Melez <myk@mozilla.org>
|
|
* alta88 <alta88@gmail.com>
|
|
*
|
|
* Alternatively, the contents of this file may be used under the terms of
|
|
* either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
* in which case the provisions of the GPL or the LGPL are applicable instead
|
|
* of those above. If you wish to allow use of your version of this file only
|
|
* under the terms of either the GPL or the LGPL, and not to allow others to
|
|
* use your version of this file under the terms of the MPL, indicate your
|
|
* decision by deleting the provisions above and replace them with the notice
|
|
* and other provisions required by the GPL or the LGPL. If you do not delete
|
|
* the provisions above, a recipient may use your version of this file under
|
|
* the terms of any one of the MPL, the GPL or the LGPL.
|
|
*
|
|
* ***** END LICENSE BLOCK ***** */
|
|
|
|
#messageHeader {
|
|
background-color: -moz-dialog;
|
|
}
|
|
|
|
#messageFrame[header="brief"] > #messageHeader,
|
|
#messageFrame[header="basic"] > #messageHeader {
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Set visibility when header collapsed to prevent tab stops */
|
|
#messageFrame[rows="0,*"] > #messageHeader {
|
|
visibility: collapse;
|
|
}
|
|
|
|
#noHeader {
|
|
position: absolute;
|
|
background: no-repeat transparent url("chrome://snowl/content/icons/pagecurl.png");
|
|
left: 0px;
|
|
top: 0px;
|
|
width: 100%;
|
|
height: 20px;
|
|
}
|
|
|
|
#body {
|
|
margin: 0px;
|
|
}
|
|
|
|
#contentBody {
|
|
margin: 22px 8px 8px 8px;
|
|
}
|
|
|
|
table {
|
|
font-family: sans-serif;
|
|
border-spacing: 0px 0px;
|
|
width: 100%;
|
|
}
|
|
|
|
#noHeader[collapsed="true"],
|
|
#headerDeck:not([header="brief"]) .briefHeader,
|
|
#headerDeck[header="brief"] .basicHeaderRow,
|
|
#headerDeck[header="brief"] + #headerFullTable,
|
|
#headerDeck[header="basic"] + #headerFullTable {
|
|
display: none;
|
|
}
|
|
|
|
.headerButtons {
|
|
white-space: nowrap;
|
|
width: 1%;
|
|
}
|
|
|
|
.headerButtons > toolbarbutton,
|
|
.headerButtons > toolbarbutton[checked="true"] {
|
|
padding: 5px !important;
|
|
}
|
|
|
|
.headerLabel {
|
|
padding-left: 4px;
|
|
font-weight: bold;
|
|
text-align: right;
|
|
width: 1%;
|
|
}
|
|
|
|
.headerLabel.wrapped:hover,
|
|
.headerLabel.wrappable:hover {
|
|
cursor: pointer;
|
|
}
|
|
|
|
body.wrap > table > tr > .headerLabel:hover {
|
|
cursor: auto;
|
|
}
|
|
|
|
body.wrap > table > tr > .headerLabel + .headerData > a,
|
|
.headerLabel.wrap + .headerData > a {
|
|
white-space: normal;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.headerData {
|
|
font-weight: normal;
|
|
text-align: left;
|
|
white-space: nowrap;
|
|
overflow-x: hidden;
|
|
max-width: 1em;
|
|
}
|
|
|
|
#headerDeck[header="brief"] > #briefHeaderRow > .headerDataSubject {
|
|
width: 35%;
|
|
}
|
|
|
|
/* The date is difficult to style, as it must stick to the right edge, which
|
|
* doesn't seem to allow for optimal wrapping and flexing and min widths. */
|
|
#briefHeaderRow > .headerDataLast {
|
|
padding-right: 4px;
|
|
width: 5%;
|
|
max-width: none;
|
|
}
|
|
|
|
#briefHeaderRow > .flexer {
|
|
width: 1%;
|
|
}
|
|
|
|
.headerPadTop,
|
|
.headerPadBottom{
|
|
height: .5em;
|
|
}
|
|
|
|
#headerDeck:not([header="brief"]) > tr > .headerPadBottom {
|
|
display: none;
|
|
}
|
|
|
|
#headerDeck[deleted] > #briefHeaderRow > .headerDataSubject > #subject{
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
.fullHeaderRow > .headerData {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
#headerFullTable > tr:nth-child(even) {
|
|
background: darkgray;
|
|
}
|
|
|
|
.fullHeaderRowSeparator {
|
|
border-top: 1px solid threedshadow;
|
|
margin: 0 10px;
|
|
}
|
|
|
|
/* The search highlight generator will create as many unique classnames as there
|
|
* are search terms, in the form .hl#, and 7 styles are defined here, the rest
|
|
* default. Theme here is 'Blue Variations' but any customization is possible. */
|
|
.hl, .hl0,
|
|
.hl > a, .hl0 > a {
|
|
background: #0000CD;
|
|
color: white;
|
|
}
|
|
.hl1,
|
|
.hl1 > a {
|
|
background: #4682B4;
|
|
color: white;
|
|
}
|
|
.hl2,
|
|
.hl2 > a {
|
|
background: #4169E1;
|
|
color: white;
|
|
}
|
|
.hl3,
|
|
.hl3 > a {
|
|
background: #6495ED;
|
|
color: white;
|
|
}
|
|
.hl4,
|
|
.h4l > a {
|
|
background: #1E90FF;
|
|
color: white;
|
|
}
|
|
.hl5,
|
|
.hl5 > a {
|
|
background: #87CEFA;
|
|
color: white;
|
|
}
|
|
.hl6,
|
|
.hl6 > a {
|
|
background: #00BFFF;
|
|
color: white;
|
|
}
|
|
#hlMarkerContainer {
|
|
position:fixed;
|
|
top:0;
|
|
right:0;
|
|
width:10px;
|
|
height:100%;
|
|
background:#eee;
|
|
}
|
|
.hlMarker {
|
|
position:absolute;
|
|
width:12px;
|
|
height:3px;
|
|
cursor:pointer;
|
|
}
|
|
/* Icon courtesy of http://sozai.7gates.net/en/docs/pushpin_icon01/ */
|
|
#pinButton {
|
|
list-style-image: url("chrome://snowl/content/icons/pushpin.gif");
|
|
}
|
|
|
|
#headerDeck[header="brief"] > tr > td > #headerButton {
|
|
list-style-image: url("chrome://snowl/content/icons/application_split.png");
|
|
}
|
|
|
|
#headerDeck[header="basic"] > tr > td > #headerButton {
|
|
list-style-image: url("chrome://snowl/content/icons/application_tile_vertical.png");
|
|
}
|
|
|
|
#headerDeck[header="full"] > tr > td > #headerButton {
|
|
list-style-image: url("chrome://snowl/content/icons/application_view_list.png");
|
|
}
|
|
|
|
#deleteMessageButton {
|
|
list-style-image: url("chrome://snowl/content/icons/delete.png");
|
|
}
|