about summary refs log tree commit diff stats
path: root/wiki/lib/tpl/dokuwiki/css/usertools.less
diff options
context:
space:
mode:
authorahriman <ahriman@falte.red>2018-12-03 19:22:25 -0500
committerahriman <ahriman@falte.red>2018-12-03 19:22:25 -0500
commit0ae8cbf5c0b1a198b963490985b7738392ebcb97 (patch)
treeb2c77ae72c6b717e2b97492065196ac5ffb2d9e2 /wiki/lib/tpl/dokuwiki/css/usertools.less
parentf57f6cc5a2d159f90168d292437dc4bd8cd7f934 (diff)
downloadsite-0ae8cbf5c0b1a198b963490985b7738392ebcb97.tar.gz
installed dokuwiki, added to navbar, updated news
Diffstat (limited to 'wiki/lib/tpl/dokuwiki/css/usertools.less')
-rw-r--r--wiki/lib/tpl/dokuwiki/css/usertools.less50
1 files changed, 50 insertions, 0 deletions
diff --git a/wiki/lib/tpl/dokuwiki/css/usertools.less b/wiki/lib/tpl/dokuwiki/css/usertools.less
new file mode 100644
index 0000000..efdf16c
--- /dev/null
+++ b/wiki/lib/tpl/dokuwiki/css/usertools.less
@@ -0,0 +1,50 @@
+#dokuwiki__usertools {
+    position: absolute;
+    top: .5em;
+    right: 40px; // pagetool width
+    text-align: right;
+    width: 100%;
+
+    ul {
+        margin: 0 auto;
+        padding: 0;
+        max-width: @ini_site_width;
+    }
+
+    li.action a {
+        display: inline-flex;
+        flex-direction: row-reverse;
+        flex-wrap: nowrap;
+
+        svg {
+            height: 1.4em;
+            width: 1.4em;
+            vertical-align: middle;
+            fill: @ini_border;
+            margin-right: 0.2em;
+        }
+    }
+
+    li.action a:hover,
+    li.action a:active {
+        svg {
+            fill: @ini_link;
+        }
+    }
+
+}
+
+[dir=rtl] #dokuwiki__usertools {
+    text-align: left;
+    left: 40px; // pagetool width
+    right: auto;
+
+
+    li.action a {
+
+        svg {
+            margin-right: 0;
+            margin-left: 0.2em;
+        }
+    }
+}