summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-08-09 11:53:22 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-08-12 17:24:42 +0100
commit3e2f2b807148c9dce1f7cc56ec902cf60bc9029c (patch)
tree8036e7368522b6c53377f98dfe33861089e65ee1 /app
parentc85cbc08f7fc43819f7569b7686ee22ce747e7b3 (diff)
downloadgitlab-ce-3e2f2b807148c9dce1f7cc56ec902cf60bc9029c.tar.gz
Adds highlight to collapsible line
In the job log adds a highlight when hovering the collapsible line
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/framework/variables.scss1
-rw-r--r--app/assets/stylesheets/pages/builds.scss20
2 files changed, 21 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss
index c108f45622f..92190f8979e 100644
--- a/app/assets/stylesheets/framework/variables.scss
+++ b/app/assets/stylesheets/framework/variables.scss
@@ -603,6 +603,7 @@ $blame-blue: #254e77;
* Builds
*/
$builds-trace-bg: #111;
+$job-log-highlight-height: 18px;
/*
* Commit Page
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 6fc742871e7..73166940146 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -124,6 +124,26 @@
float: left;
padding-left: $gl-padding-8;
}
+
+ .section-start {
+ display: inline;
+ }
+
+ .section-start,
+ .section-header {
+ &:hover {
+ cursor: pointer;
+
+ &::after {
+ content: '';
+ background-color: rgba($white-light, 0.2);
+ left: 0;
+ right: 0;
+ position: absolute;
+ height: $job-log-highlight-height;
+ }
+ }
+ }
}
.build-header {