dat.gui/gui.css

148 lines
2.5 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;
width: 280px;
2011-01-24 00:21:36 +00:00
z-index: 200;
2011-01-25 09:35:45 +00:00
opacity: 0.97;
2011-01-24 00:21:36 +00:00
top: 0;
left: 100%;
margin-left: -300px;
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:hover {
background-color: #444;
}
2011-01-25 09:35:45 +00:00
.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 09:35:45 +00:00
margin-right: 2px;
width: 53%;
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-25 09:35:45 +00:00
margin-left: 5px;
2011-01-25 07:21:13 +00:00
margin-right: 2px;
color: #00aeff;
2011-01-24 22:22:36 +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;
margin-right: 2px;
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-25 09:35:45 +00:00
-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
2011-01-24 00:50:14 +00:00
}
.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-25 09:35:45 +00:00
}
.guidat-slider-bg:hover {
background-color: #444;
}
.guidat-slider-bg:hover
.guidat-slider-fg {
background-color: #52c8ff;
}
2011-01-25 09:35:45 +00:00
.guidat-slider-bg {
background-color: #222;
cursor: ew-resize;
width: 40%;
2011-01-25 09:35:45 +00:00
margin-top: 2px;
float: right;
height: 21px;
}
.guidat-slider-fg {
background-color: #00aeff;
height: 20px;
2011-01-23 23:43:02 +00:00
}