]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/application.scss
Begin new menu design
[github/Chocobozzz/PeerTube.git] / client / src / sass / application.scss
CommitLineData
b33f657c
C
1$FontPathSourceSansPro: "../fonts/source-sans-pro";
2@import '~source-sans-pro/source-sans-pro';
d592e0a9
C
3@import '~primeng/resources/themes/bootstrap/theme.css';
4@import '~primeng/resources/primeng.css';
5@import '~video.js/dist/video-js.css';
e14852b4 6@import './video-js-custom.scss';
e31f6ad6 7
383bfc83
C
8[hidden] {
9 display: none !important;
10}
a64668c0 11
b33f657c
C
12body {
13 font-family: 'Source Sans Pro';
14 font-weight: $font-regular;
15 color: #000;
16}
17
383bfc83
C
18input.readonly {
19 /* Force blank on readonly inputs */
20 background-color: #fff !important;
0ac5edd9 21}
22
383bfc83
C
23.form-control, .btn {
24 border-radius: 0;
25}
602eb142 26
09223546
C
27.dropdown-menu {
28 border-radius: 0;
29}
30
383bfc83
C
31.glyphicon-black {
32 color: black;
33}
34
383bfc83 35.main-col {
897ec54d 36 .content-padding {
383bfc83
C
37 padding: 15px 30px;
38
3eeeb87f
C
39 @media screen and (max-width: 800px) {
40 padding: 15px 10px;
41 }
42
383bfc83
C
43 @media screen and (min-width: 1400px) {
44 padding: 15px 40px;
602eb142
C
45 }
46
383bfc83
C
47 @media screen and (min-width: 1600px) {
48 padding: 15px 50px;
49 }
50
51 @media screen and (min-width: 1800px) {
52 padding: 15px 60px;
602eb142
C
53 }
54 }
383bfc83 55}
602eb142 56
a01f107b
C
57// On small screen, menu is absolute and displayed over the page
58@media screen and (max-width: 500px) {
59 .title-menu-left {
60 width: 120px;
61 position: absolute !important;
62 z-index: 10000;
63 }
64
65 .main-col {
66 width: 100% !important;
67 }
68
69 .fake-menu {
70 display: none;
71 }
72}
73
315cc0cc
C
74// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
75.glyphicon-refresh-animate {
76 -animation: spin .7s infinite linear;
77 -ms-animation: spin .7s infinite linear;
78 -webkit-animation: spinw .7s infinite linear;
79 -moz-animation: spinm .7s infinite linear;
80}
81
82@keyframes spin {
83 from { transform: scale(1) rotate(0deg);}
84 to { transform: scale(1) rotate(360deg);}
85}
86
87@-webkit-keyframes spinw {
88 from { -webkit-transform: rotate(0deg);}
89 to { -webkit-transform: rotate(360deg);}
90}
91
92@-moz-keyframes spinm {
93 from { -moz-transform: rotate(0deg);}
94 to { -moz-transform: rotate(360deg);}
95}
96
d592e0a9
C
97/* ngprime data table customizations */
98p-datatable {
99 .action-cell {
100 text-align: center;
28798b5d 101
d592e0a9
C
102 .glyphicon {
103 cursor: pointer;
104 }
ad42bea3 105 }
21496304 106}