Browse Source

update

fixes
master
Hedgehog 10 years ago
parent
commit
e1e39fd69f
  1. 24
      css/profile.css
  2. 11
      home.html
  3. 2
      js/twister_actions.js
  4. 2
      js/twister_io.js

24
css/profile.css

@ -242,6 +242,13 @@ @@ -242,6 +242,13 @@
.profile-modal .profile-location {
color: #48577d;
}
.profile-modal .profile-url {
font-size: 14px;
font-style: italic;
}
.profile-modal .profile-bio {
text-align: center;
}
#msngrswr {
position: absolute;
left: 10px;
@ -256,21 +263,22 @@ @@ -256,21 +263,22 @@
width: 30px;
display: inline-block;
margin-right: 10px;
border: 1px solid #c0c2c6;
border: 1px solid #d6d8dc;
background: #e3e5ea url(img/clipboard.png) center no-repeat;
opacity: .8;
-webkit-border-radius: 0 5px 5px 0;
-moz-border-radius: 0 5px 5px 0;
border-radius: 0 5px 5px 0;
-webkit-transition: all 200ms;
-moz-transition: all 200ms;
-ms-transition: all 200ms;
-o-transition: all 200ms;
transition: all 200ms;
-webkit-transition: all 20ms;
-moz-transition: all 20ms;
-ms-transition: all 20ms;
-o-transition: all 20ms;
transition: all 20ms;
}
.bitmessage-ctc:hover, .tox-ctc:hover {
background-color: #f0f2f8;
opacity: 1;
cursor: pointer;
}
.bitmessage-ctc:active, .tox-ctc:active {
background-color: #edfced;
@ -279,7 +287,6 @@ @@ -279,7 +287,6 @@
display: inline-block;
width: 80px;
height: 35px;
margin-right: 2px;
border: 1px solid #c0c2c6;
opacity: .8;
-webkit-border-radius: 5px 0 0 5px;
@ -296,7 +303,7 @@ @@ -296,7 +303,7 @@
background-color: #f0f2f8;
}
.profile-modal .profile-tox:active, .profile-modal .profile-bitmessage:active {
background-color: #fff0f0;
background-color: #edfced;
}
.profile-modal .profile-tox {
background: #e3e5ea url(../img/tox.png) center no-repeat;
@ -389,6 +396,7 @@ h1.profile-name { @@ -389,6 +396,7 @@ h1.profile-name {
h2.profile-screen-name {
display: inline;
bottom: 0;
color: #8f95a4;
}
.profile-modal .modal-buttons {

11
home.html

@ -434,13 +434,10 @@ @@ -434,13 +434,10 @@
<div class="profile-card-main">
<img class="profile-card-photo" src="img/grayed_avatar_placeholder_24.png"/>
<h1 class="profile-name"></h1><br>
<h2 class="profile-screen-name">@<b></b></h2>
<div>
<span class="profile-location"></span>
<a class="profile-url" rel="nofollow" target="_blank"></a>
</div>
<div class="profile-bio">
</div>
<h2 class="profile-screen-name">@<b></b></h2><br>
<span class="profile-location"></span><br>
<a class="profile-url" rel="nofollow" target="_blank"></a>
<div class="profile-bio"></div>
<div id="msngrswr">
<div id="toxbtnwr">
<a class="profile-tox"></a><a class="tox-ctc"></a>

2
js/twister_actions.js

@ -179,7 +179,7 @@ function updateProfileData(profileModalContent, username) { @@ -179,7 +179,7 @@ function updateProfileData(profileModalContent, username) {
profileModalContent.find(".following-count").parent().attr("href", $.MAL.followingUrl(username));
requestPostRecursively(profileModalContent.find(".postboard-posts"),username,"status",10);
requestPostRecursively(profileModalContent.find(".postboard-posts"),username,"status",20);
}
function updateFollowingData(followingModalContent, username) {

2
js/twister_io.js

@ -239,7 +239,7 @@ function getBitmessage( username, item ){ @@ -239,7 +239,7 @@ function getBitmessage( username, item ){
getProfileResource( username, "bitmessage", false, function(item, text){
item.empty();
if(text) {
item.attr('href', 'bitmsg:'+text);
item.attr('href', 'bitmsg:'+text+'?action=add&label='+username);
setTimeout(function(){
$('#bmbtnwr').show();
$('.bitmessage-ctc').attr('data', text);

Loading…
Cancel
Save