From: Aleksander Łukasz Date: Thu, 6 Jun 2013 12:28:52 +0000 (+0200) Subject: Missing styling in nodeFamilyTree module - table, scrollbar X-Git-Url: https://git.mdrn.pl/fnpeditor.git/commitdiff_plain/f372f2a7ad1cf8d0c9320559d406a1df4ea53a12?ds=sidebyside Missing styling in nodeFamilyTree module - table, scrollbar --- 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
powyżej