]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/bootstrap.scss
Add search bars for a user's videos and playlist library
[github/Chocobozzz/PeerTube.git] / client / src / sass / bootstrap.scss
index 8f1e18d9e88779b7b59100f37fad212154c3b732..a3261a8a66868ed92760d2afc91826d05859d77a 100644 (file)
@@ -16,7 +16,7 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
 
 .dropdown-menu {
   border-radius: 3px;
-  box-shadow: 0 3px 6px;
+  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;
 
   .dropdown-item {
@@ -37,7 +37,28 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
   }
 }
 
+
+@media screen and (min-width: 768px) { 
+  .modal:before {
+    display: inline-block;
+    vertical-align: middle;
+    content: " ";
+    height: 100%;
+  }
+
+  .modal-dialog {
+    display: inline-block;
+    text-align: left;
+    vertical-align: middle;
+    min-width: 500px;
+    width: 40vw;
+    max-width: 900px;
+  }
+}
+
 .modal {
+  text-align: center;
+
   .modal-content {
     background-color: var(--mainBackgroundColor);
   }
@@ -141,3 +162,7 @@ ngb-tabset.bootstrap {
     max-height: 1500px;
   }
 }
+
+.dropdown-divider {
+  margin: 0.3rem 0;
+}
\ No newline at end of file