]> git.plutz.net Git - bookman/blobdiff - bookmarks.css
implemented search queries, some speedup, caching
[bookman] / bookmarks.css
index f32972db5b87117b2877866e19572d5fa4e94877..f905773f64e3bf2dc0f247b618a8d6a1210f1b44 100644 (file)
@@ -1,5 +1,4 @@
 * { /* RESET */
-  font-size: 12pt;
   margin: 0;
   padding: 0;
   text-decoration: none;
@@ -45,6 +44,7 @@ html, body {
   color: #333;
 }
 
+.modbookmark,
 .modfolder {
   display: block;
   position: fixed;
@@ -61,6 +61,7 @@ html, body {
   background-color: #ACF;
   word-spacing: -.5ex;
 }
+.modbookmark:before,
 .modfolder:before {
   display: block;
   content: '';
@@ -72,14 +73,17 @@ html, body {
   background-color: white;
   z-index: -1;
 }
+.modbookmark + *:after,
 .modfolder + *:after {
   content: ' ';
   position: fixed;
   top: 0; bottom: 0; left: 0; right: 0;
   background-color: rgba(0,0,0,.5);
 }
+.modbookmark > *,
 .modfolder > * { word-spacing: 0; }
 
+.modbookmark > h1,
 .modfolder > h1 {
   background-color: transparent;
   text-align: left;
@@ -87,6 +91,7 @@ html, body {
   padding-left: .25em;
 }
 
+.modbookmark > .tab,
 .modfolder > .tab {
   display: inline-block;
   width: 33%;
@@ -94,9 +99,17 @@ html, body {
   border: 1px solid black;
   border-radius: .5em .5em 0 0;
 }
+.modbookmark > .tab {
+  width: 49.5%;
+}
+.modbookmark > label.tab,
 .modfolder > label.tab { border-bottom: 0px; }
+.modbookmark > a.tab,
 .modfolder > a.tab { background-color: #EEE; }
 
+.modbookmark > label:nth-of-type(2),
+.modbookmark > label:nth-of-type(3),
+.modbookmark > select,
 .modfolder > label:nth-of-type(2),
 .modfolder > select,
 .modfolder > input {
@@ -105,17 +118,23 @@ html, body {
   text-align: left;
   margin: 1em 0 0 1em;
 }
-.modfolder > label:nth-of-type(2){
+.modbookmark > label:nth-of-type(2),
+.modbookmark > label:nth-of-type(3),
+.modfolder > label:nth-of-type(2) {
   font-weight: bold;
 }
+.modbookmark > select,
 .modfolder > select {
   width: 10em;
   max-width: 95%;
 }
+.modbookmark > input,
 .modfolder > input {
   width: 28em;
   max-width: 95%;
 }
+.modbookmark > button,
+.modbookmark > select,
 .modfolder > button {
   display: inline-block;
   float: right;
@@ -125,9 +144,11 @@ html, body {
 }
 
 .bookmark {
+  position: relative;
   width: 16em;
   display: inline-block;
   margin: .5em 1em;
+  white-space: nowrap;
 }
 
 .bookmark > a.modify {
@@ -139,15 +160,27 @@ html, body {
   content: '\2699';
   color: #333;
 }
+.bookmark > a.bmove {
+  display: none;
+  color: transparent;
+  overflow: hidden;
+  vertical-align: top;
+  font-size: 0;
+}
+.bookmark:hover { left: -1em; padding-left: 1em; }
+.bookmark:hover > a.bmove { display: inline-block; }
+.bookmark > a.bmove:before { color: #888; font-size: medium; }
+.bookmark > a.bmove:nth-last-of-type(2) { position: absolute; left: 0; }
+.bookmark > a.bmove:nth-last-of-type(2):before { content: '\25c0'; }
+.bookmark > a.bmove:nth-last-of-type(1):before { content: '\25b6'; }
 
-.bookmark > a.link >  img {
+.bookmark img {
   height: 1.25em;
   vertical-align: text-bottom;
   margin: 0 .5ex;
 }
 
-form.newbookmark,
-form.modbookmark {
+form.newbookmark {
   margin: .5em 1em;
   break-inside: avoid;
 }