Skip to content

Commit

Permalink
changed design
Browse files Browse the repository at this point in the history
  • Loading branch information
machida committed Dec 24, 2011
1 parent 98d98ee commit 534ab88
Show file tree
Hide file tree
Showing 19 changed files with 637 additions and 423 deletions.
Binary file added app/assets/images/body.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/event.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/form_li_groups.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/form_li_url.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/h1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/assets/images/owner.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions app/assets/javascripts/facebox.js
Expand Up @@ -84,8 +84,8 @@
settings: {
opacity : 0.2,
overlay : true,
loadingImage : '/images/loading.gif',
closeImage : '/images/closelabel.png',
loadingImage : '/assets/loading.gif',
closeImage : '/assets/closelabel.png',
imageTypes : [ 'png', 'jpg', 'jpeg', 'gif' ],
faceboxHtml : '\
<div id="facebox" style="display:none;"> \
Expand Down
8 changes: 3 additions & 5 deletions app/assets/stylesheets/application.css
@@ -1,7 +1,5 @@
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require_tree .
*= require reset
*= require layout
*= require facebox
*/
80 changes: 0 additions & 80 deletions app/assets/stylesheets/facebox.css

This file was deleted.

82 changes: 82 additions & 0 deletions app/assets/stylesheets/facebox.css.sass
@@ -0,0 +1,82 @@
@import mixins.css.sass

#facebox
position: absolute
top: 0
left: 0
z-index: 100
text-align: left
.popup
position: relative
border: 3px solid rgba(0, 0, 0, 0)
+border_radius(5px)
-webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4)
-moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.4)
box-shadow: 0 0 18px rgba(0, 0, 0, 0.4)
width: 500px
.content
display: table
padding: 25px
background: #222
-webkit-border-radius: 4px
-moz-border-radius: 4px
border-radius: 4px
width: 450px
color: #d3d3c7
> p
font-size: 14px
margin: 26px 0
line-height: 1.7
&:first-child
margin-top: 0
&:last-child
margin-bottom: 0
h1
margin: 0 0 10px 0
font-size: 24px
h2
margin: 0 0 20px 0
font-size: 18px
ul,ol
list-style-position: outside
margin: 0 0 20px 20px
li
line-height: 1.6
margin: 0 0 8px 0
ul
list-style-type: disc
ol
list-style-type: decimal
.close
position: absolute
top: 5px
right: 5px
padding: 8px
+border_radius(8px)
background: #999
width: 8px
height: 8px
img
opacity: 0.3
float: left
&:hover img
opacity: 1.0
.loading, .image
text-align: center
img
border: 0
margin: 0

#facebox_overlay
position: fixed
top: 0px
left: 0px
height: 100%
width: 100%

.facebox_hide
z-index: -100

.facebox_overlayBG
background-color: #000
z-index: 99

0 comments on commit 534ab88

Please sign in to comment.