forms.css 14 KB

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