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

Unified Diff: chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html

Issue 1842473004: MD Settings: Certificate manager, add "UNTRUSTED" labels. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Localize string. Created 4 years, 9 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: chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html
diff --git a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html
index bd27543e12b40cfd460fe7104550d52c37c21fe6..dcc6f13de8c8067f6487d7e3672a3c97d8456b1f 100644
--- a/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html
+++ b/chrome/browser/resources/settings/certificate_manager_page/certificate_subentry.html
@@ -17,22 +17,25 @@
box-shadow: 0 2px 6px grey;
}
- .container {
- display: flex;
- line-height: 30px;
- }
-
.name {
flex: auto;
- margin: auto;
+ }
+
+ .untrusted {
+ color: var(--paper-red-700);
dschuyler 2016/03/29 00:39:17 Please consider adding a --settings variable at th
dpapad 2016/03/29 00:57:54 Done.
+ font-weight: 500;
+ text-transform: uppercase;
+ -webkit-margin-end: 16px;
}
paper-item:hover {
background-color: var(--google-grey-300);
dschuyler 2016/03/29 00:39:17 Same-ish comment about using a color variable defi
dpapad 2016/03/29 00:57:54 Done.
}
</style>
- <div class="container">
- <paper-icon-button icon="image:brightness-1"></paper-icon-button>
+ <div class="list-item underbar">
+ <div class="untrusted" hidden$="[[!model.untrusted]]">
+ $i18n{certificateManagerUntrusted}
+ </div>
<div class="name">[[model.name]]</div>
<paper-icon-button id="dots" icon="more-vert" toggles
active="{{menuOpened}}"></paper-icon-button>

Powered by Google App Engine
This is Rietveld 408576698