summaryrefslogtreecommitdiffstats
path: root/install/ui/less
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2015-11-12 18:17:50 +0100
committerPetr Vobornik <pvoborni@redhat.com>2015-11-27 15:50:56 +0100
commit24fead79cbe5ef168a42f08da6fd99b4ec2b1bab (patch)
treee9cf509f4d2a01a1a7d05b6af3cbf340318321ed /install/ui/less
parentce1645ceeca577d1c73ba77f3eb8cb13c2bef2a1 (diff)
downloadfreeipa-24fead79cbe5ef168a42f08da6fd99b4ec2b1bab.tar.gz
freeipa-24fead79cbe5ef168a42f08da6fd99b4ec2b1bab.tar.xz
freeipa-24fead79cbe5ef168a42f08da6fd99b4ec2b1bab.zip
webui: topology graph component
https://fedorahosted.org/freeipa/ticket/4286 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
Diffstat (limited to 'install/ui/less')
-rw-r--r--install/ui/less/widgets.less45
1 files changed, 44 insertions, 1 deletions
diff --git a/install/ui/less/widgets.less b/install/ui/less/widgets.less
index 99b22068d..0f9bc8c17 100644
--- a/install/ui/less/widgets.less
+++ b/install/ui/less/widgets.less
@@ -144,4 +144,47 @@
}
// workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=409254
-tbody:empty { display: none; } \ No newline at end of file
+tbody:empty { display: none; }
+
+// Topology Graph
+
+.topology-view {
+ svg {
+ background-color: #FFF;
+ cursor: default;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -o-user-select: none;
+ user-select: none;
+ }
+
+ path.link {
+ fill: none;
+ stroke-width: 4px;
+ cursor: pointer;
+ }
+
+ .marker {
+ stroke: rgba(0, 0, 0);
+ }
+
+ path.link.selected {
+ stroke-dasharray: 10,2;
+ }
+
+ circle.node {
+ stroke-width: 1.5px;
+ cursor: pointer;
+ }
+
+ text {
+ font: 16px sans-serif;
+ pointer-events: none;
+ }
+
+ text.id {
+ text-anchor: middle;
+ font-weight: bold;
+ }
+}