github.com/hobbeswalsh/terraform@v0.3.7-0.20150619183303-ad17cf55a0fa/website/source/assets/stylesheets/_buttons.scss (about) 1 // 2 // Button Styles 3 // -------------------------------------------------- 4 5 .outline-btn{ 6 background-color: transparent; 7 color: $white; 8 border: 2px solid $white; 9 //border-radius: $btn-border-radius; 10 text-decoration: none !important; 11 @include transition(background-color .3s ease-in-out); 12 13 &.purple{ 14 color: $purple; 15 border: 2px solid $purple; 16 } 17 18 &:hover{ 19 color: $white; 20 background-color: rgba(255, 255, 255, .2); 21 @include transition(background-color .3s ease-in-out); 22 23 &.purple{ 24 background-color: rgba(255, 255, 255, .5); 25 } 26 } 27 } 28 29 .terra-btn{ 30 background-color: rgba(130, 47, 247, 0.36); 31 @include transition( background-color 0.3s ease ); 32 33 &:hover{ 34 background-color: rgba(130, 47, 247, 0.8); 35 @include transition( background-color 0.3s ease ); 36 } 37 } 38 39 //animation on header main nav link hover 40 /*.li-under a::after { 41 position: absolute; 42 top: 68%; 43 left: 50%; 44 margin-left: -4px; 45 width: 6px; 46 height: 6px; 47 background-color: white; 48 content: ''; 49 opacity: 0; 50 text-decoration: none; 51 -webkit-transition: height 0.3s, opacity 0.3s, -webkit-transform 0.3s; 52 -moz-transition: height 0.3s, opacity 0.3s, -moz-transform 0.3s; 53 transition: height 0.3s, opacity 0.3s, transform 0.3s; 54 -webkit-transform: translateY(-10px); 55 -moz-transform: translateY(-10px); 56 transform: translateY(-10px); 57 } 58 59 .li-under a:hover::after, 60 .li-under a:focus::after { 61 opacity: 1; 62 -webkit-transform: skewY(15deg) translateY(10px); 63 -moz-transform: skewY(15deg) translateY(10px); 64 transform: skewY(15deg) translateY(10px); 65 }*/