forms.css 14 KB

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