Skip to content

Commit

Permalink
jvortmann: adding a shadow effect.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvortmann committed Apr 22, 2012
1 parent c1375cf commit d652df6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions public/stylesheets/sass/easy_retro.scss
Expand Up @@ -31,6 +31,13 @@ $post_it_font_size: 12px;
box-shadow: 0 1px 2px rgba(29, 41, 41, 0.5);
}

@mixin create-big-box-shadow {
-webkit-box-shadow: 0 4px 8px rgba(29, 41, 41, 0.5);
-mox-box-shadow: 0 4px 8px rgba(29, 41, 41, 0.5);
-o-box-shadow: 0 4px 8px rgba(29, 41, 41, 0.5);
box-shadow: 0 4px 8px rgba(29, 41, 41, 0.5);
}

@mixin post-it-color($color) {
background-color: rgba($color, 0.95);
color: $pen_color;
Expand All @@ -54,13 +61,6 @@ $post_it_font_size: 12px;
color: $color;
}

@mixin flip-horizontally {
-webkit-transform: rotateY(180deg);
-mox-transform: rotateY(180deg);
-o-transform: rotateY(180deg);
transform: rotateY(180deg);
}

body {
font: 12px "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
background: #F2F2F2 url("../images/whiteboard.png") top center;
Expand All @@ -81,7 +81,6 @@ body {
cursor: pointer;
@include create-box-shadow;
}

.post_it {
width : $post_it_side;
height : $post_it_side;
Expand Down Expand Up @@ -118,6 +117,7 @@ body {
}

&:hover {
@include create-big-box-shadow;
.header {
.icon {
opacity: 0.3;
Expand Down

0 comments on commit d652df6

Please sign in to comment.