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