X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fstyleeditor.css;h=d2ff074f31db2a881b6c8c847e7481da1fc0be38;hp=6d0c2e1dbdcc68411db8db94726085dc1a7782a6;hb=0bcd55874801a7433d9e74c9377f866abf9d3d1a;hpb=9099c61da39b1346a25b1c01463829a44d72d6e1 diff --git a/LCARStrek/browser/devtools/styleeditor.css b/LCARStrek/browser/devtools/styleeditor.css index 6d0c2e1d..d2ff074f 100644 --- a/LCARStrek/browser/devtools/styleeditor.css +++ b/LCARStrek/browser/devtools/styleeditor.css @@ -3,10 +3,60 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +window:not([windowtype]) { + /* This does not apply to the standalone window in FF 19 and lower, + * only to the dev toolbox in FF 20+. */ + padding: 0; +} + #style-editor-chrome { background-color: #000000; } +.csscoverage-report { + background: #A09090; /* Toolbars */ +} + +.csscoverage-report-container { + height: 100vh; + padding: 10px; +} + +.csscoverage-report-content { + font-size: 13px; + margin: 0 auto; + max-width: 600px; + padding: 0 10px; +} + +.csscoverage-report h1, +.csscoverage-report h2, +.csscoverage-report h3 { + font-weight: bold; +} + +.csscoverage-report textarea { + width: 100%; + height: 100px; +} + +.csscoverage-report > .csscoverage-toolbar { + border: none; + margin: 0; + padding: 0; +} + +.csscoverage-report > .csscoverage-toolbarbutton { + min-width: 4em; + min-height: 100vh; + margin: 0; + padding: 0; + border-radius: 0; + border-top: none; + border-bottom: none; + -moz-border-start: none; +} + .stylesheet-title, .stylesheet-name { text-decoration: none; @@ -18,6 +68,7 @@ } .stylesheet-rule-count, +.stylesheet-linked-file, .stylesheet-saveButton { color: #FF9F00; } @@ -33,6 +84,7 @@ } .splitview-active .stylesheet-rule-count, +.splitview-active .stylesheet-linked-file, .splitview-active .stylesheet-saveButton { color: #E7ADE7; } @@ -50,6 +102,31 @@ font-style: italic; } +.splitview-nav.empty > p { + padding: 0 10px; +} + +.stylesheet-sidebar { + width: 230px; +} + +.stylesheet-sidebar { + border-left: 1px solid #9C9CFF; +} + +.media-rule-label { + border-bottom: 1px solid #A09090; +} + +.media-rule-label { + padding: 4px; + cursor: pointer; +} + +.media-condition-unmatched { + color: #8050B0; +} + .stylesheet-enabled { padding: 8px 0; margin: 0 8px; @@ -57,21 +134,41 @@ background-repeat: no-repeat; background-clip: content-box; background-position: 0 8px; + background-size: 48px 24px; width: 24px; height: 40px; } +@media (min-resolution: 2dppx) { + .stylesheet-enabled { + background-image: url("itemToggle@2x.png"); + } +} + .disabled > .stylesheet-enabled { background-position: -24px 8px; } +#style-editor-options { + width: 20px; + overflow: hidden; +} + .splitview-nav > li > .stylesheet-enabled:focus, .splitview-nav > li:hover > .stylesheet-enabled { outline: 0; } -.stylesheet-error-message { - color: #FF0000; +.stylesheet-linked-file:not(:empty){ + -moz-margin-end: 0.4em; +} + +.stylesheet-linked-file:not(:empty):before { + -moz-margin-start: 0.4em; +} + +li.linked-file-error .stylesheet-linked-file:after { + font-size: 110%; } .stylesheet-more > h3 { @@ -101,6 +198,12 @@ h3 { padding: 0; } +@media (max-width: 700px) { + .stylesheet-sidebar { + width: 150px; + } +} + /* portrait mode */ @media (max-width: 550px) { .splitview-nav { @@ -124,4 +227,8 @@ h3 { .splitview-nav > li > hgroup.stylesheet-info { -moz-box-align: baseline; } + + .stylesheet-sidebar { + width: 180px; + } }