dat.gui/gui.css

104 lines
1.9 KiB
CSS
Raw Normal View History

2011-01-23 23:43:02 +00:00
#guidat {
2011-01-24 02:59:29 +00:00
font: 9px Monaco, monospace;
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
}
#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;
2011-01-24 00:50:14 +00:00
background-color: #eee;
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;
}
#guidat-toggle:hover {
background-color: #000;
2011-01-24 00:50:14 +00:00
}
.guidat-controller {
padding: 5px;
height: 23px;
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{
background-color: #000;
}
.guidat-controller input {
2011-01-24 21:21:21 +00:00
float: right;
outline: none;
border: 0;
padding: 2px;
2011-01-24 02:59:29 +00:00
}
2011-01-24 21:21:21 +00:00
.guidat-controller.number {
border-left: 5px solid #00aeff ;
2011-01-24 02:59:29 +00:00
}
.guidat-controller.string {
2011-01-24 21:21:21 +00:00
border-left: 5px solid #1ed36f;
}
.guidat-controller.string input {
border: 0;
text-align: right;
color: #1ed36f;
background-color: rgba(0,0,0,0);
}
.guidat-controller.boolean {
border-left: 5px solid #54396e;
}
.guidat-controller.function {
border-left: 5px solid #e61d5f;
}
.guidat-controller.number input[type=number] {
width: 45px;
2011-01-24 22:22:36 +00:00
margin-left: 10px;
}
.guidat-controller.number input[type=slider] {
width: 45px;
2011-01-24 00:50:14 +00:00
}
2011-01-24 21:21:21 +00:00
.guidat-controller.boolean input {
margin-top: 6px;
2011-01-24 00:50:14 +00:00
}
2011-01-24 21:21:21 +00:00
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-24 21:21:21 +00:00
cursor: default;
display: inline-block;
2011-01-23 23:43:02 +00:00
}