Missing styling in nodeFamilyTree module - table, scrollbar
authorAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 6 Jun 2013 12:28:52 +0000 (14:28 +0200)
committerAleksander Łukasz <aleksander.lukasz@nowoczesnapolska.org.pl>
Thu, 6 Jun 2013 12:28:52 +0000 (14:28 +0200)
modules/nodeFamilyTree/nodeFamilyTree.less [new file with mode: 0644]
modules/nodeFamilyTree/template.html
styles/main.less

diff --git a/modules/nodeFamilyTree/nodeFamilyTree.less b/modules/nodeFamilyTree/nodeFamilyTree.less
new file mode 100644 (file)
index 0000000..b2a734f
--- /dev/null
@@ -0,0 +1,38 @@
+.rng-module-nodeFamilyTree {\r
+    overflow-y: scroll;\r
+    max-height: 150px;\r
+    width:100%;\r
+    margin-top:10px;\r
+\r
+    table {\r
+        width: 90%;\r
+        margin: 0;\r
+    \r
+        tr {\r
+            td:nth-child(1) {\r
+                width: 30%;\r
+            }\r
+            td:nth-child(2) {\r
+                width: 70%;\r
+            }\r
+            td ul {\r
+                list-style-type: none;\r
+                margin: 0;\r
+            }\r
+            \r
+        }\r
+    }\r
+    \r
+    &::-webkit-scrollbar {\r
+        .rng-mixin-scrollbar;\r
+    }\r
+    &::-webkit-scrollbar-track {\r
+        .rng-mixin-scrollbar-track;\r
+    }\r
+    &::-webkit-scrollbar-thumb {\r
+        .rng-mixin-scrollbar-thumb;\r
+    }\r
+    &::-webkit-scrollbar-thumb:window-inactive {\r
+        .rng-mixin-scrollbar-thumb-window-inactive;\r
+    }\r
+}
\ No newline at end of file
index 252d234..021709a 100644 (file)
@@ -1,4 +1,4 @@
-<div id="rng-module-nodeFamilyTree">\r
+<div class="rng-module-nodeFamilyTree">\r
     <table class="table table-bordered">\r
         <tr>\r
             <td>powyżej</td>\r
index aee5868..1c13f7a 100644 (file)
@@ -6,4 +6,5 @@
 @import '../modules/documentToolbar/documentToolbar.less';\r
 @import '../modules/indicator/indicator.less';\r
 @import '../modules/nodePane/nodePane.less';\r
+@import '../modules/nodeFamilyTree/nodeFamilyTree.less';\r
 @import '../modules/metadataEditor/metadataEditor.less';
\ No newline at end of file