communityrule.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268
  1. /* BEGIN COMMUNITYRULE-SPECIFIC CSS */
  2. @import "rulebox";
  3. /* CLASSES */
  4. .button {
  5. position: relative;
  6. display: inline;
  7. float: right;
  8. border: 0px solid gray;
  9. color: gray;
  10. background-color: white;
  11. text-align: center;
  12. border-radius: 6px;
  13. padding: 0;
  14. }
  15. .callout-text {
  16. font-family: $header-font-family;
  17. font-size:nth($header-font-size, 1);
  18. margin:1.5em 0 1em 0;
  19. }
  20. .callout-icon {
  21. font-size:2em;
  22. margin:1.5em 0 1em 0;
  23. }
  24. .editable, input.editable { /* All editable fields */
  25. padding: 10px 10px 10px 10px;
  26. min-height: 1.5em;
  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-questions {
  54. color: gray;
  55. font-size: .8em;
  56. margin: 0 10px 10px 10px;
  57. }
  58. .button:hover {
  59. background-color: lightgray;
  60. }
  61. #module-input {
  62. }
  63. .module {
  64. display: block;
  65. border: 2px solid #000;
  66. color: $text-color;
  67. background-color: #fff;
  68. text-align: center;
  69. padding: 5px;
  70. margin: 5px;
  71. display: inline-block;
  72. font-family: $header-font-family;
  73. font-size: .8em;
  74. cursor: pointer;
  75. }
  76. .module:hover {
  77. border-color: gray;
  78. }
  79. .module:active {
  80. background-color: $brand-yellow;
  81. border-color: #000;
  82. }
  83. .module a:hover {
  84. }
  85. #module-name {
  86. }
  87. .delete-module {
  88. cursor: pointer;
  89. }
  90. .module-logo {
  91. }
  92. #module-custom-container {
  93. margin: 20px 0 10px 0;
  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. #custom-field-container {
  108. animation: blinker 1s linear 1;
  109. }
  110. @keyframes blinker {
  111. from {background-color: lightgray;}
  112. to {background-color: white;}
  113. }
  114. .field-controls {
  115. float: right;
  116. font-size: .7em;
  117. }
  118. .field-controls a {
  119. cursor: pointer;
  120. }
  121. /* MODULE PAGES */
  122. #module-summary {
  123. font-size: 1.3em;
  124. }
  125. /* pushButton
  126. These are the major functional buttons*/
  127. .pushButton {
  128. border: 1px solid gray;
  129. color: gray;
  130. background-color: white;
  131. text-align: center;
  132. border-radius: 6px;
  133. padding: 5px;
  134. margin: 0 5px 0 5px;
  135. font-family: $header-font-family;
  136. font-size: 1.2em;
  137. }
  138. .pushButton:hover {
  139. background-color: lightgray;
  140. }
  141. .chevrons { /* The maximize/minimize button */
  142. font-size: 1em;
  143. }
  144. .icons {
  145. /* icons are from https://github.com/tabler/tabler-icons */
  146. margin: 0 5px 0 0;
  147. }
  148. /* link fields
  149. Enabling users to add links*/
  150. .linkbox {
  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. }
  172. /* LIBRARY */
  173. #librarylist {
  174. margin: 50px 0 0 0;
  175. }
  176. .library-item {
  177. margin: 0 0 30px 0;
  178. }
  179. .library-rule-name {
  180. display: inline-block;
  181. margin: 0;
  182. font-size: 1.2em;
  183. font-weight: bold;
  184. }
  185. .library-rule-name img {
  186. max-width: 50px;
  187. margin: 0 15px 10px 0;
  188. }
  189. .library-rule-author {
  190. display: inline-block;
  191. margin: 0 0 0 10px;
  192. font-size: .8em;
  193. color: gray;
  194. }
  195. .library-rule-structure {
  196. margin: 0;
  197. }
  198. .library-module {
  199. font-size: .7em;
  200. padding: 1px 5px 1px 5px;
  201. margin: 0px;
  202. cursor: default;
  203. }
  204. /* VARIOUS IDs */
  205. #structure {
  206. font-size: 1.3em;
  207. }
  208. #rulewriter-box {
  209. margin:50px 0 50px 0;
  210. display: none;
  211. }
  212. #rulewriter {
  213. }
  214. #editToggle {
  215. float: right;
  216. clear: both;
  217. }
  218. #toggleDisplayMode, #fork {
  219. margin: 0 5px 10px 0;
  220. display: none;
  221. }
  222. #publishRule {
  223. margin: 0 0 10px 0;
  224. }
  225. #lineage {
  226. margin: 0 0 20px 0;
  227. display: none;
  228. }
  229. #attribution {
  230. font-family: serif;
  231. font-size: .8em;
  232. text-align: right;
  233. }
  234. #attributionMD {
  235. }
  236. #trash {
  237. display: none;
  238. }
  239. #discuss {
  240. margin: 20px 0 20px 0;
  241. }
  242. #discuss-button {
  243. display: none;
  244. }