Fix bug 474228 - Fix calendar mode borders (again). r=berend
authorPhilipp Kewisch <mozilla@kewis.ch>
Mon, 19 Jan 2009 19:00:55 +0100
changeset 1691 739ea2707464ed16694cc8f85abe22ef3245cf46
parent 1690 41edf5a38e8fa2f307c624ca8685feb024bbf7a9
child 1692 d2442ac0de7f1acf0685472f76e24aa03c2cbd15
push idunknown
push userunknown
push dateunknown
reviewersberend
bugs474228
Fix bug 474228 - Fix calendar mode borders (again). r=berend
calendar/base/content/calendar-views.xul
calendar/base/themes/pinstripe/calendar-unifinder.css
calendar/base/themes/pinstripe/calendar-views.css
calendar/base/themes/winstripe/calendar-unifinder.css
calendar/base/themes/winstripe/calendar-views.css
--- a/calendar/base/content/calendar-views.xul
+++ b/calendar/base/content/calendar-views.xul
@@ -95,17 +95,17 @@
                <tab id="calendar-month-view-button"
                     label="&calendar.month.button.label;"
                     tooltiptext="&calendar.month.button.tooltip;"
                     calview="month"
                     observes="calendar_month-view_command"/>
              </tabs>
            <box class="navigation-bottombox" type="end"/>
          </vbox>
-         <vbox>
+         <vbox class="view-scrollbarspacer">
            <scrollbar style="visibility:hidden;max-height:1px;height:1px" orient="vertical"/>
          </vbox>
        </hbox>
        <deck flex="1"
             id="view-deck"
             persist="selectedIndex"
             ondraggesture="nsDragAndDrop.startDrag(event, calendarViewDNDObserver);"
             ondragover="nsDragAndDrop.dragOver(event, calendarViewDNDObserver);"
--- a/calendar/base/themes/pinstripe/calendar-unifinder.css
+++ b/calendar/base/themes/pinstripe/calendar-unifinder.css
@@ -63,21 +63,16 @@
 }
 
 /* restyle splitter-border to match Thunderbird's layout */
 #calendar-view-splitter {
     border: none;
     min-height: 5px;
 }
 
-/* add view-deck-border to match Thunderbird's layout */
-#view-deck {
-    border: 1px solid ThreeDShadow;
-}
-
 /* added for new id ..... search box ..... */
 #unifinder-searchBox {
     border-top: 1px solid ThreeDHighlight;
     height: 30px;
     background-color: transparent;
 }
 
 .unifinder-closebutton {
--- a/calendar/base/themes/pinstripe/calendar-views.css
+++ b/calendar/base/themes/pinstripe/calendar-views.css
@@ -622,16 +622,28 @@ calendar-event-box[invitation-status="DE
 calendar-editable-item[invitation-status="DECLINED"],
 calendar-month-day-box-item[invitation-status="DECLINED"] {
     opacity: 0.3;
 }
 
 /* Navigation controls for the views */
 #calendar-nav-control {
     background-color: white;
+    border: solid ThreeDShadow;
+    border-width: 1px 1px 0;
+}
+
+#view-deck {
+    border: solid ThreeDShadow;
+    border-width: 0 1px;
+}
+
+.view-scrollbarspacer {
+    border-bottom: 1px solid #D2D2D2;
+    margin-bottom: 4px;
 }
 
 .tabs-left,
 .tabs-right {
     border-bottom: 2px solid #D2D2D2;
 }
 
 .calview-tabs {
--- a/calendar/base/themes/winstripe/calendar-unifinder.css
+++ b/calendar/base/themes/winstripe/calendar-unifinder.css
@@ -63,21 +63,16 @@
 }
 
 /* restyle splitter-border to match Thunderbird's layout */
 #calendar-view-splitter {
     border: none;
     min-height: 5px;
 }
 
-/* add view-deck-border to match Thunderbird's layout */
-#view-deck {
-    border: 1px solid ThreeDShadow;
-}
-
 /* added for new id ..... search box ..... */
 #unifinder-searchBox {
     border-top: 1px solid ThreeDHighlight;
     height: 30px;
     background-color: transparent;
 }
 
 #bottom-events-box {
--- a/calendar/base/themes/winstripe/calendar-views.css
+++ b/calendar/base/themes/winstripe/calendar-views.css
@@ -624,16 +624,28 @@ calendar-event-box[invitation-status="DE
 calendar-editable-item[invitation-status="DECLINED"],
 calendar-month-day-box-item[invitation-status="DECLINED"] {
     opacity: 0.3;
 }
 
 /* Navigation controls for the views */
 #calendar-nav-control {
     background-color: white;
+    border: solid ThreeDShadow;
+    border-width: 1px 1px 0;
+}
+
+#view-deck {
+    border: solid ThreeDShadow;
+    border-width: 0 1px;
+}
+
+.view-scrollbarspacer {
+    border-bottom: 1px solid #D2D2D2;
+    margin-bottom: 4px;
 }
 
 .tabs-left,
 .tabs-right {
     border-bottom: 2px solid #D2D2D2;
 }
 
 tab[calview] {