aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles/prosilver/theme/responsive.css
blob: cf72686abfbd034d678bdd6c4ebc041af1363184 (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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
/* Responsive Design
---------------------------------------- */

.responsive-hide { display: none !important; }
.responsive-show { display: block !important; }
.responsive-show-inline { display: inline !important; }
.responsive-show-inline-block { display: inline-block !important; }

/* Content wrappers
----------------------------------------*/
html {
	height: auto;
}

body {
	padding: 0 5px;
}

#wrap {
	min-width: 320px;
	padding: 0;
}

/* Common block wrappers
----------------------------------------*/
.headerbar, .navbar, .forabg, .forumbg, .post, .panel {
	border-radius: 0;
	margin-left: -5px;
	margin-right: -5px;
}

/* Logo block
----------------------------------------*/
#site-description {
	float: none;
	width: auto;
	text-align: center;
}

#logo {
	/* change display value to inline-block to show logo */
	display: none;
	float: none;
	padding: 10px;
}

#site-description h1, #site-description p {
	text-align: inherit;
	float: none;
	margin: 5px;
	line-height: 1.2em;
	overflow: hidden;
	text-overflow: ellipsis;
}

#site-description p, #search-box {
	display: none;
}

/* Navigation
----------------------------------------*/
.headerbar + .navbar {
	margin-top: -5px;
}

/* Search
----------------------------------------*/
.responsive-search { display: block !important; }
.responsive-search a {
	display: block;
	width: 16px;
	height: 18px;
	text-indent: 99px;
	overflow: hidden;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	text-decoration: none;
}

/* .topiclist lists
----------------------------------------*/
li.header dt {
	text-align: center;
	text-transform: none;
	line-height: 1em;
	font-size: 1.2em;
	padding-bottom: 4px;
}

ul.topiclist li.header dt, ul.topiclist li.header dt .list-inner {
	margin-right: 0 !important;
	padding-right: 0;
}

ul.topiclist li.header dd {
	display: none !important;
}

ul.topiclist dt, ul.topiclist dt .list-inner,
ul.topiclist.missing-column dt, ul.topiclist.missing-column dt .list-inner,
ul.topiclist.two-long-columns dt, ul.topiclist.two-long-columns dt .list-inner,
ul.topiclist.two-columns dt, ul.topiclist.two-columns dt .list-inner {
	margin-right: 0;
}

ul.topiclist dd { 
	display: none; 
}
ul.topiclist dd.mark { 
	display: block; 
}

/* Forums and topics lists
----------------------------------------*/
ul.topiclist.forums dt, ul.topiclist.topics dt {
	margin-right: -250px;
}
ul.topiclist.forums dt .list-inner, ul.topiclist.topics dt .list-inner {
	margin-right: 250px;
	padding-bottom: 18px;
}

ul.topiclist.forums dd.lastpost, ul.topiclist.topics dd.lastpost {
	display: block;
}

ul.topiclist.forums dd.topics, ul.topiclist.topics dd.posts {
	display: block;
	position: absolute;
	left: 45px;
	right: 0;
	bottom: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-height: 0;
	height: auto;
	border-width: 0;
	margin: 0;
	padding: 5px 0;
	width: auto;
	min-width: 0;
	text-align: left;
	font-weight: bold;
	font-size: 1.2em;
	line-height: 1em;
}

ul.topiclist dd.mark {
	display: block;
	position: absolute;
	right: 5px;
	top: 0;
	margin: 0;
	width: auto;
	min-width: 0;
	text-align: left;
}

ul.topiclist.forums dd.topics dfn, ul.topiclist.topics dd.posts dfn {
	position: relative;
	left: 0;
	width: auto;
	display: inline;
	font-weight: normal;
}

@media only screen and (max-width: 550px), only screen and (max-device-width: 550px)
{
	ul.topiclist.forums dt, ul.topiclist.topics dt {
		margin-right: 0;
	}

	ul.topiclist.forums dt .list-inner, ul.topiclist.topics dt .list-inner {
		margin-right: 0;
	}

	ul.topiclist.forums dd.lastpost, ul.topiclist.topics dd.lastpost {
		display: none;
	}
}

/* Notifications list
----------------------------------------*/
@media only screen and (max-width: 350px), only screen and (max-device-width: 350px)
{
	#notification_list {
		width: 250px;
	}
}

/* Pagination
----------------------------------------*/
.pagination {
	margin: 5px 0;
}

/* *CP navigation
----------------------------------------*/
.nojs #tabs a span, .nojs #minitabs a span {
	max-width: 40px; 
	overflow: hidden;
	text-overflow: ellipsis;
	letter-spacing: -.5px;
}

#cp-menu, #navigation, #cp-main {
	float: none;
	width: auto;
	margin: 0;
}

#navigation { 
	padding: 0; 
	margin: 0 auto;
	max-width: 320px;
}

#navigation a {
	background-image: none;
}

#navigation li:first-child a {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#navigation li:last-child a {
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}

/* Responsive tables
----------------------------------------*/
table.responsive, table.responsive thead, table.responsive tbody, table.responsive tr, table.responsive th, table.responsive td {
	display: block;
	width: auto;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

table.responsive thead {
	display: none;
}

table.responsive th {
	display: none;
	border-bottom-width: 0 !important;
}

table.mcp-warnings thead {
	display: block;
}

table.mcp-warnings th:nth-child(1),
table.mcp-warnings th:nth-child(3) {
	display: inline;
}

table.mcp-warnings th:nth-child(1):after {
	content: ',';
}

table.responsive tr {
	overflow: hidden;
	margin: 5px 0;
}

table.mcp-logs td:nth-child(2),
table.mcp-warnings td:nth-child(2n + 1) {
	width: 50%;
	float: left;
}

table.mcp-logs td:nth-child(3),
table.mcp-warnings td:nth-child(2n) {
	margin-left: 50%;
	text-align: right;
}

table.mcp-logs td:nth-child(4), table.mcp-logs td:nth-child(5),
table.mcp-logs-full td:nth-child(1), table.mcp-logs-full td:nth-child(2) {
	width: 33%;
	float: left;
}

table.mcp-logs td:nth-child(4), 
table.mcp-logs-full td:nth-child(4) {
	clear: left;
}

table.mcp-logs td:nth-child(5),
table.mcp-logs-full td:nth-child(2) {
	text-align: center;
}

table.mcp-logs td:nth-child(6),
table.mcp-logs-full td:nth-child(3) {
	margin-left: 66%;
	text-align: right;
}

/* Forms
----------------------------------------*/
fieldset dt, fieldset.fields1 dt, fieldset.fields2 dt {
	width: auto;
	float: none;
}

fieldset dd, fieldset.fields1 dd, fieldset.fields2 dd {
	margin-left: 20px;
}

textarea, dd textarea, #message-box textarea {
	width: 100%;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#smiley-box, #message-box {
	float: none;
	width: auto;
}

#smiley-box {
	margin-top: 5px;
}

.bbcode-status {
	display: none;
}

#colour_palette table, #colour_palette tbody, #colour_palette tr {
	display: block;
}

#colour_palette td {
	display: inline-block;
	margin-right: 2px;
}

#colour_palette td:nth-child(2n) {
	display: none;
}

#colour_palette a {
	display: inline-block !important;
}

/* Misc stuff
----------------------------------------*/
h2 {
	margin-top: .5em;
}

p {
	margin-bottom: .5em;
	overflow: hidden;
}

p.rightside {
	margin-bottom: 0;
}

.column1, .column2 {
	width: auto;
	float: none;
}

@media only screen and (max-width: 500px), only screen and (max-device-width: 500px)
{
	p.responsive-center {
		float: none;
		text-align: center;
		margin: 0;
	}

	.topic-actions > div {
		float: none;
		overflow: hidden;
		clear: both;
	}

	.topic-actions > .pagination, fieldset.jumpbox {
		text-align: center;
	}

	.topic-actions > div.search-box, p.jumpbox-return {
		display: none;
	}

	.display-options > label:nth-child(1) {
		display: block;
		margin-bottom: 5px;
	}
}