]> git.plutz.net Git - serve0/blob - templates/videoview.css.sh
b2389989e7d96f893eb49d5324f15eaefbfb6d27
[serve0] / templates / videoview.css.sh
1 # Copyright 2014 Paul Hänsch
2 #
3 # This file is part of Serve0
4
5 # Serve0 is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or
8 # (at your option) any later version.
9
10 # Serve0 is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 # GNU Affero General Public License for more details.
14
15 # You should have received a copy of the GNU Affero General Public License
16 # along with Serve0  If not, see <http://www.gnu.org/licenses/>. 
17
18 cat <<EOF
19
20 * {
21   box-sizing: border-box;
22 }
23
24 body {
25   padding: 0;
26   margin: 0;
27   background-color: #000;
28   color: #DDD;
29 }
30 a {
31   color: #EEE;
32 }
33
34 .label {
35   font-weight: bold;
36 }
37
38 .info {
39   margin: 0;
40   padding: 0 .25em;
41   background-color: #BBD;
42   color: #000;
43   border: #000 1px solid;
44 }
45 .info.tag {
46   line-height: 1.6em;
47   background-color: #DBB;
48 }
49
50 .panel {
51   display: block;
52   width: 100%;
53   margin: 0;
54   padding: .25em 1em;
55   background-color: #333;
56   border-width: 1px;
57   border-style: none none solid none;
58 }
59 a.panel {
60   font-weight: bold;
61 }
62 a.clearsearch, a.advanced, a.tagger, .pagination_nav {
63   display: inline;
64   border: none;
65 }
66 .pagination_nav {
67   position: absolute;
68   right: 1em;
69   padding-top: .125em;
70 }
71
72 .panel .filter, .panel .quicklinks,
73 .footer .newtag, .footer input[type=submit] {
74   display: inline-block;
75   vertical-align: top;
76   margin-top: 2em;
77 }
78 .panel .help {
79   display: block;
80 }
81 .panel .filter select, .panel .filter .help,
82 .footer .newtag select, .footer .newtag .label{
83   display: block;
84   width: 10em;
85 }
86 .panel .filter .help.conjunction {
87   font-weight: bold;
88 }
89 .panel .filter .label.category {
90   display: block;
91   margin-top: 1em;
92 }
93 .panel .quicklinks * {
94   display: block
95 }
96
97 #thumblist .thumb {
98   display: inline-block;
99   width: 212px;
100   padding: 0;
101   margin: .5em;
102   vertical-align: top;
103   word-wrap: break-word;
104 }
105 #thumblist .thumb img {
106   height: 162px;
107 }
108 #thumblist .thumb a {
109   display: block;
110 }
111 #thumblist .thumb a.fake-mp4 {
112   margin-top: .5em;
113 }
114
115 .footer {
116   position: fixed;
117   bottom: 0px;
118   border-style: solid none none none;
119 }
120
121 #videoview a.panel {
122   position: absolute;
123   right: 1em;
124   width: auto;
125   border: none;
126 }
127 #videoview .video {
128   display: inline-block;
129   width: 60%;
130   vertical-align: top;
131 }
132 #videoview .video * {
133   display: block;
134 }
135 #videoview .videoinfo {
136   display: inline-block;
137   width: 39%;
138   margin-top: 2em;
139 }
140 #videoview .videoinfo h2 {
141   display: inline;
142
143 #videoview .videoinfo a.meta:after {
144   content: "\A";
145   white-space: pre;
146 }
147 #videoview .videoinfo .label {
148   display: block;
149   margin-top: 1em;
150 }
151 #videoview .videoinfo .info.description {
152   display: block;
153   background-color: #DDF;
154 }
155 #videoview .videoinfo .edit {
156   width: 100%
157 }
158 EOF
159
160 # vi:set filetype=css: