X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=experiments%2Fspclient%2FmkwsStyle.css;h=df4fce1abb9e03abf43a80ce40b7dee89239df9a;hb=52d0976345e90047335fd4b1e5adbcbd3f3de9b7;hp=392048747b26cc550a83c222d8d85cd578b68006;hpb=69f4fc8640ca01d86b470d13e187330ff12afacf;p=mkws-moved-to-github.git diff --git a/experiments/spclient/mkwsStyle.css b/experiments/spclient/mkwsStyle.css index 3920487..df4fce1 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, +#mkwsResults a, +#mkwsTermlists 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,60 +97,94 @@ 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; } -div.details { - border: 3px dashed gray; - color: gray; - padding: 5px; - margin: 4px; +#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; } -#mkwsSwitch, #mkwsSearch, #mkwsRecords, #mkwsTargets { - font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif; +#mkwsTermlists div.termtitle, #mkwsShiftedTermlists div.termtitle { + font-weight: bold; } -#mkwsSwitch { - float: right; - padding-left: 1em; - padding-top: 0.4em; +#mkwsResults div.record, #mkwsShiftedTermlists div.record { + padding: 5px; } -#mkwsSearch { - float: right; +#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; } -#mkwsRecords { - background-color: #fafafa; - border-bottom: 1px solid #156a16; +#mkwsResults div.details th, #mkwsShiftedTermlists div.details th { + text-align: right; + vertical-align: top; + padding-right: 0.6em; } -#mkwsTargets { - background-color: #fafafa; - border-bottom: 1px solid #156a16; +#mkwsResults div.details th:after, #mkwsShiftedTermlists div.details th:after { + content: ":"; } -#mkwsStat { +#mkwsPager { + background: #e0e0e0; + padding: 0.3em; +} + +#mkwsBytarget table thead tr td { + background-color: #132194; + color: white; font-weight: bold; - font-size: small; + padding: 0.2em 0.5em; } -#footer { - padding-top: 4px; - text-align: center; - font-size: small; +#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; +}