]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/application.scss
Add info when server is processing a video at upload
[github/Chocobozzz/PeerTube.git] / client / src / sass / application.scss
index b3bdffe5055150f15954aafc95fa4e2edf9df0ec..8e26669443c13e6868f83a89d8ae8f61dcf6bb29 100644 (file)
@@ -1,54 +1,82 @@
-body {
-  padding: 20px;
+@import '~primeng/resources/themes/bootstrap/theme.css';
+@import '~primeng/resources/primeng.css';
+@import '~video.js/dist/video-js.css';
+@import './video-js-custom.scss';
 
-  @media screen and (max-width: 400px) {
-    padding: 3px;
-  }
+[hidden] {
+  display: none !important;
 }
 
-menu {
-  @media screen and (max-width: 600px) {
-    margin-right: 3px !important;
-    padding: 3px !important;
-    min-height: 400px !important;
-  }
+input.readonly {
+  /* Force blank on readonly inputs */
+  background-color: #fff !important;
+}
 
-  min-height: 600px;
-  margin-right: 20px;
-  border-right: 1px solid rgba(0, 0, 0, 0.2);
+.form-control, .btn {
+  border-radius: 0;
+}
 
-  .panel-block:not(:last-child) {
-    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
-  }
+.dropdown-menu {
+  border-radius: 0;
+}
 
-  .panel-button {
-    margin: 8px;
-    cursor: pointer;
-    transition: margin 0.2s;
+.glyphicon-black {
+  color: black;
+}
+
+.main-col {
+
+  .content-padding {
+    padding: 15px 30px;
 
-    &:hover {
-      margin-left: 15px;
+    @media screen and (max-width: 800px) {
+      padding: 15px 10px;
     }
 
-    a {
-      color: #333333;
+    @media screen and (min-width: 1400px) {
+      padding: 15px 40px;
     }
-  }
 
-  .glyphicon {
-    margin: 5px;
+    @media screen and (min-width: 1600px) {
+      padding: 15px 50px;
+    }
+
+    @media screen and (min-width: 1800px) {
+      padding: 15px 60px;
+    }
   }
 }
 
-.table-column-id {
-  width: 200px;
+// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
+.glyphicon-refresh-animate {
+  -animation: spin .7s infinite linear;
+  -ms-animation: spin .7s infinite linear;
+  -webkit-animation: spinw .7s infinite linear;
+  -moz-animation: spinm .7s infinite linear;
+}
+
+@keyframes spin {
+  from { transform: scale(1) rotate(0deg);}
+  to { transform: scale(1) rotate(360deg);}
+}
+
+@-webkit-keyframes spinw {
+  from { -webkit-transform: rotate(0deg);}
+  to { -webkit-transform: rotate(360deg);}
+}
+
+@-moz-keyframes spinm {
+  from { -moz-transform: rotate(0deg);}
+  to { -moz-transform: rotate(360deg);}
 }
 
+/* ngprime data table customizations */
+p-datatable {
+  .action-cell {
+    text-align: center;
 
-footer {
-  border-top: 1px solid rgba(0, 0, 0, 0.2);
-  padding-top: 10px;
-  text-align: center;
-  font-size: small;
-  margin-top: 30px;
+    .glyphicon {
+      cursor: pointer;
+    }
+  }
 }