]> git.plutz.net Git - rawnet/blobdiff - rawnet.css
delete function for video
[rawnet] / rawnet.css
index d034a6d056dabe22b19822a98b1883cee317fb27..aca0303760fb05946b7d74017090d3612e131a22 100644 (file)
@@ -151,6 +151,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 +212,24 @@ body.channels main .channel > .description h2 {
 .video.thumb .description:hover {
   max-height: 8em;
 }
+
+.video.edit form > .delete {
+  text-align: right;
+}
+.video.edit form #delconfirm + label:after {
+  content: '\0A';
+  white-space: pre;
+}
+.video.edit form #delconfirm + label + button {
+  pointer-events: none;
+  color: #AAA;
+  border-color: #AAA;
+  left: -.75em;
+}
+.video.edit form #delconfirm:checked + label + button {
+  pointer-events: auto;
+  color: inherit;
+  border-color: inherit;
+  background-color: #FDD;
+}
+