From 528b44c320661728cde9ba35d3483e4caf2e5b67 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 27 Mar 2018 15:25:42 +0100 Subject: [PATCH] made active file the current theme color --- app/assets/stylesheets/framework/gitlab_theme.scss | 4 ++++ app/assets/stylesheets/pages/repo.scss | 9 +++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/framework/gitlab_theme.scss b/app/assets/stylesheets/framework/gitlab_theme.scss index 7f3f7e67d76..05cb0196ced 100644 --- a/app/assets/stylesheets/framework/gitlab_theme.scss +++ b/app/assets/stylesheets/framework/gitlab_theme.scss @@ -199,6 +199,10 @@ .branch-header-title { color: $color-700; } + + .ide-file-list .file.file-active { + color: $color-700; + } } body { diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss index 3166d0d58df..34340853165 100644 --- a/app/assets/stylesheets/pages/repo.scss +++ b/app/assets/stylesheets/pages/repo.scss @@ -20,7 +20,6 @@ display: flex; height: calc(100vh - #{$header-height}); margin-top: 40px; - color: $almost-black; border-top: 1px solid $white-dark; border-bottom: 1px solid $white-dark; @@ -46,6 +45,10 @@ background: $link-active-background; } + &.file-active { + font-weight: $gl-font-weight-bold; + } + .ide-file-name { flex: 1; white-space: nowrap; @@ -723,9 +726,7 @@ } .ide-view { - height: calc( - 100vh - #{$header-height + $performance-bar-height + $flash-height} - ); + height: calc(100vh - #{$header-height + $performance-bar-height + $flash-height}); } } }