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

Unified Diff: ui/webui/resources/css/widgets.css

Issue 2535493002: Reduce webkit CSS prefixes in ui/ styles (Closed)
Patch Set: sort Created 4 years, 1 month 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: ui/webui/resources/css/widgets.css
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css
index 0cd35701d8a6ffa4bfa0a34b0aafcb932a756e5f..db116b9031e69896286c3d24da750fec5704ba89 100644
--- a/ui/webui/resources/css/widgets.css
+++ b/ui/webui/resources/css/widgets.css
@@ -36,7 +36,6 @@ input[type='radio'] {
select {
min-height: 2em;
min-width: 4em;
- padding-top: 1px;
padding-bottom: 1px;
<if expr="is_win or is_macosx">
/* The following platform-specific rule is necessary to get adjacent
@@ -44,6 +43,7 @@ select {
* aligning on the text's baselines. */
padding-bottom: 2px;
</if>
+ padding-top: 1px;
}
:-webkit-any(button,
@@ -100,8 +100,8 @@ textarea {
margin: 0;
/* Use min-height to accommodate addditional padding for touch as needed. */
min-height: 2em;
- padding: 3px;
outline: none;
+ padding: 3px;
<if expr="is_win or is_macosx or is_ios">
/* For better alignment between adjacent buttons and inputs. */
padding-bottom: 4px;
@@ -235,7 +235,7 @@ input:disabled:-webkit-any([type='password'],
input[type='button'],
input[type='submit']):not(.custom-appearance)) {
/* OVERRIDE */
- -webkit-transition: border-color 200ms;
+ transition: border-color 200ms;
Dan Beam 2016/12/01 00:22:42 nit: move to bottom
Eric Willigers 2016/12/02 11:24:00 Done.
/* We use border color because it follows the border radius (unlike outline).
* This is particularly noticeable on mac. */
border-color: rgb(77, 144, 254);

Powered by Google App Engine
This is Rietveld 408576698