Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
angular-bootstrap-nav-tree
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Custom Issue Tracker
Custom Issue Tracker
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angularjs
angular-bootstrap-nav-tree
Commits
60d39e6b
Commit
60d39e6b
authored
Aug 03, 2018
by
bingchuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[dev] version 0.2.0
parents
Pipeline
#40
failed with stages
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
150 additions
and
0 deletions
+150
-0
bower.json
bower.json
+29
-0
abn_tree.css
dist/abn_tree.css
+121
-0
abn_tree_directive.js
dist/abn_tree_directive.js
+0
-0
No files found.
bower.json
0 → 100644
View file @
60d39e6b
{
"name"
:
"angular-bootstrap-nav-tree"
,
"version"
:
"0.2.0"
,
"description"
:
"A 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"
],
"homepage"
:
"https://github.com/nickperkinslondon/angular-bootstrap-nav-tree"
,
"repository"
:{
"type"
:
"git"
,
"url"
:
"git://github.com/nickperkinslondon/angular-bootstrap-nav-tree"
},
"ignore"
:
[
"src"
,
"temp"
,
"test"
,
".gitignore"
,
"Gruntfile.coffee"
,
"Gruntfile.js"
,
"bower.json"
,
"package.json"
,
"README.md"
],
"dependencies"
:
{
"angular"
:
">=1.0"
,
"bootstrap"
:
">=2.3"
}
}
dist/abn_tree.css
0 → 100644
View file @
60d39e6b
/*
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
;
}
dist/abn_tree_directive.js
0 → 100644
View file @
60d39e6b
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment