communityrule.scss 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. .page-type {
  38. color: gray;
  39. }
  40. .page-type a,.page-type a:visited {
  41. color: gray;
  42. }
  43. /* Modules */
  44. #module-toggle {
  45. float: right;
  46. position: relative;
  47. margin-left: 10px;
  48. padding: 5px;
  49. }
  50. #module-menu {
  51. display: none;
  52. max-height: 300px;
  53. overflow-y: scroll;
  54. margin: 0 0 10px 0;
  55. padding: 10px;
  56. border: 1px solid lightgray;
  57. }
  58. .module-type-header {
  59. font-weight: bold;
  60. font-size: 1em;
  61. margin: 10px 5px 5px 5px;
  62. }
  63. .button:hover {
  64. background-color: lightgray;
  65. }
  66. #module-input {
  67. overflow: hidden;
  68. border: 1px solid lightgray;
  69. border-radius: 6px;
  70. padding: 10px 10px 10px 10px;
  71. margin: 0 0 15px 0;
  72. text-align: left;
  73. min-height: 1.5em;
  74. }
  75. .module {
  76. display: block;
  77. border: 1px solid gray;
  78. color: black;
  79. background-color: lightgray;
  80. text-align: center;
  81. border-radius: 10px;
  82. padding: 5px;
  83. margin: 5px;
  84. display: inline-block;
  85. font-size: .8em;
  86. cursor: pointer;
  87. }
  88. .module:hover {
  89. border-color: gray;
  90. }
  91. .module a:hover {
  92. }
  93. .delete-module {
  94. cursor: pointer;
  95. }
  96. .module-logo {
  97. }
  98. .builder-list {
  99. margin-bottom: 2em;
  100. }
  101. .builder-list ul {
  102. //list-style-type: none;
  103. //list-style-image: url('/assets/tabler_icons/caret-right.svg');
  104. color: gray;
  105. margin-bottom: 0px;
  106. }
  107. .builder-list li {
  108. padding-bottom: .5em;
  109. }
  110. .field-controls {
  111. float: right;
  112. font-size: .7em;
  113. }
  114. .field-controls a {
  115. cursor: pointer;
  116. }
  117. /* MODULE PAGES */
  118. #module-summary {
  119. font-size: 1.3em;
  120. }
  121. /* pushButton
  122. These are the major functional buttons*/
  123. .pushButton {
  124. border: 1px solid gray;
  125. color: gray;
  126. background-color: white;
  127. text-align: center;
  128. border-radius: 6px;
  129. padding: 5px;
  130. margin: 0 5px 0 5px;
  131. font-size: 1.2em;
  132. }
  133. .pushButton:hover {
  134. background-color: lightgray;
  135. }
  136. .chevrons { /* The maximize/minimize button */
  137. font-size: 1em;
  138. }
  139. .icons {
  140. /* icons are from https://github.com/tabler/tabler-icons */
  141. margin: 0 5px 0 0;
  142. }
  143. /* link fields
  144. Enabling users to add links*/
  145. .linkbox {
  146. position: relative;
  147. display: block;
  148. border: 1px solid lightgray;
  149. background-color: white;
  150. border-radius: 6px;
  151. padding: 10px 0px 10px 0px;
  152. margin-bottom: 15px;
  153. text-align: center;
  154. }
  155. .link-text {
  156. width: 40%;
  157. border-top: 0px;
  158. border-right: 0px;
  159. border-left: 0px;
  160. font-size: 1em;
  161. }
  162. .link-divider {
  163. margin: 0 20px 0 20px;
  164. display: inline;
  165. }
  166. .link-url {
  167. border-top: 0px;
  168. border-right: 0px;
  169. border-left: 1px;
  170. width: 40%;
  171. font-size: 1em;
  172. }
  173. #authorship {
  174. margin: 40px 0 0 0;
  175. }
  176. #authorship-words {
  177. display: none;
  178. }
  179. #authorship-result {
  180. display: none;
  181. }
  182. /* LIBRARY */
  183. #librarylist {
  184. margin: 50px 0 0 0;
  185. }
  186. .library-item {
  187. margin: 0 0 30px 0;
  188. }
  189. .library-rule-name {
  190. display: inline-block;
  191. margin: 0;
  192. font-size: 1.2em;
  193. font-weight: bold;
  194. }
  195. .library-rule-author {
  196. display: inline-block;
  197. margin: 0 0 0 10px;
  198. font-size: .8em;
  199. color: gray;
  200. }
  201. .library-rule-structure {
  202. margin: 0;
  203. }
  204. .library-module {
  205. font-size: .7em;
  206. padding: 1px 5px 1px 5px;
  207. margin: 0px;
  208. cursor: default;
  209. }
  210. /* VARIOUS IDs */
  211. #rulebox {
  212. border: 1px solid lightgray;
  213. padding: 20px;
  214. margin: 20px 0 30px 0;
  215. }
  216. #rulebox h2 {
  217. font-family: serif;
  218. }
  219. #communityname {
  220. font-weight: bold;
  221. }
  222. #editToggle {
  223. float: right;
  224. clear: both;
  225. }
  226. #toggleDisplayMode {
  227. margin: 0 0 10px 0;
  228. display: none;
  229. }
  230. #publishRule {
  231. margin: 0 0 10px 0;
  232. }
  233. #structure {
  234. font-size: 1.3em;
  235. }
  236. #attribution {
  237. font-family: serif;
  238. font-size: .8em;
  239. text-align: right;
  240. }
  241. #trash {
  242. display: none;
  243. }