toolkit/themes/windows/global/toolbar.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/windows/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 +/* ===== toolbar.css ====================================================
     1.9 +  == Styles used by XUL toolbar-related elements.
    1.10 +  ======================================================================= */
    1.11 +
    1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.13 +
    1.14 +/* ::::: toolbox ::::: */
    1.15 +
    1.16 +toolbox {
    1.17 +  -moz-appearance: toolbox;
    1.18 +  background-color: -moz-Dialog;
    1.19 +  border-top: 2px solid;
    1.20 +  -moz-border-top-colors: ThreeDShadow ThreeDHighlight;
    1.21 +}
    1.22 +
    1.23 +/* ::::: toolbar & menubar ::::: */
    1.24 +
    1.25 +toolbar, menubar {
    1.26 +  -moz-appearance: toolbar;
    1.27 +}
    1.28 +
    1.29 +toolbar {
    1.30 +  min-width: 1px;
    1.31 +  min-height: 19px;
    1.32 +  border-top: 1px solid ThreeDHighlight;
    1.33 +  border-bottom: 1px solid ThreeDShadow;
    1.34 +}
    1.35 +
    1.36 +toolbar:first-child, menubar {
    1.37 +  min-width: 1px;
    1.38 +  border-bottom: 1px solid ThreeDShadow;
    1.39 +  border-top: 0px !important;
    1.40 +}
    1.41 +
    1.42 +/* ::::: lightweight theme ::::: */
    1.43 + 
    1.44 +menubar:-moz-lwtheme,
    1.45 +toolbox:-moz-lwtheme,
    1.46 +toolbar:-moz-lwtheme {
    1.47 +  -moz-appearance: none;
    1.48 +  background: none;
    1.49 +  border-style: none;
    1.50 +}
    1.51 +
    1.52 +/* ::::: toolbar decorations ::::: */
    1.53 +
    1.54 +toolbarseparator {
    1.55 +  -moz-appearance: separator;
    1.56 +  border-top: 2px solid transparent;
    1.57 +  border-bottom: 2px solid transparent;
    1.58 +  border-left: 3px solid transparent;
    1.59 +  border-right: 3px solid transparent;
    1.60 +  -moz-border-left-colors  : transparent transparent ThreeDShadow;
    1.61 +  -moz-border-right-colors : transparent transparent ThreeDHighlight;
    1.62 +}
    1.63 +
    1.64 +toolbarspacer {
    1.65 +  width: 15px;
    1.66 +}
    1.67 +
    1.68 +/* ::::: toolbarpaletteitem ::::: */
    1.69 +
    1.70 +toolbarpaletteitem {
    1.71 +  cursor: grab;
    1.72 +}
    1.73 +
    1.74 +.toolbarpaletteitem-box[type="spacer"],
    1.75 +.toolbarpaletteitem-box[type="spring"] {
    1.76 +  border: 1px solid #808080;
    1.77 +  background-color: #FFF !important;
    1.78 +}
    1.79 +
    1.80 +toolbarpaletteitem[place="toolbar"] > toolbarspacer {
    1.81 +  width: 11px;
    1.82 +}
    1.83 +
    1.84 +.toolbarpaletteitem-box[type="spacer"][place="toolbar"],
    1.85 +.toolbarpaletteitem-box[type="spring"][place="toolbar"] {
    1.86 +  margin-top: 2px;
    1.87 +  margin-bottom: 2px;
    1.88 +  -moz-margin-start: 0px;
    1.89 +  -moz-margin-end: 2px;
    1.90 +}
    1.91 +
    1.92 +.toolbarpaletteitem-box[type="separator"][place="palette"] {
    1.93 +  width: 2px;
    1.94 +  height: 50px;
    1.95 +}
    1.96 +
    1.97 +.toolbarpaletteitem-box[type="spacer"][place="palette"],
    1.98 +.toolbarpaletteitem-box[type="spring"][place="palette"] {
    1.99 +  margin-bottom: 2px;
   1.100 +  width: 50px;
   1.101 +  height: 50px;
   1.102 +}
   1.103 +
   1.104 +.toolbarpaletteitem-box[type="spring"][place="palette"] {
   1.105 +  background: url("chrome://global/skin/toolbar/spring.png") no-repeat center;
   1.106 +}
   1.107 +
   1.108 +/* ..... drag and drop feedback ..... */
   1.109 +
   1.110 +toolbarpaletteitem[place="toolbar"] {
   1.111 +  margin-left: -2px;
   1.112 +  margin-right: -2px;
   1.113 +  border-left: 2px solid transparent;
   1.114 +  border-right: 2px solid transparent;
   1.115 +}
   1.116 +
   1.117 +toolbarpaletteitem[dragover="left"] {
   1.118 +  border-left-color: #000000;
   1.119 +}
   1.120 +
   1.121 +toolbarpaletteitem[dragover="right"] {
   1.122 +  border-right-color: #000000;
   1.123 +}

mercurial