Rework handling of icons and tinting of external icons
This commit is contained in:
@@ -30,6 +30,27 @@
|
||||
float: right;
|
||||
}
|
||||
|
||||
.dokuwiki div.toolbar #tool__bar button.toolbutton .toolicon {
|
||||
display: inline-block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background-color: @ini_icons;
|
||||
-webkit-mask-image: var(--icon-url);
|
||||
mask-image: var(--icon-url);
|
||||
-webkit-mask-repeat: no-repeat;
|
||||
mask-repeat: no-repeat;
|
||||
-webkit-mask-position: center;
|
||||
mask-position: center;
|
||||
-webkit-mask-size: contain;
|
||||
mask-size: contain;
|
||||
}
|
||||
|
||||
.dokuwiki div.toolbar #tool__bar button.toolbutton:hover .toolicon,
|
||||
.dokuwiki div.toolbar #tool__bar button.toolbutton:active .toolicon,
|
||||
.dokuwiki div.toolbar #tool__bar button.toolbutton:focus .toolicon {
|
||||
background-color: @ini_link;
|
||||
}
|
||||
|
||||
/* picker popups (outside of .dokuwiki) */
|
||||
div.picker {
|
||||
width: 300px;
|
||||
|
||||
Reference in New Issue
Block a user