Commit 3084a5ba authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch 'ide-file-row-hover-style' into 'master'

Added row hover styles to IDE file list

Closes #44293

See merge request gitlab-org/gitlab-ce!17906
parents b9d6232f 528b44c3
...@@ -199,6 +199,10 @@ ...@@ -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 {
......
...@@ -20,7 +20,6 @@ ...@@ -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;
...@@ -43,7 +42,11 @@ ...@@ -43,7 +42,11 @@
cursor: pointer; cursor: pointer;
&.file-open { &.file-open {
background: $white-normal; background: $link-active-background;
}
&.file-active {
font-weight: $gl-font-weight-bold;
} }
.ide-file-name { .ide-file-name {
...@@ -72,7 +75,10 @@ ...@@ -72,7 +75,10 @@
margin-right: -8px; margin-right: -8px;
} }
&:hover { &:hover,
&:focus {
background: $link-active-background;
.ide-new-btn { .ide-new-btn {
display: block; display: block;
} }
...@@ -720,9 +726,7 @@ ...@@ -720,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}
);
} }
} }
} }
......
---
title: Added hover background color to IDE file list rows
merge_request:
author:
type: changed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment