web-apps/apps/common/main/resources/less/dataview.less

76 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-03-11 00:48:53 +00:00
.dataview {
&.inner {
width: 100%;
height: 100%;
position: relative;
overflow: hidden;
.empty-text {
text-align: center;
height: 100%;
width: 100%;
color: #b2b2b2;
td {
padding: 5px;
}
2016-03-11 00:48:53 +00:00
}
}
> .item {
display: inline-block;
float: left;
margin: 4px;
cursor: pointer;
.box-shadow(0 0 0 1px @gray);
&:hover,
&.selected {
.box-shadow(0 0 0 2px @primary);
}
}
.grouped-data {
clear: left;
overflow: hidden;
&.inline {
2016-03-11 00:48:53 +00:00
display: inline-block;
&.margin .group-items-container {
margin-right: 20px;
}
2016-03-11 00:48:53 +00:00
}
.group-items-container {
overflow: hidden;
margin-bottom: 5px;
2016-03-11 00:48:53 +00:00
& > div {
display: inline-block;
float: left;
margin: 2px 4px 4px;
&:not(.disabled) {
cursor: pointer;
}
&.disabled {
opacity: 0.5;
}
2016-03-11 00:48:53 +00:00
.box-shadow(0 0 0 1px @gray);
&:hover:not(.disabled),
&.selected:not(.disabled) {
2016-03-11 00:48:53 +00:00
.box-shadow(0 0 0 2px @primary);
}
}
}
}
.header-name {
padding: 10px 2px 12px 4px;
font-weight: bold;
cursor: default;
}
2016-03-11 00:48:53 +00:00
}