wizard_custom.scss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437
  1. @import 'wizard_variables';
  2. .custom-wizard {
  3. background-color: initial;
  4. .wizard-step-contents {
  5. position: relative;
  6. display: inline-block;
  7. width: 100%;
  8. }
  9. .wizard-step-description {
  10. line-height: 1.7;
  11. i {
  12. margin-right: 7px;
  13. }
  14. .image-container {
  15. padding: 0 20px;
  16. margin: 50px 0;
  17. display: flex;
  18. justify-content: space-between;
  19. flex-wrap: wrap;
  20. a {
  21. cursor: pointer;
  22. }
  23. span {
  24. display: block;
  25. text-align: center;
  26. max-width: 140px;
  27. color: #333;
  28. }
  29. &.group {
  30. padding: 0;
  31. margin: 0;
  32. width: 130px;
  33. height: 130px;
  34. }
  35. }
  36. img.large {
  37. width: 150;
  38. padding: 25px;;
  39. }
  40. img.small {
  41. width: 100;
  42. padding: 15px;
  43. }
  44. img.x-small {
  45. width: 50px;
  46. height: 50px;
  47. padding: 3px;
  48. }
  49. label {
  50. display: block;
  51. text-align: center;
  52. }
  53. .inline-list > * {
  54. display: inline-block;
  55. }
  56. .tip {
  57. position: absolute;
  58. bottom: 0;
  59. font-style: italic;
  60. margin-bottom: 20px;
  61. img {
  62. width: 30px;
  63. height: 30px;
  64. vertical-align: middle;
  65. padding-bottom: 5px;
  66. }
  67. }
  68. }
  69. .wizard-column .wizard-step-banner {
  70. width: initial;
  71. max-width: 660px;
  72. max-height: 300px;
  73. margin-bottom: 0;
  74. }
  75. .control-group {
  76. display: inline-block;
  77. vertical-align: top;
  78. margin-right: 20px;
  79. .controls {
  80. margin: 5px 0;
  81. }
  82. input {
  83. width: 200px;
  84. line-height: 24px;
  85. }
  86. ul {
  87. padding: 0;
  88. }
  89. }
  90. .wizard-step-form .wizard-btn {
  91. display: block;
  92. margin: 20px 0;
  93. }
  94. .wizard-column .wizard-field .input-area {
  95. margin: 0.5em 0;
  96. }
  97. img.emoji {
  98. width: 20px;
  99. height: 20px;
  100. vertical-align: middle;
  101. }
  102. .combo-box ul {
  103. padding: 0;
  104. }
  105. .wizard-buttons > a, .wizard-buttons > button, .spinner {
  106. display: inline-block;
  107. vertical-align: middle;
  108. }
  109. .spinner.small {
  110. margin-right: 10px;
  111. }
  112. }
  113. .step-message {
  114. position: absolute;
  115. top: 0;
  116. left: 0;
  117. right: 0;
  118. height: 0;
  119. line-height: 0;
  120. text-align: center;
  121. transition: all .2s;
  122. z-index: 2;
  123. &.success {
  124. height: 60px;
  125. line-height: 60px;
  126. background-color: #009900;
  127. color: #ffffff;
  128. }
  129. &.error {
  130. height: 60px;
  131. line-height: 60px;
  132. background-color: #e45735;
  133. color: #ffffff;
  134. }
  135. }
  136. .p-list-box {
  137. max-width: 550px;
  138. position: relative;
  139. margin: 10px 0;
  140. .spinner {
  141. position: absolute;
  142. right: 50%;
  143. top: 50%;
  144. }
  145. .p-text {
  146. margin-bottom: 5px;
  147. }
  148. ul {
  149. border: 1px solid #e9e9e9;
  150. padding: 0;
  151. margin: 0;
  152. list-style: none;
  153. height: 95px;
  154. overflow: scroll;
  155. }
  156. li {
  157. padding: 6px 12px;
  158. cursor: pointer;
  159. background-color: #fff;
  160. display: flex;
  161. &:hover, &.selected {
  162. background-color: #eee;
  163. }
  164. label {
  165. flex: 1 1 auto;
  166. cursor: pointer;
  167. }
  168. i {
  169. margin-right: 5px;
  170. }
  171. }
  172. .no-results {
  173. padding: 15px;
  174. }
  175. .default {
  176. margin: 0 auto;
  177. top: 50%;
  178. transform: translateY(-50%);
  179. position: absolute;
  180. width: 100%;
  181. text-align: center;
  182. color: #919191;
  183. }
  184. }
  185. .spinner {
  186. margin: 20px auto 20px auto;
  187. position: relative;
  188. -webkit-animation: rotate-forever 1s infinite linear;
  189. animation: rotate-forever 1s infinite linear;
  190. height: 30px;
  191. width: 30px;
  192. border: 4px solid #ccc;
  193. border-right-color: transparent;
  194. border-radius: 50%;
  195. &.small {
  196. width: 10px;
  197. height: 10px;
  198. margin: 0;
  199. display: inline-block;
  200. }
  201. }
  202. .user-selector-field.wizard-field {
  203. div.ac-wrap div.item a.remove, .remove-link {
  204. margin-left: 4px;
  205. font-size: 11px;
  206. line-height: 10px;
  207. padding: 1.5px 1.5px 1.5px 2.5px;
  208. border-radius: 12px;
  209. width: 10px;
  210. display: inline-block;
  211. border: 1px solid #e9e9e9;
  212. &:hover {
  213. background-color: #f2ab9a;
  214. border: 1px solid #ec8972;
  215. text-decoration: none;
  216. color: #e45735;
  217. }
  218. }
  219. div.ac-wrap {
  220. width: 98.5% !important;
  221. overflow: auto;
  222. max-height: 150px;
  223. background-color: white;
  224. border: 1px solid #e9e9e9;
  225. padding: 5px 4px 1px 4px;
  226. div.item {
  227. float: left;
  228. margin-bottom: 4px;
  229. margin-right: 10px;
  230. span {
  231. height: 24px;
  232. display: inline-block;
  233. line-height: 20px;
  234. }
  235. }
  236. .ac-collapsed-button {
  237. float: left;
  238. border-radius: 20px;
  239. position: relative;
  240. top: -2px;
  241. margin-right: 10px;
  242. }
  243. input[type="text"] {
  244. float: left;
  245. margin-bottom: 4px;
  246. height: 24px;
  247. display: block;
  248. border: 0;
  249. padding: 0;
  250. box-shadow: none;
  251. }
  252. }
  253. }
  254. img.avatar {
  255. border-radius: 50%;
  256. vertical-align: middle;
  257. }
  258. .autocomplete {
  259. z-index: 999999;
  260. position: absolute;
  261. width: 240px;
  262. background-color: white;
  263. border: 1px solid #e9e9e9;
  264. ul {
  265. list-style: none;
  266. padding: 0;
  267. margin: 0;
  268. li {
  269. .d-users {
  270. color: #333;
  271. padding: 0 2px;
  272. }
  273. border-bottom: 1px solid #e9e9e9;
  274. a {
  275. padding: 5px;
  276. display: block;
  277. white-space: nowrap;
  278. overflow: hidden;
  279. text-overflow: ellipsis;
  280. font-size: 14px;
  281. text-decoration: none;
  282. img {
  283. margin-right: 5px;
  284. }
  285. span.username {
  286. color: #000;
  287. vertical-align: middle;
  288. }
  289. span.name {
  290. font-size: 11px;
  291. vertical-align: middle;
  292. }
  293. &.selected {
  294. background-color: #d1f0ff;
  295. }
  296. &:hover {
  297. background-color: #ffffa6;
  298. text-decoration: none;
  299. }
  300. }
  301. }
  302. }
  303. }
  304. .wizard-column .checkbox-field {
  305. float: left;
  306. &> label {
  307. float: right;
  308. }
  309. &> .input-area {
  310. float: left;
  311. margin: 15px 20px !important;
  312. input {
  313. cursor: pointer;
  314. transform: scale(1.3);
  315. }
  316. }
  317. }
  318. .wizard-column .wizard-field {
  319. clear: both;
  320. margin-bottom: 1em;
  321. .field-label {
  322. font-weight: 400;
  323. }
  324. .field-description {
  325. color: #333;
  326. img {
  327. width: 40px;
  328. height: 40px;
  329. vertical-align: middle;
  330. padding-bottom: 5px;
  331. margin-right: 10px;
  332. }
  333. input {
  334. margin: 0 5px;
  335. }
  336. }
  337. }
  338. .checkbox-field.invalid .input-area {
  339. padding: 3px;
  340. border: 4px solid red;
  341. }
  342. @keyframes rotate-forever {
  343. 0% {
  344. transform: rotate(0deg);
  345. }
  346. 100% {
  347. transform: rotate(360deg);
  348. }
  349. }
  350. .p-text {
  351. &.bronze {
  352. color: #cd7f32;
  353. }
  354. &.silver {
  355. color: #c0c0c0;
  356. }
  357. &.gold {
  358. color: rgb(231, 195, 0);
  359. }
  360. }
  361. .textarea-field textarea {
  362. height: 19em;
  363. }