communityrule.scss 3.7 KB

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