Newer
Older
background-color: transparent;
background-image: none;
border: 0;
box-shadow: none;
&:hover {
cursor: pointer;
}
&--left-space {
margin-left: 20px;
}
Chris Lawton
committed
&--contains-icons {
display: flex;
align-items: center;
.header--narrow & {
margin-right: 20px;
}
Chris Lawton
committed
}
&--transparent,
&--transparent--wide {
Chris Lawton
committed
@include button(transparent, $color--white);
Chris Lawton
committed
.header--light-bg & {
@include button(transparent, $color--black);
@include button--narrow;
color: $color--black;
border: 1px solid $color--black;
Chris Lawton
committed
}
Chris Lawton
committed
&:hover {
color: $color--dark-blue;
Chris Lawton
committed
Chris Lawton
committed
.header--light-bg & {
color: $color--white;
}
Chris Lawton
committed
}
&--transparent {
@include button--narrow;
}
// cannot conform to BEM here in order to be able to override google button styles
&--google-translate {
Chris Lawton
committed
width: 160px;
Chris Lawton
committed
@include media-query(tablet-landscape) {
width: 180px;
}
Chris Lawton
committed
@include button(transparent, $color--white);
Chris Lawton
committed
@include button--narrow;
Chris Lawton
committed
padding: 5px;
font-family: $font--primary;
font-weight: $weight--bold;
Chris Lawton
committed
transition: background, color, $transition;
Chris Lawton
committed
.header--light-bg & {
@include button(transparent, $color--black);
@include button--narrow;
border: 1px solid $color--black;
Chris Lawton
committed
}
&:hover {
.goog-te-menu-value {
span {
color: $color--dark-blue !important; // sass-lint:disable-line no-important
Chris Lawton
committed
.header--light-bg & {
color: $color--white !important; // sass-lint:disable-line no-important
}
.goog-te-menu-value {
color: $color--white;
Chris Lawton
committed
.header--light-bg & {
color: $color--black; // sass-lint:disable-line no-important
}
span {
// color of the arrow is inlined hence !important
color: $color--white !important; // sass-lint:disable-line no-important
transition: color $transition;
Chris Lawton
committed
.header--light-bg & {
color: $color--black !important; // sass-lint:disable-line no-important
}
&:nth-of-type(2) {
// hide the pipe
display: none;
}
}
}
}
.goog-te-gadget-icon {
// hide the google icon
display: none;
}
}