diff --git a/src/css/lex-advanced.css b/src/css/lex-advanced.css index 925e72f..7455c5e 100644 --- a/src/css/lex-advanced.css +++ b/src/css/lex-advanced.css @@ -17,6 +17,13 @@ { padding: 0; } + +#helper +{ + background-color: #99ccff; + border: solid 1px gray; + padding: 2px 0 2px 2px; +} #entry { } @@ -25,8 +32,9 @@ { } -#columnMain textarea +#columnCenter p { + text-align: justify; } #newCompForm, #preferencesForm @@ -78,7 +86,7 @@ margin-bottom: 0; margin-right: 2px; } -.metadata, .translation, .analysis +.metadata { display: none; margin-left: 1.5em; @@ -102,17 +110,17 @@ background-color: white; color: #003366; } -p.data a:link span.metadata, p.data a:link span.translation, p.data a:link span.analysis +p.data a:link span.metadata { display: none; } -p.data a:visited span.metadata, p.data a:visited span.translation, p.data a:visited span.analysis +p.data a:visited span.metadata { display: none; } -p.data a:hover span.metadata, p.data a:hover span.translation, p.data a:hover span.analysis +p.data a:hover span.metadata { text-decoration: none !important; position: absolute; @@ -125,10 +133,10 @@ text-align:left; display: block; } -p.data a:hover span.translation span.metadata, p.data a:hover span.analysis span.metadata +/* p.data a:hover span.translation span.metadata, p.data a:hover span.analysis span.metadata { width: 300px; -} +} */ /* END OF CSS*/ diff --git a/src/css/lex-full-advanced.css b/src/css/lex-full-advanced.css deleted file mode 100644 index 52473ed..0000000 --- a/src/css/lex-full-advanced.css +++ /dev/null @@ -1,237 +0,0 @@ -/* ID Selectors */ -#header -{ -position: absolute; -top: 80px; -left: 0px; -width: 98%; -height: 25px; -margin-top: 10px; -margin-left: 5px; -background-color: #ffffff; -color:gray; -font-size:.9em; -border-left:1px solid #000; -border-right:1px solid #000; -border-top:1px solid #000; -padding: 3px 0 0 3px; -} - -#label p -{ - color:white; -} - -#label -{ -position: absolute; -top: 115px; -left: 0px; -margin-left: 5px; -width: 98%; -height: 25px; -background-color: #666666; -color:white; -font-size:.9em; -border-left:1px solid #000; -border-right:1px solid #000; -border-top:1px solid #000; -padding: 3px 0 0 3px; -} - -#message -{ -position: absolute; -top: 140px; -left: 0px; -margin-left: 5px; -width: 98%; -height: 25px; -font-size:.9em; -background-color: #999999; -border-left:1px solid #000; -border-right:1px solid #000; -border-top:1px solid #000; -padding: 3px 0 0 3px; - -} - -#columnSingle -{ -position:absolute; -top:166px; -left: 0; -margin-left: 5px; -padding-bottom:10px; -width: 98%; -background-color: white; -border:1px solid #000; -padding: 3px 0 0 3px; -} - -#columnSingle #menu -{ -float:right; -border-left:1px solid #000; -border-bottom:1px solid #000; -width: 230px; -background:#eee; -margin:0px 0px 10px 10px; -padding-top: 5px; -padding-bottom: 5px; -} - -#columnSingle form, #columnSingle h1 -{ -margin:5px 5px 5px 5px; -} - -#menu > form -{ -border-left: 0; -border-bottom: 0; -margin-left:10px; -} - -#termChildren, #defChildren, #subdefChildren -{ -margin-left: 35px; -margin-right: 0; -} - -#columnMain textarea -{ -border: black solid 1px; -} - -#debug -{ -display: none; -position: absolute; -top: 0; -margin-left: 105%; -font-size:.8em; -width: 60%; -height: auto; -z-index: 4; -background-color: white; -} - -#debug table -{ -position:absolute; -top: 0px; -left: 0px; -width: 100%; -border: black solid 2px; -color: black; -background-color: cyan; -margin: 0 0 15px 0;} - -#debug th, #debug td -{ -border-collapse: collapse; -border-spacing: 0; -background-color: cyan; -font-size: .9em; -text-align: left; -vertical-align: top; -margin: 0; -} - -#debug h3 -{ - background-color: #99ccff; -} - -#backButton -{ -float:right; -margin-right: 25px; -margin-top: 25px; -} - -#newCompForm, #preferencesForm -{ -background-color: #99ccff; -border: black solid 1px; -margin: 8px 8px 8px 8px !important; -} - -#newCompForm input, select, textarea -{ -margin: 5px 5px 5px 5px; -} - -/* Class Selectors.*/ -.label -{ -font-weight: bold; -} - -.compEditOptions -{ -padding: 0; -} - -.data -{ -border-top: 1px solid silver; -padding-top: 6px; -margin-left: 0; -margin-right: 0; -margin-top: 0; -margin-bottom: 0; -} - -#columnSingle > p.data -{ - margin-left: 3px; -} -.data img -{ -margin-right: 2px; -} - -.metadata, .translation, .analysis -{ -display: block; -/* font-size: .75em; */ -margin-left: 1.5em; -/* margin-top: .5em; */ -color: black; -} - -.data input -{ - font-size: .9em; - padding: 0px; -} - -/* CSS Rollovers */ - -p.data a:hover -{ -/* -Don't Remove bgcolor and color or rollover will not work on IE Windows -These CSS Rollovers do not work on IE Mac. but they do work on Mozilla Mac -*/ -text-decoration: none; -background-color: white; -/* color: #003366; */ -} - -p.data img -{ - display: none; -} - -.translation, .analysis -{ - color: black; -} - - -/* TEMP WORK/TESTING AREA */ - -/* END OF CSS*/ diff --git a/src/css/lex-full.css b/src/css/lex-full.css deleted file mode 100644 index 15440a6..0000000 --- a/src/css/lex-full.css +++ /dev/null @@ -1,11 +0,0 @@ -@import url( "http://iris.lib.virginia.edu/tibet/style/thdl-styles.css" ); -@import url( "lex-full-advanced.css" ); - -/* Element Selectors */ - -#main * -{ /*--------- '*' = everything -------------*/ -font-family: 'Arial Unicode MS', 'TITUS Cyberbit Basic', 'Lucida Grande', sans-serif !important; -} - - diff --git a/src/css/lex.css b/src/css/lex.css index f12d5c1..b4d49bf 100644 --- a/src/css/lex.css +++ b/src/css/lex.css @@ -9,3 +9,74 @@ font-family: 'Arial Unicode MS', 'Lucida Grande', sans-serif !important; } +h1 +{ + font-size: 1.5em; +} + +li, ol, ul +{ + padding: 0 1em 0 1em; + margin-top: 0; + border-width: 0px; + +} +li +{ + border-color: green; +} + +ol +{ + border-color: red; +} + +ul +{ + border-color: blue; +} + + +li +{ + margin-left: 1em !important; + padding: 0; +} + +ol +{ +list-style-type: upper-roman; +} +#results ol +{ + list-style-type: decimal; +} +ol.notes +{ +list-style-type: lower-roman; +} +ol ol +{ +list-style-type: upper-alpha; +margin-left: 0 !important; +} + +ol ol ol +{ +list-style-type: decimal; +margin-left: 0 !important; +} + +ol ul, ol ol ul, ol ol ol ul +{ +list-style-type: disc; +margin-left: 0 !important; +} + +ol ul li, ol ol ul li, ol ol ol ul li +{ +margin-left: 0 !important; +padding-left: 0 !important; +} + + diff --git a/src/java/org/thdl/lex/LexActionServlet.java b/src/java/org/thdl/lex/LexActionServlet.java index c02b0db..9b209e9 100644 --- a/src/java/org/thdl/lex/LexActionServlet.java +++ b/src/java/org/thdl/lex/LexActionServlet.java @@ -106,6 +106,7 @@ public class LexActionServlet extends HttpServlet */ public void service( HttpServletRequest req, HttpServletResponse res ) throws ServletException, IOException { + res.setContentType( "text/html; charset=UTF-8" ); /* LexLogger.debug( "Checking Request state at start of LexActionServlet.service()" ); LexLogger.logRequestState( req ); diff --git a/src/jsp/jsp/displayDefinition.jsf b/src/jsp/jsp/displayDefinition.jsf index 89d4d19..b63ee7b 100644 --- a/src/jsp/jsp/displayDefinition.jsf +++ b/src/jsp/jsp/displayDefinition.jsf @@ -1,12 +1,13 @@ <%@ page import="org.thdl.lex.*,org.thdl.lex.component.*" buffer="512kb" autoFlush="false"%> <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> - + -
-
+
+
-
diff --git a/src/jsp/jsp/displayEtymology.jsf b/src/jsp/jsp/displayEtymology.jsf
index 9816117..f59e2f7 100644
--- a/src/jsp/jsp/displayEtymology.jsf
+++ b/src/jsp/jsp/displayEtymology.jsf
@@ -1,13 +1,13 @@
<%@ page import="org.thdl.lex.*,org.thdl.lex.component.*" buffer="512kb" autoFlush="false"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
-
+
-
-
+
-
-
-
-
-
+
-
-
-
-
+
-
-
+
-
+
+
-
-
-
-
-
- Search Results
@@ -40,13 +40,18 @@
+
+
-
+
Translations
+
+
@@ -50,16 +63,19 @@
-
+
+
-
-
-
-
+
+
+
+
+
- Translations
+
+
-
+ Notes
+
+
+
@@ -17,6 +22,9 @@
-
+
+
-
-
+
+
- Translations
+
-
-
-
-
-
-
-
+
+
+
+
+ <%-- --%>
+
-
-
-
-
-
+
+
-
-
-
+
Special Guests
+Special Guests
+
+Pronunciations
+Pronunciations
+
+Etymologies
+Etymologies
+
+Spellings
+Spellings
+
+Functions
+Functions
+
+Encyclopedia Articles
+Encyclopedia Articles
+
+Definitions
-Definitions
+Subdefinitions
+
+
Keywords
+Keywords
+
Model Sentences
+Model Sentences
+
Translation Equivalents
+Translation Equivalents
+
RelatedTerm
+RelatedTerm
+
Passages
+Passages
+
+Registers
+Registers
+
+
-
+