mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
109 lines
3.0 KiB
CSS
109 lines
3.0 KiB
CSS
#container.disabled-true {
|
|
opacity: 0.4;
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40)";
|
|
filter: alpha(opacity=40);
|
|
pointer-events: none;
|
|
}
|
|
#row {
|
|
font: 10px 'Lucida Grande', sans-serif;
|
|
color: #ecebe0;
|
|
height: 3em;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
-webkit-transition: background-color 0.2s linear;
|
|
-moz-transition: background-color 0.2s linear;
|
|
-o-transition: background-color 0.2s linear;
|
|
-ms-transition: background-color 0.2s linear;
|
|
transition: background-color 0.2s linear;
|
|
border-bottom: 1px solid rgba(255,255,255,0.05);
|
|
padding: 0 9px;
|
|
}
|
|
:host-context(.touch-true) #row {
|
|
font-size: 13.5px;
|
|
}
|
|
#controller {
|
|
height: 100%;
|
|
}
|
|
#name {
|
|
padding-right: 9px;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
width: 38%;
|
|
cursor: default;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
.comment-true #name {
|
|
cursor: pointer;
|
|
}
|
|
:host-context(.touch-true) #name {
|
|
font-size: 11px;
|
|
width: 30%;
|
|
}
|
|
#nameInner {
|
|
overflow: hidden;
|
|
-o-text-overflow: ellipsis;
|
|
text-overflow: ellipsis;
|
|
}
|
|
#comment {
|
|
font: 10px 'Lucida Grande', sans-serif;
|
|
color: #ecebe0;
|
|
line-height: 1.6em;
|
|
background: #e0cf99;
|
|
color: #333;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
-webkit-transition: height 0.15s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-moz-transition: height 0.15s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-o-transition: height 0.15s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-ms-transition: height 0.15s cubic-bezier(0.25, 0.25, 0, 1);
|
|
transition: height 0.15s cubic-bezier(0.25, 0.25, 0, 1);
|
|
position: absolute;
|
|
z-index: 999;
|
|
pointer-events: none;
|
|
-webkit-transform: translate3d(0, 20px, 0);
|
|
-moz-transform: translate3d(0, 20px, 0);
|
|
-o-transform: translate3d(0, 20px, 0);
|
|
-ms-transform: translate3d(0, 20px, 0);
|
|
transform: translate3d(0, 20px, 0);
|
|
opacity: 0;
|
|
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
|
|
filter: alpha(opacity=0);
|
|
-webkit-transition: all 0.2s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-moz-transition: all 0.2s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-o-transition: all 0.2s cubic-bezier(0.25, 0.25, 0, 1);
|
|
-ms-transition: all 0.2s cubic-bezier(0.25, 0.25, 0, 1);
|
|
transition: all 0.2s cubic-bezier(0.25, 0.25, 0, 1);
|
|
}
|
|
:host-context(.touch-true) #comment {
|
|
font-size: 13.5px;
|
|
}
|
|
#comment.open-true {
|
|
opacity: 1;
|
|
-ms-filter: none;
|
|
filter: none;
|
|
-webkit-transform: translate3d(0, 0, 0);
|
|
-moz-transform: translate3d(0, 0, 0);
|
|
-o-transform: translate3d(0, 0, 0);
|
|
-ms-transform: translate3d(0, 0, 0);
|
|
transform: translate3d(0, 0, 0);
|
|
}
|
|
:host-context(.touch-false) #comment.open-true {
|
|
-webkit-transition-delay: 200ms;
|
|
-moz-transition-delay: 200ms;
|
|
-o-transition-delay: 200ms;
|
|
-ms-transition-delay: 200ms;
|
|
transition-delay: 200ms;
|
|
}
|
|
#commentInner {
|
|
padding: 9px;
|
|
}
|
|
.comment-true #nameInner {
|
|
display: inline-block;
|
|
border-bottom: 1px dotted rgba(255,255,255,0.25);
|
|
}
|