X-Git-Url: http://git.plutz.net/?p=bookman;a=blobdiff_plain;f=bookmarks.css;h=db96bd81d4be765260e48b2480f8d9b891bba14a;hp=f32972db5b87117b2877866e19572d5fa4e94877;hb=7b2162fb64011ee5fcab94c2240d301bab9f71ae;hpb=e6188684fac517ddb3b84c72d7d84e8ed195ec19 diff --git a/bookmarks.css b/bookmarks.css index f32972d..db96bd8 100644 --- a/bookmarks.css +++ b/bookmarks.css @@ -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,6 +144,7 @@ html, body { } .bookmark { + position: relative; width: 16em; display: inline-block; margin: .5em 1em; @@ -139,15 +159,28 @@ 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-of-type(3) { position: absolute; left: 0; } +.bookmark > a.bmove:nth-of-type(3):before { content: '\25c0'; } +.bookmark > a.bmove:nth-of-type(4):before { content: '\25b6'; } +.bookmark > a.link { margin-left: 0;} .bookmark > a.link > img { height: 1.25em; vertical-align: text-bottom; margin: 0 .5ex; } -form.newbookmark, -form.modbookmark { +form.newbookmark { margin: .5em 1em; break-inside: avoid; }