OSDN Git Service

replace background image to gradient on whiteButtom class
authorISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Sat, 22 May 2010 04:46:53 +0000 (13:46 +0900)
committerISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
Sat, 22 May 2010 04:46:53 +0000 (13:46 +0900)
data/public/webkit.css

index 5591c9c..bc9e81c 100644 (file)
@@ -175,21 +175,36 @@ body > .current {
 
 .whiteButton {
     display: block;
-    border-width: 0 12px;
+    border: 1px solid #000;
+    background-color: #999;
     padding: 10px;
     text-align: center;
     font-size: 20px;
     font-weight: bold;
     text-decoration: inherit;
-    color: inherit;
-}
-
-.whiteButton {
-    -webkit-border-image: url(iui/whiteButton.png) 0 12 0 12;
-    -moz-border-image: url(iui/whiteButton.png) 0 12 0 12;
-    -o-border-image: url(iui/whiteButton.png) 0 12 0 12;
-    border-image: url(iui/whiteButton.png) 0 12 0 12;
-    text-shadow: rgba(255, 255, 255, 0.7) 0 1px 0;
+    text-shadow: rgba(0, 0, 0, 0.5) 0px -1px 0px;
+    color: #fff;
+    -webkit-border-radius: 10px;
+    -moz-border-radius: 10px;
+    -o-border-radius: 10px;
+    border-radius: 10px;
+    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
+    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
+    -o-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
+    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
+    background-image: -webkit-gradient(linear,
+                                      left top, left bottom,
+                                      color-stop(0.0, rgba(255, 255, 255, 0.8)),
+                                      color-stop(0.01, rgba(255, 255, 255, 0.6)),
+                                      color-stop(0.4, rgba(255, 255, 255, 0.3)),
+                                      color-stop(0.4, rgba(255, 255, 255, 0.2)),
+                                      color-stop(1.0, rgba(255, 255, 255, 0.0)));
+    background-image: -moz-linear-gradient(top,
+                                          rgba(255, 255, 255, 1.0) 0%,
+                                          rgba(255, 255, 255, 0.6) 1px,
+                                          rgba(255, 255, 255, 0.3) 40%,
+                                          rgba(255, 255, 255, 0.2) 40%,
+                                          rgba(255, 255, 255, 0.0) 100%);
 }
 
 ul {