Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
build(version): v4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzodianni committed Jan 13, 2018
1 parent 34c0972 commit 4385fa2
Show file tree
Hide file tree
Showing 5 changed files with 270 additions and 193 deletions.
92 changes: 36 additions & 56 deletions dist/angular-sidebarjs.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,32 @@
[sidebarjs-background],
[sidebarjs] {
[sidebarjs-backdrop], [sidebarjs] {
top: 0;
left: 0;
width: 100%;
height: 100%;
}
height: 100%; }

[sidebarjs].sidebarjs--left,
[sidebarjs].sidebarjs--left [sidebarjs-container] {
[sidebarjs].sidebarjs--left, [sidebarjs].sidebarjs--left [sidebarjs-container] {
-webkit-transform: translate(-100%, 0);
transform: translate(-100%, 0);
}
transform: translate(-100%, 0); }

[sidebarjs].sidebarjs--right,
[sidebarjs].sidebarjs--right [sidebarjs-container] {
[sidebarjs].sidebarjs--right, [sidebarjs].sidebarjs--right [sidebarjs-container] {
-webkit-transform: translate(100%, 0);
transform: translate(100%, 0);
}
transform: translate(100%, 0); }

[sidebarjs].sidebarjs--left [sidebarjs-container] {
box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
}
-webkit-box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2); }

[sidebarjs].sidebarjs--right [sidebarjs-container] {
box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
margin-left: auto;
}
-webkit-box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
box-shadow: -2px 0 4px rgba(0, 0, 0, 0.2);
margin-left: auto; }

[sidebarjs-background] {
[sidebarjs-backdrop] {
position: absolute;
background: #000;
opacity: 0;
-webkit-transition: opacity 0.3s ease;
transition: opacity 0.3s ease;
}
transition: opacity 0.3s ease; }

[sidebarjs-container] {
position: relative;
Expand All @@ -43,50 +36,37 @@
display: flex;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
width: 90%;
max-width: 300px;
height: 100%;
background: #fff;
-webkit-transition: all ease 0.3s;
transition: all ease 0.3s;
}
-webkit-transition: -webkit-transform ease 0.3s;
transition: -webkit-transform ease 0.3s;
transition: transform ease 0.3s;
transition: transform ease 0.3s, -webkit-transform ease 0.3s; }

[sidebarjs] {
position: fixed;
z-index: 9999;
-webkit-transition: -webkit-transform 0s ease 0.3s;
transition: -webkit-transform 0s ease 0.3s;
transition: transform 0s ease 0.3s;
transition: transform 0s ease 0.3s, -webkit-transform 0s ease 0.3s;
}

[sidebarjs].sidebarjs--is-visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
-webkit-transition: -webkit-transform 0s ease 0s;
transition: -webkit-transform 0s ease 0s;
transition: transform 0s ease 0s;
transition: transform 0s ease 0s, -webkit-transform 0s ease 0s;
}

[sidebarjs].sidebarjs--is-visible [sidebarjs-container] {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
}

[sidebarjs].sidebarjs--is-visible [sidebarjs-background] {
opacity: .3;
}

[sidebarjs].sidebarjs--is-moving {
-webkit-transition: none;
transition: none;
}

[sidebarjs].sidebarjs--is-moving [sidebarjs-container],
[sidebarjs].sidebarjs--is-moving [sidebarjs-background] {
-webkit-transition: none;
transition: none;
}
transition: transform 0s ease 0.3s, -webkit-transform 0s ease 0.3s; }
[sidebarjs].sidebarjs--is-visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0);
-webkit-transition: -webkit-transform 0s ease 0s;
transition: -webkit-transform 0s ease 0s;
transition: transform 0s ease 0s;
transition: transform 0s ease 0s, -webkit-transform 0s ease 0s; }
[sidebarjs].sidebarjs--is-visible [sidebarjs-container] {
-webkit-transform: translate(0, 0);
transform: translate(0, 0); }
[sidebarjs].sidebarjs--is-moving {
-webkit-transition: none;
transition: none; }
[sidebarjs].sidebarjs--is-moving [sidebarjs-container], [sidebarjs].sidebarjs--is-moving [sidebarjs-backdrop] {
-webkit-transition: none;
transition: none; }
Loading

0 comments on commit 4385fa2

Please sign in to comment.