wizard_custom.scss 6.6 KB

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