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

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

Issue 2691883002: Uprefix CSS transitions in ui/ and chrome/ styles (Closed)
Patch Set: transitions only Created 3 years, 10 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
« no previous file with comments | « ui/webui/resources/css/tree.css ('k') | ui/webui/resources/js/cr/ui/card_slider.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/webui/resources/css/widgets.css
diff --git a/ui/webui/resources/css/widgets.css b/ui/webui/resources/css/widgets.css
index 530db7886d31a76ddcca2e988ff40c11348cea50..997bfc04794afedb7955c5fd78d221ff5d85562a 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;
@@ -234,12 +234,12 @@ input:disabled:-webkit-any([type='password'],
button,
input[type='button'],
input[type='submit']):not(.custom-appearance)) {
- /* OVERRIDE */
- -webkit-transition: border-color 200ms;
/* We use border color because it follows the border radius (unlike outline).
* This is particularly noticeable on mac. */
border-color: rgb(77, 144, 254);
outline: none;
+ /* OVERRIDE */
+ transition: border-color 200ms;
}
/* Checkbox/radio helpers ******************************************************
« no previous file with comments | « ui/webui/resources/css/tree.css ('k') | ui/webui/resources/js/cr/ui/card_slider.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698