fix dashboard avatars and filter padding
This commit is contained in:
parent
c38a64bc2f
commit
e350f7bb04
|
@ -24,7 +24,6 @@
|
||||||
|
|
||||||
@import "app/animation/tractor";
|
@import "app/animation/tractor";
|
||||||
|
|
||||||
@import "app/modules/section";
|
|
||||||
@import "app/modules/loader";
|
@import "app/modules/loader";
|
||||||
@import "app/modules/tiles";
|
@import "app/modules/tiles";
|
||||||
@import "app/modules/buttons";
|
@import "app/modules/buttons";
|
||||||
|
|
|
@ -168,6 +168,7 @@
|
||||||
padding: 0.3em 0.5em
|
padding: 0.3em 0.5em
|
||||||
color: $white
|
color: $white
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
line-height: 1
|
||||||
.icon-trigger path,
|
.icon-trigger path,
|
||||||
.icon-eye path
|
.icon-eye path
|
||||||
fill: $white
|
fill: $white
|
||||||
|
@ -192,6 +193,7 @@
|
||||||
padding: 0.3em .5em 0.4em
|
padding: 0.3em .5em 0.4em
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
color: $grey-dark
|
color: $grey-dark
|
||||||
|
line-height: 1.4
|
||||||
&:hover
|
&:hover
|
||||||
color: $white
|
color: $white
|
||||||
background-color: $teal-dark
|
background-color: $teal-dark
|
||||||
|
|
|
@ -22,6 +22,11 @@
|
||||||
margin: auto
|
margin: auto
|
||||||
max-width: 1024px
|
max-width: 1024px
|
||||||
|
|
||||||
|
.dashboard-filter
|
||||||
|
padding: 0 $column-gutter/2
|
||||||
|
@media #{$medium-up}
|
||||||
|
padding: 0
|
||||||
|
|
||||||
.dashboard-active
|
.dashboard-active
|
||||||
padding: 0
|
padding: 0
|
||||||
margin: 3rem 0 5rem
|
margin: 3rem 0 5rem
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
.section
|
|
||||||
font-size: $font-size-normal
|
|
||||||
|
|
||||||
.section--white
|
|
||||||
background-color: $white
|
|
||||||
|
|
||||||
.section--maxheight
|
|
||||||
height: 3.3em
|
|
|
@ -5,7 +5,7 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<a href="" title="">
|
<a href="" title="">
|
||||||
{{#if selected }}
|
{{#if selected }}
|
||||||
<img src="https://placehold.it/30x30" alt="">
|
<img src="{{selected.avatar_url}}" alt="{{org.login}}">
|
||||||
{{#if selected.name}}
|
{{#if selected.name}}
|
||||||
{{selected.name}}
|
{{selected.name}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
@ -19,11 +19,11 @@
|
||||||
</div>
|
</div>
|
||||||
<ul class="filter-dropdown">
|
<ul class="filter-dropdown">
|
||||||
{{#if selected }}
|
{{#if selected }}
|
||||||
<li><a href="#" title="" {{action 'select'}}>All organizations</a></li>
|
<li><a title="" {{action 'select'}}>All organizations</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#each org in orgs}}
|
{{#each org in orgs}}
|
||||||
<li>
|
<li>
|
||||||
<a href="#" title="" {{action 'select' org}}><img src="https://placehold.it/30x30" alt="">
|
<a title="" {{action 'select' org}}><img src="{{org.avatar_url}}" alt="">
|
||||||
{{#if org.name }}
|
{{#if org.name }}
|
||||||
{{org.name}}
|
{{org.name}}
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="filters" class="section section--white section--maxheight">
|
<div id="filters" class="dashboard-filter">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{{orgs-filter orgs=orgs selected=selectedOrg action="selectOrg"}}
|
{{orgs-filter orgs=orgs selected=selectedOrg action="selectOrg"}}
|
||||||
<div class="float-right">
|
<div class="float-right">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user