]> git.plutz.net Git - shellwiki/blobdiff - themes/default.css
help and assist for editor
[shellwiki] / themes / default.css
index 7ef7fb3acb00ee126033991a211354b905581950..e23c18210e4f368410fc88855e88d1fce72d4ecb 100644 (file)
@@ -114,11 +114,42 @@ main pre {
 body[id$="/[edit]"] textarea,
 body[id$="/[newpage]"] textarea {
   width: 100%;
-  min-height: 20em; min-height: 70vh;
+  min-height: 20em; min-height: 50vh;
   font-family: monospace;
   font-size: inherit;
 }
 
+[id$="/[edit]"] main {
+  padding-top: 2.5em;
+}
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.syntax,
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.help {
+  background-color: #FFF;
+  min-height: 20em; min-height: 50vh;
+}
+[id$="/[edit]"] input[type=radio].tab#edtr:checked ~ form.tab.editor { display: block; }
+[id$="/[edit]"] input[type=radio].tab#help:checked ~ div.tab.syntax { display: block; }
+[id$="/[edit]"] input[type=radio].tab#himg:checked ~ div.tab.help,
+[id$="/[edit]"] input[type=radio].tab#hdoc:checked ~ div.tab.help {
+  display: block;
+}
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .himg,
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .hdoc {
+  display: none;
+}
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.help {
+  padding-top: 1em;
+  padding-left: 7em;
+}
+[id$="/[edit]"] input[type=radio].tab ~ div.tab.help .himg img {
+  float: left;
+  max-height: 4em;
+  margin-left: -6em;
+}
+[id$="/[edit]"] input[type=radio].tab#himg:checked ~ div.tab.help .himg { display: block; }
+[id$="/[edit]"] input[type=radio].tab#hdoc:checked ~ div.tab.help .hdoc { display: block; }
+
+
 /* === Attachments === */
 
 .attachment.list button[name=delete] {