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)
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)
|
2.30 KB,
application/x-jar
|
bfrisch
:
ui-review+
|
Details |
|
7.22 KB,
patch
|
iannbugzilla
:
review+
iannbugzilla
:
approval-seamonkey2.0+
|
Details | Diff | Splinter Review |
The video controls and videocontrols.css should be updated for the Mozilla 1.9.1 changes.
| Assignee | ||
Comment 1•16 years ago
|
||
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 2•16 years ago
|
||
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 3•16 years ago
|
||
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 4•16 years ago
|
||
Comment on attachment 374730 [details] [diff] [review]
Video Controls Images and CSS v.1
Oh, and I spotted a TAB character somewhere...
Comment 5•16 years ago
|
||
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.
Updated•16 years ago
|
Flags: wanted-seamonkey2.0+
Comment 6•16 years ago
|
||
Can we get some traction on this one? Would be good if the <video> element would work fine in Modern in 2.0...
| Assignee | ||
Comment 7•16 years ago
|
||
Sure. I'll try to submit another patch this week.
Comment 8•16 years ago
|
||
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...
Comment 9•16 years ago
|
||
er, RC2 is what's probably next week, and we expect RC2 to become final if possible...
| Assignee | ||
Comment 10•16 years ago
|
||
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)
| Assignee | ||
Updated•16 years ago
|
Target Milestone: seamonkey2.0b1 → seamonkey2.0
Comment 11•16 years ago
|
||
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?
Comment 12•16 years ago
|
||
Hmm, the images don't have alpha transparency, was that intentional?
Comment 13•16 years ago
|
||
(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.
Comment 14•16 years ago
|
||
(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.
| Assignee | ||
Comment 15•16 years ago
|
||
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)
Comment 16•16 years ago
|
||
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)
Comment 17•16 years ago
|
||
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...
Comment 18•16 years ago
|
||
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)
| Assignee | ||
Updated•16 years ago
|
Attachment #405567 -
Flags: ui-review?(bfrisch) → ui-review+
| Assignee | ||
Comment 19•16 years ago
|
||
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+
Comment 20•16 years ago
|
||
(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.
Comment 21•16 years ago
|
||
Pushed changeset 0cb216450528 to comm-central.
You need to log in
before you can comment on or make changes to this bug.
Description
•