sq: fix tab responsiveness

This commit is contained in:
Rob Szumski 2015-10-23 23:36:05 +00:00 committed by Joseph Schorr
parent a6b4e7a00a
commit 352537adca

View file

@ -9,6 +9,8 @@
font-weight: 300;
margin-bottom: 40px;
text-align: center;
padding-left: 15px;
padding-right: 15px;
}
.plans-panel .plan-tabs {
@ -19,7 +21,6 @@
}
.plans-panel .plan-tabs li {
float: none;
display: inline-block;
width: 49%;
}
@ -30,7 +31,7 @@
.plans-panel .plan-tabs a:hover {
background-color: transparent;
border: none;
border-color: transparent;
cursor: pointer !important; /* override very specific bootstrap style */
}
@ -61,11 +62,36 @@
color: #51A3D9;
}
@media (max-width: 992px) {
.plans-panel .plan-tabs a .tab-logo svg {
height: 30px;
}
.plans-panel .plan-tabs a .tab-title {
font-size: 13px;
}
}
@media (max-width: 767px) {
.plans-panel .plan-tabs {
margin-bottom: 0px;
padding-right: 5px;
padding-left: 5px;
}
.plans-panel .plan-tabs a {
padding-bottom: 0px;
padding-left: 10px;
padding-right: 10px;
}
.plans-panel .plan-tabs a .tab-title {
display: none;
}
.plans-panel .plan-tabs a .tab-logo {
margin-top: 5px;
margin-bottom: 10px;
}
.plans-panel .plan-tabs a .tab-logo svg {
height: 20px;
max-width: 100%;