UX: remove current username from header

This commit is contained in:
Jeff Atwood 2014-09-07 14:01:51 -07:00
parent 3cf433ab1e
commit 65e941f652
6 changed files with 0 additions and 45 deletions

View File

@ -33,13 +33,6 @@
{{/if}}
<div class='panel clearfix'>
{{#unless showExtraInfo}}
<div class='current-username'>
{{#if currentUser}}
<span class='username'><a {{bind-attr href="currentUser.path"}}>{{currentUser.displayName}}</a></span>
{{/if}}
</div>
{{/unless}}
{{#unless currentUser}}
{{#if showSignUpButton}}
<button {{action showCreateAccount}} class='btn btn-primary btn-small sign-up-button'>

View File

@ -39,17 +39,6 @@
position: relative;
}
.current-username {
float: left;
a {
color: $header_primary;
font-size: 14px;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
}
button.login-button, button.sign-up-button {
float: left;
margin-top: 7px;

View File

@ -233,11 +233,6 @@
position: relative;
}
.d-header .current-username {
float: right;
}
.d-header .icons > li {
float: right;
}

View File

@ -34,9 +34,6 @@ and (max-width : 570px) {
.full-width {
min-width: 0;
}
.d-header .current-username a {display: none;}
}
header {

View File

@ -11,23 +11,10 @@
padding-right: 3px;
padding-top: 3px;
}
.current-username {
a {
display:block;
margin-top: 10px;
}
}
}
@media all
and (max-width : 570px) {
.d-header {
.current-username {
a {
display:none;
}
}
}
.extra-info-wrapper {display: none;}
}

View File

@ -13,12 +13,6 @@
.panel {
margin-right: 20px;
}
.current-username {
display: none;
a {
line-height: 40px;
}
}
.icons {
.badge-notification {