Permalink
Browse files

Updated to manifest v2. Refactored options.js (broke it up and now us…

…ing handlebars templates).
  • Loading branch information...
1 parent 15d497d commit 491cfbe9d0417bdb22753500dac85acc168804c8 @ankit committed Aug 21, 2012
View
@@ -8,4 +8,7 @@ Icon?
# Files that might appear on external disk
.Spotlight-V100
-.Trashes
+.Trashes
+
+# Patch files
+patch.diff
View
@@ -0,0 +1,2 @@
+# Compile the handlebars templates.
+handlebars stylebot/js/templates/*.handlebars -f stylebot/js/templates.js
@@ -1,9 +0,0 @@
-<html>
- <head>
- <script type="text/javascript" charset="utf-8" src="js/background.js"></script>
- <script type="text/javascript" charset="utf-8" src="js/bookmark.js"></script>
- <script type="text/javascript" charset="utf-8" src="js/sync.js"></script>
- </head>
- <body>
- </body>
-</html>
@@ -208,9 +208,11 @@ li.option:first-of-type {
float: right;
}
-.buttons a {
+.style div {
margin: 0 5px;
display: inline-block;
+ border: none;
+ padding: 0;
}
.style:hover .buttons,
@@ -500,33 +502,29 @@ input[name=shortcutKeyCharacter] {
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAgMAAABinRfyAAAADFBMVEUAAAD///8AAAAAAADI23cLAAAABHRSTlMAAD7MYITzfAAAADJJREFUCNdjCAUCBgQR9oB7KkP4D/2rDGH/9k9lCNn/T5QhRP8HjABxwRIQJSDFqAYAAIjXHQebFIiyAAAAAElFTkSuQmCC");
}
-.edit-button {
+.edit-style {
-webkit-transition: .15s opacity;
background: url('../images/edit-button.png') no-repeat;
height: 16px;
width: 16px;
}
-
-.edit-button:hover {
+.edit-style:hover {
background-image: url('../images/edit-button-hover.png');
}
-
-.edit-button:active {
+.edit-style:active {
background-image: url('../images/edit-button-active.png');
}
-.share-button {
+.share-style {
-webkit-transition: .15s opacity;
background: url('../images/share-button.png') no-repeat;
height: 16px;
width: 24px;
}
-
-.share-button:hover {
+.share-style:hover {
background-image: url('../images/share-button-hover.png');
}
-
-.share-button:active {
+.share-style:active {
background-image: url('../images/share-button-active.png');
}
/** Ace Editor **/
@@ -559,4 +557,4 @@ input[name=shortcutKeyCharacter] {
position: absolute;
z-index: 4;
background: hsla(17, 80%, 60%, 0.50);
-}
+}
@@ -1146,4 +1146,4 @@ function cloneObject(obj) {
newObj[i] = obj[i];
}
return newObj;
-}
+}
Oops, something went wrong.

0 comments on commit 491cfbe

Please sign in to comment.