aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--website/download.html7
-rw-r--r--website/index.css15
-rw-r--r--website/index.html2
-rw-r--r--website/index.js11
-rw-r--r--website/logi/jQuery-all.js75
5 files changed, 14 insertions, 96 deletions
diff --git a/website/download.html b/website/download.html
index 3bd36387..6ca67437 100644
--- a/website/download.html
+++ b/website/download.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html><head>
- <meta http-equiv="Content-Type" content="application/html; charset=utf-8" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="logi/jQuery-all.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="logi/reset.css" />
@@ -30,9 +30,8 @@
Just double-click the <code>lombok.jar</code> file you've downloaded to install lombok into
your IDE. <code>lombok.jar</code> is also the jar you use as a project dependency
(include it in your classpath when compiling with <code>javac</code> or add it to your project
- library list in your java IDE). It's the only jar you need!<br />
- <br />
- If double-clicking opens winrar or some other archiver, go to the command line and run:<br />
+ library list in your java IDE). It's the only jar you need!<br /><br />
+ If double-clicking opens winrar or some other archiver, go to the command line and run<br />
<code>java -jar lombok.jar</code> to start the installer.
</p>
<a href="http://projectlombok.googlecode.com/files/lombok.jar" id="downloadLink">
diff --git a/website/index.css b/website/index.css
index ffe1c9a3..aa9a9e51 100644
--- a/website/index.css
+++ b/website/index.css
@@ -13,9 +13,14 @@ h1 {
text-align: center;
}
-#buttonBar a.js {
- color: black;
+#buttonBar a {
text-decoration: none;
+ color: black;
+}
+
+#buttonBar a:hover {
+ text-decoration: underline;
+ color: blue;
}
.buttonBar {
@@ -94,15 +99,15 @@ code {
}
#downloadInfo {
- font-size: 16px;
+ font-size: 14px;
}
#downloadInfo p {
- padding: 12px;
+ padding: 8px;
}
.downloadActions {
- margin-top: 16px;
+ margin-top: 8px;
margin-left: 32px;
}
.downloadActions a {
diff --git a/website/index.html b/website/index.html
index 14bfaee2..0f85d236 100644
--- a/website/index.html
+++ b/website/index.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
<html><head>
- <meta http-equiv="Content-Type" content="application/html; charset=utf-8" />
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="logi/jQuery-all.js" type="text/javascript"></script>
<script src="index.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="logi/reset.css" />
diff --git a/website/index.js b/website/index.js
index 8bff4155..d67ca409 100644
--- a/website/index.js
+++ b/website/index.js
@@ -1,5 +1,4 @@
$(function() {
- addGlow();
fixDownloadLink();
});
@@ -48,13 +47,3 @@ function toggleButtonBar(showOriginal) {
$("#buttonBar").hide();
}
}
-
-function addGlow() {
- $("a").addClass("js");
- $(".button,.download").addGlow({
- radius: 20,
- textColor: '#00f',
- haloColor: '#00f',
- duration: 500
- });
-} \ No newline at end of file
diff --git a/website/logi/jQuery-all.js b/website/logi/jQuery-all.js
index 44c9712a..9f8ffce7 100644
--- a/website/logi/jQuery-all.js
+++ b/website/logi/jQuery-all.js
@@ -141,78 +141,3 @@
};
})(jQuery);
-
-(function($) {
- var currentRadius, multiplier;
-
- function parseOptions(options) {
- return {
- RADIUS: (options.radius || 20),
- DURATION: (options.duration || 500),
- TEXT_COLOR: (options.textColor || '#fff'),
- HALO_COLOR: (options.haloColor || '#777')
- }
- }
-
- function currentRadius(elem) {
- if (prop = elem.style['text-shadow']) {
- return parseInt(prop.match(/0 0 (\d+)px/));
- } else {
- return 0;
- }
- }
-
- function stepTextShadow(fx) {
- if (fx.state == 0) {
- fx.start = currentRadius(fx.elem);
- }
-
- updatedRadius = fx.end.begin ?
- parseInt(fx.end.radius * fx.pos) :
- parseInt(fx.end.radius - (fx.end.radius * fx.pos))
-
- if (fx.end.begin || (fx.state < 1)) {
- $(fx.elem).css('text-shadow', fx.end.color + ' 0 0 ' + updatedRadius + 'px');
- } else {
- $(fx.elem).css('text-shadow', $(fx.elem).data('glow.originalGlow'));
- }
- }
-
- function addGlow(opts) {
- var opts = parseOptions(opts || { });
-
- function startGlow() {
- $(this).stop().animate({
- color: opts.TEXT_COLOR,
- textShadow: {
- begin: true,
- color: opts.HALO_COLOR,
- radius: opts.RADIUS
- }
- }, opts.DURATION);
- }
-
- function startFade() {
- $(this).stop().animate({
- color: $(this).data('glow.originColor'),
- textShadow: {
- begin: false,
- color: opts.HALO_COLOR,
- radius: opts.RADIUS
- }
- }, opts.DURATION);
- }
-
- with($(this)) {
- bind('mouseenter', startGlow);
- bind('mouseleave', startFade);
- data('glow.originColor', css('color'));
- data('glow.originalGlow', (css('text-shadow') || 'none'));
- }
-
- return this;
- }
-
- $.fx.step['textShadow'] = stepTextShadow;
- $.fn.addGlow = addGlow;
-})(jQuery);