Minor visual tweaks

This commit is contained in:
Guangcong Luo
2013-05-05 19:26:38 -07:00
parent 2cfd4452d3
commit d87ae18eaf
2 changed files with 3 additions and 4 deletions

View File

@@ -1286,7 +1286,7 @@
}
buf += '</div>';
if (userid === app.user.get('userid')) {
if (userid === app.user.get('userid') || !app.user.get('named')) {
buf += '<div class="buttonbar"><button disabled>Challenge</button> <button disabled>PM</button> <button name="close">Close</close></div>';
} else {
buf += '<div class="buttonbar"><button name="challenge">Challenge</button> <button name="pm">PM</button> <button name="close">Close</close></div>';

View File

@@ -514,12 +514,11 @@ p.or:after {
.mainmenufooter a {
text-decoration: underline;
color: #6688CC;
text-shadow: 1px 0 0 black;
text-shadow: 0 -1px 0 black;
}
.mainmenufooter a:hover {
text-decoration: underline;
color: #99BBFF;
text-shadow: 1px 0 0 black;
}
.pmbox {
@@ -716,7 +715,7 @@ p.or:after {
}
@media (max-width:895px) {
.mainmenu {
padding-bottom: 0;
padding-bottom: 1px;
}
.rightmenu {
position: static;