]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-notifications/my-account-notifications.component.scss
Better display redundancy pies
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-notifications / my-account-notifications.component.scss
index 86ac094c5e07a470b7027c291a9a91f34d747c4e..b0ac45e300bc16d1ff5abeacb857bd074d9ae2f9 100644 (file)
@@ -1,23 +1,72 @@
-@import '_variables';
-@import '_mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 .header {
   display: flex;
-  justify-content: space-between;
   font-size: 15px;
-  margin-bottom: 10px;
+  margin-bottom: 20px;
 
   a {
     @include peertube-button-link;
     @include grey-button;
+    @include button-with-icon(18px, 3px, -1px);
   }
 
   button {
     @include peertube-button;
     @include grey-button;
+    @include button-with-icon(20px, 3px, -1px);
+  }
+
+  .peertube-select-container {
+    @include peertube-select-container(auto);
   }
 }
 
+
 my-user-notifications {
   font-size: 15px;
 }
+
+@media screen and (max-width: $mobile-view) {
+  .header {
+    flex-direction: column;
+
+    > :first-child,
+    .peertube-select-container {
+      margin-bottom: 15px;
+    }
+
+    .peertube-select-container {
+      @include margin-left(0 !important);
+    }
+  }
+}
+
+@media screen and (min-width: $mobile-view) and (max-width: $small-view) {
+  .header {
+    a {
+      font-size: 0;
+      padding: 0 13px;
+    }
+
+    .peertube-select-container {
+      width: auto !important;
+    }
+  }
+}
+
+@media screen and (min-width: $mobile-view) and (max-width: #{$small-view + $menu-width}) {
+  :host-context(.main-col:not(.expanded)) {
+    .header {
+      a {
+        font-size: 0;
+        padding: 0 13px;
+      }
+
+      .peertube-select-container {
+        width: auto !important;
+      }
+    }
+  }
+}