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 6.9KB

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