streamline page attributes

Page attribute icons should now align better and all look the same.
This commit is contained in:
Andreas Gohr 2023-09-12 11:06:19 +02:00
commit b8adbb9e24
7 changed files with 37 additions and 160 deletions

View file

@ -2,27 +2,6 @@
* This file provides styles for do-task plugin
*/
/* + + + + + global + + + + + */
ul.page-attributes {
.plugin_do_pagetasks {
position: relative;
border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius
strong {
overflow: hidden;
background-color: @ini_background_site;
border-color: @noopentasks-border;
color: @ini_text_webframe;
}
&.do_none {
.num {
background-color: @noopentasks-border; // fix
color: @noopentasks-color; // fix
}
}
}
}
/* + + + + + usertool icon in header + + + + + */
#dokuwiki__usertools.nav-usertools {

View file

@ -2,30 +2,6 @@
* Styles for the QC plugin
*/
/* + + + + + icon in breadcrumb + + + + + */
.page-attributes .plugin_qc {
.qc_icon {
margin: 0;
svg {
margin-top: .1em;
width: 1.6em;
height: 1.6em;
font-size: (@font-size-small - .06);
}
}
a {
&:hover,
&:focus,
&:active {
svg path {
fill: @ini_nav_menu_hover_bg;
}
}
}
}
/* + + + + + slideout output + + + + + */
.qc-output {
position: relative;

View file

@ -1,24 +0,0 @@
/**
* This file provides styles for the quicksubscribe plugin
*/
.page-attributes {
li.plugin_quicksubscribe {
a.plugin_qsub_subscribe {
svg {
width: 1.6em;
height: 1.6em;
font-size: 0.82rem;
fill: @ini_nav_menu_hover_color;
}
}
a:hover,
a:focus,
a:active {
svg {
fill: @ini_nav_menu_hover_bg;
}
}
}
}

View file

@ -1,43 +1,10 @@
/**
* This file provides styles for starred plugin
*/
.page-attributes {
li.plugin_starred {
.starred {
display: block;
padding-top: .05rem;
svg {
width: 1.6em;
height: 1.6em;
font-size: 0.82rem;
fill: @ini_nav_menu_hover_color;
}
}
a {
max-height: @toggle-size;
}
a:hover,
a:focus,
a:active {
.starred svg {
fill: @ini_nav_menu_hover_bg;
}
}
}
}
nav.nav-starred {
ul {
list-style: none;
&#sidebar-menu-starred {
margin-left: 0;
}
li {
margin-left: 0;