mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-09 11:34:24 +08:00
Animate pick css transition
This commit is contained in:
@@ -37,6 +37,7 @@ module.exports = (grunt) ->
|
||||
scripts: [
|
||||
'bower_components/lodash/dist/lodash.js'
|
||||
'bower_components/angular/angular.js'
|
||||
'bower_components/angular-animate/angular-animate.js'
|
||||
'bower_components/angular-sanitize/angular-sanitize.js'
|
||||
'bower_components/angular-scroll/angular-scroll.js'
|
||||
'bower_components/ngDialog/js/ngDialog.js'
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
"author": "Vit Brunner",
|
||||
"dependencies": {
|
||||
"angular": "1.2.20",
|
||||
"angular-animate": "1.2.20",
|
||||
"angular-sanitize": "1.2.20",
|
||||
"angular-scroll": "0.6.2",
|
||||
"fontawesome": "4.2.0",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
angular.module('sideBySide', ['ngDialog', 'ngSanitize', 'duScroll'])
|
||||
angular.module('sideBySide', ['ngAnimate', 'ngDialog', 'ngSanitize', 'duScroll'])
|
||||
.config [ '$locationProvider', ($locationProvider) ->
|
||||
$locationProvider.html5Mode true
|
||||
]
|
||||
|
||||
@@ -73,6 +73,7 @@ body
|
||||
position: fixed
|
||||
left: 0
|
||||
bottom: 36px
|
||||
transition: .5s linear all
|
||||
|
||||
width: 100%
|
||||
.pick-in
|
||||
@@ -100,6 +101,9 @@ body
|
||||
.disabled
|
||||
color: $neutral
|
||||
|
||||
.pick.ng-hide
|
||||
max-height: 0
|
||||
|
||||
max_columns = 20
|
||||
for columns in 1 .. max_columns
|
||||
.cols-{columns}
|
||||
@@ -108,3 +112,6 @@ for columns in 1 .. max_columns
|
||||
|
||||
.version-padded
|
||||
padding: 0px (100 / (5 * columns))%
|
||||
|
||||
.ng-hide-add, .ng-hide-remove
|
||||
display: block !important
|
||||
|
||||
Reference in New Issue
Block a user