Commit ecbbbca0 authored by Martin Wortschack's avatar Martin Wortschack Committed by Fatih Acet

Onboarding welcome page

- Add styles for blue popovers
- Add render_if_exists to help menu for "Learn GitLab" menu item
parent dfe59c75
...@@ -10,6 +10,26 @@ ...@@ -10,6 +10,26 @@
color: $gray-600; color: $gray-600;
} }
} }
&.blue {
background-color: $blue-600;
.popover-body {
color: $white-light;
}
&.bs-popover-bottom {
.arrow::after {
border-bottom-color: $blue-600;
}
}
&.bs-popover-top {
.arrow::after {
border-top-color: $blue-600;
}
}
}
} }
.mr-popover { .mr-popover {
...@@ -18,3 +38,16 @@ ...@@ -18,3 +38,16 @@
line-height: 1.33; line-height: 1.33;
} }
} }
.onboarding-welcome-page {
.popover {
min-width: auto;
max-width: 40%;
.popover-body {
padding-top: $gl-padding;
padding-bottom: $gl-padding;
font-size: $gl-font-size-small;
}
}
}
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
- if current_user_menu?(:help) - if current_user_menu?(:help)
%li %li
= link_to _("Help"), help_path = link_to _("Help"), help_path
= render_if_exists "shared/learn_gitlab_menu_item"
%li.divider %li.divider
%li %li
= link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback" = link_to _("Submit feedback"), "https://about.gitlab.com/submit-feedback"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment