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.
 
 
 
 
 

197 lines
4.7 KiB

  1. /**
  2. * This file provides styles for struct plugin
  3. */
  4. /* + + + + + global + + + + + */
  5. #dokuwiki__content {
  6. .structaggregation {
  7. @link-height: 1.5rem;
  8. position: relative;
  9. padding-bottom: @link-height;
  10. margin-bottom: @grid;
  11. td,
  12. th {
  13. line-height: @line-height-default;
  14. a {
  15. //color: @ini_existing;
  16. line-height: @line-height-default;
  17. }
  18. }
  19. th {
  20. a {
  21. color: @ini_link_alt;
  22. }
  23. }
  24. // search button in table (f.i. "All products")
  25. table th input {
  26. &:not(:focus) {
  27. cursor: pointer;
  28. }
  29. &:focus {
  30. width: 100%;
  31. box-sizing: border-box;
  32. }
  33. }
  34. .table {
  35. margin-bottom: 0;
  36. }
  37. > a {
  38. position: absolute;
  39. bottom: 0;
  40. height: @link-height;
  41. margin-bottom: 0;
  42. &.export {
  43. bottom: 1px;
  44. overflow-x: hidden;
  45. background: transparent url("svg.php?svg=file-export.svg&f=existing") left center no-repeat;
  46. background-size: auto 20px;
  47. border: solid 1px @ini_border;
  48. border-radius: 0 0 @fix_border-radius @fix_border-radius;
  49. color: @ini_existing;
  50. font-size: @font-size-small;
  51. line-height: 1;
  52. margin-top: -1px;
  53. padding-top: .4em;
  54. transition: @transition background-color, @transition border-color, @transition color;
  55. &:hover,
  56. &:focus,
  57. &:active {
  58. background-color: @ini_existing;
  59. background-image: url("svg.php?svg=file-export.svg&f=background");
  60. border-color: @ini_existing;
  61. //color: @ini_background;
  62. text-decoration: none;
  63. }
  64. }
  65. }
  66. }
  67. #plugin__struct_output {
  68. margin-right: 0;
  69. th {
  70. background-color: @ini_background_alt;
  71. }
  72. }
  73. .struct_entry_form {
  74. margin-bottom: 2rem;
  75. > fieldset {
  76. margin-top: 1.5rem;
  77. }
  78. }
  79. textarea + .struct_entry_form {
  80. margin-top: -.5rem;
  81. }
  82. div.editBox {
  83. .struct_entry_form {
  84. label span.label {
  85. color: @color-editBox;
  86. }
  87. }
  88. }
  89. }
  90. /* + + + + + struct inline-editor + + + + + */
  91. .dokuwiki {
  92. .struct_inlineditor {
  93. box-shadow: @box-shadow-bottom;
  94. p.hint {
  95. margin-top: @small-spacing;
  96. margin-bottom: @margin-small;
  97. }
  98. button[type="submit"] + button {
  99. min-height: @formfield_min-height;
  100. vertical-align: middle;
  101. margin-left: @small-spacing;
  102. }
  103. }
  104. /* struct fields for bureaucracy forms */
  105. .bureaucracy__plugin {
  106. .field {
  107. clear: both;
  108. label {
  109. padding: 0;
  110. .label {
  111. text-align: right;
  112. font-weight: bold;
  113. padding: 0;
  114. }
  115. }
  116. .input {
  117. line-height: 2.5em;
  118. }
  119. }
  120. }
  121. }
  122. /* + + + + + form - Struct Schema Editor + + + + + */
  123. form {
  124. &.doku_form.struct_newschema {
  125. fieldset {
  126. > label {
  127. > span:first-child {
  128. display: inline-block;
  129. @media @screen_min-lg {
  130. width: 48.8%;
  131. }
  132. @media @screen_max-lg {
  133. width: 48.5%;
  134. }
  135. }
  136. > input[type="text"] {
  137. width: 50%;
  138. }
  139. }
  140. button {
  141. cursor: pointer;
  142. box-shadow: none;
  143. background-image: none;
  144. background-color: @ini_button_background;
  145. border: 1px solid @ini_button_background;
  146. border-radius: @fix_border-radius;
  147. color: @ini_button_color;
  148. vertical-align: top;
  149. margin-top: .3em;
  150. padding: .3em @grid;
  151. transition: @transition background-color, @transition color;
  152. &:hover,
  153. &:active,
  154. &:focus {
  155. background-color: @ini_button_color;
  156. color: @ini_button_background;
  157. }
  158. + p {
  159. padding-top: 1rem;
  160. }
  161. }
  162. } // fieldset
  163. }
  164. } // form