lib/rdoc/generator/template/sdoc/resources/css/panel.css in sdoc-0.4.1 vs lib/rdoc/generator/template/sdoc/resources/css/panel.css in sdoc-0.4.2
- old
+ new
@@ -10,12 +10,12 @@
z-index: 2;
font-family: "Helvetica Neue", "Arial", sans-serif;
//zoom: 1;
}
- .panel_tree .results,
- .panel_results .tree
+ .panel_tree .results,
+ .panel_results .tree
{
display: none;
}
/* Header with search box (begin) */
@@ -66,12 +66,20 @@
height: 22px;
//height: auto;
}
/* Header with search box (end) */
-
-
+
+ /* Results and tree (begin) */
+ .panel .result ul li a,
+ .panel .tree ul li a
+ {
+ display: block;
+ text-decoration: none;
+ }
+ /* Results and tree (end) */
+
/* Results (begin) */
.panel .result
{
position: absolute;
top: 30px;
@@ -95,38 +103,34 @@
//zoom:1;
}
.panel .result ul li
{
- height: 46px;
- -height: 50px;
- //display: inline;
- //width: 100%;
- //zoom: 1;
overflow: hidden;
padding: 4px 10px 0 10px;
cursor: pointer;
+ height: 46px;
}
- .panel .result ul li h1
+ .panel .result ul li a
{
font-size: 13px;
font-weight: normal;
color: #333;
- margin-bottom: 2px;
white-space: nowrap;
+ margin-bottom: 2px;
}
.panel .result ul li p
{
font-size: 11px;
color: #333;
margin-bottom: 2px;
white-space: nowrap;
}
- .panel .result ul li h1 i,
+ .panel .result ul li a i,
.panel .result ul li p.snippet
{
color: #999;
}
@@ -138,17 +142,17 @@
.panel .result ul li.current
{
background: #3875D7;
}
- .panel .result ul li.current h1,
+ .panel .result ul li.current a,
.panel .result ul li.current p
{
color: #DDD;
}
- .panel .result ul li.current h1 i,
+ .panel .result ul li.current a i,
.panel .result ul li.current p.snippet
{
color: #AAA;
}
@@ -258,78 +262,73 @@
}
.panel .tree ul
{
background: #EDF3FE url(../i/tree_bg.png);
- }
-
- .panel .tree li
+ }
+
+ .panel .tree ul li
{
cursor: pointer;
overflow: hidden;
- //height: 23px;
- //display: inline;
- //zoom: 1;
- //width: 100%;
+ height: 23px;
+ line-height: 23px;
}
-
-
- .panel .tree li .content
+
+
+ .panel .tree ul li .content
{
padding-left: 18px;
- padding-top: 5px;
- height: 18px;
overflow: hidden;
position: relative;
}
-
- .panel .tree li .icon
+
+ .panel .tree ul li .icon
{
width: 10px;
height: 9px;
background: url(../i/arrows.png);
background-position: 0 -9px;
position: absolute;
left: 1px;
top: 8px;
cursor: default;
}
-
- .panel .tree li.closed .icon
+
+ .panel .tree ul li.closed .icon
{
background-position: 0 0;
}
-
- .panel .tree ul li h1
+
+ .panel .tree ul li a
{
font-size: 13px;
font-weight: normal;
color: #000;
- margin-bottom: 2px;
white-space: nowrap;
}
.panel .tree ul li p
{
font-size: 11px;
color: #666;
margin-bottom: 2px;
white-space: nowrap;
}
-
- .panel .tree ul li h1 i
+
+ .panel .tree ul li a i
{
color: #999;
font-style: normal;
}
.panel .tree ul li.empty
{
cursor: text;
- }
-
- .panel .tree ul li.empty h1,
+ }
+
+ .panel .tree ul li.empty a,
.panel .tree ul li.empty p
{
color: #666;
font-style: italic;
}
@@ -347,20 +346,20 @@
.panel .tree ul li.current.closed .icon
{
background-position: -10px 0;
}
- .panel .tree ul li.current h1
+ .panel .tree ul li.current a
{
color: #FFF;
}
.panel .tree ul li.current p
{
color: #CCC;
}
- .panel .tree ul li.current.empty h1,
+ .panel .tree ul li.current.empty a,
.panel .tree ul li.current.empty p
{
color: #999;
}
\ No newline at end of file