From 405f91d2b8eb7c8276341ac44fcabc758fc89343 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Sun, 29 Mar 2015 18:15:54 -0700 Subject: Refactor star/fork buttons --- app/assets/stylesheets/pages/projects.scss | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) (limited to 'app/assets/stylesheets') diff --git a/app/assets/stylesheets/pages/projects.scss b/app/assets/stylesheets/pages/projects.scss index de39fc3e9fb..5bd725d1222 100644 --- a/app/assets/stylesheets/pages/projects.scss +++ b/app/assets/stylesheets/pages/projects.scss @@ -48,24 +48,21 @@ .project-home-row { @extend .clearfix; margin-bottom: 15px; - + &.project-home-row-top { - margin-bottom: 11px; + margin-bottom: 15px; } .project-home-desc { font-size: 16px; line-height: 1.3; + margin-right: 215px; } .project-home-desc { float: left; color: #666; } - - .btn-action-count { - margin-left: 5px; - } } .visibility-level-label { @@ -75,9 +72,26 @@ color: inherit; } } - + .project-repo-buttons { - margin-top: -5px; + margin-top: -3px; + position: absolute; + right: 0; + width: 260px; + text-align: right; + + .btn { + font-weight: bold; + font-size: 14px; + line-height: 16px; + + .count { + padding-left: 10px; + border-left: 1px solid #ccc; + display: inline-block; + margin-left: 10px; + } + } } } -- cgit v1.2.3