forms.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594
  1. .bx-form-advanced-wrapper .bx-form-section-wrapper:first-child {
  2. margin-top:0;
  3. }
  4. .bx-form-advanced-wrapper .bx-form-section-divider:first-child {
  5. border-top:none;
  6. padding-top:0;
  7. }
  8. .bx-form-advanced-wrapper .bx-form-section-divider:first-child .bx-form-section-content {
  9. padding-top:0;
  10. }
  11. .bx-form-advanced-wrapper .bx-form-section-wrapper:last-child .bx-form-section-content {
  12. padding-bottom:0;
  13. }
  14. .bx-form-advanced-wrapper .bx-form-section-wrapper:first-child .bx-form-row-view-wrapper:first-child {
  15. padding-top:0;
  16. }
  17. .bx-form-section-wrapper {
  18. position:relative;
  19. }
  20. .bx-form-section {
  21. padding:0px;
  22. }
  23. .bx-form-section {
  24. margin:0;
  25. border: none;
  26. }
  27. .bx-form-section-header legend {
  28. position:relative;
  29. text-transform:uppercase;
  30. }
  31. .bx-form-section-header legend u {
  32. cursor:pointer;
  33. }
  34. .bx-form-section-header span {
  35. white-space: nowrap;
  36. text-transform: none;
  37. font-size: 0.75rem;
  38. }
  39. .bx-form-section-hidden .bx-form-section-content {
  40. display:none;
  41. }
  42. .bx-form-element-wrapper:first-child {
  43. margin-top:0px;
  44. }
  45. .bx-form-caption {
  46. margin-bottom:5px;
  47. }
  48. .bx-form-required {
  49. color:red;
  50. }
  51. .bx-form-warn {
  52. color:red;
  53. font-style:italic;
  54. }
  55. .bx-form-info {
  56. }
  57. /* section toggler */
  58. .bx-form-collapsable .bx-form-section-toggler {
  59. position:absolute;
  60. left: -2px;
  61. top: 2px;
  62. width:20px;
  63. height:20px;
  64. text-decoration:none;
  65. -moz-transform: rotate(90deg);
  66. -webkit-transform: rotate(90deg);
  67. -ms-transform: rotate(90deg);
  68. -o-transform: rotate(90deg);
  69. -webkit-transition: all 0.5s ease;
  70. -moz-transition: all 0.5s ease;
  71. -ms-transition: all 0.5s ease;
  72. -o-transition: all 0.5s ease;
  73. }
  74. .bx-form-collapsed .bx-form-section-toggler {
  75. -moz-transform: rotate(0deg);
  76. -webkit-transform: rotate(0deg);
  77. -ms-transform: rotate(0deg);
  78. -o-transform: rotate(0deg);
  79. }
  80. .bx-form-section-toggler .sys-icon {
  81. display: inline-block;
  82. vertical-align: top;
  83. margin: 0 0 0 5px;
  84. font-size:0.875rem;
  85. line-height:1.2rem;
  86. }
  87. /* form inputs */
  88. .bx-form-input-wrapper {
  89. position: relative;
  90. }
  91. .bx-form-input-disabled {}
  92. .bx-form-input-slider,
  93. .bx-form-input-doublerange,
  94. .bx-form-input-select_multiple,
  95. .bx-form-input-select,
  96. .bx-form-input-radio_set,
  97. .bx-form-input-checkbox_set,
  98. .bx-form-input-number,
  99. .bx-form-input-time,
  100. .bx-form-input-datepicker,
  101. .bx-form-input-datetime,
  102. .bx-form-input-textarea,
  103. .bx-form-input-password,
  104. .bx-form-input-text {
  105. height:40px;
  106. height:2.5rem;
  107. width:100%;
  108. -moz-box-sizing: border-box;
  109. -ms-box-sizing: border-box;
  110. -webkit-box-sizing: border-box;
  111. box-sizing: border-box;
  112. padding:7px 3px 7px 3px;
  113. padding:0.2rem 0.4rem;
  114. vertical-align:middle;
  115. border:2px solid #79bd9a;
  116. border:0.125rem solid #79bd9a;
  117. -webkit-border-radius:0.3rem;
  118. -moz-border-radius:0.3rem;
  119. border-radius:0.3rem;
  120. outline:none;
  121. background-color: #fff;
  122. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
  123. filter: alpha(opacity=90);
  124. -moz-opacity: 0.9;
  125. -khtml-opacity: 0.9;
  126. opacity: 0.9;
  127. }
  128. .bx-form-input-slider:focus,
  129. .bx-form-input-doublerange:focus,
  130. .bx-form-input-number:focus,
  131. .bx-form-input-time:focus,
  132. .bx-form-input-datepicker:focus,
  133. .bx-form-input-datetime:focus,
  134. .bx-form-input-textarea:focus,
  135. .bx-form-input-password:focus,
  136. .bx-form-input-text:focus {
  137. border-color:#6caa8a;
  138. -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  139. filter: alpha(opacity=100);
  140. -moz-opacity: 1.0;
  141. -khtml-opacity: 1.0;
  142. opacity: 1.0;
  143. -webkit-transition: all 0.2s linear;
  144. -moz-transition: all 0.2s linear;
  145. -o-transition: all 0.2s linear;
  146. transition: all 0.2s linear;
  147. }
  148. .bx-form-input-select_multiple,
  149. .bx-form-input-radio_set,
  150. .bx-form-input-checkbox_set {
  151. height:auto;
  152. }
  153. .bx-form-input-textarea {
  154. padding:0.5rem;
  155. height:150px;
  156. height:10rem;
  157. line-height:normal;
  158. }
  159. .bx-form-input-datepicker {
  160. width:7.5rem;
  161. }
  162. .bx-form-input-datetime {
  163. width:10.2rem;
  164. }
  165. .bx-form-datepicker-modal {
  166. z-index:1001 !important;
  167. }
  168. .bx-form-input-number,
  169. .bx-form-input-time
  170. {
  171. width:6rem;
  172. }
  173. .bx-form-input-wrapper-file .bx-btn {
  174. float: none;
  175. display: inline-block;
  176. }
  177. .bx-form-input-file {
  178. position: fixed;
  179. top: -1000px;
  180. border: none;
  181. background-color: transparent;
  182. }
  183. .bx-form-input-wrapper-slider,
  184. .bx-form-input-wrapper-doublerange {
  185. position:relative;
  186. }
  187. .bx-form-input-wrapper-slider .ui-slider,
  188. .bx-form-input-wrapper-doublerange .ui-slider {
  189. position:absolute;
  190. top:0px;
  191. right:0px;
  192. }
  193. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  194. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  195. z-index: 1;
  196. }
  197. /* switcher */
  198. .bx-switcher-cont {
  199. position:relative;
  200. width:60px;
  201. width:3.8rem;
  202. height:24px;
  203. height:1.5rem;
  204. overflow:hidden;
  205. cursor:pointer;
  206. background-color:#fff;
  207. border:2px solid #79bd9a;
  208. border:0.125rem solid #79bd9a;
  209. -moz-border-radius: 1rem;
  210. -webkit-border-radius: 1rem;
  211. border-radius: 1rem;
  212. }
  213. .bx-switcher-cont input {
  214. position:absolute;
  215. top:-32px;
  216. top:-2rem;
  217. }
  218. .bx-switcher-canvas {
  219. position:relative;
  220. width:90px;
  221. width:5.7rem;
  222. -webkit-transition: left 0.2s ease-in-out;
  223. -moz-transition: left 0.2s ease-in-out;
  224. -ms-transition: left 0.2s ease-in-out;
  225. -o-transition: left 0.2s ease-in-out;
  226. }
  227. .bx-switcher-cont.on .bx-switcher-canvas {
  228. left:3px;
  229. left:0.2rem;
  230. }
  231. .bx-switcher-cont.off .bx-switcher-canvas {
  232. left:-34px;
  233. left:-2.1rem;
  234. }
  235. .bx-switcher-on,
  236. .bx-switcher-off,
  237. .bx-switcher-handler {
  238. position:absolute;
  239. top:0rem;
  240. line-height:24px;
  241. line-height:1.5rem;
  242. color:#999;
  243. }
  244. .bx-switcher-on {
  245. left:0rem;
  246. width:34px;
  247. width:2.1rem;
  248. height:24px;
  249. height:1.5rem;
  250. margin-left:8px;
  251. margin-left:0.5rem;
  252. }
  253. .bx-switcher-off {
  254. left:65px;
  255. left:4.05rem;
  256. width:34px;
  257. width:2.1rem;
  258. height:24px;
  259. height:1.5rem;
  260. margin-left:3px;
  261. margin-left:0.2rem;
  262. }
  263. .bx-switcher-handler {
  264. left:36px;
  265. left:2.23rem;
  266. top:2px;
  267. top:0.13rem;
  268. width:20px;
  269. width:1.25rem;
  270. height:20px;
  271. height:1.25rem;
  272. margin:0rem;
  273. -moz-border-radius: 1rem;
  274. -webkit-border-radius: 1rem;
  275. border-radius: 1rem;
  276. -webkit-transition: background-color 0.2s ease-in-out;
  277. -moz-transition: background-color 0.2s ease-in-out;
  278. -ms-transition: background-color 0.2s ease-in-out;
  279. -o-transition: background-color 0.2s ease-in-out;
  280. transition: background-color 0.2s ease-in-out;
  281. }
  282. .bx-switcher-cont.on .bx-switcher-handler {
  283. background-color:#d0efa2;
  284. }
  285. .bx-switcher-cont.off .bx-switcher-handler {
  286. background-color:#e7938a;
  287. }
  288. .bx-form-element-wrapper-oneline .bx-form-element {
  289. display: -webkit-flex;
  290. display: flex;
  291. -webkit-flex-flow: row nowrap;
  292. flex-flow: row nowrap;
  293. -webkit-align-items: flex-start;
  294. align-items: flex-start;
  295. -webkit-justify-content: flex-start;
  296. justify-content: flex-start;
  297. }
  298. .bx-form-value-oneline,
  299. .bx-form-caption-oneline {
  300. float: none;
  301. }
  302. .bx-form-caption-oneline-switcher {
  303. line-height:26px;
  304. }
  305. .bx-form-input-wrapper-submit .bx-btn {
  306. float: none;
  307. }
  308. .bx-form-input-wrapper-input_set .bx-btn {
  309. float:left;
  310. }
  311. /* extra features */
  312. .bx-form-right-line-aligned {
  313. float:right;
  314. margin-top: 5px;
  315. }
  316. /* view mode */
  317. .bx-form-row-view-wrapper > div {
  318. position: relative;
  319. display: inline-block;
  320. width: 100%;
  321. vertical-align: bottom;
  322. white-space: normal;
  323. text-overflow: ellipsis;
  324. overflow: hidden;
  325. }
  326. .bx-form-row-view-wrapper-textarea > div {
  327. vertical-align:top;
  328. }
  329. .bx-form-row-view-caption {
  330. font-weight:bold;
  331. }
  332. /****************************************
  333. * Custom reCaptcha Theme
  334. ****************************************/
  335. .bx-form-input-captcha-custom {
  336. background-color: #b71800;
  337. padding: 0.5em;
  338. border-radius: 1em;
  339. position: relative;
  340. overflow: auto;
  341. max-width: 480px;
  342. font: 0.75em/1em Helvetica, Arial, sans-serif;
  343. color: #ffffff;
  344. }
  345. .bx-form-input-captcha-custom a {
  346. color: #ffffff;
  347. text-decoration: none;
  348. }
  349. .bx-form-input-captcha-custom img,
  350. .bx-form-input-captcha-custom #recaptcha_image {
  351. width: 100% !important;
  352. height: auto !important;
  353. -webkit-border-radius: 0.5em;
  354. -moz-border-radius: 0.5em;
  355. border-radius: 0.5em;
  356. -moz-background-clip: padding;
  357. -webkit-background-clip: padding-box;
  358. background-clip: padding-box;
  359. }
  360. .bx-form-input-captcha-custom .solution {
  361. position: relative;
  362. float: left;
  363. width: 75%;
  364. }
  365. .bx-form-input-captcha-custom .solution-cnt {
  366. margin-top: 0.5em;
  367. padding: 1.2em 1em;
  368. -webkit-border-radius: 0.5em;
  369. -moz-border-radius: 0.5em;
  370. border-radius: 0.5em;
  371. -moz-background-clip: padding;
  372. -webkit-background-clip: padding-box;
  373. background-clip: padding-box;
  374. background-color: #fbe098;
  375. color: #000000;
  376. display: block;
  377. }
  378. .bx-form-input-captcha-custom .solution-cnt input {
  379. display: block;
  380. width: calc(90% - 2px);
  381. margin: 0.35em auto;
  382. -webkit-appereance: none;
  383. border: 1px solid #f7c236;
  384. font: inherit;
  385. font-size: 150%;
  386. outline: none;
  387. }
  388. .bx-form-input-captcha-custom .solution-cnt input:focus {
  389. border-color: #b71800;
  390. }
  391. .bx-form-input-captcha-custom .options {
  392. position: relative;
  393. float: right;
  394. width: 25%;
  395. }
  396. .bx-form-input-captcha-custom .options-cnt {
  397. margin-top: 0.5em;
  398. padding-left: 0.5em;
  399. -webkit-border-radius: 0.5em;
  400. -moz-border-radius: 0.5em;
  401. border-radius: 0.5em;
  402. -moz-background-clip: padding;
  403. -webkit-background-clip: padding-box;
  404. background-clip: padding-box;
  405. }
  406. .bx-form-input-captcha-custom .options-cnt a {
  407. background-color: #c5523d;
  408. display: block;
  409. padding: 0.5em 1.0em;
  410. border-top: 1px solid #000000;
  411. border-left: 1px solid #000000;
  412. border-right: 1px solid #000000;
  413. }
  414. .bx-form-input-captcha-custom .options-cnt a:first-child {
  415. border-radius: 0.5em 0.5em 0 0;
  416. }
  417. .bx-form-input-captcha-custom .options-cnt a:last-child {
  418. border-radius: 0 0 0.5em 0.5em;
  419. border-bottom: 1px solid #000000;
  420. }
  421. /****************************************
  422. * Overwrite 3d Party MiniColors plug-in
  423. ****************************************/
  424. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  425. top: 6px;
  426. left: 6px;
  427. width: 25px;
  428. width: 1.5625rem;
  429. height: 25px;
  430. height: 1.5625rem;
  431. border-radius: 20px;
  432. border-radius: 1.25rem;
  433. }
  434. /* auto-siggestion input */
  435. .bx-form-value .bx-form-input-autotoken {
  436. float:left;
  437. padding:0px;
  438. height:auto;
  439. box-shadow: none;
  440. min-height: 2.8rem;
  441. }
  442. .bx-form-value .bx-form-input-autotoken b {
  443. cursor:pointer;
  444. display:block;
  445. float:left;
  446. line-height: 40px;
  447. line-height: 2.5rem;
  448. padding-right: 1.5em;
  449. margin-left:0.1em;
  450. margin-right:0.1em;
  451. font-weight:normal;
  452. border-radius: 1.25rem;
  453. }
  454. .bx-form-value .bx-form-input-autotoken b:hover {
  455. opacity:0.7;
  456. }
  457. .bx-form-value .bx-form-input-autotoken b:after {
  458. font-family: 'sys-user', 'sys-user-fal';
  459. content: "\f00d";
  460. position:absolute;
  461. padding:0 0.5em;
  462. margin-left: 0.5em;
  463. font-size:0.7em;
  464. font-weight:bold;
  465. }
  466. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b {
  467. cursor: default;
  468. }
  469. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b:after{
  470. display: none;
  471. }
  472. .bx-form-value .bx-form-input-autotoken input {
  473. border:0;
  474. margin:0;
  475. padding:0 0 0 5px;
  476. width:auto;
  477. float:left;
  478. box-shadow: none;
  479. }
  480. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  481. width: 2.5rem;
  482. height: 2.5rem;
  483. line-height: 2.5rem;
  484. float:left;
  485. }
  486. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  487. display: inline-block;
  488. vertical-align: middle;
  489. margin-right: 8px;
  490. margin-right: 0.5rem;
  491. }
  492. .bx-form-value .bx-form-input-autotoken-labels b {
  493. padding-left: 1em;
  494. }
  495. .bx-form-value .bx-form-input-autotoken-labels-show-more,
  496. .bx-form-value .bx-form-input-autotoken-labels-sel b {
  497. display:inline-block;
  498. line-height:1.5rem;
  499. font-size:85%;
  500. padding-right:1em;
  501. margin-top:0.625rem;
  502. font-style:normal;
  503. }
  504. .bx-form-value .bx-form-input-autotoken-labels-show-more {
  505. margin-left:0.1em;
  506. margin-right:0.1em;
  507. }
  508. .bx-form-value .bx-form-input-autotoken-labels-sel b:after {
  509. display:none;
  510. }
  511. .bx-form-input-autotoken-labels-more {
  512. display:none;
  513. }
  514. .select2-container {
  515. width:100% !important;
  516. }