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.

theme.css 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425
  1. /* Debug styles */
  2. .uidl {
  3. position: absolute;
  4. z-index: 1001;
  5. text-indent: 18px;
  6. background-color: white;
  7. background-image: url('img/debug.gif');
  8. background-repeat: no-repeat;
  9. background-position: 1 1;
  10. font-weight: normal;
  11. white-space: nowrap;
  12. }
  13. .minimized {
  14. overflow: hidden;
  15. width: 18px;
  16. height: 18px;
  17. z-index: 1000;
  18. }
  19. /* General styles */
  20. * {
  21. background-color: ThreeDFace;
  22. font-family: sans-serif;
  23. /* font-size: 10pt; */
  24. font-weight: normal;
  25. }
  26. .abs {
  27. position: absolute;
  28. }
  29. .inline {
  30. display: inline;
  31. }
  32. .hidden, .hide {
  33. display: none;
  34. }
  35. .border {
  36. background-color: ButtonFace;
  37. border-width: 1px;
  38. border-style: solid;
  39. border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  40. }
  41. .outset {
  42. border: 1px solid ButtonFace;
  43. }
  44. /* DISABLED */
  45. .disabled {
  46. color: GrayText;
  47. opacity: 0.5;
  48. filter: alpha(opacity=50);
  49. }
  50. .disabled .caption {
  51. color: GrayText;
  52. }
  53. .disabled .border .caption {
  54. color: GrayText;
  55. }
  56. INPUT, SELECT, SELECT OPTION, TEXTAREA {
  57. background-color: ThreeDHighlight;
  58. }
  59. .disabled INPUT, .disabled SELECT, .disabled SELECT OPTION {
  60. background-color: ThreeDFace;
  61. }
  62. /* CAPTION */
  63. .caption {
  64. color: ButtonText;
  65. }
  66. .caption .icon {
  67. width: 1em;
  68. height: 1em;
  69. vertical-align: middle;
  70. padding-right: 5px;
  71. }
  72. .clickable {
  73. cursor: hand;
  74. cursor: pointer;
  75. }
  76. .over {
  77. border: 1px solid ThreeDDarkShadow;
  78. }
  79. .over .caption {
  80. color: ActiveCaption;
  81. }
  82. .selected {
  83. font-weight: bold;
  84. background: #aaaaaa;
  85. }
  86. .content {
  87. padding: 7px;
  88. }
  89. /* TOOLTIP */
  90. IMG.overlay {
  91. position: absolute;
  92. z-index: 5;
  93. }
  94. .popup {
  95. position: absolute;
  96. z-index: 99999;
  97. overflow: hidden;
  98. }
  99. .popup.hide {
  100. display: none;
  101. }
  102. .popup .border {
  103. border: 1px solid InfoText;
  104. background-color: InfoBackground;
  105. }
  106. .popup .caption {
  107. text-align: left;
  108. }
  109. .popup * {
  110. /*white-space: nowrap;*/ /* Really, there's no point doing it like this. If we need nowrap, we define it in the content that needs it, not on all. */
  111. color: InfoText;
  112. background-color: InfoBackground;
  113. }
  114. .popup .error {
  115. font-size: 0.9em;
  116. overflow: auto;
  117. border: solid 1px red;
  118. }
  119. /* COMPONENTS */
  120. /* Button */
  121. .button INPUT {
  122. background-color: ThreeDFace;
  123. }
  124. .button .border {
  125. height: 1.2em;
  126. overflow: hidden;
  127. padding: 0.2em 0.4em 0.2em 0.4em;
  128. text-align: center;
  129. }
  130. .button-link .caption {
  131. color: ActiveCaption;
  132. font-style: italic;
  133. }
  134. .button-link .over {
  135. border: none;
  136. }
  137. .button-link .over .caption {
  138. text-decoration: underline;
  139. }
  140. /* DateField */
  141. .datefield .btn {
  142. background-color: ButtonFace;
  143. margin-right: 3px;
  144. }
  145. /* Link */
  146. .link .caption {
  147. color: ActiveCaption;
  148. font-style: italic;
  149. }
  150. .link .over {
  151. border: none;
  152. }
  153. .link .over .caption {
  154. text-decoration: underline;
  155. }
  156. .link .description {
  157. font-size: 0.8em;
  158. text-indent: 1.5em;
  159. }
  160. /* Panel */
  161. .panelcaption {
  162. padding: 0.2em 0.4em 0.2em 0.4em;
  163. }
  164. .panel .panelcaption {
  165. border-bottom: 2px groove ThreeDHighlight;
  166. }
  167. .panel-strong .panelcaption {
  168. border-bottom: 2px groove ButtonShadow;
  169. color: CaptionText;
  170. background-color: ActiveCaption;
  171. }
  172. .panel .panelborder, .panel-strong .panelborder, .panel-light .panelborder {
  173. border: 2px groove ThreeDHighlight;
  174. }
  175. /* Select */
  176. .select-optiongroup INPUT.option {
  177. background-color: ThreeDFace;
  178. }
  179. .select-optiongroup DIV.newitem {
  180. margin-left: 1.2em;
  181. margin-top: 0.3em;
  182. }
  183. .select-twincol {
  184. width: 350px;
  185. }
  186. .select-twincol div.buttons {
  187. text-align:center;
  188. }
  189. .select-twincol div.buttons button {
  190. text-align:center;
  191. widht:35px;
  192. }
  193. .select-twincol select.unselected {
  194. float:left;
  195. width: 150px;
  196. /* force white, may be grey if empty initially */
  197. background-color: white;
  198. }
  199. .select-twincol select.selected {
  200. float:right;
  201. width: 150px;
  202. /* force white, may be grey if empty initially */
  203. background-color: white;
  204. }
  205. /* Table */
  206. .table .tablestatus {
  207. position: absolute;
  208. padding: 0.2em 0.4em 0.1em 0.4em;
  209. border: 1px solid InfoText;
  210. background-color: InfoBackground;
  211. }
  212. .table .colsel {
  213. margin: 0.25em ;
  214. width: 0.4em;
  215. height: 0.4em;
  216. border: 1px solid ButtonText;
  217. border-top: 2px solid ButtonText;
  218. cursor: hand;
  219. cursor: pointer;
  220. }
  221. .table .popup {
  222. position: absolute;
  223. }
  224. .table {
  225. border: 1px solid;
  226. border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
  227. }
  228. .table .cout, .table .cin {
  229. background-color: Window;
  230. }
  231. .table .tablecaption {
  232. border: 1px solid;
  233. border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  234. padding: 0.0em 0.4em 0.1em 0.4em;
  235. }
  236. .table .hout {
  237. height: 1em;
  238. overflow: hidden;
  239. padding-bottom: 0.2em;
  240. border-bottom: 1px solid ButtonShadow;
  241. }
  242. .table .hin .hah {
  243. border-right: 1px solid ButtonShadow;
  244. padding-left: 0.2em;
  245. }
  246. .table .hin .hah IMG, .table .hin .tableheader IMG {
  247. height: 1em;
  248. width: 2px;
  249. cursor:w-resize;
  250. }
  251. .table .hin .tableheader IMG.sort {
  252. Xposition: absolute;
  253. Xmargin-top: 0.5em;
  254. Xmargin-left: 2px;
  255. width: 9px;
  256. height: 5px;
  257. background-repeat: no-repeat;
  258. }
  259. .table .hin .tableheader IMG.sortasc {
  260. background-image: url('img/table/asc.gif');
  261. }
  262. .table .hin .tableheader IMG.sortdesc {
  263. background-image: url('img/table/desc.gif');
  264. }
  265. .table .hin .tableheader {
  266. border-left: 1px solid ButtonHighlight;
  267. border-right: 1px solid ButtonShadow;
  268. padding-left: 0.2em;
  269. }
  270. .table TABLE {
  271. border-collapse: collapse;
  272. empty-cells: show;
  273. }
  274. .table .cin .tableheader {
  275. padding-left: 0.2em;
  276. }
  277. .table .cin .tablecell {
  278. padding-left: 0.2em;
  279. }
  280. .table .selected TD DIV {
  281. background-color: Highlight;
  282. color: HighlightText;
  283. }
  284. .table .selected TD {
  285. background-color: Highlight;
  286. color: HighlightText;
  287. border-left: 1px solid Highlight;
  288. }
  289. .table .even TD DIV {
  290. border-left: 1px solid Window;
  291. background-color: Window;
  292. }
  293. .table .odd TD DIV {
  294. border-left: 1px solid ButtonFace;
  295. background-color: ButtonFace;
  296. }
  297. /* TabSheet */
  298. .tabsheet .tabs {
  299. margin-top: 0.5em;
  300. }
  301. .tabsheet .tabs .tab .caption, .tabsheet .tabs .tab-on .caption {
  302. margin-left: 1px;
  303. margin-right: 1px;
  304. padding: 0.2em 0.4em 0.1em 0.4em;
  305. }
  306. .tabsheet .tabs .tab .border {
  307. border-bottom: 1px solid ThreeDHighlight;
  308. }
  309. .tabsheet .tabs .tab-on .border {
  310. border-bottom: 1px solid ThreeDFace;
  311. }
  312. .tabsheet .tabs .over {
  313. border: none;
  314. }
  315. .tabsheet .tabs .over .border {
  316. border-bottom: 1px solid ThreeDFace;
  317. }
  318. /* TextField */
  319. .textfield {
  320. margin-top: 0.05em;
  321. }
  322. .textfield .border {
  323. border: none;
  324. }
  325. .textfield INPUT {
  326. font-size: 1em;
  327. padding: 0.12em 0.4em 0.12em 0.4em;
  328. }
  329. /* Tree */
  330. .tree {
  331. border: 1px solid;
  332. border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow;
  333. }
  334. .tree .caption {
  335. border: 1px solid;
  336. border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  337. padding: 0.0em 0.4em 0.1em 0.4em;
  338. }
  339. .tree .content, .tree .content .node, .tree .content .nodes, .tree .content .node IMG {
  340. background-color: Window;
  341. }
  342. .tree .node {
  343. border: none;
  344. padding: 0.1em 0.4em 0.2em 0em;
  345. }
  346. .tree .nodes {
  347. padding-left: 1em;
  348. }
  349. .tree .over {
  350. text-decoration: underline;
  351. color: Highlight;
  352. }
  353. .tree .content DIV.selected, .tree .content .selected IMG {
  354. background-color: Highlight;
  355. color: HighlightText;
  356. font-weight: normal;
  357. }
  358. /* ACTIONS */
  359. .actions {
  360. position: absolute;
  361. border: 1px solid;
  362. border-color: ButtonShadow ButtonText ButtonText ButtonShadow;
  363. }
  364. .actions .border {
  365. background-color: ButtonFace;
  366. border: 1px solid;
  367. border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight;
  368. }
  369. .actions .item {
  370. padding: 0.2em 1em 0.2em 1em;
  371. color: ButtonText;
  372. white-space: nowrap;
  373. }
  374. .actions .over {
  375. border: none;
  376. text-decoration: none;
  377. color: HighlightText;
  378. background-color: Highlight;
  379. }
  380. .table .actions .over {
  381. background-color: Highlight;
  382. }
  383. .upload-iframe {
  384. width: 450px;
  385. height: 30px;
  386. border: none;
  387. margin: 0px;
  388. padding: 0px;
  389. background: transparent;
  390. }