communityrule.scss 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  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. #custom-field-container {
  113. animation: blinker 1s linear 1;
  114. }
  115. @keyframes blinker {
  116. from {background-color: lightgray;}
  117. to {background-color: white;}
  118. }
  119. .field-controls {
  120. float: right;
  121. font-size: .7em;
  122. }
  123. .field-controls a {
  124. cursor: pointer;
  125. }
  126. /* MODULE PAGES */
  127. #module-summary {
  128. font-size: 1.3em;
  129. }
  130. /* pushButton
  131. These are the major functional buttons*/
  132. .pushButton {
  133. border: 1px solid gray;
  134. color: gray;
  135. background-color: white;
  136. text-align: center;
  137. border-radius: 6px;
  138. padding: 5px;
  139. margin: 0 5px 0 5px;
  140. font-size: 1.2em;
  141. }
  142. .pushButton:hover {
  143. background-color: lightgray;
  144. }
  145. .chevrons { /* The maximize/minimize button */
  146. font-size: 1em;
  147. }
  148. .icons {
  149. /* icons are from https://github.com/tabler/tabler-icons */
  150. margin: 0 5px 0 0;
  151. }
  152. /* link fields
  153. Enabling users to add links*/
  154. .linkbox {
  155. position: relative;
  156. display: block;
  157. border: 1px solid lightgray;
  158. background-color: white;
  159. border-radius: 6px;
  160. padding: 10px 0px 10px 0px;
  161. margin-bottom: 15px;
  162. text-align: center;
  163. }
  164. .link-text {
  165. width: 40%;
  166. border-top: 0px;
  167. border-right: 0px;
  168. border-left: 0px;
  169. font-size: 1em;
  170. }
  171. .link-divider {
  172. margin: 0 20px 0 20px;
  173. display: inline;
  174. }
  175. .link-url {
  176. border-top: 0px;
  177. border-right: 0px;
  178. border-left: 1px;
  179. width: 40%;
  180. font-size: 1em;
  181. }
  182. #authorship {
  183. margin: 40px 0 0 0;
  184. }
  185. #authorship-words {
  186. display: none;
  187. }
  188. #authorship-result {
  189. display: none;
  190. }
  191. /* LIBRARY */
  192. #librarylist {
  193. margin: 50px 0 0 0;
  194. }
  195. .library-item {
  196. margin: 0 0 30px 0;
  197. }
  198. .library-rule-name {
  199. display: inline-block;
  200. margin: 0;
  201. font-size: 1.2em;
  202. font-weight: bold;
  203. }
  204. .library-rule-author {
  205. display: inline-block;
  206. margin: 0 0 0 10px;
  207. font-size: .8em;
  208. color: gray;
  209. }
  210. .library-rule-structure {
  211. margin: 0;
  212. }
  213. .library-module {
  214. font-size: .7em;
  215. padding: 1px 5px 1px 5px;
  216. margin: 0px;
  217. cursor: default;
  218. }
  219. /* VARIOUS IDs */
  220. #rulebox {
  221. border: 1px solid lightgray;
  222. padding: 20px;
  223. margin: 20px 0 30px 0;
  224. }
  225. #rulebox h3 {
  226. font-family: serif;
  227. }
  228. #communityname {
  229. font-weight: bold;
  230. }
  231. #structure {
  232. font-size: 1.3em;
  233. }
  234. #rulewriter-box {
  235. margin:50px 0 50px 0;
  236. }
  237. #rulewriter {
  238. }
  239. #editToggle {
  240. float: right;
  241. clear: both;
  242. }
  243. #toggleDisplayMode {
  244. margin: 0 0 10px 0;
  245. display: none;
  246. }
  247. #publishRule {
  248. margin: 0 0 10px 0;
  249. }
  250. #lineage {
  251. margin: 0 0 20px 0;
  252. display: none;
  253. }
  254. #attribution {
  255. font-family: serif;
  256. font-size: .8em;
  257. text-align: right;
  258. }
  259. #trash {
  260. display: none;
  261. }