| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/html/polymer.html"> | 1 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop
down.html"> | 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-drop
down.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button.html"> |
| 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-item/paper-item.h
tml"> |
| 6 <link rel="import" href="/certificate_manager_page/certificate_manager_types.htm
l"> |
| 6 <link rel="import" href="/certificate_manager_page/certificates_browser_proxy.ht
ml"> | 7 <link rel="import" href="/certificate_manager_page/certificates_browser_proxy.ht
ml"> |
| 7 <link rel="import" href="/settings_shared_css.html"> | 8 <link rel="import" href="/settings_shared_css.html"> |
| 8 | 9 |
| 9 <dom-module id="settings-certificate-subentry"> | 10 <dom-module id="settings-certificate-subentry"> |
| 10 <template> | 11 <template> |
| 11 <style include="settings-shared"> | 12 <style include="settings-shared"> |
| 12 .dropdown-content { | 13 .dropdown-content { |
| 13 background: white; | 14 background: white; |
| 14 /* TODO(dpapad): Use a CSS variable for box-shadow and unify with other | 15 /* TODO(dpapad): Use a CSS variable for box-shadow and unify with other |
| 15 * such menus (like in search engines section) */ | 16 * such menus (like in search engines section) */ |
| 16 box-shadow: 0 2px 6px grey; | 17 box-shadow: 0 2px 6px grey; |
| 17 } | 18 } |
| 18 | 19 |
| 19 .name { | 20 .name { |
| 20 flex: auto; | 21 flex: auto; |
| 21 } | 22 } |
| 22 | 23 |
| 23 .untrusted { | 24 .untrusted { |
| 25 -webkit-margin-end: 16px; |
| 24 color: var(--settings-error-color); | 26 color: var(--settings-error-color); |
| 25 font-weight: 500; | 27 font-weight: 500; |
| 26 text-transform: uppercase; | 28 text-transform: uppercase; |
| 27 -webkit-margin-end: 16px; | |
| 28 } | 29 } |
| 29 | 30 |
| 30 paper-item:hover { | 31 paper-item:hover { |
| 31 background-color: var(--settings-hover-color); | 32 background-color: var(--settings-hover-color); |
| 32 } | 33 } |
| 33 | 34 |
| 34 :host([is-last]) .list-item { | 35 :host([is-last]) .list-item { |
| 35 border-bottom: none; | 36 border-bottom: none; |
| 36 } | 37 } |
| 37 </style> | 38 </style> |
| (...skipping 25 matching lines...) Expand all Loading... |
| 63 on-tap="onDeleteTap_"> | 64 on-tap="onDeleteTap_"> |
| 64 $i18n{certificateManagerDelete} | 65 $i18n{certificateManagerDelete} |
| 65 </paper-item> | 66 </paper-item> |
| 66 </div> | 67 </div> |
| 67 </iron-dropdown> | 68 </iron-dropdown> |
| 68 </template> | 69 </template> |
| 69 <div> | 70 <div> |
| 70 </template> | 71 </template> |
| 71 <script src="certificate_subentry.js"></script> | 72 <script src="certificate_subentry.js"></script> |
| 72 </dom-module> | 73 </dom-module> |
| OLD | NEW |