diff --git a/app/styles/app/layouts/sidebar.sass b/app/styles/app/layouts/sidebar.sass index 1aa909e5..ca5f2394 100644 --- a/app/styles/app/layouts/sidebar.sass +++ b/app/styles/app/layouts/sidebar.sass @@ -1,15 +1,40 @@ $sb-grey: #f2f2f2 $sb-font-size: 14px +@mixin colorSidebarTiles($color) + border-color: $color + a + color: $color + .tile--sidebar - padding: 0 - // border-left: 8px solid # + height: auto + padding: 0.6em 0.5em + margin-bottom: .46rem background-color: $white - border-bottom: 6px solid #FAF9F7 + border-radius: 0 + border-left: 8px solid + + + &.failed, + &.errored + @include colorSidebarTiles($fail-color) + &.passed + @include colorSidebarTiles($pass-color) + &.started, + &.created, + &.received + @include colorSidebarTiles($created-color) + h2, p + margin: 0 font-size: $sb-font-size font-weight: 400 + h2 + display: inline-block + a:hover + text-decoration: underline + .tabnav--sidebar font-size: $sb-font-size @@ -25,8 +50,9 @@ $sb-font-size: 14px color: $teal1 .sidebar-list - margin-top: 1rem + margin-top: 1.4rem ul @include resetul + background-color: #FAF9F7 diff --git a/app/templates/repos.hbs b/app/templates/repos.hbs index f8a12605..70c1ed99 100644 --- a/app/templates/repos.hbs +++ b/app/templates/repos.hbs @@ -12,7 +12,7 @@ {{#if isLoaded}} {{#collection 'repos-list' content=this}} {{#with view.repo as repo}} -
+

{{#if repo.slug}}