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.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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. input[type="text"], select { margin: 0.75em 0 0; }
  86. input[type="checkbox"], input[type="radio"], input[type="file"] { margin: 1em 0 0; }
  87. input[type="checkbox"].enabler, input[type="radio"].enabler { margin-left: 1em; }
  88. input:disabled { color: #BBB; }
  89. #config_form input[type="text"].subitem { width: 4em; }
  90. #config_form input[type="text"].subitem+.subitem { margin-left: 4px; }
  91. input[type="text"].added { width: 20em; }
  92. label.added {
  93. width: 275px; /* label area */
  94. height: 1em;
  95. padding: 10px 360px 10px 1em;
  96. margin-right: -350px;
  97. text-align: right;
  98. }
  99. ul.tabs { padding: 0; list-style: none; }
  100. ul.tabs li { display: inline; }
  101. ul.tabs li a,
  102. ul.tabs li a.active:hover,
  103. ul.tabs li a.active:active {
  104. display: block;
  105. float: left;
  106. background: #1E4059;
  107. color: #CCC;
  108. font-size: 110%;
  109. border-radius: 0.25em 0.25em 0 0;
  110. margin: 0 4px 0 0;
  111. padding: 2px 8px;
  112. text-decoration: none;
  113. font-family: georgia,"times new roman",times;
  114. }
  115. ul.tabs li a.active:link,
  116. ul.tabs li a.active:visited {
  117. background: #DDD;
  118. color: #06F;
  119. cursor: default;
  120. margin-top: -4px;
  121. padding-bottom: 4px;
  122. padding-top: 4px;
  123. }
  124. ul.tabs li a:hover,
  125. ul.tabs li a:active {
  126. background: #000;
  127. color: #FFF;
  128. }
  129. fieldset { display: none; border: 1px solid #AAA; border-radius: 1em; }
  130. fieldset legend { display: none; }
  131. .hilightable span {
  132. display: block;
  133. float: left;
  134. width: 100%;
  135. height: 1.3em;
  136. background: rgba(225,255,0,1);
  137. margin: 0 -100% -1em 0;
  138. }
  139. #serial_stepper { padding-top: 0.75em; display: block; float: left; }
  140. /*#SERIAL_PORT { display: none; }*/
  141. /* Tooltips */
  142. #tooltip {
  143. display: none;
  144. max-width: 30em;
  145. padding: 8px;
  146. border: 2px solid #73d699;
  147. border-radius: 1em;
  148. position: absolute;
  149. z-index: 999;
  150. font-family: sans-serif;
  151. font-size: 85%;
  152. color: #000;
  153. line-height: 1.1;
  154. background: #e2ff99; /* Old browsers */
  155. background: -moz-linear-gradient(top, #e2ff99 0%, #73d699 100%); /* FF3.6+ */
  156. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2ff99), color-stop(100%,#73d699)); /* Chrome,Safari4+ */
  157. background: -webkit-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Chrome10+,Safari5.1+ */
  158. background: -o-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Opera 11.10+ */
  159. background: -ms-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* IE10+ */
  160. background: linear-gradient(to bottom, #e2ff99 0%,#73d699 100%); /* W3C */
  161. filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2ff99', endColorstr='#73d699',GradientType=0 ); /* IE6-9 */
  162. -webkit-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  163. -moz-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  164. box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
  165. }
  166. #tooltip>span {
  167. position: absolute;
  168. content: "";
  169. width: 0;
  170. height: 0;
  171. border-left: 8px solid transparent;
  172. border-right: 8px solid transparent;
  173. border-top: 8px solid #73d699;
  174. z-index: 999;
  175. bottom: -10px;
  176. left: 20px;
  177. }
  178. #tooltip>strong { color: #00B; }
  179. /* Tooltips Checkbox */
  180. #tipson {
  181. width: auto;
  182. height: auto;
  183. padding: 0;
  184. margin-right: 0;
  185. float: right;
  186. font-weight: bold;
  187. font-size: 100%;
  188. font-family: helvetica;
  189. text-align: left;
  190. cursor: pointer;
  191. }
  192. #tipson input { float: none; display: inline; cursor: pointer; }
  193. /* Config Text */
  194. pre.config {
  195. height: 25em;
  196. padding: 10px;
  197. border: 2px solid #888;
  198. border-radius: 5px;
  199. overflow: auto;
  200. clear: both;
  201. background-color: #FFF;
  202. color: #000;
  203. font-family: "Fira Mono", monospace;
  204. font-size: small;
  205. }
  206. /* Pre Headers */
  207. h2 {
  208. width: 100%;
  209. margin: 12px -300px 4px 0;
  210. padding: 0;
  211. float: left;
  212. }
  213. /* Disclosure Widget */
  214. span.disclose, a.download, a.download-all {︎
  215. display: block;
  216. float: right;
  217. margin-top: 12px;
  218. }
  219. span.disclose {
  220. margin-right: -10px; /* total width */
  221. margin-left: 14px;
  222. width: 0;
  223. height: 0;
  224. position: relative;
  225. left: 3px;
  226. top: 3px;
  227. cursor: pointer;
  228. border-left: 8px solid transparent;
  229. border-right: 8px solid transparent;
  230. border-top: 10px solid #000;
  231. }
  232. span.disclose.closed {
  233. margin-right: -8px; /* total width */
  234. margin-left: 10px;
  235. left: 0;
  236. top: 0;
  237. border-top: 8px solid transparent;
  238. border-bottom: 8px solid transparent;
  239. border-right: 10px solid #000;
  240. }
  241. span.disclose.almost {
  242. -ms-transform: rotate(45deg); /* IE 9 */
  243. -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  244. transform: rotate(45deg);
  245. }
  246. span.disclose.closed.almost {
  247. left: 1px;
  248. top: 3px;
  249. -ms-transform: rotate(315deg); /* IE 9 */
  250. -webkit-transform: rotate(315deg); /* Chrome, Safari, Opera */
  251. transform: rotate(315deg);
  252. }
  253. /* Download Button */
  254. a.download, a.download-all {
  255. visibility: hidden;
  256. padding: 2px;
  257. border: 1px solid #494;
  258. border-radius: 4px;
  259. margin: 12px 0 0;
  260. background: #FFF;
  261. color: #494;
  262. font-family: sans-serif;
  263. font-size: small;
  264. font-weight: bold;
  265. text-decoration: none;
  266. }
  267. a.download-all { margin: 9px 2em 0; color: #449; border-color: #449; }
  268. @media all and (min-width: 1140px) {
  269. #main { max-width: 10000px; }
  270. fieldset { float: left; width: 50%; height: auto; }
  271. #config_text, #config_adv_text { float: right; clear: right; width: 45%; }
  272. pre.config { height: 20em; }
  273. .disclose { display: none; }
  274. }