Skip to content

Commit

Permalink
Add disable-element mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuwen Qian committed Jul 22, 2016
1 parent 7f87d46 commit 7e14e81
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/shared/sass/_disable.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/**
* @license
* Copyright (c) 2015 MediaMath Inc. All rights reserved.
* This code may only be used under the BSD style license found at http://mediamath.github.io/strand/LICENSE.txt
*/
:host([disabled]) {
pointer-events:none;
opacity: 0.5;
}

0 comments on commit 7e14e81

Please sign in to comment.