Skip to content

Commit

Permalink
scroll fix wiht a mask
Browse files Browse the repository at this point in the history
  • Loading branch information
kevzettler committed Apr 5, 2012
1 parent 241a1b0 commit b6c3098
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 7 deletions.
5 changes: 2 additions & 3 deletions app/assets/stylesheets/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ body
width: $main-area-width
float: left
border-right: 1px solid #CDD1D4
padding-bottom: 70px
padding-top: 22px


.main-area, .sidebar
padding-top: 15px
16 changes: 13 additions & 3 deletions app/assets/stylesheets/_chat_area.sass
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ html body .ui-tabs .ui-tabs-nav li
height: 88%
background: #FFF
padding: 10px
padding-bottom: 72px
.pagination
text-decoration: underline
cursor: pointer
Expand All @@ -95,13 +94,14 @@ html body .ui-tabs .ui-tabs-nav li
+border-bottom-radius(4px)
+box-shadow(5px 0px 5px -3px #cccccc, -5px 0px 5px -3px #cccccc, 0px 5px 5px 0px #cccccc)
float: left
border-top: 1px solid #EBEFF1
border-top: 1px solid #f5f8f9
padding: 10px 0px 10px 10px
width: 77%
width: 77.2%
position: fixed
bottom: 0px
margin-bottom: 20px
background: #e6edef
z-index: 600
textarea
+border-top-left-radius(4px)
+border-bottom-left-radius(4px)
Expand All @@ -124,3 +124,13 @@ html body .ui-tabs .ui-tabs-nav li
margin: 0px
height: 40px
font-size: 16px

#mask
position: fixed
z-index: 100
bottom: 0
display: block
height: 30px
margin-left: -16px
width: 81%
background: #E6EBEE url("/assets/page_bg.png") repeat
6 changes: 5 additions & 1 deletion app/views/main/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,15 @@
</div>

<div id="app_body">
<div class="main-area"></div>
<div class="main-area"> </div>

<div class="sidebar">
<div class="widgets"></div>
</div>
</div>

<div id="mask">&nbsp;</div>


</div>

0 comments on commit b6c3098

Please sign in to comment.