summaryrefslogtreecommitdiff
path: root/src/data/home.html
blob: cedd88553bb355b2cbc9205aef050b87272bd643 (plain)
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<title></title>

<style type="text/css">

/* -------------------------------------------------------- */
/* css reset */
* {
border: 0; padding: 0; margin: 0;
}

/* -------------------------------------------------------- */
/* generic styles */

body {
background: url(%2/tile.gif) repeat-x #fff;
font-family: sans-serif; font-size: 0.8em;
}

#rekonq-newtabpage {
width: 100%;
text-align: center; /* center #navigation */
}

#content {
text-align: left;
margin: 0 1% 2% 1%;
}

h3 {
border-bottom-width: 1px;
-webkit-border-image: url(%2/category.png) 1 1 1 1  stretch stretch;
padding: 0.2em; margin: 0.5em 0;
font: normal bold 1em;
}

a {
color: #3F7AB7;
text-decoration: none;
-webkit-transition: color 0.5s ease;
}
a:hover {
color: black;
}

/* -------------------------------------------------------- */
/* Top bar */

#top {
margin: 20px;
}

.topBar {
display: inline-block;
border-width: 5px;
}

#navigation {
-webkit-border-image: url(%2/bg2.png) 12 12 12 12  stretch stretch;
max-width: 55%;
}

#actions, #balance {
margin-top: 12px;
width: 20%;
}

#actions {
float: right;
}

#balance {
display: hidden; float: left;
height: 16px;
}

.link {
display: inline-block;
-webkit-transition: opacity 0.5s ease;
}
.link:not(.current):hover {
opacity: 0.6;
}

.link img, .link span {
vertical-align: middle; display: inline-block; 
}
.link a, .link span {
color: black;
}

#actions .link img {
margin-right: 3px; width: 16px;
}

.current{
border-width: 6px;
-webkit-border-image: url(%2/button.png) 6 stretch stretch;
}
.link:not(.current){
margin: 0 10px;
}

/* -------------------------------------------------------- */
/* Previews */

#content.favorites, #content.closedTabs {
text-align: center;
}

.thumbnail {
display: inline-block;
width: 25%; min-width: 240px;
height: 170px;
margin: 3% 0 3% 0;
}

.thumb-inner {
width: 232px; /* 200 + 16*2 */
margin: auto;
}

.preview {
display: table-cell; vertical-align: middle;
width: 200px; height: 150px;
padding: 14px 16px 12px;
background: url(%2/bg.png) no-repeat;
-webkit-background-size: 100% 100%; 
}

.title {
padding: 0 12px;
}

.button img {
display: inline-block;
width: 16px;
height: 16px;
opacity: 0;
}

.remove {
float: right;
}
.modify {
float: left;
}

.button img, .preview {
-webkit-transition: opacity 0.8s ease-in-out;
}
.thumb-inner:hover .preview {
opacity: 0.6;
}
.thumb-inner:hover .button img {
opacity: 0.4;
-webkit-transition: opacity 0.8s ease-out;
}
.thumb-inner .button img:hover {
opacity: 1;
}
.thumbnail a:hover {
color:#3F7AB7;
}

/* -------------------------------------------------------- */
/* Bookmarks page */

.bookfolder{
margin-left: 2em;
margin-bottom: 0.5em;
}

/* -------------------------------------------------------- */
/* Downloads page */

.download{
margin: 1.5em 0;
}

.download img{
float: left;
margin-right: 5px;
}

/* -------------------------------------------------------- */
/* Empty pages : in the end : need to overwrite */
#content.empty {
margin-top: 10%;
text-align: center;
}


</style>
</head>

<body>

<div id="rekonq-newtabpage">
    <div id="top">
        <div class="topBar" id="balance"></div> <!-- This # is the same size as #actions to center #navigation -->
        <div class="topBar" id="navigation"></div>
        <div class="topBar" id="actions"></div>
    </div>
    <div id="content">
    </div>
</div>

<div id="models" style="display:none">
    <div></div>
    <div class="link">
        <a href="">
            <img src="" />
            <span></span>
        </a>
    </div>
    <div class="thumbnail">
        <div class ="thumb-inner">
            <a>
                <div class ="preview">
                    <img />
                </div>
            </a>
            <div class="title">
                <a class="button modify"><img /></a>
                <span><a></a></span>
                <a class="button remove"><img /></a>
            </div>
        </div>
    </div>
    <h3></h3>
    <a></a>
    <br />
    <img />
    <p class="bookfolder"></p>
</div>

</body>
</html>