Chromium Code Reviews| Index: appengine/config_service/ui/src/config-ui/config-set.html |
| diff --git a/appengine/config_service/ui/src/config-ui/config-set.html b/appengine/config_service/ui/src/config-ui/config-set.html |
| index 3836ecbf277dd3aebb00614fd89ace1a194ce23d..6ccf46d1fdfd837f84b923a6dbdbc896a4faabf3 100644 |
| --- a/appengine/config_service/ui/src/config-ui/config-set.html |
| +++ b/appengine/config_service/ui/src/config-ui/config-set.html |
| @@ -15,13 +15,17 @@ |
| <dom-module id="config-set"> |
| <template> |
| <style> |
| + .spinner { |
| + text-align: center; |
| + } |
| + |
| .category { |
| font-size: 100%; |
| font-family: sans-serif; |
| } |
| .center { |
| - width: 27%; |
| + width: 20%; |
| margin: auto; |
| text-align: left; |
| } |
| @@ -39,9 +43,10 @@ |
| .name { |
| font-size: 200%; |
| font-family: sans-serif; |
| + word-wrap: break-word; |
| } |
| - #refreshStatus { font-size: 35%; } |
| + #refreshStatus { font-size: 80%; } |
| .title { |
| padding-bottom: 1%; |
| @@ -74,23 +79,22 @@ |
| <template is="dom-if" if="[[_not(isLoading)]]"> |
| <template is="dom-if" if="[[lastImportAttempt]]"> |
| <template is="dom-if" if="[[lastImportAttempt.success]]"> |
| - <iron-icon id="valid" icon="icons:check-circle"></iron-icon> |
| + <iron-icon id="valid" icon="icons:check-circle" style="color: var(--paper-green-600);"></iron-icon> |
|
Ryan Tseng
2017/07/13 22:16:53
Styles go in <style> block
|
| </template> |
| <template is="dom-if" if="[[_not(lastImportAttempt.success)]]"> |
| - <iron-icon id="invalid" icon="icons:warning"></iron-icon> |
| + <iron-icon id="invalid" icon="icons:warning" style="color: var(--paper-red-600);"></iron-icon> |
| </template> |
| </template> |
| <template is="dom-if" if="[[_not(lastImportAttempt)]]"> |
| - <iron-icon icon="icons:help"></iron-icon> |
| + <iron-icon icon="icons:help" style="color: var(--paper-grey-600);"></iron-icon> |
| </template> |
| </template> |
| <template is="dom-if" if="[[auth_headers]]"> |
| <iron-icon icon="icons:refresh" on-tap="_forceRefresh"></iron-icon> |
| - <span id="refreshStatus">[[refreshMessage]]</span> |
| </template> |
| </div> |
| <div class="category"> |
| - [[_formatCategory(category)]] <br> |
| + <p>[[_formatCategory(category)]]</p> |
| <template is="dom-if" if="[[_not(isLoading)]]"> |
| <template is="dom-if" if="[[lastImportAttempt]]"> |
| <template is="dom-if" if="[[_not(lastImportAttempt.success)]]"> |
| @@ -101,16 +105,17 @@ |
| Last import attempt info not available. |
| </template> |
| </template> |
| + <p id="refreshStatus">[[refreshMessage]]</p> |
| </div> |
| </div> |
| <template is="dom-if" if="[[isRefreshing]]"> |
| - <div class="center"> |
| + <div class="spinner"> |
| <paper-spinner active></paper-spinner> |
| </div> |
| </template> |
| <template is="dom-if" if="[[_not(isRefreshing)]]"> |
| <template is="dom-if" if="[[isLoading]]"> |
| - <div class="center"> |
| + <div class="spinner"> |
| <paper-spinner active></paper-spinner> |
| </div> |
| </template> |