2017-10-06 20:40:41 +00:00
|
|
|
.modal-header {
|
2018-01-09 09:08:28 +00:00
|
|
|
background-color: $modal-body-bg;
|
2017-10-06 20:40:41 +00:00
|
|
|
|
2018-02-17 00:11:36 +00:00
|
|
|
.page-title,
|
|
|
|
.modal-title {
|
2020-02-25 15:08:50 +00:00
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
2018-03-22 20:02:22 +00:00
|
|
|
.modal-title-with-label span {
|
|
|
|
vertical-align: middle;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
2017-10-06 20:40:41 +00:00
|
|
|
}
|
2018-02-20 19:43:37 +00:00
|
|
|
|
2018-10-02 21:58:57 +00:00
|
|
|
.modal-title {
|
2019-07-05 18:08:20 +00:00
|
|
|
line-height: $gl-line-height-24;
|
|
|
|
|
|
|
|
// leave enough space for the close icon
|
2018-10-02 21:58:57 +00:00
|
|
|
&.mw-100,
|
|
|
|
&.w-100 {
|
2019-07-05 18:08:20 +00:00
|
|
|
margin-right: -$modal-header-padding-x;
|
|
|
|
padding-right: $modal-header-padding-x;
|
2018-10-02 21:58:57 +00:00
|
|
|
}
|
|
|
|
}
|
2019-07-12 00:12:22 +00:00
|
|
|
|
|
|
|
.close {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
line-height: $gl-line-height;
|
|
|
|
color: $gray-900;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2017-10-06 20:40:41 +00:00
|
|
|
}
|
|
|
|
|
2016-04-29 17:02:30 +00:00
|
|
|
.modal-body {
|
2017-11-06 20:32:51 +00:00
|
|
|
background-color: $modal-body-bg;
|
2018-01-04 13:15:27 +00:00
|
|
|
line-height: $line-height-base;
|
2016-04-29 17:02:30 +00:00
|
|
|
position: relative;
|
2019-07-05 19:20:49 +00:00
|
|
|
min-height: $modal-body-height;
|
2019-11-11 18:06:27 +00:00
|
|
|
padding: #{2 * $grid-size};
|
2018-01-08 16:37:00 +00:00
|
|
|
text-align: left;
|
2019-05-02 14:17:03 +00:00
|
|
|
white-space: normal;
|
2016-04-29 17:02:30 +00:00
|
|
|
|
|
|
|
.form-actions {
|
2017-10-06 20:40:41 +00:00
|
|
|
margin: #{2 * $grid-size} #{-2 * $grid-size} #{-2 * $grid-size};
|
2016-04-29 17:02:30 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-danger {
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-04-29 17:02:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-09 09:08:28 +00:00
|
|
|
.modal-footer {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
|
2019-07-10 07:19:07 +00:00
|
|
|
.btn {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2020-01-20 15:09:18 +00:00
|
|
|
.btn + .btn,
|
2019-05-20 23:27:51 +00:00
|
|
|
.btn + .btn-group,
|
2019-11-11 18:06:27 +00:00
|
|
|
.btn-group + .btn,
|
|
|
|
.btn-group + .btn-group {
|
2018-01-09 09:08:28 +00:00
|
|
|
margin-left: $grid-size;
|
|
|
|
}
|
|
|
|
|
2019-06-10 12:31:16 +00:00
|
|
|
.btn-group .btn + .btn {
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
|
2018-04-09 15:26:28 +00:00
|
|
|
@include media-breakpoint-down(xs) {
|
2018-01-09 09:08:28 +00:00
|
|
|
flex-direction: column;
|
|
|
|
|
2019-06-10 12:31:16 +00:00
|
|
|
.btn-group .btn + .btn {
|
|
|
|
margin-left: -1px;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
2018-01-09 09:08:28 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-29 17:02:30 +00:00
|
|
|
body.modal-open {
|
|
|
|
overflow: hidden;
|
2020-12-07 09:09:42 +00:00
|
|
|
padding-right: 0 !important;
|
2016-04-29 17:02:30 +00:00
|
|
|
}
|
|
|
|
|
2017-12-11 18:43:28 +00:00
|
|
|
.modal {
|
|
|
|
background-color: $black-transparent;
|
|
|
|
|
2019-07-05 16:44:46 +00:00
|
|
|
.modal-content {
|
2019-07-09 20:00:40 +00:00
|
|
|
border-radius: $modal-border-radius;
|
|
|
|
|
2019-07-11 19:21:29 +00:00
|
|
|
> :first-child {
|
2019-07-09 20:00:40 +00:00
|
|
|
border-top-left-radius: $modal-border-radius;
|
|
|
|
border-top-right-radius: $modal-border-radius;
|
|
|
|
}
|
|
|
|
|
2019-07-11 19:21:29 +00:00
|
|
|
> :last-child {
|
2019-07-09 20:00:40 +00:00
|
|
|
border-bottom-left-radius: $modal-border-radius;
|
|
|
|
border-bottom-right-radius: $modal-border-radius;
|
|
|
|
}
|
2019-07-05 16:44:46 +00:00
|
|
|
}
|
2017-10-24 13:48:41 +00:00
|
|
|
}
|