Skip to content

Commit 43ce056

Browse files
committed
added favicon, fixed converter buttons
1 parent f89d07e commit 43ce056

File tree

4 files changed

+11
-9
lines changed

4 files changed

+11
-9
lines changed

public/images/favicon.ico

14.7 KB
Binary file not shown.

public/stylesheets/app.css

+10-7
Original file line numberDiff line numberDiff line change
@@ -193,26 +193,26 @@ h1 span{
193193
-moz-transition: all 0.3s ease;
194194
transition: all 0.3s ease;
195195
}
196-
.button.sass{
196+
.button.scss{
197197
border-bottom-right-radius: 55px;
198198
border-bottom-left-radius: 55px;
199-
background-image: url("/images/sass-icon.svg");
199+
background-image: url("/images/scss-icon.svg");
200200
background-position: center 20px;
201201
}
202-
.button.scss{
202+
.button.sass{
203203
border-top-right-radius: 55px;
204204
border-top-left-radius: 55px;
205-
background-image: url("/images/scss-icon.svg");
205+
background-image: url("/images/sass-icon.svg");
206206
background-position: center bottom 20px;
207207
}
208208
.code-actions .button:hover{
209209
background-color: #1782cf;
210210
}
211211
.code-actions .button.scss{
212-
top: 0;
212+
bottom: 0;
213213
}
214214
.code-actions .button.sass{
215-
bottom: 0;
215+
top: 0;
216216
}
217217
.code-actions:hover .button{
218218
opacity: 1;
@@ -226,7 +226,6 @@ h1 span{
226226
}
227227
.notifications{
228228
position: absolute;
229-
background-color: #333;
230229
top: 20px;
231230
left: 0;
232231
width: 99%;
@@ -238,6 +237,10 @@ h1 span{
238237
}
239238
.notifications span{
240239
padding: 0 10px;
240+
background-color: #333;
241+
width: 99%;
242+
float: left;
243+
padding-left: 30px;
241244
}
242245
.notice{
243246
color: orange;

views/index.haml

-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
%span.notice= flash[:notice]
1515
- if flash[:error]
1616
%span.error= flash[:error]
17-
- if flash[:success]
18-
%span.success= flash[:success]
1917
%textarea{:id => "page_css", :name => "page[css]"}=h @css || ""
2018
.code-container.right
2119
%label{:for => "page_sass"}

views/layout.haml

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
%link{ :href => "/stylesheets/#{css}.css", :rel => "stylesheet", :type => "text/css", :media => "screen", :charset => "utf-8" }
66
%meta{ :name => 'description', :content => 'CSS2Sass | Convert CSS Snippets to Syntactically Awesome StyleSheets code' }
77
%meta{ :name => 'keywords', :content => 'haml, ruby, html, rails, ruby on rails, Sass, SCSS' }
8+
%link{:href => "/images/favicon.ico", :rel => "shortcut icon", :type => "image/x-icon"}/
89
:javascript
910
var _gaq = _gaq || [];
1011
_gaq.push(['_setAccount', 'UA-5087606-8']);

0 commit comments

Comments
 (0)