communityrule.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247
  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. /* 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. border-width: 1px;
  181. font-size: .7em;
  182. padding: 1px 5px 1px 5px;
  183. margin: 0px;
  184. cursor: default;
  185. }
  186. /* VARIOUS IDs */
  187. #structure {
  188. font-size: 1.3em;
  189. }
  190. #rulewriter-box {
  191. margin:50px 0 50px 0;
  192. display: none;
  193. }
  194. #rulewriter {
  195. }
  196. #editToggle {
  197. float: right;
  198. clear: both;
  199. }
  200. #toggleDisplayMode, #fork {
  201. margin: 0 5px 10px 0;
  202. display: none;
  203. }
  204. #publishRule {
  205. margin: 0 0 10px 0;
  206. }
  207. #lineage {
  208. margin: 0 0 20px 0;
  209. display: none;
  210. }
  211. #attribution {
  212. font-family: serif;
  213. font-size: .8em;
  214. text-align: right;
  215. }
  216. #attributionMD {
  217. }
  218. #trash {
  219. display: none;
  220. }
  221. #discuss {
  222. margin: 20px 0 20px 0;
  223. }
  224. #discuss-button {
  225. display: none;
  226. }