]> git.plutz.net Git - serve0/blob - templates/videoview.css.sh
3d152d1b06b292a8b045f7c4bd28388a378493b1
[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
124 .footer {
125   position: fixed;
126   bottom: 0px;
127   border-style: solid none none none;
128 }
129
130 #videoview a.panel {
131   position: absolute;
132   right: 1em;
133   width: auto;
134   border: none;
135 }
136 #videoview .video {
137   display: inline-block;
138   width: 60%;
139   vertical-align: top;
140 }
141 #videoview .video * {
142   display: block;
143 }
144 #videoview .videoinfo {
145   display: inline-block;
146   width: 39%;
147   margin-top: 2em;
148 }
149 #videoview .videoinfo h2 {
150   display: inline;
151
152 #videoview .videoinfo a.meta:after {
153   content: "\A";
154   white-space: pre;
155 }
156 #videoview .videoinfo .label {
157   display: block;
158   margin-top: 1em;
159 }
160 #videoview .videoinfo .info.description {
161   display: block;
162   background-color: #DDF;
163 }
164 #videoview .videoinfo .edit {
165   width: 100%
166 }
167 EOF
168
169 # vi:set filetype=css: