communityrule.scss 4.1 KB

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