pjs/calendar/lightning/themes/pinstripe/lightning.css

162 строки
4.2 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 Lightning code.
*
* The Initial Developer of the Original Code is Oracle Corporation
* Portions created by the Initial Developer are Copyright (C) 2005
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Mike Shaver <shaver@mozilla.org>
* Vladimir Vukicevic <vladimir@pobox.com>
* Joey Minta <jminta@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 ***** */
/* Skin-domain style rules for lightning UI (pinstripe version) */
calendar-todo-list {
background-color: -moz-Field;
color: -moz-FieldText;
}
calendar-todo-list[disabled="true"] {
color: GrayText;
}
calendar-todo-item {
-moz-box-align: center;
margin-top: 0;
margin-bottom: 0;
}
calendar-todo-item[selected="true"] {
background-color: Highlight;
color: HighlightText;
}
treechildren::-moz-tree-image(col-calendar-Checkbox, checked) {
list-style-image: url("chrome://calendar/skin/checkbox_checked.png");
}
treechildren::-moz-tree-image(col-calendar-Checkbox, unchecked) {
list-style-image: url("chrome://calendar/skin/checkbox_unchecked.png");
}
treechildren::-moz-tree-cell-text(agenda-header) {
font-weight: bold;
}
/*--------------------------------------------------------------------
* Navigation controls for the views
*-------------------------------------------------------------------*/
.nav-buttons{
list-style-image: url("chrome://calendar/skin/prevnextarrow.png");
}
.nav-buttons[direction="next"] {
-moz-box-align:end;
-moz-image-region: rect(18px 18px 36px 0px);
cursor:pointer;
}
.next-button:hover:active {
margin: 6px 14px 4px 16px;
}
.nav-buttons[direction="prev"] {
-moz-box-align:start;
-moz-image-region: rect(0px 18px 18px 0px);
cursor:pointer;
}
.prev-button:hover:active {
margin: 6px 14px 4px 16px;
}
.title-container {
-moz-box-align: center;
-moz-box-pack: center;
margin: 0px 15px 0px 15px;
}
.title2 {
font-size:1.2em;
color: #4e84c2;
margin:0px;
padding:0px;
cursor:pointer;
-moz-appearance: none;
border: 0px;
}
.title1 {
font-size:1.5em;
color: #4e84c2;
cursor:pointer;
-moz-appearance: none;
border: 0px;
}
.title0 {
font-size:2.0em;
color: #2e4e73;
font-weight:bold;
margin:0px;
padding:0px;
-moz-appearance: none;
border: 0px;
}
.view-title-label-box
{
width: 10em !important;
-moz-box-align: center;
-moz-box-pack: end;
}
radio[pane=paneLightning] {
list-style-image: url("chrome://calendar/skin/cal-icon32.png");
}
/**
* iMIP notification bar
*/
#imipNotificationImage {
list-style-image: url("chrome://calendar/skin/cal-icon32.png");
-moz-image-region: rect(0px, 32px, 32px, 0px);
}
#imipNotificationBar {
border: 1px solid #87bbcc;
-moz-border-radius: 7px;
background-color: #baeeff;
padding: 3px 6px 4px 6px;
margin: 6px 6px 0px 6px;
color: black;
}