forms.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  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-wrapper-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-text:focus,
  136. .bx-form-input-wrapper-password.bx-form-input-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-wrapper-password {
  149. padding: 0 2.125rem 0 0;
  150. }
  151. .bx-form-input-wrapper-password > a {
  152. position: absolute;
  153. z-index: 1000;
  154. display: -webkit-flex;
  155. display: flex;
  156. -webkit-align-items: center;
  157. align-items: center;
  158. -webkit-justify-content: center;
  159. justify-content: center;
  160. top: 0;
  161. right: 0;
  162. height: 100%;
  163. margin: 0 0.5rem;
  164. }
  165. .bx-form-input-password {
  166. position: relative;
  167. -moz-box-sizing: border-box;
  168. -ms-box-sizing: border-box;
  169. -webkit-box-sizing: border-box;
  170. box-sizing: border-box;
  171. width: 100%;
  172. height: 100%;
  173. margin: 0;
  174. padding: 7px 3px 7px 3px;
  175. padding: 0.2rem 0.4rem;
  176. border: 0;
  177. background-color: transparent;
  178. }
  179. .bx-form-input-password:focus {
  180. border-color: transparent;
  181. outline: none;
  182. box-shadow: none;
  183. }
  184. .bx-form-input-select_multiple,
  185. .bx-form-input-radio_set,
  186. .bx-form-input-checkbox_set {
  187. height:auto;
  188. }
  189. .bx-form-input-textarea {
  190. padding:0.5rem;
  191. height:150px;
  192. height:10rem;
  193. line-height:normal;
  194. }
  195. .bx-form-input-datepicker {
  196. width:7.5rem;
  197. }
  198. .bx-form-input-datetime {
  199. width:10.2rem;
  200. }
  201. .bx-form-datepicker-modal {
  202. z-index:1001 !important;
  203. }
  204. .bx-form-input-number,
  205. .bx-form-input-time
  206. {
  207. width:6rem;
  208. }
  209. .bx-form-input-wrapper-file .bx-btn {
  210. float: none;
  211. display: inline-block;
  212. }
  213. .bx-form-input-file {
  214. position: fixed;
  215. top: -1000px;
  216. border: none;
  217. background-color: transparent;
  218. }
  219. .bx-form-input-wrapper-slider,
  220. .bx-form-input-wrapper-doublerange {
  221. position:relative;
  222. }
  223. .bx-form-input-wrapper-slider .ui-slider,
  224. .bx-form-input-wrapper-doublerange .ui-slider {
  225. position:absolute;
  226. top:0px;
  227. right:0px;
  228. }
  229. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  230. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  231. z-index: 1;
  232. }
  233. /* switcher */
  234. .bx-switcher-cont {
  235. position:relative;
  236. width:60px;
  237. width:3.8rem;
  238. height:24px;
  239. height:1.5rem;
  240. overflow:hidden;
  241. cursor:pointer;
  242. background-color:#fff;
  243. border:2px solid #79bd9a;
  244. border:0.125rem solid #79bd9a;
  245. -moz-border-radius: 1rem;
  246. -webkit-border-radius: 1rem;
  247. border-radius: 1rem;
  248. }
  249. .bx-switcher-cont input {
  250. position:absolute;
  251. top:-32px;
  252. top:-2rem;
  253. }
  254. .bx-switcher-canvas {
  255. position:relative;
  256. width:90px;
  257. width:5.7rem;
  258. -webkit-transition: left 0.2s ease-in-out;
  259. -moz-transition: left 0.2s ease-in-out;
  260. -ms-transition: left 0.2s ease-in-out;
  261. -o-transition: left 0.2s ease-in-out;
  262. }
  263. .bx-switcher-cont.on .bx-switcher-canvas {
  264. left:3px;
  265. left:0.2rem;
  266. }
  267. .bx-switcher-cont.off .bx-switcher-canvas {
  268. left:-34px;
  269. left:-2.1rem;
  270. }
  271. .bx-switcher-on,
  272. .bx-switcher-off,
  273. .bx-switcher-handler {
  274. position:absolute;
  275. top:0rem;
  276. line-height:24px;
  277. line-height:1.5rem;
  278. color:#999;
  279. }
  280. .bx-switcher-on {
  281. left:0rem;
  282. width:34px;
  283. width:2.1rem;
  284. height:24px;
  285. height:1.5rem;
  286. margin-left:8px;
  287. margin-left:0.5rem;
  288. }
  289. .bx-switcher-off {
  290. left:65px;
  291. left:4.05rem;
  292. width:34px;
  293. width:2.1rem;
  294. height:24px;
  295. height:1.5rem;
  296. margin-left:3px;
  297. margin-left:0.2rem;
  298. }
  299. .bx-switcher-handler {
  300. left:36px;
  301. left:2.23rem;
  302. top:2px;
  303. top:0.13rem;
  304. width:20px;
  305. width:1.25rem;
  306. height:20px;
  307. height:1.25rem;
  308. margin:0rem;
  309. -moz-border-radius: 1rem;
  310. -webkit-border-radius: 1rem;
  311. border-radius: 1rem;
  312. -webkit-transition: background-color 0.2s ease-in-out;
  313. -moz-transition: background-color 0.2s ease-in-out;
  314. -ms-transition: background-color 0.2s ease-in-out;
  315. -o-transition: background-color 0.2s ease-in-out;
  316. transition: background-color 0.2s ease-in-out;
  317. }
  318. .bx-switcher-cont.on .bx-switcher-handler {
  319. background-color:#d0efa2;
  320. }
  321. .bx-switcher-cont.off .bx-switcher-handler {
  322. background-color:#e7938a;
  323. }
  324. .bx-form-element-wrapper-oneline .bx-form-element {
  325. display: -webkit-flex;
  326. display: flex;
  327. -webkit-flex-flow: row nowrap;
  328. flex-flow: row nowrap;
  329. -webkit-align-items: flex-start;
  330. align-items: flex-start;
  331. -webkit-justify-content: flex-start;
  332. justify-content: flex-start;
  333. }
  334. .bx-form-value-oneline,
  335. .bx-form-caption-oneline {
  336. float: none;
  337. }
  338. .bx-form-caption-oneline-switcher {
  339. line-height:26px;
  340. }
  341. .bx-form-input-wrapper-submit .bx-btn {
  342. float: none;
  343. }
  344. .bx-form-input-wrapper-input_set .bx-btn {
  345. float:left;
  346. }
  347. /* extra features */
  348. .bx-form-right-line-aligned {
  349. float:right;
  350. margin-top: 5px;
  351. }
  352. /* view mode */
  353. .bx-form-row-view-wrapper > div {
  354. position: relative;
  355. display: inline-block;
  356. width: 100%;
  357. vertical-align: bottom;
  358. white-space: normal;
  359. text-overflow: ellipsis;
  360. overflow: hidden;
  361. }
  362. .bx-form-row-view-wrapper-textarea > div {
  363. vertical-align:top;
  364. }
  365. .bx-form-row-view-caption {
  366. font-weight:bold;
  367. }
  368. /****************************************
  369. * Custom reCaptcha Theme
  370. ****************************************/
  371. .bx-form-input-captcha-custom {
  372. background-color: #b71800;
  373. padding: 0.5em;
  374. border-radius: 1em;
  375. position: relative;
  376. overflow: auto;
  377. max-width: 480px;
  378. font: 0.75em/1em Helvetica, Arial, sans-serif;
  379. color: #ffffff;
  380. }
  381. .bx-form-input-captcha-custom a {
  382. color: #ffffff;
  383. text-decoration: none;
  384. }
  385. .bx-form-input-captcha-custom img,
  386. .bx-form-input-captcha-custom #recaptcha_image {
  387. width: 100% !important;
  388. height: auto !important;
  389. -webkit-border-radius: 0.5em;
  390. -moz-border-radius: 0.5em;
  391. border-radius: 0.5em;
  392. -moz-background-clip: padding;
  393. -webkit-background-clip: padding-box;
  394. background-clip: padding-box;
  395. }
  396. .bx-form-input-captcha-custom .solution {
  397. position: relative;
  398. float: left;
  399. width: 75%;
  400. }
  401. .bx-form-input-captcha-custom .solution-cnt {
  402. margin-top: 0.5em;
  403. padding: 1.2em 1em;
  404. -webkit-border-radius: 0.5em;
  405. -moz-border-radius: 0.5em;
  406. border-radius: 0.5em;
  407. -moz-background-clip: padding;
  408. -webkit-background-clip: padding-box;
  409. background-clip: padding-box;
  410. background-color: #fbe098;
  411. color: #000000;
  412. display: block;
  413. }
  414. .bx-form-input-captcha-custom .solution-cnt input {
  415. display: block;
  416. width: calc(90% - 2px);
  417. margin: 0.35em auto;
  418. -webkit-appereance: none;
  419. border: 1px solid #f7c236;
  420. font: inherit;
  421. font-size: 150%;
  422. outline: none;
  423. }
  424. .bx-form-input-captcha-custom .solution-cnt input:focus {
  425. border-color: #b71800;
  426. }
  427. .bx-form-input-captcha-custom .options {
  428. position: relative;
  429. float: right;
  430. width: 25%;
  431. }
  432. .bx-form-input-captcha-custom .options-cnt {
  433. margin-top: 0.5em;
  434. padding-left: 0.5em;
  435. -webkit-border-radius: 0.5em;
  436. -moz-border-radius: 0.5em;
  437. border-radius: 0.5em;
  438. -moz-background-clip: padding;
  439. -webkit-background-clip: padding-box;
  440. background-clip: padding-box;
  441. }
  442. .bx-form-input-captcha-custom .options-cnt a {
  443. background-color: #c5523d;
  444. display: block;
  445. padding: 0.5em 1.0em;
  446. border-top: 1px solid #000000;
  447. border-left: 1px solid #000000;
  448. border-right: 1px solid #000000;
  449. }
  450. .bx-form-input-captcha-custom .options-cnt a:first-child {
  451. border-radius: 0.5em 0.5em 0 0;
  452. }
  453. .bx-form-input-captcha-custom .options-cnt a:last-child {
  454. border-radius: 0 0 0.5em 0.5em;
  455. border-bottom: 1px solid #000000;
  456. }
  457. /****************************************
  458. * Overwrite 3d Party MiniColors plug-in
  459. ****************************************/
  460. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  461. top: 6px;
  462. left: 6px;
  463. width: 25px;
  464. width: 1.5625rem;
  465. height: 25px;
  466. height: 1.5625rem;
  467. border-radius: 20px;
  468. border-radius: 1.25rem;
  469. }
  470. /* auto-siggestion input */
  471. .bx-form-value .bx-form-input-autotoken {
  472. float:left;
  473. padding:0px;
  474. height:auto;
  475. box-shadow: none;
  476. min-height: 2.8rem;
  477. }
  478. .bx-form-value .bx-form-input-autotoken b {
  479. cursor:pointer;
  480. display:block;
  481. float:left;
  482. line-height: 40px;
  483. line-height: 2.5rem;
  484. padding-right: 1.5em;
  485. margin-left:0.1em;
  486. margin-right:0.1em;
  487. font-weight:normal;
  488. border-radius: 1.25rem;
  489. }
  490. .bx-form-value .bx-form-input-autotoken b:hover {
  491. opacity:0.7;
  492. }
  493. .bx-form-value .bx-form-input-autotoken b:after {
  494. font-family: 'sys-user', 'sys-user-fal';
  495. content: "\f00d";
  496. position:absolute;
  497. padding:0 0.5em;
  498. margin-left: 0.5em;
  499. font-size:0.7em;
  500. font-weight:bold;
  501. }
  502. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b {
  503. cursor: default;
  504. }
  505. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b:after{
  506. display: none;
  507. }
  508. .bx-form-value .bx-form-input-autotoken input {
  509. border:0;
  510. margin:0;
  511. padding:0 0 0 5px;
  512. width:auto;
  513. float:left;
  514. box-shadow: none;
  515. }
  516. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  517. width: 2.5rem;
  518. height: 2.5rem;
  519. line-height: 2.5rem;
  520. float:left;
  521. }
  522. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  523. display: inline-block;
  524. vertical-align: middle;
  525. margin-right: 8px;
  526. margin-right: 0.5rem;
  527. }
  528. .bx-form-value .bx-form-input-autotoken-labels b {
  529. padding-left: 1em;
  530. }
  531. .bx-form-value .bx-form-input-autotoken-labels-show-more,
  532. .bx-form-value .bx-form-input-autotoken-labels-sel b {
  533. display:inline-block;
  534. line-height:1.5rem;
  535. font-size:85%;
  536. padding-right:1em;
  537. margin-top:0.625rem;
  538. font-style:normal;
  539. }
  540. .bx-form-value .bx-form-input-autotoken-labels-show-more {
  541. margin-left:0.1em;
  542. margin-right:0.1em;
  543. }
  544. .bx-form-value .bx-form-input-autotoken-labels-sel b:after {
  545. display:none;
  546. }
  547. .bx-form-input-autotoken-labels-more {
  548. display:none;
  549. }
  550. .select2-container {
  551. width:100% !important;
  552. }