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

Side by Side Diff: chrome/browser/resources/settings/settings_shared_css.html

Issue 2256753003: MD Settings: Introduce CrScrollableBehavior (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_638377_selectable_behavior
Patch Set: Rebase Created 4 years, 4 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
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> 1 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html">
2 <link rel="import" href="/settings_vars_css.html"> 2 <link rel="import" href="/settings_vars_css.html">
3 3
4 <!-- Common styles for Material Design settings. --> 4 <!-- Common styles for Material Design settings. -->
5 <dom-module id="settings-shared"> 5 <dom-module id="settings-shared">
6 <template> 6 <template>
7 <style include="cr-shared-style"> 7 <style include="cr-shared-style">
8 h2 { 8 h2 {
9 align-items: center; 9 align-items: center;
10 display: flex; 10 display: flex;
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 174 }
175 175
176 .button-strip { 176 .button-strip {
177 text-align: end; 177 text-align: end;
178 } 178 }
179 179
180 /* A list-frame is an outer container for list-items. It is intended to be 180 /* A list-frame is an outer container for list-items. It is intended to be
181 * outside of a settings-box. A list-frame is likely to follow a 181 * outside of a settings-box. A list-frame is likely to follow a
182 * settings box. */ 182 * settings box. */
183 .list-frame { 183 .list-frame {
184 -webkit-padding-end: 20px; 184 @apply(--settings-list-frame-padding);
185 -webkit-padding-start: 56px;
186 align-items: center; 185 align-items: center;
187 display: block; 186 display: block;
188 padding-bottom: 0;
189 padding-top: 0;
190 } 187 }
191 188
192 .list-frame .secondary, 189 .list-frame .secondary,
193 .list-item .secondary { 190 .list-item .secondary {
194 @apply(--settings-secondary); 191 @apply(--settings-secondary);
195 } 192 }
196 193
197 /* A list-item is intended to be contained within a list-frame. The list 194 /* A list-item is intended to be contained within a list-frame. The list
198 * frame will setup the initial start margin. */ 195 * frame will setup the initial start margin. */
199 .list-item { 196 .list-item {
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 content: ''; 362 content: '';
366 height: 10px; 363 height: 10px;
367 position: absolute; 364 position: absolute;
368 right: -5px; 365 right: -5px;
369 top: 10px; 366 top: 10px;
370 width: 10px; 367 width: 10px;
371 } 368 }
372 </style> 369 </style>
373 </template> 370 </template>
374 </dom-module> 371 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698