Drop right side bar, move content to left side bar Move user avatar and name from the left nav bar to the left of the publisher
191 lines
3.9 KiB
SCSS
191 lines
3.9 KiB
SCSS
/* Fixed backgrounds are a common practice to avoid height issues */
|
|
.left-navbar-fixed-sub-background {
|
|
background: $sidebars-sub-background;
|
|
position: fixed;
|
|
height: 100%;
|
|
}
|
|
|
|
.left-navbar-fixed-background {
|
|
background: $sidebars-background;
|
|
border-right: 1px solid $light-grey;
|
|
position: fixed;
|
|
height: 100%;
|
|
}
|
|
|
|
.left-navbar {
|
|
background: $sidebars-background;
|
|
border-right: 1px solid $light-grey;
|
|
a {
|
|
color: $link-grey;
|
|
font-weight: bold;
|
|
text-decoration: none;
|
|
outline: 0;
|
|
}
|
|
|
|
ul {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
&#stream_selection {
|
|
margin: 0px -15px; /* -15px overrides Bootstrap's default gutter width */
|
|
}
|
|
}
|
|
|
|
.hoverable {
|
|
border-bottom: 1px solid $border-grey;
|
|
color: $link-grey;
|
|
display: block;
|
|
font-weight: normal;
|
|
padding: 10px 20px;
|
|
|
|
&:hover, &:hover a, &:hover [class^="entypo"] {
|
|
background-color: $blue;
|
|
border-color: $blue;
|
|
color: $white;
|
|
}
|
|
}
|
|
|
|
.all_aspects a.hoverable.selected,
|
|
.followed-tags-sidebar a.hoverable.selected,
|
|
li.selected > a.hoverable {
|
|
color: $white;
|
|
background: $gray;
|
|
border-color: $gray;
|
|
}
|
|
|
|
#aspects_list,
|
|
#tags_list {
|
|
background: $left-navbar-drawer-background;
|
|
li { padding: 0; }
|
|
.entypo-check { visibility: hidden; }
|
|
.entypo-check.selected { visibility: visible; }
|
|
.selectable {
|
|
display: block;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
padding: 10px 20px 10px 40px;
|
|
}
|
|
.hoverable > .action {
|
|
position: relative;
|
|
bottom: 30px;
|
|
right: 20px;
|
|
visibility: hidden;
|
|
}
|
|
.hoverable:hover > .action { visibility: visible; }
|
|
}
|
|
|
|
#tags_list {
|
|
#new_tag_following {
|
|
padding: 10px 20px 10px 30px;
|
|
}
|
|
|
|
/* ---- override app/stylesheets/vendor/autoSuggest.css ---- */
|
|
.as-original{ width: 100%; }
|
|
.tag_input {
|
|
line-height: $font-size-base;
|
|
vertical-align: top;
|
|
width: 100%;
|
|
}
|
|
|
|
.as-result {
|
|
margin-top: -1px;
|
|
margin-left: 1px;
|
|
}
|
|
|
|
.as-list {
|
|
em {
|
|
background-color: #aabbcc;
|
|
color: black;
|
|
padding: 0px;
|
|
}
|
|
|
|
color: black;
|
|
position: static; /* override absolute */
|
|
margin: 0px;
|
|
border-radius: 0px 0px 3px 3px;
|
|
box-shadow: 0px 1px 1px #666;
|
|
}
|
|
|
|
.as-result-item.active {
|
|
color: black;
|
|
text-shadow: none;
|
|
background-color: $background-blue;
|
|
border-color: $background-blue;
|
|
}
|
|
/* ---- end override app/stylesheets/vendor/autoSuggest.css ---- */
|
|
}
|
|
|
|
.info-bar {
|
|
margin-top: 25px;
|
|
|
|
.section {
|
|
margin-bottom: 20px;
|
|
|
|
> .title {
|
|
border-bottom: 1px solid $border-grey;
|
|
padding-bottom: 5px;
|
|
|
|
h5 {
|
|
color: $text-dark-grey;
|
|
font-size: $font-size-base;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.content {
|
|
color: $text-grey;
|
|
font-size: $font-size-small;
|
|
line-height: 18px;
|
|
padding: 10px 0;
|
|
|
|
p,
|
|
ul {
|
|
margin: 0;
|
|
}
|
|
|
|
ul {
|
|
margin-bottom: 5px;
|
|
padding-left: 0;
|
|
li { list-style: none; }
|
|
}
|
|
|
|
.btn-link {
|
|
font-size: $font-size-small;
|
|
padding-left: 0;
|
|
}
|
|
|
|
> #invite_code {
|
|
box-sizing: border-box;
|
|
font-size: $font-size-small;
|
|
height: 30px;
|
|
width: 100%;
|
|
}
|
|
|
|
> .right-service-icons {
|
|
padding: 10px {
|
|
bottom: 0;
|
|
}
|
|
text-align: center;
|
|
|
|
.social-media-logos-facebook-24x24,
|
|
.social-media-logos-twitter-24x24,
|
|
.social-media-logos-tumblr-24x24,
|
|
.social-media-logos-wordpress-24x24 {
|
|
height: 24px;
|
|
width: 24px;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.stream-faces {
|
|
display: flex;
|
|
flex-flow: row wrap;
|
|
img { margin: 1px; }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|