communityrule.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. /* BEGIN COMMUNITYRULE-SPECIFIC CSS */
  2. @import "rulebox";
  3. @import "refresh";
  4. /* CLASSES */
  5. .button {
  6. position: relative;
  7. display: inline;
  8. float: right;
  9. border: 0px solid gray;
  10. color: gray;
  11. background-color: white;
  12. text-align: center;
  13. border-radius: 6px;
  14. padding: 0;
  15. }
  16. .callout-text {
  17. font-family: $header-font-family;
  18. font-size:nth($header-font-size, 1);
  19. margin:1.5em 0 1em 0;
  20. }
  21. .callout-icon {
  22. font-size:2em;
  23. margin:1.5em 0 1em 0;
  24. }
  25. .prompt {
  26. color: gray;
  27. }
  28. .page-type {
  29. color: gray;
  30. }
  31. .page-type a,.page-type a:visited {
  32. color: gray;
  33. }
  34. /* Modules */
  35. #module-toggle {
  36. float: right;
  37. position: relative;
  38. margin-left: 10px;
  39. padding: 5px;
  40. }
  41. #module-menu {
  42. /* max-height: 300px;
  43. overflow-y: scroll; */
  44. margin: 0 0 10px 0;
  45. padding: 10px;
  46. border: 1px solid lightgray;
  47. }
  48. .button:hover {
  49. background-color: lightgray;
  50. }
  51. .module {
  52. display: block;
  53. border: 2px solid #000;
  54. color: $text-color;
  55. background-color: #fff;
  56. text-align: center;
  57. line-height: 1.5;
  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. .configs {
  95. padding: 0px 0 20px 0;
  96. }
  97. .config-button {
  98. cursor: pointer;
  99. }
  100. /* MODULE PAGES */
  101. #module-summary {
  102. font-size: 1.3em;
  103. }
  104. // DISPLAY MODE
  105. .display_rule {
  106. .site-nav,
  107. .post-header,
  108. .site-footer {
  109. display: none;
  110. }
  111. }
  112. /* pushButton
  113. These are the major functional buttons*/
  114. .pushButton {
  115. border: 1px solid gray;
  116. color: gray;
  117. background-color: white;
  118. text-align: center;
  119. border-radius: 6px;
  120. padding: 5px;
  121. margin: 0 5px 0 5px;
  122. font-family: $header-font-family;
  123. font-size: 1.2em;
  124. }
  125. .pushButton:hover {
  126. background-color: lightgray;
  127. }
  128. .chevrons { /* The maximize/minimize button */
  129. font-size: 1em;
  130. }
  131. .icons {
  132. /* icons are from https://github.com/tabler/tabler-icons */
  133. margin: 0 5px 0 0;
  134. }
  135. /* link fields
  136. Enabling users to add links*/
  137. .linkbox {
  138. }
  139. .link-text {
  140. width: 40%;
  141. border-top: 0px;
  142. border-right: 0px;
  143. border-left: 0px;
  144. font-size: 1em;
  145. }
  146. .link-divider {
  147. margin: 0 20px 0 20px;
  148. display: inline;
  149. }
  150. .link-url {
  151. border-top: 0px;
  152. border-right: 0px;
  153. border-left: 1px;
  154. width: 40%;
  155. font-size: 1em;
  156. }
  157. #authorship {
  158. }
  159. /* LIBRARY */
  160. #librarylist {
  161. margin: 50px 0 0 0;
  162. }
  163. .library-item {
  164. margin: 0 0 30px 0;
  165. }
  166. .library-rule-name {
  167. display: inline-block;
  168. margin: 0;
  169. font-size: 1.2em;
  170. font-weight: bold;
  171. }
  172. .library-rule-name img {
  173. max-width: 50px;
  174. margin: 0 15px 10px 0;
  175. }
  176. .library-rule-author {
  177. display: inline-block;
  178. margin: 0 0 0 10px;
  179. font-size: .8em;
  180. color: gray;
  181. }
  182. .library-module {
  183. border-width: 1px;
  184. font-size: .7em;
  185. padding: 1px 5px 1px 5px;
  186. margin: 0px;
  187. cursor: default;
  188. }
  189. /* VARIOUS IDs */
  190. #structure {
  191. font-size: 1.3em;
  192. }
  193. #rulewriter-box {
  194. margin:50px 0 50px 0;
  195. display: none;
  196. }
  197. #rulewriter {
  198. }
  199. #editToggle {
  200. float: right;
  201. clear: both;
  202. }
  203. #toggleDisplayMode, #fork {
  204. margin: 0 5px 10px 0;
  205. display: none;
  206. }
  207. #publishRule {
  208. margin: 0 0 10px 0;
  209. }
  210. #lineage {
  211. margin: 0 0 20px 0;
  212. display: none;
  213. }
  214. #attribution {
  215. font-family: serif;
  216. font-size: .8em;
  217. text-align: right;
  218. }
  219. #attributionMD {
  220. }
  221. #trash {
  222. display: none;
  223. }
  224. #discuss {
  225. margin: 20px 0 20px 0;
  226. }
  227. #discuss-button {
  228. display: none;
  229. }