Upgrade to ExtJS 3.3.1 - Released 11/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/ext-all-notheme.css" />
9 <!--     <link rel="stylesheet" type="text/css" href="../../resources/css/xtheme-blue.css" />  -->
10     <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>
11     <script type="text/javascript" src="../../ext-all-debug.js"></script>
12
13         <!-- Theme includes -->
14     <link rel="stylesheet" type="text/css" title="blue"      href="../../resources/css/xtheme-blue.css" /> 
15     <link rel="stylesheet" type="text/css" title="gray"      href="../../resources/css/xtheme-gray.css" />
16     <link rel="stylesheet" type="text/css" title="access"    href="../../resources/css/xtheme-access.css" />
17     <link rel="stylesheet" type="text/css" title="yourtheme" href="../../resources/css/yourtheme.css" />
18     <!-- 
19         By default, yourtheme.css is an exact copy of x-themeblue.css. 
20         Customize your theme by editing yourtheme.css and customize your 
21         own images in the images/yourtheme/ directory. 
22     -->
23
24         <script type="text/javascript" src="themes.js"></script>
25         <script type="text/javascript" src="styleswitcher.js"></script>
26              
27     <style type="text/css">
28     
29         .x-viewport, .x-viewport body {
30         }
31
32         body {
33             font-family: Helvetica, Arial, sans-serif;
34             font-size: 12px;
35         }
36         
37         h1 a:link, h1 a:visited {
38             color: #046BCA;
39         }
40         
41         h1 a:hover, h1 a:focus, h1 a:active {
42             color: #1C417C;
43         }
44         
45         div#header {
46             height: 65px;
47             width: 1090px;
48             padding: 25px 0 10px 0;
49             margin: 0 50px;
50         }
51         div#header h1 {
52             font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
53             font-size: 24px;
54             font-weight: 600;
55         }
56             .x-viewport body {
57                 overflow: auto;
58         }
59         form#styleswitcher {
60             background-color: #f3f3f3;
61             background-color: rgba(243,243,243,.333);
62             border: 1px solid #ddd;
63             border-color: rgba(221,221,221,.333);
64             border-radius:         8px;
65             -moz-border-radius:    8px;
66             -ms-border-radius:     8px;
67             -o-border-radius:      8px;
68             -webkit-border-radius: 8px;
69             
70             float: right;
71             padding: 8px 10px;
72             
73             width: auto;
74         }
75         form#styleswitcher select {
76             font-size: 13px;
77             line-height: 13px;
78         }
79         div#header h1 span {
80             color: inherit;
81             font-family: Helvetica, Arial, sans-serif;
82             font-size: 13px;
83             font-weight: normal;
84             line-height: 30px;
85             padding-left: 25px;
86         }
87     </style>
88 </head>
89
90 <body>
91     <div id="header">
92         <form id="styleswitcher">
93             <label for="styleswitcher_select">Choose Theme: </label>
94             <select name="styleswitcher_select" id="styleswitcher_select">
95                 <option value="blue" selected="true">Blue Theme</option>
96                 <option value="gray">Gray Theme</option>
97                 <option value="access">Accessibility Theme</option>
98                 <option value="yourtheme">Your Theme</option>
99             </select>
100         </form>
101         <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>
102     </div>
103 </body>
104 </html>