d44f39596dd2635cf5c52ced6a10e0dd5a661ee9.svn-base 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. /*
  2. * Ext JS Library 2.0
  3. * Copyright(c) 2006-2007, Ext JS, LLC.
  4. * licensing@extjs.com
  5. *
  6. * http://extjs.com/license
  7. */
  8. /* all fields */
  9. .x-form-field{
  10. margin: 0 0 0 0;
  11. font:normal 12px tahoma, arial, helvetica, sans-serif;
  12. }
  13. /* ---- text fields ---- */
  14. .x-form-text, textarea.x-form-field{
  15. padding: 1px 3px;
  16. background:#fff url(../images/default/form/text-bg.gif) repeat-x 0 0;
  17. border: 1px solid #B5B8C8;
  18. }
  19. .x-form-text {
  20. height:22px;
  21. line-height:18px;
  22. vertical-align:middle;
  23. }
  24. .ext-ie .x-form-text {
  25. margin-top:-1px; /* ie bogus margin bug */
  26. margin-bottom:-1px;
  27. height:22px; /* ie quirks */
  28. line-height:18px;
  29. }
  30. .ext-strict .x-form-text {
  31. height:18px;
  32. }
  33. .ext-safari .x-form-text {
  34. height:20px; /* safari always same size */
  35. padding:0 3px; /* remove extra top/bottom padding */
  36. }
  37. .ext-gecko .x-form-text {
  38. padding-top:2px; /* FF won't center the text vertically */
  39. padding-bottom:0;
  40. }
  41. /* select boxes */
  42. .x-form-select-one {
  43. height:20px;
  44. line-height:18px;
  45. vertical-align:middle;
  46. background-color:#fff; /* opera */
  47. border: 1px solid #B5B8C8;
  48. }
  49. /* multi select boxes */
  50. /* --- TODO --- */
  51. /* checkboxes */
  52. /* --- TODO --- */
  53. /* radios */
  54. /* --- TODO --- */
  55. /* wrapped fields and triggers */
  56. .x-form-field-wrap {
  57. position:relative;
  58. zoom:1;
  59. white-space: nowrap;
  60. }
  61. .x-editor .x-form-check-wrap {
  62. background:#fff;
  63. }
  64. .x-form-field-wrap .x-form-trigger{
  65. width:17px;
  66. height:21px;
  67. border:0;
  68. background:transparent url(../images/default/form/trigger.gif) no-repeat 0 0;
  69. cursor:pointer;
  70. border-bottom: 1px solid #B5B8C8;
  71. position:absolute;
  72. top:0;
  73. }
  74. .ext-safari .x-form-field-wrap .x-form-trigger{
  75. height:21px; /* safari doesn't allow height adjustments to the fields, so adjust trigger */
  76. }
  77. .x-form-field-wrap .x-form-date-trigger{
  78. background-image: url(../images/default/form/date-trigger.gif);
  79. cursor:pointer;
  80. }
  81. .x-form-field-wrap .x-form-clear-trigger{
  82. background-image: url(../images/default/form/clear-trigger.gif);
  83. cursor:pointer;
  84. }
  85. .x-form-field-wrap .x-form-search-trigger{
  86. background-image: url(../images/default/form/search-trigger.gif);
  87. cursor:pointer;
  88. }
  89. .ext-safari .x-form-field-wrap .x-form-trigger{
  90. right:0;
  91. }
  92. .x-form-field-wrap .x-form-twin-triggers{
  93. }
  94. .x-form-field-wrap .x-form-twin-triggers .x-form-trigger{
  95. position:static;
  96. top:auto;
  97. vertical-align:top;
  98. }
  99. .x-form-field-wrap .x-form-trigger-over{
  100. background-position:-17px 0;
  101. }
  102. .x-form-field-wrap .x-form-trigger-click{
  103. background-position:-34px 0;
  104. }
  105. .x-trigger-wrap-focus .x-form-trigger{
  106. background-position:-51px 0;
  107. }
  108. .x-trigger-wrap-focus .x-form-trigger-over{
  109. background-position:-68px 0;
  110. }
  111. .x-trigger-wrap-focus .x-form-trigger-click{
  112. background-position:-85px 0;
  113. }
  114. .x-trigger-wrap-focus .x-form-trigger{
  115. border-bottom: 1px solid #7eadd9;
  116. }
  117. .x-item-disabled .x-form-trigger-over{
  118. background-position:0 0 !important;
  119. border-bottom: 1px solid #B5B8C8;
  120. }
  121. .x-item-disabled .x-form-trigger-click{
  122. background-position:0 0 !important;
  123. border-bottom: 1px solid #B5B8C8;
  124. }
  125. /* field focus style */
  126. .x-form-focus, textarea.x-form-focus{
  127. border: 1px solid #7eadd9;
  128. }
  129. /* invalid fields */
  130. .x-form-invalid, textarea.x-form-invalid{
  131. background:#fff url(../images/default/grid/invalid_line.gif) repeat-x bottom;
  132. border: 1px solid #dd7870;
  133. }
  134. .ext-safari .x-form-invalid{
  135. background-color:#ffeeee;
  136. border: 1px solid #ff7870;
  137. }
  138. /* editors */
  139. .x-editor {
  140. visibility:hidden;
  141. padding:0;
  142. margin:0;
  143. }
  144. .x-form-check-wrap {
  145. line-height:18px;
  146. }
  147. .ext-ie .x-form-check-wrap input {
  148. width:15px;
  149. height:15px;
  150. }
  151. .x-editor .x-form-check-wrap {
  152. padding:3px;
  153. }
  154. .x-editor .x-form-checkbox {
  155. height:13px;
  156. }
  157. /* If you override the default field font above, you would need to change this font as well */
  158. .x-form-grow-sizer {
  159. font:normal 12px tahoma, arial, helvetica, sans-serif;
  160. left: -10000px;
  161. padding: 8px 3px;
  162. position: absolute;
  163. visibility:hidden;
  164. top: -10000px;
  165. white-space: pre-wrap;
  166. white-space: -moz-pre-wrap;
  167. white-space: -pre-wrap;
  168. white-space: -o-pre-wrap;
  169. word-wrap: break-word;
  170. zoom:1;
  171. }
  172. .x-form-grow-sizer p {
  173. margin:0 !important;
  174. border:0 none !important;
  175. padding:0 !important;
  176. }
  177. /* Form Items CSS */
  178. .x-form-item {
  179. font:normal 12px tahoma, arial, helvetica, sans-serif;
  180. display:block;
  181. margin-bottom:4px;
  182. }
  183. .x-form-item label {
  184. display:block;
  185. float:left;
  186. width:100px;
  187. padding:3px;
  188. padding-left:0;
  189. clear:left;
  190. z-index:2;
  191. position:relative;
  192. }
  193. .x-form-element {
  194. padding-left:105px;
  195. position:relative;
  196. }
  197. .x-form-invalid-msg {
  198. color:#ee0000;
  199. padding:2px;
  200. padding-left:18px;
  201. font:normal 11px tahoma, arial, helvetica, sans-serif;
  202. background: transparent url(../images/default/shared/warning.gif) no-repeat 0 2px;
  203. line-height:16px;
  204. width:200px;
  205. }
  206. .x-form-label-right label {
  207. text-align:right;
  208. }
  209. .x-form-label-top .x-form-item label {
  210. width:auto;
  211. float:none;
  212. clear:none;
  213. display:inline;
  214. margin-bottom:4px;
  215. position:static;
  216. }
  217. .x-form-label-top .x-form-element {
  218. padding-left:0;
  219. padding-top:4px;
  220. }
  221. .x-form-label-top .x-form-item {
  222. padding-bottom:4px;
  223. }
  224. .x-form-empty-field {
  225. color:gray;
  226. }
  227. /* Editor small font for grid, toolbar and tree */
  228. .x-small-editor .x-form-field {
  229. font:normal 11px arial, tahoma, helvetica, sans-serif;
  230. }
  231. .x-small-editor .x-form-text {
  232. height:20px;
  233. line-height:16px;
  234. vertical-align:middle;
  235. }
  236. .ext-ie .x-small-editor .x-form-text {
  237. margin-top:-1px !important; /* ie bogus margin bug */
  238. margin-bottom:-1px !important;
  239. height:20px !important; /* ie quirks */
  240. line-height:16px !important;
  241. }
  242. .ext-strict .x-small-editor .x-form-text {
  243. height:16px !important;
  244. }
  245. .ext-safari .x-small-editor .x-form-field {
  246. /* safari text field will not size so needs bigger font */
  247. font:normal 12px arial, tahoma, helvetica, sans-serif;
  248. }
  249. .ext-ie .x-small-editor .x-form-text {
  250. height:20px;
  251. line-height:16px;
  252. }
  253. .ext-border-box .x-small-editor .x-form-text {
  254. height:20px;
  255. }
  256. .x-small-editor .x-form-select-one {
  257. height:20px;
  258. line-height:16px;
  259. vertical-align:middle;
  260. }
  261. .x-small-editor .x-form-num-field {
  262. text-align:right;
  263. }
  264. .x-small-editor .x-form-field-wrap .x-form-trigger{
  265. height:19px;
  266. }
  267. .x-form-clear {
  268. clear:both;
  269. height:0;
  270. overflow:hidden;
  271. line-height:0;
  272. font-size:0;
  273. }
  274. .x-form-clear-left {
  275. clear:left;
  276. height:0;
  277. overflow:hidden;
  278. line-height:0;
  279. font-size:0;
  280. }
  281. .x-form-cb-label {
  282. width:'auto' !important;
  283. float:none !important;
  284. clear:none !important;
  285. display:inline !important;
  286. margin-left:4px;
  287. }
  288. .x-form-column {
  289. float:left;
  290. padding:0;
  291. margin:0;
  292. width:48%;
  293. overflow:hidden;
  294. zoom:1;
  295. }
  296. /* buttons */
  297. .x-form .x-form-btns-ct .x-btn{
  298. float:right;
  299. clear:none;
  300. }
  301. .x-form .x-form-btns-ct .x-form-btns td {
  302. border:0;
  303. padding:0;
  304. }
  305. .x-form .x-form-btns-ct .x-form-btns-right table{
  306. float:right;
  307. clear:none;
  308. }
  309. .x-form .x-form-btns-ct .x-form-btns-left table{
  310. float:left;
  311. clear:none;
  312. }
  313. .x-form .x-form-btns-ct .x-form-btns-center{
  314. text-align:center; /*ie*/
  315. }
  316. .x-form .x-form-btns-ct .x-form-btns-center table{
  317. margin:0 auto; /*everyone else*/
  318. }
  319. .x-form .x-form-btns-ct table td.x-form-btn-td{
  320. padding:3px;
  321. }
  322. .x-form .x-form-btns-ct .x-btn-focus .x-btn-left{
  323. background-position:0 -147px;
  324. }
  325. .x-form .x-form-btns-ct .x-btn-focus .x-btn-right{
  326. background-position:0 -168px;
  327. }
  328. .x-form .x-form-btns-ct .x-btn-focus .x-btn-center{
  329. background-position:0 -189px;
  330. }
  331. .x-form .x-form-btns-ct .x-btn-click .x-btn-center{
  332. background-position:0 -126px;
  333. }
  334. .x-form .x-form-btns-ct .x-btn-click .x-btn-right{
  335. background-position:0 -84px;
  336. }
  337. .x-form .x-form-btns-ct .x-btn-click .x-btn-left{
  338. background-position:0 -63px;
  339. }
  340. .x-form-invalid-icon {
  341. width:16px;
  342. height:18px;
  343. visibility:hidden;
  344. position:absolute;
  345. left:0;
  346. top:0;
  347. display:block;
  348. background:transparent url(../images/default/form/exclamation.gif) no-repeat 0 2px;
  349. }
  350. /* fieldsets */
  351. .x-fieldset {
  352. border:1px solid #B5B8C8;
  353. padding:10px;
  354. margin-bottom:10px;
  355. }
  356. .x-fieldset legend {
  357. font:bold 11px tahoma, arial, helvetica, sans-serif;
  358. color:#15428b;
  359. }
  360. .ext-ie .x-fieldset legend {
  361. margin-bottom:10px;
  362. }
  363. .ext-ie .x-fieldset {
  364. padding-top: 0;
  365. padding-bottom:5px;
  366. }
  367. .x-fieldset legend .x-tool-toggle {
  368. margin-right:3px;
  369. margin-left:0;
  370. float:left !important;
  371. }
  372. .x-fieldset legend input {
  373. margin-right:3px;
  374. float:left !important;
  375. height:13px;
  376. width:13px;
  377. }
  378. fieldset.x-panel-collapsed {
  379. padding-bottom:0 !important;
  380. border-width: 1px 0 0 0 !important;
  381. }
  382. fieldset.x-panel-collapsed .x-fieldset-bwrap {
  383. visibility:hidden;
  384. position:absolute;
  385. left:-1000px;
  386. top:-1000px;
  387. }
  388. .ext-ie .x-fieldset-bwrap {
  389. zoom:1;
  390. }
  391. .ext-ie td .x-form-text {
  392. position:relative;
  393. top:-1px;
  394. }
  395. .ext-gecko .x-window-body .x-form-item {
  396. -moz-outline: none;
  397. overflow: auto;
  398. }
  399. .ext-gecko .x-form-item {
  400. -moz-outline: none;
  401. }
  402. .x-hide-label label.x-form-item-label {
  403. display:none;
  404. }
  405. .x-hide-label .x-form-element {
  406. padding-left: 0 !important;
  407. }