communityrule.scss 4.3 KB

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