]> 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 db23afd0d0acd6eef4f21ac08982d26f3b2a78c7..8e26669443c13e6868f83a89d8ae8f61dcf6bb29 100644 (file)
@@ -1,4 +1,7 @@
-@import '../../node_modules/video.js/dist/video-js.css';
+@import '~primeng/resources/themes/bootstrap/theme.css';
+@import '~primeng/resources/primeng.css';
+@import '~video.js/dist/video-js.css';
+@import './video-js-custom.scss';
 
 [hidden] {
   display: none !important;
@@ -26,6 +29,10 @@ input.readonly {
   .content-padding {
     padding: 15px 30px;
 
+    @media screen and (max-width: 800px) {
+      padding: 15px 10px;
+    }
+
     @media screen and (min-width: 1400px) {
       padding: 15px 40px;
     }
@@ -40,23 +47,36 @@ input.readonly {
   }
 }
 
-/* some fixes for ng2-smart-table */
-ng2-smart-table {
-  thead tr {
-    border-top: 1px solid rgb(233, 235, 236)
-  }
+// 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;
+}
 
-  td, th {
-    padding: 8px !important;
-    color: #333333 !important;
-    font-size: 14px !important;
-  }
+@keyframes spin {
+  from { transform: scale(1) rotate(0deg);}
+  to { transform: scale(1) rotate(360deg);}
+}
 
-  .ng2-smart-pagination-nav .page-link {
-    font-size: 11px !important;
-  }
+@-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;
 
-  .glyphicon {
-    font-family: 'Glyphicons Halflings' !important;
+    .glyphicon {
+      cursor: pointer;
+    }
   }
 }