From f372f2a7ad1cf8d0c9320559d406a1df4ea53a12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Thu, 6 Jun 2013 14:28:52 +0200 Subject: [PATCH] Missing styling in nodeFamilyTree module - table, scrollbar --- modules/nodeFamilyTree/nodeFamilyTree.less | 38 ++++++++++++++++++++++ modules/nodeFamilyTree/template.html | 2 +- styles/main.less | 1 + 3 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 modules/nodeFamilyTree/nodeFamilyTree.less diff --git a/modules/nodeFamilyTree/nodeFamilyTree.less b/modules/nodeFamilyTree/nodeFamilyTree.less new file mode 100644 index 0000000..b2a734f --- /dev/null +++ b/modules/nodeFamilyTree/nodeFamilyTree.less @@ -0,0 +1,38 @@ +.rng-module-nodeFamilyTree { + overflow-y: scroll; + max-height: 150px; + width:100%; + margin-top:10px; + + table { + width: 90%; + margin: 0; + + tr { + td:nth-child(1) { + width: 30%; + } + td:nth-child(2) { + width: 70%; + } + td ul { + list-style-type: none; + margin: 0; + } + + } + } + + &::-webkit-scrollbar { + .rng-mixin-scrollbar; + } + &::-webkit-scrollbar-track { + .rng-mixin-scrollbar-track; + } + &::-webkit-scrollbar-thumb { + .rng-mixin-scrollbar-thumb; + } + &::-webkit-scrollbar-thumb:window-inactive { + .rng-mixin-scrollbar-thumb-window-inactive; + } +} \ No newline at end of file diff --git a/modules/nodeFamilyTree/template.html b/modules/nodeFamilyTree/template.html index 252d234..021709a 100644 --- a/modules/nodeFamilyTree/template.html +++ b/modules/nodeFamilyTree/template.html @@ -1,4 +1,4 @@ -
+
diff --git a/styles/main.less b/styles/main.less index aee5868..1c13f7a 100644 --- a/styles/main.less +++ b/styles/main.less @@ -6,4 +6,5 @@ @import '../modules/documentToolbar/documentToolbar.less'; @import '../modules/indicator/indicator.less'; @import '../modules/nodePane/nodePane.less'; +@import '../modules/nodeFamilyTree/nodeFamilyTree.less'; @import '../modules/metadataEditor/metadataEditor.less'; \ No newline at end of file -- 2.20.1
powyżej