forms.css 12 KB

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