communityrule.scss 4.0 KB

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