]> git.plutz.net Git - serve0/blob - templates/videoview.css.sh
improved transcode display
[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, .label {
35   font-weight: bold;
36 }
37
38 textarea {
39   display: block;
40   width: 100%;
41 }
42
43 .info {
44   margin: 0;
45   padding: 0 .25em;
46   background-color: #BBD;
47   color: #000;
48   border: #000 1px solid;
49 }
50 .info.tag {
51   line-height: 1.6em;
52   background-color: #DBB;
53 }
54
55 .panel {
56   display: block;
57   width: 100%;
58   margin: 0;
59   padding: .25em 1em;
60   background-color: #333;
61   border-width: 1px;
62   border-style: none none solid none;
63 }
64 a.panel {
65   font-weight: bold;
66 }
67 a.clearsearch, a.advanced, a.tagger, .pagination_nav {
68   display: inline;
69   border: none;
70 }
71 .pagination_nav {
72   position: absolute;
73   right: 1em;
74   padding-top: .125em;
75 }
76
77 .panel .filter, .panel .quicklinks,
78 .footer .newtag, .footer input[type=submit] {
79   display: inline-block;
80   vertical-align: top;
81   margin-top: 2em;
82 }
83 .panel .help {
84   display: block;
85 }
86 .panel .filter select, .panel .filter .help,
87 .footer .newtag select, .footer .newtag .label{
88   display: block;
89   width: 10em;
90 }
91 .panel .filter .help.conjunction {
92   font-weight: bold;
93 }
94 .panel .filter .label.category {
95   display: block;
96   margin-top: 1em;
97 }
98 .panel .quicklinks * {
99   display: block
100 }
101
102 #thumblist {
103   padding: .5em 0 3em 0;
104 }
105
106 #thumblist .thumb {
107   display: inline-block;
108   width: 212px;
109   padding: 0;
110   margin: .5em;
111   vertical-align: top;
112   word-wrap: break-word;
113 }
114 #thumblist .thumb img {
115   height: 162px;
116 }
117 #thumblist .thumb a {
118   display: block;
119 }
120 #thumblist .thumb a.fake-mp4 {
121   margin-top: .5em;
122 }
123 #thumblist .thumb a.alt {
124   display: inline-block;
125   margin-top: .5em;
126 }
127
128 .footer {
129   position: fixed;
130   bottom: 0px;
131   border-style: solid none none none;
132 }
133
134 #videoview a.panel {
135   position: absolute;
136   right: 1em;
137   width: auto;
138   border: none;
139 }
140 #videoview .video {
141   display: inline-block;
142   width: 60%;
143   vertical-align: top;
144 }
145 #videoview .video * {
146   display: block;
147 }
148 #videoview .videoinfo {
149   display: inline-block;
150   width: 39%;
151   margin-top: 2em;
152 }
153 #videoview .videoinfo h2 {
154   display: inline;
155
156 #videoview .videoinfo a.meta:after {
157   content: "\A";
158   white-space: pre;
159 }
160 #videoview .videoinfo .label {
161   display: block;
162   margin-top: 1em;
163 }
164 #videoview .videoinfo .info.description {
165   display: block;
166   background-color: #DDF;
167 }
168 #videoview .videoinfo .edit {
169   width: 100%
170 }
171 EOF
172
173 # vi:set filetype=css: