124 lines
3.9 KiB
CSS
124 lines
3.9 KiB
CSS
/* configurator.css */
|
|
/* Styles for Marlin Configurator */
|
|
|
|
body { margin: 0; padding: 0; background: #56A; color: #FFC; font-family: sans-serif; }
|
|
|
|
#main { max-width: 1000px; margin: 0 auto; }
|
|
#main { padding: 0 4%; width: 92%; }
|
|
#main { font-family: monospace; }
|
|
h1, #message { text-align: center; }
|
|
#message { width: 80%; margin: 0 auto 0.25em; color: #FF0; }
|
|
#message p { padding: 2px 0; }
|
|
#message p.error, #message p.message { color: #F00; background: #FF4; font-weight: bold; border-radius: 0.8em; }
|
|
#message p.message { color: #080; background: #CFC; }
|
|
|
|
.info { color: #AAF; }
|
|
.info span { color: #FFF; }
|
|
.info span span { color: #000; font-weight: bold; }
|
|
#help strong { color: #0DD; }
|
|
img { display: none; }
|
|
label, input, select, textarea { display: block; float: left; margin: 1px 0; }
|
|
label.newline, textarea, fieldset { clear: both; }
|
|
label { width: 130px; height: 1em; padding: 10px 480px 10px 1em; margin-right: -470px; text-align: right; }
|
|
input[type="text"], select { margin: 0.75em 0 0; }
|
|
input[type="checkbox"], input[type="radio"], input[type="file"] { margin: 1em 0 0; }
|
|
#config_form { display: block; background: #DDD; padding: 20px; color: #000; }
|
|
/*#config_text, #config_adv_text { font-family: "Andale mono", monospace; clear: both; }*/
|
|
#config_text, #config_adv_text { height: 25em; overflow: auto; background-color: #FFF; color: #888; padding: 10px; }
|
|
input[type="checkbox"], input[type="radio"].enabler { margin-left: 1em; }
|
|
input:disabled { color: #BBB; }
|
|
.clear { clear: both; }
|
|
h1, h2, h3, h4, h5, h6 { clear: both; }
|
|
h2 { margin: 0; padding: 1em 0 0; }
|
|
|
|
ul.tabs { display: inline; list-style: none; }
|
|
ul.tabs li { display: inline; }
|
|
ul.tabs li a,
|
|
ul.tabs li a.active:hover,
|
|
ul.tabs li a.active:active {
|
|
display: block;
|
|
float: left;
|
|
background: #666;
|
|
color: #CCC;
|
|
font-size: 150%;
|
|
border-radius: 0.25em 0.25em 0 0;
|
|
margin: 0 4px 0 0;
|
|
padding: 2px 4px;
|
|
text-decoration: none;
|
|
}
|
|
ul.tabs li a.active:link,
|
|
ul.tabs li a.active:visited {
|
|
background: #DDD;
|
|
color: #900;
|
|
cursor: default;
|
|
}
|
|
ul.tabs li a:hover,
|
|
ul.tabs li a:active {
|
|
background: #777;
|
|
color: #DDD;
|
|
}
|
|
|
|
fieldset { display: none; border: 1px solid #AAA; border-radius: 1em; }
|
|
fieldset legend { display: none; }
|
|
|
|
.hilightable span {
|
|
display: block;
|
|
float: left;
|
|
width: 100%;
|
|
height: 1.3em;
|
|
background: rgba(225,255,0,1);
|
|
margin: 0 -100% -1em 0;
|
|
}
|
|
|
|
#serial_stepper { padding-top: 0.75em; display: block; float: left; }
|
|
#SERIAL_PORT { display: none; }
|
|
|
|
.tooltip { position: relative; }
|
|
.tooltip::before {
|
|
content: attr(data-tooltip);
|
|
font-family: sans-serif;
|
|
font-size: 85%;
|
|
text-align: left;
|
|
position: absolute;
|
|
z-index: 999;
|
|
/*white-space:pre-wrap;*/
|
|
bottom: 9999px;
|
|
left: 110px;
|
|
color: #000;
|
|
padding: 8px;
|
|
line-height: 1.1;
|
|
max-width: 30em;
|
|
opacity: 0;
|
|
border-radius: 1em;
|
|
border: 2px solid #73d699;
|
|
background: #e2ff99; /* Old browsers */
|
|
background: -moz-linear-gradient(top, #e2ff99 0%, #73d699 100%); /* FF3.6+ */
|
|
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e2ff99), color-stop(100%,#73d699)); /* Chrome,Safari4+ */
|
|
background: -webkit-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Chrome10+,Safari5.1+ */
|
|
background: -o-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* Opera 11.10+ */
|
|
background: -ms-linear-gradient(top, #e2ff99 0%,#73d699 100%); /* IE10+ */
|
|
background: linear-gradient(to bottom, #e2ff99 0%,#73d699 100%); /* W3C */
|
|
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2ff99', endColorstr='#73d699',GradientType=0 ); /* IE6-9 */
|
|
-webkit-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
|
|
-moz-box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
|
|
box-shadow: 0px 6px 25px -4px rgba(0,0,0,0.75);
|
|
}
|
|
.tooltip:hover::before {
|
|
opacity: 1;
|
|
bottom: 30px;
|
|
}
|
|
.tooltip:hover::after {
|
|
content: "";
|
|
opacity: 1;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
border-top: 8px solid #73d699;
|
|
z-index: 999;
|
|
position: absolute;
|
|
/*white-space: nowrap;*/
|
|
top: 2px;
|
|
left: 130px;
|
|
}
|