2020-09-02 02:46:13 +08:00
|
|
|
@import "../../../stylesheets/variables/breakpoints";
|
|
|
|
@import "/imports/ui/stylesheets/variables/placeholders";
|
2019-04-08 22:22:22 +08:00
|
|
|
@import "/imports/ui/stylesheets/mixins/_indicators";
|
2016-09-01 03:52:17 +08:00
|
|
|
|
2019-08-28 04:51:08 +08:00
|
|
|
:root {
|
|
|
|
--popout-rtl-left: -0.5rem;
|
|
|
|
--modal-title-fw: 400;
|
|
|
|
}
|
|
|
|
|
2016-09-01 03:52:17 +08:00
|
|
|
.modal {
|
2020-09-02 02:46:13 +08:00
|
|
|
@extend %highContrastOutline;
|
2019-04-08 22:22:22 +08:00
|
|
|
outline-style: solid;
|
2016-09-01 03:52:17 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-self: flex-start;
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: calc(var(--line-height-computed) / 2) var(--line-height-computed);
|
2019-04-08 22:22:22 +08:00
|
|
|
|
2017-12-19 19:13:37 +08:00
|
|
|
@include mq($small-only) {
|
2018-10-19 04:37:14 +08:00
|
|
|
width: 100%;
|
2018-12-14 20:33:58 +08:00
|
|
|
height: 100%;
|
2017-12-19 19:13:37 +08:00
|
|
|
}
|
2016-09-01 03:52:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.content {
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-text);
|
2016-09-01 03:52:17 +08:00
|
|
|
font-weight: normal;
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: var(--line-height-computed) 0;
|
2016-09-01 03:52:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.header {
|
|
|
|
display: flex;
|
2018-10-19 04:37:14 +08:00
|
|
|
padding: var(--line-height-computed) 0;
|
|
|
|
border-bottom: var(--border-size) solid var(--color-gray-lighter);
|
2016-09-01 03:52:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
flex: 0 1 35%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
@extend %text-elipsis;
|
|
|
|
flex: 1;
|
|
|
|
margin: 0;
|
2019-08-28 04:51:08 +08:00
|
|
|
font-weight: var(--modal-title-fw);
|
2016-09-01 03:52:17 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
%btn {
|
|
|
|
flex: 0 1 48%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dismiss,
|
|
|
|
.confirm {
|
|
|
|
@extend %btn;
|
|
|
|
}
|
|
|
|
|
2019-05-24 23:32:31 +08:00
|
|
|
.popout {
|
|
|
|
> i {
|
2019-08-28 04:51:08 +08:00
|
|
|
bottom: var(--border-size);
|
|
|
|
left: var(--sm-padding-x);
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
left: var(--popout-rtl-left);
|
|
|
|
transform: rotateY(180deg);
|
|
|
|
}
|
2019-05-24 23:32:31 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-01 03:52:17 +08:00
|
|
|
.dismiss {
|
|
|
|
}
|
|
|
|
|
|
|
|
.confirm {
|
2018-10-19 04:37:14 +08:00
|
|
|
color: var(--color-white) !important;
|
|
|
|
background-color: var(--color-link) !important;
|
2016-09-01 03:52:17 +08:00
|
|
|
}
|