diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-23 23:44:23 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-23 23:44:23 +0200 |
commit | 47be338f32ebd3a7f1bbe7eaf11df7e9263d32ff (patch) | |
tree | a5b47ddcaf6acff3aebd4bb5f3afeeb3d329d60c /search | |
parent | b1150f6a7fe32714eba4155e3bee4498eef446a0 (diff) | |
download | nextcloud-server-47be338f32ebd3a7f1bbe7eaf11df7e9263d32ff.tar.gz nextcloud-server-47be338f32ebd3a7f1bbe7eaf11df7e9263d32ff.zip |
Format the CSS in a readable way….
Diffstat (limited to 'search')
-rw-r--r-- | search/css/results.css | 74 |
1 files changed, 65 insertions, 9 deletions
diff --git a/search/css/results.css b/search/css/results.css index 40d5563e89e..f2b0b1c53b6 100644 --- a/search/css/results.css +++ b/search/css/results.css @@ -2,12 +2,68 @@ This file is licensed under the Affero General Public License version 3 or later. See the COPYING-README file. */ -#searchresults { list-style:none; position:fixed; top:3.5em; right:0; z-index:75; background-color:#fff; overflow:hidden; text-overflow:ellipsis; max-height:80%; width:26.5em; padding-bottom:1em; -moz-box-shadow:0 0 10px #000; -webkit-box-shadow:0 0 10px #000; box-shadow:0 0 10px #000; -moz-border-radius-bottomleft:1em; -webkit-border-bottom-left-radius:1em; border-bottom-left-radius:1em; } -#searchresults li.resultHeader { font-size:1.2em; font-weight:bold; border-bottom:solid 1px #CCC; padding:.2em; background-color:#eee; } -#searchresults li.result { margin-left:2em; } -#searchresults table { width:100%; table-layout:fixed; top:0; border-spacing:0; } -#searchresults td { padding:0 .3em; vertical-align:top; } -#searchresults td.result div.text { padding-left:1em; white-space:nowrap; } -#searchresults td.result * { cursor:pointer; } -#searchresults td.type { width:3.5em; text-align:right; border-right:1px solid #aaa; border-bottom:none; font-weight:bold; } -#searchresults tr.current { background-color:#ddd; } +#searchresults +{ + background-color: #fff; + border-bottom-left-radius: 1em; + box-shadow: 0 0 10px #000; + list-style: none; + max-height: 80%; + moz-border-radius-bottomleft: 1em; + moz-box-shadow: 0 0 10px #000; + overflow: hidden; + padding-bottom: 1em; + position: fixed; + right: 0; + text-overflow: ellipsis; + top: 3.5em; + webkit-border-bottom-left-radius: 1em; + webkit-box-shadow: 0 0 10px #000; + width: 26.5em; + z-index: 75; +} +#searchresults li.resultHeader +{ + background-color: #eee; + border-bottom: solid 1px #CCC; + font-size: 1.2em; + font-weight: bold; + padding: .2em; +} +#searchresults li.result +{ + margin-left: 2em; +} +#searchresults table +{ + border-spacing: 0; + table-layout: fixed; + top: 0; + width: 100%; +} +#searchresults td +{ + padding: 0 .3em; + vertical-align: top; +} +#searchresults td.result div.text +{ + padding-left: 1em; + white-space: nowrap; +} +#searchresults td.result * +{ + cursor: pointer; +} +#searchresults td.type +{ + border-bottom: none; + border-right: 1px solid #aaa; + font-weight: bold; + text-align: right; + width: 3.5em; +} +#searchresults tr.current +{ + background-color: #ddd; +}
\ No newline at end of file |