wizard_custom.scss 7.1 KB

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