made active file the current theme color

This commit is contained in:
Phil Hughes 2018-03-27 15:25:42 +01:00
parent 481dabd976
commit 528b44c320
No known key found for this signature in database
GPG key ID: 32245528C52E0F9F
2 changed files with 9 additions and 4 deletions

View file

@ -199,6 +199,10 @@
.branch-header-title { .branch-header-title {
color: $color-700; color: $color-700;
} }
.ide-file-list .file.file-active {
color: $color-700;
}
} }
body { body {

View file

@ -20,7 +20,6 @@
display: flex; display: flex;
height: calc(100vh - #{$header-height}); height: calc(100vh - #{$header-height});
margin-top: 40px; margin-top: 40px;
color: $almost-black;
border-top: 1px solid $white-dark; border-top: 1px solid $white-dark;
border-bottom: 1px solid $white-dark; border-bottom: 1px solid $white-dark;
@ -46,6 +45,10 @@
background: $link-active-background; background: $link-active-background;
} }
&.file-active {
font-weight: $gl-font-weight-bold;
}
.ide-file-name { .ide-file-name {
flex: 1; flex: 1;
white-space: nowrap; white-space: nowrap;
@ -723,9 +726,7 @@
} }
.ide-view { .ide-view {
height: calc( height: calc(100vh - #{$header-height + $performance-bar-height + $flash-height});
100vh - #{$header-height + $performance-bar-height + $flash-height}
);
} }
} }
} }