Skip to content
Extraits de code Groupes Projets
Valider a11322fd rédigé par Lisa Passing's avatar Lisa Passing
Parcourir les fichiers

make css nicer

update Changelog

remove weird merge thing

think of the padding and margin
parent e2a59124
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -101,6 +101,7 @@ diaspora.yml file**. The existing settings from 0.4.x and before will not work a ...@@ -101,6 +101,7 @@ diaspora.yml file**. The existing settings from 0.4.x and before will not work a
* Partial Backbone port of the notification dropdown [#5707](https://github.com/diaspora/diaspora/pull/5707) * Partial Backbone port of the notification dropdown [#5707](https://github.com/diaspora/diaspora/pull/5707)
* Add rounded corners for avatars [#5733](https://github.com/diaspora/diaspora/pull/5733) * Add rounded corners for avatars [#5733](https://github.com/diaspora/diaspora/pull/5733)
* Move registration form to a partial [#5764](https://github.com/diaspora/diaspora/pull/5764) * Move registration form to a partial [#5764](https://github.com/diaspora/diaspora/pull/5764)
* Rewrite slide effect in conversations as css transition for better performance
## Bug fixes ## Bug fixes
* orca cannot see 'Add Contact' button [#5158](https://github.com/diaspora/diaspora/pull/5158) * orca cannot see 'Add Contact' button [#5158](https://github.com/diaspora/diaspora/pull/5158)
......
// @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later // @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL-v3-or-Later
$(document).ready(function(){ $(document).ready(function(){
if ($('#first_unread').length > 0) {
$("html").scrollTop($('#first_unread').offset().top-45);
}
$('time.timeago').each(function(i,e) {
var jqe = $(e);
jqe.attr('data-original-title', new Date(jqe.attr('datetime')).toLocaleString());
jqe.attr('title', '');
});
$('.timeago').tooltip();
$('.timeago').timeago();
$('time.timeago').each(function(i,e) {
var jqe = $(e);
jqe.attr('title', '');
});
$(document).on('click', '.conversation-wrapper', function(){ $(document).on('click', '.conversation-wrapper', function(){
var conversation_path = $(this).data('conversation-path'); var conversation_path = $(this).data('conversation-path');
$.getScript(conversation_path, function() { $.getScript(conversation_path, function() {
......
...@@ -39,6 +39,12 @@ ...@@ -39,6 +39,12 @@
&:hover, &.unread:hover, &.selected:hover { &:hover, &.unread:hover, &.selected:hover {
background-color: lighten($blue,5%); background-color: lighten($blue,5%);
cursor: pointer; cursor: pointer;
.participants {
height: 25px;
margin-top: 5px;
padding-top: 5px;
border-color: rgba($border-grey, 1)
}
} }
&.unread { background-color: darken($background-white, 5%); } &.unread { background-color: darken($background-white, 5%); }
&.selected { background-color: $blue; } &.selected { background-color: $blue; }
...@@ -83,22 +89,16 @@ ...@@ -83,22 +89,16 @@
.participants { .participants {
float: left; float: left;
clear: both; clear: both;
margin-top: 5px;
padding-top: 5px;
height: 0; height: 0;
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
border-top: 1px dotted $border-grey; border-top: 1px dotted rgba($border-grey, 0);
transition: height ease 300ms; transition: height ease 300ms;
.avatar { .avatar {
margin: 0 5px 0 0; margin: 0 5px 0 0;
height: 25px; height: 25px;
width: 25px; width: 25px;
} }
.conversation & {
height: 25px;
}
} }
.img { line-height: 15px; } .img { line-height: 15px; }
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter