communityrule.scss 4.7 KB

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