Browse files

more chill UI. Even if flickering happens it's less intense.

  • Loading branch information...
1 parent 31f22b9 commit 837419158462558ddb246a012d53715521be4396 @chriscoyier chriscoyier committed Jan 14, 2013
Showing with 6 additions and 15 deletions.
  1. +6 −15 style.css
View
21 style.css
@@ -7,20 +7,8 @@ html, body {
height: 100%;
}
-body.droppable:after {
- content: "Drop File Anywhere";
- text-align: center;
- color: white;
- font-weight: bold;
- padding-top: 150px;
- font-size: 60px;
- position: absolute;
- top: 20px;
- left: 20px;
- right: 20px;
- bottom: 20px;
- background: rgba(252, 135, 20, 0.9);
- border: 5px dashed orange;
+body.droppable .profile-avatar-wrap {
+ border: 5px dashed lightblue;
z-index: 9999;
}
@@ -46,6 +34,8 @@ h3 {
float: left;
margin: 0 20px 5px 0;
position: relative;
+ pointer-events: none;
+ border: 5px solid transparent;
}
.profile-avatar-wrap:after {
/* Drag Prevention */
@@ -57,7 +47,8 @@ h3 {
height: 100%;
}
.profile-avatar-wrap img {
- max-width: 100%;
+ width: 100%;
+ display: block;
}
.location {
text-transform: uppercase;

0 comments on commit 8374191

Please sign in to comment.