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