dat.gui/gui.css

129 lines
2.2 KiB
CSS
Raw Normal View History

2011-01-23 23:43:02 +00:00
#guidat {
2011-01-24 02:59:29 +00:00
color: #fff;
2011-01-24 00:21:36 +00:00
position: fixed;
2011-01-24 22:22:36 +00:00
width: 320px;
2011-01-24 00:21:36 +00:00
z-index: 200;
opacity: 0.95;
top: 0;
left: 100%;
2011-01-24 22:22:36 +00:00
margin-left: -340px;
2011-01-24 00:50:14 +00:00
background-color: #fff;
2011-01-24 00:21:36 +00:00
-moz-transition: margin-top .2s ease-out;
-webkit-transition: margin-top .2s ease-out;
transition: margin-top .2s ease-out;
-webkit-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
2011-01-24 00:50:14 +00:00
-moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
2011-01-23 23:43:02 +00:00
}
2011-01-25 07:43:32 +00:00
#guidat,
#guidat input {
font: 9.5px Lucida Grande, sans-serif;
}
2011-01-23 23:43:02 +00:00
#guidat-controllers {
2011-01-24 00:21:36 +00:00
height: 300px;
2011-01-24 00:50:14 +00:00
overflow-y: auto;
2011-01-24 21:21:21 +00:00
overflow-x: hidden;
background-color: rgba(0,0,0,0.1);
2011-01-23 23:43:02 +00:00
}
#guidat-toggle {
2011-01-24 00:21:36 +00:00
text-decoration: none;
cursor: pointer;
color: #fff;
background-color: #222;
text-align: center;
display: block;
padding: 5px;
2011-01-25 07:43:32 +00:00
2011-01-24 00:21:36 +00:00
}
#guidat-toggle:hover {
background-color: #000;
2011-01-24 00:50:14 +00:00
}
.guidat-controller {
2011-01-25 07:21:13 +00:00
padding: 3px;
height: 25px;
clear: left;
2011-01-24 21:21:21 +00:00
border-bottom: 1px solid #222;
2011-01-24 02:59:29 +00:00
background-color: #111;
}
2011-01-24 21:21:21 +00:00
.guidat-controller.boolean:hover,
.guidat-controller.function:hover {
2011-01-24 21:21:21 +00:00
background-color: #000;
}
.guidat-controller input {
2011-01-24 21:21:21 +00:00
float: right;
outline: none;
border: 0;
2011-01-25 07:21:13 +00:00
padding: 4px;
2011-01-25 07:43:32 +00:00
margin-top: 2px;
2011-01-25 07:21:13 +00:00
background-color: #222;
2011-01-24 02:59:29 +00:00
}
.guidat-controller input::selection {
background-color: #000;
}
.guidat-controller input:hover {
background-color: #444;
}
.guidat-controller input:focus {
background-color: #555;
}
2011-01-24 21:21:21 +00:00
.guidat-controller.number {
border-left: 5px solid #00aeff ;
2011-01-24 02:59:29 +00:00
}
2011-01-24 02:59:29 +00:00
.guidat-controller.string {
2011-01-24 21:21:21 +00:00
border-left: 5px solid #1ed36f;
}
2011-01-24 21:21:21 +00:00
.guidat-controller.string input {
border: 0;
color: #1ed36f;
2011-01-25 07:43:32 +00:00
margin-right: 1px;
2011-01-24 21:21:21 +00:00
}
2011-01-24 21:21:21 +00:00
.guidat-controller.boolean {
border-left: 5px solid #54396e;
}
2011-01-24 21:21:21 +00:00
.guidat-controller.function {
border-left: 5px solid #e61d5f;
}
.guidat-controller.number input[type=text] {
2011-01-25 07:21:13 +00:00
width: 35px;
2011-01-24 22:22:36 +00:00
margin-left: 10px;
2011-01-25 07:21:13 +00:00
margin-right: 2px;
color: #00aeff;
2011-01-24 22:22:36 +00:00
}
2011-01-24 22:22:36 +00:00
.guidat-controller.number input[type=slider] {
width: 50%;
2011-01-24 00:50:14 +00:00
}
2011-01-25 07:43:32 +00:00
#guidat .guidat-controller.boolean input {
2011-01-25 07:21:13 +00:00
margin-top: 6px;
2011-01-25 07:43:32 +00:00
font-size: 20px;
2011-01-24 00:50:14 +00:00
}
.guidat-controller:last-child {
border-bottom: none;
2011-01-24 00:50:14 +00:00
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}
.guidat-propertyname {
padding: 5px;
2011-01-25 07:21:13 +00:00
padding-top: 7px;
2011-01-24 21:21:21 +00:00
cursor: default;
display: inline-block;
2011-01-23 23:43:02 +00:00
}