xforms.css 23 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313
  1. /*
  2. * This file is part of: Xfolite (J2ME XForms client)
  3. *
  4. * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
  5. *
  6. * Contact: Oskari Koskimies <oskari.koskimies@nokia.com>
  7. *
  8. * This program is free software: you can redistribute it and/or modify
  9. * it under the terms of the GNU Lesser General Public License as published
  10. * by the Free Software Foundation; either version 2.1 of the License, or
  11. * (at your option) any later version.
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  15. * See the GNU Lesser General Public License for more details.
  16. * You should have received a copy of the GNU Lesser
  17. * General Public License along with this program.
  18. * If not, see <http://www.gnu.org/licenses/>.
  19. */
  20. /**
  21. * This file contains the XForms-specific stylings
  22. */
  23. colors {
  24. /*
  25. xfBgColor: white;
  26. contextXfBgColor: #aff;
  27. focusedXfBgColor: #bbf;
  28. */
  29. EagleWhite: #ededdd;
  30. EagleGreen: #229c00;
  31. EagleLightGrey: #dddddd;
  32. EagleGrey: #ccccbb;
  33. EagleDarkGrey: #444433;
  34. EagleDarkRed: #661100;
  35. EagleRed: #882211;
  36. xfBgColor: EagleWhite;
  37. contextXfBgColor: #aff;
  38. focusedXfBgColor: EagleGreen;
  39. rangeBarColorFocused: #a68564;
  40. rangeBarColorUnfocused: #99887a;
  41. }
  42. backgrounds {
  43. EagleBasic {
  44. type: simple;
  45. color: EagleWhite;
  46. }
  47. EagleBasicFocused {
  48. type: simple;
  49. color: EagleGreen;
  50. }
  51. unfocusedTop {
  52. type: partial-gradient;
  53. start: 0%;
  54. end: 15%;
  55. top-color: #959584;
  56. bottom-color: #ededdc;
  57. }
  58. unfocusedBottom {
  59. type: partial-gradient;
  60. start: 15%;
  61. end: 100%;
  62. top-color: #ededdc;
  63. bottom-color: #ccccbb;
  64. }
  65. EagleUnfocusedBg {
  66. type: combined;
  67. foreground: unfocusedTop;
  68. background: unfocusedBottom;
  69. }
  70. focusedLabelTop {
  71. type: partial-gradient;
  72. start: 0%;
  73. end: 30%;
  74. top-color: #48a415;
  75. bottom-color: #65ca32;
  76. }
  77. focusedLabelBottom {
  78. type: partial-gradient;
  79. start: 30%;
  80. end: 100%;
  81. top-color: #65ca32;
  82. bottom-color: #5bbe28;
  83. }
  84. EagleFocusedTop {
  85. type: partial-gradient;
  86. start: 0%;
  87. end: 15%;
  88. top-color: #6ecc3e;
  89. bottom-color: #acff80;
  90. }
  91. EagleFocusedMiddle {
  92. type: partial-gradient;
  93. start: 15%;
  94. end: 80%;
  95. top-color: #acff80;
  96. bottom-color: #6ecc3E;
  97. }
  98. EagleFocusedTopMiddle {
  99. type: combined;
  100. foreground: EagleFocusedTop;
  101. background: EagleFocusedMiddle;
  102. }
  103. EagleFocusedBottom {
  104. type: partial-gradient;
  105. start: 80%;
  106. end: 100%;
  107. top-color: #6ecc3e;
  108. bottom-color: #6ecc3e;
  109. }
  110. EagleFocusedBg {
  111. type: combined;
  112. foreground: EagleFocusedTopMiddle;
  113. background: EagleFocusedBottom;
  114. }
  115. /*
  116. EagleFocusedTop {
  117. type: combined;
  118. foreground: focusedLabelTop;
  119. background: focusedLabelBottom;
  120. }
  121. EagleFocusedBottom {
  122. type: vertical-gradient;
  123. top-color: #5bbe28;
  124. bottom-color: #449f11;
  125. }
  126. */
  127. EagleTicker {
  128. type: combined;
  129. background: EagleTickerTop;
  130. foreground: EagleTickerBottom;
  131. }
  132. EagleTickerTop {
  133. type: vertical-gradient;
  134. top-color: EagleGrey;
  135. bottom-color: titleBackgroundColor;
  136. start: 0%;
  137. end: 20%;
  138. }
  139. EagleTickerBottom {
  140. type: partial-gradient;
  141. start: 80%;
  142. end: 100%;
  143. top-color: titleBackgroundColor;
  144. bottom-color: EagleGrey;
  145. }
  146. }
  147. .waitPopup {
  148. margin-left: 10;
  149. margin-right: 10;
  150. padding: 5;
  151. layout: horizontal-center | vertical-center | horizontal-shrink | vertical-shrink;
  152. repaint-previous-screen: true;
  153. border {
  154. type: round-rect;
  155. color: EagleDarkGrey;
  156. arc: 20;
  157. }
  158. background {
  159. type: round-rect;
  160. arc: 20;
  161. color: EagleWhite;
  162. }
  163. }
  164. tabbar {
  165. background-color: EagleGrey;
  166. layout: expand;
  167. padding-bottom: 0;
  168. border-type: bottom;
  169. border-color: EagleWhite;
  170. border-width: 1;
  171. margin-bottom:0;
  172. tabbar-left-arrow: url( left_unfocused.png );
  173. tabbar-right-arrow: url( right_unfocused.png );
  174. tabbar-arrow-y-offset: 3;
  175. tabbar-roundtrip: true;
  176. }
  177. tabbar:hover extends tabbar {
  178. background: none;
  179. border-width: 5;
  180. tabbar-left-arrow: url( left_focused.png );
  181. tabbar-right-arrow: url( right_focused.png );
  182. }
  183. activetab {
  184. padding-left: 10;
  185. padding-right: 8;
  186. padding-top: 7;
  187. padding-bottom: 0;
  188. border:none;
  189. background-type: round-tab;
  190. background-color: EagleWhite;
  191. background-arc: 8;
  192. font-color: black;
  193. font-style: bold;
  194. }
  195. inactivetab {
  196. margin-left: 2;
  197. margin-right: 2;
  198. margin-bottom: 0;
  199. padding-top: 3;
  200. padding-left: 6;
  201. padding-right: 4;
  202. padding-bottom: 0;
  203. border:none;
  204. background-type: round-tab;
  205. background-color: rangeBarColorUnfocused;
  206. background-arc: 8;
  207. font-color: black;
  208. }
  209. alert {
  210. view-type: slide-up;
  211. }
  212. .xform {
  213. background: EagleBasic;
  214. /* scroll-mode: normal; */
  215. }
  216. .xformsmessage {
  217. layout: horizontal-center | bottom | vertical-shrink;
  218. background: EagleBasic;
  219. }
  220. .wrapper {
  221. padding-top: 2;
  222. padding-bottom: 0;
  223. padding-left: 2;
  224. padding-right: 2;
  225. background: none;
  226. }
  227. .wrapperReadOnly extends .wrapper {
  228. background-color: EagleLightGrey;
  229. }
  230. .wrapperReadOnly:hover extends .wrapperReadOnly {
  231. }
  232. .layoutWrapper extends .wrapper {
  233. }
  234. .tabwrapper {
  235. padding-top: 2;
  236. padding-bottom: 0;
  237. padding-vertical: 0;
  238. padding-left: 2;
  239. padding-right: 2;
  240. margin-bottom: 0;
  241. background: none;
  242. border: none;
  243. }
  244. .wrapper:hover extends .wrapper {
  245. background: EagleFocusedBg;
  246. }
  247. .layoutWrapper:hover extends .layoutWrapper {
  248. }
  249. .tabwrapper:hover extends .tabwrapper {
  250. background: EagleFocusedBg;
  251. }
  252. .wrapperLabel {
  253. layout: left | expand;
  254. text-wrap: false;
  255. text-wrap-animate: false;
  256. font-size: small;
  257. font-style: bold;
  258. font-face: normal;
  259. font-color: EagleDarkGrey;
  260. padding-bottom: 0;
  261. padding-right: 0;
  262. margin-bottom: 0;
  263. margin-right: 0;
  264. border: none;
  265. }
  266. .wrapperLabelAlerts extends .wrapperLabel {
  267. before: url( attention.png );
  268. }
  269. .wrapperLabelFocused extends .wrapperLabel {
  270. font-color: black;
  271. text-wrap: true;
  272. }
  273. .wrapperLabelAlertsFocused extends .wrapperLabelFocused {
  274. }
  275. .wrapperLabelRequired extends .wrapperLabel {
  276. font-color: EagleRed;
  277. }
  278. .wrapperLabelRequiredAlerts extends .wrapperLabelRequired {
  279. before: url( attention.png );
  280. }
  281. .wrapperLabelRequiredFocused extends .wrapperLabelRequired {
  282. font-color: EagleDarkRed;
  283. text-wrap: true;
  284. }
  285. .wrapperLabelRequiredAlertsFocused extends .wrapperLabelRequiredFocused {
  286. }
  287. .context {
  288. background-color: contextXfBgColor;
  289. layout: left|expand;
  290. font-size: small;
  291. font-style: normal;
  292. font-face: normal;
  293. font-color: black;
  294. }
  295. .xformsbusy {
  296. icon-image: url( busy.png );
  297. background-color: contextXfBgColor;
  298. layout: center | expand;
  299. font-size: large;
  300. font-style: normal;
  301. font-face: normal;
  302. font-color: black;
  303. }
  304. .xformsfield {
  305. layout: expand |left;
  306. background: none;
  307. border {
  308. type: round-rect;
  309. color: EagleDarkGrey;
  310. arc: 10;
  311. }
  312. /* border-type: round-rect; */
  313. font-color: fontColor;
  314. font-face: monospace;
  315. font-style: normal;
  316. include-label: false;
  317. margin:0;
  318. }
  319. .xformsalert {
  320. visible: false;
  321. layout: left;
  322. font-size: small;
  323. font-style: normal;
  324. font-face: normal;
  325. font-color: black;
  326. before: url( attention.png );
  327. }
  328. .xformsalertFocused extends .xformsalert {
  329. visible: true;
  330. }
  331. .requiredalert extends .xformsalert {
  332. }
  333. .requiredalertFocused extends .xformsalertFocused {
  334. }
  335. .xfmenuitem /* extends .xformsfield */ {
  336. /* label-style: .xfmenuitemLabel;
  337. focused-style: .xfmenuitemFocused; */
  338. border:none;
  339. background:none;
  340. }
  341. .xfmenuitemLabel extends .wrapperLabel {
  342. /* layout: left | newline-after; */
  343. font-color: black;
  344. }
  345. /*
  346. .xfmenuitemFocused extends .xfmenuitem {
  347. background-color: red;
  348. border-color: focusedXfBgColor;
  349. label-style: .xfmenuitemLabelFocused;
  350. }
  351. */
  352. .xfmenuitemLabelFocused extends .xfmenuitemLabel {
  353. background-color: focusedXfBgColor;
  354. border-color: focusedXfBgColor;
  355. }
  356. .trigger extends .xformsfield {
  357. /*
  358. margin:1;
  359. border: none;
  360. before: url( button_unfocused.png );
  361. layout: expand | left | vcenter;
  362. font-color: blue;
  363. font-size: small;
  364. font-face: normal;
  365. font-style: bold;
  366. */
  367. margin: 2;
  368. border {
  369. type: round-rect;
  370. color: #444433;
  371. arc: 10;
  372. }
  373. padding-horizontal: 5;
  374. background {
  375. type: vertical-gradient;
  376. top-color: #999986;
  377. bottom-color: #5A5944;
  378. /*
  379. top-color: #838372;
  380. bottom-color: #444433;
  381. */
  382. start: 0%;
  383. end: 100%;
  384. }
  385. layout: expand | hcenter | vcenter;
  386. font-color: white;
  387. font-size: small;
  388. font-face: normal;
  389. font-style: bold;
  390. }
  391. .trigger:hover extends .trigger {
  392. /*
  393. before: url( button_focused.png );
  394. background-color: focusedXfBgColor;
  395. */
  396. background {
  397. type: vertical-gradient;
  398. top-color: #797969;
  399. bottom-color: #333326;
  400. /*
  401. top-color: #81e84f;
  402. bottom-color: #3c9f0d;
  403. */
  404. start: 0%;
  405. end: 100%;
  406. }
  407. border {
  408. type: round-rect;
  409. color: black;
  410. arc: 10;
  411. }
  412. font-color: #83f261;
  413. }
  414. .trigger:pressed extends .trigger {
  415. /*
  416. before: url( button_pressed.png );
  417. background-color: focusedXfBgColor;
  418. */
  419. background {
  420. type: vertical-gradient;
  421. /*
  422. top-color: #888877;
  423. bottom-color: #504f44;
  424. */
  425. top-color: #333326;
  426. bottom-color: #797969;
  427. start: 0%;
  428. end: 100%;
  429. }
  430. border {
  431. type: round-rect;
  432. color: black;
  433. arc: 10;
  434. }
  435. font-color: #7ce65c;
  436. }
  437. .tableTrigger extends .xformsfield {
  438. layout: shrink | left;
  439. margin: 2;
  440. border {
  441. type: round-rect;
  442. color: #444433;
  443. arc: 10;
  444. }
  445. padding-left: 5;
  446. padding-right: 5;
  447. padding-horizontal: 5;
  448. background {
  449. type: vertical-gradient;
  450. top-color: #999986;
  451. bottom-color: #5A5944;
  452. start: 0%;
  453. end: 100%;
  454. }
  455. font-color: white;
  456. font-size: small;
  457. font-face: normal;
  458. font-style: bold;
  459. }
  460. .tableTrigger:hover extends .tableTrigger {
  461. background {
  462. type: vertical-gradient;
  463. top-color: #797969;
  464. bottom-color: #333326;
  465. start: 0%;
  466. end: 100%;
  467. }
  468. border {
  469. type: round-rect;
  470. color: black;
  471. arc: 10;
  472. }
  473. font-color: #83f261;
  474. }
  475. .tableTrigger:pressed extends .tableTrigger {
  476. background {
  477. type: vertical-gradient;
  478. top-color: #333326;
  479. bottom-color: #797969;
  480. start: 0%;
  481. end: 100%;
  482. }
  483. border {
  484. type: round-rect;
  485. color: black;
  486. arc: 10;
  487. }
  488. font-color: #7ce65c;
  489. }
  490. .submit extends .xformsfield {
  491. margin: 2;
  492. border {
  493. type: round-rect;
  494. color: #444433;
  495. arc: 10;
  496. }
  497. padding-horizontal: 5;
  498. background {
  499. type: vertical-gradient;
  500. top-color: #999986;
  501. bottom-color: #5A5944;
  502. /*
  503. top-color: #838372;
  504. bottom-color: #444433;
  505. */
  506. start: 0%;
  507. end: 100%;
  508. }
  509. layout: expand | hcenter | vcenter;
  510. font-color: white;
  511. font-size: small;
  512. font-face: normal;
  513. font-style: bold;
  514. }
  515. .submit:hover extends .submit {
  516. background {
  517. type: vertical-gradient;
  518. top-color: #797969;
  519. bottom-color: #333326;
  520. /*
  521. top-color: #81e84f;
  522. bottom-color: #3c9f0d;
  523. */
  524. start: 0%;
  525. end: 100%;
  526. }
  527. border {
  528. type: round-rect;
  529. color: black;
  530. arc: 10;
  531. }
  532. font-color: #83f261;
  533. }
  534. .submit:pressed extends .submit {
  535. background {
  536. type: vertical-gradient;
  537. /*
  538. top-color: #888877;
  539. bottom-color: #504f44;
  540. */
  541. top-color: #333326;
  542. bottom-color: #797969;
  543. start: 0%;
  544. end: 100%;
  545. }
  546. border {
  547. type: round-rect;
  548. color: black;
  549. arc: 10;
  550. }
  551. font-color: #7ce65c;
  552. }
  553. .input extends .xformsfield {
  554. /* label-style: .inputLabel; */
  555. }
  556. .inputLabel extends .wrapperLabel {
  557. /* layout: left | newline-after; */
  558. }
  559. .input:hover extends .input {
  560. /* background: EagleFocusedBottom; */
  561. background {
  562. type: round-rect;
  563. arc: 10;
  564. color: white;
  565. }
  566. border-color: black;
  567. /* border-width: 1;
  568. border-color: black; */
  569. /* label-style: .inputLabelFocused; */
  570. /* font-color: white;
  571. textfield-caret-color: white; */
  572. /*
  573. border-type: round-rect;
  574. border-arc: 6;
  575. border-width: 5;
  576. */
  577. }
  578. .inputLabel:hover extends .inputLabel {
  579. /* background-color: focusedXfBgColor; */
  580. /* background: EagleFocusedTop; */
  581. border: none;
  582. font-color: black;
  583. margin-right: 1;
  584. }
  585. myoutput {
  586. layout: expand | left;
  587. background-color: xfBgColor;
  588. font-color: fontColor;
  589. font-face: monospace;
  590. font-style: normal;
  591. label-style: .outputLabel;
  592. /* Output elements cannot be focused */
  593. /* focused-style: .outputFocused;*/
  594. font-color: red;
  595. }
  596. .output {
  597. layout: expand | left;
  598. background-color: xfBgColor;
  599. font-color: fontColor;
  600. font-face: monospace;
  601. font-style: normal;
  602. label-style: .outputLabel;
  603. /* Output elements cannot be focused */
  604. /* focused-style: .outputFocused;*/
  605. include-label: false;
  606. }
  607. .outputLabel extends .wrapperLabel {
  608. }
  609. .outputFocused extends .output {
  610. background-color: focusedXfBgColor;
  611. label-style: .outputLabelFocused;
  612. /*
  613. border-type: round-rect;
  614. border-arc: 6;
  615. border-width: 2;
  616. */
  617. }
  618. .outputLabelFocused extends .outputLabel {
  619. /* background-color: silver; */
  620. }
  621. .img {
  622. layout: center | expand | vshrink;
  623. background-color: xfBgColor;
  624. }
  625. .divider extends .wrapperLabel {
  626. layout: center;
  627. font-size: normal;
  628. padding-horizontal: 5;
  629. }
  630. .tableCheckbox {
  631. layout: left;
  632. background: none;
  633. border:none;
  634. font-color: black;
  635. font-face: proportional;
  636. font-style: bold;
  637. font-size: small;
  638. }
  639. .tableCheckbox:hover extends .checkbox {
  640. }
  641. .tableCheckboxOption {
  642. margin: 2;
  643. padding-horizontal: 5;
  644. checkbox-plain: url( checkbox_unchecked.png );
  645. checkbox-selected: url( checkbox_checked.png );
  646. font-size: small;
  647. font-style: bold;
  648. font-color: EagleDarkGrey;
  649. layout: left | vcenter;
  650. }
  651. .tableCheckboxOption:hover extends .tableCheckboxOption {
  652. font-color: black;
  653. }
  654. .checkbox extends .xformsfield {
  655. /* text-wrap: false; */
  656. layout: vcenter;
  657. border: none;
  658. margin: 1;
  659. include-label: false;
  660. background: none;
  661. }
  662. .checkbox:hover extends .checkbox {
  663. /* background-color: focusedXfBgColor; */
  664. background: EagleFocusedBg;
  665. }
  666. .checkboxOption {
  667. margin: 2;
  668. padding-horizontal: 5;
  669. checkbox-plain: url( checkbox_unchecked.png );
  670. checkbox-selected: url( checkbox_checked.png );
  671. font-size: small;
  672. font-style: bold;
  673. font-color: EagleDarkGrey;
  674. layout: left | vcenter | expand;
  675. }
  676. .checkboxOption:hover extends .checkboxOption {
  677. font-color: black;
  678. }
  679. .table {
  680. layout: left | shrink;
  681. expand-items: true;
  682. padding: 3;
  683. padding-left: 5;
  684. padding-vertical: 1;
  685. border {
  686. type: round-rect;
  687. color: EagleDarkGrey;
  688. arc: 20;
  689. }
  690. table-line-color: EagleDarkGrey;
  691. table-selected-background: EagleFocusedBg;
  692. }
  693. .layoutTable {
  694. layout: left | expand;
  695. expand-items: true;
  696. padding: 3;
  697. padding-left: 5;
  698. padding-vertical: 1;
  699. border: none;
  700. table-line-color: EagleWhite;
  701. background: none;
  702. }
  703. .layoutTable:hover extends .layoutTable {
  704. }
  705. .table:hover extends .table {
  706. border {
  707. type: round-rect;
  708. color: black;
  709. arc: 20;
  710. }
  711. table-line-color: black;
  712. background {
  713. type: round-rect;
  714. arc: 20;
  715. color: white;
  716. }
  717. }
  718. tableEvenRow {
  719. layout: shrink;
  720. background: none;
  721. border:none;
  722. margin: 0;
  723. }
  724. tableEvenRow:hover extends tableEvenRow {
  725. }
  726. tableOddRow {
  727. layout: shrink;
  728. background: none;
  729. border:none;
  730. margin: 0;
  731. }
  732. tableOddRow:hover extends tableOddRow {
  733. }
  734. .tableData {
  735. layout: shrink;
  736. background: none;
  737. border: none;
  738. }
  739. .layoutTableData {
  740. layout: shrink;
  741. background: none;
  742. border: none;
  743. }
  744. .tableData:hover extends .tableData {
  745. }
  746. .tableDataContent {
  747. layout: left | shrink;
  748. background: none;
  749. border:none;
  750. font-color: fontColor;
  751. font-face: proportional;
  752. font-style: normal;
  753. font-size: small;
  754. }
  755. .tableDataContent:hover extends .tableDataContent {
  756. }
  757. .tableHeader {
  758. layout: shrink;
  759. background: none;
  760. border:none;
  761. margin: 0;
  762. }
  763. .tableHeader:hover extends .tableHeader {
  764. }
  765. .tableHeaderContent {
  766. layout: left | shrink;
  767. background: none;
  768. border:none;
  769. font-color: black;
  770. font-face: proportional;
  771. font-style: bold;
  772. font-size: small;
  773. }
  774. .tableHeaderContent:hover extends .tableHeaderContent {
  775. }
  776. evenRowSelector {
  777. margin: 0;
  778. radiobox-plain: url( radiobutton_unchecked.png );
  779. radiobox-selected: url( radiobutton_checked.png );
  780. layout: hcenter | vcenter | shrink;
  781. background: none;
  782. border: none;
  783. }
  784. evenRowSelector:hover extends .tableSelector {
  785. }
  786. oddRowSelector {
  787. margin: 0;
  788. radiobox-plain: url( radiobutton_unchecked.png );
  789. radiobox-selected: url( radiobutton_checked.png );
  790. layout: hcenter | vcenter | shrink;
  791. background: none;
  792. border: none;
  793. }
  794. oddRowSelector:hover extends .tableSelector {
  795. }
  796. .select1ChoiceGroup extends .xformsfield {
  797. /* text-wrap: false; */
  798. padding: 3;
  799. padding-left: 5;
  800. padding-vertical: 1;
  801. border {
  802. type: round-rect;
  803. color: EagleDarkGrey;
  804. arc: 20;
  805. }
  806. label-style: .select1Label;
  807. include-label: false;
  808. }
  809. .select1ChoiceGroup:hover extends .select1 {
  810. border {
  811. type: round-rect;
  812. color: black;
  813. arc: 20;
  814. }
  815. background {
  816. type: round-rect;
  817. arc: 20;
  818. /* color: xfBgColor; */
  819. color: white;
  820. }
  821. label-style: .select1LabelFocused;
  822. }
  823. .select1Label extends .wrapperLabel {
  824. layout: left | expand | newline-after;
  825. }
  826. .select1LabelFocused extends .select1Label{
  827. background: EagleFocusedTop;
  828. }
  829. .select1TextField extends .select1ChoiceGroup {
  830. after: url( choice_unfocused.png );
  831. include-label: false;
  832. label-style: .select1Label;
  833. border {
  834. type: round-rect;
  835. color: EagleDarkGrey;
  836. arc: 20;
  837. }
  838. background {
  839. type: round-rect;
  840. arc: 20;
  841. color: EagleWhite;
  842. }
  843. font-size: normal;
  844. choicetextfield-choicestyle: .select1Choice;
  845. choicetextfield-containerstyle: .select1ChoicesContainer;
  846. }
  847. .select1TextField:hover extends .select1TextField {
  848. border {
  849. type: round-rect;
  850. color: black;
  851. arc: 20;
  852. }
  853. background {
  854. type: round-rect;
  855. arc: 20;
  856. color: white;
  857. }
  858. label-style: .select1LabelFocused;
  859. after: url( choice_focused.png );
  860. }
  861. .select1Choice {
  862. layout: left | expand;
  863. padding: 2;
  864. font-size: small;
  865. font-style: plain;
  866. font-color: black;
  867. background: none;
  868. }
  869. .select1Choice:hover extends .select1Choice {
  870. background: EagleFocusedBg;
  871. }
  872. .select1ChoicesContainer {
  873. background-color: xfBgColor;
  874. border-width: 1;
  875. border-color: black;
  876. layout: left | expand;
  877. }
  878. .select1ChoicesContainer:hover extends .select1ChoicesContainer {
  879. background-color: white;
  880. }
  881. .select1FilteredChoice extends .xformsfield {
  882. label-style: .select1Label;
  883. after: url( choice_unfocused.png );
  884. font-size: small;
  885. font-style: bold;
  886. /* text-wrap: false; */
  887. padding: 3;
  888. padding-left: 5;
  889. padding-vertical: 1;
  890. include-label: false;
  891. border {
  892. type: round-rect;
  893. color: EagleDarkGrey;
  894. arc: 20;
  895. }
  896. choicetextfield-choicestyle: .select1FilteredTextField;
  897. choicetextfield-containerstyle: .select1FilteredContainer;
  898. layout: left | expand;
  899. /** style of the filter-textfield of a FilteredList/FilteredChoiceGroup */
  900. filter-style: select1FilteredFilterStyle;
  901. /** style of the popup screen for a FileredChoiceGroup */
  902. popup-style: select1FilteredPopupStyle;
  903. background-color: xfBgColor;
  904. }
  905. .select1FilteredChoice:hover extends .select1FilteredChoice {
  906. border {
  907. type: round-rect;
  908. color: black;
  909. arc: 20;
  910. }
  911. background {
  912. type: round-rect;
  913. arc: 20;
  914. color: white;
  915. }
  916. label-style: .select1LabelFocused;
  917. after: url( choice_focused.png );
  918. }
  919. .select1FilteredFilterStyle {
  920. margin-left: 2;
  921. margin-right: 2;
  922. before: url( search.png );
  923. background {
  924. type: round-rect;
  925. arc: 20;
  926. color: white;
  927. }
  928. border {
  929. type: round-rect;
  930. color: EagleDarkGrey;
  931. arc: 20;
  932. }
  933. layout: expand | left;
  934. }
  935. .select1FilteredPopupStyle {
  936. repaint-previous-screen: true;
  937. margin: 10;
  938. padding: 5;
  939. background {
  940. type: round-rect;
  941. arc: 20;
  942. color: EagleWhite;
  943. }
  944. border {
  945. type: round-rect;
  946. color: black;
  947. arc: 20;
  948. }
  949. }
  950. .select1FilteredTextField {
  951. padding: 2;
  952. font-size: small;
  953. font-style: plain;
  954. font-color: gray;
  955. layout: left | expand;
  956. }
  957. .select1FilteredTextField:hover extends .select1FilteredTextField {
  958. background-color: focusedXfBgColor;
  959. border-color: black;
  960. border-width: 2;
  961. }
  962. .select1FilteredContainer {
  963. background-color: argb( 210, 255, 255, 255 );
  964. layout: left | expand;
  965. }
  966. .select1Option {
  967. margin: 2;
  968. radiobox-plain: url( radiobutton_unchecked.png );
  969. radiobox-selected: url( radiobutton_checked.png );
  970. checkbox-plain: url( checkbox_unchecked.png );
  971. checkbox-selected: url( checkbox_checked.png );
  972. font-size: small;
  973. font-style: bold;
  974. layout: left | vcenter | expand;
  975. background: none;
  976. }
  977. .select1Option:hover {
  978. background: EagleFocusedBg;
  979. }
  980. .select extends .xformsfield {
  981. /* text-wrap: false; */
  982. padding: 3;
  983. padding-left: 5;
  984. padding-vertical: 1;
  985. border {
  986. type: round-rect;
  987. color: EagleDarkGrey;
  988. arc: 20;
  989. }
  990. background: none;
  991. /*
  992. background {
  993. type: round-rect;
  994. }
  995. */
  996. /* include-label: true; */
  997. font-style: bold;
  998. font-size: small;
  999. label-style: .selectLabel;
  1000. include-label: false;
  1001. }
  1002. .select:hover extends .select {
  1003. /* background-color: focusedXfBgColor; */
  1004. border {
  1005. type: round-rect;
  1006. color: black;
  1007. arc: 20;
  1008. }
  1009. background {
  1010. type: round-rect;
  1011. arc: 20;
  1012. color: white;
  1013. }
  1014. label-style: .selectLabelFocused;
  1015. /*
  1016. border-type: round-rect;
  1017. border-arc: 6;
  1018. border-width: 2;
  1019. */
  1020. }
  1021. .selectLabel extends .wrapperLabel {
  1022. layout: left | expand | newline-after;
  1023. }
  1024. .selectLabelFocused extends .selectLabel{
  1025. background-color: focusedXfBgColor;
  1026. border-color: focusedXfBgColor;
  1027. }
  1028. .selectTextField extends .select {
  1029. after: url( choice_unfocused.png );
  1030. choicetextfield-choicestyle: .selectChoice;
  1031. choicetextfield-containerstyle: .selectChoicesContainer;
  1032. include-label: false;
  1033. }
  1034. .selectTextField:hover extends .select {
  1035. after: url( choice_focused.png );
  1036. border {
  1037. type: round-rect;
  1038. color: black;
  1039. arc: 20;
  1040. }
  1041. background {
  1042. type: round-rect;
  1043. arc: 20;
  1044. color: white;
  1045. }
  1046. label-style: .selectLabelFocused;
  1047. }
  1048. .selectChoice {
  1049. padding: 2;
  1050. background-color: xfBgColor;
  1051. font-size: small;
  1052. font-style: plain;
  1053. font-color: black;
  1054. layout: left | expand;
  1055. }
  1056. .selectChoice:hover extends .selectChoice {
  1057. /* This is the same thing as silver, though with slight transparency */
  1058. background-color: focusedXfBgColor;
  1059. }
  1060. .selectChoicesContainer {
  1061. background-color: xfBgColor;
  1062. border-width: 1;
  1063. border-color: black;
  1064. layout: left | expand;
  1065. }
  1066. .range extends .xformsfield {
  1067. border {
  1068. type: round-rect;
  1069. color: EagleDarkGrey;
  1070. arc: 5;
  1071. }
  1072. background: none;
  1073. label-style: .rangeLabel;
  1074. gauge-mode: continuous;
  1075. gauge-color: rangeBarColorUnfocused;
  1076. gauge-show-value: false; /* Range class does not support it yet */
  1077. gauge-value-align: center;
  1078. font-style: bold;
  1079. }
  1080. .progressBar extends .range {
  1081. gauge-show-value: false;
  1082. margin-bottom: 5;
  1083. }
  1084. .rangeLabel extends .wrapperLabel {
  1085. layout: left | expand | newline-after;
  1086. border: none;
  1087. }
  1088. .range:hover extends .range {
  1089. border {
  1090. type: round-rect;
  1091. color: black;
  1092. arc: 5;
  1093. }
  1094. background {
  1095. type: round-rect;
  1096. arc: 5;
  1097. color: white;
  1098. }
  1099. gauge-color: rangeBarColorFocused;
  1100. label-style: .rangeLabelFocused;
  1101. }
  1102. .rangeLabelFocused extends .rangeLabel {
  1103. background: EagleFocusedTop;
  1104. border: none;
  1105. }
  1106. .group {
  1107. padding: 0;
  1108. margin: 0;
  1109. border: none;
  1110. }
  1111. .hintticker {
  1112. ticker-step: 4;
  1113. background-color: titleBackgroundColor;
  1114. padding-horizontal: 5;
  1115. layout: vertical-center;
  1116. font-color: white;
  1117. font-size: small;
  1118. border: none;
  1119. }