Closed Bug 490277 Opened 16 years ago Closed 16 years ago

SM2: Update video controls for Mozilla 1.9.1 changes

Categories

(SeaMonkey :: Themes, enhancement)

x86
All
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
seamonkey2.0

People

(Reporter: bfrisch, Assigned: bfrisch)

References

Details

(Keywords: fixed-seamonkey2.0, modern)

Attachments

(2 files, 3 obsolete files)

The video controls and videocontrols.css should be updated for the Mozilla 1.9.1 changes.
This updates videocontrols.css and images based on what's in 1.9.1 right now, while still keeping the modern theme colors. I had to update the play, pause, and mute images in modern to be based off the transparent images in the 1.9.1, as half of the scrubber would otherwise be hidden at first. The scrubber, throbber, and error images look okay to me in their winstripe form.
Attachment #374730 - Flags: review?(neil)
Comment on attachment 374730 [details] [diff] [review] Video Controls Images and CSS v.1 >+ margin: 0px; >+ padding: 0px; >+ border: none; Don't need these. > .muteButton { > background: url(chrome://global/skin/media/muteButton.png) no-repeat center; >+ min-width: 33px; Why this change? >+ /* margin left/right: 1/2 of scrubber thumb width, for overhang. */ >+ margin: 10px 22px 10px 22px; Nit: just use 10px 22px; >+ -moz-appearance: none; Don't need these anywhere in this file. >+.volumeStack { ... >+ border: none; Don't need this? > /* .scale-slider is an element inside the <scale> implementation. */ >-.scale-slider { >- /* Hide the default box. */ >+.scrubber .scale-slider, .volumeControl .scale-slider { >+ /* Hide the default horizontal bar. */ >+ -moz-appearance: none; > background: none; >- border: none; Why these changes? >+ -moz-border-radius: 4px 4px; Nit: one 4px suffices. >+.timeThumb { >+ background: url(chrome://global/skin/media/scrubberThumb.png) no-repeat center; >+ min-width: 45px; >+ min-height: 27px; >+ -moz-box-pack: center; >+} >+ >+.timeThumb[showhours="true"] { >+ background: url(chrome://global/skin/media/scrubberThumbWide.png) no-repeat center; I don't like the background colour of these images. Haven't checked your other image changes yet.
Comment on attachment 374730 [details] [diff] [review] Video Controls Images and CSS v.1 The other image changes are definitely wrong, sorry; the alpha transparency has been applied incorrectly.
Attachment #374730 - Flags: review?(neil) → review-
Comment on attachment 374730 [details] [diff] [review] Video Controls Images and CSS v.1 Oh, and I spotted a TAB character somewhere...
This bug is open but targeted for seamonkey2.0b1, which has already been released. Please set the target milestone to an appropriate value, "---" if it has no specific target.
Flags: wanted-seamonkey2.0+
Can we get some traction on this one? Would be good if the <video> element would work fine in Modern in 2.0...
Sure. I'll try to submit another patch this week.
Benjamin? We really would like to have video controls working in Modern for 2.0, but RC1 is already cut and RC1 will probably be done next week, so we'd need a patch very soon now...
er, RC2 is what's probably next week, and we expect RC2 to become final if possible...
Attached patch CSS and Images v.2 (obsolete) — Splinter Review
This should address all of Neil's comments. I think the new thumbs should blend in nicely with modern's style, but any suggestions on how to deal with the thumbs would be appreciated. Sorry for taking so long.
Attachment #374730 - Attachment is obsolete: true
Attachment #405413 - Flags: review?(neil)
Target Milestone: seamonkey2.0b1 → seamonkey2.0
Comment on attachment 405413 [details] [diff] [review] CSS and Images v.2 Haven't looked at the images yet, just some CSS nits: > .muteButton { > background: url(chrome://global/skin/media/muteButton.png) no-repeat center; >+ min-width: 33px; Why is this button wider? >+ margin: -70px 3px 28px -31px; [-28px if we don't make the volume button wider] > .scale-slider { > /* Hide the default box. */ > background: none; > border: none; Nit: you turned border off for all sliders already, didn't you? > min-height: 20px; [Not sure why this is here, but then you didn't add it, so meh.] >+.volumeControl .scale-thumb { > /* Override the default thumb appearance. */ > background-color: #B1BBC5; > background-image: none; > border: 2px solid; > -moz-border-top-colors: #000000; > -moz-border-right-colors: #000000; > -moz-border-bottom-colors: #000000; > -moz-border-left-colors: #000000; > -moz-border-radius: 5px; > min-width: 11px; > min-height: 20px; Don't we need to swap these dimensions for the volume scale thumb?
Hmm, the images don't have alpha transparency, was that intentional?
(In reply to comment #11) > > .muteButton { > > background: url(chrome://global/skin/media/muteButton.png) no-repeat center; > >+ min-width: 33px; > Why is this button wider? I hadn't noticed, but apparently it's always been a wider image.
(In reply to comment #12) > Hmm, the images don't have alpha transparency, was that intentional? I've created some draft images with alpha transparency, they look much better. One other thing I noticed was that the current time wasn't vertically centered.
Attached file Zip of Images with Alpha Transparency (obsolete) —
I'll get to the CSS changes this afternoon, but I did intend to include the images in this zip file in the previous patch. (I'll work on properly getting these into the next patch.) Also, with this thumb, the current time should be centered.
Attachment #405413 - Attachment is obsolete: true
Attachment #405491 - Flags: ui-review?(neil)
Attachment #405413 - Flags: review?(neil)
OK, so this is what I meant when I asked for alpha transparency.
Attachment #405491 - Attachment is obsolete: true
Attachment #405567 - Flags: ui-review?(bfrisch)
Attachment #405491 - Flags: ui-review?(neil)
The window for 2.0 RC2/final is about to close within hours now, we will tag the source and create the builds some time tomorrow probably - if you want to get this in, you should better be fast...
I swapped the dimensions of the volume scale thumb. I removed the slider { border: none; } rule as it seems superfluous. I replaced the images with anti-aliased images.
Attachment #406104 - Flags: review?(iann_bugzilla)
Attachment #405567 - Flags: ui-review?(bfrisch) → ui-review+
Thanks for the patch Neil. The images look good, but I noticed that there's no scrubber thumbs in the patch.
Attachment #406104 - Flags: review?(iann_bugzilla)
Attachment #406104 - Flags: review+
Attachment #406104 - Flags: approval-seamonkey2.0+
(In reply to comment #19) > Thanks for the patch Neil. The images look good, but I noticed that there's no > scrubber thumbs in the patch. My fault, I forgot to hg add them before creating the patch.
Pushed changeset 0cb216450528 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: