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/utilities.scss')
-rw-r--r--app/assets/stylesheets/utilities.scss35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/assets/stylesheets/utilities.scss b/app/assets/stylesheets/utilities.scss
index 024162eba3e..c22a1ae1187 100644
--- a/app/assets/stylesheets/utilities.scss
+++ b/app/assets/stylesheets/utilities.scss
@@ -172,3 +172,38 @@
width: 50%;
}
}
+
+.gl-sm-mr-3 {
+ @include media-breakpoint-up(sm) {
+ margin-right: $gl-spacing-scale-3;
+ }
+}
+
+.gl-mb-n3 {
+ margin-bottom: -$gl-spacing-scale-3;
+}
+
+// Will be moved to @gitlab/ui in https://gitlab.com/gitlab-org/gitlab-ui/-/issues/1408
+$gl-line-height-42: px-to-rem(42px);
+
+.gl-line-height-42 {
+ line-height: $gl-line-height-42;
+}
+
+.gl-w-grid-size-30 {
+ width: $grid-size * 30;
+}
+
+.gl-w-grid-size-40 {
+ width: $grid-size * 40;
+}
+
+// Will be moved to @gitlab/ui in https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2209
+.gl-max-w-none\! {
+ max-width: none !important;
+}
+
+// Will be moved to @gitlab/ui in https://gitlab.com/gitlab-org/gitlab-ui/-/merge_requests/2209
+.gl-max-h-none\! {
+ max-height: none !important;
+}