]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/sass/application.scss
Better error messages
[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
d235f6b0
C
23label {
24 font-weight: $font-bold;
25 font-size: 15px;
09223546
C
26}
27
a2b817d3
C
28.form-error {
29 display: block;
30 color: $red-error;
31 margin-top: 5px;
32}
33
34.input-error {
35 border-color: $red-error !important;
36}
37
383bfc83
C
38.glyphicon-black {
39 color: black;
40}
41
383bfc83 42.main-col {
c30745f3 43 margin-left: $menu-width;
9bf9d2a5
C
44
45 .title-page {
c30745f3 46 color: #000;
9bf9d2a5 47 font-size: 16px;
9bf9d2a5 48 display: inline-block;
c30745f3
C
49 margin-right: 55px;
50 font-weight: $font-semibold;
51 @include disable-default-a-behaviour;
52
53 &.active, &.title-page-single {
54 border-bottom: 2px solid $orange-color;
55 font-weight: $font-bold;
56 margin-top: 30px;
57 margin-bottom: 25px;
58 }
59 }
60
61 .margin-content {
d178b5c1
C
62 margin-left: $not-expanded-horizontal-margins;
63 margin-right: $not-expanded-horizontal-margins;
c30745f3
C
64 }
65
66 .sub-menu {
67 background-color: #F7F7F7;
68 width: 100%;
69 height: 81px;
70 margin-bottom: 30px;
71 display: flex;
72 align-items: center;
d178b5c1 73 padding-left: $not-expanded-horizontal-margins;
c30745f3
C
74 }
75
76 // Override some properties if the main content is expanded (no menu on the left)
77 &.expanded {
78 margin-left: 0;
79
80 .margin-content {
81 margin-left: $expanded-horizontal-margins;
82 margin-right: $expanded-horizontal-margins;
83 }
84
85 .sub-menu {
86 padding-left: $expanded-horizontal-margins;
87 }
602eb142 88 }
383bfc83 89}
602eb142 90
a01f107b
C
91// On small screen, menu is absolute and displayed over the page
92@media screen and (max-width: 500px) {
93 .title-menu-left {
94 width: 120px;
95 position: absolute !important;
96 z-index: 10000;
97 }
98
99 .main-col {
100 width: 100% !important;
101 }
102
103 .fake-menu {
104 display: none;
105 }
106}
107
315cc0cc
C
108// Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
109.glyphicon-refresh-animate {
110 -animation: spin .7s infinite linear;
111 -ms-animation: spin .7s infinite linear;
112 -webkit-animation: spinw .7s infinite linear;
113 -moz-animation: spinm .7s infinite linear;
114}
115
116@keyframes spin {
117 from { transform: scale(1) rotate(0deg);}
118 to { transform: scale(1) rotate(360deg);}
119}
120
121@-webkit-keyframes spinw {
122 from { -webkit-transform: rotate(0deg);}
123 to { -webkit-transform: rotate(360deg);}
124}
125
126@-moz-keyframes spinm {
127 from { -moz-transform: rotate(0deg);}
128 to { -moz-transform: rotate(360deg);}
129}
130
d592e0a9
C
131/* ngprime data table customizations */
132p-datatable {
133 .action-cell {
134 text-align: center;
28798b5d 135
d592e0a9
C
136 .glyphicon {
137 cursor: pointer;
138 }
ad42bea3 139 }
21496304 140}