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

Unified Diff: chrome/browser/resources/shared/css/chrome_shared.css

Issue 10837190: Standardize size of WebUI controls for touch and non-touch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/shared/css/chrome_shared.css
diff --git a/chrome/browser/resources/shared/css/chrome_shared.css b/chrome/browser/resources/shared/css/chrome_shared.css
index d135a31c54b4d37819d865cffd70d75cd57ec03e..d2895f8ad81c6e2ed6c97352150cd28012705c7c 100644
--- a/chrome/browser/resources/shared/css/chrome_shared.css
+++ b/chrome/browser/resources/shared/css/chrome_shared.css
@@ -105,52 +105,7 @@ html[dir='rtl'] .weakrtl input::-webkit-input-placeholder {
direction: rtl;
}
-/* Rules to make it easier to hit targets when using a coarse pointer like
- * a touch screen.
- */
-@media (pointer:coarse) {
- list input[type='input'],
- list input[type='password'],
- list input[type='search'],
- list input[type='text'],
- list input[type='url'] {
- margin: 0;
- padding: 3px 3px 2px 3px;
- }
-
- /* Margins are not touchable. Use padding on the inner label instead to
- increase the size of the touch target. */
- .checkbox,
- .radio {
- margin: 0;
- }
-
- .checkbox label,
- .radio label {
- padding-bottom: 7px;
- padding-top: 7px;
- }
-
- li > button.link-button {
- padding-bottom: 8px;
- padding-top: 8px;
- }
-
- :-webkit-any(button,
- input[type='button'],
- input[type='submit'],
- select):not(.custom-appearance):not(.link-button) {
- margin-bottom: 6px;
- margin-top: 6px;
- }
-
- list :-webkit-any(
- button,
- input[type='button'],
- input[type='submit'],
- select):not(.custom-appearance):not(.link-button) {
- margin: 0;
- padding-bottom: 0;
- padding-top: 3px;
- }
+li > button.link-button {
Evan Stade 2012/08/10 02:44:16 where is this pattern found? it seems dangerous to
kevers 2012/08/10 13:56:03 To the best of my knowledge, this pattern appears
+ padding-bottom: 8px;
+ padding-top: 8px;
}
« no previous file with comments | « no previous file | chrome/browser/resources/shared/css/list.css » ('j') | chrome/browser/resources/shared/css/widgets.css » ('J')

Powered by Google App Engine
This is Rietveld 408576698