You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by er...@apache.org on 2010/11/02 16:18:14 UTC
svn commit: r1030084 - in /servicemix/sandbox/website20/src/main/webapp:
css/home.css css/master.css index.page
Author: ericjohnson
Date: Tue Nov 2 15:18:14 2010
New Revision: 1030084
URL: http://svn.apache.org/viewvc?rev=1030084&view=rev
Log:
prettied things up a bit:
* made the drop downs darker and added shadowing
* rounded out the boxes and added shodowing
* made the download link use normal link style
Modified:
servicemix/sandbox/website20/src/main/webapp/css/home.css
servicemix/sandbox/website20/src/main/webapp/css/master.css
servicemix/sandbox/website20/src/main/webapp/index.page
Modified: servicemix/sandbox/website20/src/main/webapp/css/home.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/css/home.css?rev=1030084&r1=1030083&r2=1030084&view=diff
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/css/home.css (original)
+++ servicemix/sandbox/website20/src/main/webapp/css/home.css Tue Nov 2 15:18:14 2010
@@ -39,14 +39,29 @@ div#boxes ul {
div#getit_box {
background-color: #33CC99;
-}
+ border-radius: 1em;
+ -webkit-border-radius: 1em;
+ -moz-border-radius: 1em;
+ -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
+ -moz-box-shadow: rgba(0,0,0,0.25) 0.25em 0.25em 1em;
+ }
div#useit_box {
background-color: #6699FF;
+ border-radius: 1em;
+ -webkit-border-radius: 1em;
+ -moz-border-radius: 1em;
+ -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
+ -moz-box-shadow: rgba(0,0,0,0.25) 0.25em 0.25em 1em;
}
div#makeit_box {
background-color: #CC99CC;
+ border-radius: 1em;
+ -webkit-border-radius: 1em;
+ -moz-border-radius: 1em;
+ -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
+ -moz-box-shadow: rgba(0,0,0,0.25) 0.25em 0.25em 1em;
}
div#news {
Modified: servicemix/sandbox/website20/src/main/webapp/css/master.css
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/css/master.css?rev=1030084&r1=1030083&r2=1030084&view=diff
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/css/master.css (original)
+++ servicemix/sandbox/website20/src/main/webapp/css/master.css Tue Nov 2 15:18:14 2010
@@ -52,8 +52,16 @@ ul.siteNav li {
ul.siteNav li ul {
position:absolute;
margin-top:-1em;
- margin-left:.5em;
- display: none;
+ margin-left:.5em;
+ display: none;
+ list-style-type: none;
+ padding:0;
+ margin:0;
+ margin-top:5px;
+ margin-bottom:5px;
+ background-color: #537290;
+ -webkit-box-shadow: 0.25em 0.25em 1em rgba(0,0,0,0.25);
+ -moz-box-shadow: rgba(0,0,0,0.25) 0.25em 0.25em 1em;
}
ul.siteNav li a {
@@ -62,16 +70,7 @@ ul.siteNav li a {
}
ul.siteNav li:hover ul {
-display: block;
-}
-
-ul.siteNav li ul {
- list-style-type: none;
- padding:0;
- margin:0;
- margin-top:5px;
- margin-bottom:5px;
- background-color: #76a3cd;
+ display: block;
}
ul.siteNav li ul li {
Modified: servicemix/sandbox/website20/src/main/webapp/index.page
URL: http://svn.apache.org/viewvc/servicemix/sandbox/website20/src/main/webapp/index.page?rev=1030084&r1=1030083&r2=1030084&view=diff
==============================================================================
--- servicemix/sandbox/website20/src/main/webapp/index.page (original)
+++ servicemix/sandbox/website20/src/main/webapp/index.page Tue Nov 2 15:18:14 2010
@@ -46,16 +46,10 @@ title: Home
os.indexOf('x11')!=-1 ||
os.indexOf('linux')!=-1) {
$('#dl_win').hide();
- $('#dl_x_a').css('fontWeight', 'bold');
- $('#dl_x_a').css('fontSize', 'medium');
- $('#dl_x_a').css('color', 'blue');
- $('#dl_x_a').css('text-decoration', 'underline');
+ $('#dl_x_a').show();
} else {
$('#dl_x').hide();
- $('#dl_win_a').css('fontWeight', 'bold');
- $('#dl_win_a').css('fontSize', 'medium');
- $('#dl_win_a').css('color', 'blue');
- $('#dl_win_a').css('text-decoration', 'underline');
+ $('#dl_win_a').show();
}
</script>
#useit_box