jiti-meet/css/modals/_dialog.scss

143 lines
3.2 KiB
SCSS
Raw Permalink Normal View History

.dialog {
2017-11-28 02:29:00 +00:00
box-sizing: border-box;
2016-09-14 15:11:53 +00:00
height: auto;
2017-11-28 02:29:00 +00:00
min-height: 131px;
overflow: visible;
visibility: visible;
width: 400px;
2016-09-14 15:11:53 +00:00
2016-11-15 14:37:09 +00:00
h1, h2, h3, h4, h5, h6 {
color: $auiDialogColor;
2016-09-27 02:15:24 +00:00
}
.aui {
&-dialog2 {
&-header, &-footer {
background-color: $auiDialogBg;
border: none;
}
&-header {
border-bottom: 1px solid $auiBorderColor;
2017-11-28 02:29:00 +00:00
border-radius: 5px 5px 0 0;
box-sizing: border-box;
color: #333;
display: table;
font-weight: normal;
height: em(58, 12);
margin-top: -69px;
padding: 0 20px;
width: 100%;
h2 {
font-size: em(20, 12);
font-weight: $dialogTitleFontWeight;
color: $auiDialogColor;
}
&-main {
2017-11-28 02:29:00 +00:00
display: table-cell;
padding-right: 0;
2017-11-28 02:29:00 +00:00
max-width: 400px;
overflow: hidden;
text-overflow: ellipsis;
vertical-align: middle;
white-space: nowrap;
}
}
&-footer {
border-top: 1px solid $auiBorderColor;
2017-11-28 02:29:00 +00:00
border-radius: 0 0 5px 5px;
box-sizing: border-box;
height: 51px;
overflow: hidden;
padding: 10px 20px;
width: 100%;
&:empty {
height: 5px;
padding: 0;
}
}
&-content {
2018-03-13 04:45:00 +00:00
background-color: $auiDialogBg;
2017-11-28 02:29:00 +00:00
box-sizing: border-box;
color: $auiDialogColor;
2017-11-28 02:29:00 +00:00
font-size: em(14, 12);
overflow: auto;
max-height: 100%;
padding: 20px;
p,span, h3 {
font-weight: $labelFontWeight;
}
&:last-child {
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;
}
&:first-child {
border-top-right-radius: 5px;
border-top-left-radius: 5px;
}
}
2016-09-14 15:11:53 +00:00
}
&-hide {
display: none;
}
2016-09-14 15:11:53 +00:00
}
2018-03-13 04:45:00 +00:00
.input-control {
background-color: $auiDialogContentBg;
color: $auiDialogColor;
}
.form-control:not(:last-child) {
border-bottom: 1px solid $auiBorderColor;
}
}
2017-11-28 02:29:00 +00:00
@media all and (max-width: 420px) {
.aui-dialog2-small .aui-dialog2-content {
height: 100%;
}
}
.modal-dialog-form {
2017-06-14 18:41:22 +00:00
margin-top: 5px !important;
.input-control {
background: $modalMockAKInputBackground;
border: $modalMockAKInputBorder;
color: inherit;
}
&-error {
margin-bottom: 8px;
}
}
2017-06-14 18:41:22 +00:00
/**
* Styling inline dialog errors.
*/
.inline-dialog-error {
margin-top: 16px;
&-text {
color: $dialogErrorText;
margin-bottom: 8px;
text-align: center;
}
&-button {
display: block;
margin: 16px auto 0 auto;
}
}