From fce71e80c207c26a34148a3e17005052500bec2e Mon Sep 17 00:00:00 2001 From: Nick Litwin Date: Tue, 3 May 2016 10:04:05 -0700 Subject: [PATCH 1/2] Add link styles and set iOS tap highlight to transparent --- src/styles/_tc-styles.scss | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/styles/_tc-styles.scss b/src/styles/_tc-styles.scss index 51dbddc..6861c93 100644 --- a/src/styles/_tc-styles.scss +++ b/src/styles/_tc-styles.scss @@ -1,11 +1,14 @@ @import 'reset'; @import 'tc-includes'; @import 'typography'; +@import 'buttons'; // App level resets html { min-height: 100%; box-sizing: border-box; + // Changes the default tap highlight to be completely transparent in iOS. + -webkit-tap-highlight-color: rgba(0,0,0,0); } *, *:before, *:after { From 5b72f5d4290bfd760c993b1e37cfa0ecf4d322a9 Mon Sep 17 00:00:00 2001 From: Nick Litwin Date: Tue, 3 May 2016 10:04:22 -0700 Subject: [PATCH 2/2] Add link styles and set iOS tap highlight to transparent --- src/styles/_buttons.scss | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/styles/_buttons.scss diff --git a/src/styles/_buttons.scss b/src/styles/_buttons.scss new file mode 100644 index 0000000..3023392 --- /dev/null +++ b/src/styles/_buttons.scss @@ -0,0 +1,18 @@ +// Buttons + +// Table of Contents +// +// Links +// Buttons + +// Links +.tc-link, +.tc-link:active, +.tc-link:visited { + cursor: pointer; +} + +.tc-link:hover { + color: $tc-dark-blue; + text-decoration: none; +}