Browse Source

Merge pull request #24 from dionyziz/visual_fixes

Visual fixes
master
miguelfreitas 11 years ago
parent
commit
c9bfac7e67
  1. 7
      css/profile.css
  2. 23
      css/style.css
  3. 7
      interface_common.js

7
css/profile.css

@ -153,8 +153,9 @@ @@ -153,8 +153,9 @@
.profile-modal .modal-wrapper
{
width: 528px;
height: 590px;
margin: -300px 0 0 -264px;
height: 680px;
margin: -340px 0 0 -264px;
border-radius: 5px;
overflow: hidden;
}
.profile-modal .modal-content
@ -189,7 +190,7 @@ @@ -189,7 +190,7 @@
}
.profile-modal .postboard-posts .post
{
padding: 5px;
padding: 0;
}
.profile-modal .post-interactions
{

23
css/style.css

@ -509,22 +509,32 @@ button.disabled:hover @@ -509,22 +509,32 @@ button.disabled:hover
/***********************************
********************* POST AREA ****
***********************************/
.post-area-new
{
padding: 10px;
.post-area-new {
padding-bottom: 4px;
}
.post-area-new textarea
{
resize: none;
width: 100%;
width: 445px;
display: block;
transition: all .3s linear;
height: 28px;
border-radius: 3px;
border: solid 1px rgba(0, 0, 0, .3 );
margin-left: 55px;
margin-bottom: 10px;
padding: 4px;
font-size: 13px;
}
.mini-profile .post-area-new
{
padding: 9px;
}
.mini-profile .post-area-new textarea
{
margin-left: 0;
width: 100%;
}
.post-area-new.open textarea
{
height: 80px;
@ -551,7 +561,6 @@ button.disabled:hover @@ -551,7 +561,6 @@ button.disabled:hover
{
height: 35px;
transition: all .6s linear;
padding-top: 4px;
}
.post-area-remaining
{
@ -806,6 +815,7 @@ button.disabled:hover @@ -806,6 +815,7 @@ button.disabled:hover
font-size: 14px;
color: #e34f42;
text-decoration: none;
padding-left: 2px;
}
.post-info-tag
{
@ -1317,11 +1327,12 @@ button.disabled:hover @@ -1317,11 +1327,12 @@ button.disabled:hover
width: 560px;
height: 470px;
margin: -200px 0 0 -280px;
overflow-x: hidden;
overflow: hidden;
}
.hashtag-modal .modal-content
{
overflow-y: auto;
height: 440px;
}
.hashtag-modal .modal-buttons
{

7
interface_common.js

@ -420,12 +420,17 @@ var postSubmit = function(e) @@ -420,12 +420,17 @@ var postSubmit = function(e)
var $replyText = $this.closest(".post-area-new").find("textarea");
var $postOrig = $this.closest(".post-data");
if( !$postOrig.length )
if (!$postOrig.length) {
$postOrig = $this.closest(".modal-content").find(".post-data");
}
newPostMsg($replyText.val(), $postOrig);
$replyText.val("");
var tweetForm = $this.parents("form");
var remainingCount = tweetForm.find(".post-area-remaining");
remainingCount.text(140);
$replyText.attr("placeholder", "Your message was sent!");
closeModal($this);
}

Loading…
Cancel
Save