1/** 2 * This file provides styles for do-task plugin 3 */ 4 5/* + + + + + global + + + + + */ 6 7ul.page-attributes { 8 .plugin_do_pagetasks { 9 position: relative; 10 border-radius: @ini_default_border_radius; // @ini_default_border_radius vs. @fix_border-radius 11 12 strong { 13 overflow: hidden; 14 background-color: @ini_background_site; 15 border-color: @noopentasks-border; 16 color: @ini_text_webframe; 17 } 18 19 &.do_none { 20 .num { 21 background-color: @noopentasks-border; // fix 22 color: @noopentasks-color; // fix 23 } 24 } 25 } 26} 27 28#dokuwiki__usertools.nav-usertools { 29 ul { 30 li { 31 &.user-task { 32 position: relative; 33 34 a { 35 overflow: visible; 36 white-space: normal; // Is this still needed? 37 text-indent: 0; 38 39 &::before { 40 content: ''; // remove when fontello is removed from usertools 41 } 42 } 43 44 svg { 45 width: 20px; 46 margin-top: 2px; 47 48 @media @screen_max-md { 49 margin-top: 4px; 50 } 51 } 52 53 &:hover { 54 :not(.noopentasks) { 55 svg path { 56 fill: @ini_background; 57 } 58 } 59 } 60 61 .noopentasks { 62 span { 63 background-color: @ini_background_site; 64 border-color: @noopentasks-border; 65 color: @ini_text_webframe; 66 } 67 68 svg path { 69 fill: @ini_text_webframe; 70 } 71 72 .num { 73 background-color: @noopentasks-border; // fix 74 color: @noopentasks-color; // fix 75 margin-top: 1px; 76 } 77 } 78 79 @media @screen_max-sm { 80 display: none; 81 } 82 } // user-task 83 } // li 84 } // ul 85} 86 87.plugin__do_usertasks_list { 88 z-index: 5; 89} 90