123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- .dialog {
- box-sizing: border-box;
- height: auto;
- min-height: 131px;
- overflow: visible;
- visibility: visible;
- width: 400px;
-
- h1, h2, h3, h4, h5, h6 {
- color: $auiDialogColor;
- }
-
- .aui {
-
- &-dialog2 {
- &-header, &-footer {
- background-color: $auiDialogBg;
- border: none;
- }
-
- &-header {
- border-bottom: 1px solid $auiBorderColor;
- 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 {
- display: table-cell;
- padding-right: 0;
- max-width: 400px;
- overflow: hidden;
- text-overflow: ellipsis;
- vertical-align: middle;
- white-space: nowrap;
-
- }
- }
-
- &-footer {
- border-top: 1px solid $auiBorderColor;
- 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 {
- background-color: $auiDialogBg;
- box-sizing: border-box;
- color: $auiDialogColor;
- 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;
- }
- }
- }
-
- &-hide {
- display: none;
- }
- }
-
- .input-control {
- background-color: $auiDialogContentBg;
- color: $auiDialogColor;
- }
-
- .form-control:not(:last-child) {
- border-bottom: 1px solid $auiBorderColor;
- }
- }
-
- @media all and (max-width: 420px) {
- .aui-dialog2-small .aui-dialog2-content {
- height: 100%;
- }
- }
-
- .modal-dialog-form {
- margin-top: 5px !important;
-
- .input-control {
- background: $modalMockAKInputBackground;
- border: $modalMockAKInputBorder;
- color: inherit;
- }
-
- &-error {
- margin-bottom: 8px;
- }
- }
- .modal-dialog-footer {
- font-size: $modalButtonFontSize;
- }
-
- /**
- * 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;
- }
- }
|