diff --git a/browser/components/places/content/organizer.css b/browser/components/places/content/organizer.css index 6a149fb9bfb0..85ddcca47329 100755 --- a/browser/components/places/content/organizer.css +++ b/browser/components/places/content/organizer.css @@ -1,8 +1,3 @@ - -.history-calendar { - -moz-binding: url("chrome://browser/content/places/places.xml#calendar"); -} - #searchFilter { -moz-binding: url("chrome://browser/content/places/places.xml#textbox-timed-arbitrary"); } diff --git a/browser/components/places/content/places.xml b/browser/components/places/content/places.xml index 98579917f83f..d201a49a42df 100755 --- a/browser/components/places/content/places.xml +++ b/browser/components/places/content/places.xml @@ -5,7 +5,7 @@ xmlns:xbl="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> - + @@ -108,7 +108,7 @@ ]]> - + @@ -123,7 +123,7 @@ - + @@ -139,421 +139,4 @@ - - - - - « - - » - - - - - - - - - - - - - - - - - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - 00 - 00 - 00 - 00 - 00 - 00 - 00 - - - - - - - - - - - return new Date(this._visibleMonth); - - - this._visibleMonth = new Date(val.getFullYear(), val.getMonth(), 1); - this.drawMonth(); - - - - - - if (! this._selectBegin) - return null; - else - return new Date(this._selectBegin); - - - this._selectNothing = false; - this._selectBegin = val; - this.updateSelection(this._selectBegin, this._selectEnd); - this.fireRangeEvent(); - - - - - if (! this._selectEnd) - return null; - else - return new Date(this._selectEnd); - - - this._selectNothing = false; - this._selectEnd = val; - this.updateSelection(this._selectBegin, this._selectEnd); - this.fireRangeEvent(); - - - - - - - - - = this._numCells) { - // reselect month for end range - this.visibleMonth = end; - } - } - this._selectNothing = false; - this.updateSelection(begin, end); - this.fireRangeEvent(); - ]]> - - - - - - return this._selectNothing; - - - this._selectNothing = val; - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - end.getTime()) { - this._selectBegin = end; - this._selectEnd = begin; - } else { - this._selectBegin = begin; - this._selectEnd = end; - } - this.drawSelection(); - ]]> - - - - - - - - var msDiff = a.getTime() - b.getTime(); - return Math.floor(msDiff / 86400000); // 1000ms/s * 60s/m * 60m/h * 24h/d = 86400000ms/d - - - - - false - - - - - - = beginIndex && i <= endIndex); - if (sel != this._selected[i]) { - this._days[i].setAttribute("selected", sel ? "true" : ""); - this._selected[i] = sel; - } - } - ]]> - - - - - '9') { - return null; - } - var cellNumber = Number(tail); - var d = new Date(this._cell0Date); - d.setDate(d.getDate() + cellNumber); - return d; - ]]> - - - - - - - - - diff --git a/browser/themes/pinstripe/browser/places/places.css b/browser/themes/pinstripe/browser/places/places.css index 693864008f2c..8d8306f647b8 100755 --- a/browser/themes/pinstripe/browser/places/places.css +++ b/browser/themes/pinstripe/browser/places/places.css @@ -192,66 +192,6 @@ treechildren::-moz-tree-twisty(title, separator) { margin: 9px -3px -4px 8px; } -/* Calendar */ -.history-calendar { - margin: 0px 0px 7px 6px; -} - -.calendar-box { - -moz-appearance: listbox; - border:1px solid black; - background-color:white; -} -.calendar-header { - background-color:#EEE; -} -.calendar-month-jump { - cursor:pointer; - padding-left:6px; - padding-right:6px; -} -.calendar-month-jump:hover { - background-color:#DDD; -} -.calendar-grid { - padding-left:8px; - padding-right:8px; - padding-bottom:4px; -} -.calendar-grid label { /* everything in the calendar grid */ - padding:4px; - margin:0px; - text-align:center; - font-size:80%; -} -.calendar-month-title { - text-align:center; -} -.calendar-day-header { - border-bottom:1px solid #888; -} -.calendar-day { /* just days (excluding the day headers) */ - cursor:w-resize; - color:white; - background-color:white; -} -.calendar-day:hover { - background-color:#DDD; -} -.calendar-day[selected="true"] { - cursor:w-resize; - background-color:#8C8; -} -.calendar-day[selected="true"]:hover { - background-color:#6A6; -} -.calendar-day[month="this"] { - color:black; -} -.calendar-day[month="other"] { - color:#888; -} - .no-margin-button { min-width:0em; } diff --git a/browser/themes/winstripe/browser/places/places.css b/browser/themes/winstripe/browser/places/places.css index e5de30389e12..1c28308e7011 100755 --- a/browser/themes/winstripe/browser/places/places.css +++ b/browser/themes/winstripe/browser/places/places.css @@ -182,66 +182,6 @@ treechildren::-moz-tree-cell-text(date, session-continue) { margin: 9px -3px -4px 8px; } -/* Calendar */ -.history-calendar { - margin: 0px 0px 7px 6px; -} - -.calendar-box { - -moz-appearance: listbox; - border: 1px solid black; - background-color: white; -} -.calendar-header { - background-color: #EEE; -} -.calendar-month-jump { - cursor: pointer; - padding-left: 6px; - padding-right: 6px; -} -.calendar-month-jump:hover { - background-color: #DDD; -} -.calendar-grid { - padding-left: 8px; - padding-right: 8px; - padding-bottom: 4px; -} -.calendar-grid label { /* everything in the calendar grid */ - padding: 4px; - margin: 0px; - text-align: center; - font-size: 80%; -} -.calendar-month-title { - text-align: center; -} -.calendar-day-header { - border-bottom: 1px solid #888; -} -.calendar-day { /* just days (excluding the day headers) */ - cursor: w-resize; - color: white; - background-color:white; -} -.calendar-day:hover { - background-color: #DDD; -} -.calendar-day[selected="true"] { - cursor: w-resize; - background-color: #8C8; -} -.calendar-day[selected="true"]:hover { - background-color: #6A6; -} -.calendar-day[month="this"] { - color: black; -} -.calendar-day[month="other"] { - color: #888; -} - #advancedSearchRows { border-bottom: 2px solid; -moz-border-bottom-colors: ThreeDHighlight ThreeDShadow;