communityrule.scss 3.9 KB

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