This repository has been archived by the owner on Jun 26, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathindex.html
91 lines (73 loc) · 1.72 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>index</title>
<meta name="author" content="Maximiliano Fierro">
<link rel="stylesheet" href="http://extjs.cachefly.net/touch/sencha-touch-2.3.1/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="http://extjs.cachefly.net/touch/sencha-touch-2.3.1/sencha-touch-all.js"></script>
<!--
<script type="text/javascript" src="sdk/sencha-touch-all.js"></script>
--> <link rel="stylesheet" href="./css/cover.css">
<script>
Ext.Loader.setConfig({
enabled: true,
paths: {
'Ext.ux': 'ux'
}
});
</script>
<script src="demo/demo.js"></script>
<style>
.ux-cover .my-cover-item {
position: relative;
background-color: #BBB;
-webkit-box-shadow: 0px 0px 10px #333;
}
/**
* Different styles for landscape and portrait mode
*/
.ux-cover-landscape .my-cover-item{
font-size: 8px;
}
.ux-cover-portrait .my-cover-item{
font-size: 12px;
}
/* This is just to make the demo looks good on desktop */
.x-desktop .my-cover-item{
font-size: 15px;
}
.my-cover-item .image{
position:absolute;
top:0;
bottom:0;
width: 100%;
text-align: center;
overflow: hidden;
z-index: 1;
}
.my-cover-item .image img{
height: 100%;
}
.my-cover-item .dev {
color: black;
}
.my-cover-item .company {
position: absolute;
opacity: 1;
color: #C0C0C0;
background: black;
bottom: 0px;
height: 20px;
width: 100%;
z-index: 10;
}
/*Do something cool with selected item*/
.x-item-selected .my-cover-item{
background-color: #FFF;
}
</style>
</head>
<body>
</body>
</html>