UX: Improving header scalability for large font themes

This commit is contained in:
Kris 2018-02-16 15:58:10 -05:00
parent 61930e092a
commit 35a49a240a
3 changed files with 24 additions and 22 deletions

View File

@ -33,11 +33,11 @@
.panel {
float: right;
position: relative;
display: flex;
align-items: center;
}
.login-button, button.sign-up-button {
float: left;
margin-top: 7px;
padding: 6px 10px;
.fa { margin-right: 3px; }
}
@ -62,14 +62,17 @@
margin: 0 0 0 5px;
list-style: none;
> li {
float: left;
}
.icon {
position: relative;
display: block;
padding: 3px;
display: flex;
align-items: center;
justify-content: center;
width: 2.2857em;
height: 2.2857em;
padding: .2143em;
color: dark-light-choose(scale-color($header_primary, $lightness: 50%), $header_primary);
text-decoration: none;
cursor: pointer;
@ -77,8 +80,10 @@
border-left: 1px solid transparent;
border-right: 1px solid transparent;
transition: all linear .15s;
img.avatar {
width: 2.2857em;
height: 2.2857em;
}
&:hover {
color: $primary;
background-color: $primary-low;
@ -119,8 +124,7 @@
}
.d-icon {
width: 32px;
height: 32px;
width: 100%;
font-size: $font-up-4;
line-height: $line-height-large;
display: inline-block;

View File

@ -44,7 +44,6 @@
overflow-y: auto;
overflow-x: hidden;
}
}
.menu-links.columned {
@ -69,7 +68,6 @@
margin-left: 0.5em;
color: dark-light-choose($primary-medium, $secondary-medium);
}
}
li.category-link {
@ -77,7 +75,7 @@
background-color: transparent;
display: inline-flex;
margin: 0.25em 0.5em;
width: 44%;
width: 43%;
.badge-notification {
color: dark-light-choose($primary-medium, $secondary-medium);
background-color: transparent;
@ -90,7 +88,6 @@
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 80%;
&.bar, &.bullet {
color: $primary;
}

View File

@ -5,7 +5,7 @@
.d-header {
left: 0;
padding-top: 3px;
height: 60px;
height: 4.2857em;
.d-icon-home {
padding: 8px;
font-size: $font-up-5;
@ -17,9 +17,10 @@
}
}
@media all
and (max-width : 570px) {
.extra-info-wrapper {display: none;}
@media all and (max-width: 570px) {
.extra-info-wrapper {
display: none;
}
}
#main {