@argdown/map-views
Version:
Browser-based map views for Argdown data using dagre-d3 and viz.js
152 lines (150 loc) • 2.58 kB
CSS
/* .dagre * {
box-sizing: border-box;
} */
.dagre .cluster rect {
fill: #ddd;
}
/* .dagre .cluster .node-label {
font-family: Arial, sans-serif;
width: auto;
} */
.dagre .cluster h3 {
margin: 0;
padding-top: 3px;
font-size: 14px;
}
.dagre .cluster.level-0 rect {
fill: #dadada;
}
.dagre .cluster.level-1 rect {
fill: #bababa;
}
.dagre .cluster.level-2 rect {
fill: #aaa;
}
.dagre text {
font-weight: 300;
font-family: Arial, sans-serf;
font-size: 14px;
color: #000;
}
.dagre g h3 {
font-family: Arial, sans-serif;
font-weight: normal;
color: #000;
}
.dagre g p {
font-family: Arial, sans-serif;
font-weight: normal;
}
.dagre .edgePath {
stroke: #333;
stroke-width: 1.5px;
}
.dagre .edgePath marker path {
stroke-width: 0;
stroke: none;
}
.dagre .edgePath.attack {
stroke: red;
}
.dagre .edgePath.attack marker {
fill: red;
stroke: none;
}
.dagre .edgePath.contrary {
stroke: red;
}
.dagre .edgePath.contrary marker {
fill: red;
stroke: none;
}
.dagre .edgePath.contradictory {
stroke: red;
}
.dagre .edgePath.contradictory marker {
fill: red;
stroke: none;
}
.dagre .edgePath.support {
stroke: green;
}
.dagre .edgePath.support marker {
fill: green;
stroke: none;
}
.dagre .edgePath.entails {
stroke: green;
}
.dagre .edgePath.entails marker {
fill: green;
stroke: none;
}
.dagre .edgePath.undercut {
stroke: purple;
}
.dagre .edgePath.undercut marker {
fill: purple;
stroke: none;
}
/* .dagre .node {
cursor: pointer;
display: block;
position: static;
margin: 0;
white-space: normal;
width: 200px;
height: auto;
text-align: center;
color: #000;
} */
.dagre .node rect {
stroke: #999;
fill: #fff;
stroke-width: 1.5px;
}
/* .dagre .node .node-label {
white-space: normal;
padding: 5px;
}
.dagre .node p {
padding: 0px;
margin: 0;
font-weight: normal;
font-size: 12px;
display: block;
}
.dagre .node h3 {
padding: 0px;
margin: 0;
font-size: 14px;
font-weight: normal;
color: #000;
display: block;
} */
.dagre .node.group-map-node rect {
stroke-width: 0px;
}
.dagre .node.argument-map-node rect {
fill: cornflowerblue;
stroke: black;
stroke-width: 2px;
}
.dagre .node.argument-map-node text {
fill: black;
}
.dagre .node.statement-map-node rect {
fill: white;
stroke: cornflowerblue;
stroke-width: 3px;
}
.dagre .node.statement-map-node text {
fill: black;
}
.dagre .node-label {
text-align: center;
width: 150px;
}
.dagre .node-label h3 {
font-weight: normal;
}