]> git.plutz.net Git - rawnet/blobdiff - rawnet.css
list_videos function including sorting
[rawnet] / rawnet.css
index d034a6d056dabe22b19822a98b1883cee317fb27..650da603b77da4d1779bd9b4bb66901c3ed6f2ce 100644 (file)
@@ -96,7 +96,9 @@ body.channel main h1.name {
   text-align: center;
 }
 body main .description,
-body main form {
+body main form,
+body main iframe {
+  display: block;
   max-width: 40em;
   margin: auto;
 }
@@ -120,6 +122,7 @@ body.channels main .channel {
 
 body.channels main .channel > .description {
   overflow: hidden;
+  margin-right: -.5%;
 }
 body.channels main .channel > .description h2 {
   margin: 0;
@@ -151,6 +154,13 @@ body.channels main .channel > .description h2 {
 @media(min-width:  84em) { .channel > .description, .video.thumb, .newvideo { max-width: 19%; } }
 @media(min-width: 104em) { .channel > .description, .video.thumb, .newvideo { max-width: 19em; } }
 
+.video.thumb > a {
+  display: block;
+  color: inherit;
+  font-style: inherit;
+  text-decoration: inherit;
+}
+
 .video.thumb figure {
   position: absolute; top: 0;
   height: 11em; width: 100%;
@@ -205,3 +215,56 @@ body.channels main .channel > .description h2 {
 .video.thumb .description:hover {
   max-height: 8em;
 }
+
+body.video.edit form > .delete {
+  text-align: right;
+}
+body.video.edit form #delconfirm + label:after {
+  content: '\0A';
+  white-space: pre;
+}
+body.video.edit form #delconfirm + label + button {
+  pointer-events: none;
+  color: #AAA;
+  border-color: #AAA;
+  left: -.75em;
+}
+body.video.edit form #delconfirm:checked + label + button {
+  pointer-events: auto;
+  color: inherit;
+  border-color: inherit;
+  background-color: #FDD;
+}
+
+body.video video {
+  display: block;
+  margin: 0 auto;
+  max-height: 80vh;
+}
+
+#uploadprogress {
+  text-align: center;
+  background: transparent;
+  margin: 0;
+}
+#uploadprogress .progress {
+  display: block;
+  position: absolute;
+  width: 99%; width: calc(100% - 2pt);
+  background-color: #FFF;
+  border: 1pt solid;
+  border-radius: 4pt;
+  height: 1.25em;
+}
+#uploadprogress .progress .bar {
+  display: block;
+  position: absolute;
+  left: 0; top: 0; bottom: 0;
+  background-color: #666;
+}
+#uploadprogress .progress .count {
+  display: block;
+  position: absolute;
+  left: 0; top: 0; right: 0; bottom: 0;
+  line-height: 1.375em;
+}