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:
Diffstat (limited to 'app/assets/stylesheets/framework/common.scss')
-rw-r--r--app/assets/stylesheets/framework/common.scss35
1 files changed, 29 insertions, 6 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index cc7a45e1c82..d033a076832 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -1,3 +1,32 @@
+// stylelint-disable length-zero-no-unit
+:root {
+ --performance-bar-height: 0px;
+ --system-header-height: 0px;
+ --top-bar-height: 0px;
+ --system-footer-height: 0px;
+ --mr-review-bar-height: 0px;
+}
+
+.with-performance-bar {
+ --performance-bar-height: #{$performance-bar-height};
+}
+
+.with-system-header {
+ --system-header-height: #{$system-header-height};
+}
+
+.with-top-bar {
+ --top-bar-height: #{$top-bar-height};
+}
+
+.with-system-footer {
+ --system-footer-height: #{$system-footer-height};
+}
+
+.review-bar-visible {
+ --mr-review-bar-height: #{$mr-review-bar-height};
+}
+
/** COLORS **/
.cgray { color: $gl-text-color; }
.clgray { color: $gray-200; }
@@ -253,12 +282,6 @@ li.note {
}
}
-img.emoji {
- height: 16px;
- vertical-align: top;
- width: 20px;
-}
-
.chart {
overflow: hidden;
height: 220px;