toolkit/themes/osx/help/help.css

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 4
michael@0 5 @import url("chrome://global/skin/");
michael@0 6 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
michael@0 7
michael@0 8 #HelpToolbar {
michael@0 9 -moz-padding-start: 5px;
michael@0 10 }
michael@0 11
michael@0 12 #HelpToolbar toolbarbutton {
michael@0 13 min-width: 0px;
michael@0 14 list-style-image: url("chrome://help/skin/Toolbar.png");
michael@0 15 -moz-box-orient: horizontal !important;
michael@0 16 }
michael@0 17
michael@0 18 #HelpToolbar toolbarbutton[type="menu-button"] {
michael@0 19 margin: 0px;
michael@0 20 padding: 0px;
michael@0 21 }
michael@0 22
michael@0 23 /* this element contains the icon and the label */
michael@0 24 #HelpToolbar .toolbarbutton-menubutton-button {
michael@0 25 margin: 0px !important;
michael@0 26 padding: 0px !important;
michael@0 27 border: 0px !important;
michael@0 28 }
michael@0 29
michael@0 30 /* Hide labels for the toolbar because we really don't need them what with the
michael@0 31 tooltips */
michael@0 32 #HelpToolbar .toolbarbutton-text {
michael@0 33 display: none;
michael@0 34 }
michael@0 35
michael@0 36 /* Set the minimum sidebar width so the help contents aren't squeezed together.*/
michael@0 37 #help-sidebar { min-width: 15em; width: 20em; max-width: 25em; }
michael@0 38
michael@0 39 #help-back-button { -moz-image-region: rect(0px 24px 24px 0px); }
michael@0 40 #help-back-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 24px 48px 0px); }
michael@0 41 #help-back-button[disabled="true"] { -moz-image-region: rect(48px 24px 72px 0px); }
michael@0 42 #help-back-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 24px 96px 0px); }
michael@0 43
michael@0 44 #help-forward-button { -moz-image-region: rect(0px 48px 24px 24px); }
michael@0 45 #help-forward-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 48px 48px 24px); }
michael@0 46 #help-forward-button[disabled="true"] { -moz-image-region: rect(48px 48px 72px 24px); }
michael@0 47 #help-forward-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 48px 96px 24px); }
michael@0 48
michael@0 49 #help-home-button { -moz-image-region: rect(0px 72px 24px 48px); }
michael@0 50 #help-home-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 72px 48px 48px); }
michael@0 51 #help-home-button[disabled="true"] { -moz-image-region: rect(48px 72px 72px 48px); }
michael@0 52 #help-home-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 72px 96px 48px); }
michael@0 53
michael@0 54 #help-print-button { -moz-image-region: rect(0px 96px 24px 72px); }
michael@0 55 #help-print-button:not([disabled="true"]):hover { -moz-image-region: rect(24px 96px 48px 72px); }
michael@0 56 #help-print-button[disabled="true"] { -moz-image-region: rect(48px 96px 72px 72px); }
michael@0 57 #help-print-button:not([disabled="true"]):hover:active { -moz-image-region: rect(72px 96px 96px 72px); }
michael@0 58
michael@0 59 /* Style the back/forward dropmarks to connect them to the buttons */
michael@0 60
michael@0 61 /* Style the back dropmark */
michael@0 62
michael@0 63 #help-back-button > .toolbarbutton-menubutton-dropmarker {
michael@0 64 margin-top: 3px;
michael@0 65 list-style-image: url("chrome://help/skin/dropmark-nav.png");
michael@0 66 -moz-image-region: rect(0px, 14px, 24px, 0px);
michael@0 67 }
michael@0 68
michael@0 69 #help-back-button:hover > .toolbarbutton-menubutton-dropmarker {
michael@0 70 -moz-image-region: rect(24px, 14px, 48px, 0px);
michael@0 71 }
michael@0 72
michael@0 73 #help-back-button[disabled="true"] > .toolbarbutton-menubutton-dropmarker {
michael@0 74 list-style-image: url("chrome://help/skin/dropmark-nav.png") !important;
michael@0 75 -moz-image-region: rect(48px, 14px, 72px, 0px) !important;
michael@0 76 }
michael@0 77
michael@0 78 #help-back-button:hover:active > .toolbarbutton-menubutton-dropmarker {
michael@0 79 -moz-image-region: rect(72px, 14px, 96px, 0px);
michael@0 80 }
michael@0 81
michael@0 82 /* Style the forward dropmark */
michael@0 83
michael@0 84 #help-forward-button > .toolbarbutton-menubutton-dropmarker {
michael@0 85 margin-top: 3px;
michael@0 86 list-style-image: url("chrome://help/skin/dropmark-nav.png");
michael@0 87 -moz-image-region: rect(0px, 14px, 24px, 0px);
michael@0 88 }
michael@0 89 #help-forward-button:hover > .toolbarbutton-menubutton-dropmarker {
michael@0 90 -moz-image-region: rect(24px, 14px, 48px, 0px);
michael@0 91 }
michael@0 92 #help-forward-button[disabled="true"] > .toolbarbutton-menubutton-dropmarker {
michael@0 93 list-style-image: url("chrome://help/skin/dropmark-nav.png") !important;
michael@0 94 -moz-image-region: rect(48px, 14px, 72px, 0px) !important;
michael@0 95 }
michael@0 96 #help-forward-button:hover:active > .toolbarbutton-menubutton-dropmarker {
michael@0 97 -moz-image-region: rect(72px, 14px, 96px, 0px);
michael@0 98 }
michael@0 99
michael@0 100 #helpsidebar-splitter {
michael@0 101 border-right: 1px solid #bebebe;
michael@0 102 }

mercurial