-
Notifications
You must be signed in to change notification settings - Fork 62
/
demo.html
150 lines (132 loc) · 4.59 KB
/
demo.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<html>
<head>
<title>FLAPPER DEMO</title>
<link href="css/flapper.css" type="text/css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="transform/dist/jquery.transform-0.9.3.min.js"></script>
<script src="src/jquery.flapper.js"></script>
<script src="src/flapdemo.js"></script>
<style type="text/css">
body {
font-family: Roboto Condensed;
color: #333;
}
.page {
width: 1000px;
margin: 30px auto 0;
}
h1 {
text-align: center;
font-size: 24px;
}
.displays {
padding: 30px;
border: 10px solid #ccc;
background-color: #222;
border-radius: 30px;
box-shadow: 0 0 12px 4px #000 inset;
}
.flapper {
margin-bottom: 2px;
text-align: center;
}
.inputarea {
margin: 24px 0;
}
#typesomething,
#showme {
font-family: Roboto Condensed;
font-size: 18px;
padding: 14px;
background-color: #EEE;
color: #333;
border: 0;
height: 170px;
}
#typesomething {
width: 300px;
}
#showme:hover {
background-color: #DDD;
}
#showme:active {
background-color: #CCC;
}
div.inline {
display: inline-block;
vertical-align: bottom;
}
div.activity {
width: 12px;
height: 12px;
border-radius: 6px;
background-color: #250000;
position: relative;
top: 33px;
left: -15px;
}
div.activity.active {
background-color: #f00;
}
/* Greetz @deadlyicon
* https://gist.github.com/2191622
*/
#fork-me {
width: 180px;
height: 150px;
position: absolute;
top: 0px;
right: 0px;
overflow: hidden;
}
#fork-me a {
display: block;
position: absolute;
top: 35px;
right: -75px;
padding: 0.75em 4em;
background: #881c15;
-webkit-transform: rotate(40deg);
-moz-transform:rotate(40deg);
-o-transform:rotate(40deg);
-ms-transform:rotate(40deg);
color: white !important;
font-weight: bold;
font-family: helvetica;
text-decoration: none;
border: 1px solid white;
box-shadow: 0 0 10px black;
text-shadow: 0 0 10px black;
white-space: nowrap;
}
</style>
</head>
<body>
<div class="page">
<h1>FLAPPER DEMO</h1>
<div class="displays">
<div class="activity"></div><input class="display M" />
<div class="activity"></div><input class="display M" />
<div class="activity"></div><input class="display M" />
<div class="activity"></div><input class="display M" />
<div class="activity"></div><input class="display M" />
<div class="activity"></div><input class="display M" />
</div>
<div class="inputarea">
<div class="inline"><textarea id="typesomething" placeholder="Type Something Here..." rows="6" cols="20"></textarea></div>
<div class="inline"><button id="showme">And Click Here</button></div>
</div>
</div>
<div id="fork-me">
<a href="https://github.com/jayKayEss/Flapper">Fork me on GitHub</a>
</div>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-20194861-3', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>