X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=experiments%2Fspclient%2FmkwsStyle.css;h=a3d3085f6f9eff8f334ca153723d9a611396a967;hb=59364bd5ba5d874f5b02c9fcdf3a75871f4818c8;hp=f17c5468f813f896c41d74e588a8e14a61f5f615;hpb=6ced8fb4cefea00e728094faf8d7cc0083cc9253;p=mkws-moved-to-github.git diff --git a/experiments/spclient/mkwsStyle.css b/experiments/spclient/mkwsStyle.css index f17c546..a3d3085 100644 --- a/experiments/spclient/mkwsStyle.css +++ b/experiments/spclient/mkwsStyle.css @@ -1,17 +1,90 @@ -a { - color: #005701; +#mkwsLang, +#mkwsSwitch, +#mkwsSearch, +#mkwsTermlists, +#mkwsRanking, +#mkwsPager, +#mkwsNavi, +#mkwsRecords, +#mkwsTargets, +#mkwsStat, +#mkwsShiftedTermlists { + font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; +} + +#mkwsLang { + float: left; + padding-left: 1em; + padding-top: 0.4em; +} + +#mkwsLang a { + background: #d0e0ff; + padding: 1px 4px; +} + +#mkwsLang span { + border: solid 1px #d0e0ff; + padding: 0px 3px; +} + +#mkwsSearch { + float: right; +} + +#mkwsSwitch { + float: right; + padding-left: 1em; + padding-top: 0.4em; +} + +#mkwsTargets { + background-color: #fafafa; +} + +#mkwsStat { + margin-top: 10px; + border-top: 1px solid #156a16; + padding-top: 5px; + font-size: small; +} + +#mkwsStat span.head { + font-weight: bold; +} + +#mkwsStat span.clients:before { + content: "Active clients: "; +} + +#mkwsStat span.records:before { + content: "Retrieved records: "; +} + +#mkwsSwitch a, +#mkwsLang a, +#mkwsTermlists a, +#mkwsRanking a, +#mkwsPager a, +#mkwsNavi a, +#mkwsRecords a, +#mkwsShiftedTermlists a { + color: #005701; text-decoration: none; } -a:hover { +#mkwsSwitch a:hover, +#mkwsLang a:hover, +#mkwsResults a:hover, +#mkwsShiftedTermlists a:hover { text-decoration: underline; } -a.crossout:hover { +#mkwsNavi a.crossout:hover { text-decoration: line-through; } -input#button { +#mkwsSearch input#mkwsButton { border: 3px outset #132194; background-color: #132194; padding: 2px; @@ -24,48 +97,103 @@ input#button { cursor: pointer; } -input#query { - border: 2px inset #34cc67; +#mkwsSearch input#mkwsQuery { + border: 2px inset #e0f0ff; padding: 3px; font-size: 12px; + background: #f0f8ff; +} + +#mkwsResults hr, +#mkwsShiftedTermlists hr { + display: none; } -div.termtitle { - margin: 4px; +#mkwsTermlists .title, +#mkwsShiftedTermlists .title { + font-size: large; font-weight: bold; + text-transform: uppercase; } -div.record { - padding: 5px; +#mkwsTermlists, +#mkwsShiftedTermlists div#termlist { + background: #d0e0ff; + padding: 0.7em; + font-size: small; + + border-top-right-radius: 10px; + -moz-border-top-right-radius: 10px; + -webkit-border-top-right-radius: 10px; +} + +#mkwsTermlists div.facet, +#mkwsShiftedTermlists div.facet { + background: #e0f0ff; + padding: 0.7em; + margin-top: 0.7em; + + border-top-right-radius: 10px; + -moz-border-top-right-radius: 10px; + -webkit-border-top-right-radius: 10px; +} + +#mkwsTermlists div.termtitle, +#mkwsShiftedTermlists div.termtitle { + font-weight: bold; } -div.details { - border: 3px dashed gray; - color: gray; +#mkwsResults div.record, +#mkwsShiftedTermlists div.record { padding: 5px; - margin: 4px; } -#mkwsSwitch, #mkwsSearch, #mkwsRecords, #mkwsTargets { - font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; +#mkwsResults div.details, +#mkwsShiftedTermlists div.details { + border: 1px solid #404040; + background: #e8e8e8; + color: darkgray; + padding: 5px 10px; + margin: 10px 0px; + box-shadow: 10px 10px 5px #808080; + + border-top-right-radius: 10px; + -moz-border-top-right-radius: 10px; + -webkit-border-top-right-radius: 10px; } -#mkwsSwitch { - float: right; - padding-left: 1em; - padding-top: 0.4em; +#mkwsResults div.details th, +#mkwsShiftedTermlists div.details th { + text-align: right; + vertical-align: top; + padding-right: 0.6em; } -#mkwsSearch { - float: right; +#mkwsResults div.details th:after, +#mkwsShiftedTermlists div.details th:after { + content: ":"; } -#mkwsRecords { - background-color: #fafafa; - border-bottom: 1px solid #156a16; +#mkwsPager { + background: #e0e0e0; + padding: 0.3em; } -#mkwsTargets { - background-color: #fafafa; - border-bottom: 1px solid #156a16; +#mkwsBytarget table thead tr td { + background-color: #132194; + color: white; + font-weight: bold; + padding: 0.2em 0.5em; +} + +#mkwsBytarget table tbody tr:nth-child(odd) { + background-color: #e0f0ff; +} + +#mkwsBytarget table tbody tr:nth-child(even) { + background-color: #d0e0ff; +} + +#mkwsBytarget table tbody tr td { + padding: 0.2em 0.5em; }