Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-11-05 16:22:25 +0300
committerFilipa Lacerda <filipa@gitlab.com>2018-11-05 20:16:29 +0300
commit00c7d78d49ab94f963e1e6b0bb0428b395aa036a (patch)
treef47cf4df964198346333aab6f597f6abbe4cf2bf /app/assets/stylesheets/pages/builds.scss
parent3eb57ceccd3b75c34993c77e329f7f08000f118f (diff)
[ci skip] Renders a warning block for archieved job
When the job is archieved we render a affixed warning on the top of the job log
Diffstat (limited to 'app/assets/stylesheets/pages/builds.scss')
-rw-r--r--app/assets/stylesheets/pages/builds.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/builds.scss b/app/assets/stylesheets/pages/builds.scss
index 1449723de52..81cb519883b 100644
--- a/app/assets/stylesheets/pages/builds.scss
+++ b/app/assets/stylesheets/pages/builds.scss
@@ -55,9 +55,29 @@
@include build-trace();
}
+ .archived-sticky {
+ top: $header-height;
+ border-radius: 2px 2px 0 0;
+ color: $orange-600;
+ background-color: $orange-100;
+ border: 1px solid $border-gray-normal;
+ border-bottom: 0;
+ padding: 3px 12px;
+ margin: auto;
+ align-items: center;
+
+ .with-performance-bar & {
+ top: $header-height + $performance-bar-height;
+ }
+ }
+
.top-bar {
@include build-trace-top-bar(35px);
+ &.has-archived-block {
+ top: $header-height + $performance-bar-height + 28px;
+ }
+
&.affix {
top: $header-height;