Format the CSS in a readable way….

This commit is contained in:
Lukas Reschke 2012-10-23 23:44:23 +02:00
parent b1150f6a7f
commit 47be338f32
1 changed files with 65 additions and 9 deletions

View File

@ -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;
}