Browse Source

Update styles and remove timeout for loader.

pull/105/head
Evan Theurer 11 years ago
parent
commit
f012d60967
  1. 8
      src/styles/components/_buddypictureupload.scss
  2. 2
      static/css/main.min.css
  3. 5
      static/js/directives/buddypictureupload.js

8
src/styles/components/_buddypictureupload.scss

@ -51,6 +51,11 @@ @@ -51,6 +51,11 @@
z-index: 1;
left: 50px;
}
.fa {
color: $componentbg;
text-shadow: 0 0 5px black;
opacity: 0.8;
}
}
.preview {
position: relative;
@ -65,9 +70,6 @@ @@ -65,9 +70,6 @@
z-index: 1;
.fa {
cursor: pointer;
color: $componentbg;
text-shadow: 0 0 5px black;
opacity: 0.8;
font-size: 40px;
width: 50px;
height: 50px;

2
static/css/main.min.css vendored

File diff suppressed because one or more lines are too long

5
static/js/directives/buddypictureupload.js

@ -42,10 +42,7 @@ define(['jquery', 'underscore', 'text!partials/buddypictureupload.html', 'bootst @@ -42,10 +42,7 @@ define(['jquery', 'underscore', 'text!partials/buddypictureupload.html', 'bootst
};
var completedUpload = function() {
$scope.upload.status = 99;
$timeout(function() {
$scope.upload.status = 100;
}, 500);
$scope.upload.status = 100;
};
var setUploadImageDimension = function(data) {

Loading…
Cancel
Save