]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/sass/application.scss
Design second video upload step
[github/Chocobozzz/PeerTube.git] / client / src / sass / application.scss
1 $FontPathSourceSansPro: "../fonts/source-sans-pro";
2 @import '~source-sans-pro/source-sans-pro';
3 @import '~primeng/resources/themes/bootstrap/theme.css';
4 @import '~primeng/resources/primeng.css';
5 @import '~video.js/dist/video-js.css';
6 @import './video-js-custom.scss';
7
8 [hidden] {
9 display: none !important;
10 }
11
12 body {
13 font-family: 'Source Sans Pro';
14 font-weight: $font-regular;
15 color: #000;
16 }
17
18 input.readonly {
19 /* Force blank on readonly inputs */
20 background-color: #fff !important;
21 }
22
23 label {
24 font-weight: $font-bold;
25 font-size: 15px;
26 }
27
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
38 .glyphicon-black {
39 color: black;
40 }
41
42 .main-col {
43 margin-left: $menu-width;
44
45 .margin-content {
46 margin-left: $not-expanded-horizontal-margins;
47 margin-right: $not-expanded-horizontal-margins;
48 }
49
50 .sub-menu {
51 background-color: #F7F7F7;
52 width: 100%;
53 height: 81px;
54 margin-bottom: 30px;
55 display: flex;
56 align-items: center;
57 padding-left: $not-expanded-horizontal-margins;
58 }
59
60 // Override some properties if the main content is expanded (no menu on the left)
61 &.expanded {
62 margin-left: 0;
63
64 .margin-content {
65 margin-left: $expanded-horizontal-margins;
66 margin-right: $expanded-horizontal-margins;
67 }
68
69 .sub-menu {
70 padding-left: $expanded-horizontal-margins;
71 }
72 }
73 }
74
75 .title-page {
76 color: #000;
77 font-size: 16px;
78 display: inline-block;
79 margin-right: 55px;
80 font-weight: $font-semibold;
81 @include disable-default-a-behaviour;
82
83 &.active, &.title-page-single {
84 border-bottom: 2px solid $orange-color;
85 font-weight: $font-bold;
86 margin-top: 30px;
87 margin-bottom: 25px;
88 }
89
90 &:hover, &:active, &:focus {
91 color: #000;
92 }
93 }
94
95 // On small screen, menu is absolute and displayed over the page
96 @media screen and (max-width: 500px) {
97 .title-menu-left {
98 width: 120px;
99 position: absolute !important;
100 z-index: 10000;
101 }
102
103 .main-col {
104 width: 100% !important;
105 }
106
107 .fake-menu {
108 display: none;
109 }
110 }
111
112 // Thanks https://gist.github.com/alexandrevicenzi/680147013e902a4eaa5d
113 .glyphicon-refresh-animate {
114 -animation: spin .7s infinite linear;
115 -ms-animation: spin .7s infinite linear;
116 -webkit-animation: spinw .7s infinite linear;
117 -moz-animation: spinm .7s infinite linear;
118 }
119
120 @keyframes spin {
121 from { transform: scale(1) rotate(0deg);}
122 to { transform: scale(1) rotate(360deg);}
123 }
124
125 @-webkit-keyframes spinw {
126 from { -webkit-transform: rotate(0deg);}
127 to { -webkit-transform: rotate(360deg);}
128 }
129
130 @-moz-keyframes spinm {
131 from { -moz-transform: rotate(0deg);}
132 to { -moz-transform: rotate(360deg);}
133 }
134
135 /* ngprime data table customizations */
136 p-datatable {
137 .action-cell {
138 text-align: center;
139
140 .glyphicon {
141 cursor: pointer;
142 }
143 }
144 }
145
146 .dropdown-menu {
147 border-radius: 3px;
148 box-shadow: 0 3px 6px;
149 font-size: 15px;
150
151 .dropdown-item {
152 padding: 3px 15px;
153 }
154
155 a {
156 color: #000 !important;
157 }
158 }
159
160 .modal {
161 .modal-header {
162 border-bottom: none;
163
164 .title-page-single {
165 margin: 0;
166 }
167 }
168 }
169
170 .orange-button {
171 @include peertube-button;
172 @include orange-button;
173 }
174
175 .orange-button-link {
176 @include peertube-button-link;
177 @include orange-button;
178 }
179
180 .grey-button {
181 @include peertube-button;
182 @include grey-button;
183 }
184
185 .grey-button-link {
186 @include peertube-button-link;
187 @include grey-button;
188 }