]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/bootstrap.scss
Add informational message at login for visitors coming from upload button
[github/Chocobozzz/PeerTube.git] / client / src / sass / bootstrap.scss
index 12e73278a89d046ce460b7d2f204a3106c5ba467..dc0d075c9a0dbb588c03c91458516f3a42e539eb 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);
   }
@@ -125,6 +146,11 @@ ngb-tabset.bootstrap {
   border-bottom: none;
 }
 
+.card {
+  background-color: var(--mainBackgroundColor);
+  border-color: #dee2e6;
+}
+
 .collapse-transition {
   // Animation when we show/hide the filters
   transition: max-height 0.3s;
@@ -136,3 +162,11 @@ ngb-tabset.bootstrap {
     max-height: 1500px;
   }
 }
+
+.dropdown-divider {
+  margin: 0.3rem 0;
+}
+
+ngb-modal-backdrop {
+  z-index: 10000 !important;
+}