dat.gui/elements/gui-row/gui-row.styl
George Michael Brower a6854f4e69 start of comments
2014-08-18 17:56:05 -04:00

89 lines
1.1 KiB
Stylus

@import '../shared';
:host {
user-select: none;
background: #1a1a1a;
height: 100%;
width: 100%;
display: block;
font();
}
#row {
}
#comment {
line-height: 16px;
user-select: text;
background: #E0CF99;
color: #333;
// box-shadow: inset 0 2px 0 dark;
box-sizing: border-box;
overflow: hidden;
transition: height 0.15s ease;
position: absolute;
z-index: 999;
pointer-events: none;
opacity: 0;
transform: translate3d( 10px, 20px, 0 );
transition: all 0.2s ease;
}
#comment.open-true {
opacity: 1;
transform: translate3d( 10px, 0, 0 );
}
#commentInner {
padding: padding;
}
#name {
text-overflow: ellipsis;
word-wrap: break-word;
overflow: hidden;
padding: 0 padding;
box-sizing: border-box;
display: inline-block;
width: 40%;
height: 30px;
line-height: 30px;
cursor: default;
.comment-true & {
cursor: pointer;
}
}
.comment-true #nameInner {
display: inline-block;
border-bottom: 1px dotted light;
&:after {
content: ' ?';
color: light;
}
}