]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Blue links color in comments
authorChocobozzz <me@florianbigard.com>
Mon, 18 Jun 2018 08:46:47 +0000 (10:46 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 18 Jun 2018 08:46:47 +0000 (10:46 +0200)
.sass-lint.yml
client/src/app/videos/+video-watch/comment/video-comment.component.scss

index 50b9e4f93bfa264056dd918b10f9bfb3d9078933..4f184d34fb733cc61561781a24aeaed313552053 100644 (file)
@@ -13,6 +13,7 @@ rules:
   attribute-quotes: 0
   border-zero: 0
   no-color-keywords: 0
+  no-color-literals: 0
   no-css-comments: 0
   no-important: 0
   no-trailing-zero: 1
@@ -20,6 +21,10 @@ rules:
   space-before-bang: 1
   space-after-colon: 1
   space-before-colon: 1
+  clean-import-paths: 0
   hex-length: 1
   hex-notation: 0
+  nesting-depth:
+    - 1
+    - max-depth: 4
   indentation: 2
index c90f9849bdcc6ba28cf86d1bce0f0126f81615f1..78bcfe1212a432784f9023e961d33e02969691b4 100644 (file)
     .comment-html {
       @include peertube-word-wrap;
 
+      // Mentions
       /deep/ a {
-        @include disable-default-a-behaviour;
-
-        color: #000;
 
-        // Semi bold mentions
         &:not(.linkified-url) {
+          @include disable-default-a-behaviour;
+
+          color: #000;
+
           font-weight: $font-semibold;
         }
+
       }
     }
 
@@ -64,7 +66,8 @@
       margin: 10px 0;
       display: flex;
 
-      .comment-action-reply, .comment-action-delete {
+      .comment-action-reply,
+      .comment-action-delete {
         color: #585858;
         cursor: pointer;
         margin-right: 10px;
@@ -92,7 +95,7 @@
 
 @media screen and (max-width: 600px) {
   .children {
-    margin-left: -40px;
+    margin-left: -35px;
   }
 
   .root-comment {