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.
 
 
 
 
 

160 lines
3.5 KiB

  1. /**
  2. * This file provides the design styles for page revisions
  3. */
  4. .dokuwiki {
  5. /* + + + + + list of changes + + + + + */
  6. form.changes {
  7. li {
  8. .sizechange {
  9. color: @color-editBox;
  10. &.positive {
  11. background-color: #cfc;
  12. }
  13. &.negative {
  14. background-color: #fdd;
  15. }
  16. }
  17. }
  18. > .no > ul > li {
  19. min-height: @formfield_min-height;
  20. vertical-align: baseline;
  21. margin-bottom: @small-spacing;
  22. .li {
  23. line-height: 150%;
  24. > * {
  25. min-height: 10px;
  26. }
  27. }
  28. a,
  29. span,
  30. img {
  31. vertical-align: baseline;
  32. }
  33. img {
  34. margin-left: @small-spacing;
  35. margin-right: @small-spacing;
  36. }
  37. input[type="checkbox"] {
  38. margin: 0 .5rem .2rem -1.5rem;
  39. }
  40. span.user bdi {
  41. a {
  42. vertical-align: baseline;
  43. }
  44. }
  45. }
  46. }
  47. /* + + + + + view of differents + + + + + */
  48. a.difflink {
  49. color: @ini_existing;
  50. * {
  51. color: inherit;
  52. }
  53. }
  54. .diffnav {
  55. a {
  56. background-color: @ini_background_site;
  57. border: solid 1px @ini_background_site;
  58. border-radius: @ini_default_border_radius;
  59. color: @ini_nav_menu_color;
  60. transition: @transition background-color, @transition color, @transition border-color;
  61. &::before {
  62. background-color: inherit;
  63. border: 0 none;
  64. color: inherit;
  65. }
  66. &:hover,
  67. &:focus,
  68. &:active {
  69. background-color: @ini_nav_menu_color;
  70. border: solid 1px @ini_nav_menu_color;
  71. color: @ini_background_site;
  72. &::before {
  73. background-color: inherit;
  74. color: inherit;
  75. }
  76. }
  77. }
  78. }
  79. table.diff {
  80. background-color: #fff;
  81. border: solid 1px #fff;
  82. border-top-width: 10px;
  83. border-bottom-width: 10px;
  84. &.diff_inline {
  85. border-top-width: 0;
  86. .diffnav {
  87. padding-top: 10px;
  88. padding-bottom: 10px;
  89. }
  90. }
  91. th {
  92. background-color: @ini_background;
  93. color: @ini_text;
  94. padding-top: 10px;
  95. padding-bottom: 10px;
  96. &.minor {
  97. color: #999;
  98. }
  99. }
  100. td {
  101. &.diff-blockheader {
  102. background-color: #cfc;
  103. color: @color-editBox;
  104. }
  105. &.diff-context {
  106. background-color: #eee;
  107. color: @color-editBox;
  108. }
  109. }
  110. .diff-addedline {
  111. background-color: #cfc;
  112. color: @color-editBox;
  113. strong {
  114. background-color: transparent;
  115. color: #f00;
  116. }
  117. }
  118. .diff-deletedline {
  119. background-color: #fdd;
  120. color: @color-editBox;
  121. * {
  122. color: inherit;
  123. }
  124. strong {
  125. background-color: transparent;
  126. color: #f00;
  127. }
  128. }
  129. }
  130. }