Skip to content

Commit

Permalink
Initial Checkin
Browse files Browse the repository at this point in the history
  • Loading branch information
nikgavalas committed Dec 10, 2014
0 parents commit 3d11dab
Show file tree
Hide file tree
Showing 4 changed files with 656 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "angular-bootstrap-nav-tree-js",
"description": "An Tree Control for AngularJS, using CSS animation and Bootstrap style",
"main": [
"dist/abn_tree_directive.js",
"dist/abn_tree.css"
],
"licence": "MIT",
"keywords": [
"angularjs",
"bootstrap",
"tree",
"widget"
],
"authors": [
"Nick Perkins",
"Nikolas Gavalas"
],
"homepage": "https://github.com/nikgavalas/angular-bootstrap-nav-tree-js",
"repository": {
"type": "git",
"url": "git://github.com/nikgavalas/angular-bootstrap-nav-tree-js"
},
"ignore": [
],
"dependencies": {
"angular": ">=1.0",
"bootstrap-sass-official": ">=3.0"
}
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2014 Nikolas Gavalas

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
121 changes: 121 additions & 0 deletions dist/abn_tree.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/*
abn-tree.css
style for the angular-bootstrap-nav-tree
for both Bootstrap 2 and Bootstrap 3
*/



/* ------------------------------------------
AngularJS Animations...
The first selector is for Angular 1.1.5
The second selector is for Angular 1.2.0
*/
.abn-tree-animate-enter,
li.abn-tree-row.ng-enter {
transition: 200ms linear all;
position: relative;
display: block;
opacity: 0;
max-height:0px;
}
.abn-tree-animate-enter.abn-tree-animate-enter-active,
li.abn-tree-row.ng-enter-active{
opacity: 1;
max-height:30px;
}

.abn-tree-animate-leave,
li.abn-tree-row.ng-leave {
transition: 200ms linear all;
position: relative;
display: block;
height:30px;
max-height: 30px;
opacity: 1;
}
.abn-tree-animate-leave.abn-tree-animate-leave-active,
li.abn-tree-row.ng-leave-active {
height: 0px;
max-height:0px;
opacity: 0;
}


/*
------------------------------------------
Angular 1.2.0 Animation
*/


.abn-tree-animate.ng-enter{

}
.abn-tree-animate.ng-enter{

}




/*
end animation stuff
-----------------------------------------
begin normal css stuff
*/
ul.abn-tree li.abn-tree-row {
padding: 0px;
margin:0px;
}

ul.abn-tree li.abn-tree-row a {
padding: 3px 10px;
}

ul.abn-tree i.indented {
padding: 2px;
}

.abn-tree {
cursor: pointer;
}
ul.nav.abn-tree .level-1 .indented {
position: relative;
left: 0px;
}
ul.nav.abn-tree .level-2 .indented {
position: relative;
left: 20px;
}
ul.nav.abn-tree .level-3 .indented {
position: relative;
left: 40px;
}
ul.nav.abn-tree .level-4 .indented {
position: relative;
left: 60px;
}
ul.nav.abn-tree .level-5 .indented {
position: relative;
left: 80px;
}
ul.nav.abn-tree .level-6 .indented {
position: relative;
left: 100px;
}
ul.nav.nav-list.abn-tree .level-7 .indented {
position: relative;
left: 120px;
}
ul.nav.nav-list.abn-tree .level-8 .indented {
position: relative;
left: 140px;
}
ul.nav.nav-list.abn-tree .level-9 .indented {
position: relative;
left: 160px;
}
Loading

0 comments on commit 3d11dab

Please sign in to comment.