summaryrefslogtreecommitdiffstats
path: root/web-gui/calculator/source/class/calculator/theme/Font.js
blob: 64149ae0f51c70f37eada0764ca2c7ed15cbd8a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* ************************************************************************

   Copyright: 2010 by Michael Olbrich <m.olbrich@pengutronix.de>

   License:
     To the extent possible under law, Pengutronix e.K. has
     waived all copyright and related or neighboring rights to
     JSON-DBus-Bridge Demo Code.

************************************************************************ */

qx.Theme.define("calculator.theme.Font",
{
  extend : qx.theme.modern.Font,

  fonts :
  {
    "large" :
    {
      size : (qx.bom.client.System.WINVISTA || qx.bom.client.System.WIN7) ? 25 : 23,
      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" ]
    }
  }
});