forms.css 15 KB

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