toolkit/themes/osx/global/toolbar.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/osx/global/toolbar.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,120 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
     1.9 +
    1.10 +toolbar {
    1.11 +  min-width: 1px;
    1.12 +  min-height: 20px;
    1.13 +  -moz-appearance: toolbar;
    1.14 +}
    1.15 +
    1.16 +menubar:-moz-lwtheme,
    1.17 +toolbar:-moz-lwtheme {
    1.18 +  -moz-appearance: none;
    1.19 +  background: none;
    1.20 +  border-style: none;
    1.21 +}
    1.22 +
    1.23 +menubar {
    1.24 +  -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */
    1.25 +  min-width: 1px;
    1.26 +}
    1.27 +
    1.28 +.toolbar-holder {
    1.29 +  min-width: 1px;
    1.30 +}
    1.31 +
    1.32 +.toolbar-primary {
    1.33 +  min-height: 24px;
    1.34 +}
    1.35 +
    1.36 +toolbarseparator {
    1.37 +  -moz-appearance: none;
    1.38 +  margin: 3px 4px;
    1.39 +  background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y;
    1.40 +  padding: 0;
    1.41 +  width: 1px !important;
    1.42 +}
    1.43 +
    1.44 +/* ::::: toolbarpaletteitem ::::: */
    1.45 +
    1.46 +toolbarpaletteitem {
    1.47 +  cursor: grab;
    1.48 +}
    1.49 +
    1.50 +toolbar[iconsize="small"] toolbarpaletteitem[type="spacer"] {
    1.51 +  min-width: 24px !important;
    1.52 +}
    1.53 +
    1.54 +toolbarpaletteitem[type="spacer"] {
    1.55 +  min-width: 32px !important;
    1.56 +}
    1.57 +
    1.58 +.toolbarpaletteitem-box[type="spacer"] {
    1.59 +  border: 1px solid #A3A3A3;
    1.60 +  background: url("chrome://global/skin/10pct_transparent_grey.png") repeat;
    1.61 +  width: 32px;
    1.62 +  margin-top: 18px;
    1.63 +}
    1.64 +
    1.65 +.toolbarpaletteitem-box[type="spring"] {
    1.66 +  border: 1px solid #A3A3A3;
    1.67 +  background: url("chrome://global/skin/toolbar/spring.png") #FFFFFF no-repeat;
    1.68 +  width: 32px;
    1.69 +  margin-top: 18px;
    1.70 +}
    1.71 +
    1.72 +.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
    1.73 +  background: url("chrome://global/skin/10pct_transparent_grey.png") repeat;
    1.74 +}
    1.75 +
    1.76 +.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
    1.77 +.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
    1.78 +  margin: 2px;
    1.79 +}
    1.80 +
    1.81 +.toolbarpaletteitem-box[type="separator"][place="palette"] {
    1.82 +  width: 2px;
    1.83 +  height: 50px;
    1.84 +}
    1.85 +
    1.86 +.toolbarpaletteitem-box[type="spacer"][place="palette"],
    1.87 +.toolbarpaletteitem-box[type="spring"][place="palette"] {
    1.88 +  margin-top: 0;
    1.89 +  margin-bottom: 2px;
    1.90 +  height: 32px;
    1.91 +}
    1.92 +
    1.93 +.toolbarpaletteitem-box[type="spring"][place="palette"] {
    1.94 +  background-position: center;
    1.95 +  margin-left: 8px;
    1.96 +  margin-right: 8px;
    1.97 +}
    1.98 +
    1.99 +/* ..... drag and drop feedback ..... */
   1.100 +
   1.101 +toolbarpaletteitem[place="toolbar"] {
   1.102 +  margin-left: -2px;
   1.103 +  margin-right: -2px;
   1.104 +  border-left: 2px solid transparent;
   1.105 +  border-right: 2px solid transparent;
   1.106 +}
   1.107 +
   1.108 +toolbarpaletteitem[dragover="left"] {
   1.109 +  border-left-color: #000000;
   1.110 +}
   1.111 +
   1.112 +toolbarpaletteitem[dragover="right"] {
   1.113 +  border-right-color: #000000;
   1.114 +}
   1.115 +
   1.116 +toolbar[iconsize="small"] toolbarspacer {
   1.117 +  min-width: 24px !important;
   1.118 +}
   1.119 +
   1.120 +toolbarspacer {
   1.121 +  min-width: 32px !important;
   1.122 +}
   1.123 +

mercurial