Skip to content
Extraits de code Groupes Projets
Valider 6495845d rédigé par Jonne Haß's avatar Jonne Haß Validation de GitHub
Parcourir les fichiers

Merge pull request #6949 from svbergerem/refactor-photos-css

Refactor photo css
parents 380b1807 9cbc7b60
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
#main_stream .stream_element, #main_stream .stream_element,
#main_stream > div > .photo { .photo {
& > .media { & > .media {
margin: 0px; margin: 0px;
} }
...@@ -9,23 +9,22 @@ ...@@ -9,23 +9,22 @@
} }
} }
#main_stream > div > .photo { .photo {
& > .media { > .media {
overflow: visible; overflow: visible;
position: relative; position: relative;
> .bd {
position: relative; .control-icons {
overflow: inherit; background: $white;
> .control-icons { border-radius: 4px;
border-radius: 4px; padding-left: 4px;
position: absolute; position: absolute;
right: 6px; right: 4px;
text-align: center; text-align: center;
top: 1px; top: 1px;
}
} }
&:hover > .bd > .control-icons { background: $white; }
} }
.thumbnail { .thumbnail {
background: $white; background: $white;
border-radius: 0; border-radius: 0;
......
<div class="media"> <div class="media">
<div class="bd"> {{#if loggedIn}}
{{#if loggedIn}} <div class="control-icons">
<div class="control-icons"> {{#if authorIsCurrentUser}}
{{#if authorIsCurrentUser}} <a href="#" rel="nofollow" class="delete remove_post" title="{{t "delete"}}">
<a href="#" rel="nofollow" class="delete remove_post" title="{{t "delete"}}"> <i class="entypo-trash"></i>
<i class="entypo-trash"></i> </a>
</a> {{else}}
{{else}} <a href="#" rel="nofollow" data-type="Post" class="post_report" title="{{t "report.name"}}">
<a href="#" rel="nofollow" data-type="Post" class="post_report" title="{{t "report.name"}}"> <i class="entypo-warning"></i>
<i class="entypo-warning"></i> </a>
</a> <a href="#" rel="nofollow" class="block_user" title="{{t "ignore"}}">
<a href="#" rel="nofollow" class="block_user" title="{{t "ignore"}}"> <i class="entypo-block"></i>
<i class="entypo-block"></i> </a>
</a> <a href="#" rel="nofollow" class="delete hide_post" title="{{t "stream.hide"}}">
<a href="#" rel="nofollow" class="delete hide_post" title="{{t "stream.hide"}}"> <i class="entypo-cross"></i>
<i class="entypo-cross"></i> </a>
</a> {{/if}}
{{/if}} </div>
</div> {{/if}}
{{/if}}
<a href="{{sizes.large}}" class="thumbnail img-thumbnail photo-link gallery-picture">
<img src="{{sizes.large}}" class="photo big-photo">
</a>
<a href="{{sizes.large}}" class="thumbnail img-thumbnail photo-link gallery-picture">
<img src="{{sizes.large}}" class="photo big-photo">
</a>
</div>
<div class="card-footer"> <div class="card-footer">
<div class="footer-container"> <div class="footer-container">
{{#if status_message}} {{#if status_message}}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter