##// END OF EJS Templates
login/register: fixed header width problem.
milka -
r4544:8218918a default
parent child Browse files
Show More
@@ -1,323 +1,337 b''
1 //LOGIN
1 //LOGIN
2
2
3
3
4 .loginbox {
4 .loginbox {
5 max-width: 65%;
5 max-width: 65%;
6 margin: @pagepadding auto;
6 margin: @pagepadding auto;
7 font-family: @text-light;
7 font-family: @text-light;
8 border: @border-thickness solid @grey5;
8 border: @border-thickness solid @grey5;
9 box-sizing: border-box;
9 box-sizing: border-box;
10
10
11 @media (max-width:1200px) {
11 @media (max-width:1200px) {
12 max-width: 85%;
12 max-width: 85%;
13 }
13 }
14
14
15 @media (max-width:768px) {
15 @media (max-width:768px) {
16 max-width: 100%;
16 max-width: 100%;
17 width: 100%;
17 width: 100%;
18 margin: 0;
18 margin: 0;
19 }
19 }
20
20
21 .title {
21 .title {
22 float: none;
22 float: none;
23 }
23 }
24
24
25 .header {
25 .header-account {
26 min-height: 49px;
26 width: 100%;
27 width: 100%;
27 padding: 0 35px;
28 padding: 0 @header-padding;
28 box-sizing: border-box;
29 box-sizing: border-box;
30 position: relative;
31 vertical-align: bottom;
32
33 background-color: @grey1;
34 color: @grey5;
29
35
30 .title {
36 .title {
31 padding: 0;
37 padding: 0;
38 overflow: visible;
39 }
40
41 &:before,
42 &:after {
43 content: "";
44 clear: both;
45 width: 100%;
32 }
46 }
33 }
47 }
34
48
35 .loginwrapper {
49 .loginwrapper {
36 float: left;
50 float: left;
37 height: 100%;
51 height: 100%;
38 width: 100%;
52 width: 100%;
39 padding: 35px 55px 35px 35px;
53 padding: 35px 55px 35px 35px;
40 background-color: white;
54 background-color: white;
41 box-sizing: border-box;
55 box-sizing: border-box;
42
56
43 @media (max-width:414px) {
57 @media (max-width:414px) {
44 padding: 35px;
58 padding: 35px;
45 }
59 }
46 }
60 }
47
61
48 .left-column {
62 .left-column {
49 float: left;
63 float: left;
50 position: relative;
64 position: relative;
51 width: 50%;
65 width: 50%;
52 height: 100%;
66 height: 100%;
53
67
54 @media (max-width:414px) {
68 @media (max-width:414px) {
55 display:none;
69 display:none;
56 }
70 }
57 }
71 }
58
72
59 .right-column {
73 .right-column {
60 float: right;
74 float: right;
61 position: relative;
75 position: relative;
62 width: 50%;
76 width: 50%;
63
77
64 @media (max-width:414px) {
78 @media (max-width:414px) {
65 width: 100%;
79 width: 100%;
66 }
80 }
67 }
81 }
68
82
69 .sign-in-image {
83 .sign-in-image {
70 display: block;
84 display: block;
71 width: 65%;
85 width: 65%;
72 margin: 5% auto;
86 margin: 5% auto;
73 }
87 }
74
88
75 .sign-in-title {
89 .sign-in-title {
76
90
77 h4 {
91 h4 {
78 margin: @padding*2 0;
92 margin: @padding*2 0;
79 }
93 }
80 }
94 }
81
95
82 .form {
96 .form {
83 label {
97 label {
84 display: block;
98 display: block;
85 }
99 }
86
100
87 input {
101 input {
88 width: 100%;
102 width: 100%;
89 margin: 0 10% @padding 0;
103 margin: 0 10% @padding 0;
90 .box-sizing(border-box) ;
104 .box-sizing(border-box) ;
91
105
92 &[type="checkbox"] {
106 &[type="checkbox"] {
93 clear: both;
107 clear: both;
94 width: auto;
108 width: auto;
95 margin: 0 1em @padding 0;
109 margin: 0 1em @padding 0;
96 }
110 }
97 }
111 }
98
112
99 .checkbox {
113 .checkbox {
100 display: inline;
114 display: inline;
101 width: auto;
115 width: auto;
102 }
116 }
103
117
104 .sign-in {
118 .sign-in {
105 clear: both;
119 clear: both;
106 width: 100%;
120 width: 100%;
107 margin: @padding 0;
121 margin: @padding 0;
108 }
122 }
109 .pwd_reset {
123 .pwd_reset {
110 font-weight: normal;
124 font-weight: normal;
111 }
125 }
112 .new_account {
126 .new_account {
113 font-weight: bold;
127 font-weight: bold;
114 }
128 }
115 }
129 }
116 .register_message,
130 .register_message,
117 .activation_msg {
131 .activation_msg {
118 padding: 0 0 @padding;
132 padding: 0 0 @padding;
119 }
133 }
120
134
121 .buttons,
135 .buttons,
122 .links {
136 .links {
123 padding: 0;
137 padding: 0;
124 }
138 }
125
139
126 .buttons {
140 .buttons {
127 input {
141 input {
128 margin-right: 0;
142 margin-right: 0;
129 .box-sizing(border-box);
143 .box-sizing(border-box);
130 }
144 }
131
145
132 #sign_up, #send {
146 #sign_up, #send {
133 width: 100%;
147 width: 100%;
134 }
148 }
135 }
149 }
136
150
137 .fields {
151 .fields {
138 .field.field-compact {
152 .field.field-compact {
139 margin-bottom: 0px;
153 margin-bottom: 0px;
140 }
154 }
141
155
142 .buttons {
156 .buttons {
143 margin: 0;
157 margin: 0;
144 }
158 }
145
159
146 .field {
160 .field {
147 margin-bottom: 15px;
161 margin-bottom: 15px;
148
162
149 input {
163 input {
150 width: 100%;
164 width: 100%;
151 .box-sizing(border-box);
165 .box-sizing(border-box);
152 }
166 }
153
167
154 .input {
168 .input {
155 margin-left: 0;
169 margin-left: 0;
156 }
170 }
157
171
158 .label {
172 .label {
159 padding-top: 0;
173 padding-top: 0;
160 }
174 }
161 }
175 }
162 }
176 }
163
177
164 .checkbox {
178 .checkbox {
165 margin: 0 0 @textmargin 0;
179 margin: 0 0 @textmargin 0;
166
180
167 input[type="checkbox"] {
181 input[type="checkbox"] {
168 width: auto;
182 width: auto;
169 }
183 }
170
184
171 label {
185 label {
172 padding: 0;
186 padding: 0;
173 min-height: 0;
187 min-height: 0;
174 }
188 }
175 }
189 }
176
190
177 .activation_msg {
191 .activation_msg {
178 padding: @padding 0 0;
192 padding: @padding 0 0;
179 color: @grey4;
193 color: @grey4;
180 }
194 }
181
195
182 .links {
196 .links {
183 float: right;
197 float: right;
184 margin: 0;
198 margin: 0;
185 padding: 0;
199 padding: 0;
186 line-height: 1;
200 line-height: 1;
187
201
188 p {
202 p {
189 float: right;
203 float: right;
190 margin: 0;
204 margin: 0;
191 line-height: 1.5em;
205 line-height: 1.5em;
192 }
206 }
193 }
207 }
194
208
195 p.help-block {
209 p.help-block {
196 margin-left: 0;
210 margin-left: 0;
197 }
211 }
198 }
212 }
199
213
200 .user-menu.submenu {
214 .user-menu.submenu {
201 right: 0!important;
215 right: 0!important;
202 left: auto!important;
216 left: auto!important;
203 min-width: 290px;
217 min-width: 290px;
204 }
218 }
205
219
206 .user-menu {
220 .user-menu {
207 .bookmark-items {
221 .bookmark-items {
208 border-top: @border-thickness solid @grey6;
222 border-top: @border-thickness solid @grey6;
209 margin-top: 1em;
223 margin-top: 1em;
210 padding: 1em .5em;
224 padding: 1em .5em;
211 color: @grey3;
225 color: @grey3;
212 border-bottom: @grey3;
226 border-bottom: @grey3;
213
227
214 a {
228 a {
215 padding: 0 !important;
229 padding: 0 !important;
216 }
230 }
217 }
231 }
218
232
219 }
233 }
220
234
221
235
222 #quick_login {
236 #quick_login {
223 left: auto;
237 left: auto;
224 right: 0;
238 right: 0;
225 padding: @menupadding;
239 padding: @menupadding;
226 z-index: 999;
240 z-index: 999;
227 overflow: hidden;
241 overflow: hidden;
228 background-color: @white;
242 background-color: @white;
229 border: 1px solid @grey5;
243 border: 1px solid @grey5;
230 color: @grey2;
244 color: @grey2;
231 box-shadow: @dropdown-shadow;
245 box-shadow: @dropdown-shadow;
232
246
233 h4 {
247 h4 {
234 margin-bottom: 12px;
248 margin-bottom: 12px;
235 }
249 }
236
250
237 .form {
251 .form {
238 width: auto;
252 width: auto;
239 }
253 }
240
254
241 label, .field {
255 label, .field {
242 margin-bottom: 0;
256 margin-bottom: 0;
243 }
257 }
244
258
245 .label {
259 .label {
246 padding-top: 0;
260 padding-top: 0;
247 }
261 }
248
262
249 input {
263 input {
250 min-width: 215px;
264 min-width: 215px;
251 margin: 8px 0 @padding;
265 margin: 8px 0 @padding;
252 }
266 }
253
267
254 input[type="submit"] {
268 input[type="submit"] {
255 &:extend(.btn-primary);
269 &:extend(.btn-primary);
256 width:100%;
270 width:100%;
257 min-width: 0;
271 min-width: 0;
258 }
272 }
259
273
260 .forgot_password,
274 .forgot_password,
261 .buttons .register {
275 .buttons .register {
262 a {
276 a {
263 color: @rcblue;
277 color: @rcblue;
264
278
265 &:hover {
279 &:hover {
266 color: @rcdarkblue;
280 color: @rcdarkblue;
267 }
281 }
268 }
282 }
269 }
283 }
270
284
271 .buttons {
285 .buttons {
272 margin: 0;
286 margin: 0;
273 }
287 }
274
288
275 .buttons a {
289 .buttons a {
276 padding: 8px 0;
290 padding: 8px 0;
277 line-height: 1.4em;
291 line-height: 1.4em;
278 color: @grey4;
292 color: @grey4;
279
293
280 &:hover {
294 &:hover {
281 color: @rcblue;
295 color: @rcblue;
282 }
296 }
283 }
297 }
284
298
285 #sign_in {
299 #sign_in {
286 margin-bottom: 0
300 margin-bottom: 0
287 }
301 }
288
302
289 .big_gravatar {
303 .big_gravatar {
290 float: left;
304 float: left;
291 display: block;
305 display: block;
292 padding: .5em;
306 padding: .5em;
293 }
307 }
294
308
295 .full_name {
309 .full_name {
296 margin: 0 0 0 70px;
310 margin: 0 0 0 70px;
297 padding-top: 1em;
311 padding-top: 1em;
298 }
312 }
299
313
300 .email {
314 .email {
301 margin: 0 0 0 70px;
315 margin: 0 0 0 70px;
302 font-family: @text-light;
316 font-family: @text-light;
303 }
317 }
304
318
305 ol.links {
319 ol.links {
306 clear:both;
320 clear:both;
307 margin: 0;
321 margin: 0;
308 padding: @padding 0 0 0;
322 padding: @padding 0 0 0;
309
323
310 li {
324 li {
311 input {
325 input {
312 margin: @padding 0 0 0;
326 margin: @padding 0 0 0;
313 }
327 }
314 }
328 }
315 }
329 }
316 }
330 }
317 .submenu #quick_login li:hover {
331 .submenu #quick_login li:hover {
318 background-color: transparent;
332 background-color: transparent;
319 }
333 }
320
334
321 #quick_login_link:hover + #quick_login {
335 #quick_login_link:hover + #quick_login {
322 display: block;
336 display: block;
323 }
337 }
@@ -1,3243 +1,3240 b''
1 //Primary CSS
1 //Primary CSS
2
2
3 //--- IMPORTS ------------------//
3 //--- IMPORTS ------------------//
4
4
5 @import 'helpers';
5 @import 'helpers';
6 @import 'mixins';
6 @import 'mixins';
7 @import 'rcicons';
7 @import 'rcicons';
8 @import 'variables';
8 @import 'variables';
9 @import 'bootstrap-variables';
9 @import 'bootstrap-variables';
10 @import 'form-bootstrap';
10 @import 'form-bootstrap';
11 @import 'codemirror';
11 @import 'codemirror';
12 @import 'legacy_code_styles';
12 @import 'legacy_code_styles';
13 @import 'readme-box';
13 @import 'readme-box';
14 @import 'progress-bar';
14 @import 'progress-bar';
15
15
16 @import 'type';
16 @import 'type';
17 @import 'alerts';
17 @import 'alerts';
18 @import 'buttons';
18 @import 'buttons';
19 @import 'tags';
19 @import 'tags';
20 @import 'code-block';
20 @import 'code-block';
21 @import 'examples';
21 @import 'examples';
22 @import 'login';
22 @import 'login';
23 @import 'main-content';
23 @import 'main-content';
24 @import 'select2';
24 @import 'select2';
25 @import 'comments';
25 @import 'comments';
26 @import 'panels-bootstrap';
26 @import 'panels-bootstrap';
27 @import 'panels';
27 @import 'panels';
28 @import 'deform';
28 @import 'deform';
29 @import 'tooltips';
29 @import 'tooltips';
30 @import 'sweetalert2';
30 @import 'sweetalert2';
31
31
32
32
33 //--- BASE ------------------//
33 //--- BASE ------------------//
34 .noscript-error {
34 .noscript-error {
35 top: 0;
35 top: 0;
36 left: 0;
36 left: 0;
37 width: 100%;
37 width: 100%;
38 z-index: 101;
38 z-index: 101;
39 text-align: center;
39 text-align: center;
40 font-size: 120%;
40 font-size: 120%;
41 color: white;
41 color: white;
42 background-color: @alert2;
42 background-color: @alert2;
43 padding: 5px 0 5px 0;
43 padding: 5px 0 5px 0;
44 font-weight: @text-semibold-weight;
44 font-weight: @text-semibold-weight;
45 font-family: @text-semibold;
45 font-family: @text-semibold;
46 }
46 }
47
47
48 html {
48 html {
49 display: table;
49 display: table;
50 height: 100%;
50 height: 100%;
51 width: 100%;
51 width: 100%;
52 }
52 }
53
53
54 body {
54 body {
55 display: table-cell;
55 display: table-cell;
56 width: 100%;
56 width: 100%;
57 }
57 }
58
58
59 //--- LAYOUT ------------------//
59 //--- LAYOUT ------------------//
60
60
61 .hidden{
61 .hidden{
62 display: none !important;
62 display: none !important;
63 }
63 }
64
64
65 .box{
65 .box{
66 float: left;
66 float: left;
67 width: 100%;
67 width: 100%;
68 }
68 }
69
69
70 .browser-header {
70 .browser-header {
71 clear: both;
71 clear: both;
72 }
72 }
73 .main {
73 .main {
74 clear: both;
74 clear: both;
75 padding:0 0 @pagepadding;
75 padding:0 0 @pagepadding;
76 height: auto;
76 height: auto;
77
77
78 &:after { //clearfix
78 &:after { //clearfix
79 content:"";
79 content:"";
80 clear:both;
80 clear:both;
81 width:100%;
81 width:100%;
82 display:block;
82 display:block;
83 }
83 }
84 }
84 }
85
85
86 .flex-container {
86 .flex-container {
87 display: flex;
87 display: flex;
88 justify-content: space-between;
88 justify-content: space-between;
89 }
89 }
90
90
91 .action-link{
91 .action-link{
92 margin-left: @padding;
92 margin-left: @padding;
93 padding-left: @padding;
93 padding-left: @padding;
94 border-left: @border-thickness solid @border-default-color;
94 border-left: @border-thickness solid @border-default-color;
95 }
95 }
96
96
97 .cursor-pointer {
97 .cursor-pointer {
98 cursor: pointer;
98 cursor: pointer;
99 }
99 }
100
100
101 input + .action-link, .action-link.first{
101 input + .action-link, .action-link.first{
102 border-left: none;
102 border-left: none;
103 }
103 }
104
104
105 .link-disabled {
105 .link-disabled {
106 color: @grey4;
106 color: @grey4;
107 cursor: default;
107 cursor: default;
108 }
108 }
109
109
110 .action-link.last{
110 .action-link.last{
111 margin-right: @padding;
111 margin-right: @padding;
112 padding-right: @padding;
112 padding-right: @padding;
113 }
113 }
114
114
115 .action-link.active,
115 .action-link.active,
116 .action-link.active a{
116 .action-link.active a{
117 color: @grey4;
117 color: @grey4;
118 }
118 }
119
119
120 .action-link.disabled {
120 .action-link.disabled {
121 color: @grey4;
121 color: @grey4;
122 cursor: inherit;
122 cursor: inherit;
123 }
123 }
124
124
125 .grey-link-action {
125 .grey-link-action {
126 cursor: pointer;
126 cursor: pointer;
127 &:hover {
127 &:hover {
128 color: @grey2;
128 color: @grey2;
129 }
129 }
130 color: @grey4;
130 color: @grey4;
131 }
131 }
132
132
133 .clipboard-action {
133 .clipboard-action {
134 cursor: pointer;
134 cursor: pointer;
135 margin-left: 5px;
135 margin-left: 5px;
136
136
137 &:not(.no-grey) {
137 &:not(.no-grey) {
138
138
139 &:hover {
139 &:hover {
140 color: @grey2;
140 color: @grey2;
141 }
141 }
142 color: @grey4;
142 color: @grey4;
143 }
143 }
144 }
144 }
145
145
146 ul.simple-list{
146 ul.simple-list{
147 list-style: none;
147 list-style: none;
148 margin: 0;
148 margin: 0;
149 padding: 0;
149 padding: 0;
150 }
150 }
151
151
152 .main-content {
152 .main-content {
153 padding-bottom: @pagepadding;
153 padding-bottom: @pagepadding;
154 }
154 }
155
155
156 .wide-mode-wrapper {
156 .wide-mode-wrapper {
157 max-width:4000px !important;
157 max-width:4000px !important;
158 }
158 }
159
159
160 .wrapper {
160 .wrapper {
161 position: relative;
161 position: relative;
162 max-width: @wrapper-maxwidth;
162 max-width: @wrapper-maxwidth;
163 margin: 0 auto;
163 margin: 0 auto;
164 }
164 }
165
165
166 #content {
166 #content {
167 clear: both;
167 clear: both;
168 padding: 0 @contentpadding;
168 padding: 0 @contentpadding;
169 }
169 }
170
170
171 .advanced-settings-fields{
171 .advanced-settings-fields{
172 input{
172 input{
173 margin-left: @textmargin;
173 margin-left: @textmargin;
174 margin-right: @padding/2;
174 margin-right: @padding/2;
175 }
175 }
176 }
176 }
177
177
178 .cs_files_title {
178 .cs_files_title {
179 margin: @pagepadding 0 0;
179 margin: @pagepadding 0 0;
180 }
180 }
181
181
182 input.inline[type="file"] {
182 input.inline[type="file"] {
183 display: inline;
183 display: inline;
184 }
184 }
185
185
186 .error_page {
186 .error_page {
187 margin: 10% auto;
187 margin: 10% auto;
188
188
189 h1 {
189 h1 {
190 color: @grey2;
190 color: @grey2;
191 }
191 }
192
192
193 .alert {
193 .alert {
194 margin: @padding 0;
194 margin: @padding 0;
195 }
195 }
196
196
197 .error-branding {
197 .error-branding {
198 color: @grey4;
198 color: @grey4;
199 font-weight: @text-semibold-weight;
199 font-weight: @text-semibold-weight;
200 font-family: @text-semibold;
200 font-family: @text-semibold;
201 }
201 }
202
202
203 .error_message {
203 .error_message {
204 font-family: @text-regular;
204 font-family: @text-regular;
205 }
205 }
206
206
207 .sidebar {
207 .sidebar {
208 min-height: 275px;
208 min-height: 275px;
209 margin: 0;
209 margin: 0;
210 padding: 0 0 @sidebarpadding @sidebarpadding;
210 padding: 0 0 @sidebarpadding @sidebarpadding;
211 border: none;
211 border: none;
212 }
212 }
213
213
214 .main-content {
214 .main-content {
215 position: relative;
215 position: relative;
216 margin: 0 @sidebarpadding @sidebarpadding;
216 margin: 0 @sidebarpadding @sidebarpadding;
217 padding: 0 0 0 @sidebarpadding;
217 padding: 0 0 0 @sidebarpadding;
218 border-left: @border-thickness solid @grey5;
218 border-left: @border-thickness solid @grey5;
219
219
220 @media (max-width:767px) {
220 @media (max-width:767px) {
221 clear: both;
221 clear: both;
222 width: 100%;
222 width: 100%;
223 margin: 0;
223 margin: 0;
224 border: none;
224 border: none;
225 }
225 }
226 }
226 }
227
227
228 .inner-column {
228 .inner-column {
229 float: left;
229 float: left;
230 width: 29.75%;
230 width: 29.75%;
231 min-height: 150px;
231 min-height: 150px;
232 margin: @sidebarpadding 2% 0 0;
232 margin: @sidebarpadding 2% 0 0;
233 padding: 0 2% 0 0;
233 padding: 0 2% 0 0;
234 border-right: @border-thickness solid @grey5;
234 border-right: @border-thickness solid @grey5;
235
235
236 @media (max-width:767px) {
236 @media (max-width:767px) {
237 clear: both;
237 clear: both;
238 width: 100%;
238 width: 100%;
239 border: none;
239 border: none;
240 }
240 }
241
241
242 ul {
242 ul {
243 padding-left: 1.25em;
243 padding-left: 1.25em;
244 }
244 }
245
245
246 &:last-child {
246 &:last-child {
247 margin: @sidebarpadding 0 0;
247 margin: @sidebarpadding 0 0;
248 border: none;
248 border: none;
249 }
249 }
250
250
251 h4 {
251 h4 {
252 margin: 0 0 @padding;
252 margin: 0 0 @padding;
253 font-weight: @text-semibold-weight;
253 font-weight: @text-semibold-weight;
254 font-family: @text-semibold;
254 font-family: @text-semibold;
255 }
255 }
256 }
256 }
257 }
257 }
258 .error-page-logo {
258 .error-page-logo {
259 width: 130px;
259 width: 130px;
260 height: 160px;
260 height: 160px;
261 }
261 }
262
262
263 // HEADER
263 // HEADER
264 .header {
264 .header {
265
265
266 // TODO: johbo: Fix login pages, so that they work without a min-height
267 // for the header and then remove the min-height. I chose a smaller value
268 // intentionally here to avoid rendering issues in the main navigation.
269 min-height: 49px;
266 min-height: 49px;
270 min-width: 1024px;
267 min-width: 1024px;
271
268
272 position: relative;
269 position: relative;
273 vertical-align: bottom;
270 vertical-align: bottom;
274 padding: 0 @header-padding;
271 padding: 0 @header-padding;
275 background-color: @grey1;
272 background-color: @grey1;
276 color: @grey5;
273 color: @grey5;
277
274
278 .title {
275 .title {
279 overflow: visible;
276 overflow: visible;
280 }
277 }
281
278
282 &:before,
279 &:before,
283 &:after {
280 &:after {
284 content: "";
281 content: "";
285 clear: both;
282 clear: both;
286 width: 100%;
283 width: 100%;
287 }
284 }
288
285
289 // TODO: johbo: Avoids breaking "Repositories" chooser
286 // TODO: johbo: Avoids breaking "Repositories" chooser
290 .select2-container .select2-choice .select2-arrow {
287 .select2-container .select2-choice .select2-arrow {
291 display: none;
288 display: none;
292 }
289 }
293 }
290 }
294
291
295 #header-inner {
292 #header-inner {
296 &.title {
293 &.title {
297 margin: 0;
294 margin: 0;
298 }
295 }
299 &:before,
296 &:before,
300 &:after {
297 &:after {
301 content: "";
298 content: "";
302 clear: both;
299 clear: both;
303 }
300 }
304 }
301 }
305
302
306 // Gists
303 // Gists
307 #files_data {
304 #files_data {
308 clear: both; //for firefox
305 clear: both; //for firefox
309 padding-top: 10px;
306 padding-top: 10px;
310 }
307 }
311
308
312 #gistid {
309 #gistid {
313 margin-right: @padding;
310 margin-right: @padding;
314 }
311 }
315
312
316 // Global Settings Editor
313 // Global Settings Editor
317 .textarea.editor {
314 .textarea.editor {
318 float: left;
315 float: left;
319 position: relative;
316 position: relative;
320 max-width: @texteditor-width;
317 max-width: @texteditor-width;
321
318
322 select {
319 select {
323 position: absolute;
320 position: absolute;
324 top:10px;
321 top:10px;
325 right:0;
322 right:0;
326 }
323 }
327
324
328 .CodeMirror {
325 .CodeMirror {
329 margin: 0;
326 margin: 0;
330 }
327 }
331
328
332 .help-block {
329 .help-block {
333 margin: 0 0 @padding;
330 margin: 0 0 @padding;
334 padding:.5em;
331 padding:.5em;
335 background-color: @grey6;
332 background-color: @grey6;
336 &.pre-formatting {
333 &.pre-formatting {
337 white-space: pre;
334 white-space: pre;
338 }
335 }
339 }
336 }
340 }
337 }
341
338
342 ul.auth_plugins {
339 ul.auth_plugins {
343 margin: @padding 0 @padding @legend-width;
340 margin: @padding 0 @padding @legend-width;
344 padding: 0;
341 padding: 0;
345
342
346 li {
343 li {
347 margin-bottom: @padding;
344 margin-bottom: @padding;
348 line-height: 1em;
345 line-height: 1em;
349 list-style-type: none;
346 list-style-type: none;
350
347
351 .auth_buttons .btn {
348 .auth_buttons .btn {
352 margin-right: @padding;
349 margin-right: @padding;
353 }
350 }
354
351
355 }
352 }
356 }
353 }
357
354
358
355
359 // My Account PR list
356 // My Account PR list
360
357
361 #show_closed {
358 #show_closed {
362 margin: 0 1em 0 0;
359 margin: 0 1em 0 0;
363 }
360 }
364
361
365 #pull_request_list_table {
362 #pull_request_list_table {
366 .closed {
363 .closed {
367 background-color: @grey6;
364 background-color: @grey6;
368 }
365 }
369
366
370 .state-creating,
367 .state-creating,
371 .state-updating,
368 .state-updating,
372 .state-merging
369 .state-merging
373 {
370 {
374 background-color: @grey6;
371 background-color: @grey6;
375 }
372 }
376
373
377 .log-container .truncate {
374 .log-container .truncate {
378 height: 2.75em;
375 height: 2.75em;
379 white-space: pre-line;
376 white-space: pre-line;
380 }
377 }
381 table.rctable .user {
378 table.rctable .user {
382 padding-left: 0;
379 padding-left: 0;
383 }
380 }
384 .td-status {
381 .td-status {
385 padding: 0 0px 0px 10px;
382 padding: 0 0px 0px 10px;
386 width: 15px;
383 width: 15px;
387 }
384 }
388 table.rctable {
385 table.rctable {
389 td.td-description,
386 td.td-description,
390 .rc-user {
387 .rc-user {
391 min-width: auto;
388 min-width: auto;
392 }
389 }
393 }
390 }
394 }
391 }
395
392
396 // Pull Requests
393 // Pull Requests
397
394
398 .pullrequests_section_head {
395 .pullrequests_section_head {
399 display: block;
396 display: block;
400 clear: both;
397 clear: both;
401 margin: @padding 0;
398 margin: @padding 0;
402 font-weight: @text-bold-weight;
399 font-weight: @text-bold-weight;
403 font-family: @text-bold;
400 font-family: @text-bold;
404 }
401 }
405
402
406 .pr-commit-flow {
403 .pr-commit-flow {
407 position: relative;
404 position: relative;
408 font-weight: 600;
405 font-weight: 600;
409
406
410 .tag {
407 .tag {
411 display: inline-block;
408 display: inline-block;
412 margin: 0 1em .5em 0;
409 margin: 0 1em .5em 0;
413 }
410 }
414
411
415 .clone-url {
412 .clone-url {
416 display: inline-block;
413 display: inline-block;
417 margin: 0 0 .5em 0;
414 margin: 0 0 .5em 0;
418 padding: 0;
415 padding: 0;
419 line-height: 1.2em;
416 line-height: 1.2em;
420 }
417 }
421 }
418 }
422
419
423 .pr-mergeinfo {
420 .pr-mergeinfo {
424 min-width: 95% !important;
421 min-width: 95% !important;
425 padding: 0 !important;
422 padding: 0 !important;
426 border: 0;
423 border: 0;
427 }
424 }
428 .pr-mergeinfo-copy {
425 .pr-mergeinfo-copy {
429 padding: 0 0;
426 padding: 0 0;
430 }
427 }
431
428
432 .pr-pullinfo {
429 .pr-pullinfo {
433 min-width: 95% !important;
430 min-width: 95% !important;
434 padding: 0 !important;
431 padding: 0 !important;
435 border: 0;
432 border: 0;
436 }
433 }
437 .pr-pullinfo-copy {
434 .pr-pullinfo-copy {
438 padding: 0 0;
435 padding: 0 0;
439 }
436 }
440
437
441 .pr-title-input {
438 .pr-title-input {
442 width: 100%;
439 width: 100%;
443 font-size: 18px;
440 font-size: 18px;
444 margin: 0 0 4px 0;
441 margin: 0 0 4px 0;
445 padding: 0;
442 padding: 0;
446 line-height: 1.7em;
443 line-height: 1.7em;
447 color: @text-color;
444 color: @text-color;
448 letter-spacing: .02em;
445 letter-spacing: .02em;
449 font-weight: @text-bold-weight;
446 font-weight: @text-bold-weight;
450 font-family: @text-bold;
447 font-family: @text-bold;
451
448
452 &:hover {
449 &:hover {
453 box-shadow: none;
450 box-shadow: none;
454 }
451 }
455 }
452 }
456
453
457 #pr-title {
454 #pr-title {
458 input {
455 input {
459 border: 1px transparent;
456 border: 1px transparent;
460 color: black;
457 color: black;
461 opacity: 1;
458 opacity: 1;
462 background: #fff;
459 background: #fff;
463 font-size: 18px;
460 font-size: 18px;
464 }
461 }
465 }
462 }
466
463
467 .pr-title-closed-tag {
464 .pr-title-closed-tag {
468 font-size: 16px;
465 font-size: 16px;
469 }
466 }
470
467
471 #pr-desc {
468 #pr-desc {
472 padding: 10px 0;
469 padding: 10px 0;
473
470
474 .markdown-block {
471 .markdown-block {
475 padding: 0;
472 padding: 0;
476 margin-bottom: -30px;
473 margin-bottom: -30px;
477 }
474 }
478 }
475 }
479
476
480 #pullrequest_title {
477 #pullrequest_title {
481 width: 100%;
478 width: 100%;
482 box-sizing: border-box;
479 box-sizing: border-box;
483 }
480 }
484
481
485 #pr_open_message {
482 #pr_open_message {
486 border: @border-thickness solid #fff;
483 border: @border-thickness solid #fff;
487 border-radius: @border-radius;
484 border-radius: @border-radius;
488 text-align: left;
485 text-align: left;
489 overflow: hidden;
486 overflow: hidden;
490 white-space: pre-line;
487 white-space: pre-line;
491 padding-top: 5px
488 padding-top: 5px
492 }
489 }
493
490
494 #add_reviewer {
491 #add_reviewer {
495 padding-top: 10px;
492 padding-top: 10px;
496 }
493 }
497
494
498 #add_reviewer_input,
495 #add_reviewer_input,
499 #add_observer_input {
496 #add_observer_input {
500 padding-top: 10px
497 padding-top: 10px
501 }
498 }
502
499
503 .pr-details-title-author-pref {
500 .pr-details-title-author-pref {
504 padding-right: 10px
501 padding-right: 10px
505 }
502 }
506
503
507 .label-pr-detail {
504 .label-pr-detail {
508 display: table-cell;
505 display: table-cell;
509 width: 120px;
506 width: 120px;
510 padding-top: 7.5px;
507 padding-top: 7.5px;
511 padding-bottom: 7.5px;
508 padding-bottom: 7.5px;
512 padding-right: 7.5px;
509 padding-right: 7.5px;
513 }
510 }
514
511
515 .source-details ul {
512 .source-details ul {
516 padding: 10px 16px;
513 padding: 10px 16px;
517 }
514 }
518
515
519 .source-details-action {
516 .source-details-action {
520 color: @grey4;
517 color: @grey4;
521 font-size: 11px
518 font-size: 11px
522 }
519 }
523
520
524 .pr-submit-button {
521 .pr-submit-button {
525 float: right;
522 float: right;
526 margin: 0 0 0 5px;
523 margin: 0 0 0 5px;
527 }
524 }
528
525
529 .pr-spacing-container {
526 .pr-spacing-container {
530 padding: 20px;
527 padding: 20px;
531 clear: both
528 clear: both
532 }
529 }
533
530
534 #pr-description-input {
531 #pr-description-input {
535 margin-bottom: 0;
532 margin-bottom: 0;
536 }
533 }
537
534
538 .pr-description-label {
535 .pr-description-label {
539 vertical-align: top;
536 vertical-align: top;
540 }
537 }
541
538
542 #open_edit_pullrequest {
539 #open_edit_pullrequest {
543 padding: 0;
540 padding: 0;
544 }
541 }
545
542
546 #close_edit_pullrequest {
543 #close_edit_pullrequest {
547
544
548 }
545 }
549
546
550 #delete_pullrequest {
547 #delete_pullrequest {
551 clear: inherit;
548 clear: inherit;
552
549
553 form {
550 form {
554 display: inline;
551 display: inline;
555 }
552 }
556
553
557 }
554 }
558
555
559 .perms_section_head {
556 .perms_section_head {
560 min-width: 625px;
557 min-width: 625px;
561
558
562 h2 {
559 h2 {
563 margin-bottom: 0;
560 margin-bottom: 0;
564 }
561 }
565
562
566 .label-checkbox {
563 .label-checkbox {
567 float: left;
564 float: left;
568 }
565 }
569
566
570 &.field {
567 &.field {
571 margin: @space 0 @padding;
568 margin: @space 0 @padding;
572 }
569 }
573
570
574 &:first-child.field {
571 &:first-child.field {
575 margin-top: 0;
572 margin-top: 0;
576
573
577 .label {
574 .label {
578 margin-top: 0;
575 margin-top: 0;
579 padding-top: 0;
576 padding-top: 0;
580 }
577 }
581
578
582 .radios {
579 .radios {
583 padding-top: 0;
580 padding-top: 0;
584 }
581 }
585 }
582 }
586
583
587 .radios {
584 .radios {
588 position: relative;
585 position: relative;
589 width: 505px;
586 width: 505px;
590 }
587 }
591 }
588 }
592
589
593 //--- MODULES ------------------//
590 //--- MODULES ------------------//
594
591
595
592
596 // Server Announcement
593 // Server Announcement
597 #server-announcement {
594 #server-announcement {
598 width: 95%;
595 width: 95%;
599 margin: @padding auto;
596 margin: @padding auto;
600 padding: @padding;
597 padding: @padding;
601 border-width: 2px;
598 border-width: 2px;
602 border-style: solid;
599 border-style: solid;
603 .border-radius(2px);
600 .border-radius(2px);
604 font-weight: @text-bold-weight;
601 font-weight: @text-bold-weight;
605 font-family: @text-bold;
602 font-family: @text-bold;
606
603
607 &.info { border-color: @alert4; background-color: @alert4-inner; }
604 &.info { border-color: @alert4; background-color: @alert4-inner; }
608 &.warning { border-color: @alert3; background-color: @alert3-inner; }
605 &.warning { border-color: @alert3; background-color: @alert3-inner; }
609 &.error { border-color: @alert2; background-color: @alert2-inner; }
606 &.error { border-color: @alert2; background-color: @alert2-inner; }
610 &.success { border-color: @alert1; background-color: @alert1-inner; }
607 &.success { border-color: @alert1; background-color: @alert1-inner; }
611 &.neutral { border-color: @grey3; background-color: @grey6; }
608 &.neutral { border-color: @grey3; background-color: @grey6; }
612 }
609 }
613
610
614 // Fixed Sidebar Column
611 // Fixed Sidebar Column
615 .sidebar-col-wrapper {
612 .sidebar-col-wrapper {
616 padding-left: @sidebar-all-width;
613 padding-left: @sidebar-all-width;
617
614
618 .sidebar {
615 .sidebar {
619 width: @sidebar-width;
616 width: @sidebar-width;
620 margin-left: -@sidebar-all-width;
617 margin-left: -@sidebar-all-width;
621 }
618 }
622 }
619 }
623
620
624 .sidebar-col-wrapper.scw-small {
621 .sidebar-col-wrapper.scw-small {
625 padding-left: @sidebar-small-all-width;
622 padding-left: @sidebar-small-all-width;
626
623
627 .sidebar {
624 .sidebar {
628 width: @sidebar-small-width;
625 width: @sidebar-small-width;
629 margin-left: -@sidebar-small-all-width;
626 margin-left: -@sidebar-small-all-width;
630 }
627 }
631 }
628 }
632
629
633
630
634 // FOOTER
631 // FOOTER
635 #footer {
632 #footer {
636 padding: 0;
633 padding: 0;
637 text-align: center;
634 text-align: center;
638 vertical-align: middle;
635 vertical-align: middle;
639 color: @grey2;
636 color: @grey2;
640 font-size: 11px;
637 font-size: 11px;
641
638
642 p {
639 p {
643 margin: 0;
640 margin: 0;
644 padding: 1em;
641 padding: 1em;
645 line-height: 1em;
642 line-height: 1em;
646 }
643 }
647
644
648 .server-instance { //server instance
645 .server-instance { //server instance
649 display: none;
646 display: none;
650 }
647 }
651
648
652 .title {
649 .title {
653 float: none;
650 float: none;
654 margin: 0 auto;
651 margin: 0 auto;
655 }
652 }
656 }
653 }
657
654
658 button.close {
655 button.close {
659 padding: 0;
656 padding: 0;
660 cursor: pointer;
657 cursor: pointer;
661 background: transparent;
658 background: transparent;
662 border: 0;
659 border: 0;
663 .box-shadow(none);
660 .box-shadow(none);
664 -webkit-appearance: none;
661 -webkit-appearance: none;
665 }
662 }
666
663
667 .close {
664 .close {
668 float: right;
665 float: right;
669 font-size: 21px;
666 font-size: 21px;
670 font-family: @text-bootstrap;
667 font-family: @text-bootstrap;
671 line-height: 1em;
668 line-height: 1em;
672 font-weight: bold;
669 font-weight: bold;
673 color: @grey2;
670 color: @grey2;
674
671
675 &:hover,
672 &:hover,
676 &:focus {
673 &:focus {
677 color: @grey1;
674 color: @grey1;
678 text-decoration: none;
675 text-decoration: none;
679 cursor: pointer;
676 cursor: pointer;
680 }
677 }
681 }
678 }
682
679
683 // GRID
680 // GRID
684 .sorting,
681 .sorting,
685 .sorting_desc,
682 .sorting_desc,
686 .sorting_asc {
683 .sorting_asc {
687 cursor: pointer;
684 cursor: pointer;
688 }
685 }
689 .sorting_desc:after {
686 .sorting_desc:after {
690 content: "\00A0\25B2";
687 content: "\00A0\25B2";
691 font-size: .75em;
688 font-size: .75em;
692 }
689 }
693 .sorting_asc:after {
690 .sorting_asc:after {
694 content: "\00A0\25BC";
691 content: "\00A0\25BC";
695 font-size: .68em;
692 font-size: .68em;
696 }
693 }
697
694
698
695
699 .user_auth_tokens {
696 .user_auth_tokens {
700
697
701 &.truncate {
698 &.truncate {
702 white-space: nowrap;
699 white-space: nowrap;
703 overflow: hidden;
700 overflow: hidden;
704 text-overflow: ellipsis;
701 text-overflow: ellipsis;
705 }
702 }
706
703
707 .fields .field .input {
704 .fields .field .input {
708 margin: 0;
705 margin: 0;
709 }
706 }
710
707
711 input#description {
708 input#description {
712 width: 100px;
709 width: 100px;
713 margin: 0;
710 margin: 0;
714 }
711 }
715
712
716 .drop-menu {
713 .drop-menu {
717 // TODO: johbo: Remove this, should work out of the box when
714 // TODO: johbo: Remove this, should work out of the box when
718 // having multiple inputs inline
715 // having multiple inputs inline
719 margin: 0 0 0 5px;
716 margin: 0 0 0 5px;
720 }
717 }
721 }
718 }
722 #user_list_table {
719 #user_list_table {
723 .closed {
720 .closed {
724 background-color: @grey6;
721 background-color: @grey6;
725 }
722 }
726 }
723 }
727
724
728
725
729 input, textarea {
726 input, textarea {
730 &.disabled {
727 &.disabled {
731 opacity: .5;
728 opacity: .5;
732 }
729 }
733
730
734 &:hover {
731 &:hover {
735 border-color: @grey3;
732 border-color: @grey3;
736 box-shadow: @button-shadow;
733 box-shadow: @button-shadow;
737 }
734 }
738
735
739 &:focus {
736 &:focus {
740 border-color: @rcblue;
737 border-color: @rcblue;
741 box-shadow: @button-shadow;
738 box-shadow: @button-shadow;
742 }
739 }
743 }
740 }
744
741
745 // remove extra padding in firefox
742 // remove extra padding in firefox
746 input::-moz-focus-inner { border:0; padding:0 }
743 input::-moz-focus-inner { border:0; padding:0 }
747
744
748 .adjacent input {
745 .adjacent input {
749 margin-bottom: @padding;
746 margin-bottom: @padding;
750 }
747 }
751
748
752 .permissions_boxes {
749 .permissions_boxes {
753 display: block;
750 display: block;
754 }
751 }
755
752
756 //FORMS
753 //FORMS
757
754
758 .medium-inline,
755 .medium-inline,
759 input#description.medium-inline {
756 input#description.medium-inline {
760 display: inline;
757 display: inline;
761 width: @medium-inline-input-width;
758 width: @medium-inline-input-width;
762 min-width: 100px;
759 min-width: 100px;
763 }
760 }
764
761
765 select {
762 select {
766 //reset
763 //reset
767 -webkit-appearance: none;
764 -webkit-appearance: none;
768 -moz-appearance: none;
765 -moz-appearance: none;
769
766
770 display: inline-block;
767 display: inline-block;
771 height: 28px;
768 height: 28px;
772 width: auto;
769 width: auto;
773 margin: 0 @padding @padding 0;
770 margin: 0 @padding @padding 0;
774 padding: 0 18px 0 8px;
771 padding: 0 18px 0 8px;
775 line-height:1em;
772 line-height:1em;
776 font-size: @basefontsize;
773 font-size: @basefontsize;
777 border: @border-thickness solid @grey5;
774 border: @border-thickness solid @grey5;
778 border-radius: @border-radius;
775 border-radius: @border-radius;
779 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
776 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
780 color: @grey4;
777 color: @grey4;
781 box-shadow: @button-shadow;
778 box-shadow: @button-shadow;
782
779
783 &:after {
780 &:after {
784 content: "\00A0\25BE";
781 content: "\00A0\25BE";
785 }
782 }
786
783
787 &:focus, &:hover {
784 &:focus, &:hover {
788 outline: none;
785 outline: none;
789 border-color: @grey4;
786 border-color: @grey4;
790 color: @rcdarkblue;
787 color: @rcdarkblue;
791 }
788 }
792 }
789 }
793
790
794 option {
791 option {
795 &:focus {
792 &:focus {
796 outline: none;
793 outline: none;
797 }
794 }
798 }
795 }
799
796
800 input,
797 input,
801 textarea {
798 textarea {
802 padding: @input-padding;
799 padding: @input-padding;
803 border: @input-border-thickness solid @border-highlight-color;
800 border: @input-border-thickness solid @border-highlight-color;
804 .border-radius (@border-radius);
801 .border-radius (@border-radius);
805 font-family: @text-light;
802 font-family: @text-light;
806 font-size: @basefontsize;
803 font-size: @basefontsize;
807
804
808 &.input-sm {
805 &.input-sm {
809 padding: 5px;
806 padding: 5px;
810 }
807 }
811
808
812 &#description {
809 &#description {
813 min-width: @input-description-minwidth;
810 min-width: @input-description-minwidth;
814 min-height: 1em;
811 min-height: 1em;
815 padding: 10px;
812 padding: 10px;
816 }
813 }
817 }
814 }
818
815
819 .field-sm {
816 .field-sm {
820 input,
817 input,
821 textarea {
818 textarea {
822 padding: 5px;
819 padding: 5px;
823 }
820 }
824 }
821 }
825
822
826 textarea {
823 textarea {
827 display: block;
824 display: block;
828 clear: both;
825 clear: both;
829 width: 100%;
826 width: 100%;
830 min-height: 100px;
827 min-height: 100px;
831 margin-bottom: @padding;
828 margin-bottom: @padding;
832 .box-sizing(border-box);
829 .box-sizing(border-box);
833 overflow: auto;
830 overflow: auto;
834 }
831 }
835
832
836 label {
833 label {
837 font-family: @text-light;
834 font-family: @text-light;
838 }
835 }
839
836
840 // GRAVATARS
837 // GRAVATARS
841 // centers gravatar on username to the right
838 // centers gravatar on username to the right
842
839
843 .gravatar {
840 .gravatar {
844 display: inline;
841 display: inline;
845 min-width: 16px;
842 min-width: 16px;
846 min-height: 16px;
843 min-height: 16px;
847 margin: -5px 0;
844 margin: -5px 0;
848 padding: 0;
845 padding: 0;
849 line-height: 1em;
846 line-height: 1em;
850 box-sizing: content-box;
847 box-sizing: content-box;
851 border-radius: 50%;
848 border-radius: 50%;
852
849
853 &.gravatar-large {
850 &.gravatar-large {
854 margin: -0.5em .25em -0.5em 0;
851 margin: -0.5em .25em -0.5em 0;
855 }
852 }
856
853
857 & + .user {
854 & + .user {
858 display: inline;
855 display: inline;
859 margin: 0;
856 margin: 0;
860 padding: 0 0 0 .17em;
857 padding: 0 0 0 .17em;
861 line-height: 1em;
858 line-height: 1em;
862 }
859 }
863
860
864 & + .no-margin {
861 & + .no-margin {
865 margin: 0
862 margin: 0
866 }
863 }
867
864
868 }
865 }
869
866
870 .user-inline-data {
867 .user-inline-data {
871 display: inline-block;
868 display: inline-block;
872 float: left;
869 float: left;
873 padding-left: .5em;
870 padding-left: .5em;
874 line-height: 1.3em;
871 line-height: 1.3em;
875 }
872 }
876
873
877 .rc-user { // gravatar + user wrapper
874 .rc-user { // gravatar + user wrapper
878 float: left;
875 float: left;
879 position: relative;
876 position: relative;
880 min-width: 100px;
877 min-width: 100px;
881 max-width: 200px;
878 max-width: 200px;
882 min-height: (@gravatar-size + @border-thickness * 2); // account for border
879 min-height: (@gravatar-size + @border-thickness * 2); // account for border
883 display: block;
880 display: block;
884 padding: 0 0 0 (@gravatar-size + @basefontsize/4);
881 padding: 0 0 0 (@gravatar-size + @basefontsize/4);
885
882
886
883
887 .gravatar {
884 .gravatar {
888 display: block;
885 display: block;
889 position: absolute;
886 position: absolute;
890 top: 0;
887 top: 0;
891 left: 0;
888 left: 0;
892 min-width: @gravatar-size;
889 min-width: @gravatar-size;
893 min-height: @gravatar-size;
890 min-height: @gravatar-size;
894 margin: 0;
891 margin: 0;
895 }
892 }
896
893
897 .user {
894 .user {
898 display: block;
895 display: block;
899 max-width: 175px;
896 max-width: 175px;
900 padding-top: 2px;
897 padding-top: 2px;
901 overflow: hidden;
898 overflow: hidden;
902 text-overflow: ellipsis;
899 text-overflow: ellipsis;
903 }
900 }
904 }
901 }
905
902
906 .gist-gravatar,
903 .gist-gravatar,
907 .journal_container {
904 .journal_container {
908 .gravatar-large {
905 .gravatar-large {
909 margin: 0 .5em -10px 0;
906 margin: 0 .5em -10px 0;
910 }
907 }
911 }
908 }
912
909
913 .gist-type-fields {
910 .gist-type-fields {
914 line-height: 30px;
911 line-height: 30px;
915 height: 30px;
912 height: 30px;
916
913
917 .gist-type-fields-wrapper {
914 .gist-type-fields-wrapper {
918 vertical-align: middle;
915 vertical-align: middle;
919 display: inline-block;
916 display: inline-block;
920 line-height: 25px;
917 line-height: 25px;
921 }
918 }
922 }
919 }
923
920
924 // ADMIN SETTINGS
921 // ADMIN SETTINGS
925
922
926 // Tag Patterns
923 // Tag Patterns
927 .tag_patterns {
924 .tag_patterns {
928 .tag_input {
925 .tag_input {
929 margin-bottom: @padding;
926 margin-bottom: @padding;
930 }
927 }
931 }
928 }
932
929
933 .locked_input {
930 .locked_input {
934 position: relative;
931 position: relative;
935
932
936 input {
933 input {
937 display: inline;
934 display: inline;
938 margin: 3px 5px 0px 0px;
935 margin: 3px 5px 0px 0px;
939 }
936 }
940
937
941 br {
938 br {
942 display: none;
939 display: none;
943 }
940 }
944
941
945 .error-message {
942 .error-message {
946 float: left;
943 float: left;
947 width: 100%;
944 width: 100%;
948 }
945 }
949
946
950 .lock_input_button {
947 .lock_input_button {
951 display: inline;
948 display: inline;
952 }
949 }
953
950
954 .help-block {
951 .help-block {
955 clear: both;
952 clear: both;
956 }
953 }
957 }
954 }
958
955
959 // Notifications
956 // Notifications
960
957
961 .notifications_buttons {
958 .notifications_buttons {
962 margin: 0 0 @space 0;
959 margin: 0 0 @space 0;
963 padding: 0;
960 padding: 0;
964
961
965 .btn {
962 .btn {
966 display: inline-block;
963 display: inline-block;
967 }
964 }
968 }
965 }
969
966
970 .notification-list {
967 .notification-list {
971
968
972 div {
969 div {
973 vertical-align: middle;
970 vertical-align: middle;
974 }
971 }
975
972
976 .container {
973 .container {
977 display: block;
974 display: block;
978 margin: 0 0 @padding 0;
975 margin: 0 0 @padding 0;
979 }
976 }
980
977
981 .delete-notifications {
978 .delete-notifications {
982 margin-left: @padding;
979 margin-left: @padding;
983 text-align: right;
980 text-align: right;
984 cursor: pointer;
981 cursor: pointer;
985 }
982 }
986
983
987 .read-notifications {
984 .read-notifications {
988 margin-left: @padding/2;
985 margin-left: @padding/2;
989 text-align: right;
986 text-align: right;
990 width: 35px;
987 width: 35px;
991 cursor: pointer;
988 cursor: pointer;
992 }
989 }
993
990
994 .icon-minus-sign {
991 .icon-minus-sign {
995 color: @alert2;
992 color: @alert2;
996 }
993 }
997
994
998 .icon-ok-sign {
995 .icon-ok-sign {
999 color: @alert1;
996 color: @alert1;
1000 }
997 }
1001 }
998 }
1002
999
1003 .user_settings {
1000 .user_settings {
1004 float: left;
1001 float: left;
1005 clear: both;
1002 clear: both;
1006 display: block;
1003 display: block;
1007 width: 100%;
1004 width: 100%;
1008
1005
1009 .gravatar_box {
1006 .gravatar_box {
1010 margin-bottom: @padding;
1007 margin-bottom: @padding;
1011
1008
1012 &:after {
1009 &:after {
1013 content: " ";
1010 content: " ";
1014 clear: both;
1011 clear: both;
1015 width: 100%;
1012 width: 100%;
1016 }
1013 }
1017 }
1014 }
1018
1015
1019 .fields .field {
1016 .fields .field {
1020 clear: both;
1017 clear: both;
1021 }
1018 }
1022 }
1019 }
1023
1020
1024 .advanced_settings {
1021 .advanced_settings {
1025 margin-bottom: @space;
1022 margin-bottom: @space;
1026
1023
1027 .help-block {
1024 .help-block {
1028 margin-left: 0;
1025 margin-left: 0;
1029 }
1026 }
1030
1027
1031 button + .help-block {
1028 button + .help-block {
1032 margin-top: @padding;
1029 margin-top: @padding;
1033 }
1030 }
1034 }
1031 }
1035
1032
1036 // admin settings radio buttons and labels
1033 // admin settings radio buttons and labels
1037 .label-2 {
1034 .label-2 {
1038 float: left;
1035 float: left;
1039 width: @label2-width;
1036 width: @label2-width;
1040
1037
1041 label {
1038 label {
1042 color: @grey1;
1039 color: @grey1;
1043 }
1040 }
1044 }
1041 }
1045 .checkboxes {
1042 .checkboxes {
1046 float: left;
1043 float: left;
1047 width: @checkboxes-width;
1044 width: @checkboxes-width;
1048 margin-bottom: @padding;
1045 margin-bottom: @padding;
1049
1046
1050 .checkbox {
1047 .checkbox {
1051 width: 100%;
1048 width: 100%;
1052
1049
1053 label {
1050 label {
1054 margin: 0;
1051 margin: 0;
1055 padding: 0;
1052 padding: 0;
1056 }
1053 }
1057 }
1054 }
1058
1055
1059 .checkbox + .checkbox {
1056 .checkbox + .checkbox {
1060 display: inline-block;
1057 display: inline-block;
1061 }
1058 }
1062
1059
1063 label {
1060 label {
1064 margin-right: 1em;
1061 margin-right: 1em;
1065 }
1062 }
1066 }
1063 }
1067
1064
1068 // CHANGELOG
1065 // CHANGELOG
1069 .container_header {
1066 .container_header {
1070 float: left;
1067 float: left;
1071 display: block;
1068 display: block;
1072 width: 100%;
1069 width: 100%;
1073 margin: @padding 0 @padding;
1070 margin: @padding 0 @padding;
1074
1071
1075 #filter_changelog {
1072 #filter_changelog {
1076 float: left;
1073 float: left;
1077 margin-right: @padding;
1074 margin-right: @padding;
1078 }
1075 }
1079
1076
1080 .breadcrumbs_light {
1077 .breadcrumbs_light {
1081 display: inline-block;
1078 display: inline-block;
1082 }
1079 }
1083 }
1080 }
1084
1081
1085 .info_box {
1082 .info_box {
1086 float: right;
1083 float: right;
1087 }
1084 }
1088
1085
1089
1086
1090
1087
1091 #graph_content{
1088 #graph_content{
1092
1089
1093 // adjust for table headers so that graph renders properly
1090 // adjust for table headers so that graph renders properly
1094 // #graph_nodes padding - table cell padding
1091 // #graph_nodes padding - table cell padding
1095 padding-top: (@space - (@basefontsize * 2.4));
1092 padding-top: (@space - (@basefontsize * 2.4));
1096
1093
1097 &.graph_full_width {
1094 &.graph_full_width {
1098 width: 100%;
1095 width: 100%;
1099 max-width: 100%;
1096 max-width: 100%;
1100 }
1097 }
1101 }
1098 }
1102
1099
1103 #graph {
1100 #graph {
1104
1101
1105 .pagination-left {
1102 .pagination-left {
1106 float: left;
1103 float: left;
1107 clear: both;
1104 clear: both;
1108 }
1105 }
1109
1106
1110 .log-container {
1107 .log-container {
1111 max-width: 345px;
1108 max-width: 345px;
1112
1109
1113 .message{
1110 .message{
1114 max-width: 340px;
1111 max-width: 340px;
1115 }
1112 }
1116 }
1113 }
1117
1114
1118 .graph-col-wrapper {
1115 .graph-col-wrapper {
1119
1116
1120 #graph_nodes {
1117 #graph_nodes {
1121 width: 100px;
1118 width: 100px;
1122 position: absolute;
1119 position: absolute;
1123 left: 70px;
1120 left: 70px;
1124 z-index: -1;
1121 z-index: -1;
1125 }
1122 }
1126 }
1123 }
1127
1124
1128 .load-more-commits {
1125 .load-more-commits {
1129 text-align: center;
1126 text-align: center;
1130 }
1127 }
1131 .load-more-commits:hover {
1128 .load-more-commits:hover {
1132 background-color: @grey7;
1129 background-color: @grey7;
1133 }
1130 }
1134 .load-more-commits {
1131 .load-more-commits {
1135 a {
1132 a {
1136 display: block;
1133 display: block;
1137 }
1134 }
1138 }
1135 }
1139 }
1136 }
1140
1137
1141 .obsolete-toggle {
1138 .obsolete-toggle {
1142 line-height: 30px;
1139 line-height: 30px;
1143 margin-left: -15px;
1140 margin-left: -15px;
1144 }
1141 }
1145
1142
1146 #rev_range_container, #rev_range_clear, #rev_range_more {
1143 #rev_range_container, #rev_range_clear, #rev_range_more {
1147 margin-top: -5px;
1144 margin-top: -5px;
1148 margin-bottom: -5px;
1145 margin-bottom: -5px;
1149 }
1146 }
1150
1147
1151 #filter_changelog {
1148 #filter_changelog {
1152 float: left;
1149 float: left;
1153 }
1150 }
1154
1151
1155
1152
1156 //--- THEME ------------------//
1153 //--- THEME ------------------//
1157
1154
1158 #logo {
1155 #logo {
1159 float: left;
1156 float: left;
1160 margin: 9px 0 0 0;
1157 margin: 9px 0 0 0;
1161
1158
1162 .header {
1159 .header {
1163 background-color: transparent;
1160 background-color: transparent;
1164 }
1161 }
1165
1162
1166 a {
1163 a {
1167 display: inline-block;
1164 display: inline-block;
1168 }
1165 }
1169
1166
1170 img {
1167 img {
1171 height:30px;
1168 height:30px;
1172 }
1169 }
1173 }
1170 }
1174
1171
1175 .logo-wrapper {
1172 .logo-wrapper {
1176 float:left;
1173 float:left;
1177 }
1174 }
1178
1175
1179 .branding {
1176 .branding {
1180 float: left;
1177 float: left;
1181 padding: 9px 2px;
1178 padding: 9px 2px;
1182 line-height: 1em;
1179 line-height: 1em;
1183 font-size: @navigation-fontsize;
1180 font-size: @navigation-fontsize;
1184
1181
1185 a {
1182 a {
1186 color: @grey5
1183 color: @grey5
1187 }
1184 }
1188
1185
1189 // 1024px or smaller
1186 // 1024px or smaller
1190 @media screen and (max-width: 1180px) {
1187 @media screen and (max-width: 1180px) {
1191 display: none;
1188 display: none;
1192 }
1189 }
1193
1190
1194 }
1191 }
1195
1192
1196 img {
1193 img {
1197 border: none;
1194 border: none;
1198 outline: none;
1195 outline: none;
1199 }
1196 }
1200 user-profile-header
1197 user-profile-header
1201 label {
1198 label {
1202
1199
1203 input[type="checkbox"] {
1200 input[type="checkbox"] {
1204 margin-right: 1em;
1201 margin-right: 1em;
1205 }
1202 }
1206 input[type="radio"] {
1203 input[type="radio"] {
1207 margin-right: 1em;
1204 margin-right: 1em;
1208 }
1205 }
1209 }
1206 }
1210
1207
1211 .review-status {
1208 .review-status {
1212 &.under_review {
1209 &.under_review {
1213 color: @alert3;
1210 color: @alert3;
1214 }
1211 }
1215 &.approved {
1212 &.approved {
1216 color: @alert1;
1213 color: @alert1;
1217 }
1214 }
1218 &.rejected,
1215 &.rejected,
1219 &.forced_closed{
1216 &.forced_closed{
1220 color: @alert2;
1217 color: @alert2;
1221 }
1218 }
1222 &.not_reviewed {
1219 &.not_reviewed {
1223 color: @grey5;
1220 color: @grey5;
1224 }
1221 }
1225 }
1222 }
1226
1223
1227 .review-status-under_review {
1224 .review-status-under_review {
1228 color: @alert3;
1225 color: @alert3;
1229 }
1226 }
1230 .status-tag-under_review {
1227 .status-tag-under_review {
1231 border-color: @alert3;
1228 border-color: @alert3;
1232 }
1229 }
1233
1230
1234 .review-status-approved {
1231 .review-status-approved {
1235 color: @alert1;
1232 color: @alert1;
1236 }
1233 }
1237 .status-tag-approved {
1234 .status-tag-approved {
1238 border-color: @alert1;
1235 border-color: @alert1;
1239 }
1236 }
1240
1237
1241 .review-status-rejected,
1238 .review-status-rejected,
1242 .review-status-forced_closed {
1239 .review-status-forced_closed {
1243 color: @alert2;
1240 color: @alert2;
1244 }
1241 }
1245 .status-tag-rejected,
1242 .status-tag-rejected,
1246 .status-tag-forced_closed {
1243 .status-tag-forced_closed {
1247 border-color: @alert2;
1244 border-color: @alert2;
1248 }
1245 }
1249
1246
1250 .review-status-not_reviewed {
1247 .review-status-not_reviewed {
1251 color: @grey5;
1248 color: @grey5;
1252 }
1249 }
1253 .status-tag-not_reviewed {
1250 .status-tag-not_reviewed {
1254 border-color: @grey5;
1251 border-color: @grey5;
1255 }
1252 }
1256
1253
1257 .test_pattern_preview {
1254 .test_pattern_preview {
1258 margin: @space 0;
1255 margin: @space 0;
1259
1256
1260 p {
1257 p {
1261 margin-bottom: 0;
1258 margin-bottom: 0;
1262 border-bottom: @border-thickness solid @border-default-color;
1259 border-bottom: @border-thickness solid @border-default-color;
1263 color: @grey3;
1260 color: @grey3;
1264 }
1261 }
1265
1262
1266 .btn {
1263 .btn {
1267 margin-bottom: @padding;
1264 margin-bottom: @padding;
1268 }
1265 }
1269 }
1266 }
1270 #test_pattern_result {
1267 #test_pattern_result {
1271 display: none;
1268 display: none;
1272 &:extend(pre);
1269 &:extend(pre);
1273 padding: .9em;
1270 padding: .9em;
1274 color: @grey3;
1271 color: @grey3;
1275 background-color: @grey7;
1272 background-color: @grey7;
1276 border-right: @border-thickness solid @border-default-color;
1273 border-right: @border-thickness solid @border-default-color;
1277 border-bottom: @border-thickness solid @border-default-color;
1274 border-bottom: @border-thickness solid @border-default-color;
1278 border-left: @border-thickness solid @border-default-color;
1275 border-left: @border-thickness solid @border-default-color;
1279 }
1276 }
1280
1277
1281 #repo_vcs_settings {
1278 #repo_vcs_settings {
1282 #inherit_overlay_vcs_default {
1279 #inherit_overlay_vcs_default {
1283 display: none;
1280 display: none;
1284 }
1281 }
1285 #inherit_overlay_vcs_custom {
1282 #inherit_overlay_vcs_custom {
1286 display: custom;
1283 display: custom;
1287 }
1284 }
1288 &.inherited {
1285 &.inherited {
1289 #inherit_overlay_vcs_default {
1286 #inherit_overlay_vcs_default {
1290 display: block;
1287 display: block;
1291 }
1288 }
1292 #inherit_overlay_vcs_custom {
1289 #inherit_overlay_vcs_custom {
1293 display: none;
1290 display: none;
1294 }
1291 }
1295 }
1292 }
1296 }
1293 }
1297
1294
1298 .issue-tracker-link {
1295 .issue-tracker-link {
1299 color: @rcblue;
1296 color: @rcblue;
1300 }
1297 }
1301
1298
1302 // Issue Tracker Table Show/Hide
1299 // Issue Tracker Table Show/Hide
1303 #repo_issue_tracker {
1300 #repo_issue_tracker {
1304 #inherit_overlay {
1301 #inherit_overlay {
1305 display: none;
1302 display: none;
1306 }
1303 }
1307 #custom_overlay {
1304 #custom_overlay {
1308 display: custom;
1305 display: custom;
1309 }
1306 }
1310 &.inherited {
1307 &.inherited {
1311 #inherit_overlay {
1308 #inherit_overlay {
1312 display: block;
1309 display: block;
1313 }
1310 }
1314 #custom_overlay {
1311 #custom_overlay {
1315 display: none;
1312 display: none;
1316 }
1313 }
1317 }
1314 }
1318 }
1315 }
1319 table.issuetracker {
1316 table.issuetracker {
1320 &.readonly {
1317 &.readonly {
1321 tr, td {
1318 tr, td {
1322 color: @grey3;
1319 color: @grey3;
1323 }
1320 }
1324 }
1321 }
1325 .edit {
1322 .edit {
1326 display: none;
1323 display: none;
1327 }
1324 }
1328 .editopen {
1325 .editopen {
1329 .edit {
1326 .edit {
1330 display: inline;
1327 display: inline;
1331 }
1328 }
1332 .entry {
1329 .entry {
1333 display: none;
1330 display: none;
1334 }
1331 }
1335 }
1332 }
1336 tr td.td-action {
1333 tr td.td-action {
1337 min-width: 117px;
1334 min-width: 117px;
1338 }
1335 }
1339 td input {
1336 td input {
1340 max-width: none;
1337 max-width: none;
1341 min-width: 30px;
1338 min-width: 30px;
1342 width: 80%;
1339 width: 80%;
1343 }
1340 }
1344 .issuetracker_pref input {
1341 .issuetracker_pref input {
1345 width: 40%;
1342 width: 40%;
1346 }
1343 }
1347 input.edit_issuetracker_update {
1344 input.edit_issuetracker_update {
1348 margin-right: 0;
1345 margin-right: 0;
1349 width: auto;
1346 width: auto;
1350 }
1347 }
1351 }
1348 }
1352
1349
1353 table.integrations {
1350 table.integrations {
1354 .td-icon {
1351 .td-icon {
1355 width: 20px;
1352 width: 20px;
1356 .integration-icon {
1353 .integration-icon {
1357 height: 20px;
1354 height: 20px;
1358 width: 20px;
1355 width: 20px;
1359 }
1356 }
1360 }
1357 }
1361 }
1358 }
1362
1359
1363 .integrations {
1360 .integrations {
1364 a.integration-box {
1361 a.integration-box {
1365 color: @text-color;
1362 color: @text-color;
1366 &:hover {
1363 &:hover {
1367 .panel {
1364 .panel {
1368 background: #fbfbfb;
1365 background: #fbfbfb;
1369 }
1366 }
1370 }
1367 }
1371 .integration-icon {
1368 .integration-icon {
1372 width: 30px;
1369 width: 30px;
1373 height: 30px;
1370 height: 30px;
1374 margin-right: 20px;
1371 margin-right: 20px;
1375 float: left;
1372 float: left;
1376 }
1373 }
1377
1374
1378 .panel-body {
1375 .panel-body {
1379 padding: 10px;
1376 padding: 10px;
1380 }
1377 }
1381 .panel {
1378 .panel {
1382 margin-bottom: 10px;
1379 margin-bottom: 10px;
1383 }
1380 }
1384 h2 {
1381 h2 {
1385 display: inline-block;
1382 display: inline-block;
1386 margin: 0;
1383 margin: 0;
1387 min-width: 140px;
1384 min-width: 140px;
1388 }
1385 }
1389 }
1386 }
1390 a.integration-box.dummy-integration {
1387 a.integration-box.dummy-integration {
1391 color: @grey4
1388 color: @grey4
1392 }
1389 }
1393 }
1390 }
1394
1391
1395 //Permissions Settings
1392 //Permissions Settings
1396 #add_perm {
1393 #add_perm {
1397 margin: 0 0 @padding;
1394 margin: 0 0 @padding;
1398 cursor: pointer;
1395 cursor: pointer;
1399 }
1396 }
1400
1397
1401 .perm_ac {
1398 .perm_ac {
1402 input {
1399 input {
1403 width: 95%;
1400 width: 95%;
1404 }
1401 }
1405 }
1402 }
1406
1403
1407 .autocomplete-suggestions {
1404 .autocomplete-suggestions {
1408 width: auto !important; // overrides autocomplete.js
1405 width: auto !important; // overrides autocomplete.js
1409 min-width: 278px;
1406 min-width: 278px;
1410 margin: 0;
1407 margin: 0;
1411 border: @border-thickness solid @grey5;
1408 border: @border-thickness solid @grey5;
1412 border-radius: @border-radius;
1409 border-radius: @border-radius;
1413 color: @grey2;
1410 color: @grey2;
1414 background-color: white;
1411 background-color: white;
1415 }
1412 }
1416
1413
1417 .autocomplete-qfilter-suggestions {
1414 .autocomplete-qfilter-suggestions {
1418 width: auto !important; // overrides autocomplete.js
1415 width: auto !important; // overrides autocomplete.js
1419 max-height: 100% !important;
1416 max-height: 100% !important;
1420 min-width: 376px;
1417 min-width: 376px;
1421 margin: 0;
1418 margin: 0;
1422 border: @border-thickness solid @grey5;
1419 border: @border-thickness solid @grey5;
1423 color: @grey2;
1420 color: @grey2;
1424 background-color: white;
1421 background-color: white;
1425 }
1422 }
1426
1423
1427 .autocomplete-selected {
1424 .autocomplete-selected {
1428 background: #F0F0F0;
1425 background: #F0F0F0;
1429 }
1426 }
1430
1427
1431 .ac-container-wrap {
1428 .ac-container-wrap {
1432 margin: 0;
1429 margin: 0;
1433 padding: 8px;
1430 padding: 8px;
1434 border-bottom: @border-thickness solid @grey5;
1431 border-bottom: @border-thickness solid @grey5;
1435 list-style-type: none;
1432 list-style-type: none;
1436 cursor: pointer;
1433 cursor: pointer;
1437
1434
1438 &:hover {
1435 &:hover {
1439 background-color: @grey7;
1436 background-color: @grey7;
1440 }
1437 }
1441
1438
1442 img {
1439 img {
1443 height: @gravatar-size;
1440 height: @gravatar-size;
1444 width: @gravatar-size;
1441 width: @gravatar-size;
1445 margin-right: 1em;
1442 margin-right: 1em;
1446 }
1443 }
1447
1444
1448 strong {
1445 strong {
1449 font-weight: normal;
1446 font-weight: normal;
1450 }
1447 }
1451 }
1448 }
1452
1449
1453 // Settings Dropdown
1450 // Settings Dropdown
1454 .user-menu .container {
1451 .user-menu .container {
1455 padding: 0 4px;
1452 padding: 0 4px;
1456 margin: 0;
1453 margin: 0;
1457 }
1454 }
1458
1455
1459 .user-menu .gravatar {
1456 .user-menu .gravatar {
1460 cursor: pointer;
1457 cursor: pointer;
1461 }
1458 }
1462
1459
1463 .codeblock {
1460 .codeblock {
1464 margin-bottom: @padding;
1461 margin-bottom: @padding;
1465 clear: both;
1462 clear: both;
1466
1463
1467 .stats {
1464 .stats {
1468 overflow: hidden;
1465 overflow: hidden;
1469 }
1466 }
1470
1467
1471 .message{
1468 .message{
1472 textarea{
1469 textarea{
1473 margin: 0;
1470 margin: 0;
1474 }
1471 }
1475 }
1472 }
1476
1473
1477 .code-header {
1474 .code-header {
1478 .stats {
1475 .stats {
1479 line-height: 2em;
1476 line-height: 2em;
1480
1477
1481 .revision_id {
1478 .revision_id {
1482 margin-left: 0;
1479 margin-left: 0;
1483 }
1480 }
1484 .buttons {
1481 .buttons {
1485 padding-right: 0;
1482 padding-right: 0;
1486 }
1483 }
1487 }
1484 }
1488
1485
1489 .item{
1486 .item{
1490 margin-right: 0.5em;
1487 margin-right: 0.5em;
1491 }
1488 }
1492 }
1489 }
1493
1490
1494 #editor_container {
1491 #editor_container {
1495 position: relative;
1492 position: relative;
1496 margin: @padding 10px;
1493 margin: @padding 10px;
1497 }
1494 }
1498 }
1495 }
1499
1496
1500 #file_history_container {
1497 #file_history_container {
1501 display: none;
1498 display: none;
1502 }
1499 }
1503
1500
1504 .file-history-inner {
1501 .file-history-inner {
1505 margin-bottom: 10px;
1502 margin-bottom: 10px;
1506 }
1503 }
1507
1504
1508 // Pull Requests
1505 // Pull Requests
1509 .summary-details {
1506 .summary-details {
1510 width: 100%;
1507 width: 100%;
1511 }
1508 }
1512 .pr-summary {
1509 .pr-summary {
1513 border-bottom: @border-thickness solid @grey5;
1510 border-bottom: @border-thickness solid @grey5;
1514 margin-bottom: @space;
1511 margin-bottom: @space;
1515 }
1512 }
1516
1513
1517 .reviewers {
1514 .reviewers {
1518 width: 98%;
1515 width: 98%;
1519 }
1516 }
1520
1517
1521 .reviewers ul li {
1518 .reviewers ul li {
1522 position: relative;
1519 position: relative;
1523 width: 100%;
1520 width: 100%;
1524 padding-bottom: 8px;
1521 padding-bottom: 8px;
1525 list-style-type: none;
1522 list-style-type: none;
1526 }
1523 }
1527
1524
1528 .reviewer_entry {
1525 .reviewer_entry {
1529 min-height: 55px;
1526 min-height: 55px;
1530 }
1527 }
1531
1528
1532 .reviewer_reason {
1529 .reviewer_reason {
1533 padding-left: 20px;
1530 padding-left: 20px;
1534 line-height: 1.5em;
1531 line-height: 1.5em;
1535 }
1532 }
1536 .reviewer_status {
1533 .reviewer_status {
1537 display: inline-block;
1534 display: inline-block;
1538 width: 20px;
1535 width: 20px;
1539 min-width: 20px;
1536 min-width: 20px;
1540 height: 1.2em;
1537 height: 1.2em;
1541 line-height: 1em;
1538 line-height: 1em;
1542 }
1539 }
1543
1540
1544 .reviewer_name {
1541 .reviewer_name {
1545 display: inline-block;
1542 display: inline-block;
1546 max-width: 83%;
1543 max-width: 83%;
1547 padding-right: 20px;
1544 padding-right: 20px;
1548 vertical-align: middle;
1545 vertical-align: middle;
1549 line-height: 1;
1546 line-height: 1;
1550
1547
1551 .rc-user {
1548 .rc-user {
1552 min-width: 0;
1549 min-width: 0;
1553 margin: -2px 1em 0 0;
1550 margin: -2px 1em 0 0;
1554 }
1551 }
1555
1552
1556 .reviewer {
1553 .reviewer {
1557 float: left;
1554 float: left;
1558 }
1555 }
1559 }
1556 }
1560
1557
1561 .reviewer_member_mandatory {
1558 .reviewer_member_mandatory {
1562 width: 16px;
1559 width: 16px;
1563 font-size: 11px;
1560 font-size: 11px;
1564 margin: 0;
1561 margin: 0;
1565 padding: 0;
1562 padding: 0;
1566 color: black;
1563 color: black;
1567 opacity: 0.4;
1564 opacity: 0.4;
1568 }
1565 }
1569
1566
1570 .reviewer_member_mandatory_remove,
1567 .reviewer_member_mandatory_remove,
1571 .reviewer_member_remove {
1568 .reviewer_member_remove {
1572 width: 16px;
1569 width: 16px;
1573 padding: 0;
1570 padding: 0;
1574 color: black;
1571 color: black;
1575 cursor: pointer;
1572 cursor: pointer;
1576 }
1573 }
1577
1574
1578 .reviewer_member_mandatory_remove {
1575 .reviewer_member_mandatory_remove {
1579 color: @grey4;
1576 color: @grey4;
1580 }
1577 }
1581
1578
1582 .reviewer_member_status {
1579 .reviewer_member_status {
1583 margin-top: 5px;
1580 margin-top: 5px;
1584 }
1581 }
1585 .pr-summary #summary{
1582 .pr-summary #summary{
1586 width: 100%;
1583 width: 100%;
1587 }
1584 }
1588 .pr-summary .action_button:hover {
1585 .pr-summary .action_button:hover {
1589 border: 0;
1586 border: 0;
1590 cursor: pointer;
1587 cursor: pointer;
1591 }
1588 }
1592 .pr-details-title {
1589 .pr-details-title {
1593 height: 20px;
1590 height: 20px;
1594 line-height: 16px;
1591 line-height: 16px;
1595
1592
1596 padding-bottom: 4px;
1593 padding-bottom: 4px;
1597 border-bottom: @border-thickness solid @grey5;
1594 border-bottom: @border-thickness solid @grey5;
1598
1595
1599 .action_button.disabled {
1596 .action_button.disabled {
1600 color: @grey4;
1597 color: @grey4;
1601 cursor: inherit;
1598 cursor: inherit;
1602 }
1599 }
1603 .action_button {
1600 .action_button {
1604 color: @rcblue;
1601 color: @rcblue;
1605 }
1602 }
1606 }
1603 }
1607 .pr-details-content {
1604 .pr-details-content {
1608 margin-top: @textmargin - 5;
1605 margin-top: @textmargin - 5;
1609 margin-bottom: @textmargin - 5;
1606 margin-bottom: @textmargin - 5;
1610 }
1607 }
1611
1608
1612 .pr-reviewer-rules {
1609 .pr-reviewer-rules {
1613 padding: 10px 0px 20px 0px;
1610 padding: 10px 0px 20px 0px;
1614 }
1611 }
1615
1612
1616 .todo-resolved {
1613 .todo-resolved {
1617 text-decoration: line-through;
1614 text-decoration: line-through;
1618 }
1615 }
1619
1616
1620 .todo-table, .comments-table {
1617 .todo-table, .comments-table {
1621 width: 100%;
1618 width: 100%;
1622
1619
1623 td {
1620 td {
1624 padding: 5px 0px;
1621 padding: 5px 0px;
1625 }
1622 }
1626
1623
1627 .td-todo-number {
1624 .td-todo-number {
1628 text-align: left;
1625 text-align: left;
1629 white-space: nowrap;
1626 white-space: nowrap;
1630 width: 1%;
1627 width: 1%;
1631 padding-right: 2px;
1628 padding-right: 2px;
1632 }
1629 }
1633
1630
1634 .td-todo-gravatar {
1631 .td-todo-gravatar {
1635 width: 5%;
1632 width: 5%;
1636
1633
1637 img {
1634 img {
1638 margin: -3px 0;
1635 margin: -3px 0;
1639 }
1636 }
1640 }
1637 }
1641
1638
1642 }
1639 }
1643
1640
1644 .todo-comment-text-wrapper {
1641 .todo-comment-text-wrapper {
1645 display: inline-grid;
1642 display: inline-grid;
1646 }
1643 }
1647
1644
1648 .todo-comment-text {
1645 .todo-comment-text {
1649 margin-left: 5px;
1646 margin-left: 5px;
1650 white-space: nowrap;
1647 white-space: nowrap;
1651 overflow: hidden;
1648 overflow: hidden;
1652 text-overflow: ellipsis;
1649 text-overflow: ellipsis;
1653 }
1650 }
1654
1651
1655 table.group_members {
1652 table.group_members {
1656 width: 100%
1653 width: 100%
1657 }
1654 }
1658
1655
1659 .group_members {
1656 .group_members {
1660 margin-top: 0;
1657 margin-top: 0;
1661 padding: 0;
1658 padding: 0;
1662
1659
1663 img {
1660 img {
1664 height: @gravatar-size;
1661 height: @gravatar-size;
1665 width: @gravatar-size;
1662 width: @gravatar-size;
1666 margin-right: .5em;
1663 margin-right: .5em;
1667 margin-left: 3px;
1664 margin-left: 3px;
1668 }
1665 }
1669
1666
1670 .to-delete {
1667 .to-delete {
1671 .user {
1668 .user {
1672 text-decoration: line-through;
1669 text-decoration: line-through;
1673 }
1670 }
1674 }
1671 }
1675 }
1672 }
1676
1673
1677 .compare_view_commits_title {
1674 .compare_view_commits_title {
1678 .disabled {
1675 .disabled {
1679 cursor: inherit;
1676 cursor: inherit;
1680 &:hover{
1677 &:hover{
1681 background-color: inherit;
1678 background-color: inherit;
1682 color: inherit;
1679 color: inherit;
1683 }
1680 }
1684 }
1681 }
1685 }
1682 }
1686
1683
1687 .subtitle-compare {
1684 .subtitle-compare {
1688 margin: -15px 0px 0px 0px;
1685 margin: -15px 0px 0px 0px;
1689 }
1686 }
1690
1687
1691 // new entry in group_members
1688 // new entry in group_members
1692 .td-author-new-entry {
1689 .td-author-new-entry {
1693 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1690 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1694 }
1691 }
1695
1692
1696 .usergroup_member_remove {
1693 .usergroup_member_remove {
1697 width: 16px;
1694 width: 16px;
1698 margin-bottom: 10px;
1695 margin-bottom: 10px;
1699 padding: 0;
1696 padding: 0;
1700 color: black !important;
1697 color: black !important;
1701 cursor: pointer;
1698 cursor: pointer;
1702 }
1699 }
1703
1700
1704 .reviewer_ac .ac-input {
1701 .reviewer_ac .ac-input {
1705 width: 98%;
1702 width: 98%;
1706 margin-bottom: 1em;
1703 margin-bottom: 1em;
1707 }
1704 }
1708
1705
1709 .observer_ac .ac-input {
1706 .observer_ac .ac-input {
1710 width: 98%;
1707 width: 98%;
1711 margin-bottom: 1em;
1708 margin-bottom: 1em;
1712 }
1709 }
1713
1710
1714 .rule-table {
1711 .rule-table {
1715 width: 100%;
1712 width: 100%;
1716 }
1713 }
1717
1714
1718 .rule-table td {
1715 .rule-table td {
1719
1716
1720 }
1717 }
1721
1718
1722 .rule-table .td-role {
1719 .rule-table .td-role {
1723 width: 100px
1720 width: 100px
1724 }
1721 }
1725
1722
1726 .rule-table .td-mandatory {
1723 .rule-table .td-mandatory {
1727 width: 100px
1724 width: 100px
1728 }
1725 }
1729
1726
1730 .rule-table .td-group-votes {
1727 .rule-table .td-group-votes {
1731 width: 150px
1728 width: 150px
1732 }
1729 }
1733
1730
1734 .compare_view_commits tr{
1731 .compare_view_commits tr{
1735 height: 20px;
1732 height: 20px;
1736 }
1733 }
1737 .compare_view_commits td {
1734 .compare_view_commits td {
1738 vertical-align: top;
1735 vertical-align: top;
1739 padding-top: 10px;
1736 padding-top: 10px;
1740 }
1737 }
1741 .compare_view_commits .author {
1738 .compare_view_commits .author {
1742 margin-left: 5px;
1739 margin-left: 5px;
1743 }
1740 }
1744
1741
1745 .compare_view_commits {
1742 .compare_view_commits {
1746 .color-a {
1743 .color-a {
1747 color: @alert1;
1744 color: @alert1;
1748 }
1745 }
1749
1746
1750 .color-c {
1747 .color-c {
1751 color: @color3;
1748 color: @color3;
1752 }
1749 }
1753
1750
1754 .color-r {
1751 .color-r {
1755 color: @color5;
1752 color: @color5;
1756 }
1753 }
1757
1754
1758 .color-a-bg {
1755 .color-a-bg {
1759 background-color: @alert1;
1756 background-color: @alert1;
1760 }
1757 }
1761
1758
1762 .color-c-bg {
1759 .color-c-bg {
1763 background-color: @alert3;
1760 background-color: @alert3;
1764 }
1761 }
1765
1762
1766 .color-r-bg {
1763 .color-r-bg {
1767 background-color: @alert2;
1764 background-color: @alert2;
1768 }
1765 }
1769
1766
1770 .color-a-border {
1767 .color-a-border {
1771 border: 1px solid @alert1;
1768 border: 1px solid @alert1;
1772 }
1769 }
1773
1770
1774 .color-c-border {
1771 .color-c-border {
1775 border: 1px solid @alert3;
1772 border: 1px solid @alert3;
1776 }
1773 }
1777
1774
1778 .color-r-border {
1775 .color-r-border {
1779 border: 1px solid @alert2;
1776 border: 1px solid @alert2;
1780 }
1777 }
1781
1778
1782 .commit-change-indicator {
1779 .commit-change-indicator {
1783 width: 15px;
1780 width: 15px;
1784 height: 15px;
1781 height: 15px;
1785 position: relative;
1782 position: relative;
1786 left: 15px;
1783 left: 15px;
1787 }
1784 }
1788
1785
1789 .commit-change-content {
1786 .commit-change-content {
1790 text-align: center;
1787 text-align: center;
1791 vertical-align: middle;
1788 vertical-align: middle;
1792 line-height: 15px;
1789 line-height: 15px;
1793 }
1790 }
1794 }
1791 }
1795
1792
1796 .compare_view_filepath {
1793 .compare_view_filepath {
1797 color: @grey1;
1794 color: @grey1;
1798 }
1795 }
1799
1796
1800 .show_more {
1797 .show_more {
1801 display: inline-block;
1798 display: inline-block;
1802 width: 0;
1799 width: 0;
1803 height: 0;
1800 height: 0;
1804 vertical-align: middle;
1801 vertical-align: middle;
1805 content: "";
1802 content: "";
1806 border: 4px solid;
1803 border: 4px solid;
1807 border-right-color: transparent;
1804 border-right-color: transparent;
1808 border-bottom-color: transparent;
1805 border-bottom-color: transparent;
1809 border-left-color: transparent;
1806 border-left-color: transparent;
1810 font-size: 0;
1807 font-size: 0;
1811 }
1808 }
1812
1809
1813 .journal_more .show_more {
1810 .journal_more .show_more {
1814 display: inline;
1811 display: inline;
1815
1812
1816 &:after {
1813 &:after {
1817 content: none;
1814 content: none;
1818 }
1815 }
1819 }
1816 }
1820
1817
1821 .compare_view_commits .collapse_commit:after {
1818 .compare_view_commits .collapse_commit:after {
1822 cursor: pointer;
1819 cursor: pointer;
1823 content: "\00A0\25B4";
1820 content: "\00A0\25B4";
1824 margin-left: -3px;
1821 margin-left: -3px;
1825 font-size: 17px;
1822 font-size: 17px;
1826 color: @grey4;
1823 color: @grey4;
1827 }
1824 }
1828
1825
1829 .diff_links {
1826 .diff_links {
1830 margin-left: 8px;
1827 margin-left: 8px;
1831 }
1828 }
1832
1829
1833 #pull_request_overview {
1830 #pull_request_overview {
1834 div.ancestor {
1831 div.ancestor {
1835 margin: -33px 0;
1832 margin: -33px 0;
1836 }
1833 }
1837 }
1834 }
1838
1835
1839 div.ancestor {
1836 div.ancestor {
1840
1837
1841 }
1838 }
1842
1839
1843 .cs_icon_td input[type="checkbox"] {
1840 .cs_icon_td input[type="checkbox"] {
1844 display: none;
1841 display: none;
1845 }
1842 }
1846
1843
1847 .cs_icon_td .expand_file_icon:after {
1844 .cs_icon_td .expand_file_icon:after {
1848 cursor: pointer;
1845 cursor: pointer;
1849 content: "\00A0\25B6";
1846 content: "\00A0\25B6";
1850 font-size: 12px;
1847 font-size: 12px;
1851 color: @grey4;
1848 color: @grey4;
1852 }
1849 }
1853
1850
1854 .cs_icon_td .collapse_file_icon:after {
1851 .cs_icon_td .collapse_file_icon:after {
1855 cursor: pointer;
1852 cursor: pointer;
1856 content: "\00A0\25BC";
1853 content: "\00A0\25BC";
1857 font-size: 12px;
1854 font-size: 12px;
1858 color: @grey4;
1855 color: @grey4;
1859 }
1856 }
1860
1857
1861 /*new binary
1858 /*new binary
1862 NEW_FILENODE = 1
1859 NEW_FILENODE = 1
1863 DEL_FILENODE = 2
1860 DEL_FILENODE = 2
1864 MOD_FILENODE = 3
1861 MOD_FILENODE = 3
1865 RENAMED_FILENODE = 4
1862 RENAMED_FILENODE = 4
1866 COPIED_FILENODE = 5
1863 COPIED_FILENODE = 5
1867 CHMOD_FILENODE = 6
1864 CHMOD_FILENODE = 6
1868 BIN_FILENODE = 7
1865 BIN_FILENODE = 7
1869 */
1866 */
1870 .cs_files_expand {
1867 .cs_files_expand {
1871 font-size: @basefontsize + 5px;
1868 font-size: @basefontsize + 5px;
1872 line-height: 1.8em;
1869 line-height: 1.8em;
1873 float: right;
1870 float: right;
1874 }
1871 }
1875
1872
1876 .cs_files_expand span{
1873 .cs_files_expand span{
1877 color: @rcblue;
1874 color: @rcblue;
1878 cursor: pointer;
1875 cursor: pointer;
1879 }
1876 }
1880 .cs_files {
1877 .cs_files {
1881 clear: both;
1878 clear: both;
1882 padding-bottom: @padding;
1879 padding-bottom: @padding;
1883
1880
1884 .cur_cs {
1881 .cur_cs {
1885 margin: 10px 2px;
1882 margin: 10px 2px;
1886 font-weight: bold;
1883 font-weight: bold;
1887 }
1884 }
1888
1885
1889 .node {
1886 .node {
1890 float: left;
1887 float: left;
1891 }
1888 }
1892
1889
1893 .changes {
1890 .changes {
1894 float: right;
1891 float: right;
1895 color: white;
1892 color: white;
1896 font-size: @basefontsize - 4px;
1893 font-size: @basefontsize - 4px;
1897 margin-top: 4px;
1894 margin-top: 4px;
1898 opacity: 0.6;
1895 opacity: 0.6;
1899 filter: Alpha(opacity=60); /* IE8 and earlier */
1896 filter: Alpha(opacity=60); /* IE8 and earlier */
1900
1897
1901 .added {
1898 .added {
1902 background-color: @alert1;
1899 background-color: @alert1;
1903 float: left;
1900 float: left;
1904 text-align: center;
1901 text-align: center;
1905 }
1902 }
1906
1903
1907 .deleted {
1904 .deleted {
1908 background-color: @alert2;
1905 background-color: @alert2;
1909 float: left;
1906 float: left;
1910 text-align: center;
1907 text-align: center;
1911 }
1908 }
1912
1909
1913 .bin {
1910 .bin {
1914 background-color: @alert1;
1911 background-color: @alert1;
1915 text-align: center;
1912 text-align: center;
1916 }
1913 }
1917
1914
1918 /*new binary*/
1915 /*new binary*/
1919 .bin.bin1 {
1916 .bin.bin1 {
1920 background-color: @alert1;
1917 background-color: @alert1;
1921 text-align: center;
1918 text-align: center;
1922 }
1919 }
1923
1920
1924 /*deleted binary*/
1921 /*deleted binary*/
1925 .bin.bin2 {
1922 .bin.bin2 {
1926 background-color: @alert2;
1923 background-color: @alert2;
1927 text-align: center;
1924 text-align: center;
1928 }
1925 }
1929
1926
1930 /*mod binary*/
1927 /*mod binary*/
1931 .bin.bin3 {
1928 .bin.bin3 {
1932 background-color: @grey2;
1929 background-color: @grey2;
1933 text-align: center;
1930 text-align: center;
1934 }
1931 }
1935
1932
1936 /*rename file*/
1933 /*rename file*/
1937 .bin.bin4 {
1934 .bin.bin4 {
1938 background-color: @alert4;
1935 background-color: @alert4;
1939 text-align: center;
1936 text-align: center;
1940 }
1937 }
1941
1938
1942 /*copied file*/
1939 /*copied file*/
1943 .bin.bin5 {
1940 .bin.bin5 {
1944 background-color: @alert4;
1941 background-color: @alert4;
1945 text-align: center;
1942 text-align: center;
1946 }
1943 }
1947
1944
1948 /*chmod file*/
1945 /*chmod file*/
1949 .bin.bin6 {
1946 .bin.bin6 {
1950 background-color: @grey2;
1947 background-color: @grey2;
1951 text-align: center;
1948 text-align: center;
1952 }
1949 }
1953 }
1950 }
1954 }
1951 }
1955
1952
1956 .cs_files .cs_added, .cs_files .cs_A,
1953 .cs_files .cs_added, .cs_files .cs_A,
1957 .cs_files .cs_added, .cs_files .cs_M,
1954 .cs_files .cs_added, .cs_files .cs_M,
1958 .cs_files .cs_added, .cs_files .cs_D {
1955 .cs_files .cs_added, .cs_files .cs_D {
1959 height: 16px;
1956 height: 16px;
1960 padding-right: 10px;
1957 padding-right: 10px;
1961 margin-top: 7px;
1958 margin-top: 7px;
1962 text-align: left;
1959 text-align: left;
1963 }
1960 }
1964
1961
1965 .cs_icon_td {
1962 .cs_icon_td {
1966 min-width: 16px;
1963 min-width: 16px;
1967 width: 16px;
1964 width: 16px;
1968 }
1965 }
1969
1966
1970 .pull-request-merge {
1967 .pull-request-merge {
1971 border: 1px solid @grey5;
1968 border: 1px solid @grey5;
1972 padding: 10px 0px 20px;
1969 padding: 10px 0px 20px;
1973 margin-top: 10px;
1970 margin-top: 10px;
1974 margin-bottom: 20px;
1971 margin-bottom: 20px;
1975 }
1972 }
1976
1973
1977 .pull-request-merge-refresh {
1974 .pull-request-merge-refresh {
1978 margin: 2px 7px;
1975 margin: 2px 7px;
1979 a {
1976 a {
1980 color: @grey3;
1977 color: @grey3;
1981 }
1978 }
1982 }
1979 }
1983
1980
1984 .pull-request-merge ul {
1981 .pull-request-merge ul {
1985 padding: 0px 0px;
1982 padding: 0px 0px;
1986 }
1983 }
1987
1984
1988 .pull-request-merge li {
1985 .pull-request-merge li {
1989 list-style-type: none;
1986 list-style-type: none;
1990 }
1987 }
1991
1988
1992 .pull-request-merge .pull-request-wrap {
1989 .pull-request-merge .pull-request-wrap {
1993 height: auto;
1990 height: auto;
1994 padding: 0px 0px;
1991 padding: 0px 0px;
1995 text-align: right;
1992 text-align: right;
1996 }
1993 }
1997
1994
1998 .pull-request-merge span {
1995 .pull-request-merge span {
1999 margin-right: 5px;
1996 margin-right: 5px;
2000 }
1997 }
2001
1998
2002 .pull-request-merge-actions {
1999 .pull-request-merge-actions {
2003 min-height: 30px;
2000 min-height: 30px;
2004 padding: 0px 0px;
2001 padding: 0px 0px;
2005 }
2002 }
2006
2003
2007 .pull-request-merge-info {
2004 .pull-request-merge-info {
2008 padding: 0px 5px 5px 0px;
2005 padding: 0px 5px 5px 0px;
2009 }
2006 }
2010
2007
2011 .merge-status {
2008 .merge-status {
2012 margin-right: 5px;
2009 margin-right: 5px;
2013 }
2010 }
2014
2011
2015 .merge-message {
2012 .merge-message {
2016 font-size: 1.2em
2013 font-size: 1.2em
2017 }
2014 }
2018
2015
2019 .merge-message.success i,
2016 .merge-message.success i,
2020 .merge-icon.success i {
2017 .merge-icon.success i {
2021 color:@alert1;
2018 color:@alert1;
2022 }
2019 }
2023
2020
2024 .merge-message.warning i,
2021 .merge-message.warning i,
2025 .merge-icon.warning i {
2022 .merge-icon.warning i {
2026 color: @alert3;
2023 color: @alert3;
2027 }
2024 }
2028
2025
2029 .merge-message.error i,
2026 .merge-message.error i,
2030 .merge-icon.error i {
2027 .merge-icon.error i {
2031 color:@alert2;
2028 color:@alert2;
2032 }
2029 }
2033
2030
2034 .pr-versions {
2031 .pr-versions {
2035 font-size: 1.1em;
2032 font-size: 1.1em;
2036 padding: 7.5px;
2033 padding: 7.5px;
2037
2034
2038 table {
2035 table {
2039
2036
2040 }
2037 }
2041
2038
2042 td {
2039 td {
2043 line-height: 15px;
2040 line-height: 15px;
2044 }
2041 }
2045
2042
2046 .compare-radio-button {
2043 .compare-radio-button {
2047 position: relative;
2044 position: relative;
2048 top: -3px;
2045 top: -3px;
2049 }
2046 }
2050 }
2047 }
2051
2048
2052
2049
2053 #close_pull_request {
2050 #close_pull_request {
2054 margin-right: 0px;
2051 margin-right: 0px;
2055 }
2052 }
2056
2053
2057 .empty_data {
2054 .empty_data {
2058 color: @grey4;
2055 color: @grey4;
2059 }
2056 }
2060
2057
2061 #changeset_compare_view_content {
2058 #changeset_compare_view_content {
2062 clear: both;
2059 clear: both;
2063 width: 100%;
2060 width: 100%;
2064 box-sizing: border-box;
2061 box-sizing: border-box;
2065 .border-radius(@border-radius);
2062 .border-radius(@border-radius);
2066
2063
2067 .help-block {
2064 .help-block {
2068 margin: @padding 0;
2065 margin: @padding 0;
2069 color: @text-color;
2066 color: @text-color;
2070 &.pre-formatting {
2067 &.pre-formatting {
2071 white-space: pre;
2068 white-space: pre;
2072 }
2069 }
2073 }
2070 }
2074
2071
2075 .empty_data {
2072 .empty_data {
2076 margin: @padding 0;
2073 margin: @padding 0;
2077 }
2074 }
2078
2075
2079 .alert {
2076 .alert {
2080 margin-bottom: @space;
2077 margin-bottom: @space;
2081 }
2078 }
2082 }
2079 }
2083
2080
2084 .table_disp {
2081 .table_disp {
2085 .status {
2082 .status {
2086 width: auto;
2083 width: auto;
2087 }
2084 }
2088 }
2085 }
2089
2086
2090
2087
2091 .creation_in_progress {
2088 .creation_in_progress {
2092 color: @grey4
2089 color: @grey4
2093 }
2090 }
2094
2091
2095 .status_box_menu {
2092 .status_box_menu {
2096 margin: 0;
2093 margin: 0;
2097 }
2094 }
2098
2095
2099 .notification-table{
2096 .notification-table{
2100 margin-bottom: @space;
2097 margin-bottom: @space;
2101 display: table;
2098 display: table;
2102 width: 100%;
2099 width: 100%;
2103
2100
2104 .container{
2101 .container{
2105 display: table-row;
2102 display: table-row;
2106
2103
2107 .notification-header{
2104 .notification-header{
2108 border-bottom: @border-thickness solid @border-default-color;
2105 border-bottom: @border-thickness solid @border-default-color;
2109 }
2106 }
2110
2107
2111 .notification-subject{
2108 .notification-subject{
2112 display: table-cell;
2109 display: table-cell;
2113 }
2110 }
2114 }
2111 }
2115 }
2112 }
2116
2113
2117 // Notifications
2114 // Notifications
2118 .notification-header{
2115 .notification-header{
2119 display: table;
2116 display: table;
2120 width: 100%;
2117 width: 100%;
2121 padding: floor(@basefontsize/2) 0;
2118 padding: floor(@basefontsize/2) 0;
2122 line-height: 1em;
2119 line-height: 1em;
2123
2120
2124 .desc, .delete-notifications, .read-notifications{
2121 .desc, .delete-notifications, .read-notifications{
2125 display: table-cell;
2122 display: table-cell;
2126 text-align: left;
2123 text-align: left;
2127 }
2124 }
2128
2125
2129 .delete-notifications, .read-notifications{
2126 .delete-notifications, .read-notifications{
2130 width: 35px;
2127 width: 35px;
2131 min-width: 35px; //fixes when only one button is displayed
2128 min-width: 35px; //fixes when only one button is displayed
2132 }
2129 }
2133 }
2130 }
2134
2131
2135 .notification-body {
2132 .notification-body {
2136 .markdown-block,
2133 .markdown-block,
2137 .rst-block {
2134 .rst-block {
2138 padding: @padding 0;
2135 padding: @padding 0;
2139 }
2136 }
2140
2137
2141 .notification-subject {
2138 .notification-subject {
2142 padding: @textmargin 0;
2139 padding: @textmargin 0;
2143 border-bottom: @border-thickness solid @border-default-color;
2140 border-bottom: @border-thickness solid @border-default-color;
2144 }
2141 }
2145 }
2142 }
2146
2143
2147 .notice-messages {
2144 .notice-messages {
2148 .markdown-block,
2145 .markdown-block,
2149 .rst-block {
2146 .rst-block {
2150 padding: 0;
2147 padding: 0;
2151 }
2148 }
2152 }
2149 }
2153
2150
2154 .notifications_buttons{
2151 .notifications_buttons{
2155 float: right;
2152 float: right;
2156 }
2153 }
2157
2154
2158 #notification-status{
2155 #notification-status{
2159 display: inline;
2156 display: inline;
2160 }
2157 }
2161
2158
2162 // Repositories
2159 // Repositories
2163
2160
2164 #summary.fields{
2161 #summary.fields{
2165 display: table;
2162 display: table;
2166
2163
2167 .field{
2164 .field{
2168 display: table-row;
2165 display: table-row;
2169
2166
2170 .label-summary{
2167 .label-summary{
2171 display: table-cell;
2168 display: table-cell;
2172 min-width: @label-summary-minwidth;
2169 min-width: @label-summary-minwidth;
2173 padding-top: @padding/2;
2170 padding-top: @padding/2;
2174 padding-bottom: @padding/2;
2171 padding-bottom: @padding/2;
2175 padding-right: @padding/2;
2172 padding-right: @padding/2;
2176 }
2173 }
2177
2174
2178 .input{
2175 .input{
2179 display: table-cell;
2176 display: table-cell;
2180 padding: @padding/2;
2177 padding: @padding/2;
2181
2178
2182 input{
2179 input{
2183 min-width: 29em;
2180 min-width: 29em;
2184 padding: @padding/4;
2181 padding: @padding/4;
2185 }
2182 }
2186 }
2183 }
2187 .statistics, .downloads{
2184 .statistics, .downloads{
2188 .disabled{
2185 .disabled{
2189 color: @grey4;
2186 color: @grey4;
2190 }
2187 }
2191 }
2188 }
2192 }
2189 }
2193 }
2190 }
2194
2191
2195 #summary{
2192 #summary{
2196 width: 70%;
2193 width: 70%;
2197 }
2194 }
2198
2195
2199
2196
2200 // Journal
2197 // Journal
2201 .journal.title {
2198 .journal.title {
2202 h5 {
2199 h5 {
2203 float: left;
2200 float: left;
2204 margin: 0;
2201 margin: 0;
2205 width: 70%;
2202 width: 70%;
2206 }
2203 }
2207
2204
2208 ul {
2205 ul {
2209 float: right;
2206 float: right;
2210 display: inline-block;
2207 display: inline-block;
2211 margin: 0;
2208 margin: 0;
2212 width: 30%;
2209 width: 30%;
2213 text-align: right;
2210 text-align: right;
2214
2211
2215 li {
2212 li {
2216 display: inline;
2213 display: inline;
2217 font-size: @journal-fontsize;
2214 font-size: @journal-fontsize;
2218 line-height: 1em;
2215 line-height: 1em;
2219
2216
2220 list-style-type: none;
2217 list-style-type: none;
2221 }
2218 }
2222 }
2219 }
2223 }
2220 }
2224
2221
2225 .filterexample {
2222 .filterexample {
2226 position: absolute;
2223 position: absolute;
2227 top: 95px;
2224 top: 95px;
2228 left: @contentpadding;
2225 left: @contentpadding;
2229 color: @rcblue;
2226 color: @rcblue;
2230 font-size: 11px;
2227 font-size: 11px;
2231 font-family: @text-regular;
2228 font-family: @text-regular;
2232 cursor: help;
2229 cursor: help;
2233
2230
2234 &:hover {
2231 &:hover {
2235 color: @rcdarkblue;
2232 color: @rcdarkblue;
2236 }
2233 }
2237
2234
2238 @media (max-width:768px) {
2235 @media (max-width:768px) {
2239 position: relative;
2236 position: relative;
2240 top: auto;
2237 top: auto;
2241 left: auto;
2238 left: auto;
2242 display: block;
2239 display: block;
2243 }
2240 }
2244 }
2241 }
2245
2242
2246
2243
2247 #journal{
2244 #journal{
2248 margin-bottom: @space;
2245 margin-bottom: @space;
2249
2246
2250 .journal_day{
2247 .journal_day{
2251 margin-bottom: @textmargin/2;
2248 margin-bottom: @textmargin/2;
2252 padding-bottom: @textmargin/2;
2249 padding-bottom: @textmargin/2;
2253 font-size: @journal-fontsize;
2250 font-size: @journal-fontsize;
2254 border-bottom: @border-thickness solid @border-default-color;
2251 border-bottom: @border-thickness solid @border-default-color;
2255 }
2252 }
2256
2253
2257 .journal_container{
2254 .journal_container{
2258 margin-bottom: @space;
2255 margin-bottom: @space;
2259
2256
2260 .journal_user{
2257 .journal_user{
2261 display: inline-block;
2258 display: inline-block;
2262 }
2259 }
2263 .journal_action_container{
2260 .journal_action_container{
2264 display: block;
2261 display: block;
2265 margin-top: @textmargin;
2262 margin-top: @textmargin;
2266
2263
2267 div{
2264 div{
2268 display: inline;
2265 display: inline;
2269 }
2266 }
2270
2267
2271 div.journal_action_params{
2268 div.journal_action_params{
2272 display: block;
2269 display: block;
2273 }
2270 }
2274
2271
2275 div.journal_repo:after{
2272 div.journal_repo:after{
2276 content: "\A";
2273 content: "\A";
2277 white-space: pre;
2274 white-space: pre;
2278 }
2275 }
2279
2276
2280 div.date{
2277 div.date{
2281 display: block;
2278 display: block;
2282 margin-bottom: @textmargin;
2279 margin-bottom: @textmargin;
2283 }
2280 }
2284 }
2281 }
2285 }
2282 }
2286 }
2283 }
2287
2284
2288 // Files
2285 // Files
2289 .edit-file-title {
2286 .edit-file-title {
2290 font-size: 16px;
2287 font-size: 16px;
2291
2288
2292 .title-heading {
2289 .title-heading {
2293 padding: 2px;
2290 padding: 2px;
2294 }
2291 }
2295 }
2292 }
2296
2293
2297 .edit-file-fieldset {
2294 .edit-file-fieldset {
2298 margin: @sidebarpadding 0;
2295 margin: @sidebarpadding 0;
2299
2296
2300 .fieldset {
2297 .fieldset {
2301 .left-label {
2298 .left-label {
2302 width: 13%;
2299 width: 13%;
2303 }
2300 }
2304 .right-content {
2301 .right-content {
2305 width: 87%;
2302 width: 87%;
2306 max-width: 100%;
2303 max-width: 100%;
2307 }
2304 }
2308 .filename-label {
2305 .filename-label {
2309 margin-top: 13px;
2306 margin-top: 13px;
2310 }
2307 }
2311 .commit-message-label {
2308 .commit-message-label {
2312 margin-top: 4px;
2309 margin-top: 4px;
2313 }
2310 }
2314 .file-upload-input {
2311 .file-upload-input {
2315 input {
2312 input {
2316 display: none;
2313 display: none;
2317 }
2314 }
2318 margin-top: 10px;
2315 margin-top: 10px;
2319 }
2316 }
2320 .file-upload-label {
2317 .file-upload-label {
2321 margin-top: 10px;
2318 margin-top: 10px;
2322 }
2319 }
2323 p {
2320 p {
2324 margin-top: 5px;
2321 margin-top: 5px;
2325 }
2322 }
2326
2323
2327 }
2324 }
2328 .custom-path-link {
2325 .custom-path-link {
2329 margin-left: 5px;
2326 margin-left: 5px;
2330 }
2327 }
2331 #commit {
2328 #commit {
2332 resize: vertical;
2329 resize: vertical;
2333 }
2330 }
2334 }
2331 }
2335
2332
2336 .delete-file-preview {
2333 .delete-file-preview {
2337 max-height: 250px;
2334 max-height: 250px;
2338 }
2335 }
2339
2336
2340 .new-file,
2337 .new-file,
2341 #filter_activate,
2338 #filter_activate,
2342 #filter_deactivate {
2339 #filter_deactivate {
2343 float: right;
2340 float: right;
2344 margin: 0 0 0 10px;
2341 margin: 0 0 0 10px;
2345 }
2342 }
2346
2343
2347 .file-upload-transaction-wrapper {
2344 .file-upload-transaction-wrapper {
2348 margin-top: 57px;
2345 margin-top: 57px;
2349 clear: both;
2346 clear: both;
2350 }
2347 }
2351
2348
2352 .file-upload-transaction-wrapper .error {
2349 .file-upload-transaction-wrapper .error {
2353 color: @color5;
2350 color: @color5;
2354 }
2351 }
2355
2352
2356 .file-upload-transaction {
2353 .file-upload-transaction {
2357 min-height: 200px;
2354 min-height: 200px;
2358 padding: 54px;
2355 padding: 54px;
2359 border: 1px solid @grey5;
2356 border: 1px solid @grey5;
2360 text-align: center;
2357 text-align: center;
2361 clear: both;
2358 clear: both;
2362 }
2359 }
2363
2360
2364 .file-upload-transaction i {
2361 .file-upload-transaction i {
2365 font-size: 48px
2362 font-size: 48px
2366 }
2363 }
2367
2364
2368 h3.files_location{
2365 h3.files_location{
2369 line-height: 2.4em;
2366 line-height: 2.4em;
2370 }
2367 }
2371
2368
2372 .browser-nav {
2369 .browser-nav {
2373 width: 100%;
2370 width: 100%;
2374 display: table;
2371 display: table;
2375 margin-bottom: 20px;
2372 margin-bottom: 20px;
2376
2373
2377 .info_box {
2374 .info_box {
2378 float: left;
2375 float: left;
2379 display: inline-table;
2376 display: inline-table;
2380 height: 2.5em;
2377 height: 2.5em;
2381
2378
2382 .browser-cur-rev, .info_box_elem {
2379 .browser-cur-rev, .info_box_elem {
2383 display: table-cell;
2380 display: table-cell;
2384 vertical-align: middle;
2381 vertical-align: middle;
2385 }
2382 }
2386
2383
2387 .drop-menu {
2384 .drop-menu {
2388 margin: 0 10px;
2385 margin: 0 10px;
2389 }
2386 }
2390
2387
2391 .info_box_elem {
2388 .info_box_elem {
2392 border-top: @border-thickness solid @grey5;
2389 border-top: @border-thickness solid @grey5;
2393 border-bottom: @border-thickness solid @grey5;
2390 border-bottom: @border-thickness solid @grey5;
2394 box-shadow: @button-shadow;
2391 box-shadow: @button-shadow;
2395
2392
2396 #at_rev, a {
2393 #at_rev, a {
2397 padding: 0.6em 0.4em;
2394 padding: 0.6em 0.4em;
2398 margin: 0;
2395 margin: 0;
2399 .box-shadow(none);
2396 .box-shadow(none);
2400 border: 0;
2397 border: 0;
2401 height: 12px;
2398 height: 12px;
2402 color: @grey2;
2399 color: @grey2;
2403 }
2400 }
2404
2401
2405 input#at_rev {
2402 input#at_rev {
2406 max-width: 50px;
2403 max-width: 50px;
2407 text-align: center;
2404 text-align: center;
2408 }
2405 }
2409
2406
2410 &.previous {
2407 &.previous {
2411 border: @border-thickness solid @grey5;
2408 border: @border-thickness solid @grey5;
2412 border-top-left-radius: @border-radius;
2409 border-top-left-radius: @border-radius;
2413 border-bottom-left-radius: @border-radius;
2410 border-bottom-left-radius: @border-radius;
2414
2411
2415 &:hover {
2412 &:hover {
2416 border-color: @grey4;
2413 border-color: @grey4;
2417 }
2414 }
2418
2415
2419 .disabled {
2416 .disabled {
2420 color: @grey5;
2417 color: @grey5;
2421 cursor: not-allowed;
2418 cursor: not-allowed;
2422 opacity: 0.5;
2419 opacity: 0.5;
2423 }
2420 }
2424 }
2421 }
2425
2422
2426 &.next {
2423 &.next {
2427 border: @border-thickness solid @grey5;
2424 border: @border-thickness solid @grey5;
2428 border-top-right-radius: @border-radius;
2425 border-top-right-radius: @border-radius;
2429 border-bottom-right-radius: @border-radius;
2426 border-bottom-right-radius: @border-radius;
2430
2427
2431 &:hover {
2428 &:hover {
2432 border-color: @grey4;
2429 border-color: @grey4;
2433 }
2430 }
2434
2431
2435 .disabled {
2432 .disabled {
2436 color: @grey5;
2433 color: @grey5;
2437 cursor: not-allowed;
2434 cursor: not-allowed;
2438 opacity: 0.5;
2435 opacity: 0.5;
2439 }
2436 }
2440 }
2437 }
2441 }
2438 }
2442
2439
2443 .browser-cur-rev {
2440 .browser-cur-rev {
2444
2441
2445 span{
2442 span{
2446 margin: 0;
2443 margin: 0;
2447 color: @rcblue;
2444 color: @rcblue;
2448 height: 12px;
2445 height: 12px;
2449 display: inline-block;
2446 display: inline-block;
2450 padding: 0.7em 1em ;
2447 padding: 0.7em 1em ;
2451 border: @border-thickness solid @rcblue;
2448 border: @border-thickness solid @rcblue;
2452 margin-right: @padding;
2449 margin-right: @padding;
2453 }
2450 }
2454 }
2451 }
2455
2452
2456 }
2453 }
2457
2454
2458 .select-index-number {
2455 .select-index-number {
2459 margin: 0 0 0 20px;
2456 margin: 0 0 0 20px;
2460 color: @grey3;
2457 color: @grey3;
2461 }
2458 }
2462
2459
2463 .search_activate {
2460 .search_activate {
2464 display: table-cell;
2461 display: table-cell;
2465 vertical-align: middle;
2462 vertical-align: middle;
2466
2463
2467 input, label{
2464 input, label{
2468 margin: 0;
2465 margin: 0;
2469 padding: 0;
2466 padding: 0;
2470 }
2467 }
2471
2468
2472 input{
2469 input{
2473 margin-left: @textmargin;
2470 margin-left: @textmargin;
2474 }
2471 }
2475
2472
2476 }
2473 }
2477 }
2474 }
2478
2475
2479 .browser-cur-rev{
2476 .browser-cur-rev{
2480 margin-bottom: @textmargin;
2477 margin-bottom: @textmargin;
2481 }
2478 }
2482
2479
2483 #node_filter_box_loading{
2480 #node_filter_box_loading{
2484 .info_text;
2481 .info_text;
2485 }
2482 }
2486
2483
2487 .browser-search {
2484 .browser-search {
2488 margin: -25px 0px 5px 0px;
2485 margin: -25px 0px 5px 0px;
2489 }
2486 }
2490
2487
2491 .files-quick-filter {
2488 .files-quick-filter {
2492 float: right;
2489 float: right;
2493 width: 180px;
2490 width: 180px;
2494 position: relative;
2491 position: relative;
2495 }
2492 }
2496
2493
2497 .files-filter-box {
2494 .files-filter-box {
2498 display: flex;
2495 display: flex;
2499 padding: 0px;
2496 padding: 0px;
2500 border-radius: 3px;
2497 border-radius: 3px;
2501 margin-bottom: 0;
2498 margin-bottom: 0;
2502
2499
2503 a {
2500 a {
2504 border: none !important;
2501 border: none !important;
2505 }
2502 }
2506
2503
2507 li {
2504 li {
2508 list-style-type: none
2505 list-style-type: none
2509 }
2506 }
2510 }
2507 }
2511
2508
2512 .files-filter-box-path {
2509 .files-filter-box-path {
2513 line-height: 33px;
2510 line-height: 33px;
2514 padding: 0;
2511 padding: 0;
2515 width: 20px;
2512 width: 20px;
2516 position: absolute;
2513 position: absolute;
2517 z-index: 11;
2514 z-index: 11;
2518 left: 5px;
2515 left: 5px;
2519 }
2516 }
2520
2517
2521 .files-filter-box-input {
2518 .files-filter-box-input {
2522 margin-right: 0;
2519 margin-right: 0;
2523
2520
2524 input {
2521 input {
2525 border: 1px solid @white;
2522 border: 1px solid @white;
2526 padding-left: 25px;
2523 padding-left: 25px;
2527 width: 145px;
2524 width: 145px;
2528
2525
2529 &:hover {
2526 &:hover {
2530 border-color: @grey6;
2527 border-color: @grey6;
2531 }
2528 }
2532
2529
2533 &:focus {
2530 &:focus {
2534 border-color: @grey5;
2531 border-color: @grey5;
2535 }
2532 }
2536 }
2533 }
2537 }
2534 }
2538
2535
2539 .browser-result{
2536 .browser-result{
2540 td a{
2537 td a{
2541 margin-left: 0.5em;
2538 margin-left: 0.5em;
2542 display: inline-block;
2539 display: inline-block;
2543
2540
2544 em {
2541 em {
2545 font-weight: @text-bold-weight;
2542 font-weight: @text-bold-weight;
2546 font-family: @text-bold;
2543 font-family: @text-bold;
2547 }
2544 }
2548 }
2545 }
2549 }
2546 }
2550
2547
2551 .browser-highlight{
2548 .browser-highlight{
2552 background-color: @grey5-alpha;
2549 background-color: @grey5-alpha;
2553 }
2550 }
2554
2551
2555
2552
2556 .edit-file-fieldset #location,
2553 .edit-file-fieldset #location,
2557 .edit-file-fieldset #filename {
2554 .edit-file-fieldset #filename {
2558 display: flex;
2555 display: flex;
2559 width: -moz-available; /* WebKit-based browsers will ignore this. */
2556 width: -moz-available; /* WebKit-based browsers will ignore this. */
2560 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2557 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2561 width: fill-available;
2558 width: fill-available;
2562 border: 0;
2559 border: 0;
2563 }
2560 }
2564
2561
2565 .path-items {
2562 .path-items {
2566 display: flex;
2563 display: flex;
2567 padding: 0;
2564 padding: 0;
2568 border: 1px solid #eeeeee;
2565 border: 1px solid #eeeeee;
2569 width: 100%;
2566 width: 100%;
2570 float: left;
2567 float: left;
2571
2568
2572 .breadcrumb-path {
2569 .breadcrumb-path {
2573 line-height: 30px;
2570 line-height: 30px;
2574 padding: 0 4px;
2571 padding: 0 4px;
2575 white-space: nowrap;
2572 white-space: nowrap;
2576 }
2573 }
2577
2574
2578 .upload-form {
2575 .upload-form {
2579 margin-top: 46px;
2576 margin-top: 46px;
2580 }
2577 }
2581
2578
2582 .location-path {
2579 .location-path {
2583 width: -moz-available; /* WebKit-based browsers will ignore this. */
2580 width: -moz-available; /* WebKit-based browsers will ignore this. */
2584 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2581 width: -webkit-fill-available; /* Mozilla-based browsers will ignore this. */
2585 width: fill-available;
2582 width: fill-available;
2586
2583
2587 .file-name-input {
2584 .file-name-input {
2588 padding: 0.5em 0;
2585 padding: 0.5em 0;
2589 }
2586 }
2590
2587
2591 }
2588 }
2592
2589
2593 ul {
2590 ul {
2594 display: flex;
2591 display: flex;
2595 margin: 0;
2592 margin: 0;
2596 padding: 0;
2593 padding: 0;
2597 width: 100%;
2594 width: 100%;
2598 }
2595 }
2599
2596
2600 li {
2597 li {
2601 list-style-type: none;
2598 list-style-type: none;
2602 }
2599 }
2603
2600
2604 }
2601 }
2605
2602
2606 .editor-items {
2603 .editor-items {
2607 height: 40px;
2604 height: 40px;
2608 margin: 10px 0 -17px 10px;
2605 margin: 10px 0 -17px 10px;
2609
2606
2610 .editor-action {
2607 .editor-action {
2611 cursor: pointer;
2608 cursor: pointer;
2612 }
2609 }
2613
2610
2614 .editor-action.active {
2611 .editor-action.active {
2615 border-bottom: 2px solid #5C5C5C;
2612 border-bottom: 2px solid #5C5C5C;
2616 }
2613 }
2617
2614
2618 li {
2615 li {
2619 list-style-type: none;
2616 list-style-type: none;
2620 }
2617 }
2621 }
2618 }
2622
2619
2623 .edit-file-fieldset .message textarea {
2620 .edit-file-fieldset .message textarea {
2624 border: 1px solid #eeeeee;
2621 border: 1px solid #eeeeee;
2625 }
2622 }
2626
2623
2627 #files_data .codeblock {
2624 #files_data .codeblock {
2628 background-color: #F5F5F5;
2625 background-color: #F5F5F5;
2629 }
2626 }
2630
2627
2631 #editor_preview {
2628 #editor_preview {
2632 background: white;
2629 background: white;
2633 }
2630 }
2634
2631
2635 .show-editor {
2632 .show-editor {
2636 padding: 10px;
2633 padding: 10px;
2637 background-color: white;
2634 background-color: white;
2638
2635
2639 }
2636 }
2640
2637
2641 .show-preview {
2638 .show-preview {
2642 padding: 10px;
2639 padding: 10px;
2643 background-color: white;
2640 background-color: white;
2644 border-left: 1px solid #eeeeee;
2641 border-left: 1px solid #eeeeee;
2645 }
2642 }
2646 // quick filter
2643 // quick filter
2647 .grid-quick-filter {
2644 .grid-quick-filter {
2648 float: right;
2645 float: right;
2649 position: relative;
2646 position: relative;
2650 }
2647 }
2651
2648
2652 .grid-filter-box {
2649 .grid-filter-box {
2653 display: flex;
2650 display: flex;
2654 padding: 0px;
2651 padding: 0px;
2655 border-radius: 3px;
2652 border-radius: 3px;
2656 margin-bottom: 0;
2653 margin-bottom: 0;
2657
2654
2658 a {
2655 a {
2659 border: none !important;
2656 border: none !important;
2660 }
2657 }
2661
2658
2662 li {
2659 li {
2663 list-style-type: none
2660 list-style-type: none
2664 }
2661 }
2665
2662
2666 }
2663 }
2667
2664
2668 .grid-filter-box-icon {
2665 .grid-filter-box-icon {
2669 line-height: 33px;
2666 line-height: 33px;
2670 padding: 0;
2667 padding: 0;
2671 width: 20px;
2668 width: 20px;
2672 position: absolute;
2669 position: absolute;
2673 z-index: 11;
2670 z-index: 11;
2674 left: 5px;
2671 left: 5px;
2675 }
2672 }
2676
2673
2677 .grid-filter-box-input {
2674 .grid-filter-box-input {
2678 margin-right: 0;
2675 margin-right: 0;
2679
2676
2680 input {
2677 input {
2681 border: 1px solid @white;
2678 border: 1px solid @white;
2682 padding-left: 25px;
2679 padding-left: 25px;
2683 width: 145px;
2680 width: 145px;
2684
2681
2685 &:hover {
2682 &:hover {
2686 border-color: @grey6;
2683 border-color: @grey6;
2687 }
2684 }
2688
2685
2689 &:focus {
2686 &:focus {
2690 border-color: @grey5;
2687 border-color: @grey5;
2691 }
2688 }
2692 }
2689 }
2693 }
2690 }
2694
2691
2695
2692
2696
2693
2697 // Search
2694 // Search
2698
2695
2699 .search-form{
2696 .search-form{
2700 #q {
2697 #q {
2701 width: @search-form-width;
2698 width: @search-form-width;
2702 }
2699 }
2703 .fields{
2700 .fields{
2704 margin: 0 0 @space;
2701 margin: 0 0 @space;
2705 }
2702 }
2706
2703
2707 label{
2704 label{
2708 display: inline-block;
2705 display: inline-block;
2709 margin-right: @textmargin;
2706 margin-right: @textmargin;
2710 padding-top: 0.25em;
2707 padding-top: 0.25em;
2711 }
2708 }
2712
2709
2713
2710
2714 .results{
2711 .results{
2715 clear: both;
2712 clear: both;
2716 margin: 0 0 @padding;
2713 margin: 0 0 @padding;
2717 }
2714 }
2718
2715
2719 .search-tags {
2716 .search-tags {
2720 padding: 5px 0;
2717 padding: 5px 0;
2721 }
2718 }
2722 }
2719 }
2723
2720
2724 div.search-feedback-items {
2721 div.search-feedback-items {
2725 display: inline-block;
2722 display: inline-block;
2726 }
2723 }
2727
2724
2728 div.search-code-body {
2725 div.search-code-body {
2729 background-color: #ffffff; padding: 5px 0 5px 10px;
2726 background-color: #ffffff; padding: 5px 0 5px 10px;
2730 pre {
2727 pre {
2731 .match { background-color: #faffa6;}
2728 .match { background-color: #faffa6;}
2732 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2729 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2733 }
2730 }
2734 }
2731 }
2735
2732
2736 .expand_commit.search {
2733 .expand_commit.search {
2737 .show_more.open {
2734 .show_more.open {
2738 height: auto;
2735 height: auto;
2739 max-height: none;
2736 max-height: none;
2740 }
2737 }
2741 }
2738 }
2742
2739
2743 .search-results {
2740 .search-results {
2744
2741
2745 h2 {
2742 h2 {
2746 margin-bottom: 0;
2743 margin-bottom: 0;
2747 }
2744 }
2748 .codeblock {
2745 .codeblock {
2749 border: none;
2746 border: none;
2750 background: transparent;
2747 background: transparent;
2751 }
2748 }
2752
2749
2753 .codeblock-header {
2750 .codeblock-header {
2754 border: none;
2751 border: none;
2755 background: transparent;
2752 background: transparent;
2756 }
2753 }
2757
2754
2758 .code-body {
2755 .code-body {
2759 border: @border-thickness solid @grey6;
2756 border: @border-thickness solid @grey6;
2760 .border-radius(@border-radius);
2757 .border-radius(@border-radius);
2761 }
2758 }
2762
2759
2763 .td-commit {
2760 .td-commit {
2764 &:extend(pre);
2761 &:extend(pre);
2765 border-bottom: @border-thickness solid @border-default-color;
2762 border-bottom: @border-thickness solid @border-default-color;
2766 }
2763 }
2767
2764
2768 .message {
2765 .message {
2769 height: auto;
2766 height: auto;
2770 max-width: 350px;
2767 max-width: 350px;
2771 white-space: normal;
2768 white-space: normal;
2772 text-overflow: initial;
2769 text-overflow: initial;
2773 overflow: visible;
2770 overflow: visible;
2774
2771
2775 .match { background-color: #faffa6;}
2772 .match { background-color: #faffa6;}
2776 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2773 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2777 }
2774 }
2778
2775
2779 .path {
2776 .path {
2780 border-bottom: none !important;
2777 border-bottom: none !important;
2781 border-left: 1px solid @grey6 !important;
2778 border-left: 1px solid @grey6 !important;
2782 border-right: 1px solid @grey6 !important;
2779 border-right: 1px solid @grey6 !important;
2783 }
2780 }
2784 }
2781 }
2785
2782
2786 table.rctable td.td-search-results div {
2783 table.rctable td.td-search-results div {
2787 max-width: 100%;
2784 max-width: 100%;
2788 }
2785 }
2789
2786
2790 #tip-box, .tip-box{
2787 #tip-box, .tip-box{
2791 padding: @menupadding/2;
2788 padding: @menupadding/2;
2792 display: block;
2789 display: block;
2793 border: @border-thickness solid @border-highlight-color;
2790 border: @border-thickness solid @border-highlight-color;
2794 .border-radius(@border-radius);
2791 .border-radius(@border-radius);
2795 background-color: white;
2792 background-color: white;
2796 z-index: 99;
2793 z-index: 99;
2797 white-space: pre-wrap;
2794 white-space: pre-wrap;
2798 }
2795 }
2799
2796
2800 #linktt {
2797 #linktt {
2801 width: 79px;
2798 width: 79px;
2802 }
2799 }
2803
2800
2804 #help_kb .modal-content{
2801 #help_kb .modal-content{
2805 max-width: 800px;
2802 max-width: 800px;
2806 margin: 10% auto;
2803 margin: 10% auto;
2807
2804
2808 table{
2805 table{
2809 td,th{
2806 td,th{
2810 border-bottom: none;
2807 border-bottom: none;
2811 line-height: 2.5em;
2808 line-height: 2.5em;
2812 }
2809 }
2813 th{
2810 th{
2814 padding-bottom: @textmargin/2;
2811 padding-bottom: @textmargin/2;
2815 }
2812 }
2816 td.keys{
2813 td.keys{
2817 text-align: center;
2814 text-align: center;
2818 }
2815 }
2819 }
2816 }
2820
2817
2821 .block-left{
2818 .block-left{
2822 width: 45%;
2819 width: 45%;
2823 margin-right: 5%;
2820 margin-right: 5%;
2824 }
2821 }
2825 .modal-footer{
2822 .modal-footer{
2826 clear: both;
2823 clear: both;
2827 }
2824 }
2828 .key.tag{
2825 .key.tag{
2829 padding: 0.5em;
2826 padding: 0.5em;
2830 background-color: @rcblue;
2827 background-color: @rcblue;
2831 color: white;
2828 color: white;
2832 border-color: @rcblue;
2829 border-color: @rcblue;
2833 .box-shadow(none);
2830 .box-shadow(none);
2834 }
2831 }
2835 }
2832 }
2836
2833
2837
2834
2838
2835
2839 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2836 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2840
2837
2841 @import 'statistics-graph';
2838 @import 'statistics-graph';
2842 @import 'tables';
2839 @import 'tables';
2843 @import 'forms';
2840 @import 'forms';
2844 @import 'diff';
2841 @import 'diff';
2845 @import 'summary';
2842 @import 'summary';
2846 @import 'navigation';
2843 @import 'navigation';
2847
2844
2848 //--- SHOW/HIDE SECTIONS --//
2845 //--- SHOW/HIDE SECTIONS --//
2849
2846
2850 .btn-collapse {
2847 .btn-collapse {
2851 float: right;
2848 float: right;
2852 text-align: right;
2849 text-align: right;
2853 font-family: @text-light;
2850 font-family: @text-light;
2854 font-size: @basefontsize;
2851 font-size: @basefontsize;
2855 cursor: pointer;
2852 cursor: pointer;
2856 border: none;
2853 border: none;
2857 color: @rcblue;
2854 color: @rcblue;
2858 }
2855 }
2859
2856
2860 table.rctable,
2857 table.rctable,
2861 table.dataTable {
2858 table.dataTable {
2862 .btn-collapse {
2859 .btn-collapse {
2863 float: right;
2860 float: right;
2864 text-align: right;
2861 text-align: right;
2865 }
2862 }
2866 }
2863 }
2867
2864
2868 table.rctable {
2865 table.rctable {
2869 &.permissions {
2866 &.permissions {
2870
2867
2871 th.td-owner {
2868 th.td-owner {
2872 padding: 0;
2869 padding: 0;
2873 }
2870 }
2874
2871
2875 th {
2872 th {
2876 font-weight: normal;
2873 font-weight: normal;
2877 padding: 0 5px;
2874 padding: 0 5px;
2878 }
2875 }
2879
2876
2880 }
2877 }
2881 }
2878 }
2882
2879
2883
2880
2884 // TODO: johbo: Fix for IE10, this avoids that we see a border
2881 // TODO: johbo: Fix for IE10, this avoids that we see a border
2885 // and padding around checkboxes and radio boxes. Move to the right place,
2882 // and padding around checkboxes and radio boxes. Move to the right place,
2886 // or better: Remove this once we did the form refactoring.
2883 // or better: Remove this once we did the form refactoring.
2887 input[type=checkbox],
2884 input[type=checkbox],
2888 input[type=radio] {
2885 input[type=radio] {
2889 padding: 0;
2886 padding: 0;
2890 border: none;
2887 border: none;
2891 }
2888 }
2892
2889
2893 .toggle-ajax-spinner{
2890 .toggle-ajax-spinner{
2894 height: 16px;
2891 height: 16px;
2895 width: 16px;
2892 width: 16px;
2896 }
2893 }
2897
2894
2898
2895
2899 .markup-form .clearfix {
2896 .markup-form .clearfix {
2900 .border-radius(@border-radius);
2897 .border-radius(@border-radius);
2901 margin: 0px;
2898 margin: 0px;
2902 }
2899 }
2903
2900
2904 .markup-form-area {
2901 .markup-form-area {
2905 padding: 8px 12px;
2902 padding: 8px 12px;
2906 border: 1px solid @grey4;
2903 border: 1px solid @grey4;
2907 .border-radius(@border-radius);
2904 .border-radius(@border-radius);
2908 }
2905 }
2909
2906
2910 .markup-form-area-header .nav-links {
2907 .markup-form-area-header .nav-links {
2911 display: flex;
2908 display: flex;
2912 flex-flow: row wrap;
2909 flex-flow: row wrap;
2913 -webkit-flex-flow: row wrap;
2910 -webkit-flex-flow: row wrap;
2914 width: 100%;
2911 width: 100%;
2915 }
2912 }
2916
2913
2917 .markup-form-area-footer {
2914 .markup-form-area-footer {
2918 display: flex;
2915 display: flex;
2919 }
2916 }
2920
2917
2921 .markup-form-area-footer .toolbar {
2918 .markup-form-area-footer .toolbar {
2922
2919
2923 }
2920 }
2924
2921
2925 // markup Form
2922 // markup Form
2926 div.markup-form {
2923 div.markup-form {
2927 margin-top: 20px;
2924 margin-top: 20px;
2928 }
2925 }
2929
2926
2930 .markup-form strong {
2927 .markup-form strong {
2931 display: block;
2928 display: block;
2932 margin-bottom: 15px;
2929 margin-bottom: 15px;
2933 }
2930 }
2934
2931
2935 .markup-form textarea {
2932 .markup-form textarea {
2936 width: 100%;
2933 width: 100%;
2937 height: 100px;
2934 height: 100px;
2938 font-family: @text-monospace;
2935 font-family: @text-monospace;
2939 }
2936 }
2940
2937
2941 form.markup-form {
2938 form.markup-form {
2942 margin-top: 10px;
2939 margin-top: 10px;
2943 margin-left: 10px;
2940 margin-left: 10px;
2944 }
2941 }
2945
2942
2946 .markup-form .comment-block-ta,
2943 .markup-form .comment-block-ta,
2947 .markup-form .preview-box {
2944 .markup-form .preview-box {
2948 .border-radius(@border-radius);
2945 .border-radius(@border-radius);
2949 .box-sizing(border-box);
2946 .box-sizing(border-box);
2950 background-color: white;
2947 background-color: white;
2951 }
2948 }
2952
2949
2953 .markup-form .preview-box.unloaded {
2950 .markup-form .preview-box.unloaded {
2954 height: 50px;
2951 height: 50px;
2955 text-align: center;
2952 text-align: center;
2956 padding: 20px;
2953 padding: 20px;
2957 background-color: white;
2954 background-color: white;
2958 }
2955 }
2959
2956
2960
2957
2961 .dropzone-wrapper {
2958 .dropzone-wrapper {
2962 border: 1px solid @grey5;
2959 border: 1px solid @grey5;
2963 padding: 20px;
2960 padding: 20px;
2964 }
2961 }
2965
2962
2966 .dropzone,
2963 .dropzone,
2967 .dropzone-pure {
2964 .dropzone-pure {
2968 border: 2px dashed @grey5;
2965 border: 2px dashed @grey5;
2969 border-radius: 5px;
2966 border-radius: 5px;
2970 background: white;
2967 background: white;
2971 min-height: 200px;
2968 min-height: 200px;
2972 padding: 54px;
2969 padding: 54px;
2973
2970
2974 .dz-message {
2971 .dz-message {
2975 font-weight: 700;
2972 font-weight: 700;
2976 text-align: center;
2973 text-align: center;
2977 margin: 2em 0;
2974 margin: 2em 0;
2978 }
2975 }
2979
2976
2980 }
2977 }
2981
2978
2982 .dz-preview {
2979 .dz-preview {
2983 margin: 10px 0 !important;
2980 margin: 10px 0 !important;
2984 position: relative;
2981 position: relative;
2985 vertical-align: top;
2982 vertical-align: top;
2986 padding: 10px;
2983 padding: 10px;
2987 border-bottom: 1px solid @grey5;
2984 border-bottom: 1px solid @grey5;
2988 }
2985 }
2989
2986
2990 .dz-filename {
2987 .dz-filename {
2991 font-weight: 700;
2988 font-weight: 700;
2992 float: left;
2989 float: left;
2993 }
2990 }
2994
2991
2995 .dz-sending {
2992 .dz-sending {
2996 float: right;
2993 float: right;
2997 }
2994 }
2998
2995
2999 .dz-response {
2996 .dz-response {
3000 clear: both
2997 clear: both
3001 }
2998 }
3002
2999
3003 .dz-filename-size {
3000 .dz-filename-size {
3004 float: right
3001 float: right
3005 }
3002 }
3006
3003
3007 .dz-error-message {
3004 .dz-error-message {
3008 color: @alert2;
3005 color: @alert2;
3009 padding-top: 10px;
3006 padding-top: 10px;
3010 clear: both;
3007 clear: both;
3011 }
3008 }
3012
3009
3013
3010
3014 .user-hovercard {
3011 .user-hovercard {
3015 padding: 5px;
3012 padding: 5px;
3016 }
3013 }
3017
3014
3018 .user-hovercard-icon {
3015 .user-hovercard-icon {
3019 display: inline;
3016 display: inline;
3020 padding: 0;
3017 padding: 0;
3021 box-sizing: content-box;
3018 box-sizing: content-box;
3022 border-radius: 50%;
3019 border-radius: 50%;
3023 float: left;
3020 float: left;
3024 }
3021 }
3025
3022
3026 .user-hovercard-name {
3023 .user-hovercard-name {
3027 float: right;
3024 float: right;
3028 vertical-align: top;
3025 vertical-align: top;
3029 padding-left: 10px;
3026 padding-left: 10px;
3030 min-width: 150px;
3027 min-width: 150px;
3031 }
3028 }
3032
3029
3033 .user-hovercard-bio {
3030 .user-hovercard-bio {
3034 clear: both;
3031 clear: both;
3035 padding-top: 10px;
3032 padding-top: 10px;
3036 }
3033 }
3037
3034
3038 .user-hovercard-header {
3035 .user-hovercard-header {
3039 clear: both;
3036 clear: both;
3040 min-height: 10px;
3037 min-height: 10px;
3041 }
3038 }
3042
3039
3043 .user-hovercard-footer {
3040 .user-hovercard-footer {
3044 clear: both;
3041 clear: both;
3045 min-height: 10px;
3042 min-height: 10px;
3046 }
3043 }
3047
3044
3048 .user-group-hovercard {
3045 .user-group-hovercard {
3049 padding: 5px;
3046 padding: 5px;
3050 }
3047 }
3051
3048
3052 .user-group-hovercard-icon {
3049 .user-group-hovercard-icon {
3053 display: inline;
3050 display: inline;
3054 padding: 0;
3051 padding: 0;
3055 box-sizing: content-box;
3052 box-sizing: content-box;
3056 border-radius: 50%;
3053 border-radius: 50%;
3057 float: left;
3054 float: left;
3058 }
3055 }
3059
3056
3060 .user-group-hovercard-name {
3057 .user-group-hovercard-name {
3061 float: left;
3058 float: left;
3062 vertical-align: top;
3059 vertical-align: top;
3063 padding-left: 10px;
3060 padding-left: 10px;
3064 min-width: 150px;
3061 min-width: 150px;
3065 }
3062 }
3066
3063
3067 .user-group-hovercard-icon i {
3064 .user-group-hovercard-icon i {
3068 border: 1px solid @grey4;
3065 border: 1px solid @grey4;
3069 border-radius: 4px;
3066 border-radius: 4px;
3070 }
3067 }
3071
3068
3072 .user-group-hovercard-bio {
3069 .user-group-hovercard-bio {
3073 clear: both;
3070 clear: both;
3074 padding-top: 10px;
3071 padding-top: 10px;
3075 line-height: 1.0em;
3072 line-height: 1.0em;
3076 }
3073 }
3077
3074
3078 .user-group-hovercard-header {
3075 .user-group-hovercard-header {
3079 clear: both;
3076 clear: both;
3080 min-height: 10px;
3077 min-height: 10px;
3081 }
3078 }
3082
3079
3083 .user-group-hovercard-footer {
3080 .user-group-hovercard-footer {
3084 clear: both;
3081 clear: both;
3085 min-height: 10px;
3082 min-height: 10px;
3086 }
3083 }
3087
3084
3088 .pr-hovercard-header {
3085 .pr-hovercard-header {
3089 clear: both;
3086 clear: both;
3090 display: block;
3087 display: block;
3091 line-height: 20px;
3088 line-height: 20px;
3092 }
3089 }
3093
3090
3094 .pr-hovercard-user {
3091 .pr-hovercard-user {
3095 display: flex;
3092 display: flex;
3096 align-items: center;
3093 align-items: center;
3097 padding-left: 5px;
3094 padding-left: 5px;
3098 }
3095 }
3099
3096
3100 .pr-hovercard-title {
3097 .pr-hovercard-title {
3101 padding-top: 5px;
3098 padding-top: 5px;
3102 }
3099 }
3103
3100
3104 .action-divider {
3101 .action-divider {
3105 opacity: 0.5;
3102 opacity: 0.5;
3106 }
3103 }
3107
3104
3108 .details-inline-block {
3105 .details-inline-block {
3109 display: inline-block;
3106 display: inline-block;
3110 position: relative;
3107 position: relative;
3111 }
3108 }
3112
3109
3113 .details-inline-block summary {
3110 .details-inline-block summary {
3114 list-style: none;
3111 list-style: none;
3115 }
3112 }
3116
3113
3117 details:not([open]) > :not(summary) {
3114 details:not([open]) > :not(summary) {
3118 display: none !important;
3115 display: none !important;
3119 }
3116 }
3120
3117
3121 .details-reset > summary {
3118 .details-reset > summary {
3122 list-style: none;
3119 list-style: none;
3123 }
3120 }
3124
3121
3125 .details-reset > summary::-webkit-details-marker {
3122 .details-reset > summary::-webkit-details-marker {
3126 display: none;
3123 display: none;
3127 }
3124 }
3128
3125
3129 .details-dropdown {
3126 .details-dropdown {
3130 position: absolute;
3127 position: absolute;
3131 top: 100%;
3128 top: 100%;
3132 width: 185px;
3129 width: 185px;
3133 list-style: none;
3130 list-style: none;
3134 background-color: #fff;
3131 background-color: #fff;
3135 background-clip: padding-box;
3132 background-clip: padding-box;
3136 border: 1px solid @grey5;
3133 border: 1px solid @grey5;
3137 box-shadow: 0 8px 24px rgba(149, 157, 165, .2);
3134 box-shadow: 0 8px 24px rgba(149, 157, 165, .2);
3138 left: -150px;
3135 left: -150px;
3139 text-align: left;
3136 text-align: left;
3140 z-index: 90;
3137 z-index: 90;
3141 }
3138 }
3142
3139
3143 .dropdown-divider {
3140 .dropdown-divider {
3144 display: block;
3141 display: block;
3145 height: 0;
3142 height: 0;
3146 margin: 8px 0;
3143 margin: 8px 0;
3147 border-top: 1px solid @grey5;
3144 border-top: 1px solid @grey5;
3148 }
3145 }
3149
3146
3150 .dropdown-item {
3147 .dropdown-item {
3151 display: block;
3148 display: block;
3152 padding: 4px 8px 4px 16px;
3149 padding: 4px 8px 4px 16px;
3153 overflow: hidden;
3150 overflow: hidden;
3154 text-overflow: ellipsis;
3151 text-overflow: ellipsis;
3155 white-space: nowrap;
3152 white-space: nowrap;
3156 font-weight: normal;
3153 font-weight: normal;
3157 }
3154 }
3158
3155
3159 .right-sidebar {
3156 .right-sidebar {
3160 position: fixed;
3157 position: fixed;
3161 top: 0px;
3158 top: 0px;
3162 bottom: 0;
3159 bottom: 0;
3163 right: 0;
3160 right: 0;
3164
3161
3165 background: #fafafa;
3162 background: #fafafa;
3166 z-index: 50;
3163 z-index: 50;
3167 }
3164 }
3168
3165
3169 .right-sidebar {
3166 .right-sidebar {
3170 border-left: 1px solid @grey5;
3167 border-left: 1px solid @grey5;
3171 }
3168 }
3172
3169
3173 .right-sidebar.right-sidebar-expanded {
3170 .right-sidebar.right-sidebar-expanded {
3174 width: 300px;
3171 width: 300px;
3175 overflow: scroll;
3172 overflow: scroll;
3176 }
3173 }
3177
3174
3178 .right-sidebar.right-sidebar-collapsed {
3175 .right-sidebar.right-sidebar-collapsed {
3179 width: 40px;
3176 width: 40px;
3180 padding: 0;
3177 padding: 0;
3181 display: block;
3178 display: block;
3182 overflow: hidden;
3179 overflow: hidden;
3183 }
3180 }
3184
3181
3185 .sidenav {
3182 .sidenav {
3186 float: right;
3183 float: right;
3187 will-change: min-height;
3184 will-change: min-height;
3188 background: #fafafa;
3185 background: #fafafa;
3189 width: 100%;
3186 width: 100%;
3190 }
3187 }
3191
3188
3192 .sidebar-toggle {
3189 .sidebar-toggle {
3193 height: 30px;
3190 height: 30px;
3194 text-align: center;
3191 text-align: center;
3195 margin: 15px 0px 0 0;
3192 margin: 15px 0px 0 0;
3196 }
3193 }
3197
3194
3198 .sidebar-toggle a {
3195 .sidebar-toggle a {
3199
3196
3200 }
3197 }
3201
3198
3202 .sidebar-content {
3199 .sidebar-content {
3203 margin-left: 15px;
3200 margin-left: 15px;
3204 margin-right: 15px;
3201 margin-right: 15px;
3205 }
3202 }
3206
3203
3207 .sidebar-heading {
3204 .sidebar-heading {
3208 font-size: 1.2em;
3205 font-size: 1.2em;
3209 font-weight: 700;
3206 font-weight: 700;
3210 margin-top: 10px;
3207 margin-top: 10px;
3211 }
3208 }
3212
3209
3213 .sidebar-element {
3210 .sidebar-element {
3214 margin-top: 20px;
3211 margin-top: 20px;
3215
3212
3216 .icon-draft {
3213 .icon-draft {
3217 color: @color-draft
3214 color: @color-draft
3218 }
3215 }
3219 }
3216 }
3220
3217
3221
3218
3222 .right-sidebar-collapsed-state {
3219 .right-sidebar-collapsed-state {
3223 display: flex;
3220 display: flex;
3224 flex-direction: column;
3221 flex-direction: column;
3225 justify-content: center;
3222 justify-content: center;
3226 align-items: center;
3223 align-items: center;
3227 padding: 0 10px;
3224 padding: 0 10px;
3228 cursor: pointer;
3225 cursor: pointer;
3229 font-size: 1.3em;
3226 font-size: 1.3em;
3230 margin: 0 -15px;
3227 margin: 0 -15px;
3231 }
3228 }
3232
3229
3233 .right-sidebar-collapsed-state:hover {
3230 .right-sidebar-collapsed-state:hover {
3234 background-color: @grey5;
3231 background-color: @grey5;
3235 }
3232 }
3236
3233
3237 .old-comments-marker {
3234 .old-comments-marker {
3238 text-align: left;
3235 text-align: left;
3239 }
3236 }
3240
3237
3241 .old-comments-marker td {
3238 .old-comments-marker td {
3242 padding-top: 15px;
3239 padding-top: 15px;
3243 }
3240 }
@@ -1,106 +1,106 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.mako"/>
2 <%inherit file="base/root.mako"/>
3
3
4 <%def name="title()">
4 <%def name="title()">
5 ${_('Sign In')}
5 ${_('Sign In')}
6 %if c.rhodecode_name:
6 %if c.rhodecode_name:
7 &middot; ${h.branding(c.rhodecode_name)}
7 &middot; ${h.branding(c.rhodecode_name)}
8 %endif
8 %endif
9 </%def>
9 </%def>
10
10
11 <style>body{background-color:#eeeeee;}</style>
11 <style>body{background-color:#eeeeee;}</style>
12 <div class="loginbox">
12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 <div id="header-inner" class="title">
14 <div id="header-inner" class="title">
15 <div id="logo">
15 <div id="logo">
16 <div class="logo-wrapper">
16 <div class="logo-wrapper">
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 </div>
18 </div>
19 % if c.rhodecode_name:
19 % if c.rhodecode_name:
20 <div class="branding">
20 <div class="branding">
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 </div>
22 </div>
23 % endif
23 % endif
24 </div>
24 </div>
25 </div>
25 </div>
26 </div>
26 </div>
27
27
28 <div class="loginwrapper">
28 <div class="loginwrapper">
29 <rhodecode-toast id="notifications"></rhodecode-toast>
29 <rhodecode-toast id="notifications"></rhodecode-toast>
30
30
31 <div class="left-column">
31 <div class="left-column">
32 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
32 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
33 </div>
33 </div>
34
34
35 <%block name="above_login_button" />
35 <%block name="above_login_button" />
36 <div id="login" class="right-column">
36 <div id="login" class="right-column">
37 <!-- login -->
37 <!-- login -->
38 <div class="sign-in-title">
38 <div class="sign-in-title">
39 <h1>${_('Sign In using username/password')}</h1>
39 <h1>${_('Sign In using username/password')}</h1>
40 </div>
40 </div>
41 <div class="inner form">
41 <div class="inner form">
42 ${h.form(request.route_path('login', _query={'came_from': c.came_from}), needs_csrf_token=False)}
42 ${h.form(request.route_path('login', _query={'came_from': c.came_from}), needs_csrf_token=False)}
43
43
44 <label for="username">${_('Username')}:</label>
44 <label for="username">${_('Username')}:</label>
45 ${h.text('username', class_='focus', value=defaults.get('username'))}
45 ${h.text('username', class_='focus', value=defaults.get('username'))}
46 %if 'username' in errors:
46 %if 'username' in errors:
47 <span class="error-message">${errors.get('username')}</span>
47 <span class="error-message">${errors.get('username')}</span>
48 <br />
48 <br />
49 %endif
49 %endif
50
50
51 <label for="password">${_('Password')}:
51 <label for="password">${_('Password')}:
52 %if h.HasPermissionAny('hg.password_reset.enabled')():
52 %if h.HasPermissionAny('hg.password_reset.enabled')():
53 <div class="pull-right">${h.link_to(_('Forgot your password?'), h.route_path('reset_password'), class_='pwd_reset', tabindex="-1")}</div>
53 <div class="pull-right">${h.link_to(_('Forgot your password?'), h.route_path('reset_password'), class_='pwd_reset', tabindex="-1")}</div>
54 %endif
54 %endif
55
55
56 </label>
56 </label>
57 ${h.password('password', class_='focus')}
57 ${h.password('password', class_='focus')}
58 %if 'password' in errors:
58 %if 'password' in errors:
59 <span class="error-message">${errors.get('password')}</span>
59 <span class="error-message">${errors.get('password')}</span>
60 <br />
60 <br />
61 %endif
61 %endif
62
62
63 ${h.checkbox('remember', value=True, checked=defaults.get('remember'))}
63 ${h.checkbox('remember', value=True, checked=defaults.get('remember'))}
64 <% timeout = request.registry.settings.get('beaker.session.timeout', '0') %>
64 <% timeout = request.registry.settings.get('beaker.session.timeout', '0') %>
65 % if timeout == '0':
65 % if timeout == '0':
66 <% remember_label = _('Remember my indefinitely') %>
66 <% remember_label = _('Remember my indefinitely') %>
67 % else:
67 % else:
68 <% remember_label = _('Remember me for {}').format(h.age_from_seconds(timeout)) %>
68 <% remember_label = _('Remember me for {}').format(h.age_from_seconds(timeout)) %>
69 % endif
69 % endif
70 <label class="checkbox" for="remember">${remember_label}</label>
70 <label class="checkbox" for="remember">${remember_label}</label>
71
71
72 <p class="links">
72 <p class="links">
73 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
73 %if h.HasPermissionAny('hg.admin', 'hg.register.auto_activate', 'hg.register.manual_activate')():
74 ${h.link_to(_("Create a new account."), request.route_path('register'), class_='new_account')}
74 ${h.link_to(_("Create a new account."), request.route_path('register'), class_='new_account')}
75 %endif
75 %endif
76 </p>
76 </p>
77
77
78 %if not h.HasPermissionAny('hg.password_reset.enabled')():
78 %if not h.HasPermissionAny('hg.password_reset.enabled')():
79 ## password reset hidden or disabled.
79 ## password reset hidden or disabled.
80 <p class="help-block">
80 <p class="help-block">
81 ${_('Password reset is disabled.')} <br/>
81 ${_('Password reset is disabled.')} <br/>
82 ${_('Please contact ')}
82 ${_('Please contact ')}
83 % if c.visual.rhodecode_support_url:
83 % if c.visual.rhodecode_support_url:
84 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
84 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
85 ${_('or')}
85 ${_('or')}
86 % endif
86 % endif
87 ${_('an administrator if you need help.')}
87 ${_('an administrator if you need help.')}
88 </p>
88 </p>
89 %endif
89 %endif
90
90
91 ${h.submit('sign_in', _('Sign In'), class_="btn sign-in", title=_('Sign in to {}').format(c.rhodecode_edition))}
91 ${h.submit('sign_in', _('Sign In'), class_="btn sign-in", title=_('Sign in to {}').format(c.rhodecode_edition))}
92
92
93 ${h.end_form()}
93 ${h.end_form()}
94 <script type="text/javascript">
94 <script type="text/javascript">
95 $(document).ready(function(){
95 $(document).ready(function(){
96 $('#username').focus();
96 $('#username').focus();
97 })
97 })
98 </script>
98 </script>
99
99
100 </div>
100 </div>
101 <!-- end login -->
101 <!-- end login -->
102
102
103 <%block name="below_login_button" />
103 <%block name="below_login_button" />
104 </div>
104 </div>
105 </div>
105 </div>
106 </div>
106 </div>
@@ -1,103 +1,103 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.mako"/>
2 <%inherit file="base/root.mako"/>
3
3
4 <%def name="title()">
4 <%def name="title()">
5 ${_('Reset Password')}
5 ${_('Reset Password')}
6 %if c.rhodecode_name:
6 %if c.rhodecode_name:
7 &middot; ${h.branding(c.rhodecode_name)}
7 &middot; ${h.branding(c.rhodecode_name)}
8 %endif
8 %endif
9 </%def>
9 </%def>
10 <style>body{background-color:#eeeeee;}</style>
10 <style>body{background-color:#eeeeee;}</style>
11
11
12 <div class="loginbox">
12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 <div id="header-inner" class="title">
14 <div id="header-inner" class="title">
15 <div id="logo">
15 <div id="logo">
16 <div class="logo-wrapper">
16 <div class="logo-wrapper">
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 </div>
18 </div>
19 % if c.rhodecode_name:
19 % if c.rhodecode_name:
20 <div class="branding">
20 <div class="branding">
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 </div>
22 </div>
23 % endif
23 % endif
24 </div>
24 </div>
25 </div>
25 </div>
26 </div>
26 </div>
27
27
28 <div class="loginwrapper">
28 <div class="loginwrapper">
29 <rhodecode-toast id="notifications"></rhodecode-toast>
29 <rhodecode-toast id="notifications"></rhodecode-toast>
30 <div class="left-column">
30 <div class="left-column">
31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
32 </div>
32 </div>
33
33
34 %if h.HasPermissionAny('hg.password_reset.disabled')():
34 %if h.HasPermissionAny('hg.password_reset.disabled')():
35 <div class="right-column">
35 <div class="right-column">
36 <p>
36 <p>
37 ${_('Password reset is disabled. Please contact ')}
37 ${_('Password reset is disabled. Please contact ')}
38 % if c.visual.rhodecode_support_url:
38 % if c.visual.rhodecode_support_url:
39 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
39 <a href="${c.visual.rhodecode_support_url}" target="_blank">${_('Support')}</a>
40 ${_('or')}
40 ${_('or')}
41 % endif
41 % endif
42 ${_('an administrator if you need help.')}
42 ${_('an administrator if you need help.')}
43 </p>
43 </p>
44 </div>
44 </div>
45 %else:
45 %else:
46 <div id="register" class="right-column">
46 <div id="register" class="right-column">
47 <!-- login -->
47 <!-- login -->
48 <div class="sign-in-title">
48 <div class="sign-in-title">
49 <h1>${_('Reset your Password')}</h1>
49 <h1>${_('Reset your Password')}</h1>
50 <h4>${h.link_to(_("Go to the login page to sign in."), request.route_path('login'))}</h4>
50 <h4>${h.link_to(_("Go to the login page to sign in."), request.route_path('login'))}</h4>
51 </div>
51 </div>
52 <div class="inner form">
52 <div class="inner form">
53 ${h.form(request.route_path('reset_password'), needs_csrf_token=False)}
53 ${h.form(request.route_path('reset_password'), needs_csrf_token=False)}
54 <label for="email">${_('Email Address')}:</label>
54 <label for="email">${_('Email Address')}:</label>
55 ${h.text('email', defaults.get('email'))}
55 ${h.text('email', defaults.get('email'))}
56 %if 'email' in errors:
56 %if 'email' in errors:
57 <span class="error-message">${errors.get('email')}</span>
57 <span class="error-message">${errors.get('email')}</span>
58 <br />
58 <br />
59 %endif
59 %endif
60 <p class="help-block">${_('Password reset link will be sent to matching email address')}</p>
60 <p class="help-block">${_('Password reset link will be sent to matching email address')}</p>
61
61
62 %if captcha_active:
62 %if captcha_active:
63 <div class="login-captcha">
63 <div class="login-captcha">
64 <label for="email">${_('Captcha')}:</label>
64 <label for="email">${_('Captcha')}:</label>
65 ${h.hidden('recaptcha_field')}
65 ${h.hidden('recaptcha_field')}
66 <div id="recaptcha"></div>
66 <div id="recaptcha"></div>
67
67
68 %if 'recaptcha_field' in errors:
68 %if 'recaptcha_field' in errors:
69 <span class="error-message">${errors.get('recaptcha_field')}</span>
69 <span class="error-message">${errors.get('recaptcha_field')}</span>
70 <br />
70 <br />
71 %endif
71 %endif
72 </div>
72 </div>
73 %endif
73 %endif
74
74
75 ${h.submit('send', _('Send password reset email'), class_="btn sign-in")}
75 ${h.submit('send', _('Send password reset email'), class_="btn sign-in")}
76 <p class="help-block pull-right">
76 <p class="help-block pull-right">
77 RhodeCode ${c.rhodecode_edition}
77 RhodeCode ${c.rhodecode_edition}
78 </p>
78 </p>
79
79
80 ${h.end_form()}
80 ${h.end_form()}
81 </div>
81 </div>
82 </div>
82 </div>
83 %endif
83 %endif
84 </div>
84 </div>
85 </div>
85 </div>
86
86
87 <script type="text/javascript">
87 <script type="text/javascript">
88 $(document).ready(function(){
88 $(document).ready(function(){
89 $('#email').focus();
89 $('#email').focus();
90 });
90 });
91 </script>
91 </script>
92
92
93 % if captcha_active:
93 % if captcha_active:
94 <script type="text/javascript">
94 <script type="text/javascript">
95 var onloadCallback = function() {
95 var onloadCallback = function() {
96 grecaptcha.render('recaptcha', {
96 grecaptcha.render('recaptcha', {
97 'sitekey' : "${captcha_public_key}"
97 'sitekey' : "${captcha_public_key}"
98 });
98 });
99 };
99 };
100 </script>
100 </script>
101 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
101 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
102 % endif
102 % endif
103
103
@@ -1,148 +1,148 b''
1 ## -*- coding: utf-8 -*-
1 ## -*- coding: utf-8 -*-
2 <%inherit file="base/root.mako"/>
2 <%inherit file="base/root.mako"/>
3
3
4 <%def name="title()">
4 <%def name="title()">
5 ${_('Create an Account')}
5 ${_('Create an Account')}
6 %if c.rhodecode_name:
6 %if c.rhodecode_name:
7 &middot; ${h.branding(c.rhodecode_name)}
7 &middot; ${h.branding(c.rhodecode_name)}
8 %endif
8 %endif
9 </%def>
9 </%def>
10 <style>body{background-color:#eeeeee;}</style>
10 <style>body{background-color:#eeeeee;}</style>
11
11
12 <div class="loginbox">
12 <div class="loginbox">
13 <div class="header">
13 <div class="header-account">
14 <div id="header-inner" class="title">
14 <div id="header-inner" class="title">
15 <div id="logo">
15 <div id="logo">
16 <div class="logo-wrapper">
16 <div class="logo-wrapper">
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
17 <a href="${h.route_path('home')}"><img src="${h.asset('images/rhodecode-logo-white-60x60.png')}" alt="RhodeCode"/></a>
18 </div>
18 </div>
19 % if c.rhodecode_name:
19 % if c.rhodecode_name:
20 <div class="branding">
20 <div class="branding">
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
21 <a href="${h.route_path('home')}">${h.branding(c.rhodecode_name)}</a>
22 </div>
22 </div>
23 % endif
23 % endif
24 </div>
24 </div>
25 </div>
25 </div>
26 </div>
26 </div>
27
27
28 <div class="loginwrapper">
28 <div class="loginwrapper">
29 <rhodecode-toast id="notifications"></rhodecode-toast>
29 <rhodecode-toast id="notifications"></rhodecode-toast>
30 <div class="left-column">
30 <div class="left-column">
31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
31 <img class="sign-in-image" src="${h.asset('images/sign-in.png')}" alt="RhodeCode"/>
32 </div>
32 </div>
33 <%block name="above_register_button" />
33 <%block name="above_register_button" />
34 <div id="register" class="right-column">
34 <div id="register" class="right-column">
35 <!-- login -->
35 <!-- login -->
36 <div class="sign-in-title">
36 <div class="sign-in-title">
37 % if external_auth_provider:
37 % if external_auth_provider:
38 <h1>${_('Create an account linked with {}').format(external_auth_provider)}</h1>
38 <h1>${_('Create an account linked with {}').format(external_auth_provider)}</h1>
39 % else:
39 % else:
40 <h1>${_('Create an account')}</h1>
40 <h1>${_('Create an account')}</h1>
41 % endif
41 % endif
42
42
43 <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4>
43 <h4>${h.link_to(_("Go to the login page to sign in with an existing account."), request.route_path('login'))}</h4>
44 </div>
44 </div>
45 <div class="inner form">
45 <div class="inner form">
46 ${h.form(request.route_path('register'), needs_csrf_token=False)}
46 ${h.form(request.route_path('register'), needs_csrf_token=False)}
47
47
48 <label for="username">${_('Username')}:</label>
48 <label for="username">${_('Username')}:</label>
49 ${h.text('username', defaults.get('username'))}
49 ${h.text('username', defaults.get('username'))}
50 %if 'username' in errors:
50 %if 'username' in errors:
51 <span class="error-message">${errors.get('username')}</span>
51 <span class="error-message">${errors.get('username')}</span>
52 <br />
52 <br />
53 %endif
53 %endif
54
54
55 % if external_auth_provider:
55 % if external_auth_provider:
56 ## store internal marker about external identity
56 ## store internal marker about external identity
57 ${h.hidden('external_identity', external_auth_provider)}
57 ${h.hidden('external_identity', external_auth_provider)}
58 ## hide password prompts for social auth
58 ## hide password prompts for social auth
59 <div style="display: none">
59 <div style="display: none">
60 % endif
60 % endif
61
61
62 <label for="password">${_('Password')}:</label>
62 <label for="password">${_('Password')}:</label>
63 ${h.password('password', defaults.get('password'))}
63 ${h.password('password', defaults.get('password'))}
64 %if 'password' in errors:
64 %if 'password' in errors:
65 <span class="error-message">${errors.get('password')}</span>
65 <span class="error-message">${errors.get('password')}</span>
66 <br />
66 <br />
67 %endif
67 %endif
68
68
69 <label for="password_confirmation">${_('Re-enter password')}:</label>
69 <label for="password_confirmation">${_('Re-enter password')}:</label>
70 ${h.password('password_confirmation', defaults.get('password_confirmation'))}
70 ${h.password('password_confirmation', defaults.get('password_confirmation'))}
71 %if 'password_confirmation' in errors:
71 %if 'password_confirmation' in errors:
72 <span class="error-message">${errors.get('password_confirmation')}</span>
72 <span class="error-message">${errors.get('password_confirmation')}</span>
73 <br />
73 <br />
74 %endif
74 %endif
75
75
76 % if external_auth_provider:
76 % if external_auth_provider:
77 ## hide password prompts for social auth
77 ## hide password prompts for social auth
78 </div>
78 </div>
79 % endif
79 % endif
80
80
81 <label for="firstname">${_('First Name')}:</label>
81 <label for="firstname">${_('First Name')}:</label>
82 ${h.text('firstname', defaults.get('firstname'))}
82 ${h.text('firstname', defaults.get('firstname'))}
83 %if 'firstname' in errors:
83 %if 'firstname' in errors:
84 <span class="error-message">${errors.get('firstname')}</span>
84 <span class="error-message">${errors.get('firstname')}</span>
85 <br />
85 <br />
86 %endif
86 %endif
87
87
88 <label for="lastname">${_('Last Name')}:</label>
88 <label for="lastname">${_('Last Name')}:</label>
89 ${h.text('lastname', defaults.get('lastname'))}
89 ${h.text('lastname', defaults.get('lastname'))}
90 %if 'lastname' in errors:
90 %if 'lastname' in errors:
91 <span class="error-message">${errors.get('lastname')}</span>
91 <span class="error-message">${errors.get('lastname')}</span>
92 <br />
92 <br />
93 %endif
93 %endif
94
94
95 <label for="email">${_('Email')}:</label>
95 <label for="email">${_('Email')}:</label>
96 ${h.text('email', defaults.get('email'))}
96 ${h.text('email', defaults.get('email'))}
97 %if 'email' in errors:
97 %if 'email' in errors:
98 <span class="error-message">${errors.get('email')}</span>
98 <span class="error-message">${errors.get('email')}</span>
99 <br />
99 <br />
100 %endif
100 %endif
101
101
102 %if captcha_active:
102 %if captcha_active:
103 <div>
103 <div>
104 <label for="recaptcha">${_('Captcha')}:</label>
104 <label for="recaptcha">${_('Captcha')}:</label>
105 ${h.hidden('recaptcha_field')}
105 ${h.hidden('recaptcha_field')}
106 <div id="recaptcha"></div>
106 <div id="recaptcha"></div>
107 %if 'recaptcha_field' in errors:
107 %if 'recaptcha_field' in errors:
108 <span class="error-message">${errors.get('recaptcha_field')}</span>
108 <span class="error-message">${errors.get('recaptcha_field')}</span>
109 <br />
109 <br />
110 %endif
110 %endif
111 </div>
111 </div>
112 %endif
112 %endif
113
113
114 %if not auto_active:
114 %if not auto_active:
115 <p class="activation_msg">
115 <p class="activation_msg">
116 ${_('Account activation requires admin approval.')}
116 ${_('Account activation requires admin approval.')}
117 </p>
117 </p>
118 %endif
118 %endif
119 <p class="register_message">
119 <p class="register_message">
120 ${register_message|n}
120 ${register_message|n}
121 </p>
121 </p>
122
122
123 ${h.submit('sign_up',_('Create Account'), class_="btn sign-in", title=_('Create Account in {}').format(c.rhodecode_edition))}
123 ${h.submit('sign_up',_('Create Account'), class_="btn sign-in", title=_('Create Account in {}').format(c.rhodecode_edition))}
124 ${h.end_form()}
124 ${h.end_form()}
125 </div>
125 </div>
126 <%block name="below_register_button" />
126 <%block name="below_register_button" />
127 </div>
127 </div>
128 </div>
128 </div>
129 </div>
129 </div>
130
130
131
131
132 <script type="text/javascript">
132 <script type="text/javascript">
133 $(document).ready(function(){
133 $(document).ready(function(){
134 $('#username').focus();
134 $('#username').focus();
135 });
135 });
136 </script>
136 </script>
137
137
138 % if captcha_active:
138 % if captcha_active:
139 <script type="text/javascript">
139 <script type="text/javascript">
140 var onloadCallback = function() {
140 var onloadCallback = function() {
141 grecaptcha.render('recaptcha', {
141 grecaptcha.render('recaptcha', {
142 'sitekey' : "${captcha_public_key}"
142 'sitekey' : "${captcha_public_key}"
143 });
143 });
144 };
144 };
145 </script>
145 </script>
146 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
146 <script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
147 % endif
147 % endif
148
148
General Comments 0
You need to be logged in to leave comments. Login now