make left sidebar tabs more responsive
This commit is contained in:
parent
ea9e9d81c1
commit
aedd0d97fb
|
@ -60,10 +60,11 @@ $sb-font-size: 14px
|
||||||
border-bottom: solid 2px $sb-grey
|
border-bottom: solid 2px $sb-grey
|
||||||
width: 90%
|
width: 90%
|
||||||
margin: auto
|
margin: auto
|
||||||
ul
|
|
||||||
height: 1.7em
|
.active a:after,
|
||||||
li.float-right
|
a:hover:after
|
||||||
padding-right: 0
|
bottom: -4px
|
||||||
|
|
||||||
.icon--plus
|
.icon--plus
|
||||||
&:after
|
&:after
|
||||||
transform: translateX(35%)
|
transform: translateX(35%)
|
||||||
|
@ -73,7 +74,21 @@ $sb-font-size: 14px
|
||||||
.icon--plus:after
|
.icon--plus:after
|
||||||
color: $teal1
|
color: $teal1
|
||||||
&:after
|
&:after
|
||||||
bottom: 0.05em
|
bottom: 0
|
||||||
|
|
||||||
|
@media (min-width: #{upper-bound($large-range)})
|
||||||
|
ul
|
||||||
|
height: 1.7em
|
||||||
|
li
|
||||||
|
padding-right: 1.5em
|
||||||
|
|
||||||
|
@media (max-width: #{upper-bound($large-range)})
|
||||||
|
li
|
||||||
|
display: block !important
|
||||||
|
float: none
|
||||||
|
a
|
||||||
|
padding: 0 0 .35em
|
||||||
|
margin-bottom: .8em
|
||||||
|
|
||||||
|
|
||||||
.sidebar-list
|
.sidebar-list
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</li>
|
</li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
<li id="tab_new" {{bind-attr class="view.classNew :float-right"}}>
|
<li id="tab_new" {{bind-attr class="view.classNew"}}>
|
||||||
{{#link-to "profile" trackEvent="add-repository-from-list" title="Add New Repository"}}
|
{{#link-to "profile" trackEvent="add-repository-from-list" title="Add New Repository"}}
|
||||||
<span class="icon icon--plus"></span>
|
<span class="icon icon--plus"></span>
|
||||||
{{/link-to}}
|
{{/link-to}}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user