@@ -918,11 +918,11 @@ code, .code { font-family: Consolas, monaco, monospace; }
918
918
Docs: http://tachyons.io/docs/elements/links/
919
919
920
920
*/
921
- .link { text-decoration : none; -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
922
- .link : link , .link : visited { -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
923
- .link : hover { -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
924
- .link : active { -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
925
- .link : focus { -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; outline : 1px dotted currentColor; }
921
+ .link { text-decoration : none; transition : color .15s ease-in; }
922
+ .link : link , .link : visited { transition : color .15s ease-in; }
923
+ .link : hover { transition : color .15s ease-in; }
924
+ .link : active { transition : color .15s ease-in; }
925
+ .link : focus { transition : color .15s ease-in; outline : 1px dotted currentColor; }
926
926
/*
927
927
928
928
LISTS
@@ -1881,16 +1881,16 @@ code, .code { font-family: Consolas, monaco, monospace; }
1881
1881
Dim element on hover by adding the dim class.
1882
1882
1883
1883
*/
1884
- .dim { opacity : 1 ; -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1885
- .dim : hover , .dim : focus { opacity : .5 ; -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1886
- .dim : active { opacity : .8 ; -webkit-transition : opacity .15 s ease-out; transition : opacity .15s ease-out; }
1884
+ .dim { opacity : 1 ; transition : opacity .15s ease-in; }
1885
+ .dim : hover , .dim : focus { opacity : .5 ; transition : opacity .15s ease-in; }
1886
+ .dim : active { opacity : .8 ; transition : opacity .15s ease-out; }
1887
1887
/*
1888
1888
1889
1889
Animate opacity to 100% on hover by adding the glow class.
1890
1890
1891
1891
*/
1892
- .glow { -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1893
- .glow : hover , .glow : focus { opacity : 1 ; -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1892
+ .glow { transition : opacity .15s ease-in; }
1893
+ .glow : hover , .glow : focus { opacity : 1 ; transition : opacity .15s ease-in; }
1894
1894
/*
1895
1895
1896
1896
Hide child & reveal on hover:
@@ -1905,15 +1905,15 @@ code, .code { font-family: Consolas, monaco, monospace; }
1905
1905
<div class="child"> Hidden until hover or focus </div>
1906
1906
</div>
1907
1907
*/
1908
- .hide-child .child { opacity : 0 ; -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1909
- .hide-child : hover .child , .hide-child : focus .child , .hide-child : active .child { opacity : 1 ; -webkit-transition : opacity .15 s ease-in; transition : opacity .15s ease-in; }
1908
+ .hide-child .child { opacity : 0 ; transition : opacity .15s ease-in; }
1909
+ .hide-child : hover .child , .hide-child : focus .child , .hide-child : active .child { opacity : 1 ; transition : opacity .15s ease-in; }
1910
1910
.underline-hover : hover , .underline-hover : focus { text-decoration : underline; }
1911
1911
/* Can combine this with overflow-hidden to make background images grow on hover
1912
1912
* even if you are using background-size: cover */
1913
- .grow { -moz-osx-font-smoothing : grayscale; -webkit-backface-visibility : hidden; backface-visibility : hidden; -webkit-transform : translateZ ( 0 ); transform : translateZ ( 0 ); -webkit-transition : -webkit-transform .25 s ease-out; transition : -webkit-transform .25s ease-out; transition : transform .25s ease-out; transition : transform .25s ease-out, -webkit-transform .25s ease-out; }
1913
+ .grow { -moz-osx-font-smoothing : grayscale; -webkit-backface-visibility : hidden; backface-visibility : hidden; -webkit-transform : translateZ ( 0 ); transform : translateZ ( 0 ); transition : -webkit-transform .25s ease-out; transition : transform .25s ease-out; transition : transform .25s ease-out, -webkit-transform .25s ease-out; }
1914
1914
.grow : hover , .grow : focus { -webkit-transform : scale ( 1.05 ); transform : scale ( 1.05 ); }
1915
1915
.grow : active { -webkit-transform : scale ( .90 ); transform : scale ( .90 ); }
1916
- .grow-large { -moz-osx-font-smoothing : grayscale; -webkit-backface-visibility : hidden; backface-visibility : hidden; -webkit-transform : translateZ ( 0 ); transform : translateZ ( 0 ); -webkit-transition : -webkit-transform .25 s ease-in-out; transition : -webkit-transform .25s ease-in-out; transition : transform .25s ease-in-out; transition : transform .25s ease-in-out, -webkit-transform .25s ease-in-out; }
1916
+ .grow-large { -moz-osx-font-smoothing : grayscale; -webkit-backface-visibility : hidden; backface-visibility : hidden; -webkit-transform : translateZ ( 0 ); transform : translateZ ( 0 ); transition : -webkit-transform .25s ease-in-out; transition : transform .25s ease-in-out; transition : transform .25s ease-in-out, -webkit-transform .25s ease-in-out; }
1917
1917
.grow-large : hover , .grow-large : focus { -webkit-transform : scale ( 1.2 ); transform : scale ( 1.2 ); }
1918
1918
.grow-large : active { -webkit-transform : scale ( .95 ); transform : scale ( .95 ); }
1919
1919
/* Add pointer on hover */
@@ -1924,12 +1924,12 @@ code, .code { font-family: Consolas, monaco, monospace; }
1924
1924
Performant box-shadow animation pattern from
1925
1925
http://tobiasahlin.com/blog/how-to-animate-box-shadow/
1926
1926
*/
1927
- .shadow-hover { cursor : pointer; position : relative; -webkit-transition : all .5 s cubic-bezier ( .165 , .84 , .44 , 1 ); transition : all .5s cubic-bezier ( .165 , .84 , .44 , 1 ); }
1928
- .shadow-hover ::after { content : '' ; box-shadow : 0 0 16px 2px rgba ( 0 , 0 , 0 , .2 ); border-radius : inherit; opacity : 0 ; position : absolute; top : 0 ; left : 0 ; width : 100% ; height : 100% ; z-index : -1 ; -webkit-transition : opacity .5 s cubic-bezier ( .165 , .84 , .44 , 1 ); transition : opacity .5s cubic-bezier ( .165 , .84 , .44 , 1 ); }
1927
+ .shadow-hover { cursor : pointer; position : relative; transition : all .5s cubic-bezier ( .165 , .84 , .44 , 1 ); }
1928
+ .shadow-hover ::after { content : '' ; box-shadow : 0 0 16px 2px rgba ( 0 , 0 , 0 , .2 ); border-radius : inherit; opacity : 0 ; position : absolute; top : 0 ; left : 0 ; width : 100% ; height : 100% ; z-index : -1 ; transition : opacity .5s cubic-bezier ( .165 , .84 , .44 , 1 ); }
1929
1929
.shadow-hover : hover ::after , .shadow-hover : focus ::after { opacity : 1 ; }
1930
1930
/* Combine with classes in skins and skins-pseudo for
1931
1931
* many different transition possibilities. */
1932
- .bg-animate , .bg-animate : hover , .bg-animate : focus { -webkit-transition : background-color .15 s ease-in-out; transition : background-color .15s ease-in-out; }
1932
+ .bg-animate , .bg-animate : hover , .bg-animate : focus { transition : background-color .15s ease-in-out; }
1933
1933
/*
1934
1934
1935
1935
Z-INDEX
@@ -1992,9 +1992,9 @@ code, .code { font-family: Consolas, monaco, monospace; }
1992
1992
.nested-copy-indent p + p { text-indent : 1em ; margin-top : 0 ; margin-bottom : 0 ; }
1993
1993
.nested-copy-seperator p + p { margin-top : 1.5em ; }
1994
1994
.nested-img img { width : 100% ; max-width : 100% ; display : block; }
1995
- .nested-links a { color : # 408bc9 ; -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
1996
- .nested-links a : hover { color : # 76c4e2 ; -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
1997
- .nested-links a : focus { color : # 76c4e2 ; -webkit-transition : color .15 s ease-in; transition : color .15s ease-in; }
1995
+ .nested-links a { color : # 408bc9 ; transition : color .15s ease-in; }
1996
+ .nested-links a : hover { color : # 76c4e2 ; transition : color .15s ease-in; }
1997
+ .nested-links a : focus { color : # 76c4e2 ; transition : color .15s ease-in; }
1998
1998
/*
1999
1999
2000
2000
STYLES
0 commit comments