summaryrefslogtreecommitdiffstats
path: root/web-gui/live/source/class/live/theme/Font.js
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-06-16 15:33:42 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-06-16 16:56:22 +0200
commita3cb2d540dda9c5738afd3f11e37e5cfcbccca8a (patch)
treeb2e1d734fcaffa7529947259b89c16664d706f65 /web-gui/live/source/class/live/theme/Font.js
parentaa026f8383279e80d8947452efa51886524cd10e (diff)
downloadjson-dbus-bridge-examples-a3cb2d540dda9c5738afd3f11e37e5cfcbccca8a.tar.gz
json-dbus-bridge-examples-a3cb2d540dda9c5738afd3f11e37e5cfcbccca8a.tar.xz
[live] new demo application
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'web-gui/live/source/class/live/theme/Font.js')
-rw-r--r--web-gui/live/source/class/live/theme/Font.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/web-gui/live/source/class/live/theme/Font.js b/web-gui/live/source/class/live/theme/Font.js
new file mode 100644
index 0000000..7abc09e
--- /dev/null
+++ b/web-gui/live/source/class/live/theme/Font.js
@@ -0,0 +1,28 @@
+/* ************************************************************************
+
+ Copyright:
+
+ License:
+
+ Authors:
+
+************************************************************************ */
+
+qx.Theme.define("live.theme.Font",
+{
+ extend : qx.theme.modern.Font,
+
+ fonts :
+ {
+ "default" :
+ {
+ size : (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ? 25 : 22,
+ lineHeight : 1.4,
+ family : qx.bom.client.Platform.MAC ? [ "Lucida Grande" ] :
+ (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ?
+ [ "Segoe UI", "Candara" ] :
+ [ "Tahoma", "Liberation Sans", "Arial", "sans-serif" ],
+ bold : true
+ }
+ }
+});