Browse Source

[Navigator] Follow up to ea91dcf4 - Remove suite help viewer from themes

custom-2020
Matt A. Tobin 2 years ago committed by Roy Tam
parent
commit
0fb7afceaa
  1. BIN
      navigator/themes/classic/communicator/helpviewer/Toolbar-rtl.png
  2. 136
      navigator/themes/classic/communicator/helpviewer/help.css
  3. 4
      navigator/themes/classic/jar.mn
  4. 144
      navigator/themes/modern/communicator/helpviewer/help.css
  5. 1
      navigator/themes/modern/jar.mn

BIN
navigator/themes/classic/communicator/helpviewer/Toolbar-rtl.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

136
navigator/themes/classic/communicator/helpviewer/help.css

@ -1,136 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url("chrome://communicator/skin/");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
#HelpToolbar toolbarbutton {
-moz-box-orient: horizontal !important;
min-width: 0px;
list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
margin: 0 !important;
padding: 4px 5px;
}
#HelpToolbar:-moz-locale-dir(rtl) toolbarbutton {
list-style-image: url("chrome://communicator/skin/helpviewer/Toolbar-rtl.png");
}
/* Hide labels for the toolbar because we really don't need them what with the
tooltips */
#HelpToolbar .toolbarbutton-text {
display: none;
}
/* With no labels, we don't need the margin on the icon that separates it
from the label */
#HelpToolbar .toolbarbutton-icon {
margin-inline-end: 0;
}
/* Set the minimum sidebar width so the help contents aren't squeezed together.*/
#help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
#help-back-button toolbarbutton,
#help-forward-button toolbarbutton {
list-style-image: inherit;
-moz-image-region: inherit;
}
/* ----- BACK BUTTON ----- */
#help-back-button {
-moz-image-region: rect(60px 29px 89px 0);
}
#help-back-button:not([disabled="true"]):hover {
-moz-image-region: rect(60px 59px 89px 30px);
}
#help-back-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(60px 89px 89px 60px);
}
#help-back-button[disabled="true"] {
-moz-image-region: rect(60px 119px 89px 90px);
}
#help-back-button .toolbarbutton-menubutton-button {
-moz-box-align: end !important;
}
/* ----- FORWARD BUTTON ----- */
#help-forward-button {
-moz-image-region: rect(90px 29px 119px 0);
}
#help-forward-button:not([disabled="true"]):hover {
-moz-image-region: rect(90px 59px 119px 30px);
}
#help-forward-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(90px 89px 119px 60px);
}
#help-forward-button[disabled="true"] {
-moz-image-region: rect(90px 119px 119px 90px);
}
/* ----- HOME BUTTON ----- */
#help-home-button {
-moz-image-region: rect(120px 29px 149px 0);
}
#help-home-button:not([disabled="true"]):hover {
-moz-image-region: rect(120px 59px 149px 30px);
}
#help-home-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(120px 89px 149px 60px);
}
#help-home-button[disabled="true"] {
-moz-image-region: rect(120px 119px 149px 90px);
}
/* ----- PRINT BUTTON ----- */
#help-print-button {
-moz-image-region: rect(0 29px 29px 0);
}
#help-print-button:not([disabled="true"]):hover {
-moz-image-region: rect(0 59px 29px 30px);
}
#help-print-button:not([disabled="true"]):hover:active {
-moz-image-region: rect(0 89px 29px 60px);
}
#help-print-button[disabled="true"] {
-moz-image-region: rect(0 119px 29px 90px);
}
/* ----- OTHER ----- */
#context-copy[disabled="true"] {
display: none;
}
/* make findbar appear above content */
#appcontent {
-moz-box-direction: reverse;
}
/* style findbar for being on top */
#FindToolbar {
-moz-border-top-colors: ThreeDHighlight;
border-top-width: 1px;
border-bottom: 2px solid;
-moz-border-bottom-colors: ThreeDShadow ThreeDHighlight;
padding-top: 1px;
padding-bottom: 0px;
}

4
navigator/themes/classic/jar.mn

@ -28,8 +28,6 @@ classic.jar:
skin/classic/communicator/bookmarks/query.png (mac/communicator/bookmarks/query.png)
skin/classic/communicator/bookmarks/toolbarDropMarker.png (mac/communicator/bookmarks/toolbarDropMarker.png)
skin/classic/communicator/directory/directory.css (mac/communicator/directory/directory.css)
skin/classic/communicator/helpviewer/dropmark-nav.png (mac/communicator/helpviewer/dropmark-nav.png)
skin/classic/communicator/helpviewer/help.css (mac/communicator/helpviewer/help.css)
skin/classic/communicator/search/searchbar.css (mac/communicator/search/searchbar.css)
skin/classic/communicator/search/searchbar-dropmarker.png (mac/communicator/search/searchbar-dropmarker.png)
skin/classic/communicator/search/searchbar-search.png (mac/communicator/search/searchbar-search.png)
@ -71,8 +69,6 @@ classic.jar:
skin/classic/communicator/directory/file.gif (communicator/directory/file.gif)
skin/classic/communicator/directory/folder-clsd.gif (communicator/directory/folder-clsd.gif)
skin/classic/communicator/directory/folder-open.gif (communicator/directory/folder-open.gif)
skin/classic/communicator/helpviewer/Toolbar-rtl.png (communicator/helpviewer/Toolbar-rtl.png)
skin/classic/communicator/helpviewer/help.css (communicator/helpviewer/help.css)
skin/classic/communicator/search/mainwindow-dropdown-arrow.png (communicator/search/mainwindow-dropdown-arrow.png)
skin/classic/communicator/search/searchbar.css (communicator/search/searchbar.css)
skin/classic/communicator/sidebar/sidebar.css (communicator/sidebar/sidebar.css)

144
navigator/themes/modern/communicator/helpviewer/help.css

@ -1,144 +0,0 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@import url("chrome://communicator/skin/");
@import url("chrome://communicator/skin/sidebar/sidebar.css");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: primary toolbar masthead ::::: */
/* pick up modern's usual primary toolbar style */
#HelpToolbar {
-moz-binding: url("chrome://communicator/skin/toolbar/toolbarBindings.xml#toolbar-primary");
background-color: #B1BDC9;
}
.toolbar-primary-holder {
-moz-box-align: start;
background-image: url("chrome://communicator/skin/toolbar/prtb-bg-noline.gif");
}
.toolbar-primary-icon {
display: none;
}
#HelpToolbar > toolbarbutton,
#HelpToolbar > toolbarbutton[type="menu-button"] > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-button
{
-moz-box-orient: vertical;
-moz-box-pack: start;
border: none !important;
padding: 0px !important;
}
/* hide labels for the toolbar because not all of them are set in help viewer
make sure we always display the icon though */
#HelpToolbar .toolbarbutton-text {
display: none;
}
#HelpToolbar .toolbarbutton-icon {
display: -moz-box;
}
#help-back-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker,
#help-forward-button > .toolbarbutton-menubutton-stack
> .toolbarbutton-menubutton-dropmarker
{
margin-top: 30px;
margin-bottom: 0px;
margin-inline-start: 34px;
margin-inline-end: 0px;
}
#help-sidebar {
min-width: 30px;
width: 20em;
max-width: 25em;
background-color: #BDC7D6;
}
/* ::::: primary toolbar buttons ::::: */
toolbar toolbarbutton {
list-style-image: url("chrome://communicator/skin/icons/common.png");
}
#help-back-button {
-moz-image-region: rect(78px 42px 117px 0);
}
#help-back-button:hover {
-moz-image-region: rect(78px 84px 117px 42px);
}
#help-back-button:hover:active {
-moz-image-region: rect(78px 126px 117px 84px);
}
#help-back-button[disabled="true"] {
-moz-image-region: rect(78px 168px 117px 126px) !important;
}
#help-forward-button {
-moz-image-region: rect(117px 42px 156px 0);
}
#help-forward-button:hover {
-moz-image-region: rect(117px 84px 156px 42px);
}
#help-forward-button:hover:active {
-moz-image-region: rect(117px 126px 156px 84px);
}
#help-forward-button[disabled="true"] {
-moz-image-region: rect(117px 168px 156px 126px) !important;
}
#help-home-button {
-moz-image-region: rect(156px 42px 195px 0);
}
#help-home-button:hover {
-moz-image-region: rect(156px 84px 195px 42px);
}
#help-home-button:hover:active {
-moz-image-region: rect(156px 126px 195px 84px);
}
#help-home-button[disabled="true"] {
-moz-image-region: rect(156px 168px 195px 126px) !important;
}
#help-print-button {
-moz-image-region: rect(0 42px 39px 0);
}
#help-print-button:hover {
-moz-image-region: rect(0 84px 39px 42px);
}
#help-print-button:hover:active {
-moz-image-region: rect(0 126px 39px 84px);
}
#help-print-button[disabled="true"] {
-moz-image-region: rect(0 168px 39px 126px) !important;
}
/* ::::: OTHER ::::: */
#context-copy[disabled="true"] {
display: none;
}
/* make findbar appear above content */
#appcontent {
-moz-box-direction: reverse;
}

1
navigator/themes/modern/jar.mn

@ -55,7 +55,6 @@ modern.jar:
skin/modern/communicator/feed-subscribe.css (communicator/feed-subscribe.css)
skin/modern/communicator/feed-subscribe-ui.css (communicator/feed-subscribe-ui.css)
skin/modern/communicator/fullscreen-video.css (communicator/fullscreen-video.css)
skin/modern/communicator/helpviewer/help.css (communicator/helpviewer/help.css)
skin/modern/communicator/history/calendar.png (communicator/history/calendar.png)
skin/modern/communicator/icons/alwaysAsk.png (communicator/icons/alwaysAsk.png)
skin/modern/communicator/icons/application.png (communicator/icons/application.png)

Loading…
Cancel
Save