elbaitemoon

Elbaite theme for Pale Moon
Log | Files | Refs

menulist.css (1754B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2  * License, v. 2.0. If a copy of the MPL was not distributed with this
      3  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
      4 
      5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
      6 @namespace html url("http://www.w3.org/1999/xhtml");
      7 
      8 menulist {
      9   -moz-appearance: none;
     10   margin: 2px 4px;
     11   border: 1px solid;
     12   -moz-border-top-colors: rgb(64,64,64);
     13   -moz-border-right-colors: rgb(64,64,64);
     14   -moz-border-bottom-colors: rgb(64,64,64);
     15   -moz-border-left-colors: rgb(64,64,64);
     16   background-color: #181411;
     17   color: #bfbbb6;
     18   text-shadow: none;
     19 }
     20 
     21 menulist:not([popuponly="true"]) {
     22   min-height: 20px;
     23 }
     24 
     25 .menulist-label-box {
     26   -moz-appearance: menulist-text;
     27   -moz-box-align: center;
     28   -moz-box-pack: center;
     29   margin-bottom: 1px;
     30 }
     31 
     32 .menulist-label {
     33   margin: 1px 3px !important;
     34 }
     35 
     36 .menulist-description {
     37   font-style: italic;
     38   color: GrayText;
     39   margin-inline-start: 1ex !important;
     40 }
     41 
     42 menulist:hover:not(:active):not([disabled=true]) {
     43   background-color: #181411;
     44 }
     45 
     46 menulist:hover:active:not([disabled=true]) {
     47   background-color: rgb(1,1,1);
     48 }
     49 
     50 /* ..... dropmarker ..... */
     51 
     52 menulist > .menulist-dropmarker {
     53   border: none;
     54   background: transparent;
     55 }
     56 
     57 /* ..... disabled state ..... */
     58 
     59 menulist[disabled="true"] {
     60   background-color: #181411;
     61   color: GrayText;
     62 }
     63 
     64 menulist[disabled="true"] > .menulist-dropmarker {
     65   padding-inline-start: 7px !important;
     66 }
     67 
     68 /* ::::: editable menulists ::::: */
     69 
     70 menulist[editable="true"] {
     71   -moz-appearance: none;
     72   margin: 4px 2px;
     73 }
     74 
     75 html|*.menulist-editable-input {
     76   margin: 0px !important;
     77   border: none !important;
     78   padding: 0px !important;
     79   background: inherit;
     80   font: inherit;
     81 }