X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fbrowser%2Fdevtools%2Fmarkup-view.css;h=c1a36b2ee4b34b3ffd26e0df15a3fad5e1f69e6d;hp=0b3d937867298caac00c1672f0f29399e1dc74af;hb=cac2a998599d19515fc59e7a93b9f8db9ca3a903;hpb=fe524e0c0e2035af794e8183b25693f847fb12ce diff --git a/LCARStrek/browser/devtools/markup-view.css b/LCARStrek/browser/devtools/markup-view.css index 0b3d9378..c1a36b2e 100644 --- a/LCARStrek/browser/devtools/markup-view.css +++ b/LCARStrek/browser/devtools/markup-view.css @@ -7,58 +7,78 @@ margin: 0; } -.tagname { - color: #FFCF00; -} - -.attrname { - color: #9C9CFF; +.more-nodes { + padding-left: 16px; } -.attrvalue { - color: #E7ADE7; +.styleinspector-propertyeditor { + border: 1px solid #9C9CFF; } -.newattr { - cursor: pointer; -} -.comment { - color: #8050B0; +/* Selected nodes in the tree should have light selected text. + theme-selected doesn't work in this case since the text is a + sibling of the class, not a child. */ +.theme-selected ~ .editor, +.theme-selected ~ .editor .theme-fg-color1, +.theme-selected ~ .editor .theme-fg-color2, +.theme-selected ~ .editor .theme-fg-color3, +.theme-selected ~ .editor .theme-fg-color4, +.theme-selected ~ .editor .theme-fg-color5, +.theme-selected ~ .editor .theme-fg-color6, +.theme-selected ~ .editor .theme-fg-color7 { + color: #000000; /* Light foreground text */ } -.selected { - background-color: #008484; +/* In case a node isn't displayed in the page, we fade the syntax highlighting */ +.not-displayed .open, +.not-displayed .close { + opacity: .7; } -/* Give some padding to focusable elements to match the editor input - * that will replace them. */ -span[tabindex] { - display: inline-block; - padding: 1px 0; +.tag-line { + padding-left: 2px; } -li.container { - padding: 2px 0 0 2px; -} +/* Preview */ -.codebox { - padding-left: 14px; +#previewbar { + position: fixed; + top: 0; + right: 0; + width: 90px; + background: black; + border-left: 1px solid; + border-bottom: 1px solid; + overflow: hidden; } -.codebox > * { - vertical-align: middle; +#previewbar { + background: #000000; /* Tab Toolbar */ + border-color: #9C9CFF; /* Splitters */ } -.expander { - display: inline-block; - margin-left: -14px; +#preview { + position: absolute; + top: 0; + right: 5px; + width: 80px; + height: 100%; + background-image: -moz-element(#root); + background-repeat: no-repeat; } -.more-nodes { - padding-left: 16px; +#previewbar.hide, +#previewbar.disabled { + display: none; } -.styleinspector-propertyeditor { - border: 1px solid #9C9CFF; +#viewbox { + position: absolute; + top: 0; + right: 5px; + width: 80px; + border: 1px dashed #9C9CFF; + background: #000000; + outline: 1px solid transparent; }