Closed
Bug 243765
Opened 21 years ago
Closed 21 years ago
Clean up css of xbl datepicker and xbl timepicker (make skinnable)
Categories
(Calendar :: Sunbird Only, defect)
Calendar
Sunbird Only
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: gekacheka, Assigned: mostafah)
References
Details
Attachments
(11 files, 2 obsolete files)
14.16 KB,
application/octet-stream
|
mostafah
:
first-review+
|
Details |
2.39 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
1.35 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
1.24 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
1.52 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
1.12 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
8.08 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
2.88 KB,
text/plain
|
mostafah
:
first-review+
|
Details |
2.88 KB,
text/plain
|
mostafah
:
first-review+
|
Details |
824 bytes,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
1.76 KB,
patch
|
mostafah
:
first-review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040421
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040421
The xbl datepicker and xbl timepicker in datetimepickers currently use a mix of
css from content/datetimepickers and skin/datepicker, skin/timepicker. Much of
the css in content/datetimepickers was originally in skin/eventDialog.css. The
appearance css from both sources should be combined in skin/datetimepickers so
the components are skinnable and easier to reuse.
Reproducible: Always
Steps to Reproduce:
Adds skin css files for minimonth, datepicker, timepicker
(combined and cleaned up from eventDialog).
skin/classic/datetimepickers/minimonth.css
skin/classic/datetimepickers/datepicker.css
skin/classic/datetimepickers/timepicker.css
skin/modern/datetimepickers/minimonth.css
skin/modern/datetimepickers/datepicker.css
skin/modern/datetimepickers/timepicker.css
Restores modern button images (currently classic and modern are same)
skin/modern/datetimepickers/calendar_disabled.gif
skin/modern/datetimepickers/calendar_down.png
skin/modern/datetimepickers/calendar_hover.png
skin/modern/datetimepickers/calendar_up.gif
skin/modern/datetimepickers/clock_disabled.gif
skin/modern/datetimepickers/clock_down.png
skin/modern/datetimepickers/clock_hover.png
skin/modern/datetimepickers/clock_up.gif
These replace the previous images (copies of the classic images), so
since the png files don't overwrite the gif files, the following can be
removed:
skin/modern/datetimepickers/calendar_down.gif
skin/modern/datetimepickers/calendar_hover.gif
skin/modern/datetimepickers/clock_down.gif
skin/modern/datetimepickers/clock_hover.gif
Attachment #148624 -
Flags: first-review?(mostafah)
Attachment #148625 -
Flags: first-review?(mostafah)
Attachment #148626 -
Flags: first-review?(mostafah)
Attachment #148627 -
Flags: first-review?(mostafah)
Attachment #148628 -
Flags: first-review?(mostafah)
Attachment #148630 -
Flags: first-review?(mostafah)
Attachment #148631 -
Flags: first-review?(mostafah)
Attachment #148632 -
Flags: first-review?(mostafah)
Attachment #148633 -
Flags: first-review?(mostafah)
Assignee | ||
Comment 10•21 years ago
|
||
Comment on attachment 148624 [details]
zip of added skin files
New files checked into CVS.
Modified files updated.
jar.mn updated.
Attachment #148624 -
Flags: first-review?(mostafah) → first-review+
Attachment #148632 -
Attachment description: skin/classic/eventDialog.css patch → skin/modern/eventDialog.css patch
Assignee | ||
Updated•21 years ago
|
Attachment #148626 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148627 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148628 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148630 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Comment 11•21 years ago
|
||
Comment on attachment 148625 [details] [diff] [review]
content/datetimepickers/minimonth.css patch
Patch wouldn't work though. Had to apply it manually
Attachment #148625 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Comment 12•21 years ago
|
||
The eventDialog.css patched won't apply. Can you please fix them or at least
provide the actual files instead?
Reporter | ||
Comment 13•21 years ago
|
||
Reporter | ||
Comment 14•21 years ago
|
||
re comment #12, uploaded updated skin eventDialog.css files.
Assignee | ||
Comment 15•21 years ago
|
||
Comment on attachment 148961 [details]
skin/classic/eventDialog.css
All looks good.
Questions:
#start-date-box is being used in printDialog.xul should it really be removed?
#dialog-box is being used in some dialog xuls. Should it really be removed?
#all-day-event-checkbox is still being used. Should it really be removed?
Is it that the css rules for theses ids are not necessary?
Reporter | ||
Comment 16•21 years ago
|
||
start-date-box can be removed from printDialog.xul as in above patch.
dialog-box is named only in files that do not load eventDialog.css so it is ok
to remove it in eventDialog.css
all-day-event-checkbox appears earlier in the file, so the removed declaration
is not needed.
Thanks for the careful review.
Assignee | ||
Updated•21 years ago
|
Attachment #148970 -
Flags: first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148962 -
Flags: first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148961 -
Flags: first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148631 -
Attachment is obsolete: true
Attachment #148631 -
Flags: first-review?(mostafah) → first-review-
Assignee | ||
Updated•21 years ago
|
Attachment #148632 -
Attachment is obsolete: true
Attachment #148632 -
Flags: first-review?(mostafah) → first-review-
Assignee | ||
Comment 17•21 years ago
|
||
Comment on attachment 148633 [details] [diff] [review]
jar.mn patch
skin/modern/calendar/datetimepickers/calendar_down.png
is being added and the gif one removed. The css files however both use the gif
file. Is this a mistake or am I missing something?
Reporter | ||
Comment 18•21 years ago
|
||
You're right, I should have updated the zip, here's the fixes.
Assignee | ||
Updated•21 years ago
|
Attachment #148981 -
Flags: first-review+
Assignee | ||
Updated•21 years ago
|
Attachment #148633 -
Flags: first-review?(mostafah) → first-review+
Assignee | ||
Comment 19•21 years ago
|
||
All review+ patches have been checked in.
All files that were not needed have been removed.
Cleaning up the date-time picker code was a huge contribution.
Thanks a lot gekacheka, way to go.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 20•18 years ago
|
||
The bugspam monkeys have been set free and are feeding on Calendar :: Sunbird Only. Be afraid for your sanity!
QA Contact: gurganbl → sunbird
You need to log in
before you can comment on or make changes to this bug.
Description
•