dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "inputs.less: Change focus state"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.ui
/
components
/
inputs.less
diff --git
a/resources/src/mediawiki.ui/components/inputs.less
b/resources/src/mediawiki.ui/components/inputs.less
index
b16570a
..
1992cce
100644
(file)
--- a/
resources/src/mediawiki.ui/components/inputs.less
+++ b/
resources/src/mediawiki.ui/components/inputs.less
@@
-39,7
+39,7
@@
font-family: inherit;
font-size: inherit;
line-height: inherit;
font-family: inherit;
font-size: inherit;
line-height: inherit;
- .transition(~"border
linear .2s, box-shadow linear .2s
");
+ .transition(~"border
0.2s cubic-bezier(0.39, 0.575, 0.565, 1), box-shadow 0.2s cubic-bezier(0.39, 0.575, 0.565, 1)
");
// Placeholder text styling must be set individually for each browser @winter
&::-webkit-input-placeholder { // webkit
// Placeholder text styling must be set individually for each browser @winter
&::-webkit-input-placeholder { // webkit
@@
-64,8
+64,9
@@
}
&:focus {
}
&:focus {
- box-shadow: inset .45em 0 0 @colorProgressive;
- border-color: @colorGrayDark;
+ box-shadow: inset 0 0 0 2px @colorProgressive;
+ // Color being used to match inset shadow, not semantic reasons
+ border-color: @colorProgressive;
// Remove focus glow on input[type="search"]
outline: 0;
}
// Remove focus glow on input[type="search"]
outline: 0;
}