mirror of
https://github.com/ivabus/www
synced 2024-11-14 09:05:05 +03:00
Mobile styling for full-width CTA
This commit is contained in:
parent
01f19eeff0
commit
dc4ccccd97
2 changed files with 254 additions and 38 deletions
|
@ -1,5 +1,5 @@
|
||||||
<hr>
|
<hr>
|
||||||
<div class="row button-container">
|
<div class="row button-container">
|
||||||
<a href="#" role="button" class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-4 mt-4" id="nav-cta"><i class="icon-enter-arrow"></i>Authenticate with tea<span style="float:right; margin-top:0.837vw;font-size:1vw;"><u id="count1"></u> devs authenticated</span></a>
|
<a href="#" role="button" class="btn btn-primary auth-btn mt-lg-0 mt-md-0 mt-sm-0 mt-0" id="nav-cta"><i class="icon-enter-arrow"></i>Authenticate with tea<span class="dev-count"style="float:right; margin-top:0.837vw;font-size:1vw;"><u id="count1"></u> devs authenticated</span></a>
|
||||||
</div>
|
</div>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
|
@ -1,49 +1,265 @@
|
||||||
/* Full-Width CTA */
|
/* Full-Width CTA */
|
||||||
|
|
||||||
.btn-primary{
|
@media only screen and (min-width: 1200px) {
|
||||||
padding: 2.455vw 4.185vw;
|
|
||||||
border-radius: 0px !important;
|
.btn-primary{
|
||||||
font-family: "pp-neue-machina", sans-serif;
|
padding: 2.455vw 4.185vw;
|
||||||
text-transform: uppercase;
|
border-radius: 0px !important;
|
||||||
font-size: 2vw;
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
border-left: 2px solid #949494 !important;
|
text-transform: uppercase;
|
||||||
border-right: 2px solid #949494 !important;
|
font-size: 2vw;
|
||||||
background-color: #1a1a1a !important;
|
border-left: 2px solid #949494 !important;
|
||||||
outline: none !important;
|
border-right: 2px solid #949494 !important;
|
||||||
box-shadow: none !important;
|
background-color: #1a1a1a !important;
|
||||||
text-align: left;
|
outline: none !important;
|
||||||
border-top-color:#1a1a1a;
|
box-shadow: none !important;
|
||||||
border-bottom-color: #1a1a1a;
|
text-align: left;
|
||||||
transition: 0.2s linear;
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover{
|
||||||
|
background-color: #00ffd0 !important;
|
||||||
|
color: #1a1a1a;
|
||||||
|
border-top-color:#00ffd0;
|
||||||
|
border-bottom-color:#00ffd0;
|
||||||
|
border-left-color:#00ffd0;
|
||||||
|
border-right-color:#00ffd0;
|
||||||
|
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
||||||
|
padding: 2.455vw 5.580vw;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
padding: 0vw 8.929vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Styling */
|
||||||
|
|
||||||
|
.btn-primary .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
margin-right: 0.558vw;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
transform: rotate(-45deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover{
|
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
||||||
background-color: #00ffd0 !important;
|
|
||||||
color: #1a1a1a;
|
.btn-primary{
|
||||||
border-top-color:#00ffd0;
|
padding: 2.455vw 4.185vw;
|
||||||
border-bottom-color:#00ffd0;
|
border-radius: 0px !important;
|
||||||
border-left-color:#00ffd0;
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
border-right-color:#00ffd0;
|
text-transform: uppercase;
|
||||||
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
font-size: 2vw;
|
||||||
padding: 2.455vw 5.580vw;
|
border-left: 2px solid #949494 !important;
|
||||||
border-top-color:#1a1a1a;
|
border-right: 2px solid #949494 !important;
|
||||||
border-bottom-color: #1a1a1a;
|
background-color: #1a1a1a !important;
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
text-align: left;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover{
|
||||||
|
background-color: #00ffd0 !important;
|
||||||
|
color: #1a1a1a;
|
||||||
|
border-top-color:#00ffd0;
|
||||||
|
border-bottom-color:#00ffd0;
|
||||||
|
border-left-color:#00ffd0;
|
||||||
|
border-right-color:#00ffd0;
|
||||||
|
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
||||||
|
padding: 2.455vw 5.580vw;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
padding: 0vw 8.929vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Styling */
|
||||||
|
|
||||||
|
.btn-primary .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
position: relaitve;
|
||||||
|
margin-right: 0.558vw;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
transform: rotate(-45deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.button-container{
|
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
||||||
padding: 0vw 8.929vw;
|
|
||||||
|
.btn-primary{
|
||||||
|
padding: 2.455vw 4.185vw;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 2vw;
|
||||||
|
border-left: 2px solid #949494 !important;
|
||||||
|
border-right: 2px solid #949494 !important;
|
||||||
|
background-color: #1a1a1a !important;
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
text-align: left;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover{
|
||||||
|
background-color: #00ffd0 !important;
|
||||||
|
color: #1a1a1a;
|
||||||
|
border-top-color:#00ffd0;
|
||||||
|
border-bottom-color:#00ffd0;
|
||||||
|
border-left-color:#00ffd0;
|
||||||
|
border-right-color:#00ffd0;
|
||||||
|
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
||||||
|
padding: 2.455vw 5.580vw;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
padding: 0vw 8.929vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Styling */
|
||||||
|
|
||||||
|
.btn-primary .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
position: relaitve;
|
||||||
|
margin-right: 0.558vw;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
transform: rotate(-45deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Icon Styling */
|
@media only screen and (min-width: 576px) and (max-width: 768px){
|
||||||
|
|
||||||
|
.btn-primary{
|
||||||
|
padding: 2.455vw 4.185vw;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 2vw;
|
||||||
|
border-left: 2px solid #949494 !important;
|
||||||
|
border-right: 2px solid #949494 !important;
|
||||||
|
background-color: #1a1a1a !important;
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
text-align: left;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover{
|
||||||
|
background-color: #00ffd0 !important;
|
||||||
|
color: #1a1a1a;
|
||||||
|
border-top-color:#00ffd0;
|
||||||
|
border-bottom-color:#00ffd0;
|
||||||
|
border-left-color:#00ffd0;
|
||||||
|
border-right-color:#00ffd0;
|
||||||
|
box-shadow: inset 0vw 0vw 0vw 0.558vw #1a1a1a !important;
|
||||||
|
padding: 2.455vw 5.580vw;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
padding: 0vw 8.929vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Styling */
|
||||||
|
|
||||||
|
.btn-primary .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
position: relaitve;
|
||||||
|
margin-right: 0.558vw;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
transform: rotate(-45deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.btn-primary .icon-enter-arrow{
|
|
||||||
display: inline-block;
|
|
||||||
position: relaitve;
|
|
||||||
margin-right: 0.558vw;
|
|
||||||
transition: 0.2s linear;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn-primary:hover .icon-enter-arrow{
|
@media only screen and (max-width: 576px) {
|
||||||
display: inline-block;
|
|
||||||
transform: rotate(-45deg) !important;
|
.btn-primary{
|
||||||
|
padding: 7.5vw 11.200vw;
|
||||||
|
border-radius: 0px !important;
|
||||||
|
font-family: "pp-neue-machina", sans-serif;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 4vw;
|
||||||
|
border-left: 2px solid #949494 !important;
|
||||||
|
border-right: 2px solid #949494 !important;
|
||||||
|
background-color: #1a1a1a !important;
|
||||||
|
outline: none !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
text-align: left;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover{
|
||||||
|
background-color: #00ffd0 !important;
|
||||||
|
color: #1a1a1a;
|
||||||
|
border-top-color:#00ffd0;
|
||||||
|
border-bottom-color:#00ffd0;
|
||||||
|
border-left-color:#00ffd0;
|
||||||
|
border-right-color:#00ffd0;
|
||||||
|
box-shadow: inset 0vw 0vw 0vw 1vw #1a1a1a !important;
|
||||||
|
padding: 7.5vw 11.200vw;
|
||||||
|
border-top-color:#1a1a1a;
|
||||||
|
border-bottom-color: #1a1a1a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.button-container{
|
||||||
|
padding: 0vw 8.929vw;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dev-count{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Icon Styling */
|
||||||
|
|
||||||
|
.btn-primary .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
margin-right: 3vw;
|
||||||
|
transition: 0.2s linear;
|
||||||
|
}
|
||||||
|
|
||||||
|
.btn-primary:hover .icon-enter-arrow{
|
||||||
|
display: inline-block;
|
||||||
|
transform: rotate(-45deg) !important;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue