communityrule.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  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: $header-font-family;
  16. font-size:nth($header-font-size, 1);
  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. border: none;
  27. border-bottom: 1px dashed gray;
  28. }
  29. .editable[contenteditable="true"] { /* active editable fields */
  30. }
  31. .prompt {
  32. color: gray;
  33. }
  34. .page-type {
  35. color: gray;
  36. }
  37. .page-type a,.page-type a:visited {
  38. color: gray;
  39. }
  40. /* Modules */
  41. #module-toggle {
  42. float: right;
  43. position: relative;
  44. margin-left: 10px;
  45. padding: 5px;
  46. }
  47. #module-menu {
  48. /* max-height: 300px;
  49. overflow-y: scroll; */
  50. margin: 0 0 10px 0;
  51. padding: 10px;
  52. border: 1px solid lightgray;
  53. }
  54. .module-type-header {
  55. font-weight: bold;
  56. font-size: 1em;
  57. margin: 10px 5px 5px 5px;
  58. }
  59. .module-questions {
  60. color: gray;
  61. font-size: .8em;
  62. margin: 0 10px 10px 10px;
  63. }
  64. .button:hover {
  65. background-color: lightgray;
  66. }
  67. #module-input {
  68. overflow: hidden;
  69. border: 1px solid lightgray;
  70. border-radius: 6px;
  71. padding: 10px 10px 10px 10px;
  72. margin: 0 0 15px 0;
  73. text-align: left;
  74. min-height: 1.5em;
  75. }
  76. .module {
  77. display: block;
  78. border: 1px solid gray;
  79. color: black;
  80. background-color: lightgray;
  81. text-align: center;
  82. border-radius: 10px;
  83. padding: 5px;
  84. margin: 5px;
  85. display: inline-block;
  86. font-family: $header-font-family;
  87. font-size: .8em;
  88. cursor: pointer;
  89. }
  90. .module:hover {
  91. border-color: gray;
  92. }
  93. .module a:hover {
  94. }
  95. #module-name {
  96. }
  97. .delete-module {
  98. cursor: pointer;
  99. }
  100. .module-logo {
  101. }
  102. #module-custom-container {
  103. margin: 20px 0 10px 0;
  104. }
  105. .builder-list {
  106. margin-bottom: 2em;
  107. }
  108. .builder-list ul {
  109. //list-style-type: none;
  110. //list-style-image: url('/assets/tabler_icons/caret-right.svg');
  111. color: gray;
  112. margin-bottom: 0px;
  113. }
  114. .builder-list li {
  115. padding-bottom: .5em;
  116. }
  117. #custom-field-container {
  118. animation: blinker 1s linear 1;
  119. }
  120. @keyframes blinker {
  121. from {background-color: lightgray;}
  122. to {background-color: white;}
  123. }
  124. .field-controls {
  125. float: right;
  126. font-size: .7em;
  127. }
  128. .field-controls a {
  129. cursor: pointer;
  130. }
  131. /* MODULE PAGES */
  132. #module-summary {
  133. font-size: 1.3em;
  134. }
  135. /* pushButton
  136. These are the major functional buttons*/
  137. .pushButton {
  138. border: 1px solid gray;
  139. color: gray;
  140. background-color: white;
  141. text-align: center;
  142. border-radius: 6px;
  143. padding: 5px;
  144. margin: 0 5px 0 5px;
  145. font-family: $header-font-family;
  146. font-size: 1.2em;
  147. }
  148. .pushButton:hover {
  149. background-color: lightgray;
  150. }
  151. .chevrons { /* The maximize/minimize button */
  152. font-size: 1em;
  153. }
  154. .icons {
  155. /* icons are from https://github.com/tabler/tabler-icons */
  156. margin: 0 5px 0 0;
  157. }
  158. /* link fields
  159. Enabling users to add links*/
  160. .linkbox {
  161. position: relative;
  162. display: block;
  163. border: 1px solid lightgray;
  164. background-color: white;
  165. border-radius: 6px;
  166. padding: 10px 0px 10px 0px;
  167. margin-bottom: 15px;
  168. text-align: center;
  169. }
  170. .link-text {
  171. width: 40%;
  172. border-top: 0px;
  173. border-right: 0px;
  174. border-left: 0px;
  175. font-size: 1em;
  176. }
  177. .link-divider {
  178. margin: 0 20px 0 20px;
  179. display: inline;
  180. }
  181. .link-url {
  182. border-top: 0px;
  183. border-right: 0px;
  184. border-left: 1px;
  185. width: 40%;
  186. font-size: 1em;
  187. }
  188. #authorship {
  189. margin: 40px 0 0 0;
  190. }
  191. #authorship-words {
  192. display: none;
  193. }
  194. #authorship-result {
  195. display: none;
  196. }
  197. /* LIBRARY */
  198. #librarylist {
  199. margin: 50px 0 0 0;
  200. }
  201. .library-item {
  202. margin: 0 0 30px 0;
  203. }
  204. .library-rule-name {
  205. display: inline-block;
  206. margin: 0;
  207. font-size: 1.2em;
  208. font-weight: bold;
  209. }
  210. .library-rule-name img {
  211. max-width: 50px;
  212. margin: 0 15px 10px 0;
  213. }
  214. .library-rule-author {
  215. display: inline-block;
  216. margin: 0 0 0 10px;
  217. font-size: .8em;
  218. color: gray;
  219. }
  220. .library-rule-structure {
  221. margin: 0;
  222. }
  223. .library-module {
  224. font-size: .7em;
  225. padding: 1px 5px 1px 5px;
  226. margin: 0px;
  227. cursor: default;
  228. }
  229. /* VARIOUS IDs */
  230. #rulebox {
  231. border: 1px solid lightgray;
  232. padding: 20px;
  233. margin: 20px 0 30px 0;
  234. }
  235. #rulebox h3 {
  236. font-family: serif;
  237. }
  238. #communityname {
  239. font-weight: bold;
  240. }
  241. #structure {
  242. font-size: 1.3em;
  243. }
  244. #rulewriter-box {
  245. margin:50px 0 50px 0;
  246. display: none;
  247. }
  248. #rulewriter {
  249. }
  250. #editToggle {
  251. float: right;
  252. clear: both;
  253. }
  254. #toggleDisplayMode, #fork {
  255. margin: 0 5px 10px 0;
  256. display: none;
  257. }
  258. #publishRule {
  259. margin: 0 0 10px 0;
  260. }
  261. #lineage {
  262. margin: 0 0 20px 0;
  263. display: none;
  264. }
  265. #attribution {
  266. font-family: serif;
  267. font-size: .8em;
  268. text-align: right;
  269. }
  270. #attributionMD {
  271. }
  272. #trash {
  273. display: none;
  274. }
  275. #discuss {
  276. margin: 20px 0 20px 0;
  277. }
  278. #discuss-button {
  279. display: none;
  280. }