communityrule.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. /* BEGIN COMMUNITYRULE-SPECIFIC CSS */
  2. /* CLASSES */
  3. .button {
  4. position: relative;
  5. display: inline;
  6. float: right;
  7. border: 0px solid gray;
  8. color: gray;
  9. background-color: white;
  10. text-align: center;
  11. border-radius: 6px;
  12. padding: 0;
  13. }
  14. .callout-text {
  15. font-family: serif;
  16. font-size:2em;
  17. margin:1.5em 0 1em 0;
  18. }
  19. .callout-icon {
  20. font-size:2em;
  21. margin:1.5em 0 1em 0;
  22. }
  23. .editable, input.editable { /* All editable fields */
  24. padding: 10px 10px 10px 10px;
  25. min-height: 1.5em;
  26. font-family: serif;
  27. border-bottom: 1px dashed gray;
  28. }
  29. .question {
  30. color: gray;
  31. }
  32. .metaheader {
  33. color: gray;
  34. margin-top: 30px;
  35. border-bottom: 1px solid lightgray;
  36. }
  37. /* Modules */
  38. #module-toggle {
  39. float: right;
  40. position: relative;
  41. margin-left: 10px;
  42. padding: 5px;
  43. }
  44. #module-menu {
  45. display: none;
  46. max-height: 200px;
  47. overflow-y: scroll;
  48. margin: 0 0 10px 0;
  49. border: 1px solid lightgray;
  50. }
  51. .button:hover {
  52. background-color: lightgray;
  53. }
  54. #module-input {
  55. overflow: hidden;
  56. border: 1px solid lightgray;
  57. border-radius: 6px;
  58. padding: 10px 10px 10px 10px;
  59. margin: 0 0 15px 0;
  60. text-align: left;
  61. min-height: 100px;
  62. }
  63. .module {
  64. display: block;
  65. border: 1px solid gray;
  66. color: black;
  67. background-color: lightgray;
  68. text-align: center;
  69. border-radius: 10px;
  70. padding: 8px;
  71. margin: 5px;
  72. display: inline-block;
  73. font-size: .8em;
  74. cursor: pointer;
  75. }
  76. .module:hover {
  77. border-color: gray;
  78. }
  79. .module a:hover {
  80. }
  81. .delete-module {
  82. cursor: pointer;
  83. }
  84. .field-controls {
  85. float: right;
  86. font-size: .7em;
  87. }
  88. .field-controls a {
  89. cursor: pointer;
  90. }
  91. /* pushButton
  92. These are the major functional buttons*/
  93. .pushButton {
  94. border: 1px solid gray;
  95. color: gray;
  96. background-color: white;
  97. text-align: center;
  98. border-radius: 6px;
  99. padding: 5px;
  100. margin: 0 5px 0 5px;
  101. font-size: 1.2em;
  102. }
  103. .pushButton:hover {
  104. background-color: lightgray;
  105. }
  106. .chevrons { /* The maximize/minimize button */
  107. font-size: 1em;
  108. }
  109. .icons {
  110. /* icons are from https://github.com/tabler/tabler-icons */
  111. margin: 0 5px 0 0;
  112. }
  113. /* link fields
  114. Enabling users to add links*/
  115. .linkbox {
  116. position: relative;
  117. display: block;
  118. border: 1px solid lightgray;
  119. background-color: white;
  120. border-radius: 6px;
  121. padding: 10px 0px 10px 0px;
  122. margin-bottom: 15px;
  123. text-align: center;
  124. }
  125. .link-text {
  126. width: 40%;
  127. border-top: 0px;
  128. border-right: 0px;
  129. border-left: 0px;
  130. font-size: 1em;
  131. }
  132. .link-divider {
  133. margin: 0 20px 0 20px;
  134. display: inline;
  135. }
  136. .link-url {
  137. border-top: 0px;
  138. border-right: 0px;
  139. border-left: 1px;
  140. width: 40%;
  141. font-size: 1em;
  142. }
  143. #authorship {
  144. margin: 40px 0 0 0;
  145. }
  146. #authorship-words {
  147. display: none;
  148. }
  149. #authorship-result {
  150. display: none;
  151. }
  152. /* VARIOUS IDs */
  153. #rulebox {
  154. border: 1px solid lightgray;
  155. padding: 20px;
  156. margin: 20px 0 30px 0;
  157. }
  158. #rulebox h2 {
  159. font-family: serif;
  160. }
  161. #communityname {
  162. font-weight: bold;
  163. }
  164. #editToggle {
  165. float: right;
  166. clear: both;
  167. }
  168. #toggleDisplayMode {
  169. margin: 0 0 10px 0;
  170. display: none;
  171. }
  172. #publishRule {
  173. margin: 0 0 10px 0;
  174. }
  175. #structure {
  176. font-size: 1.3em;
  177. }
  178. #attribution {
  179. font-family: serif;
  180. font-size: .8em;
  181. text-align: right;
  182. }
  183. #trash {
  184. display: none;
  185. }