Changeset 114880 in spip-zone


Ignore:
Timestamp:
Apr 9, 2019, 2:56:44 PM (8 months ago)
Author:
cedric@…
Message:

comments

File:
1 moved

Legend:

Unmodified
Added
Removed
  • _plugins_/bootstrap/trunk/bootstrap2spip/css/spip.comment.scss

    r114879 r114880  
    33---------------------------------------------- */
    44
    5 @import "css/variables.less";
    6 @import "css/spip.variables.less";
    7 @import "css/mixins.less";
     5@import "css/bootstrap-start";
    86
    97/* * Habillage des forums */
     
    1311.comments-items {list-style: none;margin-left: 0;}
    1412//.comments-items {border-bottom: 1px solid #eee;}
    15 .comments-items .comments-items {margin-left: @gridColumnWidth+@grid-gutter-width;}
    16 .comments-items .comments-items .comments-items .comments-items .comments-items {margin-left: @grid-gutter-width;}
     13.comments-items .comments-items {
     14  margin-left: 3 * $grid-gutter-width;
     15}
     16.comments-items .comments-items .comments-items .comments-items .comments-items {margin-left: $grid-gutter-width;}
    1717
    1818//.comments-items .comment-item {border-top: 1px solid #eee;}
    1919//.comments-items .comment-item .comment-item {border-top: 0;}
    2020
    21 .comment {overflow:hidden;position: relative;padding-bottom: @line-height-computed;}
     21.comment {overflow:hidden;position: relative;padding-bottom: $rem-vert-margin;}
    2222.comment-meta {
    2323  min-height: 20px;
    2424  padding: 19px;
    25   background-color: @well-bg;
    26   border: 1px solid @well-border;
    27         border-radius: @border-radius-base;
    28   .box-shadow(inset 0 1px 1px rgba(0,0,0,.05));
     25  background-color: $well-bg;
     26  border: $card-border-width solid $card-border-color;
     27  border-radius: $card-border-radius;
     28  box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    2929  border:0;
    30   margin-bottom: @line-height-computed / 2;
     30  margin-bottom: $rem-vert-margin / 2;
    3131}
    32 .comment-meta {padding-left: @gridColumnWidth+2*@grid-gutter-width;position: relative;}
    33 .comment-meta .spip_logos {position:absolute;left: @grid-gutter-width;}
    34 .comment-meta .permalink { position: absolute;right: 0;font-size: 2em;color:@gray-light;}
     32
     33.comment-meta {padding-left: 3 * $grid-gutter-width;position: relative;}
     34.comment-meta .spip_logos {position:absolute;left: $grid-gutter-width / 2;}
     35.comment-meta .permalink { position: absolute;right: 0;font-size: 2rem;color:$gray-100;}
    3536
    3637//.comment-item .comment-item .comment-meta {background : #f4f4f4;}
    3738.comment-meta .forum-titre {display: block;}
    38 .comment-content {background: transparent;padding-left: @gridColumnWidth+2*@grid-gutter-width;max-height:60em;overflow:auto;overflow-x:none;}
    39 .comment-reply { clear: both; text-align: right; margin-bottom:0;margin-top: -@line-height-computed/2;visibility: hidden;}
     39.comment-content {background: transparent;padding-left: 3 * $grid-gutter-width;max-height:60em;overflow:auto;overflow-x:none;}
     40.comment-reply { clear: both; text-align: right; margin-bottom:0;margin-top: -$rem-vert-margin / 2;visibility: hidden;}
    4041.comment:hover .comment-reply {visibility: visible;position: relative;}
    4142/* avec plugin comments */
     
    4344
    4445/* en thread */
    45 .comments-thread .comment-item {margin-bottom:@line-height-computed;}
     46.comments-thread .comment-item {margin-bottom:$rem-vert-margin;}
    4647.comments-thread .comment-item .comment-item {margin-bottom:0;}
    4748.comments-thread .permalink.in-reply-to {bottom:0;}
Note: See TracChangeset for help on using the changeset viewer.