2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-05 08:59:27 +08:00

Cleanup & debug .nav-stacked styles

This commit is contained in:
minusfive 2017-08-23 16:16:18 -04:00 committed by Robin Ward
parent 950c9e50ac
commit 38eef177d4
4 changed files with 87 additions and 116 deletions

View file

@ -107,24 +107,34 @@
}
}
.user-navigation .nav-stacked .glyph {
display: none;
// float: right;
// display: block;
// position: static;
}
.user-navigation {
display: table-cell;
vertical-align: top;
width: 170px;
padding-left: 30px;
h3 {
color: $primary;
margin: 20px 0 10px 0;
.nav-stacked {
background-color: transparent;
li {
border-bottom: none;
a {
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 40%));
}
a.active {
color: $primary;
font-weight: bold;
background-color: transparent;
&:after {
display: none;
}
}
&.archive {
padding-left: 15px;
}
}
}
}
.viewing-self .user-main .about.collapsed-info {
@ -174,7 +184,7 @@
th {
text-align: left;
border-bottom: 3px solid $primary-low;
border-bottom: 3px solid $primary-low;
padding: 0 0 10px 0;
color: dark-light-choose(scale-color($primary, $lightness: 50%), scale-color($secondary, $lightness: 50%));
font-weight: normal;
@ -182,7 +192,7 @@
td {
padding: 10px 0 10px 0;
border-bottom: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
}
}
@ -194,7 +204,7 @@
}
.user-invite-controls {
background-color: $primary-low;
background-color: $primary-low;
padding: 5px 10px 0px 0;
height: 35px;
}
@ -226,8 +236,8 @@
.secondary {
background: scale-color($secondary, $lightness: -5%);
border-top: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
border-top: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
font-size: 0.929em;
.btn { padding: 3px 12px; }
@ -276,8 +286,8 @@
transition: margin .15s linear;
blockquote {
background-color: $secondary-low;
border-left-color: $secondary-low;
background-color: $secondary-low;
border-left-color: $secondary-low;
}
h1 {
@ -404,7 +414,7 @@
padding: 0 0 2px 0;
margin-top: 0;
background: rgba($secondary, .85);
border-bottom: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
.bio { display: none; }
.primary {
@ -461,7 +471,7 @@
.item {
padding: 20px 8px 15px 8px;
background-color: $secondary;
border-bottom: 1px solid $primary-low;
border-bottom: 1px solid $primary-low;
}
.type {
color: $primary;
@ -637,31 +647,3 @@
float: right;
margin-bottom: 5px;
}
.user-main .nav-stacked {
&.activity-list {
padding-top: 20px;
}
background-color: transparent;
li {
border-bottom: none;
> a {
padding: 8px 13px;
color: dark-light-choose(scale-color($primary, $lightness: 40%), scale-color($secondary, $lightness: 40%));
}
}
li > a.active {
color: $primary;
font-weight: bold;
background-color: transparent;
}
li > a.active:after {
display: none;
}
li.archive {
padding-left: 15px;
}
}