You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

97 lines
2.5 KiB

  1. /**
  2. * This file provides styles for do-task plugin
  3. */
  4. /* + + + + + usertool icon in header + + + + + */
  5. #dokuwiki__usertools.nav-usertools {
  6. ul {
  7. li {
  8. &.user-task {
  9. .btn-usertools-wrapper();
  10. .btn-usertools-num();
  11. position: relative;
  12. .plugin__do_usertasks {
  13. width: 100%;
  14. min-width: (@toggle-size + .25);
  15. min-height: @toggle-size;
  16. border-radius: @ini_default_border_radius;
  17. border: 1px solid @wikiicons-border;
  18. padding: .14rem 0 0 0;
  19. &::before {
  20. content: ''; // remove when fontello is removed from usertools
  21. }
  22. &:hover,
  23. &:focus,
  24. &:active {
  25. background-color: @ini_nav_menu_hover_color;
  26. border: none;
  27. svg path {
  28. fill: @ini_nav_menu_hover_bg;
  29. }
  30. }
  31. }
  32. button {
  33. background-color: @ini_nav_menu_hover_bg;
  34. }
  35. svg {
  36. width: 1.2rem;
  37. height: 1.2rem; // for IE 11
  38. margin-bottom: 2px;
  39. path {
  40. fill: @ini_nav_menu_hover_color;
  41. }
  42. }
  43. .noopentasks {
  44. span {
  45. background-color: @ini_background_site;
  46. border-color: @noopentasks-border;
  47. color: @ini_text_webframe;
  48. }
  49. svg path {
  50. fill: @ini_text_webframe;
  51. }
  52. .num {
  53. background-color: @noopentasks-border; // fix
  54. color: @noopentasks-color; // fix
  55. margin-top: 1px;
  56. }
  57. }
  58. @media @screen_max-xs {
  59. display: none;
  60. }
  61. } // user-task
  62. } // li
  63. } // ul
  64. }
  65. .plugin__do_usertasks_list {
  66. background-color: transparent;
  67. @media @screen_max-sm {
  68. right: 1.25rem !important;
  69. left: 1.25rem !important;
  70. }
  71. table.inline {
  72. background-color: #FFF;
  73. margin-top: .5rem;
  74. @media @screen_max-sm {
  75. width: 100%;
  76. }
  77. }
  78. }