]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-video-miniature/video-download.component.scss
Move to sass module
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-video-miniature / video-download.component.scss
index 199c3dac8392cc53c888fb46e2540328e8c3fa43..c986228d95853f8a9e531142b942954dabf1aa59 100644 (file)
@@ -1,5 +1,5 @@
-@import 'variables';
-@import 'mixins';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 .nav-content {
   margin-top: 30px;
   .nav-tabs {
     margin-top: 10x;
   }
-  
-  .glyphicon {
-    margin-right: 5px;
-  }
-}
-
-.peertube-select-container {
-  @include peertube-select-container(85px);
-
-  border-top-right-radius: 0;
-  border-bottom-right-radius: 0;
-  border-right: none;
 
-  select {
-    height: inherit;
-    border-top-left-radius: .2rem;
-    border-bottom-left-radius: .2rem;
+  .glyphicon {
+    @include margin-right(5px);
   }
 }
 
-.action-button-cancel {
-  @include peertube-button-link;
-}
+.peertube-select-container.title-select {
+  @include peertube-select-container(auto);
 
-.action-button-submit {
-  @include peertube-button-link;
-  @include orange-button;
+  display: inline-block;
+  margin-left: 10px;
+  vertical-align: top;
 }
 
-#dropdownDownloadType {
+#dropdown-download-type {
   cursor: pointer;
 }
 
@@ -55,9 +40,9 @@
 
   .peertube-radio-container {
     @include peertube-radio-container;
+    @include margin-right(30px);
 
     display: inline-block;
-    margin-right: 30px;
   }
 }
 
@@ -75,8 +60,9 @@
   margin-bottom: 12px;
 
   .metadata-attribute-label {
+    @include padding-right(5px);
+
     min-width: 142px;
-    padding-right: 5px;
     display: inline-block;
     color: pvar(--greyForegroundColor);
     font-weight: $font-bold;
@@ -84,6 +70,7 @@
 
   a.metadata-attribute-value {
     @include disable-default-a-behaviour;
+
     color: pvar(--mainForegroundColor);
 
     &:hover {
@@ -94,7 +81,7 @@
   &.metadata-attribute-tags {
     .metadata-attribute-value:not(:nth-child(2)) {
       &::before {
-        content: ', '
+        content: ', ';
       }
     }
   }