react-vis
Version:
Data visualization library based on React and d3.
241 lines (193 loc) • 4.69 kB
CSS
.rv-treemap {
font-size: 12px;
position: relative; }
.rv-treemap__leaf {
position: absolute;
overflow: hidden; }
.rv-treemap__leaf__content {
padding: 10px;
overflow: hidden;
text-overflow: ellipsis; }
.rv-table {
overflow: hidden; }
.rv-table__header {
position: relative;
z-index: 100; }
.rv-table__header__cell {
background: #fff;
border: 1px solid #ccc;
position: absolute;
font-weight: bold;
overflow: hidden; }
.rv-table__header__cell__content {
margin: 0 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.rv-table__data {
overflow: auto; }
.rv-table__data-inner {
position: relative; }
.rv-table__data__cell {
position: absolute;
border: 1px solid #ccc;
overflow: hidden; }
.rv-table__data__cell__content {
margin: 0 4px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap; }
.rv-xy-plot {
color: #c3c3c3;
position: relative; }
.rv-xy-plot__inner {
display: block; }
.rv-xy-plot__axis__line {
stroke-width: 2px;
stroke: #e6e6e9;
fill: none; }
.rv-xy-plot__axis__tick__line {
stroke: #e6e6e9; }
.rv-xy-plot__axis__tick__text {
fill: #6B6B76;
font-size: 11px; }
.rv-xy-plot__axis__title text {
font-size: 11px;
fill: #6B6B76; }
.rv-xy-plot__grid-lines__line {
stroke: #e6e6e9; }
.rv-xy-plot__series--line {
fill: none;
stroke: #000;
stroke-width: 2px; }
.rv-crosshair {
position: absolute;
font-size: 11px;
pointer-events: none; }
.rv-crosshair__line {
background: #47d3d9;
width: 1px; }
.rv-crosshair__inner {
position: absolute;
text-align: left;
top: 0; }
.rv-crosshair__inner__content {
border-radius: 4px;
background: #3A3A48;
color: #fff;
font-size: 12px;
padding: 7px 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); }
.rv-crosshair__inner--left {
right: 4px; }
.rv-crosshair__inner--right {
left: 4px; }
.rv-crosshair__title {
font-weight: bold;
white-space: nowrap; }
.rv-crosshair__item {
white-space: nowrap; }
.rv-hint {
position: absolute;
pointer-events: none; }
.rv-hint__content {
border-radius: 4px;
padding: 7px 10px;
font-size: 12px;
background: #3A3A48;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
color: #fff;
text-align: left;
white-space: nowrap; }
.rv-discrete-color-legend {
box-sizing: border-box;
overflow-y: auto;
font-size: 12px; }
.rv-discrete-color-legend.horizontal {
white-space: nowrap; }
.rv-discrete-color-legend-item {
color: #3A3A48;
border-radius: 1px;
padding: 9px 10px; }
.rv-discrete-color-legend-item.horizontal {
display: inline-block; }
.rv-discrete-color-legend-item.horizontal .rv-discrete-color-legend-item__title {
margin-left: 0;
display: block; }
.rv-discrete-color-legend-item__color {
background: #DCDCDC;
display: inline-block;
height: 2px;
vertical-align: middle;
width: 14px; }
.rv-discrete-color-legend-item__title {
margin-left: 10px; }
.rv-discrete-color-legend-item.disabled {
color: #B8B8B8; }
.rv-discrete-color-legend-item.clickable {
cursor: pointer; }
.rv-discrete-color-legend-item.clickable:hover {
background: #f9f9f9; }
.rv-search-wrapper {
display: flex;
flex-direction: column; }
.rv-search-wrapper__form {
flex: 0; }
.rv-search-wrapper__form__input {
width: 100%;
color: #A6A6A5;
border: 1px solid #E5E5E4;
padding: 7px 10px;
font-size: 12px;
box-sizing: border-box;
border-radius: 2px;
margin: 0 0 9px;
outline: 0; }
.rv-search-wrapper__contents {
flex: 1;
overflow: auto; }
.rv-continuous-color-legend {
font-size: 12px; }
.rv-continuous-color-legend .rv-gradient {
height: 4px;
border-radius: 2px;
margin-bottom: 5px; }
.rv-continuous-size-legend {
font-size: 12px; }
.rv-continuous-size-legend .rv-bubbles {
text-align: justify;
overflow: hidden;
margin-bottom: 5px;
width: 100%; }
.rv-continuous-size-legend .rv-bubble {
background: #D8D9DC;
display: inline-block;
vertical-align: bottom; }
.rv-continuous-size-legend .rv-spacer {
display: inline-block;
font-size: 0;
line-height: 0;
width: 100%; }
.rv-legend-titles {
height: 16px;
position: relative; }
.rv-legend-titles__left,
.rv-legend-titles__right,
.rv-legend-titles__center {
position: absolute;
white-space: nowrap;
overflow: hidden; }
.rv-legend-titles__left {
position: absolute; }
.rv-legend-titles__center {
display: block;
text-align: center;
width: 100%; }
.rv-legend-titles__right {
position: absolute;
right: 0; }
.rv-radial-chart__svg {
display: block; }
.rv-radial-chart__series--pie > path {
stroke: #fff;
stroke-width: 1px; }