consul/website/source/assets/stylesheets/consul-connect/components/_button.scss

83 lines
1.3 KiB
SCSS
Raw Normal View History

2018-06-11 22:59:00 +00:00
.g-btn {
background-color: $consul-red;
border: 2px solid $consul-red;
2018-06-11 22:59:00 +00:00
border-radius: 3px;
box-sizing: border-box;
color: $white;
display: inline-block;
font-size: 1.6rem;
2018-06-11 22:59:00 +00:00
font-weight: 600;
letter-spacing: 0;
line-height: 24px;
outline: 0;
padding: 10px 28px;
2018-06-11 22:59:00 +00:00
position: relative;
text-align: center;
transition: all 0.25s ease;
&:focus,
&:hover {
background-color: #ce4a86;
border-color: #ce4a86;
2018-06-11 22:59:00 +00:00
color: $white;
text-decoration: none;
transform: translateY(-1px);
}
2018-06-14 21:54:22 +00:00
path {
fill: $white;
}
&.white {
background: $white;
border: 2px solid $white;
color: $consul-black;
2018-06-11 22:59:00 +00:00
&:hover {
background: $consul-black;
border-color: $consul-black;
color: $white;
2018-06-14 21:54:22 +00:00
path {
fill: $white;
}
2018-06-11 22:59:00 +00:00
}
2018-06-14 21:54:22 +00:00
path {
fill: $consul-black;
}
2018-06-11 22:59:00 +00:00
}
&.dark-outline {
background: none;
border: 2px solid $consul-black;
color: $consul-black;
2018-06-11 22:59:00 +00:00
&:hover {
background: $consul-black;
2018-06-11 22:59:00 +00:00
color: $white;
}
}
&.white-outline {
background: none;
border: 2px solid $white;
color: $white;
&:hover {
background-color: $white;
color: $consul-black;
}
}
&.download {
svg {
margin: 0 4px -4px 0;
path {
transition: fill 0.25s ease;
}
}
}
2018-06-11 22:59:00 +00:00
}