summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-07-10 14:36:23 +0000
committerAnnabel Dunstone Gray <annabel.m.gray@gmail.com>2019-07-10 14:36:23 +0000
commit83094e5e9a11315b1e3ab8d6a733481dcd98d8d9 (patch)
tree73e1a6b0d566925df2a2657abe49e6962ca89461 /app/assets
parent473d36d1acc016b6cc494d1568bc31371531c724 (diff)
parent0ea42f7d283b213db02f23d3db4a250032b68502 (diff)
downloadgitlab-ce-83094e5e9a11315b1e3ab8d6a733481dcd98d8d9.tar.gz
Merge branch 'mf-modal-style-border-radius' into 'master'
Adjust modal border radius to match design spec See merge request gitlab-org/gitlab-ce!30414
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/modal.scss14
-rw-r--r--app/assets/stylesheets/framework/variables.scss1
2 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/modal.scss b/app/assets/stylesheets/framework/modal.scss
index 1d00372d04d..b721b90fbb3 100644
--- a/app/assets/stylesheets/framework/modal.scss
+++ b/app/assets/stylesheets/framework/modal.scss
@@ -90,6 +90,20 @@ body.modal-open {
.modal {
background-color: $black-transparent;
+ .modal-content {
+ border-radius: $modal-border-radius;
+
+ *:first-child {
+ border-top-left-radius: $modal-border-radius;
+ border-top-right-radius: $modal-border-radius;
+ }
+
+ *:last-child {
+ border-bottom-left-radius: $modal-border-radius;
+ border-bottom-right-radius: $modal-border-radius;
+ }
+ }
+
@include media-breakpoint-up(sm) {
.modal-dialog {
margin: 64px auto;
diff --git a/app/assets/stylesheets/framework/variables.scss b/app/assets/stylesheets/framework/variables.scss
index 4521643ce08..c108f45622f 100644
--- a/app/assets/stylesheets/framework/variables.scss
+++ b/app/assets/stylesheets/framework/variables.scss
@@ -806,6 +806,7 @@ Modals
*/
$modal-body-height: 80px;
$modal-border-color: #e9ecef;
+$modal-border-radius: 0.25rem;
$priority-label-empty-state-width: 114px;