Skip to content
Browse files

implemented button

  • Loading branch information...
1 parent 853721e commit bfb332e635abd19bef1467de618425ef4aacf84e @hitode909 committed May 13, 2012
View
2 public/hanabi/hanabi.coffee
@@ -166,7 +166,7 @@ class Hanabi.Button
for i in [0...count]
@appendedCount++
- html += "<img src=\"/img/hanabi/stamp-#{ @appendedCount % 3 }.png\">"
+ html += "<img src=\"/hanabi/img/stamp-#{ @appendedCount % 3 }.png\">"
@container.append(html)
View
38 public/hanabi/hanabi.css
@@ -47,6 +47,7 @@ h1 {
padding: 10px;
}
#create-uchiage .submit {
+ cursor: pointer;
float: left;
display: inline-block;
vertical-align: middle;
@@ -92,7 +93,6 @@ h1 {
#uchiage-image .body {
font-weight: bold;
font-size: 80px;
- -webkit-box-shadow: 0px 0px 4px #000;
}
#footer-image {
margin-top: 20px;
@@ -117,3 +117,39 @@ h1 {
margin-top: 40px;
text-align: center;
}
+#service-footer a {
+ text-decoration: none;
+ color: #ffffff;
+}
+#service-footer a:hover {
+ text-decoration: underline;
+}
+#tamaya-container {
+ margin-top: 20px;
+}
+#button-container {
+ margin-top: 20px;
+ margin-bottom: 20px;
+}
+#button-container img {
+ margin-left: 15px;
+ margin-bottom: 15px;
+ float: left;
+ vertical-align: middle;
+}
+#button-container .button {
+ cursor: pointer;
+ float: left;
+ display: inline-block;
+ vertical-align: middle;
+ background-color: #000000;
+ background-image: url("/hanabi/img/stamp-add.png");
+ background-repeat: no-repeat;
+ width: 103px;
+ height: 65px;
+ border: 0px;
+ margin: 0px;
+ padding: 0px;
+ margin-top: 6px;
+ margin-bottom: 15px;
+}
View
2 public/hanabi/hanabi.js
@@ -199,7 +199,7 @@ Hanabi.Button = (function() {
html = '';
for (i = 0; 0 <= count ? i < count : i > count; 0 <= count ? i++ : i--) {
this.appendedCount++;
- html += "<img src=\"/img/hanabi/stamp-" + (this.appendedCount % 3) + ".png\">";
+ html += "<img src=\"/hanabi/img/stamp-" + (this.appendedCount % 3) + ".png\">";
}
return this.container.append(html);
};
View
42 public/hanabi/hanabi.less
@@ -54,6 +54,7 @@ h1 {
}
#create-uchiage .submit {
+ cursor: pointer;
float: left;
display: inline-block;
vertical-align: middle;
@@ -135,4 +136,45 @@ h1 {
margin-bottom: 30px;
margin-top: 40px;
text-align: center;
+
+ a {
+ text-decoration: none;
+ color: #ffffff;
+ }
+
+ a:hover {
+ text-decoration: underline;
+ }
+}
+
+#tamaya-container {
+ margin-top: 20px;
+}
+
+#button-container {
+ margin-top: 20px;
+ margin-bottom: 20px;
+ img {
+ margin-left: 15px;
+ margin-bottom: 15px;
+ float: left;
+ vertical-align: middle;
+ }
+
+ .button {
+ cursor: pointer;
+ float: left;
+ display: inline-block;
+ vertical-align: middle;
+ background-color: #000000;
+ background-image: url("/hanabi/img/stamp-add.png");
+ background-repeat: no-repeat;
+ width: 103px;
+ height: 65px;
+ border: 0px;
+ margin: 0px;
+ padding: 0px;
+ margin-top: 6px;
+ margin-bottom: 15px;
+ }
}
View
BIN public/hanabi/img/stamp-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN public/hanabi/img/stamp-2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN public/hanabi/img/stamp-3.png
Deleted file not rendered
View
15 public/hanabi/uchiage/index.html
@@ -31,19 +31,26 @@
</head>
<body id="uchiage-page">
<div id="container">
+ <div id="service-header">
+ <h1><a href="/hanabi/"><img src="/hanabi/img/logo.png" title="今夜も打ち上げナイト"></a></h1>
+ </div>
+
<div id="uchiage-container">
<div id="uchiage-flash">
</div>
<div id="uchiage-image">
<div class="body"></div>
</div>
</div>
+ <div id="tamaya-container">
+ <img src="/hanabi/img/add-description.png">
+ </div>
<div id="button-container">
- ボタン
- <button class="button">
- 追加
+ <button class="button" title="たまや〜">
</button>
</div>
+ <div class="clear">
+ </div>
<div id="footer">
<div id="footer-buttons">
<span class="share-this">
@@ -54,7 +61,7 @@
</span>
</div>
<div id="footer-catch">
- <a href="/hanabi/" ><img src="/hanabi/img/catch-hanabi.png"></a>
+ <a href="/hanabi/" ><img src="/hanabi/img/about.png"></a>
</div>
</div>
</div>

0 comments on commit bfb332e

Please sign in to comment.
Something went wrong with that request. Please try again.