Commit 5b3cb536 by marco

visual cleanup for discussion home bar

parent 747102cf
...@@ -719,26 +719,25 @@ body.discussion { ...@@ -719,26 +719,25 @@ body.discussion {
@include transition(all .2s ease-out); @include transition(all .2s ease-out);
&:hover { &:hover {
background-color: $gray-l3; background-color: $white;
} }
} }
.icon {
display: block;
position: absolute;
padding: 15px 23px;
color: $gray-l1;
font-size: 28px;
z-index: 100;
opacity: 1;
@include transition(all .2s ease-out);
}
.home { .home {
border-radius: 3px 0 0 0; border-radius: 3px 0 0 0;
box-shadow: -1px 0 0 #aaa inset; box-shadow: -1px 0 0 #aaa inset;
cursor: pointer; cursor: pointer;
.home-icon {
display: block;
position: absolute;
top: 30%;
left: 30%;
color: $gray-l1;
font-size: 28px;
z-index: 100;
opacity: 1;
@include transition(all .2s ease-out);
}
} }
.browse { .browse {
...@@ -837,7 +836,7 @@ body.discussion { ...@@ -837,7 +836,7 @@ body.discussion {
color: #333; color: #333;
text-shadow: 0 1px 0 $white-t3; text-shadow: 0 1px 0 $white-t3;
opacity: 0.0; opacity: 0.0;
@include transition(opacity .2s linear 0s); @include transition(opacity .1s linear 0s);
} }
.drop-arrow { .drop-arrow {
font-size: 16px; font-size: 16px;
...@@ -852,16 +851,13 @@ body.discussion { ...@@ -852,16 +851,13 @@ body.discussion {
.browse-topic-drop-icon { .browse-topic-drop-icon {
display: block; display: block;
position: absolute;
top: 21px;
left: 50%;
z-index: 100; z-index: 100;
width: 29px;
height: 16px;
margin-left: -12px;
background: url(../images/browse-icon.png) no-repeat;
opacity: 1.0; opacity: 1.0;
@include transition(none); @include transition(none);
.icon{
padding: 15px 24px;
}
} }
.browse-topic-drop-menu-wrapper { .browse-topic-drop-menu-wrapper {
...@@ -2607,7 +2603,7 @@ body.discussion { ...@@ -2607,7 +2603,7 @@ body.discussion {
float:right; float:right;
padding-right: 5px; padding-right: 5px;
font-style: italic; font-style: italic;
cursor:pointer; cursor: pointer;
margin-right: $baseline/2; margin-right: $baseline/2;
opacity: 0.8; opacity: 0.8;
...@@ -2687,7 +2683,8 @@ display:none; ...@@ -2687,7 +2683,8 @@ display:none;
} }
.notflagged .icon { .notflagged .icon {
display: block; display: block;
color: $gray-l2;
float: left; float: left;
margin: 3px; margin: 3px;
width: 10px; width: 10px;
......
...@@ -2,11 +2,13 @@ ...@@ -2,11 +2,13 @@
<div class="browse-search"> <div class="browse-search">
<div class="home"> <div class="home">
<a href="#" class="home-icon"> <a href="#" class="home-icon">
<i class="icon-home"></i> <i class="icon icon-home"></i>
</a> </a>
</div> </div>
<div class="browse is-open"> <div class="browse is-open">
<a href="#" class="browse-topic-drop-icon"></a> <a href="#" class="browse-topic-drop-icon">
<i class="icon icon-reorder"></i>
</a>
<a href="#" class="browse-topic-drop-btn"><span class="current-board">Show All Discussions</span> <span class="drop-arrow">▾</span></a> <a href="#" class="browse-topic-drop-btn"><span class="current-board">Show All Discussions</span> <span class="drop-arrow">▾</span></a>
</div> </div>
<%include file="_filter_dropdown.html" /> <%include file="_filter_dropdown.html" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment