communityrule.scss 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. display: none;
  84. }
  85. .field-controls {
  86. float: right;
  87. font-size: .7em;
  88. }
  89. .field-controls a {
  90. cursor: pointer;
  91. }
  92. /* pushButton
  93. These are the major functional buttons*/
  94. .pushButton {
  95. border: 1px solid gray;
  96. color: gray;
  97. background-color: white;
  98. text-align: center;
  99. border-radius: 6px;
  100. padding: 5px;
  101. margin: 0 5px 0 5px;
  102. font-size: 1.2em;
  103. }
  104. .pushButton:hover {
  105. background-color: lightgray;
  106. }
  107. .chevrons { /* The maximize/minimize button */
  108. font-size: 1em;
  109. }
  110. .icons {
  111. /* icons are from https://github.com/tabler/tabler-icons */
  112. margin: 0 5px 0 0;
  113. }
  114. /* link fields
  115. Enabling users to add links*/
  116. .linkbox {
  117. position: relative;
  118. display: block;
  119. border: 1px solid lightgray;
  120. background-color: white;
  121. border-radius: 6px;
  122. padding: 10px 0px 10px 0px;
  123. margin-bottom: 15px;
  124. text-align: center;
  125. }
  126. .link-text {
  127. width: 40%;
  128. border-top: 0px;
  129. border-right: 0px;
  130. border-left: 0px;
  131. font-size: 1em;
  132. }
  133. .link-divider {
  134. margin: 0 20px 0 20px;
  135. display: inline;
  136. }
  137. .link-url {
  138. border-top: 0px;
  139. border-right: 0px;
  140. border-left: 1px;
  141. width: 40%;
  142. font-size: 1em;
  143. }
  144. #authorship {
  145. margin: 40px 0 0 0;
  146. }
  147. #authorship-words {
  148. display: none;
  149. }
  150. #authorship-result {
  151. display: none;
  152. }
  153. /* VARIOUS IDs */
  154. #rulebox {
  155. border: 1px solid lightgray;
  156. padding: 20px;
  157. margin: 20px 0 30px 0;
  158. }
  159. #rulebox h2 {
  160. font-family: serif;
  161. }
  162. #communityname {
  163. font-weight: bold;
  164. }
  165. #editToggle {
  166. float: right;
  167. clear: both;
  168. }
  169. #toggleDisplayMode {
  170. margin: 0 0 10px 0;
  171. display: none;
  172. }
  173. #publishRule {
  174. margin: 0 0 10px 0;
  175. }
  176. #structure {
  177. font-size: 1.3em;
  178. }
  179. #attribution {
  180. font-family: serif;
  181. font-size: .8em;
  182. text-align: right;
  183. }
  184. #trash {
  185. display: none;
  186. }