From 2bf1685ed4536cac3a78eeb8fdaf2ff71ce9fc74 Mon Sep 17 00:00:00 2001 From: "mostafah%oeone.com" Date: Thu, 11 Nov 2004 20:21:04 +0000 Subject: [PATCH] Checked in attachment 165595 for bug 226209: Cleanup calendar code git-svn-id: svn://10.0.0.236/trunk@165278 18797224-902f-48f8-a5cc-f745e15eee43 --- .../sunbird/datetimepickers/minimonth.css | 262 ++++++++++-------- 1 file changed, 149 insertions(+), 113 deletions(-) diff --git a/mozilla/calendar/sunbird/themes/winstripe/sunbird/datetimepickers/minimonth.css b/mozilla/calendar/sunbird/themes/winstripe/sunbird/datetimepickers/minimonth.css index 682d0b798e6..7964f41dea9 100644 --- a/mozilla/calendar/sunbird/themes/winstripe/sunbird/datetimepickers/minimonth.css +++ b/mozilla/calendar/sunbird/themes/winstripe/sunbird/datetimepickers/minimonth.css @@ -1,113 +1,149 @@ -.minimonth-mainbox { - min-width: 130px; - background-color: #ffffff; - border: 1px outset #ffffff; - padding: 0px; -} - -.minimonth-month-box { - background-color: #EEEEEE; -} - -.minimonth-month-name { - font-family: Arial; - font-size: 12pt; - font-weight: bold; - color: #000000; - text-align: center; - padding: 1px; - border: 1px solid #EEEEEE; -} - -.minimonth-year-name { - font-family: Arial; - font-size: 12pt; - font-weight: bold; - color: #000000; - text-align: center; - margin-left: 6px; - padding: 1px; - border: 1px solid #EEEEEE; -} - -.minimonth-month-name:hover, -.minimonth-year-name:hover { - border: 1px solid #d2d2d2; -} - -.minimonth-navbtn { - min-width: 10px; -} - -.minimonth-navbtn[dir="-1"] { - background: url("chrome://calendar/skin/datetimepickers/left-arrow.gif") no-repeat 50% 50%; -} - -.minimonth-navbtn[dir="1"] { - background: url("chrome://calendar/skin/datetimepickers/right-arrow.gif") no-repeat 50% 50%; -} - -/* -.minimonth-navbtn[dir="-1"]:hover { - background: url("chrome://calendar/skin/datetimepickers/left-arrow-hover.gif") no-repeat 50% 50%; -} - -.minimonth-navbtn[dir="1"]:hover { - background: url("chrome://calendar/skin/datetimepickers/right-arrow-hover.gif") no-repeat 50% 50%; -} -*/ - -.minimonth-navbtn:active { - left: 2px; - top: 2px; -} - -.minimonth-cal-box { -} - -.minimonth-header { - font-family: Arial; - color: blue; - text-align: center; -} - -.minimonth-row-body { -} - -.minimonth-day { - font-family: Arial; - color: #000000; - border: 1px solid transparent; - text-align: center; -} - -.minimonth-day[othermonth="true"] { - color: #d2d2d2; -} - -.minimonth-day[budy="true"] { - font-weight : bold; -} - -.minimonth-day[selected="true"] { - background-color: #778899; - color: #ffffff; -} - -.minimonth-day[busy="true"] { - font-weight : bold; -} - -.minimonth-day:hover { - color: #ff0000; - border: 1px solid #d2d2d2; -} - -.minimonth-day:active { - background-color: #d2d2d2; -} - -.minimonth-list[current="true"] { - font-weight: bold; -} - +/* ***** 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 OEone Calendar Code, released October 31st, 2001. + * + * The Initial Developer of the Original Code is + * OEone Corporation. + * Portions created by the Initial Developer are Copyright (C) 2001 + * the Initial Developer. All Rights Reserved. + * + * Contributor(s): Matthew Willis + * + * 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 ***** */ + +.minimonth-mainbox { + min-width: 130px; + background-color: #ffffff; + border: 1px outset #ffffff; + padding: 0px; +} + +.minimonth-month-box { + background-color: #EEEEEE; +} + +.minimonth-month-name { + font-family: Arial; + font-size: 12pt; + font-weight: bold; + color: #000000; + text-align: center; + padding: 1px; + border: 1px solid #EEEEEE; +} + +.minimonth-year-name { + font-family: Arial; + font-size: 12pt; + font-weight: bold; + color: #000000; + text-align: center; + margin-left: 6px; + padding: 1px; + border: 1px solid #EEEEEE; +} + +.minimonth-month-name:hover, +.minimonth-year-name:hover { + border: 1px solid #d2d2d2; +} + +.minimonth-navbtn { + min-width: 10px; +} + +.minimonth-navbtn[dir="-1"] { + background: url("chrome://calendar/skin/datetimepickers/left-arrow.gif") no-repeat 50% 50%; +} + +.minimonth-navbtn[dir="1"] { + background: url("chrome://calendar/skin/datetimepickers/right-arrow.gif") no-repeat 50% 50%; +} + +/* +.minimonth-navbtn[dir="-1"]:hover { + background: url("chrome://calendar/skin/datetimepickers/left-arrow-hover.gif") no-repeat 50% 50%; +} + +.minimonth-navbtn[dir="1"]:hover { + background: url("chrome://calendar/skin/datetimepickers/right-arrow-hover.gif") no-repeat 50% 50%; +} +*/ + +.minimonth-navbtn:active { + left: 2px; + top: 2px; +} + +.minimonth-cal-box { +} + +.minimonth-header { + font-family: Arial; + color: blue; + text-align: center; +} + +.minimonth-row-body { +} + +.minimonth-day { + font-family: Arial; + color: #000000; + border: 1px solid transparent; + text-align: center; +} + +.minimonth-day[othermonth="true"] { + color: #d2d2d2; +} + +.minimonth-day[budy="true"] { + font-weight : bold; +} + +.minimonth-day[selected="true"] { + background-color: #778899; + color: #ffffff; +} + +.minimonth-day[busy="true"] { + font-weight : bold; +} + +.minimonth-day:hover { + color: #ff0000; + border: 1px solid #d2d2d2; +} + +.minimonth-day:active { + background-color: #d2d2d2; +} + +.minimonth-list[current="true"] { + font-weight: bold; +} +