2015-03-10 09:25:53 +08:00
|
|
|
@import "ui-variables";
|
|
|
|
|
|
|
|
.list-container {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.list-item {
|
|
|
|
font-size: @font-size-base;
|
2015-03-26 09:22:52 +08:00
|
|
|
line-height: @line-height-computed * 1.15;
|
2015-03-10 09:25:53 +08:00
|
|
|
color: @text-color;
|
|
|
|
background: @list-bg;
|
|
|
|
|
|
|
|
&:hover {
|
2015-03-26 09:22:52 +08:00
|
|
|
background: darken(@list-bg, 5%);
|
2015-03-10 09:25:53 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
background: @list-active-bg;
|
|
|
|
color: @list-active-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-tabular {
|
|
|
|
flex: 1;
|
|
|
|
width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
.list-tabular-item {
|
|
|
|
position: relative;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
&:hover {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-rows {
|
|
|
|
overflow: auto;
|
|
|
|
// Add back when when we re-implement list-headers
|
|
|
|
// padding-top: @font-size-base * 2; /* height of list-headers*/
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-column {
|
|
|
|
// The width is set by React.
|
|
|
|
display: inline-block;
|
|
|
|
padding: @padding-base-vertical @padding-base-horizontal @padding-base-vertical @padding-base-horizontal;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
border-bottom: 1px solid @list-border;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-headers {
|
|
|
|
display: flex;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
top: 0;
|
|
|
|
position: absolute;
|
|
|
|
background: fade(@list-bg,90%);
|
|
|
|
font-size: @font-size-base;
|
|
|
|
line-height: @font-size-base * 1.6;
|
|
|
|
height:@font-size-base * 2;
|
|
|
|
z-index: 3;
|
|
|
|
}
|
|
|
|
|
|
|
|
.list-header {
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|