Skip to content

Commit

Permalink
Add styles for link_disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
tadatuta committed Feb 27, 2017
1 parent 348e106 commit a94be43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions common.blocks/link/link.post.css
@@ -1,3 +1,7 @@
:block(link) {
touch-action: manipulation;

&:mod(disabled) {
pointer-events: none;
}
}
Expand Up @@ -41,6 +41,7 @@
}

&:block(link):mod(disabled) {
color: #ddd;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
}
5 changes: 5 additions & 0 deletions design/desktop.blocks/link/_theme/link_theme_islands.post.css
@@ -0,0 +1,5 @@
:block(link):mod(theme islands) {
&:mod(disabled) {
cursor: default;
}
}

0 comments on commit a94be43

Please sign in to comment.