Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #12610 from snowmantw/issue921392
Browse files Browse the repository at this point in the history
Bug 921392 - [LockScreen] Need to dark the icons of locksceen
  • Loading branch information
snowmantw committed Oct 3, 2013
2 parents fbf6ef7 + 16abf51 commit 529a4d7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions apps/system/js/lockscreen.js
Expand Up @@ -304,7 +304,7 @@ var LockScreen = {
this.leftIcon.classList.remove('dark');
},

darkIcon: function() {
darkIcons: function() {
this.rightIcon.classList.add('dark');
this.leftIcon.classList.add('dark');
},
Expand Down Expand Up @@ -585,11 +585,10 @@ var LockScreen = {
this.slideCenter.classList.add('touched');
this.slideRight.classList.add('touched');
}
this.darkIcon();
this._slideCount = 0;
},

// Restore all slide elements.
// Restore all elements in the slide.
//
// easing {Boolean} true|undefined to bounce back slowly.
restoreSlide: function(easing) {
Expand Down Expand Up @@ -642,7 +641,7 @@ var LockScreen = {
this.handleIconClick('left' === this._slidingToward ?
this.leftIcon : this.rightIcon);
}
this.darkIcon();
this.darkIcons();
this._slideCount = 0;
this._sliding = false;
},
Expand Down
2 changes: 1 addition & 1 deletion apps/system/style/lockscreen/lockscreen.css
Expand Up @@ -237,7 +237,7 @@
}

.lockscreen-icon-area.dark .lockscreen-icon{
opacity: 0.75;
opacity: 0.65;
}

/* Some icons in new design still need border */
Expand Down

0 comments on commit 529a4d7

Please sign in to comment.