summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-04-05 16:25:45 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-04-05 16:25:45 +0000
commit941e00121c30baf0bf4e348d0d2b9b28891754d7 (patch)
treea23969242113e6656d530ca20c3558ba55938176 /app/assets/stylesheets
parente36f835d4a648377068be73e6b82d8ffb9994425 (diff)
parenteb95100c066d2d70a2128ea9ac6776f720b0777a (diff)
downloadgitlab-ce-941e00121c30baf0bf4e348d0d2b9b28891754d7.tar.gz
Merge branch 'ce-9262-move-project-search-bar-into-modal-dialog-on-operations-dashboard-page' into 'master'
CE backport: Add reusable project_selector component See merge request gitlab-org/gitlab-ce!25036
Diffstat (limited to 'app/assets/stylesheets')
-rw-r--r--app/assets/stylesheets/components/project_list_item.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/app/assets/stylesheets/components/project_list_item.scss b/app/assets/stylesheets/components/project_list_item.scss
new file mode 100644
index 00000000000..8e7c2c4398c
--- /dev/null
+++ b/app/assets/stylesheets/components/project_list_item.scss
@@ -0,0 +1,24 @@
+.project-list-item {
+ &:not(:disabled):not(.disabled) {
+ &:focus,
+ &:active,
+ &:focus:active {
+ outline: none;
+ box-shadow: none;
+ }
+ }
+}
+
+// When housed inside a modal, the edge of each item
+// should extend to the edge of the modal.
+.modal-body {
+ .project-list-item {
+ border-radius: 0;
+ margin-left: -$gl-padding;
+ margin-right: -$gl-padding;
+
+ .project-namespace-name-container {
+ overflow: hidden;
+ }
+ }
+}