gitlab-org--gitlab-foss/app/assets/stylesheets/pages/graph.scss

75 lines
1.1 KiB
SCSS
Raw Normal View History

.project-network {
border: 1px solid $border-color;
2012-06-13 13:02:30 -04:00
.controls {
2016-11-30 08:25:25 -05:00
color: $project-network-controls-color;
font-size: 14px;
padding: 5px;
border-bottom: 1px solid $border-color;
2016-11-30 08:25:25 -05:00
background: $gray-darker;
2012-06-13 13:02:30 -04:00
}
.network-graph {
2016-11-30 08:25:25 -05:00
background: $white-light;
2013-03-19 06:27:15 -04:00
height: 500px;
overflow-y: scroll;
overflow-x: hidden;
2012-06-13 13:02:30 -04:00
}
}
2018-06-21 16:41:20 -04:00
.svg-graph-container {
width: 100%;
.axis-tick {
opacity: 0.4;
}
.tick-text {
fill: $gl-text-color-secondary;
}
.x-axis-text {
fill: $gray-900;
2018-06-21 16:41:20 -04:00
}
.bar-rect {
fill: rgba($blue-500, 0.1);
stroke: $blue-500;
}
.bar-rect:hover {
fill: rgba($blue-700, 0.3);
}
.y-axis-label {
line {
stroke: $gl-gray-350;
2018-06-21 16:41:20 -04:00
}
text {
font-weight: bold;
font-size: 12px;
fill: $gray-800;
2018-06-21 16:41:20 -04:00
}
}
}
.svg-graph-container-with-grab {
cursor: grab;
}
.svg-graph-container-grabbed {
cursor: grabbing;
}
@keyframes flickerAnimation {
0% { opacity: 1; }
50% { opacity: 0; }
100% { opacity: 1; }
}
.animate-flicker {
animation: flickerAnimation 1.5s infinite;
fill: $gray-500;
2018-06-21 16:41:20 -04:00
}