Forked mumble-django project from https://bitbucket.org/Svedrin/mumble-django
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

551 lines
12 KiB

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