Account for new user-tasks-<button> instead of -<a>

This commit is contained in:
Michael Große 2017-05-02 16:20:53 +02:00
commit effdfb9e9d
No known key found for this signature in database
GPG key ID: 7E31028FBFEACC79

View file

@ -31,10 +31,13 @@ ul.page-attributes {
&.user-task {
position: relative;
a {
overflow: visible;
white-space: normal; // Is this still needed?
text-indent: 0;
button {
border-radius: @ini_default_border_radius;
border: 1px solid @wikiicons-border;
padding: .14rem 0 0 0;
min-width: 2rem;
min-height: 28px;
background: @ini_background none;
&::before {
content: ''; // remove when fontello is removed from usertools
@ -43,6 +46,9 @@ ul.page-attributes {
&:hover,
&:focus,
&:active {
background: @ini_nav_menu_hover_color none;
border: none;
svg path {
fill: @ini_background;
}
@ -53,6 +59,10 @@ ul.page-attributes {
width: 20px;
margin-top: 2px;
path {
fill: @ini_nav_menu_hover_color;
}
@media @screen_max-md {
margin-top: 4px;
}