Created Packery and Draggabilly directives.

Applied the Packery directive to Info layout based on media queries.
This commit is contained in:
Gunther Brunner
2014-05-26 21:05:54 +09:00
parent 7a87f2170a
commit 00eb155ab9
12 changed files with 201 additions and 16 deletions

View File

@@ -0,0 +1,36 @@
/*
Screen Breakpoints:
screen-xs: 480px
screen-sm: 768px
screen-md: 992px
screen-lg: 1200px
screen-xl: 1500px
*/
div[angular-packery] {
overflow-y: hidden;
overflow-x: hidden;
}
.col-md-4-x.packery-item {
width: 33.33333333333333%;
}
@media screen and (min-width: 1500px) {
.col-md-4-x.packery-item {
width: 25%;
}
}
@media screen and (max-width: 1200px) {
.col-md-4-x.packery-item {
width: 50%;
}
}
@media screen and (max-width: 768px) {
.col-md-4-x.packery-item {
width: 100%;
}
}