diff options
Diffstat (limited to 'polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html')
-rw-r--r-- | polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html b/polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html index ef78f3aa26..ddc35bf0aa 100644 --- a/polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html +++ b/polygerrit-ui/app/elements/shared/gr-editable-label/gr-editable-label.html @@ -1,4 +1,5 @@ <!-- +@license Copyright (C) 2016 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); @@ -38,28 +39,30 @@ limitations under the License. font: inherit; } label { - color: #777; + color: var(--deemphasized-text-color); display: inline-block; - font-family: var(--font-family-bold); + font-weight: var(--font-weight-bold); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + @apply --label-style; } label.editable { - color: var(--color-link); + color: var(--link-color); cursor: pointer; } #dropdown { box-shadow: rgba(0, 0, 0, 0.3) 0 1px 3px; } .inputContainer { + background-color: var(--dialog-background-color); padding: .8em; - background-color: #fff; + @apply --input-style; } .buttons { display: flex; - padding-top: 1.2em; justify-content: flex-end; + padding-top: 1.2em; width: 100%; } .buttons gr-button { @@ -71,8 +74,9 @@ limitations under the License. min-width: 15em; } --paper-input-container-input: { - font-size: 1em; + font-size: var(--font-size-normal); } + --paper-input-container-focus-color: var(--link-color); } </style> <label @@ -90,6 +94,7 @@ limitations under the License. <paper-input id="input" label="[[labelText]]" + maxlength="[[maxLength]]" value="{{_inputText}}"></paper-input> <div class="buttons"> <gr-button link id="cancelBtn" on-tap="_cancel">cancel</gr-button> |