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
mediawiki.ui: Let quiet button border remain
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.ui
/
components
/
buttons.less
diff --git
a/resources/src/mediawiki.ui/components/buttons.less
b/resources/src/mediawiki.ui/components/buttons.less
index
cef36d7
..
9b4835d
100644
(file)
--- a/
resources/src/mediawiki.ui/components/buttons.less
+++ b/
resources/src/mediawiki.ui/components/buttons.less
@@
-36,7
+36,9
@@
padding: 0.546875em 1em;
line-height: 1.286;
margin: 0;
padding: 0.546875em 1em;
line-height: 1.286;
margin: 0;
+ border-style: solid;
border-radius: @borderRadius;
border-radius: @borderRadius;
+ border-width: @border-width-base;
.box-sizing( border-box );
// Disable weird iOS styling
.box-sizing( border-box );
// Disable weird iOS styling
@@
-191,18
+193,20
@@
//
// Styleguide 2.1.3.
&.mw-ui-quiet {
//
// Styleguide 2.1.3.
&.mw-ui-quiet {
- background: transparent;
- border: 0;
+ background-color: transparent;
.button-colors-quiet( @colorButtonText, @colorButtonTextHighlight, @colorButtonTextActive );
.button-colors-quiet( @colorButtonText, @colorButtonTextHighlight, @colorButtonTextActive );
+ border-color: transparent;
&:hover,
&:focus {
&:hover,
&:focus {
+ border-color: transparent;
box-shadow: none;
}
&:active,
&:disabled {
box-shadow: none;
}
&:active,
&:disabled {
- background: transparent;
+ background-color: transparent;
+ border-color: transparent;
}
}
}
}
}
}