Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

quick update on css

  • Loading branch information...
commit 43a1d2a6cce618a39083451b1ed96a096bf86ee2 1 parent 9c3a8c3
Ashwin mirage88 authored
BIN  app/assets/images/interests/icon-17.png
View
Deleted file not rendered
BIN  app/assets/images/interests/icon-6.png
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2  app/assets/javascripts/application.js
View
@@ -53,7 +53,7 @@
});
$('#scroll_down').bind('click',function(){
$('html,body').animate({
- scrollTop: 50
+ scrollTop: $('.container').first().css("height")
},800);
});
}
12 app/assets/stylesheets/trips.css.scss
View
@@ -29,6 +29,8 @@
padding-top: 0.625em;
margin: 0.5em auto;
margin-top: 0px;
+ background: image_url("dtourio2.png");
+ background-size: cover;
}
}
.container{
@@ -80,7 +82,7 @@
-webkit-margin-after: 0em;
-webkit-padding-start: 0px;
li{
- width: 3.8em;
+ width: 4em;
height: inherit;
display: inline-block;
background: red;
@@ -91,6 +93,14 @@
-webkit-margin-after: 0em;
}
}
+#scroll_down{
+ position: absolute;
+ bottom: 0px;
+ left: 0px;
+ width: 100%;
+ height: 5em;
+ background: rgba(153,202,58,1);
+}
@media only screen and (device-width: 320px) and (orientation: portrait){
}
4 app/views/trips/new.html.erb
View
@@ -1,7 +1,7 @@
<%= form_for @trip do |t| %>
<div id="header-wrap">
<div id="header">
- Dtourio
+
<!-- <a href="#popupBasic" data-rel="popup">Open Popup</a> -->
</div>
</div>
@@ -36,7 +36,7 @@
</ul>
</div>
</div>
-<input type="button" id="scroll_down">Down</input>
+<input type="button" id="scroll_down">NEXT</input>
<div class="container">
<div class="time-data">
<select id="hours"></select>
Please sign in to comment.
Something went wrong with that request. Please try again.