From 16f98e7a5fe6b7d5a5b826fcfd24d650510c8616 Mon Sep 17 00:00:00 2001 From: apfelmaennchen Date: Wed, 28 May 2008 16:34:54 +0000 Subject: [PATCH] YaCy-UI: introduction of modal window for edit bookmarks dialouge... git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4863 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/ui/css/base.css | 60 +++++++++++++++++++++++++++ htroot/yacy/ui/css/ui.tabs.css | 18 ++++----- htroot/yacy/ui/index.html | 4 +- htroot/yacy/ui/js/jqDnR.js | 32 +++++++++++++++ htroot/yacy/ui/js/jqModal.js | 67 ++++++++++++++++++++++++++++++ htroot/yacy/ui/ymarks.html | 74 +++++++++++++++++++++------------- 6 files changed, 218 insertions(+), 37 deletions(-) create mode 100644 htroot/yacy/ui/js/jqDnR.js create mode 100644 htroot/yacy/ui/js/jqModal.js diff --git a/htroot/yacy/ui/css/base.css b/htroot/yacy/ui/css/base.css index c6f1c8f55..d78cae940 100644 --- a/htroot/yacy/ui/css/base.css +++ b/htroot/yacy/ui/css/base.css @@ -320,3 +320,63 @@ dl.pairs dt { } +/* jqmDialog ---------------------------*/ + +div.whiteOverlay { background: white; } +div.jqDrag {cursor: move;} + +div.jqmDialog { + display: none; + position: fixed; + top: 17%; + left: 50%; + margin-left: -200px; + width: 600px; + overflow: hidden; + font-family:verdana,tahoma,helvetica; +} + +/* Fixed posistioning emulation for IE6 + Star selector used to hide definition from browsers other than IE6 + For valid CSS, use a conditional include instead */ +* html div.jqmDialog { + position: absolute; + top: expression((document.documentElement.scrollTop || document.body.scrollTop) + Math.round(17 * (document.documentElement.offsetHeight || document.body.clientHeight) / 100) + 'px'); +} + +/* [[[ Title / Top Classes ]]] */ +div.jqmdTC { + background: url(../img/box600.png) no-repeat; + color: black; + padding: 7px 22px 5px 5px; + font-family:"sans serif",verdana,tahoma,helvetica; + font-weight: bold; + * zoom: 1; +} + + +/* [[[ Body / Message Classes ]]] */ +div.jqmdBC { + background: white; + margin: 0px; + border: 1px solid black; + height: 250px; + overflow: auto; +} + + +div.jqmdMSG { color: black; } + + +/* [[[ Button classes ]]] */ +input.jqmdX { + position: absolute; + right: 7px; + top: 4px; + padding: 0 0 0 19px; + height: 19px; + width: 0px; + background: url(../img-2/cancel.png) no-repeat center; + overflow: hidden; + cursor: pointer; +} diff --git a/htroot/yacy/ui/css/ui.tabs.css b/htroot/yacy/ui/css/ui.tabs.css index 78b9e75c2..9ea916553 100644 --- a/htroot/yacy/ui/css/ui.tabs.css +++ b/htroot/yacy/ui/css/ui.tabs.css @@ -116,18 +116,18 @@ /* close button */ .close { - display: none; - position: absolute; - top: 8px; - right: 7px; - z-index: 2000; - width: 12px; - height: 12px; + display: none; + position: absolute; + top: 8px; + right: 7px; + z-index: 2000; + width: 12px; + height: 12px; border: 0; - + cursor: pointer; } .ui-tabs-selected .close { - display: block; + display: block; } diff --git a/htroot/yacy/ui/index.html b/htroot/yacy/ui/index.html index c1ae4d387..76e672e07 100644 --- a/htroot/yacy/ui/index.html +++ b/htroot/yacy/ui/index.html @@ -21,7 +21,9 @@ - + + + - - - - - - - - - - - - - - - - - - - - - - -
TitleTagsDate
+ + + + + + + + + + + + + + + + + + + + + + +
TitleTagsDate
+ + +
+
+ Edit Bookmark +
+
+
+ Edit bookmark dialog is not functional yet! +

+ At least it seems possible to transport the edit bookmark link and hash into the dialog window... +
+
+ +