slitaz-forge rev 466
Update mirror css
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 27 14:21:03 2014 +0000 (2014-02-27) |
parents | e769e7e4d6bf |
children | 7deb9a2b2bff |
files | mirror/floppies/menu.css mirror/root/static/slitaz.css pkgs/search.sh |
line diff
1.1 --- a/mirror/floppies/menu.css Sun Feb 23 10:55:34 2014 +0000 1.2 +++ b/mirror/floppies/menu.css Thu Feb 27 14:21:03 2014 +0000 1.3 @@ -17,7 +17,7 @@ 1.4 } 1.5 #menu li a:hover { 1.6 color: #ffffff; 1.7 - background-color: #d66018; 1.8 + background-color: #ccc; 1.9 border-top-right-radius: 3px; 1.10 border-top-left-radius: 3px; 1.11 } 1.12 @@ -48,7 +48,7 @@ 1.13 border: 1px solid #f1efeb; 1.14 } 1.15 #menu li li a:hover { 1.16 - background-color: #d66018; 1.17 + background-color: #ccc; 1.18 color: #ffffff; 1.19 border-radius: 2px; 1.20 /* border: 1px solid #c1baad; */
2.1 --- a/mirror/root/static/slitaz.css Sun Feb 23 10:55:34 2014 +0000 2.2 +++ b/mirror/root/static/slitaz.css Thu Feb 27 14:21:03 2014 +0000 2.3 @@ -38,7 +38,7 @@ 2.4 2.5 #header { 2.6 height: 40px; 2.7 - background: #351a0a; 2.8 + background: #222; 2.9 color: #ffffff; 2.10 } 2.11 2.12 @@ -56,7 +56,7 @@ 2.13 } 2.14 2.15 #header h1 a:hover, #network a:hover { 2.16 - color: #d66018; 2.17 + color: #ccc; 2.18 } 2.19 2.20 /* Logo */ 2.21 @@ -85,7 +85,7 @@ 2.22 2.23 #block { 2.24 min-height: 200px; 2.25 - background: #d66018; 2.26 + background: #ccc; 2.27 padding: 26px 10% 0px; 2.28 text-align: center; 2.29 color: #333; 2.30 @@ -105,7 +105,7 @@ 2.31 } 2.32 2.33 #block h4 { 2.34 - color: #351a0a; 2.35 + color: #222; 2.36 margin: 0px; 2.37 font-weight: bold; 2.38 font-size: 110%; 2.39 @@ -114,12 +114,12 @@ 2.40 #block_info p { margin: 6px 0; padding: 0 12px 0 0; } 2.41 #block_info a { font-weight: normal; } 2.42 #block ul { list-style-type: square; } 2.43 -#block a:hover { color: #351a0a; } 2.44 +#block a:hover { color: #afafaf; } 2.45 2.46 /* Navigation */ 2.47 2.48 #block_nav { 2.49 - background: #cc5b17; 2.50 + background: #666; 2.51 padding: 10px 10px 40px; 2.52 text-align: justify; 2.53 width: 48%; 2.54 @@ -240,7 +240,7 @@ 2.55 /* Button */ 2.56 2.57 .button a { 2.58 - background-color: #b64b22; 2.59 + background-color: #666; 2.60 color: #ffffff; 2.61 margin-right: 6px; 2.62 padding: 6px 10px; 2.63 @@ -249,7 +249,7 @@ 2.64 font-weight: bold; 2.65 } 2.66 .button a:hover, input[type=submit]:hover { 2.67 - background-color: #a3431f; 2.68 + background-color: #444; 2.69 color: #ffffff; 2.70 } 2.71 2.72 @@ -304,8 +304,8 @@ 2.73 } 2.74 2.75 .searchbox input[type=submit] { 2.76 - border: 1px solid #b64b22; 2.77 - background-color: #b64b22; 2.78 + border: 1px solid #666; 2.79 + background-color: #666; 2.80 color: white; 2.81 font-weight: bold; 2.82 cursor: pointer; 2.83 @@ -320,7 +320,7 @@ 2.84 border-bottom-right-radius: 4px; 2.85 } 2.86 2.87 -.searchbox input[type=submit]:hover { background-color: #a3431f; } 2.88 +.searchbox input[type=submit]:hover { background-color: #444; } 2.89 2.90 .searchbox input[type=text] { 2.91 border: 1px solid #333333; 2.92 @@ -351,5 +351,5 @@ 2.93 2.94 .year:after { 2.95 /* content: "2007-2012"; */ 2.96 - content: "2013"; 2.97 + content: "2014"; 2.98 }
3.1 --- a/pkgs/search.sh Sun Feb 23 10:55:34 2014 +0000 3.2 +++ b/pkgs/search.sh Thu Feb 27 14:21:03 2014 +0000 3.3 @@ -571,7 +571,6 @@ 3.4 [ -n "$WGET_URL" ] && sedit="$sedit -e 's|\\(>WGET_URL<[^\"]*\"\\)\\([^\"]*\\)|\\1<a class='r-url' target='_blank' href=\"${WGET_URL//|/\\|}\">\\2</a>|}'" 3.5 [ -n "$MAINTAINER" ] && sedit="$sedit -e '/MAINTAINER/{s|\\(${MAINTAINER/@/@}\\)|<a class='r-url' target='_blank' href=\"?maintainer=\\1\\&version=$SLITAZ_VERSION\">\\1</a>|}'" 3.6 [ -n "$CATEGORY" ] && sedit="$sedit -e '/CATEGORY/{s|\\($CATEGORY\\)|<a class='r-url' target='_blank' href=\"?category=\\1\\&version=$SLITAZ_VERSION\">\\1</a>|}'" 3.7 - [ -n "$LICENSE" ] && sedit="$sedit -e '/LICENSE/{s|\\($LICENSE\\)|<a class='r-url' target='_blank' href=\"?license=\\1\\&version=$SLITAZ_VERSION\">\\1</a>|}'" 3.8 [ -f $WOK/$PACKAGE/description.txt ] && sedit="$sedit -e '/SHORT_DESC/{s|\\($SHORT_DESC\\)|<a class='r-url' target='_blank' href=\"?desc=$PACKAGE\\&version=$SLITAZ_VERSION\">\\1</a>|}'" 3.9 tarball_url=sources/packages-$SLITAZ_VERSION/${TARBALL:0:1}/$TARBALL 3.10 [ -f /var/www/slitaz/mirror/$tarball_url ] || case "$tarball_url" in 3.11 @@ -586,6 +585,11 @@ 3.12 sedit="$sedit -e 's|^$i\\([\" <\\]\\)|<a class='r-url' target='_blank' href=\\\"?receipt=$i\\&version=$SLITAZ_VERSION\\\">$i</a>\\1|'" 3.13 done 3.14 fi 3.15 + if [ -n "$LICENSE" ]; then 3.16 + for i in $LICENSE ; do 3.17 + sedit="$sedit -e '/LICENSE/{s|\\($i\\)|<a class='r-url' target='_blank' href=\"?license=\\1\\&version=$SLITAZ_VERSION\">\\1</a>|}'" 3.18 + done 3.19 + fi 3.20 if [ -n "$HOST_ARCH" ]; then 3.21 for i in $HOST_ARCH ; do 3.22 sedit="$sedit -e '/HOST_ARCH/{s|\\([\" ]\\)$i\\([\" ]\\)|\\1<a class='r-url' target='_blank' href=\\\"?arch=$i\\&version=$SLITAZ_VERSION\\\">$i</a>\\2|}'"