[kde-doc-english] www/sites/www-devel
Elena M Ramírez
eramirez at ximdex.com
Tue Apr 12 22:19:19 CEST 2011
SVN commit 1227817 by elenamramirez:
GUI: Programming, styles and images for search results.
AM edu/images/search_result-over.png
M +56 -3 media/includes/derry/css.php
M +4 -4 media/includes/derry/template-top1.inc
--- trunk/www/sites/www-devel/media/includes/derry/css.php #1227816:1227817
@@ -97,6 +97,54 @@
width: 97px;
}
+.header .search_result{
+ position: absolute;
+ z-index: 200;
+ right: 0px;
+ top: 95px;
+ width: 180px;
+ background: #f2f3f3;
+}
+/*.header .search_result ul li.result_noindex_shown:nth-child(2n+2){
+ background: #e7eaec;
+ border-top: 1px dotted #dde8f2;
+ border-bottom: 1px dotted #dde8f2;
+}*/
+
+.header .search_result ul{
+ -moz-box-shadow: 0 2px 5px rgba(0,0,0, .3), 0px 1px 0px #CED1DB inset;
+ -webkit-box-shadow: 0 2px 5px rgba(0,0,0, .3), 0px 1px 0px #CED1DB inset;
+ -khtml-box-shadow: 0 2px 5px rgba(0,0,0, .3), 0px 1px 0px #CED1DB inset;
+ box-shadow: 0 2px 5px rgba(0,0,0, .3), 0px 1px 0px #CED1DB inset;
+ -moz-border-radius: 8px;
+ -webkit-border-radius: 8px;
+ -khtml-border-radius: 8px;
+ border-radius: 8px;
+}
+
+.header .search_result li{
+ border-bottom: 1px dotted #CED1DB;
+}
+.header .search_result li img{
+ /*display: none;*/
+ float: left;
+ width: 15px;
+ margin-left: 10px;
+ padding: 12px 5px;
+}
+.header .search_result li a{
+ text-decoration: none;
+ color: #0A71B4;
+ display: block;
+ padding: 13px 30px 13px 39px;
+}
+
+.header .search_result li a:hover{
+ color: #fff;
+ background: #0A71B4 url("../../../images/search_result-over.png") repeat-x scroll left top;
+ text-shadow: 1px 1px 1px rgba(0,0,0, .5);
+}
+
.header .toolbox .toolboxtext { padding-top: 10px; }
.header .toolbox div {float: left; width: auto;padding: 0 10px 0 10px;color: #888; text-shadow: #fff 0px 0px 3px; text-decoration:none; font-size: 12px; font-weight:normal;}
.header .toolbox #location {min-width:370px;}
@@ -252,6 +300,10 @@
padding: 7px 12px;
margin-right: 10px;
border-bottom: none;
+ -moz-border-radius: 4px;
+ -webkit-border-radius: 4px;
+ -khml-border-radius: 4px;
+ border-radius: 4px;
}
#main .intro a:hover, #quicklinks a:hover{
background: #054b98;
@@ -474,8 +526,8 @@
.app-icon {
float: left;
- margin: 18px 0 10px;
- padding-left: 9px;
+ margin: 23px 0 10px;
+ padding-left: 13px;
}
#main .app-icon + h2{
@@ -524,6 +576,7 @@
color: #888 !important;
line-height: 1.2em !important;
padding: 0px !important;
+ min-height: 97px;
}
.app-category:hover{
@@ -939,7 +992,7 @@
.footer .module { float: left; width: 25%; margin: 0 10px 30px 10px}
.footer .module {font-size:x-small;}
-#footer { clear:both; color: #aaa; font-size:.9em; width:100%;background:#505050 url('../../images/footer.png') no-repeat center top;padding:5px 0 5px 0;}
+#footer { clear:both; color: #aaa; font-size:.8em; width:100%;background:#505050 url('../../images/footer.png') no-repeat center top;padding:5px 0 5px 0;}
#footer a {color: #eee;}
#footer_text{
--- trunk/www/sites/www-devel/media/includes/derry/template-top1.inc #1227816:1227817
@@ -8,9 +8,9 @@
<script type="text/javascript">
$(document).ready(function(event) {
-// $('a#top').click(function() {
-// $('body,html').animate({scrollTop:0},400);
-// });
+ $('a#top').click(function() {
+ $('body,html').animate({scrollTop:0},400);
+ });
$('#search').liveUpdate('#search_result_list');
});
@@ -25,7 +25,7 @@
foreach( $applicationIndex->getAllApplications() as $application ) {
echo "<li class=\"result_noindex_hidden\" style=\"display: none;\">\n";
echo "<img class=\"result_menubox_icon\" alt=\"\" src=\"/images/icons/".$applicationIndex->getFileName( $application )."_22.png\">";
- echo "<a class=\"result_menubox_space\" href=\"/applications/all/cantor\">".$applicationIndex->getName( $application )."</a>";
+ echo "<a class=\"result_menubox_space\" href=\"/applications/all/".$applicationIndex->getFileName( $application )."\">".$applicationIndex->getName( $application )."</a>";
echo "</li>";
}
?>
More information about the kde-doc-english
mailing list