dat.gui/gui.css

208 lines
3.2 KiB
CSS
Raw Normal View History

2011-01-23 23:43:02 +00:00
#guidat {
2011-02-01 03:06:34 +00:00
position: fixed;
2011-02-01 04:02:22 +00:00
width: 100%;
height: 100%;
2011-02-01 04:02:22 +00:00
left: 0;
top: 0;
2011-02-01 03:06:34 +00:00
z-index: 1001;
}
.guidat-tween-selector {
z-index: 1001;
position: absolute;
top: 0;
left: 0;
}
.guidat {
float: right;
2011-02-01 03:06:34 +00:00
padding: 0px;
margin: 0px 20px 0px 0px;
2011-01-30 23:03:09 +00:00
}
.guidat-scrubber {
2011-02-02 18:12:55 +00:00
width: 75%;
float: right;
margin-top: -3px;
margin-right: -2px;
margin-left: 3px;
background-color: #333;
border-bottom: 1px solid #444;
height: 31px;
2011-02-01 04:02:22 +00:00
}
2011-01-30 23:03:09 +00:00
.guidat {
2011-01-24 02:59:29 +00:00
color: #fff;
2011-01-25 09:35:45 +00:00
opacity: 0.97;
2011-01-30 23:03:09 +00:00
text-align: left;
2011-01-24 00:50:14 +00:00
background-color: #fff;
2011-01-23 23:43:02 +00:00
}
2011-01-30 23:03:09 +00:00
.guidat,
.guidat input {
2011-01-25 07:43:32 +00:00
font: 9.5px Lucida Grande, sans-serif;
}
2011-01-30 23:03:09 +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
}
2011-02-02 18:12:55 +00:00
.guidat-controllers hr {
height: 0;
border-top: 1px solid #000;
2011-02-02 18:12:55 +00:00
}
2011-01-30 23:03:09 +00:00
a.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
}
2011-01-30 23:03:09 +00:00
a.guidat-toggle:hover {
2011-01-24 00:21:36 +00:00
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
2011-01-25 22:24:35 +00:00
.guidat-controller,
.guidat-controller input,
.guidat-slider-bg,
.guidat-slider-fg {
-moz-transition: background-color 0.15s linear;
-webkit-transition: background-color 0.15s linear;
transition: background-color 0.15s linear;
}
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;
width: 125px;
2011-01-24 21:21:21 +00:00
color: #1ed36f;
2011-01-25 09:35:45 +00:00
margin-right: 2px;
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 09:35:45 +00:00
margin-left: 5px;
2011-01-25 07:21:13 +00:00
margin-right: 2px;
color: #00aeff;
width: 35px;
2011-01-24 22:22:36 +00:00
}
2011-01-30 23:03:09 +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
}
2011-01-25 22:24:35 +00:00
.guidat-slider-bg:hover,
.guidat-slider-bg.active {
2011-01-27 21:24:25 +00:00
background-color: #444;
}
2011-01-25 22:24:35 +00:00
.guidat-slider-bg:hover .guidat-slider-fg,
.guidat-slider-bg.active .guidat-slider-fg {
2011-01-27 21:24:25 +00:00
background-color: #52c8ff;
}
2011-01-25 09:35:45 +00:00
.guidat-slider-bg {
background-color: #222;
cursor: ew-resize;
width: 85px;
2011-01-25 09:35:45 +00:00
margin-top: 2px;
float: right;
height: 21px;
}
.guidat-slider-fg {
background-color: #00aeff;
height: 20px;
}
/* Styles for timed GUI */
.guidat.time {
position: absolute;
width: 100%;
bottom: 0;
left: 0;
}
.time .guidat-slider-bg {
width: 7%;
}
.time .guidat-controller.string input {
width: 10.6%;
}
.time .guidat-controller.number input[type=text] {
width: 3%;
}