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.
 
 
 
 
 

55 lines
1.6 KiB

  1. /**
  2. * This styles the "section editing button" (if not added by data-plugin)
  3. */
  4. #dokuwiki__content.main-content {
  5. .secedit:not([class*="plugin"]):not([class*="table"]) {
  6. position: relative;
  7. top: 0;
  8. float: right;
  9. margin-top: 0; // for best position of edit-tab beneath table
  10. form div.no {
  11. button {
  12. margin-top: -.4rem;
  13. padding-right: 0;
  14. }
  15. }
  16. // "section editing button"
  17. button {
  18. background-color: transparent;
  19. color: transparent;
  20. border-color: transparent;
  21. &::after {
  22. content: '';
  23. float: right;
  24. display: inline-block;
  25. background: transparent url("svg.php?svg=pencil.svg&f=existing") center center no-repeat;
  26. height: 1em;
  27. width: 1em;
  28. background-size: contain;
  29. border: solid 2px transparent;
  30. border-radius: @ini_default_border_radius;
  31. margin-left: @small-spacing;
  32. margin-top: -1px;
  33. }
  34. &:hover,
  35. &:active,
  36. &:focus {
  37. //background-color: @ini_existing;
  38. color: @ini_existing;
  39. //border-color: @ini_existing;
  40. &::after {
  41. background-color: @ini_existing;
  42. background-image: url("svg.php?svg=pencil.svg&f=background");
  43. border-color: @ini_existing;
  44. }
  45. }
  46. }
  47. }
  48. }