forms.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  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 > a {
  106. position: absolute;
  107. z-index: 1000;
  108. display: -webkit-flex;
  109. display: flex;
  110. -webkit-align-items: center;
  111. align-items: center;
  112. -webkit-justify-content: center;
  113. justify-content: center;
  114. top: 0;
  115. right: 0;
  116. height: 100%;
  117. margin: 0 0.5rem;
  118. }
  119. .bx-dir-rtl.bx-artificer .bx-form-input-wrapper-password > a {
  120. left: 0;
  121. right: auto;
  122. }
  123. .bx-artificer .bx-form-input-password {
  124. position: relative;
  125. -moz-box-sizing: border-box;
  126. -ms-box-sizing: border-box;
  127. -webkit-box-sizing: border-box;
  128. box-sizing: border-box;
  129. width: 100%;
  130. height: 100%;
  131. margin: 0;
  132. padding: 0.5rem 0;
  133. border: 0;
  134. background-color: transparent;
  135. }
  136. .bx-artificer .bx-form-input-password:focus {
  137. border-color: transparent;
  138. outline: none;
  139. box-shadow: none;
  140. }
  141. /*-- Form field: Slider/Doublerange --*/
  142. .bx-form-input-wrapper-slider,
  143. .bx-form-input-wrapper-doublerange {
  144. position: relative;
  145. }
  146. .bx-form-input-wrapper-slider .ui-slider,
  147. .bx-form-input-wrapper-doublerange .ui-slider {
  148. position: absolute;
  149. top: 0px;
  150. right: 0px;
  151. }
  152. .bx-form-input-wrapper-slider .ui-slider .ui-slider-handle,
  153. .bx-form-input-wrapper-doublerange .ui-slider .ui-slider-handle {
  154. z-index: 1;
  155. }
  156. /*-- Form field: Price --*/
  157. .bx-form-element .bx-form-value .bx-form-input-wrapper-price {
  158. display: -webkit-flex;
  159. display: flex;
  160. -webkit-align-items: stretch;
  161. align-items: stretch;
  162. }
  163. .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  164. display: -webkit-flex;
  165. display: flex;
  166. -webkit-align-items: center;
  167. align-items: center;
  168. width: auto;
  169. }
  170. .bx-dir-ltr .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  171. border-right-width: 0;
  172. border-top-right-radius: 0;
  173. border-bottom-right-radius: 0;
  174. }
  175. .bx-dir-rtl .bx-form-element .bx-form-value .bx-form-input-wrapper-price span {
  176. border-left-width: 0;
  177. border-top-left-radius: 0;
  178. border-bottom-left-radius: 0;
  179. }
  180. .bx-dir-ltr .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  181. border-top-left-radius: 0;
  182. border-bottom-left-radius: 0;
  183. }
  184. .bx-dir-rtl .bx-form-element .bx-form-value .bx-form-input-price:not(:first-child) {
  185. border-top-right-radius: 0;
  186. border-bottom-right-radius: 0;
  187. }
  188. /*-- Form field: Date/Time Pickers --*/
  189. .bx-form-datepicker-modal {
  190. z-index: 10001 !important;
  191. }
  192. /*-- Form field: Switcher --*/
  193. .bx-switcher-cont input {
  194. display: none !important;
  195. }
  196. /*-- Form field: Checkbox/Radio Set --*/
  197. .bx-form-input-wrapper-checkbox_set label,
  198. .bx-artificer .bx-form-input-wrapper-radio_set label {
  199. margin-left: 0.5rem;
  200. vertical-align: text-bottom;
  201. }
  202. .bx-dir-rtl .bx-form-input-wrapper-checkbox_set label,
  203. .bx-dir-rtl.bx-artificer .bx-form-input-wrapper-radio_set label {
  204. margin-left: 0;
  205. margin-right: 0.5rem;
  206. }
  207. /*--- Form field: File ---*/
  208. .bx-form-input-wrapper-file .bx-btn {
  209. display: inline-block;
  210. float: none;
  211. }
  212. .bx-form-input-file {
  213. position: fixed;
  214. top: -1000px;
  215. border: none;
  216. background-color: transparent;
  217. visibility: hidden;
  218. }
  219. /*--- Form field: Location ---*/
  220. .bx-form-element .bx-form-value .bx-form-input-location-cont input,
  221. .bx-form-element .bx-form-value .bx-form-input-location-cont select {
  222. display: inline-block;
  223. }
  224. .bx-form-element .bx-form-value .bx-form-input-location-cont.minimized input,
  225. .bx-form-element .bx-form-value .bx-form-input-location-cont.minimized select {
  226. display: block;
  227. }
  228. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country,
  229. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-zip,
  230. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  231. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-city {
  232. width:49%;
  233. }
  234. .bx-form-element .bx-form-input-location-street {
  235. width:83%;
  236. }
  237. .bx-form-element .bx-form-input-location-street_number {
  238. width:15%;
  239. }
  240. .bx-form-element .bx-form-input-location-street_number,
  241. .bx-form-element .bx-form-input-location-street,
  242. .bx-form-element .bx-form-input-location-state,
  243. .bx-form-element .bx-form-input-location-city {
  244. margin-bottom: 0.25rem;
  245. }
  246. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-street,
  247. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  248. .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country {
  249. margin-left: 0.25rem;
  250. }
  251. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-street,
  252. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-state,
  253. .bx-dir-rtl .bx-form-element .bx-form-input-location-cont:not(.minimized) .bx-form-input-location-country {
  254. margin-left: 0;
  255. margin-right: 0.25rem;
  256. }
  257. .bx-form-element .bx-form-input-location-cont .bx-form-input-location-status-cont {
  258. float:none;
  259. width:98%;
  260. line-height:normal;
  261. }
  262. .bx-form-element .bx-form-input-location-cont.minimized .bx-form-input-location-status-cont {
  263. display: flex;
  264. flex-direction: column;
  265. width: auto;
  266. }
  267. .bx-form-element .bx-form-input-location-status {
  268. float:left;
  269. }
  270. .bx-form-element .bx-form-input-location-copyright {
  271. float:right;
  272. }
  273. .bx-form-element .bx-form-input-location-cont.minimized .bx-form-input-location-copyright {
  274. float: none;
  275. margin-top: 0.25rem;
  276. }
  277. .bx-form-element .bx-form-input-location-auto-cont {
  278. display:table;
  279. }
  280. .bx-form-element .bx-form-input-location-auto-cont > div {
  281. display: table-cell;
  282. vertical-align: middle;
  283. }
  284. /*--- Form field: Auto-siggestion ---*/
  285. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) {
  286. float: left;
  287. padding: 0.125rem 0;
  288. height: auto;
  289. box-shadow: none;
  290. min-height: 2.375rem;
  291. }
  292. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b {
  293. display: block;
  294. float: left;
  295. margin: 0.125rem;
  296. padding-right: 1.5rem;
  297. border-radius: 1.25rem;
  298. line-height: 2rem;
  299. white-space: nowrap;
  300. font-weight: normal;
  301. cursor: pointer;
  302. }
  303. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b {
  304. padding-left: 1.5rem;
  305. padding-right: 0;
  306. }
  307. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b.val-wo-icon {
  308. padding-left: 1.5rem;
  309. }
  310. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b:hover {
  311. opacity: 0.7;
  312. }
  313. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b:after {
  314. font-family: 'sys-user', 'sys-user-fal';
  315. content: "\f00d";
  316. position:absolute;
  317. padding:0 0.5em;
  318. margin-left: 0.125em;
  319. font-size:0.7em;
  320. font-weight:bold;
  321. }
  322. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) b:after {
  323. margin-left: 0;
  324. margin-right: 0.125em;
  325. }
  326. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels).bx-form-input-disabled b {
  327. cursor: default;
  328. }
  329. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels).bx-form-input-disabled b:after{
  330. display: none;
  331. }
  332. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) input {
  333. float: left;
  334. width: auto;
  335. margin: 0;
  336. padding: 0 0 0 0.5rem;
  337. border: 0;
  338. box-shadow: none;
  339. }
  340. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-account-unit-wo-info,
  341. .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-base-pofile-unit-wo-info {
  342. display: inline-block;
  343. vertical-align: top;
  344. margin-right: 0.5rem;
  345. }
  346. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-account-unit-wo-info,
  347. .bx-dir-rtl .bx-form-value .bx-form-input-autotoken:not(.bx-form-input-labels) .bx-base-pofile-unit-wo-info {
  348. margin-left: 0.5rem;
  349. margin-right: 0;
  350. }
  351. .sys-labels .bx-form-input-text.bx-form-input-autotoken.bx-form-input-disabled b {
  352. height: 2rem;
  353. line-height: 2rem;
  354. }
  355. .select2-container {
  356. width:100% !important;
  357. }
  358. .bx-form-input-select {
  359. -webkit-appearance:none;
  360. }
  361. /* tiny mce */
  362. .bx-form-input-wrapper-html .gray-theme.fr-toolbar.fr-top{
  363. border-radius: .375rem .375rem 0 0 !important;
  364. }
  365. .bx-form-input-wrapper-html .fr-wrapper{
  366. border-radius: 0 0 .375rem .375rem !important;
  367. border-bottom-color: #CCCCCC !important;
  368. }
  369. .bx-form-input-wrapper-html .second-toolbar{
  370. border-bottom:none !important;
  371. }