communityrule.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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 {
  51. display: block;
  52. border: 2px solid #000;
  53. color: $text-color;
  54. background-color: #fff;
  55. text-align: center;
  56. line-height: 1.5;
  57. padding: 5px;
  58. margin: 5px;
  59. display: inline-block;
  60. font-family: $header-font-family;
  61. font-size: .8em;
  62. cursor: pointer;
  63. }
  64. .delete-module {
  65. cursor: pointer;
  66. }
  67. .builder-list {
  68. margin-bottom: 2em;
  69. }
  70. .builder-list ul {
  71. //list-style-type: none;
  72. //list-style-image: url('/assets/tabler_icons/caret-right.svg');
  73. color: gray;
  74. margin-bottom: 0px;
  75. }
  76. .builder-list li {
  77. padding-bottom: .5em;
  78. }
  79. #custom-field-container {
  80. animation: blinker 1s linear 1;
  81. }
  82. @keyframes blinker {
  83. from {background-color: lightgray;}
  84. to {background-color: white;}
  85. }
  86. .field-controls {
  87. float: right;
  88. font-size: .7em;
  89. }
  90. .field-controls a {
  91. cursor: pointer;
  92. }
  93. /* MODULE PAGES */
  94. #module-summary {
  95. font-size: 1.3em;
  96. }
  97. // DISPLAY MODE
  98. .display_rule {
  99. .site-nav,
  100. .post-header,
  101. .site-footer {
  102. display: none;
  103. }
  104. }
  105. /* pushButton
  106. These are the major functional buttons*/
  107. .pushButton {
  108. border: 1px solid gray;
  109. color: gray;
  110. background-color: white;
  111. text-align: center;
  112. border-radius: 6px;
  113. padding: 5px;
  114. margin: 0 5px 0 5px;
  115. font-family: $header-font-family;
  116. font-size: 1.2em;
  117. }
  118. .pushButton:hover {
  119. background-color: lightgray;
  120. }
  121. .chevrons { /* The maximize/minimize button */
  122. font-size: 1em;
  123. }
  124. .icons {
  125. /* icons are from https://github.com/tabler/tabler-icons */
  126. margin: 0 5px 0 0;
  127. }
  128. /* link fields
  129. Enabling users to add links*/
  130. .linkbox {
  131. }
  132. .link-text {
  133. width: 40%;
  134. border-top: 0px;
  135. border-right: 0px;
  136. border-left: 0px;
  137. font-size: 1em;
  138. }
  139. .link-divider {
  140. margin: 0 20px 0 20px;
  141. display: inline;
  142. }
  143. .link-url {
  144. border-top: 0px;
  145. border-right: 0px;
  146. border-left: 1px;
  147. width: 40%;
  148. font-size: 1em;
  149. }
  150. #authorship {
  151. }
  152. /* LIBRARY */
  153. #librarylist {
  154. margin: 50px 0 0 0;
  155. }
  156. .library-item {
  157. margin: 0 0 30px 0;
  158. }
  159. .library-rule-name {
  160. display: inline-block;
  161. margin: 0;
  162. font-size: 1.2em;
  163. font-weight: bold;
  164. }
  165. .library-rule-name img {
  166. max-width: 50px;
  167. margin: 0 15px 10px 0;
  168. }
  169. .library-rule-author {
  170. display: inline-block;
  171. margin: 0 0 0 10px;
  172. font-size: .8em;
  173. color: gray;
  174. }
  175. .library-rule-structure {
  176. margin: 0;
  177. }
  178. .library-module {
  179. border-width: 1px;
  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. }