diff options
Diffstat (limited to 'polygerrit-ui/app/styles/gr-form-styles.html')
-rw-r--r-- | polygerrit-ui/app/styles/gr-form-styles.html | 32 |
1 files changed, 19 insertions, 13 deletions
diff --git a/polygerrit-ui/app/styles/gr-form-styles.html b/polygerrit-ui/app/styles/gr-form-styles.html index 823fee67e5..59b633fcd6 100644 --- a/polygerrit-ui/app/styles/gr-form-styles.html +++ b/polygerrit-ui/app/styles/gr-form-styles.html @@ -1,4 +1,5 @@ <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,6 +17,14 @@ limitations under the License. <dom-module id="gr-form-styles"> <template> <style> + .gr-form-styles input { + background-color: var(--view-background-color); + color: var(--primary-text-color); + } + .gr-form-styles select { + background-color: var(--select-background-color); + color: var(--primary-text-color); + } .gr-form-styles h1, .gr-form-styles h2 { margin-bottom: .3em; @@ -36,16 +45,16 @@ limitations under the License. display: inline-block; } .gr-form-styles .title { - color: #666; - font-family: var(--font-family-bold); + color: var(--deemphasized-text-color); + font-weight: var(--font-weight-bold); padding-right: .5em; width: 15em; } .gr-form-styles iron-autogrow-textarea { - font-size: 1em; + font-size: var(--font-size-normal); } .gr-form-styles th { - color: #666; + color: var(--deemphasized-text-color); text-align: left; vertical-align: bottom; } @@ -58,9 +67,6 @@ limitations under the License. .gr-form-styles .emptyHeader { text-align: right; } - .gr-form-styles tbody tr:nth-child(even):not(.loading) { - background-color: #f4f4f4; - } .gr-form-styles table { width: 50em; } @@ -75,9 +81,9 @@ limitations under the License. .gr-form-styles input:not([type="checkbox"]), .gr-form-styles select, .gr-form-styles textarea { - border: 1px solid #d1d2d3; + border: 1px solid var(--border-color); border-radius: 2px; - font-size: 1em; + font-size: var(--font-size-normal); height: 2em; padding: 0 .15em; } @@ -93,19 +99,19 @@ limitations under the License. height: auto; min-height: 2em; --iron-autogrow-textarea: { - border: 1px solid #d1d2d3; + border: 1px solid var(--border-color); border-radius: 2px; box-sizing: border-box; - font-size: 1em; + font-size: var(--font-size-normal); padding: .25em .15em 0 .15em; } } .gr-form-styles gr-autocomplete { border: none; --gr-autocomplete: { - border: 1px solid #d1d2d3; + border: 1px solid var(--border-color); border-radius: 2px; - font-size: 1em; + font-size: var(--font-size-normal); height: 2em; padding: 0 .15em; width: 14em; |