]> git.plutz.net Git - rawnet/blobdiff - rawnet.css
add and remove channel authors
[rawnet] / rawnet.css
index 650da603b77da4d1779bd9b4bb66901c3ed6f2ce..454e8a4b03240212ea735107133d970efdd25fbf 100644 (file)
@@ -268,3 +268,70 @@ body.video video {
   left: 0; top: 0; right: 0; bottom: 0;
   line-height: 1.375em;
 }
+
+button, a.button {
+  margin-top: .375em;
+}
+
+body.channel .authors h3 {
+  display: inline-block;
+}
+body.channel.edit .authors h3 {
+  margin-bottom: 0;
+  display: block;
+}
+body.channel .authors span:after {
+  content: ',';
+}
+body.channel .authors span:last-child:after {
+  content: '';
+}
+
+body.channel.edit .authors input[name=author] {
+  margin-left: .5em;
+}
+body.channel.edit .authors input[name=author] {
+  z-index: 1;
+}
+body.channel.edit .authors input[name=author] + label {
+  padding: .25em .5em .125em .25em;
+  margin: 0 0 .5em 0;
+  padding-left: 1.25em;
+  margin-left: -1.25em;
+  border: .5pt solid;
+  background-color: rgba(255, 255, 255, .75);
+}
+body.channel.edit .authors input[name=author],
+body.channel.edit .authors input[name=author] + label {
+  display: none;
+}
+body.channel.edit .authors input[name=author]:checked,
+body.channel.edit .authors input[name=author]:checked + label {
+  display: inline-block;
+}
+body.channel.edit .authors input[id^=newauthor] + label {
+  background-color: #FFF;
+  border: 1pt solid;
+  width: 1.5em; height: 1.5em;
+  text-align: center;
+}
+
+body.channel.edit .authors input[id^=newauthor] + label + input {
+  vertical-align: middle;
+}
+body.channel.edit .authors input[id^=newauthor],
+body.channel.edit .authors input[id^=newauthor] + label,
+body.channel.edit .authors input[id^=newauthor] + label + input {
+  display: none;
+}
+body.channel.edit .authors input[id^=newauthor0] + label {
+  display: inline-block;
+}
+body.channel.edit .authors input[id^=newauthor]:checked + label + input,
+body.channel.edit .authors input[id^=newauthor]:checked + label + input + input + label {
+  display: inline-block;
+}
+body.channel.edit .authors input[id^=newauthor]:checked + label,
+body.channel.edit .authors input[id^=newauthor]:checked + label + input + input:checked + label {
+  display: none;
+}