wizard_custom.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. .custom-wizard {
  2. background-color: initial;
  3. .wizard-step-description {
  4. line-height: 1.7;
  5. ul {
  6. margin: 0;
  7. padding: 0;
  8. list-style: none;
  9. }
  10. i {
  11. margin-right: 7px;
  12. }
  13. }
  14. .wizard-column .wizard-step-banner {
  15. width: initial;
  16. max-width: 660px;
  17. }
  18. .control-group {
  19. display: inline-block;
  20. vertical-align: top;
  21. margin-right: 20px;
  22. .controls {
  23. margin: 5px 0;
  24. }
  25. input {
  26. width: 200px;
  27. line-height: 24px;
  28. }
  29. ul {
  30. padding: 0;
  31. }
  32. }
  33. .wizard-step-form .wizard-btn {
  34. display: block;
  35. margin: 10px 0;
  36. }
  37. .wizard-column .wizard-field .input-area {
  38. margin: 0.5em 0;
  39. }
  40. img.emoji {
  41. width: 20px;
  42. height: 20px;
  43. vertical-align: middle;
  44. }
  45. }
  46. .step-message {
  47. position: absolute;
  48. top: 0;
  49. left: 0;
  50. right: 0;
  51. height: 0;
  52. line-height: 0;
  53. text-align: center;
  54. transition: all .2s;
  55. &.success {
  56. height: 60px;
  57. line-height: 60px;
  58. background-color: #009900;
  59. color: #ffffff;
  60. }
  61. &.error {
  62. height: 60px;
  63. line-height: 60px;
  64. background-color: #e45735;
  65. color: #ffffff;
  66. }
  67. }
  68. .p-list-box {
  69. max-width: 550px;
  70. position: relative;
  71. margin: 10px 0;
  72. .spinner {
  73. position: absolute;
  74. right: 50%;
  75. top: 50%;
  76. }
  77. .p-text {
  78. margin-bottom: 5px;
  79. }
  80. ul {
  81. border: 1px solid #e9e9e9;
  82. padding: 0;
  83. margin: 0;
  84. list-style: none;
  85. height: 95px;
  86. overflow: scroll;
  87. }
  88. li {
  89. padding: 6px 12px;
  90. cursor: pointer;
  91. background-color: #fff;
  92. display: flex;
  93. &:hover, &.selected {
  94. background-color: #eee;
  95. }
  96. label {
  97. flex: 1 1 auto;
  98. cursor: pointer;
  99. }
  100. i {
  101. margin-right: 5px;
  102. }
  103. }
  104. .no-results {
  105. padding: 15px;
  106. }
  107. .default {
  108. margin: 0 auto;
  109. top: 50%;
  110. transform: translateY(-50%);
  111. position: absolute;
  112. width: 100%;
  113. text-align: center;
  114. color: #919191;
  115. }
  116. }
  117. .spinner {
  118. margin: 20px auto 20px auto;
  119. position: relative;
  120. -webkit-animation: rotate-forever 1s infinite linear;
  121. animation: rotate-forever 1s infinite linear;
  122. height: 30px;
  123. width: 30px;
  124. border: 4px solid #ccc;
  125. border-right-color: transparent;
  126. border-radius: 50%;
  127. &.small {
  128. width: 10px;
  129. height: 10px;
  130. margin: 0;
  131. display: inline-block;
  132. }
  133. }
  134. @keyframes rotate-forever {
  135. 0% {
  136. transform: rotate(0deg);
  137. }
  138. 100% {
  139. transform: rotate(360deg);
  140. }
  141. }