Bug 726317 - Remove the side margins in Today Pane. r=philipp ui-r=andreasn
authorRichard Marti <richard.marti@gmail.com>
Fri, 17 Feb 2012 18:23:59 +0100
changeset 10856 530066c36f5e38a20c382410659d716d99d1b552
parent 10855 1fd048add6cb2aef6402b815aa43633e3cb5bd6f
child 10857 d950eae8189d933840184629a9cf3a8b3385618f
push id463
push userbugzilla@standard8.plus.com
push dateTue, 24 Apr 2012 17:34:51 +0000
treeherdercomm-beta@e53588e8f7b0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersphilipp, andreasn
bugs726317
Bug 726317 - Remove the side margins in Today Pane. r=philipp ui-r=andreasn
calendar/base/themes/common/calendar-task-view.css
calendar/base/themes/common/today-pane.css
calendar/base/themes/gnomestripe/today-pane.css
calendar/base/themes/pinstripe/today-pane.css
calendar/base/themes/winstripe/win-aero/calendar.css
--- a/calendar/base/themes/common/calendar-task-view.css
+++ b/calendar/base/themes/common/calendar-task-view.css
@@ -63,18 +63,18 @@
 #calendar-task-tree {
     min-height: 98px;
     border-left: 1px solid ThreeDShadow;
     border-bottom: 1px solid ThreeDHighlight;
     border-right: 1px solid ThreeDHighlight;
 }
 
 #calendar-task-tree-detail {
-    border: 1px solid ThreeDShadow;
-    margin: 3px;
+    border-top: 1px solid ThreeDShadow;
+    margin: 3px 0;
 }
 
 #view-task-edit-field {
     margin: 5px;
 }
 
 .task-edit-field[readonly="true"] {
     color: GrayText;
--- a/calendar/base/themes/common/today-pane.css
+++ b/calendar/base/themes/common/today-pane.css
@@ -128,18 +128,21 @@
  -moz-padding-start: 5px;
 }
 
 #todaypane-new-event-button {
   list-style-image: url("chrome://calendar/skin/toolbar-small.png");
 }
 
 #agenda-listbox {
+  -moz-appearance: none;
   -moz-user-focus: normal;
-  margin: 3px;
+  margin: 3px 0 0;
+  border-top: 1px solid ThreeDShadow;
+  background-color: -moz-field;
 }
 
 agenda-checkbox-richlist-item {
   -moz-binding: url("chrome://calendar/content/agenda-listbox.xml#agenda-checkbox-richlist-item");
   -moz-user-focus: normal;
 }
 
 agenda-richlist-item {
--- a/calendar/base/themes/gnomestripe/today-pane.css
+++ b/calendar/base/themes/gnomestripe/today-pane.css
@@ -9,21 +9,21 @@
 }
 
 #today-pane-panel:-moz-lwtheme > sidebarheader {
   background-image: -moz-linear-gradient(rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 19px);
 }
 
 #today-pane-splitter {
   -moz-appearance: none;
-  border-bottom: 1px solid ThreeDShadow;
+  border-bottom: 3px double ThreeDShadow;
   /* splitter grip area */
   height: 5px;
   /* make only the splitter border visible */
-  margin-top: -5px;
+  margin-top: -3px;
   /* because of the negative margin needed to make the splitter visible */
   position: relative;
   z-index: 10;
 }
 
 .miniday-nav-buttons {
   max-width: 19px;
 }
--- a/calendar/base/themes/pinstripe/today-pane.css
+++ b/calendar/base/themes/pinstripe/today-pane.css
@@ -38,10 +38,15 @@
 #todaypane-new-event-button:active {
   -moz-image-region: rect(24px 24px 48px 0px);
 }
 #todaypane-new-event-button[disabled="true"] {
   -moz-image-region: rect(48px 24px 72px 0px);
 }
 
 #agenda-listbox {
-  border: none;
+  border-top-color: #B8B8B8;
 }
+
+#today-pane-splitter {
+  min-height: 9px;
+  border-top: 1px solid #B8B8B8;
+}
--- a/calendar/base/themes/winstripe/win-aero/calendar.css
+++ b/calendar/base/themes/winstripe/win-aero/calendar.css
@@ -1,44 +1,11 @@
-/* ***** 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 Mozilla Calendar code.
- *
- * The Initial Developer of the Original Code is
- *   Philipp Kewisch <mozilla@kewis.ch>
- * Portions created by the Initial Developer are Copyright (C) 2011
- * the Initial Developer. All Rights Reserved.
- *
- * Contributor(s):
- *   Richard Marti <mozilla@paenglab.ch>
- *
- * 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 ***** */
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this file,
+ * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 #task-actions-toolbar > #task-actions-category {
   list-style-image: url(chrome://calendar/skin/tasks-actions-aero.png);
   -moz-image-region: rect(0 18px 18px 0);
 }
 
 #task-actions-toolbar > #task-actions-markcompleted {
   list-style-image: url(chrome://calendar/skin/tasks-actions-aero.png);
@@ -178,16 +145,21 @@
   min-height: 0;
   height: 5px;
   background-color: transparent;
   margin-top: -5px;
   position: relative;
   z-index: 10;
 }
 
+#today-pane-splitter {
+  border-bottom: 3px double #A9B7C9;
+  margin-top: -3px;
+}
+
 #calendar-nav-control,
 #calendar-task-details-container {
   border-top-width: 0 !important;
 }
 
 #today-pane-panel {
   -moz-border-start-width: 0 !important;
 }