]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Add video channel management
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index cbf9b566a337cf3334a9020885e3e510bd21d5b5..ffbedd3f58afb9b1d71b761f2ccc251badff6856 100644 (file)
   color: $orange-color;
   font-weight: $font-bold;
   font-size: 13px;
+}
+
+@mixin sub-menu-with-actor {
+  height: 160px;
+  display: flex;
+  flex-direction: column;
+  align-items: start;
+
+  .actor {
+    display: flex;
+    margin-top: 20px;
+    margin-bottom: 20px;
+
+    img {
+      @include avatar(80px);
+
+      margin-right: 20px;
+    }
+
+    .actor-info {
+      display: flex;
+      flex-direction: column;
+      justify-content: center;
+
+      .actor-names {
+        display: flex;
+        align-items: center;
+
+        .actor-display-name {
+          font-size: 23px;
+          font-weight: $font-bold;
+        }
+
+        .actor-name {
+          margin-left: 7px;
+          position: relative;
+          top: 3px;
+          font-size: 14px;
+          color: #777272;
+        }
+      }
+
+      .actor-followers {
+        font-size: 15px;
+      }
+    }
+  }
+
+  .links {
+    margin-top: 0;
+    margin-bottom: 10px;
+
+    a {
+      margin-top: 0;
+      margin-bottom: 0;
+    }
+  }
+}
+
+@mixin create-button {
+  @include peertube-button-link;
+  @include orange-button;
+
+  .icon.icon-add {
+    @include icon(22px);
+
+    margin-right: 3px;
+    background-image: url('/assets/images/admin/add.svg');
+  }
 }
\ No newline at end of file