Commit 3524c62f by Scott

SnowFlat: merge media queries

parent a1bbb78d
...@@ -60,6 +60,10 @@ h1 { ...@@ -60,6 +60,10 @@ h1 {
left: 10px; left: 10px;
} }
.qa-logo {
margin: 0 0 0 1px;
}
@media (max-width: 979px) { @media (max-width: 979px) {
.qam-search-mobile { .qam-search-mobile {
border-left: 0; border-left: 0;
...@@ -89,31 +93,22 @@ h1 { ...@@ -89,31 +93,22 @@ h1 {
.qam-search-mobile.wet-asphalt { .qam-search-mobile.wet-asphalt {
border-right-color: #3d566e; border-right-color: #3d566e;
} }
}
@media (max-width: 979px) {
.qam-menu-toggle { .qam-menu-toggle {
float: right; float: right;
margin: 0 0 0 10px; margin: 0 0 0 10px;
} }
}
.qa-logo {
margin: 0 0 0 1px;
}
@media (min-width: 980px) {
.qa-logo {
float: right;
}
}
@media (max-width: 979px) {
.qa-nav-main { .qa-nav-main {
left: auto; left: auto;
right: 0; right: 0;
} }
}
@media (min-width: 980px) { .qa-nav-main-link:before {
.qa-nav-main { margin: 0 0 0 15px;
}
.qa-nav-sub-item {
float: right; float: right;
} }
} }
...@@ -122,9 +117,6 @@ h1 { ...@@ -122,9 +117,6 @@ h1 {
.qa-nav-main-item { .qa-nav-main-item {
float: right; float: right;
} }
}
@media (min-width: 980px) {
.qa-nav-main-item-opp { .qa-nav-main-item-opp {
float: left; float: left;
} }
...@@ -133,18 +125,6 @@ h1 { ...@@ -133,18 +125,6 @@ h1 {
} }
} }
@media (max-width: 979px) {
.qa-nav-main-link:before {
margin: 0 0 0 15px;
}
}
@media (max-width: 979px) {
.qa-nav-sub-item {
float: right;
}
}
.qam-account-items-wrapper { .qam-account-items-wrapper {
float: left; float: left;
} }
...@@ -247,13 +227,7 @@ h1 { ...@@ -247,13 +227,7 @@ h1 {
.qa-top-users-label .qa-user-link { .qa-top-users-label .qa-user-link {
float: right; float: right;
} }
@media (min-width: 980px) {
.qa-top-users-label .qa-user-link:hover:after, .qa-top-users-label .qa-user-link:focus:after {
-ms-transform: translate(-80px, 0);
-webkit-transform: translate(-80px, 0);
transform: translate(-80px, 0);
}
}
.qa-top-users-label .qa-user-link:before { .qa-top-users-label .qa-user-link:before {
left: auto; left: auto;
right: -5px; right: -5px;
...@@ -265,6 +239,12 @@ h1 { ...@@ -265,6 +239,12 @@ h1 {
left: 0; left: 0;
border-right: 7px solid #e74c3c; border-right: 7px solid #e74c3c;
} }
.qa-top-users-label .qa-user-link:hover:after, .qa-top-users-label .qa-user-link:focus:after {
-ms-transform: translate(-80px, 0);
-webkit-transform: translate(-80px, 0);
transform: translate(-80px, 0);
}
} }
.qa-top-users-label .qa-user-link.qa-user-favorited { .qa-top-users-label .qa-user-link.qa-user-favorited {
padding-right: 22px; padding-right: 22px;
...@@ -300,8 +280,7 @@ h1 { ...@@ -300,8 +280,7 @@ h1 {
float: left; float: left;
clear: left; clear: left;
} }
}
@media (min-width: 980px) {
.qa-template-user .qa-part-form-profile { .qa-template-user .qa-part-form-profile {
float: right; float: right;
} }
...@@ -370,13 +349,6 @@ h1 { ...@@ -370,13 +349,6 @@ h1 {
border-bottom: 0; border-bottom: 0;
} }
@media (min-width: 980px) {
.qa-a-item-main {
float: right;
margin: 0 20px 0 0;
}
}
.qa-a-item-avatar { .qa-a-item-avatar {
right: auto; right: auto;
left: 20px; left: 20px;
...@@ -396,6 +368,11 @@ h1 { ...@@ -396,6 +368,11 @@ h1 {
left: auto; left: auto;
right: 20px; right: 20px;
} }
.qa-a-item-main {
float: right;
margin: 0 20px 0 0;
}
} }
.qa-a-selection .qa-waiting { .qa-a-selection .qa-waiting {
margin: -7px -7px 0 0; margin: -7px -7px 0 0;
...@@ -436,49 +413,39 @@ h1 { ...@@ -436,49 +413,39 @@ h1 {
margin-left: 8px; margin-left: 8px;
} }
@media (min-width: 980px) {
.qam-footer-col {
float: right;
}
}
@media (min-width: 480px) { @media (min-width: 480px) {
.qa-nav-footer { .qa-nav-footer {
float: right; float: right;
} }
}
.qa-nav-footer-item {
float: right;
}
.qa-nav-footer-link {
padding: 0 0 0 5px;
border-width: 0 0 0 1px;
}
@media (min-width: 480px) {
.qa-attribution { .qa-attribution {
float: left; float: left;
border-left: 1px solid rgba(255, 255, 255, 0.5); border-left: 1px solid rgba(255, 255, 255, 0.5);
} }
}
@media (min-width: 480px) {
.qam-attribution { .qam-attribution {
float: left; float: left;
padding: 0 5px 0 0; padding: 0 5px 0 0;
} }
} }
.qa-nav-footer-item {
float: right;
}
.qa-nav-footer-link {
padding: 0 0 0 5px;
border-width: 0 0 0 1px;
}
@media (min-width: 980px) { @media (min-width: 980px) {
.qa-main { .qa-main {
float: right; float: right;
} }
}
@media (min-width: 980px) {
.qa-sidepanel { .qa-sidepanel {
float: left; float: left;
} }
.qam-footer-col {
float: right;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment