Bug 854952 - Delete fullscreen approval question from fullscreen approval pane, change fullscreen exit hint message fullscreenExitHint2, halve border radius, add background texture, and change button order of the fullscreen permission prompt. r=dolske

This commit is contained in:
Tiziana Sellitto 2013-08-02 20:36:10 -04:00
parent e171526181
commit 1154e76a61
11 changed files with 21 additions and 10 deletions

View File

@ -1052,16 +1052,24 @@
<hbox style="width: 100%;" pack="center"> <!-- Inner hbox needed due to bug 579776. -->
<vbox id="full-screen-warning-message" align="center">
<description id="full-screen-domain-text"/>
<description class="full-screen-description" value="&fullscreenExitHint.value;"/>
<description class="full-screen-description" value="&fullscreenExitHint2.value;"/>
<vbox id="full-screen-approval-pane" align="center">
<description class="full-screen-description" value="&fullscreenApproval.value;"/>
<hbox>
#ifdef XP_UNIX
<button label="&fullscreenExitButton.label;"
oncommand="FullScreen.setFullscreenAllowed(false);"
class="full-screen-approval-button"/>
<button label="&fullscreenAllowButton.label;"
oncommand="FullScreen.setFullscreenAllowed(true);"
class="full-screen-approval-button"/>
#else
<button label="&fullscreenAllowButton.label;"
oncommand="FullScreen.setFullscreenAllowed(true);"
class="full-screen-approval-button"/>
<button label="&fullscreenExitButton.label;"
oncommand="FullScreen.setFullscreenAllowed(false);"
class="full-screen-approval-button"/>
#endif
</hbox>
<checkbox id="full-screen-remember-decision"/>
</vbox>

View File

@ -109,9 +109,8 @@ These should match what Safari and other Apple applications use on OS X Lion. --
<!ENTITY fullScreenExit.accesskey "F">
<!ENTITY fullscreenAllowButton.label "Allow">
<!ENTITY fullscreenExitButton.label "Deny">
<!ENTITY fullscreenApproval.value "Allow fullscreen?">
<!ENTITY fullscreenExitHint.value "Press ESC at any time to exit fullscreen.">
<!ENTITY fullscreenExitHint2.value "Press ESC at any time to exit.">
<!ENTITY leaveDOMFullScreen.label "Exit Full Screen">
<!ENTITY leaveDOMFullScreen.accesskey "u">

View File

@ -2033,9 +2033,9 @@ toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon {
}
#full-screen-warning-message {
background-color: hsl(0,0%,15%);
background-image: url("chrome://browser/skin/fullscreen-darknoise.png");
color: white;
border-radius: 8px;
border-radius: 4px;
margin-top: 30px;
padding: 30px 50px;
box-shadow: 0 0 2px white;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -22,6 +22,7 @@ browser.jar:
* skin/classic/browser/browser.css
skin/classic/browser/click-to-play-warning-stripes.png
* skin/classic/browser/engineManager.css
skin/classic/browser/fullscreen-darknoise.png
skin/classic/browser/Geolocation-16.png
skin/classic/browser/Geolocation-64.png
skin/classic/browser/Go-arrow.png

View File

@ -3626,9 +3626,9 @@ toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
}
#full-screen-warning-message {
background-color: hsl(0,0%,15%);
background-image: url("chrome://browser/skin/fullscreen-darknoise.png");
color: white;
border-radius: 8px;
border-radius: 4px;
margin-top: 30px;
padding: 30px 50px;
box-shadow: 0 0 2px white;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -22,6 +22,7 @@ browser.jar:
* skin/classic/browser/browser.css (browser.css)
skin/classic/browser/click-to-play-warning-stripes.png
* skin/classic/browser/engineManager.css (engineManager.css)
skin/classic/browser/fullscreen-darknoise.png
skin/classic/browser/Geolocation-16.png
skin/classic/browser/Geolocation-16@2x.png
skin/classic/browser/Geolocation-64.png

View File

@ -2783,9 +2783,9 @@ toolbarbutton.bookmark-item[dragover="true"][open="true"] {
}
#full-screen-warning-message {
background-color: hsl(0,0%,15%);
background-image: url("chrome://browser/skin/fullscreen-darknoise.png");
color: white;
border-radius: 8px;
border-radius: 4px;
margin-top: 30px;
padding: 30px 50px;
box-shadow: 0 0 2px white;

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

@ -26,6 +26,7 @@ browser.jar:
* skin/classic/browser/browser.css
skin/classic/browser/click-to-play-warning-stripes.png
* skin/classic/browser/engineManager.css
skin/classic/browser/fullscreen-darknoise.png
skin/classic/browser/Geolocation-16.png
skin/classic/browser/Geolocation-64.png
skin/classic/browser/Info.png
@ -283,6 +284,7 @@ browser.jar:
* skin/classic/aero/browser/browser.css (browser-aero.css)
skin/classic/aero/browser/click-to-play-warning-stripes.png
* skin/classic/aero/browser/engineManager.css
skin/classic/aero/browser/fullscreen-darknoise.png
skin/classic/aero/browser/Geolocation-16.png
skin/classic/aero/browser/Geolocation-64.png
skin/classic/aero/browser/Info.png (Info-aero.png)