Bug 668966 - Remove the padding around the Calendar list r+a=bv1578
authorRichard Marti <richard.marti@gmail.com>
Thu, 22 Sep 2011 18:57:10 +0200
changeset 8846 fecfead4cd0b44467b25923acc3fe6878d2d48fc
parent 8845 849118e659987645795147d11ff88d5af99b736c
child 8847 5525d1a7f9b1a7e046cac70af64965fa6f19ba76
push idunknown
push userunknown
push dateunknown
bugs668966
Bug 668966 - Remove the padding around the Calendar list r+a=bv1578
calendar/base/themes/gnomestripe/calendar-management.css
calendar/base/themes/gnomestripe/widgets/calendar-widgets.css
calendar/base/themes/pinstripe/calendar-management.css
calendar/base/themes/pinstripe/widgets/calendar-widgets.css
calendar/base/themes/winstripe/calendar-management.css
calendar/base/themes/winstripe/widgets/calendar-widgets.css
calendar/lightning/themes/gnomestripe/lightning.css
calendar/lightning/themes/pinstripe/lightning.css
calendar/lightning/themes/winstripe/lightning.css
--- a/calendar/base/themes/gnomestripe/calendar-management.css
+++ b/calendar/base/themes/gnomestripe/calendar-management.css
@@ -71,17 +71,17 @@ calendar-list-tree > tree > treechildren
 
 calendar-list-tree > tree > treechildren::-moz-tree-cell-text(disabled) {
     color: GrayText;
 }
 
 calendar-list-tree > tree {
   border: none;
   padding: 0;
-  margin: 4px;
+  margin: 4px 0;
   -moz-border-top-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: none;
   -moz-border-left-colors: none;
   -moz-appearance: none;
 }
 
 calendar-list-tree > tree > treecols > treecol[hideheader="true"],
--- a/calendar/base/themes/gnomestripe/widgets/calendar-widgets.css
+++ b/calendar/base/themes/gnomestripe/widgets/calendar-widgets.css
@@ -31,23 +31,21 @@
  * 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 ***** */
 
 
 treenode-checkbox {
-  -moz-box-align:       center;
-  padding-top:          4px;
-  padding-bottom:       4px;
-  -moz-padding-start:   4px;
-  -moz-padding-end:    4px;
-  font-weight:          bold;
-  border-bottom:        1px dotted #c0c0c0;
+  -moz-box-align: center;
+  padding-top: 4px;
+  -moz-padding-start: 4px;
+  -moz-padding-end: 4px;
+  font-weight: bold;
 }
 
 .checkbox-label-box {
   -moz-margin-start: 4px;
 }
 
 .checkbox-icon {
   -moz-margin-end: 2px;
@@ -70,19 +68,22 @@ treenode-checkbox > .checkbox-check {
   -moz-appearance: none;
   -moz-box-align: center;
   border: none;
   width: 9px; /* The image's width is 9 pixels */
   height: 9px;
   background-image: url(chrome://global/skin/tree/twisty-clsd.png);
 }
 
-.treenode-checkbox {
-  -moz-margin-start: 4px;
-  -moz-margin-end: 4px;
+#task-tree-filtergroup {
+  -moz-padding-start: 12px;
+}
+
+calendar-list-tree .tree-scrollable-columns {
+   -moz-padding-start: 18px;
 }
 
 .view-navigation-button {
   list-style-image: url(chrome://calendar/skin/widgets/view-navigation.png);
   -moz-user-focus: normal;
 }
 
 .view-navigation-button[type="prev"],
--- a/calendar/base/themes/pinstripe/calendar-management.css
+++ b/calendar/base/themes/pinstripe/calendar-management.css
@@ -71,17 +71,17 @@ calendar-list-tree > tree > treechildren
 calendar-list-tree > tree > treechildren::-moz-tree-image(status-treecol, readfailed) {
     list-style-image: url(chrome://calendar/skin/calendar-status.png);
     -moz-image-region: rect(0px, 28px, 14px, 14px);
 }
 
 calendar-list-tree > tree {
   border: none;
   padding: 0;
-  margin: 4px;
+  margin: 4px 0;
   -moz-border-top-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: none;
   -moz-border-left-colors: none;
   -moz-appearance: none;
 }
 
 calendar-list-tree > tree > treecols > treecol[hideheader="true"],
--- a/calendar/base/themes/pinstripe/widgets/calendar-widgets.css
+++ b/calendar/base/themes/pinstripe/widgets/calendar-widgets.css
@@ -31,23 +31,21 @@
  * 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 ***** */
 
 
 treenode-checkbox {
-  -moz-box-align:       center;
-  padding-top:          4px;
-  padding-bottom:       4px;
-  -moz-padding-start:   4px;
-  -moz-padding-end:    4px;
-  font-weight:          bold;
-  border-bottom:        1px dotted #c0c0c0;
+  -moz-box-align: center;
+  padding-top: 4px;
+  -moz-padding-start: 4px;
+  -moz-padding-end: 4px;
+  font-weight: bold;
 }
 
 .checkbox-label-box {
   -moz-margin-start: 4px;
 }
 
 .checkbox-icon {
   -moz-margin-end: 2px;
@@ -65,19 +63,22 @@ treenode-checkbox > .checkbox-label-cent
 treenode-checkbox[checked="true"] > .checkbox-check {
   -moz-appearance: treetwistyopen;
 }
 
 treenode-checkbox > .checkbox-check {
   -moz-appearance: treetwisty;
 }
 
-.treenode-checkbox {
-  -moz-margin-start: 4px;
-  -moz-margin-end: 4px;
+#task-tree-filtergroup {
+  -moz-padding-start: 18px;
+}
+
+calendar-list-tree .tree-scrollable-columns {
+   -moz-padding-start: 18px;
 }
 
 .view-navigation-button {
   list-style-image: url(chrome://calendar/skin/widgets/view-navigation.png);
   -moz-user-focus: normal;
 }
 
 .view-navigation-button[type="prev"],
--- a/calendar/base/themes/winstripe/calendar-management.css
+++ b/calendar/base/themes/winstripe/calendar-management.css
@@ -71,17 +71,17 @@ calendar-list-tree > tree > treechildren
 
 calendar-list-tree > tree > treechildren::-moz-tree-cell-text(disabled) {
     color: GrayText;
 }
 
 calendar-list-tree > tree {
   border: none;
   padding: 0;
-  margin: 4px;
+  margin: 4px 0;
   -moz-border-top-colors: none;
   -moz-border-right-colors: none;
   -moz-border-bottom-colors: none;
   -moz-border-left-colors: none;
   -moz-appearance: none;
 }
 
 calendar-list-tree > tree > treecols > treecol[hideheader="true"],
--- a/calendar/base/themes/winstripe/widgets/calendar-widgets.css
+++ b/calendar/base/themes/winstripe/widgets/calendar-widgets.css
@@ -31,23 +31,21 @@
  * 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 ***** */
 
 
 treenode-checkbox {
-  -moz-box-align:       center;
-  padding-top:          4px;
-  padding-bottom:       4px;
-  -moz-padding-start:   4px;
-  -moz-padding-end:    4px;
-  font-weight:          bold;
-  border-bottom:        1px dotted #c0c0c0;
+  -moz-box-align: center;
+  padding-top: 4px;
+  -moz-padding-start: 4px;
+  -moz-padding-end: 4px;
+  font-weight: bold;
 }
 
 .checkbox-label-box {
   -moz-margin-start: 4px;
 }
 
 .checkbox-icon {
   -moz-margin-end: 2px;
@@ -70,19 +68,22 @@ treenode-checkbox > .checkbox-check {
   -moz-appearance: none;
   -moz-box-align: center;
   border: none;
   width: 9px; /* The image's width is 9 pixels */
   height: 9px;
   background-image: url(chrome://global/skin/tree/twisty-clsd.png);
 }
 
-.treenode-checkbox {
-  -moz-margin-start: 4px;
-  -moz-margin-end: 4px;
+#task-tree-filtergroup {
+  -moz-padding-start: 12px;
+}
+
+calendar-list-tree .tree-scrollable-columns {
+   -moz-padding-start: 18px;
 }
 
 .view-navigation-button {
   list-style-image: url(chrome://calendar/skin/widgets/view-navigation.png);
   -moz-user-focus: normal;
 }
 
 .view-navigation-button[type="prev"],
--- a/calendar/lightning/themes/gnomestripe/lightning.css
+++ b/calendar/lightning/themes/gnomestripe/lightning.css
@@ -77,17 +77,17 @@
 
 #calsidebar_splitter[state="collapsed"]:hover:-moz-locale-dir(rtl),
 #today-splitter[state="collapsed"]:hover:-moz-locale-dir(ltr) {
   border-right: 4px solid highlight;
 }
 
 /* Calendar list rules */
 #calendar-panel {
-    padding: 0px 5px 5px;
+    padding-bottom: 5px;
 }
 
 /* Lightning preferences icon */
 radio[pane=paneLightning] {
     list-style-image: url("chrome://calendar/skin/cal-icon32.png");
 }
 
 /* iMIP notification bar */
--- a/calendar/lightning/themes/pinstripe/lightning.css
+++ b/calendar/lightning/themes/pinstripe/lightning.css
@@ -36,17 +36,17 @@
  * 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 ***** */
 
 /* Calendar list rules */
 #calendar-panel {
-    padding: 0px 5px 5px;
+    padding-bottom: 5px;
 }
 
 /* Lightning preferences icon */
 radio[pane=paneLightning] {
     list-style-image: url("chrome://calendar/skin/cal-icon32.png");
 }
 
 /* iMIP notification bar */
@@ -105,20 +105,16 @@ radio[pane=paneLightning] {
 
 
 
 /* Lightning sidebar background in calendar and task mode */
 #ltnSidebar {
   background-color: -moz-field;  
 }
 
-.task-tree-subpane {
-  -moz-margin-start: 12px;
-}
-
 /* Write button */
 #newMsgButton-mail-menuitem {
   list-style-image: url(chrome://messenger/skin/icons/mail-toolbar-small.png);
   -moz-image-region: rect(0px 48px 24px 24px);
 }
 
 #newMsgButton-calendar-menuitem {
   list-style-image: url(chrome://calendar/skin/toolbar-small.png);
--- a/calendar/lightning/themes/winstripe/lightning.css
+++ b/calendar/lightning/themes/winstripe/lightning.css
@@ -44,17 +44,17 @@
 }
 
 #today-splitter {
     border-right: none;
 }
 
 /* Calendar list rules */
 #calendar-panel {
-    padding: 0px 5px 5px;
+    padding-bottom: 5px;
 }
 
 /* Lightning preferences icon */
 radio[pane=paneLightning] {
     list-style-image: url("chrome://calendar/skin/cal-icon32.png");
 }
 
 /* iMIP notification bar */