diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2018-06-06 15:49:06 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2018-06-06 15:49:06 +0000 |
commit | 0dd7563b7c91141f545432e9082906ebb196a38d (patch) | |
tree | 251414680a4278bbe79835b828ec8783be133854 /app/assets/stylesheets/pages | |
parent | 6c5c383361f0e1cd8cfb9ca671a58abcdf4a6c0b (diff) | |
parent | 4223beff2539df96f5dcba56c6b57504d925ab6a (diff) | |
download | gitlab-ce-0dd7563b7c91141f545432e9082906ebb196a38d.tar.gz |
Merge branch 'ide-merge-requests-components' into 'master'
Show merge requests in IDE
Closes #45184
See merge request gitlab-org/gitlab-ce!19318
Diffstat (limited to 'app/assets/stylesheets/pages')
-rw-r--r-- | app/assets/stylesheets/pages/repo.scss | 66 |
1 files changed, 60 insertions, 6 deletions
diff --git a/app/assets/stylesheets/pages/repo.scss b/app/assets/stylesheets/pages/repo.scss index ffa8d13b09c..3c7edb0d4bb 100644 --- a/app/assets/stylesheets/pages/repo.scss +++ b/app/assets/stylesheets/pages/repo.scss @@ -458,14 +458,10 @@ width: auto; margin-right: 0; - a { + > a, + > button { height: 60px; } - - a:hover, - a:focus { - text-decoration: none; - } } .projects-sidebar { @@ -1135,6 +1131,11 @@ .avatar { flex: 0 0 40px; } + + .ide-merge-requests-dropdown.dropdown-menu { + width: 385px; + max-height: initial; + } } .ide-sidebar-project-title { @@ -1143,6 +1144,10 @@ .sidebar-context-title { white-space: nowrap; } + + .ide-sidebar-branch-title { + min-width: 50px; + } } .ide-external-link { @@ -1274,3 +1279,52 @@ .ide-job-header { min-height: 60px; } + +.ide-merge-requests-dropdown { + .nav-links li { + width: 50%; + padding-left: 0; + padding-right: 0; + + a { + text-align: center; + + &:not(.active) { + background-color: $gray-light; + } + } + } + + .dropdown-input { + padding-left: $gl-padding; + padding-right: $gl-padding; + + .fa { + right: 26px; + } + } + + .btn-link { + padding-top: $gl-padding; + padding-bottom: $gl-padding; + } +} + +.ide-merge-request-current-icon { + min-width: 18px; +} + +.ide-merge-requests-empty { + height: 230px; +} + +.ide-merge-requests-dropdown-content { + min-height: 230px; + max-height: 470px; +} + +.ide-merge-request-project-path { + font-size: 12px; + line-height: 16px; + color: $gl-text-color-secondary; +} |