Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1424)

Unified Diff: appengine/config_service/ui/src/config-ui/config-set-card.html

Issue 2983493002: config_service: make UI responsive and change colors. (Closed)
Patch Set: Move styles to the <style> section. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/config_service/ui/src/config-ui/config-set-card.html
diff --git a/appengine/config_service/ui/src/config-ui/config-set-card.html b/appengine/config_service/ui/src/config-ui/config-set-card.html
index 320433dce523c1034fb82aea448aefa303e692d4..ab87b7bc8c0ab622e21b404a5bdc219008ed9dda 100644
--- a/appengine/config_service/ui/src/config-ui/config-set-card.html
+++ b/appengine/config_service/ui/src/config-ui/config-set-card.html
@@ -17,13 +17,18 @@
a { text-decoration: none; }
paper-card {
- max-width: 500px;
width: 100%;
}
- .config-title { @apply --paper-font-headline; }
+ p {
+ color: var(--paper-grey-600);
+ word-wrap: break-word;
+ }
- .light { color: var(--paper-grey-600); }
+ .config-title {
+ @apply --paper-font-headline;
+ word-wrap: break-word;
+ }
.validation {
float: right;
@@ -32,26 +37,33 @@
}
.config-open { color: var(--google-blue-500); }
+
+ .paper-green { color: var(--paper-green-600); }
+
+ .paper-red { color: var(--paper-red-600); }
+
+ .paper-grey { color: var(--paper-grey-600); }
+
</style>
<paper-card elevation="2">
<div class="card-content">
<div class="config-title">[[_formatName(name)]]
- <div class="validation light">
+ <div class="validation">
<template is="dom-if" if="[[lastImportAttempt]]" restamp="true">
<template is="dom-if" if="[[lastImportAttempt.success]]" restamp="true">
- <iron-icon icon="icons:check-circle"></iron-icon>
+ <iron-icon icon="icons:check-circle" class="paper-green"></iron-icon>
</template>
<template is="dom-if" if="[[_not(lastImportAttempt.success)]]" restamp="true">
- <iron-icon icon="icons:warning"></iron-icon>
+ <iron-icon icon="icons:warning" class="paper-red"></iron-icon>
</template>
</template>
<template is="dom-if" if="[[_not(lastImportAttempt)]]" restamp="true">
- <iron-icon icon="icons:help"></iron-icon>
+ <iron-icon icon="icons:help" class="paper-grey"></iron-icon>
</template>
</div>
</div>
- <p class="light">Path: [[name]]</p>
+ <p>Path: [[name]]</p>
</div>
<div class="card-actions">
<div class="horizontal justified">
« no previous file with comments | « appengine/config_service/ui/src/config-ui/config-set.html ('k') | appengine/config_service/ui/src/config-ui/config-ui.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698