-
Notifications
You must be signed in to change notification settings - Fork 0
/
larry-bird.php
82 lines (73 loc) · 2.04 KB
/
larry-bird.php
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
<?php
/*
* Larry bird is here to help
* He's enqueud on every page
*/
add_thickbox();
?>
<a href="#TB_inline?width=600&height=550&inlineId=larry-bird" class="thickbox larry-bird"></a>
<div id="larry-bird" style="display:none;">
<div id="larry-bird-content">
<div id="title-and-search">
<h1>SHHHHHH</h1>
<h3>Just start typing</h3>
<form id="larry-bird-form" action="" method="post">
<input type="text" id="larry-input" list="larry-bird-form-list" autocomplete="off" />
<datalist id="larry-bird-form-list"></datalist>
<button type="submit" id="for-the-three" style="display: none;">For the Three!</button>
</form>
<a class="see-all">see all</a>
</div>
<!-- js target for resutls -->
<ul id="smart-results"></ul>
<ul id="backup-results" style="display: none;"></ul>
</div>
</div>
<style>
#larry-bird-content {
top: 0;
width: 100%;
height: 100%;
background-image: url( '<?php echo plugins_url( "smartkeys/images/larry_bird.jpg" ); ?>' );
background-size: cover;
position: absolute;
}
#title-and-search {
text-align: center;
}
#larry-input {
width: 50%;
}
#smart-results, #backup-results {
margin: 1.5em .5em .5em;
}
.smart-result {
/*display: inline-block;*/
/*list-style-type: none;*/
/*font-size: 1.2em;*/
/*font-weight: bold;*/
margin: 1em 1em ;
}
.smart-result a {
color: #000 !important;
}
.smart-result a:hover {
color: #333333 !important;
}
.see-all {
font-size: 12px;
color: #000;
}
#TB_window {
height: 80% !important;
top: 10% !important;
margin-top: 0 !important;
}
#TB_ajaxContent {
width: 100% !important;
height: 100% !important;
padding: 0 !important;
background: none !important;
overflow: unset !important;
}
</style>