forms.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470
  1. /*--
  2. import url(../../../../../../../template/css/forms.css);
  3. --*/
  4. .bx-form-advanced-wrapper .bx-form-section-wrapper:first-child {
  5. margin-top:0;
  6. }
  7. .bx-form-advanced-wrapper .bx-form-section-wrapper:last-child {
  8. margin-bottom:0;
  9. }
  10. .bx-form-advanced-wrapper .bx-form-section-divider:first-child {
  11. border: none;
  12. padding: 0;
  13. }
  14. .bx-form-advanced-wrapper .bx-form-section-divider:first-child .bx-form-section-content {
  15. padding-top:0;
  16. }
  17. .bx-form-advanced-wrapper .bx-form-section-divider:last-child .bx-form-section-content {
  18. padding-bottom:0;
  19. }
  20. .bx-form-input-wrapper-pgc {
  21. position: relative;
  22. }
  23. .bx-form-option-info {
  24. display: inline-flex;
  25. flex-direction: column;
  26. }
  27. /*-- Section Toggler ---*/
  28. .bx-form-section-wrapper {
  29. position: relative;
  30. }
  31. .bx-form-section {
  32. margin: 0;
  33. }
  34. .bx-form-section-header .bx-form-section-title {
  35. display: -webkit-flex;
  36. display: flex;
  37. -webkit-align-items: center;
  38. align-items: center;
  39. -webkit-flex-wrap: nowrap;
  40. flex-wrap: nowrap;
  41. line-height: 1.25rem;
  42. text-transform: uppercase;
  43. }
  44. .bx-form-section-header .bx-form-section-title .sys-icon {
  45. color: inherit !important;
  46. }
  47. .bx-form-section-header .bx-form-section-title u {
  48. cursor: pointer;
  49. }
  50. .bx-form-section-header .bx-form-section-title span {
  51. white-space: nowrap;
  52. text-transform: none;
  53. font-size: 0.75rem;
  54. }
  55. .bx-form-section-hidden .bx-form-section-content {
  56. display:none;
  57. }
  58. .bx-form-collapsable .bx-form-section-toggler {
  59. display: -webkit-flex;
  60. display: flex;
  61. -webkit-align-items: center;
  62. align-items: center;
  63. -webkit-justify-content: center;
  64. justify-content: center;
  65. width: 1.25rem;
  66. height: 1.25rem;
  67. text-decoration: none;
  68. -moz-transform: rotate(180deg);
  69. -webkit-transform: rotate(180deg);
  70. -ms-transform: rotate(180deg);
  71. -o-transform: rotate(180deg);
  72. -webkit-transition: all 0.5s ease;
  73. -moz-transition: all 0.5s ease;
  74. -ms-transition: all 0.5s ease;
  75. -o-transition: all 0.5s ease;
  76. line-height: 1.25rem;
  77. }
  78. .bx-form-collapsed .bx-form-section-toggler {
  79. -moz-transform: rotate(0deg);
  80. -webkit-transform: rotate(0deg);
  81. -ms-transform: rotate(0deg);
  82. -o-transform: rotate(0deg);
  83. }
  84. .bx-form-section-toggler .sys-icon {
  85. font-size:0.875rem;
  86. }
  87. /*--- One Line fields ---*/
  88. .bx-form-element-wrapper-oneline .bx-form-element {
  89. display: -webkit-flex;
  90. display: flex;
  91. -webkit-flex-flow: row nowrap;
  92. flex-flow: row nowrap;
  93. -webkit-align-items: flex-start;
  94. align-items: flex-start;
  95. -webkit-justify-content: flex-start;
  96. justify-content: flex-start;
  97. }
  98. .bx-form-input-wrapper-submit .bx-btn {
  99. float: none;
  100. }
  101. .bx-form-input-wrapper-input_set .bx-btn {
  102. float: left;
  103. }
  104. /*-- Form field: Password --*/
  105. .bx-artificer .bx-form-input-wrapper-password > .password-show,
  106. .bx-artificer .bx-form-input-wrapper-password > .password-hide {
  107. position: absolute;
  108. z-index: 1000;
  109. display: -webkit-flex;
  110. display: flex;
  111. -webkit-align-items: center;
  112. align-items: center;
  113. -webkit-justify-content: center;
  114. justify-content: center;
  115. top: 0;
  116. right: 0;
  117. height: 100%;
  118. /* WCAG 2.5.8 (AA): at least 24px wide. 1.75rem is the project's "mini"
  119. button size. The side margin is reduced by exactly half the added
  120. width, (28px - 18px) / 2 = 5px, so the eye glyph does not move. */
  121. min-width: 1.75rem;
  122. margin: 0 0.1875rem;
  123. }
  124. .bx-dir-rtl.bx-artificer .bx-form-input-wrapper-password > .password-show,
  125. .bx-dir-rtl.bx-artificer .bx-form-input-wrapper-password > .password-hide {
  126. left: 0;
  127. right: auto;
  128. }
  129. .bx-artificer .bx-form-input-password {
  130. position: relative;
  131. -moz-box-sizing: border-box;
  132. -ms-box-sizing: border-box;
  133. -webkit-box-sizing: border-box;
  134. box-sizing: border-box;
  135. width: 100%;
  136. height: 100%;
  137. margin: 0;
  138. padding: 0.5rem 0;
  139. border: 0;
  140. background-color: transparent;
  141. }
  142. .bx-artificer .bx-form-input-password:focus {
  143. border-color: transparent;
  144. outline: none;
  145. box-shadow: none;
  146. }
  147. /*-- Form field: Slider/Doublerange --*/
  148. .bx-form-input-wrapper-slider,
  149. .bx-form-input-wrapper-doublerange {
  150. position: relative;
  151. }
  152. .bx-form-input-wrapper-slider .ui-slider,
  153. .bx-form-input-wrapper-doublerange .ui-slider {
  154. position: absolute;
  155. top: 0px;
  156. right: 0px;
  157. }
  158. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  159. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  160. z-index: 1;
  161. }
  162. /*-- Form field: Price --*/
  163. .bx-form-element .bx-form-value .bx-form-input-wrapper-price {
  164. display: -webkit-flex;
  165. display: flex;
  166. -webkit-align-items: stretch;
  167. align-items: stretch;
  168. }
  169. .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  170. display: -webkit-flex;
  171. display: flex;
  172. -webkit-align-items: center;
  173. align-items: center;
  174. width: auto;
  175. }
  176. .bx-dir-ltr .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  177. border-right-width: 0;
  178. border-top-right-radius: 0;
  179. border-bottom-right-radius: 0;
  180. }
  181. .bx-dir-rtl .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  182. border-left-width: 0;
  183. border-top-left-radius: 0;
  184. border-bottom-left-radius: 0;
  185. }
  186. .bx-dir-ltr .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  187. border-top-left-radius: 0;
  188. border-bottom-left-radius: 0;
  189. }
  190. .bx-dir-rtl .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  191. border-top-right-radius: 0;
  192. border-bottom-right-radius: 0;
  193. }
  194. /*-- Form field: Date/Time Pickers --*/
  195. .bx-form-datepicker-modal {
  196. z-index: 10001 !important;
  197. }
  198. /*-- Form field: Switcher --*/
  199. .bx-switcher-cont input {
  200. display: none !important;
  201. }
  202. /*-- Form field: Checkbox/Radio Set --*/
  203. .bx-form-input-wrapper-checkbox_set label,
  204. .bx-artificer .bx-form-input-wrapper-radio_set label {
  205. margin-left: 0.5rem;
  206. vertical-align: text-bottom;
  207. }
  208. .bx-dir-rtl .bx-form-input-wrapper-checkbox_set label,
  209. .bx-dir-rtl.bx-artificer .bx-form-input-wrapper-radio_set label {
  210. margin-left: 0;
  211. margin-right: 0.5rem;
  212. }
  213. /*--- Form field: File ---*/
  214. .bx-form-input-wrapper-file .bx-btn {
  215. display: inline-block;
  216. float: none;
  217. }
  218. .bx-form-input-file {
  219. position: fixed;
  220. top: -1000px;
  221. border: none;
  222. background-color: transparent;
  223. visibility: hidden;
  224. }
  225. /*--- Form field: Location ---*/
  226. .bx-form-element .bx-form-value .bx-form-input-location-cont input,
  227. .bx-form-element .bx-form-value .bx-form-input-location-cont select {
  228. display: inline-block;
  229. }
  230. .bx-form-element .bx-form-value .bx-form-input-location-cont.minimized input,
  231. .bx-form-element .bx-form-value .bx-form-input-location-cont.minimized select {
  232. display: block;
  233. }
  234. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country,
  235. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-zip,
  236. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  237. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-city {
  238. width:49%;
  239. }
  240. .bx-form-element .bx-form-input-location-street {
  241. width:83%;
  242. }
  243. .bx-form-element .bx-form-input-location-street_number {
  244. width:15%;
  245. }
  246. .bx-form-element .bx-form-input-location-street_number,
  247. .bx-form-element .bx-form-input-location-street,
  248. .bx-form-element .bx-form-input-location-state,
  249. .bx-form-element .bx-form-input-location-city {
  250. margin-bottom: 0.25rem;
  251. }
  252. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-street,
  253. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  254. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country {
  255. margin-left: 0.25rem;
  256. }
  257. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-street,
  258. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  259. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country {
  260. margin-left: 0;
  261. margin-right: 0.25rem;
  262. }
  263. .bx-form-element .bx-form-input-location-cont .bx-form-input-location-status-cont {
  264. float:none;
  265. width:98%;
  266. line-height:normal;
  267. }
  268. .bx-form-element .bx-form-input-location-cont.minimized .bx-form-input-location-status-cont {
  269. display: flex;
  270. flex-direction: column;
  271. width: auto;
  272. }
  273. .bx-form-element .bx-form-input-location-status {
  274. float:left;
  275. }
  276. .bx-form-element .bx-form-input-location-copyright {
  277. float:right;
  278. }
  279. .bx-form-element .bx-form-input-location-cont.minimized .bx-form-input-location-copyright {
  280. float: none;
  281. margin-top: 0.25rem;
  282. }
  283. .bx-form-element .bx-form-input-location-auto-cont {
  284. display:table;
  285. }
  286. .bx-form-element .bx-form-input-location-auto-cont > div {
  287. display: table-cell;
  288. vertical-align: middle;
  289. }
  290. /*--- Form field: Auto-siggestion ---*/
  291. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) {
  292. float: left;
  293. padding: 0.125rem 0;
  294. height: auto;
  295. box-shadow: none;
  296. min-height: 2.375rem;
  297. }
  298. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b {
  299. display: flex;
  300. align-items: center;
  301. float: left;
  302. margin: 0.125rem;
  303. padding-right: 0.5rem;
  304. border-radius: 1.25rem;
  305. line-height: 2rem;
  306. white-space: nowrap;
  307. font-weight: normal;
  308. cursor: pointer;
  309. }
  310. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b {
  311. padding-left: 1.5rem;
  312. padding-right: 0;
  313. }
  314. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b.val-wo-icon {
  315. padding-left: 1.5rem;
  316. }
  317. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b:hover {
  318. opacity: 0.7;
  319. }
  320. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b .sys-icon {
  321. display: inline-block;
  322. width: 1.0rem;
  323. height: 1.0rem;
  324. line-height: 1.0rem;
  325. text-align: center;
  326. font-size: 0.7em;
  327. font-weight: bold;
  328. vertical-align: middle;
  329. }
  330. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels).bx-form-input-disabled b {
  331. cursor: default;
  332. }
  333. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels).bx-form-input-disabled b .sys-icon {
  334. display: none;
  335. }
  336. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) input {
  337. float: left;
  338. width: auto;
  339. margin: 0;
  340. padding: 0 0 0 0.5rem;
  341. border: 0;
  342. box-shadow: none;
  343. }
  344. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-account-unit-wo-info,
  345. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-base-pofile-unit-wo-info {
  346. display: inline-block;
  347. vertical-align: top;
  348. margin-right: 0.5rem;
  349. }
  350. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-account-unit-wo-info,
  351. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-base-pofile-unit-wo-info {
  352. margin-left: 0.5rem;
  353. margin-right: 0;
  354. }
  355. .sys-labels .bx-form-input-text.bx-form-input-autotoken.bx-form-input-disabled b {
  356. height: 2rem;
  357. line-height: 2rem;
  358. }
  359. .bx-form-value .bx-form-input-labels-sel b {
  360. margin: 0.5rem 0.125rem 0 0.125rem;
  361. }
  362. .bx-form-value .bx-form-input-labels-sel b:after {
  363. display: none;
  364. }
  365. .select2-container {
  366. width:100% !important;
  367. }
  368. .bx-form-input-select {
  369. -webkit-appearance:none;
  370. }
  371. /* MiniColors plug-in */
  372. .bx-form-input-wrapper.bx-form-input-wrapper-text .minicolors-theme-bootstrap .minicolors-swatch {
  373. top: 0.5rem;
  374. left: 0.5rem;
  375. width: 1.5625rem;
  376. height: 1.5625rem;
  377. }
  378. /* tiny mce */
  379. .bx-form-input-wrapper-html .gray-theme.fr-toolbar.fr-top{
  380. border-radius: .375rem .375rem 0 0 !important;
  381. }
  382. .bx-form-input-wrapper-html .fr-wrapper{
  383. border-radius: 0 0 .375rem .375rem !important;
  384. border-bottom-color: #CCCCCC !important;
  385. }
  386. .bx-form-input-wrapper-html .second-toolbar{
  387. border-bottom:none !important;
  388. }
  389. .bx-form-secret {
  390. display: inline-flex;
  391. align-items: center;
  392. justify-content: flex-start;
  393. gap: 0.5rem;
  394. max-width: 100%;
  395. min-width: 0;
  396. }
  397. .bx-form-secret-value {
  398. min-width: 0;
  399. overflow: hidden;
  400. text-overflow: ellipsis;
  401. white-space: nowrap;
  402. font-family: monospace;
  403. }
  404. .bx-form-secret-toggle {
  405. flex-shrink: 0;
  406. line-height: 1;
  407. cursor: pointer;
  408. }