More independence from #mkwsResults container.
[mkws-moved-to-github.git] / experiments / spclient / mkwsStyle.css
index 4769c87..56aaef2 100644 (file)
@@ -1,4 +1,6 @@
-#mkwsLang, #mkwsSwitch, #mkwsSearch, #mkwsRecords, #mkwsTargets, #mkwsStat {
+#mkwsLang, #mkwsSwitch, #mkwsSearch, #mkwsTermlists, #mkwsRanking,
+#mkwsPager, #mkwsNavi, #mkwsRecords, #mkwsTargets, #mkwsStat,
+#mkwsShiftedTermlists {
     font-family: Gill Sans, "Gillius ADF", Gillius, GilliusADF, Verdana, Sans-Serif;
 }
 
@@ -8,6 +10,16 @@
     padding-top: 0.4em;
 }
 
+#mkwsLang a {
+    background: #d0e0ff;
+    padding: 1px 4px;
+}
+
+#mkwsLang span {
+    border: solid 1px #d0e0ff;
+    padding: 0px 3px;
+}
+
 #mkwsSearch {
     float: right;
 }
     padding-top: 0.4em;
 }
 
-#mkwsRecords {
-    background-color: #fafafa;
-    border-bottom: 1px solid  #156a16;
-}
-
 #mkwsTargets {
     background-color: #fafafa;
-    border-bottom: 1px solid  #156a16;
 }
 
 #mkwsStat {
+    margin-top: 10px;
+    border-top: 1px solid  #156a16;
+    padding-top: 5px;
     font-size: small;
-} 
+}
 
 #mkwsStat span.head {
     font-weight: bold;
     content: "Retrieved records: ";
 }
 
-#mkwsSwitch a, #mkwsLang a, #mkwsRecords a {
-    color: #005701; 
+#mkwsSwitch a,
+#mkwsLang a,
+#mkwsResults a,
+#mkwsTermlists a,
+#mkwsPager a,
+#mkwsNavi a,
+#mkwsRecords a,
+#mkwsShiftedTermlists a {
+    color: #005701;
     text-decoration: none;
 }
 
-#mkwsSwitch a:hover, #mkwsLang a:hover, #mkwsRecords a:hover {
+#mkwsSwitch a:hover, #mkwsLang a:hover, #mkwsResults a:hover, #mkwsShiftedTermlists a:hover {
     text-decoration: underline;
 }
 
-#mkwsRecords a.crossout:hover {
+#mkwsResults a.crossout:hover, #mkwsShiftedTermlists a.crossout:hover #mkwsResults a.crossout:hover {
     text-decoration: line-through;
 }
 
-#mkwsSearch input#button {
+#mkwsSearch input#mkwsButton {
     border: 3px outset #132194;
     background-color: #132194;
     padding: 2px;
     cursor: pointer;
 }
 
-#mkwsSearch input#query {
-    border: 2px inset #34cc67;
+#mkwsSearch input#mkwsQuery {
+    border: 2px inset #e0f0ff;
     padding: 3px;
     font-size: 12px;
+    background: #f0f8ff;
 }
 
-#mkwsRecords hr {
+#mkwsResults hr, #mkwsShiftedTermlists hr {
     display: none;
 }
 
-#mkwsRecords div.termtitle {
-    margin: 4px;
+#mkwsTermlists .title, #mkwsShiftedTermlists .title {
+    font-size: large;
+    font-weight: bold;
+    text-transform: uppercase;
+}
+
+#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;
 }
 
-#mkwsRecords div.record {
+#mkwsResults div.record, #mkwsShiftedTermlists div.record {
     padding: 5px;
 }
 
-#mkwsRecords div.details {
-    border: 3px solid gray;
+#mkwsResults div.details, #mkwsShiftedTermlists div.details {
+    border: 1px solid #404040;
+    background: #e8e8e8;
     color: darkgray;
-    padding: 5px;
-    margin: 4px;
+    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;
+}
+
+#mkwsResults div.details th, #mkwsShiftedTermlists div.details th {
+    text-align: right;
+    vertical-align: top;
+    padding-right: 0.6em;
+}
+
+#mkwsResults div.details th:after, #mkwsShiftedTermlists div.details th:after {
+    content: ":";
+}
+
+#mkwsPager {
+    background: #e0e0e0;
+    padding: 0.3em;
+}
+
+#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;
 }