My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

configurator.css 6.2KB

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