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/tmp_utilities.scss')
-rw-r--r--app/assets/stylesheets/tmp_utilities.scss32
1 files changed, 32 insertions, 0 deletions
diff --git a/app/assets/stylesheets/tmp_utilities.scss b/app/assets/stylesheets/tmp_utilities.scss
new file mode 100644
index 00000000000..96464aa5a39
--- /dev/null
+++ b/app/assets/stylesheets/tmp_utilities.scss
@@ -0,0 +1,32 @@
+/**
+ * DISCLAIMER
+ * This is a temporary stylesheet meant to assist in migrating away from desktop-first responsive
+ * CSS utilities.
+ * DO NOT add utils in here unless you are actively taking part in in the migration.
+ * We needed this new file for temporary utils to be defined _after_ the main, non-responsive
+ * GitLab UI util.
+ * This file is scheduled to be removed by the end of 2023.
+ */
+ .gl-sm-w-25p {
+ @include gl-media-breakpoint-up(sm) {
+ width: 25%;
+ }
+}
+
+.gl-sm-w-30p {
+ @include gl-media-breakpoint-up(sm) {
+ width: 30%;
+ }
+}
+
+.gl-sm-w-40p {
+ @include gl-media-breakpoint-up(sm) {
+ width: 40%;
+ }
+}
+
+.gl-sm-w-75p {
+ @include gl-media-breakpoint-up(sm) {
+ width: 75%;
+ }
+}