]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-watch/comment/video-comment-add.component.scss
fix deleted comment layout and its notification display
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-watch / comment / video-comment-add.component.scss
index 9661062e8f3e3cb1007efff70e60b507835f1587..c04727ba04ab70f3227a7deacf42d43371e5042a 100644 (file)
@@ -1,20 +1,74 @@
 @import '_variables';
 @import '_mixins';
 
-.form-group {
+form {
+  margin-bottom: 30px;
+}
+
+.avatar-and-textarea {
+  display: flex;
   margin-bottom: 10px;
+
+  img {
+    @include avatar(25px);
+
+    vertical-align: top;
+    margin-right: 10px;
+  }
+
+  .form-group {
+    flex-grow: 1;
+    margin: 0;
+
+    textarea {
+      @include peertube-textarea(100%, 60px);
+
+      &:focus::placeholder {
+        opacity: 0;
+      }
+    }
+  }
 }
 
-textarea {
-  @include peertube-textarea(100%, 150px);
+.cancel-button {
+  font-weight: $font-semibold;
+  display: inline-block;
+  padding: 0 10px 0 10px;
+  white-space: nowrap;
+  background: transparent;
 }
 
-.submit-comment {
+.comment-buttons {
   display: flex;
-  justify-content: end;
+  justify-content: flex-end;
 
   button {
     @include peertube-button;
-    @include orange-button
+
+    &:last-child {
+      @include orange-button;
+    }
+  }
+}
+
+@media screen and (max-width: 600px) {
+  textarea, .comment-buttons button {
+    font-size: 14px !important;
+  }
+
+  textarea {
+    padding: 5px !important;
+  }
+}
+
+.modal-body {
+  .btn {
+    @include peertube-button;
+    @include orange-button;
+  }
+
+  span {
+    float: left;
+    margin-bottom: 20px;
   }
 }