forms.css 12 KB

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