forms.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730
  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-caption {
  43. margin-bottom:5px;
  44. }
  45. .bx-form-required {
  46. color:red;
  47. }
  48. .bx-form-warn {
  49. color:red;
  50. font-style:italic;
  51. }
  52. .bx-form-info {
  53. }
  54. /* section toggler */
  55. .bx-form-collapsable .bx-form-section-toggler {
  56. position:absolute;
  57. left: -2px;
  58. top: 2px;
  59. width:20px;
  60. height:20px;
  61. text-decoration:none;
  62. -moz-transform: rotate(90deg);
  63. -webkit-transform: rotate(90deg);
  64. -ms-transform: rotate(90deg);
  65. -o-transform: rotate(90deg);
  66. -webkit-transition: all 0.5s ease;
  67. -moz-transition: all 0.5s ease;
  68. -ms-transition: all 0.5s ease;
  69. -o-transition: all 0.5s ease;
  70. }
  71. .bx-form-collapsed .bx-form-section-toggler {
  72. -moz-transform: rotate(0deg);
  73. -webkit-transform: rotate(0deg);
  74. -ms-transform: rotate(0deg);
  75. -o-transform: rotate(0deg);
  76. }
  77. .bx-form-section-toggler .sys-icon {
  78. display: inline-block;
  79. vertical-align: top;
  80. margin: 0 0 0 5px;
  81. font-size:0.875rem;
  82. line-height:1.2rem;
  83. }
  84. /* form inputs */
  85. .bx-form-input-wrapper {
  86. position: relative;
  87. }
  88. .bx-form-input-disabled {}
  89. .bx-form-input-slider,
  90. .bx-form-input-doublerange,
  91. .bx-form-input-select_multiple,
  92. .bx-form-input-select,
  93. .bx-form-input-radio_set,
  94. .bx-form-input-checkbox_set,
  95. .bx-form-input-number,
  96. .bx-form-input-time,
  97. .bx-form-input-datepicker,
  98. .bx-form-input-datetime,
  99. .bx-form-input-textarea,
  100. .bx-form-input-wrapper-password,
  101. .bx-form-input-text {
  102. height:40px;
  103. height:2.5rem;
  104. width:100%;
  105. -moz-box-sizing: border-box;
  106. -ms-box-sizing: border-box;
  107. -webkit-box-sizing: border-box;
  108. box-sizing: border-box;
  109. -webkit-appearance: none;
  110. -moz-appearance: none;
  111. appearance: none;
  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-value .bx-form-input-radio_set,
  190. .bx-form-value .bx-form-input-checkbox_set {
  191. line-height: 1.25;
  192. }
  193. .bx-form-value .bx-form-input-radio_set label,
  194. .bx-form-value .bx-form-input-checkbox_set label {
  195. padding-left: 0.25rem;
  196. }
  197. .bx-form-input-textarea {
  198. padding:0.5rem;
  199. height:150px;
  200. height:10rem;
  201. line-height:normal;
  202. }
  203. .bx-form-input-datepicker {
  204. width:7.5rem;
  205. }
  206. .bx-form-input-wrapper-dateselect select{
  207. min-width:70px;
  208. }
  209. .bx-form-input-wrapper-dateselect select.month{
  210. min-width:120px;
  211. }
  212. .bx-form-input-datetime {
  213. width:10.2rem;
  214. }
  215. .bx-form-datepicker-modal {
  216. z-index:10001 !important;
  217. }
  218. .bx-form-input-number,
  219. .bx-form-input-time
  220. {
  221. width:6rem;
  222. }
  223. .bx-form-input-wrapper-file .bx-btn {
  224. float: none;
  225. display: inline-block;
  226. }
  227. .bx-form-input-file {
  228. position: fixed;
  229. top: -1000px;
  230. border: none;
  231. background-color: transparent;
  232. }
  233. .bx-form-input-wrapper-slider,
  234. .bx-form-input-wrapper-doublerange {
  235. position:relative;
  236. }
  237. .bx-form-input-wrapper-slider .ui-slider,
  238. .bx-form-input-wrapper-doublerange .ui-slider {
  239. position:absolute;
  240. top:0px;
  241. right:0px;
  242. }
  243. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  244. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  245. z-index: 1;
  246. }
  247. /* privacy group chooser */
  248. .bx-form-input-wrapper-pgc {
  249. position: relative;
  250. }
  251. .bx-form-input-pgc {
  252. position: absolute;
  253. display: -webkit-flex;
  254. display: flex;
  255. -webkit-align-items: center;
  256. align-items: center;
  257. -webkit-justify-content: center;
  258. justify-content: center;
  259. top: -1.375rem;
  260. right: 0;
  261. width: 1rem;
  262. height: 1rem;
  263. }
  264. .bx-form-input-pgc-popup .bx-form-input-wrapper-input_set {
  265. display: -webkit-flex;
  266. display: flex;
  267. -webkit-flex-wrap: nowrap;
  268. flex-wrap: nowrap;
  269. -webkit-align-items: center;
  270. align-items: center;
  271. }
  272. /* help popup */
  273. .bx-form-input-help-popup {
  274. max-width: 25rem;
  275. max-height: 25rem;
  276. overflow: auto;
  277. }
  278. /* switcher */
  279. .bx-switcher-cont {
  280. position:relative;
  281. box-sizing: content-box;
  282. width:60px;
  283. width:3.8rem;
  284. height:24px;
  285. height:1.5rem;
  286. overflow:hidden;
  287. cursor:pointer;
  288. background-color:#fff;
  289. border:2px solid #79bd9a;
  290. border:0.125rem solid #79bd9a;
  291. -moz-border-radius: 1rem;
  292. -webkit-border-radius: 1rem;
  293. border-radius: 1rem;
  294. }
  295. .bx-switcher-cont input {
  296. position:absolute;
  297. top:-32px;
  298. top:-2rem;
  299. }
  300. .bx-switcher-canvas {
  301. position:relative;
  302. width:90px;
  303. width:5.7rem;
  304. -webkit-transition: left 0.2s ease-in-out;
  305. -moz-transition: left 0.2s ease-in-out;
  306. -ms-transition: left 0.2s ease-in-out;
  307. -o-transition: left 0.2s ease-in-out;
  308. }
  309. .bx-switcher-cont.on .bx-switcher-canvas {
  310. left:3px;
  311. left:0.2rem;
  312. }
  313. .bx-switcher-cont.off .bx-switcher-canvas {
  314. left:-34px;
  315. left:-2.1rem;
  316. }
  317. .bx-switcher-on,
  318. .bx-switcher-off,
  319. .bx-switcher-handler {
  320. position:absolute;
  321. top:0rem;
  322. line-height:24px;
  323. line-height:1.5rem;
  324. color:#999;
  325. }
  326. .bx-switcher-on {
  327. left:0rem;
  328. width:34px;
  329. width:2.1rem;
  330. height:24px;
  331. height:1.5rem;
  332. margin-left:8px;
  333. margin-left:0.5rem;
  334. }
  335. .bx-switcher-off {
  336. left:65px;
  337. left:4.05rem;
  338. width:34px;
  339. width:2.1rem;
  340. height:24px;
  341. height:1.5rem;
  342. margin-left:3px;
  343. margin-left:0.2rem;
  344. }
  345. .bx-switcher-handler {
  346. left:36px;
  347. left:2.23rem;
  348. top:2px;
  349. top:0.13rem;
  350. width:20px;
  351. width:1.25rem;
  352. height:20px;
  353. height:1.25rem;
  354. margin:0rem;
  355. -moz-border-radius: 1rem;
  356. -webkit-border-radius: 1rem;
  357. border-radius: 1rem;
  358. -webkit-transition: background-color 0.2s ease-in-out;
  359. -moz-transition: background-color 0.2s ease-in-out;
  360. -ms-transition: background-color 0.2s ease-in-out;
  361. -o-transition: background-color 0.2s ease-in-out;
  362. transition: background-color 0.2s ease-in-out;
  363. }
  364. .bx-switcher-cont.on .bx-switcher-handler {
  365. background-color:#d0efa2;
  366. }
  367. .bx-switcher-cont.off .bx-switcher-handler {
  368. background-color:#e7938a;
  369. }
  370. .bx-form-element-wrapper-oneline .bx-form-element {
  371. display: -webkit-flex;
  372. display: flex;
  373. -webkit-flex-flow: row nowrap;
  374. flex-flow: row nowrap;
  375. -webkit-align-items: flex-start;
  376. align-items: flex-start;
  377. -webkit-justify-content: flex-start;
  378. justify-content: flex-start;
  379. }
  380. .bx-form-value-oneline,
  381. .bx-form-caption-oneline {
  382. float: none;
  383. }
  384. .bx-form-caption-oneline-switcher {
  385. line-height:26px;
  386. }
  387. .bx-form-input-wrapper-submit .bx-btn {
  388. float: none;
  389. }
  390. .bx-form-input-wrapper-input_set .bx-btn {
  391. float:left;
  392. }
  393. /* extra features */
  394. .bx-form-right-line-aligned {
  395. float:right;
  396. margin-top: 5px;
  397. }
  398. /* view mode */
  399. .bx-form-row-view-wrapper > div {
  400. position: relative;
  401. display: inline-block;
  402. width: 100%;
  403. vertical-align: bottom;
  404. white-space: normal;
  405. text-overflow: ellipsis;
  406. overflow: hidden;
  407. }
  408. .bx-form-row-view-ratevalue{
  409. display: flex !important;
  410. justify-content: flex-start;
  411. }
  412. .bx-form-row-view-ratevalue .bx-form-row-view-value{
  413. flex-grow: 2;
  414. }
  415. .bx-form-row-view-wrapper-textarea > div {
  416. vertical-align:top;
  417. }
  418. .bx-form-row-view-caption {
  419. font-weight:bold;
  420. }
  421. /****************************************
  422. * Custom reCaptcha Theme
  423. ****************************************/
  424. .bx-form-input-captcha-custom {
  425. background-color: #b71800;
  426. padding: 0.5em;
  427. border-radius: 1em;
  428. position: relative;
  429. overflow: auto;
  430. max-width: 480px;
  431. font: 0.75em/1em Helvetica, Arial, sans-serif;
  432. color: #ffffff;
  433. }
  434. .bx-form-input-captcha-custom a {
  435. color: #ffffff;
  436. text-decoration: none;
  437. }
  438. .bx-form-input-captcha-custom img,
  439. .bx-form-input-captcha-custom #recaptcha_image {
  440. width: 100% !important;
  441. height: auto !important;
  442. -webkit-border-radius: 0.5em;
  443. -moz-border-radius: 0.5em;
  444. border-radius: 0.5em;
  445. -moz-background-clip: padding;
  446. -webkit-background-clip: padding-box;
  447. background-clip: padding-box;
  448. }
  449. .bx-form-input-captcha-custom .solution {
  450. position: relative;
  451. float: left;
  452. width: 75%;
  453. }
  454. .bx-form-input-captcha-custom .solution-cnt {
  455. margin-top: 0.5em;
  456. padding: 1.2em 1em;
  457. -webkit-border-radius: 0.5em;
  458. -moz-border-radius: 0.5em;
  459. border-radius: 0.5em;
  460. -moz-background-clip: padding;
  461. -webkit-background-clip: padding-box;
  462. background-clip: padding-box;
  463. background-color: #fbe098;
  464. color: #000000;
  465. display: block;
  466. }
  467. .bx-form-input-captcha-custom .solution-cnt input {
  468. display: block;
  469. width: calc(90% - 2px);
  470. margin: 0.35em auto;
  471. -webkit-appereance: none;
  472. border: 1px solid #f7c236;
  473. font: inherit;
  474. font-size: 150%;
  475. outline: none;
  476. }
  477. .bx-form-input-captcha-custom .solution-cnt input:focus {
  478. border-color: #b71800;
  479. }
  480. .bx-form-input-captcha-custom .options {
  481. position: relative;
  482. float: right;
  483. width: 25%;
  484. }
  485. .bx-form-input-captcha-custom .options-cnt {
  486. margin-top: 0.5em;
  487. padding-left: 0.5em;
  488. -webkit-border-radius: 0.5em;
  489. -moz-border-radius: 0.5em;
  490. border-radius: 0.5em;
  491. -moz-background-clip: padding;
  492. -webkit-background-clip: padding-box;
  493. background-clip: padding-box;
  494. }
  495. .bx-form-input-captcha-custom .options-cnt a {
  496. background-color: #c5523d;
  497. display: block;
  498. padding: 0.5em 1.0em;
  499. border-top: 1px solid #000000;
  500. border-left: 1px solid #000000;
  501. border-right: 1px solid #000000;
  502. }
  503. .bx-form-input-captcha-custom .options-cnt a:first-child {
  504. border-radius: 0.5em 0.5em 0 0;
  505. }
  506. .bx-form-input-captcha-custom .options-cnt a:last-child {
  507. border-radius: 0 0 0.5em 0.5em;
  508. border-bottom: 1px solid #000000;
  509. }
  510. /****************************************
  511. * Overwrite 3d Party MiniColors plug-in
  512. ****************************************/
  513. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  514. top: 6px;
  515. left: 6px;
  516. width: 25px;
  517. width: 1.5625rem;
  518. height: 25px;
  519. height: 1.5625rem;
  520. border-radius: 20px;
  521. border-radius: 1.25rem;
  522. }
  523. /* auto-siggestion input */
  524. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) {
  525. float:left;
  526. padding:0px;
  527. height:auto;
  528. box-shadow: none;
  529. min-height: 2.8rem;
  530. }
  531. .bx-form-value .bx-form-input-autotoken b {
  532. cursor:pointer;
  533. display:block;
  534. float:left;
  535. line-height: 40px;
  536. line-height: 2.5rem;
  537. padding-right: 1.5em;
  538. margin-left:0.1em;
  539. margin-right:0.1em;
  540. font-weight:normal;
  541. border-radius: 1.25rem;
  542. }
  543. .bx-form-value .bx-form-input-autotoken b:hover {
  544. opacity:0.7;
  545. }
  546. .bx-form-value .bx-form-input-autotoken b:after {
  547. font-family: 'sys-user', 'sys-user-fal';
  548. content: "\f00d";
  549. position:absolute;
  550. padding:0 0.5em;
  551. margin-left: 0.5em;
  552. font-size:0.7em;
  553. font-weight:bold;
  554. }
  555. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b {
  556. cursor: default;
  557. }
  558. .bx-form-value .bx-form-input-autotoken.bx-form-input-disabled b:after{
  559. display: none;
  560. }
  561. .bx-form-value .bx-form-input-autotoken input {
  562. border:0;
  563. margin:0;
  564. padding:0 0 0 5px;
  565. width:auto;
  566. float:left;
  567. box-shadow: none;
  568. }
  569. .bx-form-value .bx-form-input-autotoken .bx-def-thumb-size {
  570. width: 2.5rem;
  571. height: 2.5rem;
  572. line-height: 2.5rem;
  573. float:left;
  574. }
  575. .bx-form-value .bx-form-input-autotoken .bx-base-pofile-unit-wo-info {
  576. display: inline-block;
  577. vertical-align: middle;
  578. margin-right: 8px;
  579. margin-right: 0.5rem;
  580. }
  581. .bx-form-value .bx-form-input-labels-sel b {
  582. display:inline-block;
  583. line-height:1.5rem;
  584. font-size:85%;
  585. padding-right:1em;
  586. margin-top:0.625rem;
  587. font-style:normal;
  588. }
  589. .bx-form-value .bx-form-input-labels-sel b:after {
  590. display:none;
  591. }
  592. .select2-container {
  593. width:100% !important;
  594. }
  595. /* Location field */
  596. .bx-form-input-location-country,
  597. .bx-form-input-location-zip,
  598. .bx-form-input-location-state,
  599. .bx-form-input-location-city {
  600. width:49%;
  601. }
  602. .bx-form-input-location-street {
  603. width:83%;
  604. }
  605. .bx-form-input-location-street_number {
  606. width:15%;
  607. }
  608. .bx-form-input-location-street_number,
  609. .bx-form-input-location-street,
  610. .bx-form-input-location-state,
  611. .bx-form-input-location-city {
  612. margin-bottom:0.25rem;
  613. }
  614. .bx-form-input-location-cont .bx-form-input-location-status-cont {
  615. float:none;
  616. width:98%;
  617. line-height:normal;
  618. }
  619. .bx-form-input-location-status {
  620. float:left;
  621. }
  622. .bx-form-input-location-copyright {
  623. float:right;
  624. }
  625. .bx-form-input-location-auto-cont {
  626. display:table;
  627. }
  628. .bx-form-input-location-auto-cont > div {
  629. display:table-cell;
  630. vertical-align:middle;
  631. }