diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebInspectorUI/UserInterface/Views/Variables.css | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebInspectorUI/UserInterface/Views/Variables.css')
-rw-r--r-- | Source/WebInspectorUI/UserInterface/Views/Variables.css | 102 |
1 files changed, 102 insertions, 0 deletions
diff --git a/Source/WebInspectorUI/UserInterface/Views/Variables.css b/Source/WebInspectorUI/UserInterface/Views/Variables.css new file mode 100644 index 000000000..4257ac7f3 --- /dev/null +++ b/Source/WebInspectorUI/UserInterface/Views/Variables.css @@ -0,0 +1,102 @@ +/* + * Copyright (C) 2015-2016 Apple Inc. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, + * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS + * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF + * THE POSSIBILITY OF SUCH DAMAGE. + */ + +:root { + --z-index-highlight: 64; + --z-index-header: 128; + --z-index-resizer: 256; + --z-index-popover: 512; + --z-index-tooltip: 1024; + --z-index-glass-pane-for-drag: 2048; + --z-index-uncaught-exception-sheet: 4096; + + --selected-foreground-color: white; + --selected-secondary-text-color: hsla(0, 100%, 100%, 0.7); + --selected-background-color: hsl(212, 92%, 54%); + --selected-background-color-unfocused: hsl(0, 0%, 83%); + --selected-background-color-active: hsl(218, 85%, 52%); + --selected-background-color-hover: hsla(212, 92%, 54%, 0.5); + --selected-background-color-highlight: hsla(0, 0%, 100%, 0.3); + + --glyph-color: hsl(0, 0%, 30%); + --glyph-color-pressed: hsl(0, 0%, 15%); + --glyph-color-disabled: hsla(0, 0%, 30%, 0.55); + --glyph-color-active: hsl(212, 92%, 54%); + --glyph-color-active-pressed: hsl(218, 85%, 52%); + + --border-color: hsl(0, 0%, 70%); + --border-color-dark: hsl(0, 0%, 57%); + + --button-background-color: white; + --button-background-color-pressed: hsl(0, 0%, 85%); + + --panel-background-color: hsl(0, 0%, 94%); + --panel-background-color-light: hsl(0, 0%, 96%); + + --console-secondary-text-color: hsla(0, 0%, 0%, 0.33); + --console-prompt-min-height: 30px; + + --text-color-gray-medium: hsl(0, 0%, 50%); + --error-text-color: hsl(0, 86%, 47%); + + --syntax-highlight-number-color: hsl(248, 100%, 40%); + --syntax-highlight-boolean-color: hsl(309, 85%, 35%); + --syntax-highlight-string-color: hsl(1, 79%, 42%); + --syntax-highlight-regexp-color: hsl(20, 100%, 44%); + --syntax-highlight-symbol-color: hsl(172, 45%, 45%); + + --memory-javascript-fill-color: hsl(269, 65%, 75%); + --memory-javascript-stroke-color: hsl(269, 33%, 50%); + --memory-images-fill-color: hsl(0, 65%, 75%); + --memory-images-stroke-color: hsl(0, 54%, 50%); + --memory-layers-fill-color: hsl(76, 49%, 75%); + --memory-layers-stroke-color: hsl(79, 45%, 50%); + --memory-page-fill-color: hsl(22, 60%, 70%); + --memory-page-stroke-color: hsl(22, 40%, 50%); + --memory-max-comparison-fill-color: hsl(220, 10%, 75%); + --memory-max-comparison-stroke-color: hsl(220, 10%, 55%); + + --even-zebra-stripe-row-background-color: white; + --odd-zebra-stripe-row-background-color: hsl(0, 0%, 95%); + + --toolbar-height: 36px; + --tab-bar-height: 24px; + --navigation-bar-height: 29px; + + --style-declaration-section-header-padding: 4px 5px 3px 25px; +} + +body.window-inactive { + /* FIXME: Use CSS4 color blend functions once they're available. */ + --selected-background-color: hsla(212, 92%, 54%, 0.5); + + --glyph-color-active: hsla(212, 92%, 54%, 0.5); + --glyph-color: hsla(0, 0%, 30%, 0.65); + --glyph-color-disabled: hsla(0, 0%, 30%, 0.35); +} + +body.window-inactive * { + --border-color: hsl(0, 0%, 85%); +} |