aboutsummaryrefslogtreecommitdiffstats
path: root/interface/css
diff options
context:
space:
mode:
Diffstat (limited to 'interface/css')
-rw-r--r--interface/css/d3pie.css41
-rw-r--r--interface/css/rspamd.css3
2 files changed, 44 insertions, 0 deletions
diff --git a/interface/css/d3pie.css b/interface/css/d3pie.css
new file mode 100644
index 000000000..71419a3d6
--- /dev/null
+++ b/interface/css/d3pie.css
@@ -0,0 +1,41 @@
+.d3pie .chart-title {
+ font-family: Arial, sans-serif;
+ font-size: 24px;
+ text-anchor: middle;
+}
+.d3pie-tooltip {
+ pointer-events: none;
+ position: absolute;
+ padding: 5px;
+ color: white;
+ background-color: rgb(0 0 0 /50%);
+ border-radius: 4px;
+ opacity: 0;
+ line-height: normal;
+}
+
+.d3pie .inner-label {
+ fill: #eeeeee;
+ pointer-events: none;
+ text-anchor: middle;
+}
+
+/* pie placeholder */
+.d3pie .slice-g:first-of-type .inner-label {
+ fill: #cccccc;
+}
+.d3pie defs radialGradient:first-of-type stop {
+ stop-opacity: 0.1;
+}
+
+/* gradient color */
+.d3pie .grad-stop-1 {
+ stop-color: black;
+}
+
+.outer-label-g {
+ opacity: 0;
+}
+.link {
+ fill: none;
+}
diff --git a/interface/css/rspamd.css b/interface/css/rspamd.css
index 3fbc31769..4c279cda7 100644
--- a/interface/css/rspamd.css
+++ b/interface/css/rspamd.css
@@ -345,6 +345,9 @@ table#symbolsTable input[type="number"] {
text-align: left;
font-size: 12px;
}
+#rrd-pie {
+ font-size: 10px;
+}
/* Throughput graph controls */
#graph_controls select {