Merge branch 'fixFocusForPLugins' into 'master'
Fix focus for plugins See merge request !65
This commit is contained in:
commit
71ef6e785c
3 changed files with 24 additions and 13 deletions
|
@ -31,33 +31,43 @@ 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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:active {
|
||||||
|
background: @ini_nav_menu_hover_color none;
|
||||||
|
border: none;
|
||||||
|
|
||||||
|
svg path {
|
||||||
|
fill: @ini_background;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
|
||||||
:not(.noopentasks) {
|
|
||||||
svg path {
|
|
||||||
fill: @ini_background;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.noopentasks {
|
.noopentasks {
|
||||||
span {
|
span {
|
||||||
background-color: @ini_background_site;
|
background-color: @ini_background_site;
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
|
a:focus,
|
||||||
a:active {
|
a:active {
|
||||||
.starred svg {
|
.starred svg {
|
||||||
fill: @ini_nav_menu_hover_bg;
|
fill: @ini_nav_menu_hover_bg;
|
||||||
|
|
2
tpl.php
2
tpl.php
|
@ -83,7 +83,7 @@ class tpl {
|
||||||
$args['rel'] = 'nofollow';
|
$args['rel'] = 'nofollow';
|
||||||
}
|
}
|
||||||
|
|
||||||
$args['href'] = $link;
|
$args['href'] = $link ?: '#';
|
||||||
|
|
||||||
$svg = inlineSVG($svg);
|
$svg = inlineSVG($svg);
|
||||||
if(!$svg) $svg = inlineSVG(__DIR__ . '/images/tools/' . self::$icons['default']);
|
if(!$svg) $svg = inlineSVG(__DIR__ . '/images/tools/' . self::$icons['default']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue