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

Side by Side Diff: chrome/browser/resources/settings/controls/important_site_checkbox.html

Issue 2892033003: Change checkbox size for ImportantSites dialog (Closed)
Patch Set: Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/policy/cr_policy_pref_in dicator.html"> 2 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_pref_in dicator.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-checkbox/paper-ch eckbox.html">
4 <link rel="import" href="settings_boolean_control_behavior.html"> 4 <link rel="import" href="settings_boolean_control_behavior.html">
5 <link rel="import" href="../settings_shared_css.html"> 5 <link rel="import" href="../settings_shared_css.html">
6 6
7 <dom-module id="important-site-checkbox"> 7 <dom-module id="important-site-checkbox">
8 <template> 8 <template>
9 <style include="settings-shared"> 9 <style include="settings-shared">
10 #outerRow { 10 #outerRow {
11 align-items: center; 11 align-items: center;
12 display: flex; 12 display: flex;
13 min-height: var(--settings-row-two-line-min-height); 13 min-height: var(--settings-row-two-line-min-height);
14 width: 100%; 14 width: 100%;
15 } 15 }
16 16
17 paper-checkbox { 17 paper-checkbox {
18 width: 100%; 18 width: 100%;
19 } 19 }
20 20
21 paper-checkbox:not([checked]) .secondary { 21 paper-checkbox:not([checked]) .secondary {
22 @apply(--settings-secondary-unchecked); 22 @apply(--settings-secondary-unchecked);
23 } 23 }
24 24
25 .important-site-label {
26 display: inline-block;
27 }
28
29 .middot { 25 .middot {
30 padding: 0 4px; 26 padding: 0 4px;
31 } 27 }
32 28
29 .label {
30 @apply(--settings-checkbox-label);
31 }
33 </style> 32 </style>
34 <div id="outerRow"> 33 <div id="outerRow">
35 <paper-checkbox id="checkbox" checked="{{site.isChecked}}" 34 <paper-checkbox id="checkbox" checked="{{site.isChecked}}"
36 disabled="[[disabled]]"> 35 disabled="[[disabled]]">
37 <div class="important-site-label"> 36 <div class="label">[[site.registerableDomain]]</div>
38 <div>[[site.registerableDomain]]</div> 37 <div class="secondary label">
39 <div class="secondary"> 38 <span class="storage-size">[[site.storageSize]]</span>
40 <span class="storage-size">[[site.storageSize]]</span> 39 <template is="dom-if" if="[[site.hasNotifications]]">
41 <template is="dom-if" if="[[site.hasNotifications]]"> 40 <span class="middot">&middot;</span>
42 <span class="middot">&middot;</span> 41 <span class="has-notifications">$i18n{notificationWarning}</span>
43 <span class="has-notifications">$i18n{notificationWarning}</span> 42 </template>
44 </template>
45 </div>
46 </div> 43 </div>
47 </paper-checkbox> 44 </paper-checkbox>
48 </div> 45 </div>
49 </template> 46 </template>
50 <script src="important_site_checkbox.js"></script> 47 <script src="important_site_checkbox.js"></script>
51 </dom-module> 48 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/clear_browsing_data_dialog/clear_browsing_data_dialog.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698