A Qcodo based CMS/ecommerce framework
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.

491 lines
10 KiB

12 years ago
  1. /* These are all EXAMPLES -- they are meant to be updated/changed/modified */
  2. body { font: 12px 'Verdana', 'Arial', 'Helvetica'; }
  3. /* Standard HTML Form Controls */
  4. input.button {
  5. border: 1px solid #A1D771;
  6. font: 11px 'Arial', 'Helvetica';
  7. font-weight: bold; background-color: #CEFD58;
  8. }
  9. input.button:hover {
  10. background-color: #fff;
  11. }
  12. input.textbox, textarea.textbox {
  13. font: 1.1em 'Arial', 'Helvetica';
  14. width: 300px;
  15. background-color: #FCFDC3;
  16. border: 1px solid #A1D771;
  17. padding: 2px 3px 2px 3px;
  18. }
  19. textarea.textbox {
  20. width: 400px;
  21. height: 320px;
  22. }
  23. input.textbox:focus, textarea.textbox:focus {
  24. background-color: #fff;
  25. border-color: #A1D771;
  26. }
  27. select.listbox {
  28. font: 12px 'Arial', 'Helvetica';
  29. width: 208px;
  30. background-color: #CEFD58;
  31. border: 1px solid #A1D771;
  32. }
  33. select.listbox:focus {
  34. background-color: #fff;
  35. border-color: #A1D771;
  36. }
  37. a.listboxReset {
  38. font-family: verdana, arial, helvetica;
  39. font-size: 8pt;
  40. text-decoration: none;
  41. color: #337;
  42. }
  43. a.listboxReset:hover {
  44. text-decoration:
  45. underline;
  46. }
  47. /**
  48. * Various QControl-specific Styles
  49. */
  50. /* QFileAsset */
  51. div.fileassetDbox {
  52. border: 4px solid #333;
  53. background-color: #fff;
  54. padding: 20px;
  55. width: 400px;
  56. overflow: auto;
  57. }
  58. div.fileassetDbox h1 {
  59. margin: 0;
  60. }
  61. div.fileassetDbox input {
  62. padding: 3px;
  63. margin-right: 5px;
  64. }
  65. /* QDialogBox */
  66. div.dialogbox {
  67. border: 4px solid #333;
  68. background-color: #fff;
  69. padding: 20px;
  70. width: 400px;
  71. overflow: auto;
  72. }
  73. /* QDateTimePicker */
  74. span.datetimepicker { }
  75. span.datetimepicker select {
  76. font: 12px 'Arial', 'Helvetica';
  77. background-color: #CEFD58;
  78. border: 1px solid #A1D771;
  79. }
  80. span.datetimepicker select:focus {
  81. background-color: #fff;
  82. border-color: #A1D771;
  83. }
  84. span.datetimepicker select.month {
  85. width: 55px;
  86. }
  87. span.datetimepicker select.day {
  88. width: 45px;
  89. margin-left: 8px;
  90. }
  91. span.datetimepicker select.year {
  92. width: 60px;
  93. margin-left: 8px;
  94. }
  95. span.datetimepicker select.hour {
  96. width: 65px;
  97. margin-left: 12px;
  98. margin-right: 2px;
  99. }
  100. span.datetimepicker select.minute {
  101. width: 45px;
  102. margin-left: 2px;
  103. margin-right: 2px; }
  104. span.datetimepicker select.second {
  105. width: 45px;
  106. margin-left: 2px;
  107. }
  108. /* QDataGrid */
  109. table.datagrid {
  110. border: 1px solid #A1D771;
  111. }
  112. table.datagrid caption, table.datagrid tfoot {
  113. padding-bottom: 4px;
  114. overflow: auto;
  115. }
  116. table.datagrid span.left {
  117. float: left;
  118. font-size: 10px;
  119. display: block;
  120. }
  121. table.datagrid span.right {
  122. float: right;
  123. font-size: 10px;
  124. display: block;
  125. }
  126. table.datagrid tr {
  127. background-color: #fff;
  128. }
  129. table.datagrid tr.alternate {
  130. background-color: #CEFD58;
  131. }
  132. table.datagrid th {
  133. background-color: #A1D771;
  134. padding: 3px 5px 3px 5px;
  135. text-align: left;
  136. }
  137. table.datagrid th a {
  138. color: #000;
  139. text-decoration: none;
  140. }
  141. table.datagrid th a:hover {
  142. color: #000;
  143. text-decoration: underline;
  144. }
  145. table.datagrid td {
  146. padding: 5px;
  147. }
  148. table.datagrid td a {
  149. color: #000;
  150. }
  151. table.datagrid td a:hover {
  152. color: #000;
  153. text-decoration: none;
  154. }
  155. table.datagrid tfoot {
  156. border-top: 1px solid #A1D771;
  157. }
  158. /* QPaginator */
  159. span.paginator {
  160. margin: 0;
  161. padding: 0;
  162. }
  163. span.paginator span {
  164. list-style-type:none; display: inline;
  165. padding: 0;
  166. margin: 0;
  167. }
  168. span.paginator span.page a {
  169. text-decoration: none;
  170. color: #000000;
  171. padding: 0 3px 0 3px;
  172. margin: 0 2px 0 2px;
  173. }
  174. span.paginator span.page a:hover {
  175. background-color: #ccf;
  176. }
  177. span.paginator span.arrow {
  178. font-weight: bold;
  179. color: #ccc; margin: 0;
  180. padding: 0 3px 0 3px;
  181. }
  182. span.paginator span.arrow a {
  183. font-weight: bold;
  184. color: #000;
  185. text-decoration: none;
  186. }
  187. span.paginator span.selected {
  188. font-weight: bold;
  189. background-color: #ccf;
  190. padding: 0 3px 0 3px;
  191. margin: 0 2px 0 2px;
  192. border: 1px;
  193. border-style: solid;
  194. }
  195. span.paginator span.break {
  196. color: #666;
  197. margin: 0 5px 0 5px;
  198. }
  199. span.paginator span.ellipsis {
  200. color: #666;
  201. }
  202. /* QCalendar */
  203. div.calendar {
  204. width: 200px;
  205. border: 1px solid #337;
  206. background-color: #ccf;
  207. }
  208. div.calendar div.navigator {
  209. background-color: #337;
  210. overflow: auto;
  211. height: 100%;
  212. color: #fff;
  213. padding: 2px 6px 2px 6px;
  214. }
  215. div.calendar div.navigator div.left {
  216. float: left;
  217. }
  218. div.calendar div.navigator div.month {
  219. float: left;
  220. width: 80px;
  221. text-align: center;
  222. font-weight: bold;
  223. font-size: 11px;
  224. }
  225. div.calendar div.navigator div.year {
  226. float: right;
  227. }
  228. div.calendar div.navigator div.year span {
  229. font-size: 11px;
  230. font-weight: bold;
  231. margin-left: 6px;
  232. margin-right: 6px;
  233. }
  234. div.calendar div.navigator a {
  235. color: #fff;
  236. text-decoration: none;
  237. }
  238. div.calendar div.navigator a:hover {
  239. text-decoration: underline;
  240. }
  241. div.calendar table {
  242. border: 0;
  243. margin-left: auto;
  244. margin-right: auto;
  245. }
  246. div.calendar th {
  247. text-align: center;
  248. border: 0;
  249. padding: 4px 2px 4px 2px;
  250. font-weight: bold;
  251. font-size: 10px;
  252. }
  253. div.calendar td {
  254. text-align: center;
  255. border-width: 0 0 1px 0;
  256. border-style: solid;
  257. border-color: black;
  258. padding: 0;
  259. }
  260. div.calendar td.lastRow {
  261. border-width: 0;
  262. }
  263. div.calendar td a {
  264. text-decoration: none;
  265. color: #000;
  266. display: block;
  267. padding: 2px 6px 2px 6px;
  268. }
  269. div.calendar td.today {
  270. background-color: #bbd;
  271. }
  272. div.calendar td.nonMonth a {
  273. color: #A1D771;
  274. }
  275. div.calendar td.selected {
  276. background-color: #c9a;
  277. font-weight: bold;
  278. }
  279. div.calendar td a:hover {
  280. background-color: #CEFD58;
  281. color: #000;
  282. }
  283. div.calendar div.options {
  284. text-align: center;
  285. background-color: #337;
  286. }
  287. div.calendar div.options a {
  288. color: #fff;
  289. font-size: 10px;
  290. text-decoration: none;
  291. }
  292. div.calendar div.options a:hover {
  293. text-decoration: underline;
  294. }
  295. /**
  296. * Styles for Custom Render Functions as defined in QControl.class.php
  297. */
  298. div.renderWithName {
  299. padding: 4px 0 4px 0;
  300. overflow: auto;
  301. height: 100%;
  302. }
  303. div.renderWithName div.left {
  304. float: left;
  305. width: 200px;
  306. margin-right: 25px;
  307. }
  308. div.renderWithName div.required {
  309. font-weight: bold;
  310. text-transform: uppercase;
  311. }
  312. div.renderWithName div.left span.instructions {
  313. font: 10px 'Verdana', 'Arial', 'Helvetica';
  314. color: #999; font-style: italic;
  315. text-transform: none;
  316. }
  317. div.renderWithName div.right { }
  318. div.renderWithName div.right span.error {
  319. margin-left: 15px;
  320. font: 10px 'Verdana', 'Arial', 'Helvetica';
  321. color: #600;
  322. }
  323. /**
  324. * Form and Dashboard Draft-Specific Styles
  325. * NOTE: because these are page specific, we use element IDs instead of
  326. * element classes for most items here
  327. * (e.g. we will never have more than one titleBar per page)
  328. */
  329. div#titleBar {
  330. background-color: #535E14; /* olive green*/
  331. border: 1px solid #337;
  332. margin-bottom: 18px;
  333. text-align: center;
  334. }
  335. div#titleBar h2 {
  336. /* background-color: #535E14; /* olive green*/ */
  337. font: 12px 'Georgia', 'Times New Roman', 'Times';
  338. font-style: italic;
  339. font-weight: bold;
  340. color: #fff;
  341. margin: 0;
  342. padding: 2px 5px 2px 5px;
  343. float: none;
  344. }
  345. div#titleBar h2#right {
  346. float: right;
  347. font: 10px 'Verdana', 'Arial', 'Helvetica';
  348. font-style: normal;
  349. font-weight: normal;
  350. }
  351. div#titleBar h2#right a {
  352. color: #fff;
  353. text-decoration: none;
  354. }
  355. div#titleBar h2#right a:hover {
  356. text-decoration: underline;
  357. }
  358. div#titleBar h1 {
  359. /* font: 28px 'Georgia', 'Times New Roman', 'Times'; */
  360. font: 'Georgia', 'Times New Roman', 'Times';
  361. color: #fffeee;
  362. margin: 0;
  363. padding: 2px 0 2px 5px;
  364. font-weight: bold;
  365. }
  366. p.create { }
  367. p.create a {
  368. text-decoration: none;
  369. color: #337;
  370. font-weight: bold;
  371. }
  372. p.create a:hover {
  373. text-decoration: underline;
  374. }
  375. div#draftList { }
  376. div#draftList h1 {
  377. margin: 0;
  378. font: 20px 'Georgia', 'Times New Roman', 'Times';
  379. font-weight: bold;
  380. }
  381. div#draftList p {
  382. margin-top: 6px;
  383. margin-bottom: 18px;
  384. }
  385. /*
  386. div#formControls {
  387. padding: 0 0 0 20px;
  388. }
  389. div#formActions {
  390. background-color: #A1D771;
  391. padding: 10px;
  392. height: 20px;
  393. margin-top: 18px;
  394. }
  395. div#formActions div#save {
  396. float: left;
  397. }
  398. div#formActions div#cancel {
  399. margin-left: 10px;
  400. float: left;
  401. }
  402. div#formActions div#delete {
  403. float: right;
  404. }*/
  405. div#dashboard { }
  406. div#dashboard div#left {
  407. float: left;
  408. width: 20%;
  409. height: 1000px;
  410. font-size: 10px;
  411. color: #fff;
  412. background-color: #535E14;
  413. border: 1px double #000;
  414. padding: 5px;
  415. margin-left: 1em;
  416. }
  417. div#dashboard div#right {
  418. position: relative;
  419. float: left;
  420. margin-left: 10px;
  421. /* width: 760px; */
  422. width: 75%;
  423. }
  424. div#dashboard div#right div#pnlList {
  425. margin-bottom: 10px;
  426. border: 1px solid #000;
  427. padding: 5px;
  428. /* height: 300px; */
  429. overflow: auto;
  430. }
  431. div#dashboard div#right div#pnlEdit {
  432. border: 1px solid #000;
  433. padding: 5px;
  434. background-color: #CEFD58;
  435. /* height: 240px; */
  436. overflow: auto;
  437. }
  438. #classNames {
  439. position: relative;
  440. border-width: 0px 1px 1px 1px;
  441. border-style: double;
  442. width:100%;
  443. overflow: auto;
  444. border-color: #224499;
  445. }
  446. div.className {
  447. font-style: bold;
  448. font-size: 1.2em;
  449. font-family: georgia, helvetica, serif;
  450. border-top: 2px solid gray;
  451. border-bottom: 2px solid black;
  452. border-left: 2px solid gray;
  453. border-right: 2px solid black;
  454. padding: 2px;
  455. cursor: pointer;
  456. position: relative;
  457. background-color: #FFD16F;
  458. color: black;
  459. }
  460. div.className:hover {
  461. border-top: 2px solid black;
  462. border-bottom: 2px solid gray;
  463. border-left: 2px solid black;
  464. border-right: 2px solid gray;
  465. }