Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_dialog.scss 3.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. .dialog {
  2. box-sizing: border-box;
  3. height: auto;
  4. min-height: 131px;
  5. overflow: visible;
  6. visibility: visible;
  7. width: 400px;
  8. h1, h2, h3, h4, h5, h6 {
  9. color: $auiDialogColor;
  10. }
  11. .aui {
  12. &-dialog2 {
  13. &-header, &-footer {
  14. background-color: $auiDialogBg;
  15. border: none;
  16. }
  17. &-header {
  18. border-bottom: 1px solid $auiBorderColor;
  19. border-radius: 5px 5px 0 0;
  20. box-sizing: border-box;
  21. color: #333;
  22. display: table;
  23. font-weight: normal;
  24. height: em(58, 12);
  25. margin-top: -69px;
  26. padding: 0 20px;
  27. width: 100%;
  28. h2 {
  29. font-size: em(20, 12);
  30. font-weight: $dialogTitleFontWeight;
  31. color: $auiDialogColor;
  32. }
  33. &-main {
  34. display: table-cell;
  35. padding-right: 0;
  36. max-width: 400px;
  37. overflow: hidden;
  38. text-overflow: ellipsis;
  39. vertical-align: middle;
  40. white-space: nowrap;
  41. }
  42. }
  43. &-footer {
  44. border-top: 1px solid $auiBorderColor;
  45. border-radius: 0 0 5px 5px;
  46. box-sizing: border-box;
  47. height: 51px;
  48. overflow: hidden;
  49. padding: 10px 20px;
  50. width: 100%;
  51. &:empty {
  52. height: 5px;
  53. padding: 0;
  54. }
  55. }
  56. &-content {
  57. background-color: $auiDialogBg;
  58. box-sizing: border-box;
  59. color: $auiDialogColor;
  60. font-size: em(14, 12);
  61. overflow: auto;
  62. max-height: 100%;
  63. padding: 20px;
  64. p,span, h3 {
  65. font-weight: $labelFontWeight;
  66. }
  67. &:last-child {
  68. border-bottom-right-radius: 5px;
  69. border-bottom-left-radius: 5px;
  70. }
  71. &:first-child {
  72. border-top-right-radius: 5px;
  73. border-top-left-radius: 5px;
  74. }
  75. }
  76. }
  77. &-hide {
  78. display: none;
  79. }
  80. }
  81. .input-control {
  82. background-color: $auiDialogContentBg;
  83. color: $auiDialogColor;
  84. }
  85. .form-control:not(:last-child) {
  86. border-bottom: 1px solid $auiBorderColor;
  87. }
  88. }
  89. @media all and (max-width: 420px) {
  90. .aui-dialog2-small .aui-dialog2-content {
  91. height: 100%;
  92. }
  93. }
  94. .modal-dialog-form {
  95. margin-top: 5px !important;
  96. .input-control {
  97. background: $modalMockAKInputBackground;
  98. border: $modalMockAKInputBorder;
  99. color: inherit;
  100. }
  101. &-error {
  102. margin-bottom: 8px;
  103. }
  104. }
  105. .modal-dialog-footer {
  106. font-size: $modalButtonFontSize;
  107. }
  108. /**
  109. * Styling inline dialog errors.
  110. */
  111. .inline-dialog-error {
  112. margin-top: 16px;
  113. &-text {
  114. color: $dialogErrorText;
  115. margin-bottom: 8px;
  116. text-align: center;
  117. }
  118. &-button {
  119. display: block;
  120. margin: 16px auto 0 auto;
  121. }
  122. }