communityrule.scss 4.2 KB

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