2018-10-20 01:30:38 +08:00
|
|
|
@import '/imports/ui/stylesheets/mixins/focus';
|
|
|
|
@import '/imports/ui/stylesheets/variables/_all';
|
|
|
|
@import "/imports/ui/components/modal/simple/styles";
|
|
|
|
|
2018-11-17 03:17:17 +08:00
|
|
|
:root {
|
2018-11-10 06:03:25 +08:00
|
|
|
--modal-margin: 3rem;
|
2018-11-15 02:04:23 +08:00
|
|
|
--title-position-left: 2.2rem;
|
|
|
|
--closeBtn-position-left: 2.5rem;
|
2018-11-10 06:03:25 +08:00
|
|
|
}
|
|
|
|
|
2018-10-20 01:30:38 +08:00
|
|
|
.title {
|
2018-11-15 02:04:23 +08:00
|
|
|
left: var(--title-position-left);
|
2019-05-14 21:15:54 +08:00
|
|
|
right: auto;
|
2018-11-09 02:55:12 +08:00
|
|
|
color: var(--color-gray-dark);
|
2018-11-15 02:04:23 +08:00
|
|
|
font-weight: bold;
|
|
|
|
font-size: var(--font-size-large);
|
|
|
|
text-align: center;
|
2019-05-14 21:15:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
left: auto;
|
|
|
|
right: var(--title-position-left);
|
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.form {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
2019-09-09 22:21:54 +08:00
|
|
|
border-bottom: 1px solid var(--color-gray-lighter);
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
2018-11-17 03:17:17 +08:00
|
|
|
.container {
|
2019-10-02 02:15:49 +08:00
|
|
|
margin: 0 var(--modal-margin) var(--lg-padding-x);
|
2018-11-10 06:03:25 +08:00
|
|
|
}
|
|
|
|
|
2018-11-17 03:17:17 +08:00
|
|
|
.subHeader {
|
2018-11-15 02:04:23 +08:00
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: space-between;
|
2018-11-10 06:03:25 +08:00
|
|
|
color: var(--color-gray-label);
|
|
|
|
font-size: var(--font-size-base);
|
2018-11-15 02:04:23 +08:00
|
|
|
margin-bottom: var(--title-position-left);
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.modal {
|
2018-11-20 03:10:23 +08:00
|
|
|
@extend .modal;
|
|
|
|
padding: var(--jumbo-padding-y);
|
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
|
|
|
|
.overlay {
|
2018-11-20 03:10:23 +08:00
|
|
|
@extend .overlay;
|
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
|
2018-11-20 03:10:23 +08:00
|
|
|
.description {
|
|
|
|
text-align: center;
|
|
|
|
color: var(--color-gray);
|
|
|
|
margin-bottom: var(--jumbo-padding-y)
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
2018-11-20 03:10:23 +08:00
|
|
|
|
2018-10-20 01:30:38 +08:00
|
|
|
.row {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row;
|
|
|
|
flex-grow: 1;
|
|
|
|
justify-content: space-between;
|
2018-11-10 06:03:25 +08:00
|
|
|
margin-bottom: var(--md-padding-x);
|
2019-10-03 22:23:10 +08:00
|
|
|
|
|
|
|
& > :first-child {
|
|
|
|
margin: 0 var(--md-padding-x) 0 0;
|
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
margin: 0 0 0 var(--md-padding-x);
|
|
|
|
}
|
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.col {
|
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-basis: 0;
|
2019-10-03 22:23:10 +08:00
|
|
|
margin: 0;
|
2019-05-14 21:15:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
2019-10-03 22:23:10 +08:00
|
|
|
margin: 0;
|
2019-05-14 21:15:54 +08:00
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.label {
|
2018-11-09 02:55:12 +08:00
|
|
|
color: var(--color-gray-label);
|
2018-11-10 06:03:25 +08:00
|
|
|
font-size: var(--font-size-small);
|
|
|
|
margin-bottom: var(--lg-padding-y);
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.formElement {
|
|
|
|
position: relative;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pullContentRight {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-end;
|
|
|
|
flex-flow: row;
|
|
|
|
}
|
|
|
|
|
2018-11-17 03:17:17 +08:00
|
|
|
.bold {
|
2018-11-20 03:10:23 +08:00
|
|
|
font-weight: bold;
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.closeBtn {
|
2018-11-20 03:10:23 +08:00
|
|
|
position: relative;
|
|
|
|
background-color: var(--color-white);
|
|
|
|
left: var(--closeBtn-position-left);
|
2019-05-14 21:15:54 +08:00
|
|
|
right: auto;
|
2018-11-20 03:10:23 +08:00
|
|
|
bottom: var(--closeBtn-position-left);
|
2018-11-15 02:04:23 +08:00
|
|
|
|
2019-05-14 21:15:54 +08:00
|
|
|
[dir="rtl"] & {
|
|
|
|
left: auto;
|
|
|
|
right: var(--closeBtn-position-left);
|
|
|
|
}
|
|
|
|
|
2018-11-20 03:10:23 +08:00
|
|
|
i {
|
|
|
|
color: var(--color-gray-light);
|
|
|
|
}
|
2019-05-14 21:15:54 +08:00
|
|
|
|
2018-11-20 03:10:23 +08:00
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2018-11-09 02:55:12 +08:00
|
|
|
background-color: var(--color-gray-lighter);
|
2018-11-20 03:10:23 +08:00
|
|
|
i {
|
|
|
|
color: var(--color-gray);
|
2018-10-20 01:30:38 +08:00
|
|
|
}
|
2018-11-20 03:10:23 +08:00
|
|
|
}
|
2018-11-17 03:17:17 +08:00
|
|
|
}
|
2018-10-20 01:30:38 +08:00
|
|
|
|
2018-11-15 02:04:23 +08:00
|
|
|
.header {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
border: none;
|
|
|
|
line-height: var(--title-position-left);
|
|
|
|
margin-bottom: var(--lg-padding-y);
|
2018-11-17 03:17:17 +08:00
|
|
|
}
|
2019-09-09 22:21:54 +08:00
|
|
|
|
|
|
|
.footer {
|
|
|
|
display: flex;
|
2019-10-02 02:15:49 +08:00
|
|
|
margin: var(--sm-padding-x) var(--modal-margin) 0;
|
2019-09-09 22:21:54 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.actions {
|
|
|
|
margin-left: auto;
|
2019-10-03 22:23:10 +08:00
|
|
|
margin-right: 0;
|
2019-09-09 22:21:54 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
margin-right: auto;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
}
|
2019-09-10 21:43:06 +08:00
|
|
|
|
|
|
|
.toggleLabel {
|
|
|
|
margin-right: var(--sm-padding-x);
|
2019-10-03 22:23:10 +08:00
|
|
|
|
|
|
|
[dir="rtl"] & {
|
|
|
|
margin: 0 0 0 var(--sm-padding-x);
|
|
|
|
}
|
2019-09-10 21:43:06 +08:00
|
|
|
}
|