]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/bootstrap.scss
Translated using Weblate (Spanish)
[github/Chocobozzz/PeerTube.git] / client / src / sass / bootstrap.scss
index 2944dd9e241358df8ba3aa3f51622d40e21c80a7..330882fe448a7a8e02403c2e56e48e4b8fa3fddf 100644 (file)
@@ -10,8 +10,12 @@ $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/';
 }
 
 @keyframes spin {
-  from { transform: scale(1) rotate(0deg);}
-  to { transform: scale(1) rotate(360deg);}
+  from {
+    transform: scale(1) rotate(0deg);
+  }
+  to {
+    transform: scale(1) rotate(360deg);
+  }
 }
 
 .dropdown-menu {
@@ -37,7 +41,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 +166,21 @@ ngb-tabset.bootstrap {
     max-height: 1500px;
   }
 }
+
+.dropdown-divider {
+  margin: 0.3rem 0;
+}
+
+ngb-modal-backdrop {
+  z-index: 10000 !important;
+}
+
+.btn-outline-tertiary {
+  color: var(--secondaryColor);
+  border-color: var(--secondaryColor);
+
+  &:hover {
+    color: var(--mainBackgroundColor);
+    background-color: var(--secondaryColor);
+  }
+}