From 4eb3aa25ad0e69d0c3cd7df194f6db4e623a9415 Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Tue, 24 Mar 2015 12:22:56 +0100 Subject: [PATCH] styles for profile repo list --- app/styles/app/layouts/profile.sass | 48 +++++++++++++++++++++++++++-- app/styles/app/modules/icons.sass | 5 +-- app/templates/profile/show.hbs | 20 +++++++----- 3 files changed, 58 insertions(+), 15 deletions(-) diff --git a/app/styles/app/layouts/profile.sass b/app/styles/app/layouts/profile.sass index 1d262b83..fece423a 100644 --- a/app/styles/app/layouts/profile.sass +++ b/app/styles/app/layouts/profile.sass @@ -26,7 +26,6 @@ .sync-button margin-top: .5em - .profile-getstarted position: relative margin-bottom: 3rem @@ -57,7 +56,6 @@ padding: 0 3.2em border-right: solid 2px #f3f2f2 - .profile-orgs, .profile-user @@ -99,4 +97,48 @@ margin: 1rem 0 2rem p.profile-user-last - margin-top: .5em \ No newline at end of file + margin-top: .5em + + +.profile-hooklist + @include resetul + font-size: $font-size-m + color: #7a7a7a + li + clear: both + margin-bottom: .8em + overflow: auto + > div + width: grid-calc(5, 24) + .switch + display: inline-block + .profile-settings + display: inline-block + margin-left: 1rem; + padding: .2em .2em .2em .5em; + height: 28px; + vertical-align: bottom; + .icon + width: 14px + height: 14px + +.profile-repo + @extend %border-radius-4px + width: grid-calc(19, 24) + padding: .25em .5em .3em + span + display: none + margin-left: 2rem + font-size: $font-size-sm + color: #484849 + &:hover + background-color: #ededec + span + display: inline-block + .is-active &:hover + background-color: #e2eee2 + @media #{$medium-up} + height: 30px + + + diff --git a/app/styles/app/modules/icons.sass b/app/styles/app/modules/icons.sass index 89843ee7..131bd5fa 100644 --- a/app/styles/app/modules/icons.sass +++ b/app/styles/app/modules/icons.sass @@ -39,7 +39,7 @@ .icon-cog, .icon--cog - background-image: inline-image('icons/settings.svg') + background-image: inline-image('svg/settings_gray.svg') .icon-star background-image: inline-image('dashboard/star-off.svg') @@ -148,9 +148,6 @@ .icon-hook-off background-image: inline-image('svg/hooks-off.svg') -.icon-cog - background-image: inline-image('svg/settings_gray.svg') - .icon--plus &:after content: "+" diff --git a/app/templates/profile/show.hbs b/app/templates/profile/show.hbs index 4487065e..85933281 100644 --- a/app/templates/profile/show.hbs +++ b/app/templates/profile/show.hbs @@ -29,15 +29,19 @@