ac3ab187d2
Add a margin on buttons that are "in focus" to avoid being cut off by other components
166 lines
2.7 KiB
SCSS
Executable File
166 lines
2.7 KiB
SCSS
Executable File
@import "/imports/ui/components/modal/simple/styles";
|
|
|
|
.title {
|
|
left: var(--title-position-left);
|
|
right: auto;
|
|
color: var(--color-gray-dark);
|
|
font-weight: bold;
|
|
font-size: var(--font-size-large);
|
|
text-align: center;
|
|
|
|
[dir="rtl"] & {
|
|
left: auto;
|
|
right: var(--title-position-left);
|
|
}
|
|
}
|
|
|
|
.form {
|
|
display: flex;
|
|
flex-flow: column;
|
|
border-bottom: 1px solid var(--color-gray-lighter);
|
|
}
|
|
|
|
.container {
|
|
margin: 0 var(--modal-margin) var(--lg-padding-x);
|
|
}
|
|
|
|
.subHeader {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-grow: 1;
|
|
justify-content: space-between;
|
|
color: var(--color-gray-label);
|
|
font-size: var(--font-size-base);
|
|
margin-bottom: var(--title-position-left);
|
|
}
|
|
|
|
.modal {
|
|
@extend .modal;
|
|
padding: var(--jumbo-padding-y);
|
|
}
|
|
|
|
.overlay {
|
|
@extend .overlay;
|
|
}
|
|
|
|
.description {
|
|
text-align: center;
|
|
color: var(--color-gray);
|
|
margin-bottom: var(--jumbo-padding-y)
|
|
}
|
|
|
|
.row {
|
|
display: flex;
|
|
flex-flow: row;
|
|
flex-grow: 1;
|
|
justify-content: space-between;
|
|
margin-bottom: var(--md-padding-x);
|
|
|
|
& > :first-child {
|
|
margin: 0 var(--md-padding-x) 0 0;
|
|
|
|
[dir="rtl"] & {
|
|
margin: 0 0 0 var(--md-padding-x);
|
|
}
|
|
}
|
|
}
|
|
|
|
.col {
|
|
display: flex;
|
|
flex-grow: 1;
|
|
flex-basis: 0;
|
|
margin: 0;
|
|
|
|
[dir="rtl"] & {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.label {
|
|
color: var(--color-gray-label);
|
|
font-size: var(--font-size-small);
|
|
margin-bottom: var(--lg-padding-y);
|
|
}
|
|
|
|
.formElement {
|
|
position: relative;
|
|
display: flex;
|
|
flex-flow: column;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.pullContentRight {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
flex-flow: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.closeBtn {
|
|
position: relative;
|
|
background-color: var(--color-white);
|
|
left: var(--closeBtn-position-left);
|
|
right: auto;
|
|
bottom: var(--closeBtn-position-left);
|
|
|
|
[dir="rtl"] & {
|
|
left: auto;
|
|
right: var(--closeBtn-position-left);
|
|
}
|
|
|
|
i {
|
|
color: var(--color-gray-light);
|
|
}
|
|
|
|
&:focus,
|
|
&:hover {
|
|
background-color: var(--color-gray-lighter);
|
|
i {
|
|
color: var(--color-gray);
|
|
}
|
|
}
|
|
}
|
|
|
|
.header {
|
|
margin: 0;
|
|
padding: 0;
|
|
border: none;
|
|
line-height: var(--title-position-left);
|
|
margin-bottom: var(--lg-padding-y);
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
margin: var(--sm-padding-x) var(--modal-margin) 0;
|
|
}
|
|
|
|
.buttonCancel {
|
|
margin: 0 0.25rem;
|
|
}
|
|
|
|
.buttonApply {
|
|
margin: 0 0.25rem;
|
|
}
|
|
|
|
.actions {
|
|
margin-left: auto;
|
|
margin-right: 0;
|
|
|
|
[dir="rtl"] & {
|
|
margin-right: auto;
|
|
margin-left: 3px;
|
|
}
|
|
}
|
|
|
|
.toggleLabel {
|
|
margin-right: var(--sm-padding-x);
|
|
|
|
[dir="rtl"] & {
|
|
margin: 0 0 0 var(--sm-padding-x);
|
|
}
|
|
}
|