]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/bootstrap.scss
Translated using Weblate (French (France) (fr_FR))
[github/Chocobozzz/PeerTube.git] / client / src / sass / bootstrap.scss
index dbe206d050f3c0c123c4685119cd06e190e97a8c..d6af7f4856e401a7dc63397d303ec3e7ca2e0889 100644 (file)
@@ -59,7 +59,8 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
 }
 
 /* rules for dropdowns excepts when in button group, to avoid impacting the dropdown-toggle */
-.dropdown {
+.dropdown,
+.dropup {
   z-index: z(dropdown) !important;
 }
 
@@ -88,6 +89,9 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
   font-size: 15px;
 
+  color: pvar(--mainForegroundColor);
+  background-color: pvar(--mainBackgroundColor);
+
   .dropdown-header {
     @include padding-left(1rem);
   }
@@ -95,14 +99,19 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
   .dropdown-item {
     padding: 3px 15px;
 
+    color: pvar(--mainForegroundColor);
+    background-color: pvar(--mainBackgroundColor);
+
     &.active {
       color: pvar(--mainBackgroundColor) !important;
       background-color: pvar(--mainHoverColor);
       opacity: 0.9;
     }
 
-    &:active {
+    a:active,
+    &:hover {
       color: pvar(--mainForegroundColor) !important;
+      background-color: pvar(--mainBackgroundHoverColor);
     }
 
     &::after {
@@ -116,7 +125,6 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
 
   a {
     @include disable-default-a-behaviour;
-    color: #000 !important;
   }
 }
 
@@ -213,7 +221,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
         content: '';
         display: block;
         position: fixed;
-        z-index: z('menu') - 1;
+        z-index: z(overlay);
       }
     }
   }
@@ -286,6 +294,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
 
   &.show {
     max-height: 1500px;
+    overflow: inherit !important;
   }
 }
 
@@ -332,6 +341,34 @@ ngb-tooltip-window {
   }
 }
 
+.btn-group.select-button {
+  font-weight: $font-semibold;
+
+  .active {
+    @include orange-button;
+  }
+
+  :not(.active) {
+    @include grey-button;
+  }
+
+  > * {
+    @include peertube-button-link;
+
+    box-shadow: none !important;
+
+    &:not(:first-child) {
+      border-top-left-radius: 0 !important;
+      border-bottom-left-radius: 0 !important;
+    }
+
+    &:not(:last-child) {
+      border-top-right-radius: 0 !important;
+      border-bottom-right-radius: 0 !important;
+    }
+  }
+}
+
 // input box-shadow on focus
 .form-control {
   font-size: 15px;