My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configurator.css 7.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314
  1. /* configurator.css */
  2. /* Styles for Marlin Configurator */
  3. .clear { clear: both; }
  4. /* Prevent selection except PRE tags */
  5. * {
  6. -webkit-touch-callout: none;
  7. -webkit-user-select: none;
  8. -khtml-user-select: none;
  9. -moz-user-select: none;
  10. -ms-user-select: none;
  11. user-select: none;
  12. }
  13. pre {
  14. -webkit-touch-callout: text;
  15. -webkit-user-select: text;
  16. -khtml-user-select: text;
  17. -moz-user-select: text;
  18. -ms-user-select: text;
  19. user-select: text;
  20. }
  21. body { margin: 0; padding: 0; background: #56A; color: #000; font-family: monospace; }
  22. #main {
  23. max-width: 1100px;
  24. margin: 0 auto 10px;
  25. padding: 0 2%; width: 96%;
  26. }
  27. h1, h2, h3, h4, h5, h6 { clear: both; }
  28. h1, p.info { font-family: sans-serif; }
  29. h1 {
  30. height: 38px;
  31. margin-bottom: -30px;
  32. color: #FFF;
  33. background: transparent url(logo.png) right top no-repeat;
  34. }
  35. p.info { padding: 0; color: #000; }
  36. p.info span { color: #800; }
  37. #message { text-align: center; }
  38. #message { width: 80%; margin: 0 auto 0.25em; color: #FF0; }
  39. #message p { padding: 2px 0; font-weight: bold; border-radius: 0.8em; }
  40. #message p.message { color: #080; background: #CFC; }
  41. #message p.error { color: #F00; background: #FF4; }
  42. #message p.warning { color: #FF0; background: #BA4; }
  43. #message p.message span,
  44. #message p.error span,
  45. #message p.warning span {
  46. color: #A00;
  47. background: rgba(255, 255, 255, 1);
  48. border: 1px solid rgba(0,0,0,0.5);
  49. border-radius: 1em;
  50. float: right;
  51. margin-right: 0.5em;
  52. padding: 0 3px;
  53. font-family: sans-serif;
  54. font-size: small;
  55. position: relative;
  56. top: -1px;
  57. }
  58. #help strong { color: #0DD; }
  59. img { display: none; }
  60. /* Forms */
  61. #config_form {
  62. display: block;
  63. background: #EEE;
  64. padding: 6px 20px 20px;
  65. color: #000;
  66. position: relative;
  67. border-radius: 1.5em;
  68. border-top-left-radius: 0;
  69. }
  70. fieldset {
  71. height: 16.1em;
  72. overflow-y: scroll;
  73. overflow-x: hidden;
  74. margin-top: 10px;
  75. }
  76. label, input, select, textarea { display: block; float: left; margin: 1px 0; }
  77. label.newline, textarea, fieldset { clear: both; }
  78. label {
  79. width: 120px; /* label area */
  80. height: 1em;
  81. padding: 10px 460px 10px 1em;
  82. margin-right: -450px;
  83. text-align: right;
  84. }
  85. label.blocked { color: #AAA; }
  86. input[type="text"], select { margin: 0.75em 0 0; }
  87. input[type="checkbox"], input[type="radio"], input[type="file"] { margin: 1em 0 0; }
  88. input[type="checkbox"].enabler, input[type="radio"].enabler { margin-left: 1em; }
  89. input:disabled { color: #BBB; }
  90. #config_form input[type="text"].subitem { width: 4em; }
  91. #config_form input[type="text"].subitem+.subitem { margin-left: 4px; }
  92. input[type="text"].added { width: 20em; }
  93. label.added {
  94. width: 275px; /* label area */
  95. height: 1em;
  96. padding: 10px 360px 10px 1em;
  97. margin-right: -350px;
  98. text-align: right;
  99. }
  100. ul.tabs { padding: 0; list-style: none; }
  101. ul.tabs li { display: inline; }
  102. ul.tabs li a,
  103. ul.tabs li a.active:hover,
  104. ul.tabs li a.active:active {
  105. display: block;
  106. float: left;
  107. background: #1E4059;
  108. color: #CCC;
  109. font-size: 110%;
  110. border-radius: 0.25em 0.25em 0 0;
  111. margin: 0 4px 0 0;
  112. padding: 2px 8px;
  113. text-decoration: none;
  114. font-family: georgia,"times new roman",times;
  115. }
  116. ul.tabs li a.active:link,
  117. ul.tabs li a.active:visited {
  118. background: #DDD;
  119. color: #06F;
  120. cursor: default;
  121. margin-top: -4px;
  122. padding-bottom: 4px;
  123. padding-top: 4px;
  124. }
  125. ul.tabs li a:hover,
  126. ul.tabs li a:active {
  127. background: #000;
  128. color: #FFF;
  129. }
  130. fieldset { display: none; border: 1px solid #AAA; border-radius: 1em; }
  131. fieldset legend { display: none; }
  132. .hilightable span {
  133. display: block;
  134. float: left;
  135. width: 100%;
  136. height: 1.3em;
  137. background: rgba(225,255,0,1);
  138. margin: 0 -100% -1em 0;
  139. }
  140. #serial_stepper { padding-top: 0.75em; display: block; float: left; }
  141. /*#SERIAL_PORT { display: none; }*/
  142. /* Tooltips */
  143. #tooltip {
  144. display: none;
  145. max-width: 30em;
  146. padding: 8px;
  147. border: 2px solid #73d699;
  148. border-radius: 1em;
  149. position: absolute;
  150. z-index: 999;
  151. font-family: sans-serif;
  152. font-size: 85%;
  153. color: #000;
  154. line-height: 1.1;
  155. background: #e2ff99; /* Old browsers */
  156. background: -moz-linear-gradient(top, #e2ff99 0%, #73d699 100%); /* FF3.6+ */
  157. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2ff99), color-stop(100%,#73d699)); /* Chrome,Safari4+ */
  158. background: -webkit-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Chrome10+,Safari5.1+ */
  159. background: -o-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Opera 11.10+ */
  160. background: -ms-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* IE10+ */
  161. background: linear-gradient(to bottom, #e2ff99 0%,#73d699 100%); /* W3C */
  162. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2ff99', endColorstr='#73d699',GradientType=0 ); /* IE6-9 */
  163. -webkit-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  164. -moz-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  165. box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  166. }
  167. #tooltip>span {
  168. position: absolute;
  169. content: "";
  170. width: 0;
  171. height: 0;
  172. border-left: 8px solid transparent;
  173. border-right: 8px solid transparent;
  174. border-top: 8px solid #73d699;
  175. z-index: 999;
  176. bottom: -10px;
  177. left: 20px;
  178. }
  179. #tooltip>strong { color: #00B; }
  180. /* Tooltips Checkbox */
  181. #tipson {
  182. width: auto;
  183. height: auto;
  184. padding: 0;
  185. margin-right: 0;
  186. float: right;
  187. font-weight: bold;
  188. font-size: 100%;
  189. font-family: helvetica;
  190. text-align: left;
  191. cursor: pointer;
  192. }
  193. #tipson input { float: none; display: inline; cursor: pointer; }
  194. /* Config Text */
  195. pre.config {
  196. height: 25em;
  197. padding: 10px;
  198. border: 2px solid #888;
  199. border-radius: 5px;
  200. overflow: auto;
  201. clear: both;
  202. background-color: #FFF;
  203. color: #000;
  204. font-family: "Fira Mono", monospace;
  205. font-size: small;
  206. }
  207. /* Pre Headers */
  208. h2 {
  209. width: 100%;
  210. margin: 12px -300px 4px 0;
  211. padding: 0;
  212. float: left;
  213. }
  214. /* Disclosure Widget */
  215. span.disclose, a.download, a.download-all {︎
  216. display: block;
  217. float: right;
  218. margin-top: 12px;
  219. }
  220. span.disclose {
  221. margin-right: -10px; /* total width */
  222. margin-left: 14px;
  223. width: 0;
  224. height: 0;
  225. position: relative;
  226. left: 3px;
  227. top: 3px;
  228. cursor: pointer;
  229. border-left: 8px solid transparent;
  230. border-right: 8px solid transparent;
  231. border-top: 10px solid #000;
  232. }
  233. span.disclose.closed {
  234. margin-right: -8px; /* total width */
  235. margin-left: 10px;
  236. left: 0;
  237. top: 0;
  238. border-top: 8px solid transparent;
  239. border-bottom: 8px solid transparent;
  240. border-right: 10px solid #000;
  241. }
  242. span.disclose.almost {
  243. -ms-transform: rotate(45deg); /* IE 9 */
  244. -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  245. transform: rotate(45deg);
  246. }
  247. span.disclose.closed.almost {
  248. left: 1px;
  249. top: 3px;
  250. -ms-transform: rotate(315deg); /* IE 9 */
  251. -webkit-transform: rotate(315deg); /* Chrome, Safari, Opera */
  252. transform: rotate(315deg);
  253. }
  254. /* Download Button */
  255. a.download, a.download-all {
  256. visibility: hidden;
  257. padding: 2px;
  258. border: 1px solid #494;
  259. border-radius: 4px;
  260. margin: 12px 0 0;
  261. background: #FFF;
  262. color: #494;
  263. font-family: sans-serif;
  264. font-size: small;
  265. font-weight: bold;
  266. text-decoration: none;
  267. }
  268. a.download-all { margin: 9px 2em 0; color: #449; border-color: #449; }
  269. @media all and (min-width: 1140px) {
  270. #main { max-width: 10000px; }
  271. fieldset { float: left; width: 50%; height: auto; }
  272. #config_text, #config_adv_text { float: right; clear: right; width: 45%; }
  273. pre.config { height: 20em; }
  274. .disclose { display: none; }
  275. }
  276. /*.blocked { display: none; }*/