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