mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
fix color selector to stay in place on gui scroll
This commit is contained in:
parent
dc6b6a388a
commit
c9c310f13b
@ -103,6 +103,7 @@ $button-height: 20px;
|
|||||||
|
|
||||||
li {
|
li {
|
||||||
@include transition(height, 0.1s, ease-out);
|
@include transition(height, 0.1s, ease-out);
|
||||||
|
@include transition(overflow, 0.1s, linear);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Line items that don't contain folders. */
|
/* Line items that don't contain folders. */
|
||||||
@ -110,7 +111,7 @@ $button-height: 20px;
|
|||||||
cursor: auto;
|
cursor: auto;
|
||||||
height: $row-height;
|
height: $row-height;
|
||||||
line-height: $row-height;
|
line-height: $row-height;
|
||||||
overflow: hidden;
|
overflow: visible;
|
||||||
padding: 0 4px 0 5px;
|
padding: 0 4px 0 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -156,6 +157,7 @@ $button-height: 20px;
|
|||||||
.c {
|
.c {
|
||||||
float: left;
|
float: left;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Controller placement */
|
/** Controller placement */
|
||||||
@ -188,7 +190,7 @@ $button-height: 20px;
|
|||||||
}
|
}
|
||||||
|
|
||||||
.c input[type=checkbox] {
|
.c input[type=checkbox] {
|
||||||
margin-top: 9px;
|
margin-top: 7px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.c select {
|
.c select {
|
||||||
|
Loading…
Reference in New Issue
Block a user