browser/themes/shared/devtools/styleeditor.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/browser/themes/shared/devtools/styleeditor.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,149 @@
     1.4 +/* vim:set ts=2 sw=2 sts=2 et: */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.7 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +.stylesheet-title,
    1.10 +.stylesheet-name {
    1.11 +  text-decoration: none;
    1.12 +}
    1.13 +
    1.14 +.stylesheet-name {
    1.15 +  font-size: 13px;
    1.16 +}
    1.17 +
    1.18 +.theme-dark .stylesheet-title,
    1.19 +.theme-dark .stylesheet-name {
    1.20 +  color: #f5f7fa;
    1.21 +}
    1.22 +
    1.23 +.theme-dark .stylesheet-rule-count,
    1.24 +.theme-dark .stylesheet-linked-file,
    1.25 +.theme-dark .stylesheet-saveButton {
    1.26 +  color: #b6babf;
    1.27 +}
    1.28 +
    1.29 +.theme-light .stylesheet-title,
    1.30 +.theme-light .stylesheet-name {
    1.31 +  color: #585959;
    1.32 +}
    1.33 +
    1.34 +.theme-light .stylesheet-rule-count,
    1.35 +.theme-light .stylesheet-linked-file,
    1.36 +.theme-light .stylesheet-saveButton {
    1.37 +  color: #18191a;
    1.38 +}
    1.39 +
    1.40 +.stylesheet-saveButton {
    1.41 +  text-decoration: underline;
    1.42 +  cursor: pointer;
    1.43 +}
    1.44 +
    1.45 +.splitview-active .stylesheet-title,
    1.46 +.splitview-active .stylesheet-name,
    1.47 +.theme-light .splitview-active .stylesheet-rule-count,
    1.48 +.theme-light .splitview-active .stylesheet-linked-file,
    1.49 +.theme-light .splitview-active .stylesheet-saveButton {
    1.50 +  color: #f5f7fa;
    1.51 +}
    1.52 +
    1.53 +.splitview-nav:focus {
    1.54 +  outline: 0; /* focus ring is on the stylesheet name */
    1.55 +}
    1.56 +
    1.57 +.splitview-nav > li.unsaved > hgroup .stylesheet-name {
    1.58 +  font-style: italic;
    1.59 +}
    1.60 +
    1.61 +.splitview-nav:-moz-locale-dir(ltr) > li.unsaved > hgroup .stylesheet-name:before,
    1.62 +.splitview-nav:-moz-locale-dir(rtl) > li.unsaved > hgroup .stylesheet-name:after {
    1.63 +  font-style: italic;
    1.64 +}
    1.65 +
    1.66 +.splitview-nav.empty > p {
    1.67 +  padding: 0 10px;
    1.68 +}
    1.69 +
    1.70 +.stylesheet-enabled {
    1.71 +  padding: 8px 0;
    1.72 +  margin: 0 8px;
    1.73 +  background-image: url(itemToggle.png);
    1.74 +  background-repeat: no-repeat;
    1.75 +  background-clip: content-box;
    1.76 +  background-position: 0 8px;
    1.77 +  width: 24px;
    1.78 +  height: 40px;
    1.79 +}
    1.80 +
    1.81 +.theme-light .stylesheet-enabled {
    1.82 +  background-image: url(itemToggle-light.png);
    1.83 +}
    1.84 +
    1.85 +.disabled > .stylesheet-enabled {
    1.86 +  background-position: -24px 8px;
    1.87 +}
    1.88 +
    1.89 +.splitview-nav > li > .stylesheet-enabled:focus,
    1.90 +.splitview-nav > li:hover > .stylesheet-enabled {
    1.91 +  outline: 0;
    1.92 +}
    1.93 +
    1.94 +.stylesheet-linked-file:not(:empty){
    1.95 +  -moz-margin-end: 0.4em;
    1.96 +}
    1.97 +
    1.98 +.stylesheet-linked-file:not(:empty):before {
    1.99 +  -moz-margin-start: 0.4em;
   1.100 +}
   1.101 +
   1.102 +li.linked-file-error .stylesheet-linked-file:after {
   1.103 +  font-size: 110%;
   1.104 +}
   1.105 +
   1.106 +.stylesheet-more > h3 {
   1.107 +  font-size: 11px;
   1.108 +  -moz-margin-end: 2px;
   1.109 +}
   1.110 +
   1.111 +.devtools-searchinput {
   1.112 +  max-width: 25ex;
   1.113 +  font-size: 11px;
   1.114 +}
   1.115 +
   1.116 +.placeholder a {
   1.117 +  text-decoration: underline;
   1.118 +}
   1.119 +
   1.120 +h1,
   1.121 +h2,
   1.122 +h3 {
   1.123 +  font-size: inherit;
   1.124 +  font-weight: normal;
   1.125 +  margin: 0;
   1.126 +  padding: 0;
   1.127 +}
   1.128 +
   1.129 +/* portrait mode */
   1.130 +@media (max-width: 550px) {
   1.131 +  .splitview-nav {
   1.132 +    box-shadow: none;
   1.133 +  }
   1.134 +
   1.135 +  .splitview-nav > li.splitview-active {
   1.136 +    background-size: 0 0, 0 0, auto;
   1.137 +  }
   1.138 +
   1.139 +  .stylesheet-enabled {
   1.140 +    padding: 0;
   1.141 +    background-position: 0 0;
   1.142 +    height: 24px;
   1.143 +  }
   1.144 +
   1.145 +  .disabled > .stylesheet-enabled {
   1.146 +    background-position: -24px 0;
   1.147 +  }
   1.148 +
   1.149 +  .splitview-nav > li > hgroup.stylesheet-info {
   1.150 +    -moz-box-align: baseline;
   1.151 +  }
   1.152 +}
   1.153 \ No newline at end of file

mercurial