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.
 
 
 
 
 

117 lines
2.4 KiB

  1. /**
  2. * This file provides styles for bureaucracy plugin
  3. */
  4. /* + + + + + global + + + + + */
  5. .dokuwiki form.bureaucracy__plugin {
  6. fieldset {
  7. width: 100%;
  8. max-width: 800px;
  9. box-sizing: border-box;
  10. border: 0 none;
  11. text-align: center;
  12. margin-left: 0;
  13. margin-bottom: (@grid * 2);
  14. padding: @grid 0 0;
  15. > *:not(button) {
  16. text-align: left;
  17. }
  18. }
  19. legend {
  20. font-size: @font-size-small;
  21. font-weight: bold;
  22. text-align: left;
  23. }
  24. label {
  25. clear: both;
  26. padding-top: (@grid / 2);
  27. &::after {
  28. content: '';
  29. clear: both;
  30. }
  31. sup {
  32. float: right;
  33. font-size: 1em;
  34. }
  35. input,
  36. select {
  37. float: left;
  38. width: 50%;
  39. text-align: left;
  40. padding: .1em .2em;
  41. }
  42. input[type="checkbox"] {
  43. width: 1.5rem;
  44. height: 1.5rem;
  45. background-image: none;
  46. }
  47. span {
  48. float: left;
  49. text-align: right;
  50. line-height: @line-height-default;
  51. padding-top: .2em;
  52. padding-right: @grid;
  53. &:not([class]) {
  54. font-weight: bold;
  55. margin-top: .5em;
  56. + input,
  57. + select {
  58. margin-top: .3em;
  59. }
  60. // checkboxes
  61. + input + input {
  62. margin-top: .3em;
  63. }
  64. }
  65. &.label {
  66. text-align: right;
  67. padding-top: .5em;
  68. }
  69. &.input {
  70. width: 49%;
  71. text-align: left;
  72. padding-left: 0;
  73. }
  74. } // span
  75. } // label
  76. button[type="submit"] {
  77. margin-top: (@grid * 2);
  78. }
  79. }
  80. /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
  81. /* min-width: 1440px */
  82. @media @screen_min-xlg {
  83. .dokuwiki form.bureaucracy__plugin {
  84. p {
  85. font-size: @font-size-default;
  86. }
  87. }
  88. }
  89. /* + + + + + + + + + + + + + + + + + + + + + + + + + + */
  90. /* max-width: 1439px */
  91. @media @screen_max-xlg {
  92. .dokuwiki form.bureaucracy__plugin {
  93. p,
  94. label,
  95. button[type="submit"] {
  96. font-size: @font-size-default;
  97. }
  98. }
  99. }