Skip to content
Browse files

css: notifications overflow and x button fixes

  • Loading branch information...
1 parent 646a28e commit 47883cdb27b473238ad618e82909f6c06a2a9353 @Martikos Martikos committed Apr 27, 2013
Showing with 15 additions and 3 deletions.
  1. +1 −1 Views/Private/Notifications.aspx.cs
  2. +14 −2 public/css/style.css
View
2 Views/Private/Notifications.aspx.cs
@@ -163,7 +163,7 @@ private string createSenderDiv(Notification n)
objectHTML += "<img width=\"40px\" height=\"40px\" src=\"../../Helpers/GetThumbnail.ashx?ID=" + UserDataService.getUser(n.senderId).imageId + "\"></img>";
/* add person name */
- objectHTML += "<div class=\"notification_div\" onclick=\"previewchat('delete=" + n.id + "')\" runat=\"server\">remove</div>";
+ objectHTML += "<div class=\"message_sender_remove\" onclick=\"previewchat('delete=" + n.id + "')\" runat=\"server\">~</div>";
objectHTML += "<div class=\"message_sender_user\">" + UserDataService.getUser(n.senderId).name + "</div>";
objectHTML += "<div class=\"message_sender_message\">" + n.message + "</div>";
View
16 public/css/style.css
@@ -91,7 +91,7 @@ hr {
//border-radius: 5px;
//border: 1px #999 solid;
// border: 1px rgba(255, 200, 3,0.5) solid;
- box-shadow: 0px 0px 3px #ffd303;
+ box-shadow: 0px 0px 5px #ffd303;
height: 40px;
}
@@ -168,7 +168,9 @@ h2 {
padding: 30px;
margin: auto;
- min-height: 600px;
+ height: 600px;
+ overflow: visible;
+ overflow: scroll;
margin-top: -8px;
//background: url('../../public/img/bg-middle-bottom.gif');
background: url('../../public/img/cream_dust.png');
@@ -634,15 +636,25 @@ fieldset {
.message_sender_div {
padding: 5px;
//box-shadow: 0px 0px 3px #08f inset;
+ border: 1px #333 solid;
border-radius: 3px;
width: 250px;
text-align: left;
background-color: #eee;
clear: both;
}
+.message_sender_remove {
+ display: inline;
+ float: right;
+ cursor: pointer;
+ color: red;
+ //background-color: red;
+ font-family: 'sosa';
+}
.message_sender_user {
}
.message_sender_message {
+ color: #999;
}
.message_sender_date {
font-size: smaller;

0 comments on commit 47883cd

Please sign in to comment.
Something went wrong with that request. Please try again.