Browse Source

Merge pull request #15 from dionyziz/visual_fixes

Visual fixes
master
miguelfreitas 11 years ago
parent
commit
3112c522b1
  1. 4
      css/profile.css
  2. 12
      css/style.css
  3. 4
      following.html
  4. 4
      home.html
  5. 9
      interface_common.js
  6. 2
      login.html

4
css/profile.css

@ -182,6 +182,10 @@
.profile-modal .profile-card-main .profile-modal .profile-card-main
{ {
background: #45474d; background: #45474d;
color: white;
}
.profile-modal .profile-card-main a {
color: #8bb9e0;
} }
.profile-modal .postboard-posts .post .profile-modal .postboard-posts .post
{ {

12
css/style.css

@ -255,7 +255,7 @@ button.disabled:hover
padding: 55px 15px 15px 15px; padding: 55px 15px 15px 15px;
position: relative; position: relative;
z-index: 1; z-index: 1;
height: 100%; min-height: 100%;
} }
.dashboard .dashboard
{ {
@ -596,6 +596,10 @@ button.disabled:hover
border-radius: 20%; border-radius: 20%;
/*transform: rotate( 45deg );*/ /*transform: rotate( 45deg );*/
} }
.twister-user-info
{
position: relative;
}
.twister-user-info span .twister-user-info span
{ {
vertical-align: top; vertical-align: top;
@ -636,6 +640,10 @@ button.disabled:hover
text-decoration: none; text-decoration: none;
font-weight: bold; font-weight: bold;
cursor: pointer; cursor: pointer;
position: absolute;
top: 0;
right: 0;
font-size: 120%;
} }
.twister-user-remove:hover .twister-user-remove:hover
{ {
@ -1124,7 +1132,7 @@ button.disabled:hover
position: absolute; position: absolute;
right: 0; right: 0;
top: 0; top: 0;
padding: 4px 10px; padding: 3px 10px;
cursor: pointer; cursor: pointer;
color: rgba( 255, 255, 255, .7 ); color: rgba( 255, 255, 255, .7 );
font-weight: bold; font-weight: bold;

4
following.html

@ -167,7 +167,7 @@
<div class="followers">Followed by <div class="followers">Followed by
<span class="followed-by"></span> <span class="followed-by"></span>
</div> </div>
<a class="twister-user-remove">X</a> <a class="twister-user-remove">&times;</a>
<button class="follow">Follow</button> <button class="follow">Follow</button>
</div> </div>
</li> </li>
@ -251,7 +251,7 @@
<div class="modal-wrapper"> <div class="modal-wrapper">
<div class="modal-header"> <div class="modal-header">
<h3></h3> <h3></h3>
<span id="closeModal" class="modal-close cancel">X</span> <span id="closeModal" class="modal-close cancel">&times;</span>
</div> </div>
<div class="modal-content"></div> <div class="modal-content"></div>
<div class="modal-buttons"> <div class="modal-buttons">

4
home.html

@ -174,7 +174,7 @@
<div class="followers">Followed by <div class="followers">Followed by
<span class="followed-by"></span> <span class="followed-by"></span>
</div> </div>
<a class="twister-user-remove">X</a> <a class="twister-user-remove">&times;</a>
<button class="follow">Follow</button> <button class="follow">Follow</button>
</div> </div>
</li> </li>
@ -258,7 +258,7 @@
<div class="modal-wrapper"> <div class="modal-wrapper">
<div class="modal-header"> <div class="modal-header">
<h3></h3> <h3></h3>
<span id="closeModal" class="modal-close cancel">X</span> <span id="closeModal" class="modal-close cancel">&times;</span>
</div> </div>
<div class="modal-content"></div> <div class="modal-content"></div>
<div class="modal-buttons"> <div class="modal-buttons">

9
interface_common.js

@ -32,10 +32,11 @@ function openModal( modalClass )
function closeModal($this) function closeModal($this)
{ {
var $body = $( "body" ); var $body = $( "body" );
var $modalWindow = $this.parents( ".modal-blackout" ); var $modalWindows = $( "body" ).children( ".modal-blackout" );
$modalWindow.fadeOut( "fast", function()
$modalWindows.fadeOut( "fast", function()
{ {
$modalWindow.detach(); $modalWindows.detach();
}); });
$body.css({ $body.css({
"overflow": "auto", "overflow": "auto",
@ -446,7 +447,7 @@ var retweetSubmit = function(e)
function initInterfaceCommon() { function initInterfaceCommon() {
$("body").on( "click", ".cancel" , function() { closeModal($(this)); } ); $( "body, .cancel, .modal-blackout" ).on( "click", function() { closeModal($(this)); } );
$( ".post-reply" ).bind( "click", postReplyClick ); $( ".post-reply" ).bind( "click", postReplyClick );
$( ".post-propagate" ).bind( "click", reTwistPopup ); $( ".post-propagate" ).bind( "click", reTwistPopup );
$( ".userMenu-config-dropdown" ).bind( "click", dropDownMenu ); $( ".userMenu-config-dropdown" ).bind( "click", dropDownMenu );

2
login.html

@ -101,7 +101,7 @@
<div class="modal-wrapper"> <div class="modal-wrapper">
<div class="modal-header"> <div class="modal-header">
<h3></h3> <h3></h3>
<span id="closeModal" class="modal-close cancel">X</span> <span id="closeModal" class="modal-close cancel">&times;</span>
</div> </div>
<div class="modal-content"></div> <div class="modal-content"></div>
<div class="modal-buttons"> <div class="modal-buttons">

Loading…
Cancel
Save