mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-04 07:40:42 +00:00
Bug 327760, initial cut. Make new views look more like previous Sunbird versions. patch by ssitter, r=jminta
This commit is contained in:
parent
9eed7c491d
commit
e8d2262064
@ -38,30 +38,29 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* Multiday view */
|
||||
calendar-event-column {
|
||||
border-left: 1px solid #999999;
|
||||
border-top: 1px solid #999999;
|
||||
}
|
||||
|
||||
calendar-event-column[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
}
|
||||
|
||||
calendar-header-container[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
}
|
||||
|
||||
calendar-event-column,
|
||||
calendar-header-container {
|
||||
border-left: 1px solid #999999;
|
||||
border-top: 1px solid #999999;
|
||||
background: #FFFFFF;
|
||||
border-left: 1px solid #3F7D91;
|
||||
border-top: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
calendar-event-column[today="true"],
|
||||
calendar-header-container[today="true"] {
|
||||
background: #dfeaf4;
|
||||
}
|
||||
|
||||
calendar-event-column[selected="true"],
|
||||
calendar-header-container[selected="true"] {
|
||||
background: #ffe79c;
|
||||
}
|
||||
|
||||
.calendar-event-column-linebox[orient="horizontal"] {
|
||||
border-right: 1px solid #aaaaaa;
|
||||
border-right: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-event-column-linebox[orient="vertical"] {
|
||||
border-bottom: 1px solid #aaaaaa;
|
||||
border-bottom: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.fgdragbox {
|
||||
@ -152,16 +151,18 @@ calendar-event-gripbar[parentorient="horizontal"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar-time-bar-box-odd {
|
||||
border-top: 1px solid #999999;
|
||||
border-left: 1px solid #999999;
|
||||
background: #dddddd;
|
||||
.calendar-time-bar-box-odd,
|
||||
.calendar-time-bar-box-even {
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
text-align: right;
|
||||
border-top: 1px solid #3F7D91;
|
||||
border-left: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-time-bar-box-even {
|
||||
border-top: 1px solid #999999;
|
||||
border-left: 1px solid #999999;
|
||||
background: #dddddd;
|
||||
calendar-multiday-view {
|
||||
background: #FFFFFF;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
calendar-multiday-view[hidden="true"] {
|
||||
@ -169,7 +170,10 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
.calendar-day-label-box {
|
||||
background: #dddddd;
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
border-top: 1px solid #3F7D91;
|
||||
border-left: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-day-label-date {
|
||||
@ -184,6 +188,10 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
/* Month View */
|
||||
calendar-month-view {
|
||||
background: #FFFFFF;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.calendar-month-view-grid-column {
|
||||
min-width: 1px;
|
||||
@ -196,29 +204,39 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
calendar-month-day-box {
|
||||
border: 1px solid #999999;
|
||||
border: 1px solid #3F7D91;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-odd {
|
||||
background: #dddddd !important;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even {
|
||||
background: white;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-weekend {
|
||||
background: #eeeeee;
|
||||
background: #FFF9E7;
|
||||
}
|
||||
|
||||
calendar-month-day-box[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
.calendar-month-day-box-odd {
|
||||
background: #E7EEEC;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even[today="true"],
|
||||
.calendar-month-day-box-weekend[today="true"],
|
||||
.calendar-month-day-box-odd[today="true"] {
|
||||
background: #dfeaf4;
|
||||
border: 2px solid #1D7AB5 !important;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even[selected="true"],
|
||||
.calendar-month-day-box-weekend[selected="true"],
|
||||
.calendar-month-day-box-odd[selected="true"] {
|
||||
background: #ffe79c;
|
||||
border: 1px solid #1D7AB5;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-date-label {
|
||||
color: #556;
|
||||
color: #3F7D91;;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
@ -226,8 +244,7 @@ calendar-month-day-box[selected="true"] {
|
||||
|
||||
calendar-month-day-box-item {
|
||||
margin: 1px;
|
||||
padding: 0px;
|
||||
padding-left: 1px;
|
||||
padding: 0px 1px 0px 1px;
|
||||
}
|
||||
|
||||
calendar-month-day-box-item[selected="true"] {
|
||||
@ -245,6 +262,15 @@ calendar-month-day-box-item[selected="true"] {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
calendar-month-view-column-header {
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
font-weight:bold;
|
||||
border-left: 1px solid #3F7D91;
|
||||
border-right: 1px solid #3F7D91;
|
||||
border-top: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-month-view-column-header-label {
|
||||
font-weight: bold;
|
||||
padding: 3px 3px 3px 3px;
|
||||
|
@ -38,30 +38,29 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/* Multiday view */
|
||||
calendar-event-column {
|
||||
border-left: 1px solid #999999;
|
||||
border-top: 1px solid #999999;
|
||||
}
|
||||
|
||||
calendar-event-column[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
}
|
||||
|
||||
calendar-header-container[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
}
|
||||
|
||||
calendar-event-column,
|
||||
calendar-header-container {
|
||||
border-left: 1px solid #999999;
|
||||
border-top: 1px solid #999999;
|
||||
background: #FFFFFF;
|
||||
border-left: 1px solid #3F7D91;
|
||||
border-top: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
calendar-event-column[today="true"],
|
||||
calendar-header-container[today="true"] {
|
||||
background: #dfeaf4;
|
||||
}
|
||||
|
||||
calendar-event-column[selected="true"],
|
||||
calendar-header-container[selected="true"] {
|
||||
background: #ffe79c;
|
||||
}
|
||||
|
||||
.calendar-event-column-linebox[orient="horizontal"] {
|
||||
border-right: 1px solid #aaaaaa;
|
||||
border-right: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-event-column-linebox[orient="vertical"] {
|
||||
border-bottom: 1px solid #aaaaaa;
|
||||
border-bottom: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.fgdragbox {
|
||||
@ -152,16 +151,18 @@ calendar-event-gripbar[parentorient="horizontal"] {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.calendar-time-bar-box-odd {
|
||||
border-top: 1px solid #999999;
|
||||
border-left: 1px solid #999999;
|
||||
background: #dddddd;
|
||||
.calendar-time-bar-box-odd,
|
||||
.calendar-time-bar-box-even {
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
text-align: right;
|
||||
border-top: 1px solid #3F7D91;
|
||||
border-left: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-time-bar-box-even {
|
||||
border-top: 1px solid #999999;
|
||||
border-left: 1px solid #999999;
|
||||
background: #dddddd;
|
||||
calendar-multiday-view {
|
||||
background: #FFFFFF;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
calendar-multiday-view[hidden="true"] {
|
||||
@ -169,7 +170,10 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
.calendar-day-label-box {
|
||||
background: #dddddd;
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
border-top: 1px solid #3F7D91;
|
||||
border-left: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-day-label-date {
|
||||
@ -184,6 +188,10 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
/* Month View */
|
||||
calendar-month-view {
|
||||
background: #FFFFFF;
|
||||
padding: 2px;
|
||||
}
|
||||
|
||||
.calendar-month-view-grid-column {
|
||||
min-width: 1px;
|
||||
@ -196,29 +204,39 @@ calendar-multiday-view[hidden="true"] {
|
||||
}
|
||||
|
||||
calendar-month-day-box {
|
||||
border: 1px solid #999999;
|
||||
border: 1px solid #3F7D91;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-odd {
|
||||
background: #dddddd !important;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even {
|
||||
background: white;
|
||||
background: #FFFFFF;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-weekend {
|
||||
background: #eeeeee;
|
||||
background: #FFF9E7;
|
||||
}
|
||||
|
||||
calendar-month-day-box[selected="true"] {
|
||||
background: #ffe79c !important;
|
||||
.calendar-month-day-box-odd {
|
||||
background: #E7EEEC;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even[today="true"],
|
||||
.calendar-month-day-box-weekend[today="true"],
|
||||
.calendar-month-day-box-odd[today="true"] {
|
||||
background: #dfeaf4;
|
||||
border: 2px solid #1D7AB5 !important;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-even[selected="true"],
|
||||
.calendar-month-day-box-weekend[selected="true"],
|
||||
.calendar-month-day-box-odd[selected="true"] {
|
||||
background: #ffe79c;
|
||||
border: 1px solid #1D7AB5;
|
||||
}
|
||||
|
||||
.calendar-month-day-box-date-label {
|
||||
color: #556;
|
||||
color: #3F7D91;;
|
||||
font-weight: bold;
|
||||
margin-bottom: 0px;
|
||||
margin-top: 0px;
|
||||
@ -226,8 +244,7 @@ calendar-month-day-box[selected="true"] {
|
||||
|
||||
calendar-month-day-box-item {
|
||||
margin: 1px;
|
||||
padding: 0px;
|
||||
padding-left: 1px;
|
||||
padding: 0px 1px 0px 1px;
|
||||
}
|
||||
|
||||
calendar-month-day-box-item[selected="true"] {
|
||||
@ -245,6 +262,15 @@ calendar-month-day-box-item[selected="true"] {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
calendar-month-view-column-header {
|
||||
color: #3F7D91;
|
||||
background: #E7EEEC;
|
||||
font-weight:bold;
|
||||
border-left: 1px solid #3F7D91;
|
||||
border-right: 1px solid #3F7D91;
|
||||
border-top: 1px solid #3F7D91;
|
||||
}
|
||||
|
||||
.calendar-month-view-column-header-label {
|
||||
font-weight: bold;
|
||||
padding: 3px 3px 3px 3px;
|
||||
|
@ -41,20 +41,12 @@
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
#calendar-deck{
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
* MAIN view deck - contains nav buttons and views
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-controls-box
|
||||
{
|
||||
min-height : 33px;
|
||||
max-height : 33px;
|
||||
#view-deck {
|
||||
background: #FFFFFF;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
|
||||
@ -496,6 +488,14 @@ toolbar[printpreview="true"] {
|
||||
* View controls
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
calendar-navigation-buttons {
|
||||
padding: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
.title-label-box button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav-buttons{
|
||||
list-style-image: url("chrome://calendar/skin/prevnextarrow.png");
|
||||
}
|
||||
|
@ -40,11 +40,9 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
#calendar-deck{
|
||||
overflow:auto;
|
||||
#view-deck {
|
||||
background: #FFFFFF;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
#calendar-bar > .toolbar-holder > .toolbar-primary-icon {
|
||||
@ -516,6 +514,14 @@ toolbar[printpreview="true"] {
|
||||
* View controls
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
calendar-navigation-buttons {
|
||||
padding: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
.title-label-box button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav-buttons{
|
||||
list-style-image: url("chrome://calendar/skin/prevnextarrow.png");
|
||||
}
|
||||
|
@ -47,20 +47,11 @@
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
* MAIN view deck - contains nav buttons and views
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-deck {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-controls-box {
|
||||
min-height: 33px;
|
||||
max-height: 33px;
|
||||
#view-deck {
|
||||
background: #FFFFFF;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
@ -786,6 +777,14 @@ toolbar[printpreview="true"] {
|
||||
* View controls
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
calendar-navigation-buttons {
|
||||
padding: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
.title-label-box button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav-buttons{
|
||||
list-style-image: url("chrome://calendar/skin/prevnextarrow.png");
|
||||
}
|
||||
|
@ -46,20 +46,13 @@
|
||||
# ***** END LICENSE BLOCK *****
|
||||
*/
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
*-------------------------------------------------------------------*/
|
||||
#calendar-deck {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
* Top bar, with name, image and buttons
|
||||
* MAIN view deck - contains nav buttons and views
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
#calendar-controls-box {
|
||||
min-height: 33px;
|
||||
max-height: 33px;
|
||||
#view-deck {
|
||||
background: #FFFFFF;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------
|
||||
@ -932,6 +925,14 @@ toolbar[printpreview="true"] {
|
||||
* View controls
|
||||
*-------------------------------------------------------------------*/
|
||||
|
||||
calendar-navigation-buttons {
|
||||
padding: 0px 0px 2px 0px;
|
||||
}
|
||||
|
||||
.title-label-box button {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.nav-buttons{
|
||||
list-style-image: url("chrome://calendar/skin/prevnextarrow.png");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user