Upgrade to ExtJS 3.2.0 - Released 03/30/2010
[extjs.git] / examples / themes / index.html
1 <html>
2 <head>
3 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
4 <title>Ext JS Themes Example</title>
5
6         <!-- Standard includes -->
7     <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
8     <link rel="stylesheet" type="text/css" href="../../resources/css/xtheme-blue.css" /> 
9     <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
10     <script type="text/javascript" src="../../ext-all-debug.js"></script>
11
12         <!-- Theme includes -->
13     <link rel="stylesheet" type="text/css" title="blue"      href="../../resources/css/xtheme-blue.css" /> 
14     <link rel="stylesheet" type="text/css" title="gray"      href="../../resources/css/xtheme-gray.css" />
15     <link rel="stylesheet" type="text/css" title="access"    href="../../resources/css/xtheme-access.css" />
16     <link rel="stylesheet" type="text/css" title="yourtheme" href="../../resources/css/yourtheme.css" />
17     <!-- 
18         By default, yourtheme.css is an exact copy of x-themeblue.css. 
19         Customize your theme by editing yourtheme.css and customize your 
20         own images in the images/yourtheme/ directory. 
21     -->
22
23         <script type="text/javascript" src="themes.js"></script>
24         <script type="text/javascript" src="styleswitcher.js"></script>
25              
26     <style type="text/css">
27         body {
28             font-family: 'Helvetica Neue',tahoma,helvetica,sans-serif;
29             font-size: 12px;
30         }
31         
32         h1 a:link, h1 a:visited {
33             color: #046BCA;
34         }
35         
36         h1 a:hover, h1 a:focus, h1 a:active {
37             color: #1C417C;
38         }
39         
40         div#header {
41             height: 65px;
42             width: 1090px;
43             padding: 25px 0 10px 0;
44             margin: 0 50px;
45         }
46         div#header h1 {
47             font-family: MyriadPro-Semibold, 'Myriad Pro Semibold', 'Myriad Pro', 'Trebuchet MS', Tahoma, arial, sans-serif;
48             font-size: 250%;
49         }
50             .x-viewport body {
51                 overflow: auto;
52         }
53         form#styleswitcher {
54             background-color: #f3f3f3;
55             background-color: rgba(243,243,243,.333);
56             border: 1px solid #ddd;
57             border-color: rgba(221,221,221,.333);
58             border-radius:         8px;
59             -moz-border-radius:    8px;
60             -ms-border-radius:     8px;
61             -o-border-radius:      8px;
62             -webkit-border-radius: 8px;
63             
64             float: right;
65             padding: 8px 10px;
66             
67             width: auto;
68         }
69         form#styleswitcher select {
70             font-size: 16px;
71             line-height: 16px;
72         }
73         div#header h1 span {
74             color: inherit;
75             font-family: 'Helvetica Neue',tahoma,helvetica,verdana, sans-serif;
76             font-size: 12px;
77             font-weight: normal;
78             line-height: 16px;
79             padding-left: 25px;
80         }
81     </style>
82 </head>
83
84 <body>
85     <div id="header">
86         <form id="styleswitcher">
87             <label for="styleswitcher_select">Choose Theme: </label>
88             <select name="styleswitcher_select" id="styleswitcher_select">
89                 <option value="blue" selected="true">Blue Theme</option>
90                 <option value="gray">Gray Theme</option>
91                 <option value="access">Accessibility Theme</option>
92                 <option value="yourtheme">Your Theme</option>
93             </select>
94         </form>
95         <h1>Ext JS Themes <span>View and test every Ext component against bundled <a href="http://www.extjs.com/products/js/themes.php">Ext Themes</a>, or, your own custom themes.</span></h1>
96     </div>
97 </body>
98 </html>