##// END OF EJS Templates
summary: disconnect readme rendering data from the comments....
marcink -
r1731:f47b23e5 default
parent child Browse files
Show More
@@ -0,0 +1,252 b''
1 /** README styling **/
2 div.readme_box {
3 clear: both;
4 overflow: hidden;
5 margin: 0;
6 padding: 3px 15px 3px;
7 }
8
9 div.readme_box h1,
10 div.readme_box h2,
11 div.readme_box h3,
12 div.readme_box h4,
13 div.readme_box h5,
14 div.readme_box h6 {
15 border-bottom: none !important;
16 padding: 0 !important;
17 overflow: visible !important;
18 }
19
20 div.readme_box h1 {
21 font-size: 32px;
22 margin: 15px 0 15px 0 !important;
23 padding-bottom: 5px !important;
24 }
25
26 div.readme_box h2 {
27 font-size: 24px !important;
28 margin: 34px 0 10px 0 !important;
29 border-top: 3px #e6e5e5 solid !important;
30 padding-top: 15px !important;
31 padding-bottom: 8px !important;
32 }
33
34 div.readme_box h3 {
35 font-size: 18px !important;
36 margin: 30px 0 8px 0 !important;
37 padding-bottom: 2px !important;
38 }
39
40 div.readme_box h4 {
41 font-size: 13px !important;
42 margin: 18px 0 3px 0 !important;
43 }
44
45 div.readme_box h5 {
46 font-size: 12px !important;
47 margin: 15px 0 3px 0 !important;
48 }
49
50 div.readme_box h6 {
51 font-size: 12px;
52 color: #777777;
53 margin: 15px 0 3px 0 !important;
54 }
55
56 div.readme_box hr {
57 border: 0;
58 color: #e6e5e5;
59 background-color: #e6e5e5;
60 height: 3px;
61 margin-bottom: 13px;
62 }
63
64 div.readme_box ol,
65 div.readme_box ul,
66 div.readme_box p,
67 div.readme_box blockquote,
68 div.readme_box dl,
69 div.readme_box li,
70 div.readme_box table {
71 margin: 3px 0px 13px 0px !important;
72 color: #424242 !important;
73 font-size: 13px !important;
74 font-family: "Helvetica" !important;
75 font-weight: normal !important;
76 overflow: visible !important;
77 line-height: 140% !important;
78 }
79
80 div.readme_box pre {
81 margin: 3px 0px 13px 0px !important;
82 padding: .5em;
83 color: #424242 !important;
84 font-size: 13px !important;
85 overflow: visible !important;
86 line-height: 140% !important;
87 background-color: @grey7;
88 }
89
90 div.readme_box img {
91 border-style: none;
92 background-color: #fff;
93 }
94
95
96 div.readme_box strong {
97 font-weight: 600;
98 margin: 0;
99 }
100
101 div.readme_box ul,
102 div.readme_box ol {
103 padding-left: 30px !important;
104 margin-top: 0px !important;
105 margin-bottom: 18px !important;
106 }
107
108 div.readme_box ul li,
109 div.readme_box ol li {
110 list-style: bullet !important;
111 margin: 6px !important;
112 padding: 0 !important;
113 }
114
115 div.readme_box ol li {
116 list-style: decimal !important;
117 }
118
119 /*
120 div.readme_box a,
121 div.readme_box a:visited {
122 color: #4183C4 !important;
123 background-color: inherit;
124 text-decoration: none;
125 }
126 */
127
128
129 div.readme_box button {
130 font-size: @basefontsize;
131 padding: 4px 6px;
132 .border-radius(@border-radius);
133 border: @border-thickness solid @grey5;
134 background-color: @grey6;
135 }
136
137 div.readme_box code,
138 div.readme_box pre {
139 font-family: Monaco;
140 font-size: 11px;
141 .border-radius(@border-radius);
142 background-color: white;
143 color: @grey3;
144 }
145
146
147 div.readme_box code {
148 border: @border-thickness solid @grey6;
149 margin: 0 2px;
150 padding: 0 5px;
151 }
152
153 div.readme_box pre {
154 border: @border-thickness solid @grey5;
155 overflow: auto;
156 padding: .5em;
157 background-color: @grey7;
158 }
159
160 div.readme_box pre > code {
161 border: 0;
162 margin: 0;
163 padding: 0;
164 }
165
166 /** RST STYLE **/
167 div.rst-block {
168 clear: both;
169 overflow: hidden;
170 margin: 0;
171 padding: 3px 15px 3px;
172 }
173
174 div.rst-block h2 {
175 font-weight: normal;
176 }
177
178 div.rst-block h1,
179 div.rst-block h2,
180 div.rst-block h3,
181 div.rst-block h4,
182 div.rst-block h5,
183 div.rst-block h6 {
184 border-bottom: 0 !important;
185 margin: 0 !important;
186 padding: 0 !important;
187 line-height: 1.5em !important;
188 }
189
190
191 div.rst-block h1:first-child {
192 padding-top: .25em !important;
193 }
194
195 div.rst-block h2,
196 div.rst-block h3 {
197 margin: 1em 0 !important;
198 }
199
200 div.rst-block h2 {
201 margin-top: 1.5em !important;
202 border-top: 4px solid #e0e0e0 !important;
203 padding-top: .5em !important;
204 }
205
206 div.rst-block p {
207 color: black !important;
208 margin: 1em 0 !important;
209 line-height: 1.5em !important;
210 }
211
212 div.rst-block ul {
213 list-style: disc !important;
214 margin: 1em 0 1em 2em !important;
215 clear: both;
216 }
217
218 div.rst-block ol {
219 list-style: decimal;
220 margin: 1em 0 1em 2em !important;
221 }
222
223 div.rst-block pre,
224 div.rst-block code {
225 font: 12px "Bitstream Vera Sans Mono","Courier",monospace;
226 }
227
228 div.rst-block code {
229 font-size: 12px !important;
230 background-color: ghostWhite !important;
231 color: #444 !important;
232 padding: 0 .2em !important;
233 border: 1px solid #dedede !important;
234 }
235
236 div.rst-block pre code {
237 padding: 0 !important;
238 font-size: 12px !important;
239 background-color: #eee !important;
240 border: none !important;
241 }
242
243 div.rst-block pre {
244 margin: 1em 0;
245 padding: @padding;
246 border: 1px solid @grey6;
247 .border-radius(@border-radius);
248 overflow: auto;
249 font-size: 12px;
250 color: #444;
251 background-color: @grey7;
252 } No newline at end of file
@@ -1,2346 +1,2347 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 'fonts';
8 @import 'fonts';
9 @import 'variables';
9 @import 'variables';
10 @import 'bootstrap-variables';
10 @import 'bootstrap-variables';
11 @import 'form-bootstrap';
11 @import 'form-bootstrap';
12 @import 'codemirror';
12 @import 'codemirror';
13 @import 'legacy_code_styles';
13 @import 'legacy_code_styles';
14 @import 'readme-box';
14 @import 'progress-bar';
15 @import 'progress-bar';
15
16
16 @import 'type';
17 @import 'type';
17 @import 'alerts';
18 @import 'alerts';
18 @import 'buttons';
19 @import 'buttons';
19 @import 'tags';
20 @import 'tags';
20 @import 'code-block';
21 @import 'code-block';
21 @import 'examples';
22 @import 'examples';
22 @import 'login';
23 @import 'login';
23 @import 'main-content';
24 @import 'main-content';
24 @import 'select2';
25 @import 'select2';
25 @import 'comments';
26 @import 'comments';
26 @import 'panels-bootstrap';
27 @import 'panels-bootstrap';
27 @import 'panels';
28 @import 'panels';
28 @import 'deform';
29 @import 'deform';
29
30
30 //--- BASE ------------------//
31 //--- BASE ------------------//
31 .noscript-error {
32 .noscript-error {
32 top: 0;
33 top: 0;
33 left: 0;
34 left: 0;
34 width: 100%;
35 width: 100%;
35 z-index: 101;
36 z-index: 101;
36 text-align: center;
37 text-align: center;
37 font-family: @text-semibold;
38 font-family: @text-semibold;
38 font-size: 120%;
39 font-size: 120%;
39 color: white;
40 color: white;
40 background-color: @alert2;
41 background-color: @alert2;
41 padding: 5px 0 5px 0;
42 padding: 5px 0 5px 0;
42 }
43 }
43
44
44 html {
45 html {
45 display: table;
46 display: table;
46 height: 100%;
47 height: 100%;
47 width: 100%;
48 width: 100%;
48 }
49 }
49
50
50 body {
51 body {
51 display: table-cell;
52 display: table-cell;
52 width: 100%;
53 width: 100%;
53 }
54 }
54
55
55 //--- LAYOUT ------------------//
56 //--- LAYOUT ------------------//
56
57
57 .hidden{
58 .hidden{
58 display: none !important;
59 display: none !important;
59 }
60 }
60
61
61 .box{
62 .box{
62 float: left;
63 float: left;
63 width: 100%;
64 width: 100%;
64 }
65 }
65
66
66 .browser-header {
67 .browser-header {
67 clear: both;
68 clear: both;
68 }
69 }
69 .main {
70 .main {
70 clear: both;
71 clear: both;
71 padding:0 0 @pagepadding;
72 padding:0 0 @pagepadding;
72 height: auto;
73 height: auto;
73
74
74 &:after { //clearfix
75 &:after { //clearfix
75 content:"";
76 content:"";
76 clear:both;
77 clear:both;
77 width:100%;
78 width:100%;
78 display:block;
79 display:block;
79 }
80 }
80 }
81 }
81
82
82 .action-link{
83 .action-link{
83 margin-left: @padding;
84 margin-left: @padding;
84 padding-left: @padding;
85 padding-left: @padding;
85 border-left: @border-thickness solid @border-default-color;
86 border-left: @border-thickness solid @border-default-color;
86 }
87 }
87
88
88 input + .action-link, .action-link.first{
89 input + .action-link, .action-link.first{
89 border-left: none;
90 border-left: none;
90 }
91 }
91
92
92 .action-link.last{
93 .action-link.last{
93 margin-right: @padding;
94 margin-right: @padding;
94 padding-right: @padding;
95 padding-right: @padding;
95 }
96 }
96
97
97 .action-link.active,
98 .action-link.active,
98 .action-link.active a{
99 .action-link.active a{
99 color: @grey4;
100 color: @grey4;
100 }
101 }
101
102
102 ul.simple-list{
103 ul.simple-list{
103 list-style: none;
104 list-style: none;
104 margin: 0;
105 margin: 0;
105 padding: 0;
106 padding: 0;
106 }
107 }
107
108
108 .main-content {
109 .main-content {
109 padding-bottom: @pagepadding;
110 padding-bottom: @pagepadding;
110 }
111 }
111
112
112 .wide-mode-wrapper {
113 .wide-mode-wrapper {
113 max-width:4000px !important;
114 max-width:4000px !important;
114 }
115 }
115
116
116 .wrapper {
117 .wrapper {
117 position: relative;
118 position: relative;
118 max-width: @wrapper-maxwidth;
119 max-width: @wrapper-maxwidth;
119 margin: 0 auto;
120 margin: 0 auto;
120 }
121 }
121
122
122 #content {
123 #content {
123 clear: both;
124 clear: both;
124 padding: 0 @contentpadding;
125 padding: 0 @contentpadding;
125 }
126 }
126
127
127 .advanced-settings-fields{
128 .advanced-settings-fields{
128 input{
129 input{
129 margin-left: @textmargin;
130 margin-left: @textmargin;
130 margin-right: @padding/2;
131 margin-right: @padding/2;
131 }
132 }
132 }
133 }
133
134
134 .cs_files_title {
135 .cs_files_title {
135 margin: @pagepadding 0 0;
136 margin: @pagepadding 0 0;
136 }
137 }
137
138
138 input.inline[type="file"] {
139 input.inline[type="file"] {
139 display: inline;
140 display: inline;
140 }
141 }
141
142
142 .error_page {
143 .error_page {
143 margin: 10% auto;
144 margin: 10% auto;
144
145
145 h1 {
146 h1 {
146 color: @grey2;
147 color: @grey2;
147 }
148 }
148
149
149 .alert {
150 .alert {
150 margin: @padding 0;
151 margin: @padding 0;
151 }
152 }
152
153
153 .error-branding {
154 .error-branding {
154 font-family: @text-semibold;
155 font-family: @text-semibold;
155 color: @grey4;
156 color: @grey4;
156 }
157 }
157
158
158 .error_message {
159 .error_message {
159 font-family: @text-regular;
160 font-family: @text-regular;
160 }
161 }
161
162
162 .sidebar {
163 .sidebar {
163 min-height: 275px;
164 min-height: 275px;
164 margin: 0;
165 margin: 0;
165 padding: 0 0 @sidebarpadding @sidebarpadding;
166 padding: 0 0 @sidebarpadding @sidebarpadding;
166 border: none;
167 border: none;
167 }
168 }
168
169
169 .main-content {
170 .main-content {
170 position: relative;
171 position: relative;
171 margin: 0 @sidebarpadding @sidebarpadding;
172 margin: 0 @sidebarpadding @sidebarpadding;
172 padding: 0 0 0 @sidebarpadding;
173 padding: 0 0 0 @sidebarpadding;
173 border-left: @border-thickness solid @grey5;
174 border-left: @border-thickness solid @grey5;
174
175
175 @media (max-width:767px) {
176 @media (max-width:767px) {
176 clear: both;
177 clear: both;
177 width: 100%;
178 width: 100%;
178 margin: 0;
179 margin: 0;
179 border: none;
180 border: none;
180 }
181 }
181 }
182 }
182
183
183 .inner-column {
184 .inner-column {
184 float: left;
185 float: left;
185 width: 29.75%;
186 width: 29.75%;
186 min-height: 150px;
187 min-height: 150px;
187 margin: @sidebarpadding 2% 0 0;
188 margin: @sidebarpadding 2% 0 0;
188 padding: 0 2% 0 0;
189 padding: 0 2% 0 0;
189 border-right: @border-thickness solid @grey5;
190 border-right: @border-thickness solid @grey5;
190
191
191 @media (max-width:767px) {
192 @media (max-width:767px) {
192 clear: both;
193 clear: both;
193 width: 100%;
194 width: 100%;
194 border: none;
195 border: none;
195 }
196 }
196
197
197 ul {
198 ul {
198 padding-left: 1.25em;
199 padding-left: 1.25em;
199 }
200 }
200
201
201 &:last-child {
202 &:last-child {
202 margin: @sidebarpadding 0 0;
203 margin: @sidebarpadding 0 0;
203 border: none;
204 border: none;
204 }
205 }
205
206
206 h4 {
207 h4 {
207 margin: 0 0 @padding;
208 margin: 0 0 @padding;
208 font-family: @text-semibold;
209 font-family: @text-semibold;
209 }
210 }
210 }
211 }
211 }
212 }
212 .error-page-logo {
213 .error-page-logo {
213 width: 130px;
214 width: 130px;
214 height: 160px;
215 height: 160px;
215 }
216 }
216
217
217 // HEADER
218 // HEADER
218 .header {
219 .header {
219
220
220 // TODO: johbo: Fix login pages, so that they work without a min-height
221 // TODO: johbo: Fix login pages, so that they work without a min-height
221 // for the header and then remove the min-height. I chose a smaller value
222 // for the header and then remove the min-height. I chose a smaller value
222 // intentionally here to avoid rendering issues in the main navigation.
223 // intentionally here to avoid rendering issues in the main navigation.
223 min-height: 49px;
224 min-height: 49px;
224
225
225 position: relative;
226 position: relative;
226 vertical-align: bottom;
227 vertical-align: bottom;
227 padding: 0 @header-padding;
228 padding: 0 @header-padding;
228 background-color: @grey2;
229 background-color: @grey2;
229 color: @grey5;
230 color: @grey5;
230
231
231 .title {
232 .title {
232 overflow: visible;
233 overflow: visible;
233 }
234 }
234
235
235 &:before,
236 &:before,
236 &:after {
237 &:after {
237 content: "";
238 content: "";
238 clear: both;
239 clear: both;
239 width: 100%;
240 width: 100%;
240 }
241 }
241
242
242 // TODO: johbo: Avoids breaking "Repositories" chooser
243 // TODO: johbo: Avoids breaking "Repositories" chooser
243 .select2-container .select2-choice .select2-arrow {
244 .select2-container .select2-choice .select2-arrow {
244 display: none;
245 display: none;
245 }
246 }
246 }
247 }
247
248
248 #header-inner {
249 #header-inner {
249 &.title {
250 &.title {
250 margin: 0;
251 margin: 0;
251 }
252 }
252 &:before,
253 &:before,
253 &:after {
254 &:after {
254 content: "";
255 content: "";
255 clear: both;
256 clear: both;
256 }
257 }
257 }
258 }
258
259
259 // Gists
260 // Gists
260 #files_data {
261 #files_data {
261 clear: both; //for firefox
262 clear: both; //for firefox
262 }
263 }
263 #gistid {
264 #gistid {
264 margin-right: @padding;
265 margin-right: @padding;
265 }
266 }
266
267
267 // Global Settings Editor
268 // Global Settings Editor
268 .textarea.editor {
269 .textarea.editor {
269 float: left;
270 float: left;
270 position: relative;
271 position: relative;
271 max-width: @texteditor-width;
272 max-width: @texteditor-width;
272
273
273 select {
274 select {
274 position: absolute;
275 position: absolute;
275 top:10px;
276 top:10px;
276 right:0;
277 right:0;
277 }
278 }
278
279
279 .CodeMirror {
280 .CodeMirror {
280 margin: 0;
281 margin: 0;
281 }
282 }
282
283
283 .help-block {
284 .help-block {
284 margin: 0 0 @padding;
285 margin: 0 0 @padding;
285 padding:.5em;
286 padding:.5em;
286 background-color: @grey6;
287 background-color: @grey6;
287 }
288 }
288 }
289 }
289
290
290 ul.auth_plugins {
291 ul.auth_plugins {
291 margin: @padding 0 @padding @legend-width;
292 margin: @padding 0 @padding @legend-width;
292 padding: 0;
293 padding: 0;
293
294
294 li {
295 li {
295 margin-bottom: @padding;
296 margin-bottom: @padding;
296 line-height: 1em;
297 line-height: 1em;
297 list-style-type: none;
298 list-style-type: none;
298
299
299 .auth_buttons .btn {
300 .auth_buttons .btn {
300 margin-right: @padding;
301 margin-right: @padding;
301 }
302 }
302
303
303 &:before { content: none; }
304 &:before { content: none; }
304 }
305 }
305 }
306 }
306
307
307
308
308 // My Account PR list
309 // My Account PR list
309
310
310 #show_closed {
311 #show_closed {
311 margin: 0 1em 0 0;
312 margin: 0 1em 0 0;
312 }
313 }
313
314
314 .pullrequestlist {
315 .pullrequestlist {
315 .closed {
316 .closed {
316 background-color: @grey6;
317 background-color: @grey6;
317 }
318 }
318 .td-status {
319 .td-status {
319 padding-left: .5em;
320 padding-left: .5em;
320 }
321 }
321 .log-container .truncate {
322 .log-container .truncate {
322 height: 2.75em;
323 height: 2.75em;
323 white-space: pre-line;
324 white-space: pre-line;
324 }
325 }
325 table.rctable .user {
326 table.rctable .user {
326 padding-left: 0;
327 padding-left: 0;
327 }
328 }
328 table.rctable {
329 table.rctable {
329 td.td-description,
330 td.td-description,
330 .rc-user {
331 .rc-user {
331 min-width: auto;
332 min-width: auto;
332 }
333 }
333 }
334 }
334 }
335 }
335
336
336 // Pull Requests
337 // Pull Requests
337
338
338 .pullrequests_section_head {
339 .pullrequests_section_head {
339 display: block;
340 display: block;
340 clear: both;
341 clear: both;
341 margin: @padding 0;
342 margin: @padding 0;
342 font-family: @text-bold;
343 font-family: @text-bold;
343 }
344 }
344
345
345 .pr-origininfo, .pr-targetinfo {
346 .pr-origininfo, .pr-targetinfo {
346 position: relative;
347 position: relative;
347
348
348 .tag {
349 .tag {
349 display: inline-block;
350 display: inline-block;
350 margin: 0 1em .5em 0;
351 margin: 0 1em .5em 0;
351 }
352 }
352
353
353 .clone-url {
354 .clone-url {
354 display: inline-block;
355 display: inline-block;
355 margin: 0 0 .5em 0;
356 margin: 0 0 .5em 0;
356 padding: 0;
357 padding: 0;
357 line-height: 1.2em;
358 line-height: 1.2em;
358 }
359 }
359 }
360 }
360
361
361 .pr-pullinfo {
362 .pr-pullinfo {
362 clear: both;
363 clear: both;
363 margin: .5em 0;
364 margin: .5em 0;
364 }
365 }
365
366
366 #pr-title-input {
367 #pr-title-input {
367 width: 72%;
368 width: 72%;
368 font-size: 1em;
369 font-size: 1em;
369 font-family: @text-bold;
370 font-family: @text-bold;
370 margin: 0;
371 margin: 0;
371 padding: 0 0 0 @padding/4;
372 padding: 0 0 0 @padding/4;
372 line-height: 1.7em;
373 line-height: 1.7em;
373 color: @text-color;
374 color: @text-color;
374 letter-spacing: .02em;
375 letter-spacing: .02em;
375 }
376 }
376
377
377 #pullrequest_title {
378 #pullrequest_title {
378 width: 100%;
379 width: 100%;
379 box-sizing: border-box;
380 box-sizing: border-box;
380 }
381 }
381
382
382 #pr_open_message {
383 #pr_open_message {
383 border: @border-thickness solid #fff;
384 border: @border-thickness solid #fff;
384 border-radius: @border-radius;
385 border-radius: @border-radius;
385 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
386 padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0;
386 text-align: left;
387 text-align: left;
387 overflow: hidden;
388 overflow: hidden;
388 }
389 }
389
390
390 .pr-submit-button {
391 .pr-submit-button {
391 float: right;
392 float: right;
392 margin: 0 0 0 5px;
393 margin: 0 0 0 5px;
393 }
394 }
394
395
395 .pr-spacing-container {
396 .pr-spacing-container {
396 padding: 20px;
397 padding: 20px;
397 clear: both
398 clear: both
398 }
399 }
399
400
400 #pr-description-input {
401 #pr-description-input {
401 margin-bottom: 0;
402 margin-bottom: 0;
402 }
403 }
403
404
404 .pr-description-label {
405 .pr-description-label {
405 vertical-align: top;
406 vertical-align: top;
406 }
407 }
407
408
408 .perms_section_head {
409 .perms_section_head {
409 min-width: 625px;
410 min-width: 625px;
410
411
411 h2 {
412 h2 {
412 margin-bottom: 0;
413 margin-bottom: 0;
413 }
414 }
414
415
415 .label-checkbox {
416 .label-checkbox {
416 float: left;
417 float: left;
417 }
418 }
418
419
419 &.field {
420 &.field {
420 margin: @space 0 @padding;
421 margin: @space 0 @padding;
421 }
422 }
422
423
423 &:first-child.field {
424 &:first-child.field {
424 margin-top: 0;
425 margin-top: 0;
425
426
426 .label {
427 .label {
427 margin-top: 0;
428 margin-top: 0;
428 padding-top: 0;
429 padding-top: 0;
429 }
430 }
430
431
431 .radios {
432 .radios {
432 padding-top: 0;
433 padding-top: 0;
433 }
434 }
434 }
435 }
435
436
436 .radios {
437 .radios {
437 float: right;
438 float: right;
438 position: relative;
439 position: relative;
439 width: 405px;
440 width: 405px;
440 }
441 }
441 }
442 }
442
443
443 //--- MODULES ------------------//
444 //--- MODULES ------------------//
444
445
445
446
446 // Server Announcement
447 // Server Announcement
447 #server-announcement {
448 #server-announcement {
448 width: 95%;
449 width: 95%;
449 margin: @padding auto;
450 margin: @padding auto;
450 padding: @padding;
451 padding: @padding;
451 border-width: 2px;
452 border-width: 2px;
452 border-style: solid;
453 border-style: solid;
453 .border-radius(2px);
454 .border-radius(2px);
454 font-family: @text-bold;
455 font-family: @text-bold;
455
456
456 &.info { border-color: @alert4; background-color: @alert4-inner; }
457 &.info { border-color: @alert4; background-color: @alert4-inner; }
457 &.warning { border-color: @alert3; background-color: @alert3-inner; }
458 &.warning { border-color: @alert3; background-color: @alert3-inner; }
458 &.error { border-color: @alert2; background-color: @alert2-inner; }
459 &.error { border-color: @alert2; background-color: @alert2-inner; }
459 &.success { border-color: @alert1; background-color: @alert1-inner; }
460 &.success { border-color: @alert1; background-color: @alert1-inner; }
460 &.neutral { border-color: @grey3; background-color: @grey6; }
461 &.neutral { border-color: @grey3; background-color: @grey6; }
461 }
462 }
462
463
463 // Fixed Sidebar Column
464 // Fixed Sidebar Column
464 .sidebar-col-wrapper {
465 .sidebar-col-wrapper {
465 padding-left: @sidebar-all-width;
466 padding-left: @sidebar-all-width;
466
467
467 .sidebar {
468 .sidebar {
468 width: @sidebar-width;
469 width: @sidebar-width;
469 margin-left: -@sidebar-all-width;
470 margin-left: -@sidebar-all-width;
470 }
471 }
471 }
472 }
472
473
473 .sidebar-col-wrapper.scw-small {
474 .sidebar-col-wrapper.scw-small {
474 padding-left: @sidebar-small-all-width;
475 padding-left: @sidebar-small-all-width;
475
476
476 .sidebar {
477 .sidebar {
477 width: @sidebar-small-width;
478 width: @sidebar-small-width;
478 margin-left: -@sidebar-small-all-width;
479 margin-left: -@sidebar-small-all-width;
479 }
480 }
480 }
481 }
481
482
482
483
483 // FOOTER
484 // FOOTER
484 #footer {
485 #footer {
485 padding: 0;
486 padding: 0;
486 text-align: center;
487 text-align: center;
487 vertical-align: middle;
488 vertical-align: middle;
488 color: @grey2;
489 color: @grey2;
489 background-color: @grey6;
490 background-color: @grey6;
490
491
491 p {
492 p {
492 margin: 0;
493 margin: 0;
493 padding: 1em;
494 padding: 1em;
494 line-height: 1em;
495 line-height: 1em;
495 }
496 }
496
497
497 .server-instance { //server instance
498 .server-instance { //server instance
498 display: none;
499 display: none;
499 }
500 }
500
501
501 .title {
502 .title {
502 float: none;
503 float: none;
503 margin: 0 auto;
504 margin: 0 auto;
504 }
505 }
505 }
506 }
506
507
507 button.close {
508 button.close {
508 padding: 0;
509 padding: 0;
509 cursor: pointer;
510 cursor: pointer;
510 background: transparent;
511 background: transparent;
511 border: 0;
512 border: 0;
512 .box-shadow(none);
513 .box-shadow(none);
513 -webkit-appearance: none;
514 -webkit-appearance: none;
514 }
515 }
515
516
516 .close {
517 .close {
517 float: right;
518 float: right;
518 font-size: 21px;
519 font-size: 21px;
519 font-family: @text-bootstrap;
520 font-family: @text-bootstrap;
520 line-height: 1em;
521 line-height: 1em;
521 font-weight: bold;
522 font-weight: bold;
522 color: @grey2;
523 color: @grey2;
523
524
524 &:hover,
525 &:hover,
525 &:focus {
526 &:focus {
526 color: @grey1;
527 color: @grey1;
527 text-decoration: none;
528 text-decoration: none;
528 cursor: pointer;
529 cursor: pointer;
529 }
530 }
530 }
531 }
531
532
532 // GRID
533 // GRID
533 .sorting,
534 .sorting,
534 .sorting_desc,
535 .sorting_desc,
535 .sorting_asc {
536 .sorting_asc {
536 cursor: pointer;
537 cursor: pointer;
537 }
538 }
538 .sorting_desc:after {
539 .sorting_desc:after {
539 content: "\00A0\25B2";
540 content: "\00A0\25B2";
540 font-size: .75em;
541 font-size: .75em;
541 }
542 }
542 .sorting_asc:after {
543 .sorting_asc:after {
543 content: "\00A0\25BC";
544 content: "\00A0\25BC";
544 font-size: .68em;
545 font-size: .68em;
545 }
546 }
546
547
547
548
548 .user_auth_tokens {
549 .user_auth_tokens {
549
550
550 &.truncate {
551 &.truncate {
551 white-space: nowrap;
552 white-space: nowrap;
552 overflow: hidden;
553 overflow: hidden;
553 text-overflow: ellipsis;
554 text-overflow: ellipsis;
554 }
555 }
555
556
556 .fields .field .input {
557 .fields .field .input {
557 margin: 0;
558 margin: 0;
558 }
559 }
559
560
560 input#description {
561 input#description {
561 width: 100px;
562 width: 100px;
562 margin: 0;
563 margin: 0;
563 }
564 }
564
565
565 .drop-menu {
566 .drop-menu {
566 // TODO: johbo: Remove this, should work out of the box when
567 // TODO: johbo: Remove this, should work out of the box when
567 // having multiple inputs inline
568 // having multiple inputs inline
568 margin: 0 0 0 5px;
569 margin: 0 0 0 5px;
569 }
570 }
570 }
571 }
571 #user_list_table {
572 #user_list_table {
572 .closed {
573 .closed {
573 background-color: @grey6;
574 background-color: @grey6;
574 }
575 }
575 }
576 }
576
577
577
578
578 input {
579 input {
579 &.disabled {
580 &.disabled {
580 opacity: .5;
581 opacity: .5;
581 }
582 }
582 }
583 }
583
584
584 // remove extra padding in firefox
585 // remove extra padding in firefox
585 input::-moz-focus-inner { border:0; padding:0 }
586 input::-moz-focus-inner { border:0; padding:0 }
586
587
587 .adjacent input {
588 .adjacent input {
588 margin-bottom: @padding;
589 margin-bottom: @padding;
589 }
590 }
590
591
591 .permissions_boxes {
592 .permissions_boxes {
592 display: block;
593 display: block;
593 }
594 }
594
595
595 //TODO: lisa: this should be in tables
596 //TODO: lisa: this should be in tables
596 .show_more_col {
597 .show_more_col {
597 width: 20px;
598 width: 20px;
598 }
599 }
599
600
600 //FORMS
601 //FORMS
601
602
602 .medium-inline,
603 .medium-inline,
603 input#description.medium-inline {
604 input#description.medium-inline {
604 display: inline;
605 display: inline;
605 width: @medium-inline-input-width;
606 width: @medium-inline-input-width;
606 min-width: 100px;
607 min-width: 100px;
607 }
608 }
608
609
609 select {
610 select {
610 //reset
611 //reset
611 -webkit-appearance: none;
612 -webkit-appearance: none;
612 -moz-appearance: none;
613 -moz-appearance: none;
613
614
614 display: inline-block;
615 display: inline-block;
615 height: 28px;
616 height: 28px;
616 width: auto;
617 width: auto;
617 margin: 0 @padding @padding 0;
618 margin: 0 @padding @padding 0;
618 padding: 0 18px 0 8px;
619 padding: 0 18px 0 8px;
619 line-height:1em;
620 line-height:1em;
620 font-size: @basefontsize;
621 font-size: @basefontsize;
621 border: @border-thickness solid @rcblue;
622 border: @border-thickness solid @rcblue;
622 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
623 background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%;
623 color: @rcblue;
624 color: @rcblue;
624
625
625 &:after {
626 &:after {
626 content: "\00A0\25BE";
627 content: "\00A0\25BE";
627 }
628 }
628
629
629 &:focus {
630 &:focus {
630 outline: none;
631 outline: none;
631 }
632 }
632 }
633 }
633
634
634 option {
635 option {
635 &:focus {
636 &:focus {
636 outline: none;
637 outline: none;
637 }
638 }
638 }
639 }
639
640
640 input,
641 input,
641 textarea {
642 textarea {
642 padding: @input-padding;
643 padding: @input-padding;
643 border: @input-border-thickness solid @border-highlight-color;
644 border: @input-border-thickness solid @border-highlight-color;
644 .border-radius (@border-radius);
645 .border-radius (@border-radius);
645 font-family: @text-light;
646 font-family: @text-light;
646 font-size: @basefontsize;
647 font-size: @basefontsize;
647
648
648 &.input-sm {
649 &.input-sm {
649 padding: 5px;
650 padding: 5px;
650 }
651 }
651
652
652 &#description {
653 &#description {
653 min-width: @input-description-minwidth;
654 min-width: @input-description-minwidth;
654 min-height: 1em;
655 min-height: 1em;
655 padding: 10px;
656 padding: 10px;
656 }
657 }
657 }
658 }
658
659
659 .field-sm {
660 .field-sm {
660 input,
661 input,
661 textarea {
662 textarea {
662 padding: 5px;
663 padding: 5px;
663 }
664 }
664 }
665 }
665
666
666 textarea {
667 textarea {
667 display: block;
668 display: block;
668 clear: both;
669 clear: both;
669 width: 100%;
670 width: 100%;
670 min-height: 100px;
671 min-height: 100px;
671 margin-bottom: @padding;
672 margin-bottom: @padding;
672 .box-sizing(border-box);
673 .box-sizing(border-box);
673 overflow: auto;
674 overflow: auto;
674 }
675 }
675
676
676 label {
677 label {
677 font-family: @text-light;
678 font-family: @text-light;
678 }
679 }
679
680
680 // GRAVATARS
681 // GRAVATARS
681 // centers gravatar on username to the right
682 // centers gravatar on username to the right
682
683
683 .gravatar {
684 .gravatar {
684 display: inline;
685 display: inline;
685 min-width: 16px;
686 min-width: 16px;
686 min-height: 16px;
687 min-height: 16px;
687 margin: -5px 0;
688 margin: -5px 0;
688 padding: 0;
689 padding: 0;
689 line-height: 1em;
690 line-height: 1em;
690 border: 1px solid @grey4;
691 border: 1px solid @grey4;
691 box-sizing: content-box;
692 box-sizing: content-box;
692
693
693 &.gravatar-large {
694 &.gravatar-large {
694 margin: -0.5em .25em -0.5em 0;
695 margin: -0.5em .25em -0.5em 0;
695 }
696 }
696
697
697 & + .user {
698 & + .user {
698 display: inline;
699 display: inline;
699 margin: 0;
700 margin: 0;
700 padding: 0 0 0 .17em;
701 padding: 0 0 0 .17em;
701 line-height: 1em;
702 line-height: 1em;
702 }
703 }
703 }
704 }
704
705
705 .user-inline-data {
706 .user-inline-data {
706 display: inline-block;
707 display: inline-block;
707 float: left;
708 float: left;
708 padding-left: .5em;
709 padding-left: .5em;
709 line-height: 1.3em;
710 line-height: 1.3em;
710 }
711 }
711
712
712 .rc-user { // gravatar + user wrapper
713 .rc-user { // gravatar + user wrapper
713 float: left;
714 float: left;
714 position: relative;
715 position: relative;
715 min-width: 100px;
716 min-width: 100px;
716 max-width: 200px;
717 max-width: 200px;
717 min-height: (@gravatar-size + @border-thickness * 2); // account for border
718 min-height: (@gravatar-size + @border-thickness * 2); // account for border
718 display: block;
719 display: block;
719 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
720 padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2);
720
721
721
722
722 .gravatar {
723 .gravatar {
723 display: block;
724 display: block;
724 position: absolute;
725 position: absolute;
725 top: 0;
726 top: 0;
726 left: 0;
727 left: 0;
727 min-width: @gravatar-size;
728 min-width: @gravatar-size;
728 min-height: @gravatar-size;
729 min-height: @gravatar-size;
729 margin: 0;
730 margin: 0;
730 }
731 }
731
732
732 .user {
733 .user {
733 display: block;
734 display: block;
734 max-width: 175px;
735 max-width: 175px;
735 padding-top: 2px;
736 padding-top: 2px;
736 overflow: hidden;
737 overflow: hidden;
737 text-overflow: ellipsis;
738 text-overflow: ellipsis;
738 }
739 }
739 }
740 }
740
741
741 .gist-gravatar,
742 .gist-gravatar,
742 .journal_container {
743 .journal_container {
743 .gravatar-large {
744 .gravatar-large {
744 margin: 0 .5em -10px 0;
745 margin: 0 .5em -10px 0;
745 }
746 }
746 }
747 }
747
748
748
749
749 // ADMIN SETTINGS
750 // ADMIN SETTINGS
750
751
751 // Tag Patterns
752 // Tag Patterns
752 .tag_patterns {
753 .tag_patterns {
753 .tag_input {
754 .tag_input {
754 margin-bottom: @padding;
755 margin-bottom: @padding;
755 }
756 }
756 }
757 }
757
758
758 .locked_input {
759 .locked_input {
759 position: relative;
760 position: relative;
760
761
761 input {
762 input {
762 display: inline;
763 display: inline;
763 margin: 3px 5px 0px 0px;
764 margin: 3px 5px 0px 0px;
764 }
765 }
765
766
766 br {
767 br {
767 display: none;
768 display: none;
768 }
769 }
769
770
770 .error-message {
771 .error-message {
771 float: left;
772 float: left;
772 width: 100%;
773 width: 100%;
773 }
774 }
774
775
775 .lock_input_button {
776 .lock_input_button {
776 display: inline;
777 display: inline;
777 }
778 }
778
779
779 .help-block {
780 .help-block {
780 clear: both;
781 clear: both;
781 }
782 }
782 }
783 }
783
784
784 // Notifications
785 // Notifications
785
786
786 .notifications_buttons {
787 .notifications_buttons {
787 margin: 0 0 @space 0;
788 margin: 0 0 @space 0;
788 padding: 0;
789 padding: 0;
789
790
790 .btn {
791 .btn {
791 display: inline-block;
792 display: inline-block;
792 }
793 }
793 }
794 }
794
795
795 .notification-list {
796 .notification-list {
796
797
797 div {
798 div {
798 display: inline-block;
799 display: inline-block;
799 vertical-align: middle;
800 vertical-align: middle;
800 }
801 }
801
802
802 .container {
803 .container {
803 display: block;
804 display: block;
804 margin: 0 0 @padding 0;
805 margin: 0 0 @padding 0;
805 }
806 }
806
807
807 .delete-notifications {
808 .delete-notifications {
808 margin-left: @padding;
809 margin-left: @padding;
809 text-align: right;
810 text-align: right;
810 cursor: pointer;
811 cursor: pointer;
811 }
812 }
812
813
813 .read-notifications {
814 .read-notifications {
814 margin-left: @padding/2;
815 margin-left: @padding/2;
815 text-align: right;
816 text-align: right;
816 width: 35px;
817 width: 35px;
817 cursor: pointer;
818 cursor: pointer;
818 }
819 }
819
820
820 .icon-minus-sign {
821 .icon-minus-sign {
821 color: @alert2;
822 color: @alert2;
822 }
823 }
823
824
824 .icon-ok-sign {
825 .icon-ok-sign {
825 color: @alert1;
826 color: @alert1;
826 }
827 }
827 }
828 }
828
829
829 .user_settings {
830 .user_settings {
830 float: left;
831 float: left;
831 clear: both;
832 clear: both;
832 display: block;
833 display: block;
833 width: 100%;
834 width: 100%;
834
835
835 .gravatar_box {
836 .gravatar_box {
836 margin-bottom: @padding;
837 margin-bottom: @padding;
837
838
838 &:after {
839 &:after {
839 content: " ";
840 content: " ";
840 clear: both;
841 clear: both;
841 width: 100%;
842 width: 100%;
842 }
843 }
843 }
844 }
844
845
845 .fields .field {
846 .fields .field {
846 clear: both;
847 clear: both;
847 }
848 }
848 }
849 }
849
850
850 .advanced_settings {
851 .advanced_settings {
851 margin-bottom: @space;
852 margin-bottom: @space;
852
853
853 .help-block {
854 .help-block {
854 margin-left: 0;
855 margin-left: 0;
855 }
856 }
856
857
857 button + .help-block {
858 button + .help-block {
858 margin-top: @padding;
859 margin-top: @padding;
859 }
860 }
860 }
861 }
861
862
862 // admin settings radio buttons and labels
863 // admin settings radio buttons and labels
863 .label-2 {
864 .label-2 {
864 float: left;
865 float: left;
865 width: @label2-width;
866 width: @label2-width;
866
867
867 label {
868 label {
868 color: @grey1;
869 color: @grey1;
869 }
870 }
870 }
871 }
871 .checkboxes {
872 .checkboxes {
872 float: left;
873 float: left;
873 width: @checkboxes-width;
874 width: @checkboxes-width;
874 margin-bottom: @padding;
875 margin-bottom: @padding;
875
876
876 .checkbox {
877 .checkbox {
877 width: 100%;
878 width: 100%;
878
879
879 label {
880 label {
880 margin: 0;
881 margin: 0;
881 padding: 0;
882 padding: 0;
882 }
883 }
883 }
884 }
884
885
885 .checkbox + .checkbox {
886 .checkbox + .checkbox {
886 display: inline-block;
887 display: inline-block;
887 }
888 }
888
889
889 label {
890 label {
890 margin-right: 1em;
891 margin-right: 1em;
891 }
892 }
892 }
893 }
893
894
894 // CHANGELOG
895 // CHANGELOG
895 .container_header {
896 .container_header {
896 float: left;
897 float: left;
897 display: block;
898 display: block;
898 width: 100%;
899 width: 100%;
899 margin: @padding 0 @padding;
900 margin: @padding 0 @padding;
900
901
901 #filter_changelog {
902 #filter_changelog {
902 float: left;
903 float: left;
903 margin-right: @padding;
904 margin-right: @padding;
904 }
905 }
905
906
906 .breadcrumbs_light {
907 .breadcrumbs_light {
907 display: inline-block;
908 display: inline-block;
908 }
909 }
909 }
910 }
910
911
911 .info_box {
912 .info_box {
912 float: right;
913 float: right;
913 }
914 }
914
915
915
916
916 #graph_nodes {
917 #graph_nodes {
917 padding-top: 43px;
918 padding-top: 43px;
918 }
919 }
919
920
920 #graph_content{
921 #graph_content{
921
922
922 // adjust for table headers so that graph renders properly
923 // adjust for table headers so that graph renders properly
923 // #graph_nodes padding - table cell padding
924 // #graph_nodes padding - table cell padding
924 padding-top: (@space - (@basefontsize * 2.4));
925 padding-top: (@space - (@basefontsize * 2.4));
925
926
926 &.graph_full_width {
927 &.graph_full_width {
927 width: 100%;
928 width: 100%;
928 max-width: 100%;
929 max-width: 100%;
929 }
930 }
930 }
931 }
931
932
932 #graph {
933 #graph {
933 .flag_status {
934 .flag_status {
934 margin: 0;
935 margin: 0;
935 }
936 }
936
937
937 .pagination-left {
938 .pagination-left {
938 float: left;
939 float: left;
939 clear: both;
940 clear: both;
940 }
941 }
941
942
942 .log-container {
943 .log-container {
943 max-width: 345px;
944 max-width: 345px;
944
945
945 .message{
946 .message{
946 max-width: 340px;
947 max-width: 340px;
947 }
948 }
948 }
949 }
949
950
950 .graph-col-wrapper {
951 .graph-col-wrapper {
951 padding-left: 110px;
952 padding-left: 110px;
952
953
953 #graph_nodes {
954 #graph_nodes {
954 width: 100px;
955 width: 100px;
955 margin-left: -110px;
956 margin-left: -110px;
956 float: left;
957 float: left;
957 clear: left;
958 clear: left;
958 }
959 }
959 }
960 }
960
961
961 .load-more-commits {
962 .load-more-commits {
962 text-align: center;
963 text-align: center;
963 }
964 }
964 .load-more-commits:hover {
965 .load-more-commits:hover {
965 background-color: @grey7;
966 background-color: @grey7;
966 }
967 }
967 .load-more-commits {
968 .load-more-commits {
968 a {
969 a {
969 display: block;
970 display: block;
970 }
971 }
971 }
972 }
972 }
973 }
973
974
974 #filter_changelog {
975 #filter_changelog {
975 float: left;
976 float: left;
976 }
977 }
977
978
978
979
979 //--- THEME ------------------//
980 //--- THEME ------------------//
980
981
981 #logo {
982 #logo {
982 float: left;
983 float: left;
983 margin: 9px 0 0 0;
984 margin: 9px 0 0 0;
984
985
985 .header {
986 .header {
986 background-color: transparent;
987 background-color: transparent;
987 }
988 }
988
989
989 a {
990 a {
990 display: inline-block;
991 display: inline-block;
991 }
992 }
992
993
993 img {
994 img {
994 height:30px;
995 height:30px;
995 }
996 }
996 }
997 }
997
998
998 .logo-wrapper {
999 .logo-wrapper {
999 float:left;
1000 float:left;
1000 }
1001 }
1001
1002
1002 .branding{
1003 .branding{
1003 float: left;
1004 float: left;
1004 padding: 9px 2px;
1005 padding: 9px 2px;
1005 line-height: 1em;
1006 line-height: 1em;
1006 font-size: @navigation-fontsize;
1007 font-size: @navigation-fontsize;
1007 }
1008 }
1008
1009
1009 img {
1010 img {
1010 border: none;
1011 border: none;
1011 outline: none;
1012 outline: none;
1012 }
1013 }
1013 user-profile-header
1014 user-profile-header
1014 label {
1015 label {
1015
1016
1016 input[type="checkbox"] {
1017 input[type="checkbox"] {
1017 margin-right: 1em;
1018 margin-right: 1em;
1018 }
1019 }
1019 input[type="radio"] {
1020 input[type="radio"] {
1020 margin-right: 1em;
1021 margin-right: 1em;
1021 }
1022 }
1022 }
1023 }
1023
1024
1024 .flag_status {
1025 .flag_status {
1025 margin: 2px 8px 6px 2px;
1026 margin: 2px 8px 6px 2px;
1026 &.under_review {
1027 &.under_review {
1027 .circle(5px, @alert3);
1028 .circle(5px, @alert3);
1028 }
1029 }
1029 &.approved {
1030 &.approved {
1030 .circle(5px, @alert1);
1031 .circle(5px, @alert1);
1031 }
1032 }
1032 &.rejected,
1033 &.rejected,
1033 &.forced_closed{
1034 &.forced_closed{
1034 .circle(5px, @alert2);
1035 .circle(5px, @alert2);
1035 }
1036 }
1036 &.not_reviewed {
1037 &.not_reviewed {
1037 .circle(5px, @grey5);
1038 .circle(5px, @grey5);
1038 }
1039 }
1039 }
1040 }
1040
1041
1041 .flag_status_comment_box {
1042 .flag_status_comment_box {
1042 margin: 5px 6px 0px 2px;
1043 margin: 5px 6px 0px 2px;
1043 }
1044 }
1044 .test_pattern_preview {
1045 .test_pattern_preview {
1045 margin: @space 0;
1046 margin: @space 0;
1046
1047
1047 p {
1048 p {
1048 margin-bottom: 0;
1049 margin-bottom: 0;
1049 border-bottom: @border-thickness solid @border-default-color;
1050 border-bottom: @border-thickness solid @border-default-color;
1050 color: @grey3;
1051 color: @grey3;
1051 }
1052 }
1052
1053
1053 .btn {
1054 .btn {
1054 margin-bottom: @padding;
1055 margin-bottom: @padding;
1055 }
1056 }
1056 }
1057 }
1057 #test_pattern_result {
1058 #test_pattern_result {
1058 display: none;
1059 display: none;
1059 &:extend(pre);
1060 &:extend(pre);
1060 padding: .9em;
1061 padding: .9em;
1061 color: @grey3;
1062 color: @grey3;
1062 background-color: @grey7;
1063 background-color: @grey7;
1063 border-right: @border-thickness solid @border-default-color;
1064 border-right: @border-thickness solid @border-default-color;
1064 border-bottom: @border-thickness solid @border-default-color;
1065 border-bottom: @border-thickness solid @border-default-color;
1065 border-left: @border-thickness solid @border-default-color;
1066 border-left: @border-thickness solid @border-default-color;
1066 }
1067 }
1067
1068
1068 #repo_vcs_settings {
1069 #repo_vcs_settings {
1069 #inherit_overlay_vcs_default {
1070 #inherit_overlay_vcs_default {
1070 display: none;
1071 display: none;
1071 }
1072 }
1072 #inherit_overlay_vcs_custom {
1073 #inherit_overlay_vcs_custom {
1073 display: custom;
1074 display: custom;
1074 }
1075 }
1075 &.inherited {
1076 &.inherited {
1076 #inherit_overlay_vcs_default {
1077 #inherit_overlay_vcs_default {
1077 display: block;
1078 display: block;
1078 }
1079 }
1079 #inherit_overlay_vcs_custom {
1080 #inherit_overlay_vcs_custom {
1080 display: none;
1081 display: none;
1081 }
1082 }
1082 }
1083 }
1083 }
1084 }
1084
1085
1085 .issue-tracker-link {
1086 .issue-tracker-link {
1086 color: @rcblue;
1087 color: @rcblue;
1087 }
1088 }
1088
1089
1089 // Issue Tracker Table Show/Hide
1090 // Issue Tracker Table Show/Hide
1090 #repo_issue_tracker {
1091 #repo_issue_tracker {
1091 #inherit_overlay {
1092 #inherit_overlay {
1092 display: none;
1093 display: none;
1093 }
1094 }
1094 #custom_overlay {
1095 #custom_overlay {
1095 display: custom;
1096 display: custom;
1096 }
1097 }
1097 &.inherited {
1098 &.inherited {
1098 #inherit_overlay {
1099 #inherit_overlay {
1099 display: block;
1100 display: block;
1100 }
1101 }
1101 #custom_overlay {
1102 #custom_overlay {
1102 display: none;
1103 display: none;
1103 }
1104 }
1104 }
1105 }
1105 }
1106 }
1106 table.issuetracker {
1107 table.issuetracker {
1107 &.readonly {
1108 &.readonly {
1108 tr, td {
1109 tr, td {
1109 color: @grey3;
1110 color: @grey3;
1110 }
1111 }
1111 }
1112 }
1112 .edit {
1113 .edit {
1113 display: none;
1114 display: none;
1114 }
1115 }
1115 .editopen {
1116 .editopen {
1116 .edit {
1117 .edit {
1117 display: inline;
1118 display: inline;
1118 }
1119 }
1119 .entry {
1120 .entry {
1120 display: none;
1121 display: none;
1121 }
1122 }
1122 }
1123 }
1123 tr td.td-action {
1124 tr td.td-action {
1124 min-width: 117px;
1125 min-width: 117px;
1125 }
1126 }
1126 td input {
1127 td input {
1127 max-width: none;
1128 max-width: none;
1128 min-width: 30px;
1129 min-width: 30px;
1129 width: 80%;
1130 width: 80%;
1130 }
1131 }
1131 .issuetracker_pref input {
1132 .issuetracker_pref input {
1132 width: 40%;
1133 width: 40%;
1133 }
1134 }
1134 input.edit_issuetracker_update {
1135 input.edit_issuetracker_update {
1135 margin-right: 0;
1136 margin-right: 0;
1136 width: auto;
1137 width: auto;
1137 }
1138 }
1138 }
1139 }
1139
1140
1140 table.integrations {
1141 table.integrations {
1141 .td-icon {
1142 .td-icon {
1142 width: 20px;
1143 width: 20px;
1143 .integration-icon {
1144 .integration-icon {
1144 height: 20px;
1145 height: 20px;
1145 width: 20px;
1146 width: 20px;
1146 }
1147 }
1147 }
1148 }
1148 }
1149 }
1149
1150
1150 .integrations {
1151 .integrations {
1151 a.integration-box {
1152 a.integration-box {
1152 color: @text-color;
1153 color: @text-color;
1153 &:hover {
1154 &:hover {
1154 .panel {
1155 .panel {
1155 background: #fbfbfb;
1156 background: #fbfbfb;
1156 }
1157 }
1157 }
1158 }
1158 .integration-icon {
1159 .integration-icon {
1159 width: 30px;
1160 width: 30px;
1160 height: 30px;
1161 height: 30px;
1161 margin-right: 20px;
1162 margin-right: 20px;
1162 float: left;
1163 float: left;
1163 }
1164 }
1164
1165
1165 .panel-body {
1166 .panel-body {
1166 padding: 10px;
1167 padding: 10px;
1167 }
1168 }
1168 .panel {
1169 .panel {
1169 margin-bottom: 10px;
1170 margin-bottom: 10px;
1170 }
1171 }
1171 h2 {
1172 h2 {
1172 display: inline-block;
1173 display: inline-block;
1173 margin: 0;
1174 margin: 0;
1174 min-width: 140px;
1175 min-width: 140px;
1175 }
1176 }
1176 }
1177 }
1177 }
1178 }
1178
1179
1179 //Permissions Settings
1180 //Permissions Settings
1180 #add_perm {
1181 #add_perm {
1181 margin: 0 0 @padding;
1182 margin: 0 0 @padding;
1182 cursor: pointer;
1183 cursor: pointer;
1183 }
1184 }
1184
1185
1185 .perm_ac {
1186 .perm_ac {
1186 input {
1187 input {
1187 width: 95%;
1188 width: 95%;
1188 }
1189 }
1189 }
1190 }
1190
1191
1191 .autocomplete-suggestions {
1192 .autocomplete-suggestions {
1192 width: auto !important; // overrides autocomplete.js
1193 width: auto !important; // overrides autocomplete.js
1193 margin: 0;
1194 margin: 0;
1194 border: @border-thickness solid @rcblue;
1195 border: @border-thickness solid @rcblue;
1195 border-radius: @border-radius;
1196 border-radius: @border-radius;
1196 color: @rcblue;
1197 color: @rcblue;
1197 background-color: white;
1198 background-color: white;
1198 }
1199 }
1199 .autocomplete-selected {
1200 .autocomplete-selected {
1200 background: #F0F0F0;
1201 background: #F0F0F0;
1201 }
1202 }
1202 .ac-container-wrap {
1203 .ac-container-wrap {
1203 margin: 0;
1204 margin: 0;
1204 padding: 8px;
1205 padding: 8px;
1205 border-bottom: @border-thickness solid @rclightblue;
1206 border-bottom: @border-thickness solid @rclightblue;
1206 list-style-type: none;
1207 list-style-type: none;
1207 cursor: pointer;
1208 cursor: pointer;
1208
1209
1209 &:hover {
1210 &:hover {
1210 background-color: @rclightblue;
1211 background-color: @rclightblue;
1211 }
1212 }
1212
1213
1213 img {
1214 img {
1214 height: @gravatar-size;
1215 height: @gravatar-size;
1215 width: @gravatar-size;
1216 width: @gravatar-size;
1216 margin-right: 1em;
1217 margin-right: 1em;
1217 }
1218 }
1218
1219
1219 strong {
1220 strong {
1220 font-weight: normal;
1221 font-weight: normal;
1221 }
1222 }
1222 }
1223 }
1223
1224
1224 // Settings Dropdown
1225 // Settings Dropdown
1225 .user-menu .container {
1226 .user-menu .container {
1226 padding: 0 4px;
1227 padding: 0 4px;
1227 margin: 0;
1228 margin: 0;
1228 }
1229 }
1229
1230
1230 .user-menu .gravatar {
1231 .user-menu .gravatar {
1231 cursor: pointer;
1232 cursor: pointer;
1232 }
1233 }
1233
1234
1234 .codeblock {
1235 .codeblock {
1235 margin-bottom: @padding;
1236 margin-bottom: @padding;
1236 clear: both;
1237 clear: both;
1237
1238
1238 .stats{
1239 .stats{
1239 overflow: hidden;
1240 overflow: hidden;
1240 }
1241 }
1241
1242
1242 .message{
1243 .message{
1243 textarea{
1244 textarea{
1244 margin: 0;
1245 margin: 0;
1245 }
1246 }
1246 }
1247 }
1247
1248
1248 .code-header {
1249 .code-header {
1249 .stats {
1250 .stats {
1250 line-height: 2em;
1251 line-height: 2em;
1251
1252
1252 .revision_id {
1253 .revision_id {
1253 margin-left: 0;
1254 margin-left: 0;
1254 }
1255 }
1255 .buttons {
1256 .buttons {
1256 padding-right: 0;
1257 padding-right: 0;
1257 }
1258 }
1258 }
1259 }
1259
1260
1260 .item{
1261 .item{
1261 margin-right: 0.5em;
1262 margin-right: 0.5em;
1262 }
1263 }
1263 }
1264 }
1264
1265
1265 #editor_container{
1266 #editor_container{
1266 position: relative;
1267 position: relative;
1267 margin: @padding;
1268 margin: @padding;
1268 }
1269 }
1269 }
1270 }
1270
1271
1271 #file_history_container {
1272 #file_history_container {
1272 display: none;
1273 display: none;
1273 }
1274 }
1274
1275
1275 .file-history-inner {
1276 .file-history-inner {
1276 margin-bottom: 10px;
1277 margin-bottom: 10px;
1277 }
1278 }
1278
1279
1279 // Pull Requests
1280 // Pull Requests
1280 .summary-details {
1281 .summary-details {
1281 width: 72%;
1282 width: 72%;
1282 }
1283 }
1283 .pr-summary {
1284 .pr-summary {
1284 border-bottom: @border-thickness solid @grey5;
1285 border-bottom: @border-thickness solid @grey5;
1285 margin-bottom: @space;
1286 margin-bottom: @space;
1286 }
1287 }
1287 .reviewers-title {
1288 .reviewers-title {
1288 width: 25%;
1289 width: 25%;
1289 min-width: 200px;
1290 min-width: 200px;
1290 }
1291 }
1291 .reviewers {
1292 .reviewers {
1292 width: 25%;
1293 width: 25%;
1293 min-width: 200px;
1294 min-width: 200px;
1294 }
1295 }
1295 .reviewers ul li {
1296 .reviewers ul li {
1296 position: relative;
1297 position: relative;
1297 width: 100%;
1298 width: 100%;
1298 margin-bottom: 8px;
1299 margin-bottom: 8px;
1299 }
1300 }
1300 .reviewers_member {
1301 .reviewers_member {
1301 width: 100%;
1302 width: 100%;
1302 overflow: auto;
1303 overflow: auto;
1303 }
1304 }
1304 .reviewer_reason {
1305 .reviewer_reason {
1305 padding-left: 20px;
1306 padding-left: 20px;
1306 }
1307 }
1307 .reviewer_status {
1308 .reviewer_status {
1308 display: inline-block;
1309 display: inline-block;
1309 vertical-align: top;
1310 vertical-align: top;
1310 width: 7%;
1311 width: 7%;
1311 min-width: 20px;
1312 min-width: 20px;
1312 height: 1.2em;
1313 height: 1.2em;
1313 margin-top: 3px;
1314 margin-top: 3px;
1314 line-height: 1em;
1315 line-height: 1em;
1315 }
1316 }
1316
1317
1317 .reviewer_name {
1318 .reviewer_name {
1318 display: inline-block;
1319 display: inline-block;
1319 max-width: 83%;
1320 max-width: 83%;
1320 padding-right: 20px;
1321 padding-right: 20px;
1321 vertical-align: middle;
1322 vertical-align: middle;
1322 line-height: 1;
1323 line-height: 1;
1323
1324
1324 .rc-user {
1325 .rc-user {
1325 min-width: 0;
1326 min-width: 0;
1326 margin: -2px 1em 0 0;
1327 margin: -2px 1em 0 0;
1327 }
1328 }
1328
1329
1329 .reviewer {
1330 .reviewer {
1330 float: left;
1331 float: left;
1331 }
1332 }
1332 }
1333 }
1333
1334
1334 .reviewer_member_remove {
1335 .reviewer_member_remove {
1335 position: absolute;
1336 position: absolute;
1336 right: 0;
1337 right: 0;
1337 top: 0;
1338 top: 0;
1338 width: 16px;
1339 width: 16px;
1339 margin-bottom: 10px;
1340 margin-bottom: 10px;
1340 padding: 0;
1341 padding: 0;
1341 color: black;
1342 color: black;
1342 }
1343 }
1343 .reviewer_member_status {
1344 .reviewer_member_status {
1344 margin-top: 5px;
1345 margin-top: 5px;
1345 }
1346 }
1346 .pr-summary #summary{
1347 .pr-summary #summary{
1347 width: 100%;
1348 width: 100%;
1348 }
1349 }
1349 .pr-summary .action_button:hover {
1350 .pr-summary .action_button:hover {
1350 border: 0;
1351 border: 0;
1351 cursor: pointer;
1352 cursor: pointer;
1352 }
1353 }
1353 .pr-details-title {
1354 .pr-details-title {
1354 padding-bottom: 8px;
1355 padding-bottom: 8px;
1355 border-bottom: @border-thickness solid @grey5;
1356 border-bottom: @border-thickness solid @grey5;
1356
1357
1357 .action_button.disabled {
1358 .action_button.disabled {
1358 color: @grey4;
1359 color: @grey4;
1359 cursor: inherit;
1360 cursor: inherit;
1360 }
1361 }
1361 .action_button {
1362 .action_button {
1362 color: @rcblue;
1363 color: @rcblue;
1363 }
1364 }
1364 }
1365 }
1365 .pr-details-content {
1366 .pr-details-content {
1366 margin-top: @textmargin;
1367 margin-top: @textmargin;
1367 margin-bottom: @textmargin;
1368 margin-bottom: @textmargin;
1368 }
1369 }
1369 .pr-description {
1370 .pr-description {
1370 white-space:pre-wrap;
1371 white-space:pre-wrap;
1371 }
1372 }
1372 .group_members {
1373 .group_members {
1373 margin-top: 0;
1374 margin-top: 0;
1374 padding: 0;
1375 padding: 0;
1375 list-style: outside none none;
1376 list-style: outside none none;
1376
1377
1377 img {
1378 img {
1378 height: @gravatar-size;
1379 height: @gravatar-size;
1379 width: @gravatar-size;
1380 width: @gravatar-size;
1380 margin-right: .5em;
1381 margin-right: .5em;
1381 margin-left: 3px;
1382 margin-left: 3px;
1382 }
1383 }
1383
1384
1384 .to-delete {
1385 .to-delete {
1385 .user {
1386 .user {
1386 text-decoration: line-through;
1387 text-decoration: line-through;
1387 }
1388 }
1388 }
1389 }
1389 }
1390 }
1390
1391
1391 .compare_view_commits_title {
1392 .compare_view_commits_title {
1392 .disabled {
1393 .disabled {
1393 cursor: inherit;
1394 cursor: inherit;
1394 &:hover{
1395 &:hover{
1395 background-color: inherit;
1396 background-color: inherit;
1396 color: inherit;
1397 color: inherit;
1397 }
1398 }
1398 }
1399 }
1399 }
1400 }
1400
1401
1401 .subtitle-compare {
1402 .subtitle-compare {
1402 margin: -15px 0px 0px 0px;
1403 margin: -15px 0px 0px 0px;
1403 }
1404 }
1404
1405
1405 .comments-summary-td {
1406 .comments-summary-td {
1406 border-top: 1px dashed @grey5;
1407 border-top: 1px dashed @grey5;
1407 }
1408 }
1408
1409
1409 // new entry in group_members
1410 // new entry in group_members
1410 .td-author-new-entry {
1411 .td-author-new-entry {
1411 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1412 background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3);
1412 }
1413 }
1413
1414
1414 .usergroup_member_remove {
1415 .usergroup_member_remove {
1415 width: 16px;
1416 width: 16px;
1416 margin-bottom: 10px;
1417 margin-bottom: 10px;
1417 padding: 0;
1418 padding: 0;
1418 color: black !important;
1419 color: black !important;
1419 cursor: pointer;
1420 cursor: pointer;
1420 }
1421 }
1421
1422
1422 .reviewer_ac .ac-input {
1423 .reviewer_ac .ac-input {
1423 width: 92%;
1424 width: 92%;
1424 margin-bottom: 1em;
1425 margin-bottom: 1em;
1425 }
1426 }
1426
1427
1427 .compare_view_commits tr{
1428 .compare_view_commits tr{
1428 height: 20px;
1429 height: 20px;
1429 }
1430 }
1430 .compare_view_commits td {
1431 .compare_view_commits td {
1431 vertical-align: top;
1432 vertical-align: top;
1432 padding-top: 10px;
1433 padding-top: 10px;
1433 }
1434 }
1434 .compare_view_commits .author {
1435 .compare_view_commits .author {
1435 margin-left: 5px;
1436 margin-left: 5px;
1436 }
1437 }
1437
1438
1438 .compare_view_commits {
1439 .compare_view_commits {
1439 .color-a {
1440 .color-a {
1440 color: @alert1;
1441 color: @alert1;
1441 }
1442 }
1442
1443
1443 .color-c {
1444 .color-c {
1444 color: @color3;
1445 color: @color3;
1445 }
1446 }
1446
1447
1447 .color-r {
1448 .color-r {
1448 color: @color5;
1449 color: @color5;
1449 }
1450 }
1450
1451
1451 .color-a-bg {
1452 .color-a-bg {
1452 background-color: @alert1;
1453 background-color: @alert1;
1453 }
1454 }
1454
1455
1455 .color-c-bg {
1456 .color-c-bg {
1456 background-color: @alert3;
1457 background-color: @alert3;
1457 }
1458 }
1458
1459
1459 .color-r-bg {
1460 .color-r-bg {
1460 background-color: @alert2;
1461 background-color: @alert2;
1461 }
1462 }
1462
1463
1463 .color-a-border {
1464 .color-a-border {
1464 border: 1px solid @alert1;
1465 border: 1px solid @alert1;
1465 }
1466 }
1466
1467
1467 .color-c-border {
1468 .color-c-border {
1468 border: 1px solid @alert3;
1469 border: 1px solid @alert3;
1469 }
1470 }
1470
1471
1471 .color-r-border {
1472 .color-r-border {
1472 border: 1px solid @alert2;
1473 border: 1px solid @alert2;
1473 }
1474 }
1474
1475
1475 .commit-change-indicator {
1476 .commit-change-indicator {
1476 width: 15px;
1477 width: 15px;
1477 height: 15px;
1478 height: 15px;
1478 position: relative;
1479 position: relative;
1479 left: 15px;
1480 left: 15px;
1480 }
1481 }
1481
1482
1482 .commit-change-content {
1483 .commit-change-content {
1483 text-align: center;
1484 text-align: center;
1484 vertical-align: middle;
1485 vertical-align: middle;
1485 line-height: 15px;
1486 line-height: 15px;
1486 }
1487 }
1487 }
1488 }
1488
1489
1489 .compare_view_files {
1490 .compare_view_files {
1490 width: 100%;
1491 width: 100%;
1491
1492
1492 td {
1493 td {
1493 vertical-align: middle;
1494 vertical-align: middle;
1494 }
1495 }
1495 }
1496 }
1496
1497
1497 .compare_view_filepath {
1498 .compare_view_filepath {
1498 color: @grey1;
1499 color: @grey1;
1499 }
1500 }
1500
1501
1501 .show_more {
1502 .show_more {
1502 display: inline-block;
1503 display: inline-block;
1503 position: relative;
1504 position: relative;
1504 vertical-align: middle;
1505 vertical-align: middle;
1505 width: 4px;
1506 width: 4px;
1506 height: @basefontsize;
1507 height: @basefontsize;
1507
1508
1508 &:after {
1509 &:after {
1509 content: "\00A0\25BE";
1510 content: "\00A0\25BE";
1510 display: inline-block;
1511 display: inline-block;
1511 width:10px;
1512 width:10px;
1512 line-height: 5px;
1513 line-height: 5px;
1513 font-size: 12px;
1514 font-size: 12px;
1514 cursor: pointer;
1515 cursor: pointer;
1515 }
1516 }
1516 }
1517 }
1517
1518
1518 .journal_more .show_more {
1519 .journal_more .show_more {
1519 display: inline;
1520 display: inline;
1520
1521
1521 &:after {
1522 &:after {
1522 content: none;
1523 content: none;
1523 }
1524 }
1524 }
1525 }
1525
1526
1526 .open .show_more:after,
1527 .open .show_more:after,
1527 .select2-dropdown-open .show_more:after {
1528 .select2-dropdown-open .show_more:after {
1528 .rotate(180deg);
1529 .rotate(180deg);
1529 margin-left: 4px;
1530 margin-left: 4px;
1530 }
1531 }
1531
1532
1532
1533
1533 .compare_view_commits .collapse_commit:after {
1534 .compare_view_commits .collapse_commit:after {
1534 cursor: pointer;
1535 cursor: pointer;
1535 content: "\00A0\25B4";
1536 content: "\00A0\25B4";
1536 margin-left: -3px;
1537 margin-left: -3px;
1537 font-size: 17px;
1538 font-size: 17px;
1538 color: @grey4;
1539 color: @grey4;
1539 }
1540 }
1540
1541
1541 .diff_links {
1542 .diff_links {
1542 margin-left: 8px;
1543 margin-left: 8px;
1543 }
1544 }
1544
1545
1545 div.ancestor {
1546 div.ancestor {
1546 margin: -30px 0px;
1547 margin: -30px 0px;
1547 }
1548 }
1548
1549
1549 .cs_icon_td input[type="checkbox"] {
1550 .cs_icon_td input[type="checkbox"] {
1550 display: none;
1551 display: none;
1551 }
1552 }
1552
1553
1553 .cs_icon_td .expand_file_icon:after {
1554 .cs_icon_td .expand_file_icon:after {
1554 cursor: pointer;
1555 cursor: pointer;
1555 content: "\00A0\25B6";
1556 content: "\00A0\25B6";
1556 font-size: 12px;
1557 font-size: 12px;
1557 color: @grey4;
1558 color: @grey4;
1558 }
1559 }
1559
1560
1560 .cs_icon_td .collapse_file_icon:after {
1561 .cs_icon_td .collapse_file_icon:after {
1561 cursor: pointer;
1562 cursor: pointer;
1562 content: "\00A0\25BC";
1563 content: "\00A0\25BC";
1563 font-size: 12px;
1564 font-size: 12px;
1564 color: @grey4;
1565 color: @grey4;
1565 }
1566 }
1566
1567
1567 /*new binary
1568 /*new binary
1568 NEW_FILENODE = 1
1569 NEW_FILENODE = 1
1569 DEL_FILENODE = 2
1570 DEL_FILENODE = 2
1570 MOD_FILENODE = 3
1571 MOD_FILENODE = 3
1571 RENAMED_FILENODE = 4
1572 RENAMED_FILENODE = 4
1572 COPIED_FILENODE = 5
1573 COPIED_FILENODE = 5
1573 CHMOD_FILENODE = 6
1574 CHMOD_FILENODE = 6
1574 BIN_FILENODE = 7
1575 BIN_FILENODE = 7
1575 */
1576 */
1576 .cs_files_expand {
1577 .cs_files_expand {
1577 font-size: @basefontsize + 5px;
1578 font-size: @basefontsize + 5px;
1578 line-height: 1.8em;
1579 line-height: 1.8em;
1579 float: right;
1580 float: right;
1580 }
1581 }
1581
1582
1582 .cs_files_expand span{
1583 .cs_files_expand span{
1583 color: @rcblue;
1584 color: @rcblue;
1584 cursor: pointer;
1585 cursor: pointer;
1585 }
1586 }
1586 .cs_files {
1587 .cs_files {
1587 clear: both;
1588 clear: both;
1588 padding-bottom: @padding;
1589 padding-bottom: @padding;
1589
1590
1590 .cur_cs {
1591 .cur_cs {
1591 margin: 10px 2px;
1592 margin: 10px 2px;
1592 font-weight: bold;
1593 font-weight: bold;
1593 }
1594 }
1594
1595
1595 .node {
1596 .node {
1596 float: left;
1597 float: left;
1597 }
1598 }
1598
1599
1599 .changes {
1600 .changes {
1600 float: right;
1601 float: right;
1601 color: white;
1602 color: white;
1602 font-size: @basefontsize - 4px;
1603 font-size: @basefontsize - 4px;
1603 margin-top: 4px;
1604 margin-top: 4px;
1604 opacity: 0.6;
1605 opacity: 0.6;
1605 filter: Alpha(opacity=60); /* IE8 and earlier */
1606 filter: Alpha(opacity=60); /* IE8 and earlier */
1606
1607
1607 .added {
1608 .added {
1608 background-color: @alert1;
1609 background-color: @alert1;
1609 float: left;
1610 float: left;
1610 text-align: center;
1611 text-align: center;
1611 }
1612 }
1612
1613
1613 .deleted {
1614 .deleted {
1614 background-color: @alert2;
1615 background-color: @alert2;
1615 float: left;
1616 float: left;
1616 text-align: center;
1617 text-align: center;
1617 }
1618 }
1618
1619
1619 .bin {
1620 .bin {
1620 background-color: @alert1;
1621 background-color: @alert1;
1621 text-align: center;
1622 text-align: center;
1622 }
1623 }
1623
1624
1624 /*new binary*/
1625 /*new binary*/
1625 .bin.bin1 {
1626 .bin.bin1 {
1626 background-color: @alert1;
1627 background-color: @alert1;
1627 text-align: center;
1628 text-align: center;
1628 }
1629 }
1629
1630
1630 /*deleted binary*/
1631 /*deleted binary*/
1631 .bin.bin2 {
1632 .bin.bin2 {
1632 background-color: @alert2;
1633 background-color: @alert2;
1633 text-align: center;
1634 text-align: center;
1634 }
1635 }
1635
1636
1636 /*mod binary*/
1637 /*mod binary*/
1637 .bin.bin3 {
1638 .bin.bin3 {
1638 background-color: @grey2;
1639 background-color: @grey2;
1639 text-align: center;
1640 text-align: center;
1640 }
1641 }
1641
1642
1642 /*rename file*/
1643 /*rename file*/
1643 .bin.bin4 {
1644 .bin.bin4 {
1644 background-color: @alert4;
1645 background-color: @alert4;
1645 text-align: center;
1646 text-align: center;
1646 }
1647 }
1647
1648
1648 /*copied file*/
1649 /*copied file*/
1649 .bin.bin5 {
1650 .bin.bin5 {
1650 background-color: @alert4;
1651 background-color: @alert4;
1651 text-align: center;
1652 text-align: center;
1652 }
1653 }
1653
1654
1654 /*chmod file*/
1655 /*chmod file*/
1655 .bin.bin6 {
1656 .bin.bin6 {
1656 background-color: @grey2;
1657 background-color: @grey2;
1657 text-align: center;
1658 text-align: center;
1658 }
1659 }
1659 }
1660 }
1660 }
1661 }
1661
1662
1662 .cs_files .cs_added, .cs_files .cs_A,
1663 .cs_files .cs_added, .cs_files .cs_A,
1663 .cs_files .cs_added, .cs_files .cs_M,
1664 .cs_files .cs_added, .cs_files .cs_M,
1664 .cs_files .cs_added, .cs_files .cs_D {
1665 .cs_files .cs_added, .cs_files .cs_D {
1665 height: 16px;
1666 height: 16px;
1666 padding-right: 10px;
1667 padding-right: 10px;
1667 margin-top: 7px;
1668 margin-top: 7px;
1668 text-align: left;
1669 text-align: left;
1669 }
1670 }
1670
1671
1671 .cs_icon_td {
1672 .cs_icon_td {
1672 min-width: 16px;
1673 min-width: 16px;
1673 width: 16px;
1674 width: 16px;
1674 }
1675 }
1675
1676
1676 .pull-request-merge {
1677 .pull-request-merge {
1677 border: 1px solid @grey5;
1678 border: 1px solid @grey5;
1678 padding: 10px 0px 20px;
1679 padding: 10px 0px 20px;
1679 margin-top: 10px;
1680 margin-top: 10px;
1680 margin-bottom: 20px;
1681 margin-bottom: 20px;
1681 }
1682 }
1682
1683
1683 .pull-request-merge ul {
1684 .pull-request-merge ul {
1684 padding: 0px 0px;
1685 padding: 0px 0px;
1685 }
1686 }
1686
1687
1687 .pull-request-merge li:before{
1688 .pull-request-merge li:before{
1688 content:none;
1689 content:none;
1689 }
1690 }
1690
1691
1691 .pull-request-merge .pull-request-wrap {
1692 .pull-request-merge .pull-request-wrap {
1692 height: auto;
1693 height: auto;
1693 padding: 0px 0px;
1694 padding: 0px 0px;
1694 text-align: right;
1695 text-align: right;
1695 }
1696 }
1696
1697
1697 .pull-request-merge span {
1698 .pull-request-merge span {
1698 margin-right: 5px;
1699 margin-right: 5px;
1699 }
1700 }
1700
1701
1701 .pull-request-merge-actions {
1702 .pull-request-merge-actions {
1702 height: 30px;
1703 height: 30px;
1703 padding: 0px 0px;
1704 padding: 0px 0px;
1704 }
1705 }
1705
1706
1706 .merge-status {
1707 .merge-status {
1707 margin-right: 5px;
1708 margin-right: 5px;
1708 }
1709 }
1709
1710
1710 .merge-message {
1711 .merge-message {
1711 font-size: 1.2em
1712 font-size: 1.2em
1712 }
1713 }
1713
1714
1714 .merge-message.success i,
1715 .merge-message.success i,
1715 .merge-icon.success i {
1716 .merge-icon.success i {
1716 color:@alert1;
1717 color:@alert1;
1717 }
1718 }
1718
1719
1719 .merge-message.warning i,
1720 .merge-message.warning i,
1720 .merge-icon.warning i {
1721 .merge-icon.warning i {
1721 color: @alert3;
1722 color: @alert3;
1722 }
1723 }
1723
1724
1724 .merge-message.error i,
1725 .merge-message.error i,
1725 .merge-icon.error i {
1726 .merge-icon.error i {
1726 color:@alert2;
1727 color:@alert2;
1727 }
1728 }
1728
1729
1729 .pr-versions {
1730 .pr-versions {
1730 font-size: 1.1em;
1731 font-size: 1.1em;
1731
1732
1732 table {
1733 table {
1733 padding: 0px 5px;
1734 padding: 0px 5px;
1734 }
1735 }
1735
1736
1736 td {
1737 td {
1737 line-height: 15px;
1738 line-height: 15px;
1738 }
1739 }
1739
1740
1740 .flag_status {
1741 .flag_status {
1741 margin: 0;
1742 margin: 0;
1742 }
1743 }
1743
1744
1744 .compare-radio-button {
1745 .compare-radio-button {
1745 position: relative;
1746 position: relative;
1746 top: -3px;
1747 top: -3px;
1747 }
1748 }
1748 }
1749 }
1749
1750
1750
1751
1751 #close_pull_request {
1752 #close_pull_request {
1752 margin-right: 0px;
1753 margin-right: 0px;
1753 }
1754 }
1754
1755
1755 .empty_data {
1756 .empty_data {
1756 color: @grey4;
1757 color: @grey4;
1757 }
1758 }
1758
1759
1759 #changeset_compare_view_content {
1760 #changeset_compare_view_content {
1760 margin-bottom: @space;
1761 margin-bottom: @space;
1761 clear: both;
1762 clear: both;
1762 width: 100%;
1763 width: 100%;
1763 box-sizing: border-box;
1764 box-sizing: border-box;
1764 .border-radius(@border-radius);
1765 .border-radius(@border-radius);
1765
1766
1766 .help-block {
1767 .help-block {
1767 margin: @padding 0;
1768 margin: @padding 0;
1768 color: @text-color;
1769 color: @text-color;
1769 }
1770 }
1770
1771
1771 .empty_data {
1772 .empty_data {
1772 margin: @padding 0;
1773 margin: @padding 0;
1773 }
1774 }
1774
1775
1775 .alert {
1776 .alert {
1776 margin-bottom: @space;
1777 margin-bottom: @space;
1777 }
1778 }
1778 }
1779 }
1779
1780
1780 .table_disp {
1781 .table_disp {
1781 .status {
1782 .status {
1782 width: auto;
1783 width: auto;
1783
1784
1784 .flag_status {
1785 .flag_status {
1785 float: left;
1786 float: left;
1786 }
1787 }
1787 }
1788 }
1788 }
1789 }
1789
1790
1790 .status_box_menu {
1791 .status_box_menu {
1791 margin: 0;
1792 margin: 0;
1792 }
1793 }
1793
1794
1794 .notification-table{
1795 .notification-table{
1795 margin-bottom: @space;
1796 margin-bottom: @space;
1796 display: table;
1797 display: table;
1797 width: 100%;
1798 width: 100%;
1798
1799
1799 .container{
1800 .container{
1800 display: table-row;
1801 display: table-row;
1801
1802
1802 .notification-header{
1803 .notification-header{
1803 border-bottom: @border-thickness solid @border-default-color;
1804 border-bottom: @border-thickness solid @border-default-color;
1804 }
1805 }
1805
1806
1806 .notification-subject{
1807 .notification-subject{
1807 display: table-cell;
1808 display: table-cell;
1808 }
1809 }
1809 }
1810 }
1810 }
1811 }
1811
1812
1812 // Notifications
1813 // Notifications
1813 .notification-header{
1814 .notification-header{
1814 display: table;
1815 display: table;
1815 width: 100%;
1816 width: 100%;
1816 padding: floor(@basefontsize/2) 0;
1817 padding: floor(@basefontsize/2) 0;
1817 line-height: 1em;
1818 line-height: 1em;
1818
1819
1819 .desc, .delete-notifications, .read-notifications{
1820 .desc, .delete-notifications, .read-notifications{
1820 display: table-cell;
1821 display: table-cell;
1821 text-align: left;
1822 text-align: left;
1822 }
1823 }
1823
1824
1824 .desc{
1825 .desc{
1825 width: 1163px;
1826 width: 1163px;
1826 }
1827 }
1827
1828
1828 .delete-notifications, .read-notifications{
1829 .delete-notifications, .read-notifications{
1829 width: 35px;
1830 width: 35px;
1830 min-width: 35px; //fixes when only one button is displayed
1831 min-width: 35px; //fixes when only one button is displayed
1831 }
1832 }
1832 }
1833 }
1833
1834
1834 .notification-body {
1835 .notification-body {
1835 .markdown-block,
1836 .markdown-block,
1836 .rst-block {
1837 .rst-block {
1837 padding: @padding 0;
1838 padding: @padding 0;
1838 }
1839 }
1839
1840
1840 .notification-subject {
1841 .notification-subject {
1841 padding: @textmargin 0;
1842 padding: @textmargin 0;
1842 border-bottom: @border-thickness solid @border-default-color;
1843 border-bottom: @border-thickness solid @border-default-color;
1843 }
1844 }
1844 }
1845 }
1845
1846
1846
1847
1847 .notifications_buttons{
1848 .notifications_buttons{
1848 float: right;
1849 float: right;
1849 }
1850 }
1850
1851
1851 #notification-status{
1852 #notification-status{
1852 display: inline;
1853 display: inline;
1853 }
1854 }
1854
1855
1855 // Repositories
1856 // Repositories
1856
1857
1857 #summary.fields{
1858 #summary.fields{
1858 display: table;
1859 display: table;
1859
1860
1860 .field{
1861 .field{
1861 display: table-row;
1862 display: table-row;
1862
1863
1863 .label-summary{
1864 .label-summary{
1864 display: table-cell;
1865 display: table-cell;
1865 min-width: @label-summary-minwidth;
1866 min-width: @label-summary-minwidth;
1866 padding-top: @padding/2;
1867 padding-top: @padding/2;
1867 padding-bottom: @padding/2;
1868 padding-bottom: @padding/2;
1868 padding-right: @padding/2;
1869 padding-right: @padding/2;
1869 }
1870 }
1870
1871
1871 .input{
1872 .input{
1872 display: table-cell;
1873 display: table-cell;
1873 padding: @padding/2;
1874 padding: @padding/2;
1874
1875
1875 input{
1876 input{
1876 min-width: 29em;
1877 min-width: 29em;
1877 padding: @padding/4;
1878 padding: @padding/4;
1878 }
1879 }
1879 }
1880 }
1880 .statistics, .downloads{
1881 .statistics, .downloads{
1881 .disabled{
1882 .disabled{
1882 color: @grey4;
1883 color: @grey4;
1883 }
1884 }
1884 }
1885 }
1885 }
1886 }
1886 }
1887 }
1887
1888
1888 #summary{
1889 #summary{
1889 width: 70%;
1890 width: 70%;
1890 }
1891 }
1891
1892
1892
1893
1893 // Journal
1894 // Journal
1894 .journal.title {
1895 .journal.title {
1895 h5 {
1896 h5 {
1896 float: left;
1897 float: left;
1897 margin: 0;
1898 margin: 0;
1898 width: 70%;
1899 width: 70%;
1899 }
1900 }
1900
1901
1901 ul {
1902 ul {
1902 float: right;
1903 float: right;
1903 display: inline-block;
1904 display: inline-block;
1904 margin: 0;
1905 margin: 0;
1905 width: 30%;
1906 width: 30%;
1906 text-align: right;
1907 text-align: right;
1907
1908
1908 li {
1909 li {
1909 display: inline;
1910 display: inline;
1910 font-size: @journal-fontsize;
1911 font-size: @journal-fontsize;
1911 line-height: 1em;
1912 line-height: 1em;
1912
1913
1913 &:before { content: none; }
1914 &:before { content: none; }
1914 }
1915 }
1915 }
1916 }
1916 }
1917 }
1917
1918
1918 .filterexample {
1919 .filterexample {
1919 position: absolute;
1920 position: absolute;
1920 top: 95px;
1921 top: 95px;
1921 left: @contentpadding;
1922 left: @contentpadding;
1922 color: @rcblue;
1923 color: @rcblue;
1923 font-size: 11px;
1924 font-size: 11px;
1924 font-family: @text-regular;
1925 font-family: @text-regular;
1925 cursor: help;
1926 cursor: help;
1926
1927
1927 &:hover {
1928 &:hover {
1928 color: @rcdarkblue;
1929 color: @rcdarkblue;
1929 }
1930 }
1930
1931
1931 @media (max-width:768px) {
1932 @media (max-width:768px) {
1932 position: relative;
1933 position: relative;
1933 top: auto;
1934 top: auto;
1934 left: auto;
1935 left: auto;
1935 display: block;
1936 display: block;
1936 }
1937 }
1937 }
1938 }
1938
1939
1939
1940
1940 #journal{
1941 #journal{
1941 margin-bottom: @space;
1942 margin-bottom: @space;
1942
1943
1943 .journal_day{
1944 .journal_day{
1944 margin-bottom: @textmargin/2;
1945 margin-bottom: @textmargin/2;
1945 padding-bottom: @textmargin/2;
1946 padding-bottom: @textmargin/2;
1946 font-size: @journal-fontsize;
1947 font-size: @journal-fontsize;
1947 border-bottom: @border-thickness solid @border-default-color;
1948 border-bottom: @border-thickness solid @border-default-color;
1948 }
1949 }
1949
1950
1950 .journal_container{
1951 .journal_container{
1951 margin-bottom: @space;
1952 margin-bottom: @space;
1952
1953
1953 .journal_user{
1954 .journal_user{
1954 display: inline-block;
1955 display: inline-block;
1955 }
1956 }
1956 .journal_action_container{
1957 .journal_action_container{
1957 display: block;
1958 display: block;
1958 margin-top: @textmargin;
1959 margin-top: @textmargin;
1959
1960
1960 div{
1961 div{
1961 display: inline;
1962 display: inline;
1962 }
1963 }
1963
1964
1964 div.journal_action_params{
1965 div.journal_action_params{
1965 display: block;
1966 display: block;
1966 }
1967 }
1967
1968
1968 div.journal_repo:after{
1969 div.journal_repo:after{
1969 content: "\A";
1970 content: "\A";
1970 white-space: pre;
1971 white-space: pre;
1971 }
1972 }
1972
1973
1973 div.date{
1974 div.date{
1974 display: block;
1975 display: block;
1975 margin-bottom: @textmargin;
1976 margin-bottom: @textmargin;
1976 }
1977 }
1977 }
1978 }
1978 }
1979 }
1979 }
1980 }
1980
1981
1981 // Files
1982 // Files
1982 .edit-file-title {
1983 .edit-file-title {
1983 border-bottom: @border-thickness solid @border-default-color;
1984 border-bottom: @border-thickness solid @border-default-color;
1984
1985
1985 .breadcrumbs {
1986 .breadcrumbs {
1986 margin-bottom: 0;
1987 margin-bottom: 0;
1987 }
1988 }
1988 }
1989 }
1989
1990
1990 .edit-file-fieldset {
1991 .edit-file-fieldset {
1991 margin-top: @sidebarpadding;
1992 margin-top: @sidebarpadding;
1992
1993
1993 .fieldset {
1994 .fieldset {
1994 .left-label {
1995 .left-label {
1995 width: 13%;
1996 width: 13%;
1996 }
1997 }
1997 .right-content {
1998 .right-content {
1998 width: 87%;
1999 width: 87%;
1999 max-width: 100%;
2000 max-width: 100%;
2000 }
2001 }
2001 .filename-label {
2002 .filename-label {
2002 margin-top: 13px;
2003 margin-top: 13px;
2003 }
2004 }
2004 .commit-message-label {
2005 .commit-message-label {
2005 margin-top: 4px;
2006 margin-top: 4px;
2006 }
2007 }
2007 .file-upload-input {
2008 .file-upload-input {
2008 input {
2009 input {
2009 display: none;
2010 display: none;
2010 }
2011 }
2011 margin-top: 10px;
2012 margin-top: 10px;
2012 }
2013 }
2013 .file-upload-label {
2014 .file-upload-label {
2014 margin-top: 10px;
2015 margin-top: 10px;
2015 }
2016 }
2016 p {
2017 p {
2017 margin-top: 5px;
2018 margin-top: 5px;
2018 }
2019 }
2019
2020
2020 }
2021 }
2021 .custom-path-link {
2022 .custom-path-link {
2022 margin-left: 5px;
2023 margin-left: 5px;
2023 }
2024 }
2024 #commit {
2025 #commit {
2025 resize: vertical;
2026 resize: vertical;
2026 }
2027 }
2027 }
2028 }
2028
2029
2029 .delete-file-preview {
2030 .delete-file-preview {
2030 max-height: 250px;
2031 max-height: 250px;
2031 }
2032 }
2032
2033
2033 .new-file,
2034 .new-file,
2034 #filter_activate,
2035 #filter_activate,
2035 #filter_deactivate {
2036 #filter_deactivate {
2036 float: left;
2037 float: left;
2037 margin: 0 0 0 15px;
2038 margin: 0 0 0 15px;
2038 }
2039 }
2039
2040
2040 h3.files_location{
2041 h3.files_location{
2041 line-height: 2.4em;
2042 line-height: 2.4em;
2042 }
2043 }
2043
2044
2044 .browser-nav {
2045 .browser-nav {
2045 display: table;
2046 display: table;
2046 margin-bottom: @space;
2047 margin-bottom: @space;
2047
2048
2048
2049
2049 .info_box {
2050 .info_box {
2050 display: inline-table;
2051 display: inline-table;
2051 height: 2.5em;
2052 height: 2.5em;
2052
2053
2053 .browser-cur-rev, .info_box_elem {
2054 .browser-cur-rev, .info_box_elem {
2054 display: table-cell;
2055 display: table-cell;
2055 vertical-align: middle;
2056 vertical-align: middle;
2056 }
2057 }
2057
2058
2058 .info_box_elem {
2059 .info_box_elem {
2059 border-top: @border-thickness solid @rcblue;
2060 border-top: @border-thickness solid @rcblue;
2060 border-bottom: @border-thickness solid @rcblue;
2061 border-bottom: @border-thickness solid @rcblue;
2061
2062
2062 #at_rev, a {
2063 #at_rev, a {
2063 padding: 0.6em 0.9em;
2064 padding: 0.6em 0.9em;
2064 margin: 0;
2065 margin: 0;
2065 .box-shadow(none);
2066 .box-shadow(none);
2066 border: 0;
2067 border: 0;
2067 height: 12px;
2068 height: 12px;
2068 }
2069 }
2069
2070
2070 input#at_rev {
2071 input#at_rev {
2071 max-width: 50px;
2072 max-width: 50px;
2072 text-align: right;
2073 text-align: right;
2073 }
2074 }
2074
2075
2075 &.previous {
2076 &.previous {
2076 border: @border-thickness solid @rcblue;
2077 border: @border-thickness solid @rcblue;
2077 .disabled {
2078 .disabled {
2078 color: @grey4;
2079 color: @grey4;
2079 cursor: not-allowed;
2080 cursor: not-allowed;
2080 }
2081 }
2081 }
2082 }
2082
2083
2083 &.next {
2084 &.next {
2084 border: @border-thickness solid @rcblue;
2085 border: @border-thickness solid @rcblue;
2085 .disabled {
2086 .disabled {
2086 color: @grey4;
2087 color: @grey4;
2087 cursor: not-allowed;
2088 cursor: not-allowed;
2088 }
2089 }
2089 }
2090 }
2090 }
2091 }
2091
2092
2092 .browser-cur-rev {
2093 .browser-cur-rev {
2093
2094
2094 span{
2095 span{
2095 margin: 0;
2096 margin: 0;
2096 color: @rcblue;
2097 color: @rcblue;
2097 height: 12px;
2098 height: 12px;
2098 display: inline-block;
2099 display: inline-block;
2099 padding: 0.7em 1em ;
2100 padding: 0.7em 1em ;
2100 border: @border-thickness solid @rcblue;
2101 border: @border-thickness solid @rcblue;
2101 margin-right: @padding;
2102 margin-right: @padding;
2102 }
2103 }
2103 }
2104 }
2104 }
2105 }
2105
2106
2106 .search_activate {
2107 .search_activate {
2107 display: table-cell;
2108 display: table-cell;
2108 vertical-align: middle;
2109 vertical-align: middle;
2109
2110
2110 input, label{
2111 input, label{
2111 margin: 0;
2112 margin: 0;
2112 padding: 0;
2113 padding: 0;
2113 }
2114 }
2114
2115
2115 input{
2116 input{
2116 margin-left: @textmargin;
2117 margin-left: @textmargin;
2117 }
2118 }
2118
2119
2119 }
2120 }
2120 }
2121 }
2121
2122
2122 .browser-cur-rev{
2123 .browser-cur-rev{
2123 margin-bottom: @textmargin;
2124 margin-bottom: @textmargin;
2124 }
2125 }
2125
2126
2126 #node_filter_box_loading{
2127 #node_filter_box_loading{
2127 .info_text;
2128 .info_text;
2128 }
2129 }
2129
2130
2130 .browser-search {
2131 .browser-search {
2131 margin: -25px 0px 5px 0px;
2132 margin: -25px 0px 5px 0px;
2132 }
2133 }
2133
2134
2134 .node-filter {
2135 .node-filter {
2135 font-size: @repo-title-fontsize;
2136 font-size: @repo-title-fontsize;
2136 padding: 4px 0px 0px 0px;
2137 padding: 4px 0px 0px 0px;
2137
2138
2138 .node-filter-path {
2139 .node-filter-path {
2139 float: left;
2140 float: left;
2140 color: @grey4;
2141 color: @grey4;
2141 }
2142 }
2142 .node-filter-input {
2143 .node-filter-input {
2143 float: left;
2144 float: left;
2144 margin: -2px 0px 0px 2px;
2145 margin: -2px 0px 0px 2px;
2145 input {
2146 input {
2146 padding: 2px;
2147 padding: 2px;
2147 border: none;
2148 border: none;
2148 font-size: @repo-title-fontsize;
2149 font-size: @repo-title-fontsize;
2149 }
2150 }
2150 }
2151 }
2151 }
2152 }
2152
2153
2153
2154
2154 .browser-result{
2155 .browser-result{
2155 td a{
2156 td a{
2156 margin-left: 0.5em;
2157 margin-left: 0.5em;
2157 display: inline-block;
2158 display: inline-block;
2158
2159
2159 em{
2160 em{
2160 font-family: @text-bold;
2161 font-family: @text-bold;
2161 }
2162 }
2162 }
2163 }
2163 }
2164 }
2164
2165
2165 .browser-highlight{
2166 .browser-highlight{
2166 background-color: @grey5-alpha;
2167 background-color: @grey5-alpha;
2167 }
2168 }
2168
2169
2169
2170
2170 // Search
2171 // Search
2171
2172
2172 .search-form{
2173 .search-form{
2173 #q {
2174 #q {
2174 width: @search-form-width;
2175 width: @search-form-width;
2175 }
2176 }
2176 .fields{
2177 .fields{
2177 margin: 0 0 @space;
2178 margin: 0 0 @space;
2178 }
2179 }
2179
2180
2180 label{
2181 label{
2181 display: inline-block;
2182 display: inline-block;
2182 margin-right: @textmargin;
2183 margin-right: @textmargin;
2183 padding-top: 0.25em;
2184 padding-top: 0.25em;
2184 }
2185 }
2185
2186
2186
2187
2187 .results{
2188 .results{
2188 clear: both;
2189 clear: both;
2189 margin: 0 0 @padding;
2190 margin: 0 0 @padding;
2190 }
2191 }
2191 }
2192 }
2192
2193
2193 div.search-feedback-items {
2194 div.search-feedback-items {
2194 display: inline-block;
2195 display: inline-block;
2195 padding:0px 0px 0px 96px;
2196 padding:0px 0px 0px 96px;
2196 }
2197 }
2197
2198
2198 div.search-code-body {
2199 div.search-code-body {
2199 background-color: #ffffff; padding: 5px 0 5px 10px;
2200 background-color: #ffffff; padding: 5px 0 5px 10px;
2200 pre {
2201 pre {
2201 .match { background-color: #faffa6;}
2202 .match { background-color: #faffa6;}
2202 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2203 .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; }
2203 }
2204 }
2204 }
2205 }
2205
2206
2206 .expand_commit.search {
2207 .expand_commit.search {
2207 .show_more.open {
2208 .show_more.open {
2208 height: auto;
2209 height: auto;
2209 max-height: none;
2210 max-height: none;
2210 }
2211 }
2211 }
2212 }
2212
2213
2213 .search-results {
2214 .search-results {
2214
2215
2215 h2 {
2216 h2 {
2216 margin-bottom: 0;
2217 margin-bottom: 0;
2217 }
2218 }
2218 .codeblock {
2219 .codeblock {
2219 border: none;
2220 border: none;
2220 background: transparent;
2221 background: transparent;
2221 }
2222 }
2222
2223
2223 .codeblock-header {
2224 .codeblock-header {
2224 border: none;
2225 border: none;
2225 background: transparent;
2226 background: transparent;
2226 }
2227 }
2227
2228
2228 .code-body {
2229 .code-body {
2229 border: @border-thickness solid @border-default-color;
2230 border: @border-thickness solid @border-default-color;
2230 .border-radius(@border-radius);
2231 .border-radius(@border-radius);
2231 }
2232 }
2232
2233
2233 .td-commit {
2234 .td-commit {
2234 &:extend(pre);
2235 &:extend(pre);
2235 border-bottom: @border-thickness solid @border-default-color;
2236 border-bottom: @border-thickness solid @border-default-color;
2236 }
2237 }
2237
2238
2238 .message {
2239 .message {
2239 height: auto;
2240 height: auto;
2240 max-width: 350px;
2241 max-width: 350px;
2241 white-space: normal;
2242 white-space: normal;
2242 text-overflow: initial;
2243 text-overflow: initial;
2243 overflow: visible;
2244 overflow: visible;
2244
2245
2245 .match { background-color: #faffa6;}
2246 .match { background-color: #faffa6;}
2246 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2247 .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; }
2247 }
2248 }
2248
2249
2249 }
2250 }
2250
2251
2251 table.rctable td.td-search-results div {
2252 table.rctable td.td-search-results div {
2252 max-width: 100%;
2253 max-width: 100%;
2253 }
2254 }
2254
2255
2255 #tip-box, .tip-box{
2256 #tip-box, .tip-box{
2256 padding: @menupadding/2;
2257 padding: @menupadding/2;
2257 display: block;
2258 display: block;
2258 border: @border-thickness solid @border-highlight-color;
2259 border: @border-thickness solid @border-highlight-color;
2259 .border-radius(@border-radius);
2260 .border-radius(@border-radius);
2260 background-color: white;
2261 background-color: white;
2261 z-index: 99;
2262 z-index: 99;
2262 white-space: pre-wrap;
2263 white-space: pre-wrap;
2263 }
2264 }
2264
2265
2265 #linktt {
2266 #linktt {
2266 width: 79px;
2267 width: 79px;
2267 }
2268 }
2268
2269
2269 #help_kb .modal-content{
2270 #help_kb .modal-content{
2270 max-width: 750px;
2271 max-width: 750px;
2271 margin: 10% auto;
2272 margin: 10% auto;
2272
2273
2273 table{
2274 table{
2274 td,th{
2275 td,th{
2275 border-bottom: none;
2276 border-bottom: none;
2276 line-height: 2.5em;
2277 line-height: 2.5em;
2277 }
2278 }
2278 th{
2279 th{
2279 padding-bottom: @textmargin/2;
2280 padding-bottom: @textmargin/2;
2280 }
2281 }
2281 td.keys{
2282 td.keys{
2282 text-align: center;
2283 text-align: center;
2283 }
2284 }
2284 }
2285 }
2285
2286
2286 .block-left{
2287 .block-left{
2287 width: 45%;
2288 width: 45%;
2288 margin-right: 5%;
2289 margin-right: 5%;
2289 }
2290 }
2290 .modal-footer{
2291 .modal-footer{
2291 clear: both;
2292 clear: both;
2292 }
2293 }
2293 .key.tag{
2294 .key.tag{
2294 padding: 0.5em;
2295 padding: 0.5em;
2295 background-color: @rcblue;
2296 background-color: @rcblue;
2296 color: white;
2297 color: white;
2297 border-color: @rcblue;
2298 border-color: @rcblue;
2298 .box-shadow(none);
2299 .box-shadow(none);
2299 }
2300 }
2300 }
2301 }
2301
2302
2302
2303
2303
2304
2304 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2305 //--- IMPORTS FOR REFACTORED STYLES ------------------//
2305
2306
2306 @import 'statistics-graph';
2307 @import 'statistics-graph';
2307 @import 'tables';
2308 @import 'tables';
2308 @import 'forms';
2309 @import 'forms';
2309 @import 'diff';
2310 @import 'diff';
2310 @import 'summary';
2311 @import 'summary';
2311 @import 'navigation';
2312 @import 'navigation';
2312
2313
2313 //--- SHOW/HIDE SECTIONS --//
2314 //--- SHOW/HIDE SECTIONS --//
2314
2315
2315 .btn-collapse {
2316 .btn-collapse {
2316 float: right;
2317 float: right;
2317 text-align: right;
2318 text-align: right;
2318 font-family: @text-light;
2319 font-family: @text-light;
2319 font-size: @basefontsize;
2320 font-size: @basefontsize;
2320 cursor: pointer;
2321 cursor: pointer;
2321 border: none;
2322 border: none;
2322 color: @rcblue;
2323 color: @rcblue;
2323 }
2324 }
2324
2325
2325 table.rctable,
2326 table.rctable,
2326 table.dataTable {
2327 table.dataTable {
2327 .btn-collapse {
2328 .btn-collapse {
2328 float: right;
2329 float: right;
2329 text-align: right;
2330 text-align: right;
2330 }
2331 }
2331 }
2332 }
2332
2333
2333
2334
2334 // TODO: johbo: Fix for IE10, this avoids that we see a border
2335 // TODO: johbo: Fix for IE10, this avoids that we see a border
2335 // and padding around checkboxes and radio boxes. Move to the right place,
2336 // and padding around checkboxes and radio boxes. Move to the right place,
2336 // or better: Remove this once we did the form refactoring.
2337 // or better: Remove this once we did the form refactoring.
2337 input[type=checkbox],
2338 input[type=checkbox],
2338 input[type=radio] {
2339 input[type=radio] {
2339 padding: 0;
2340 padding: 0;
2340 border: none;
2341 border: none;
2341 }
2342 }
2342
2343
2343 .toggle-ajax-spinner{
2344 .toggle-ajax-spinner{
2344 height: 16px;
2345 height: 16px;
2345 width: 16px;
2346 width: 16px;
2346 }
2347 }
@@ -1,129 +1,129 b''
1 <%inherit file="/summary/base.mako"/>
1 <%inherit file="/summary/base.mako"/>
2
2
3 <%namespace name="components" file="/summary/components.mako"/>
3 <%namespace name="components" file="/summary/components.mako"/>
4
4
5
5
6 <%def name="menu_bar_subnav()">
6 <%def name="menu_bar_subnav()">
7 ${self.repo_menu(active='summary')}
7 ${self.repo_menu(active='summary')}
8 </%def>
8 </%def>
9
9
10 <%def name="main()">
10 <%def name="main()">
11
11
12 <div class="title">
12 <div class="title">
13 ${self.repo_page_title(c.rhodecode_db_repo)}
13 ${self.repo_page_title(c.rhodecode_db_repo)}
14 <ul class="links icon-only-links block-right">
14 <ul class="links icon-only-links block-right">
15 <li>
15 <li>
16 %if c.rhodecode_user.username != h.DEFAULT_USER:
16 %if c.rhodecode_user.username != h.DEFAULT_USER:
17 <a href="${h.url('atom_feed_home',repo_name=c.rhodecode_db_repo.repo_name,auth_token=c.rhodecode_user.feed_token)}" title="${_('RSS Feed')}"><i class="icon-rss-sign"></i></a>
17 <a href="${h.url('atom_feed_home',repo_name=c.rhodecode_db_repo.repo_name,auth_token=c.rhodecode_user.feed_token)}" title="${_('RSS Feed')}"><i class="icon-rss-sign"></i></a>
18 %else:
18 %else:
19 <a href="${h.url('atom_feed_home',repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}"><i class="icon-rss-sign"></i></a>
19 <a href="${h.url('atom_feed_home',repo_name=c.rhodecode_db_repo.repo_name)}" title="${_('RSS Feed')}"><i class="icon-rss-sign"></i></a>
20 %endif
20 %endif
21 </li>
21 </li>
22 </ul>
22 </ul>
23 </div>
23 </div>
24
24
25 <div id="repo-summary" class="summary">
25 <div id="repo-summary" class="summary">
26 ${components.summary_detail(breadcrumbs_links=self.breadcrumbs_links(), show_downloads=True)}
26 ${components.summary_detail(breadcrumbs_links=self.breadcrumbs_links(), show_downloads=True)}
27 ${components.summary_stats(gravatar_function=self.gravatar_with_user)}
27 ${components.summary_stats(gravatar_function=self.gravatar_with_user)}
28 </div><!--end repo-summary-->
28 </div><!--end repo-summary-->
29
29
30
30
31 <div class="box" >
31 <div class="box" >
32 %if not c.repo_commits:
32 %if not c.repo_commits:
33 <div class="title">
33 <div class="title">
34 <h3>${_('Quick start')}</h3>
34 <h3>${_('Quick start')}</h3>
35 </div>
35 </div>
36 %endif
36 %endif
37 <div class="table">
37 <div class="table">
38 <div id="shortlog_data">
38 <div id="shortlog_data">
39 <%include file='../changelog/changelog_summary_data.mako'/>
39 <%include file='../changelog/changelog_summary_data.mako'/>
40 </div>
40 </div>
41 </div>
41 </div>
42 </div>
42 </div>
43
43
44 %if c.readme_data:
44 %if c.readme_data:
45 <div id="readme" class="anchor">
45 <div id="readme" class="anchor">
46 <div class="box" >
46 <div class="box" >
47 <div class="title" title="${_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1])}">
47 <div class="title" title="${_('Readme file from commit %s:%s') % (c.rhodecode_db_repo.landing_rev[0], c.rhodecode_db_repo.landing_rev[1])}">
48 <h3 class="breadcrumbs">
48 <h3 class="breadcrumbs">
49 <a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a>
49 <a href="${h.url('files_home',repo_name=c.repo_name,revision='tip',f_path=c.readme_file)}">${c.readme_file}</a>
50 </h3>
50 </h3>
51 </div>
51 </div>
52 <div class="readme codeblock">
52 <div class="readme codeblock">
53 <div class="readme_box markdown-block">
53 <div class="readme_box">
54 ${c.readme_data|n}
54 ${c.readme_data|n}
55 </div>
55 </div>
56 </div>
56 </div>
57 </div>
57 </div>
58 </div>
58 </div>
59 %endif
59 %endif
60
60
61 <script type="text/javascript">
61 <script type="text/javascript">
62 $(document).ready(function(){
62 $(document).ready(function(){
63 $('#clone_by_name').on('click',function(e){
63 $('#clone_by_name').on('click',function(e){
64 // show url by name and hide name button
64 // show url by name and hide name button
65 $('#clone_url').show();
65 $('#clone_url').show();
66 $('#clone_by_name').hide();
66 $('#clone_by_name').hide();
67
67
68 // hide url by id and show name button
68 // hide url by id and show name button
69 $('#clone_by_id').show();
69 $('#clone_by_id').show();
70 $('#clone_url_id').hide();
70 $('#clone_url_id').hide();
71
71
72 });
72 });
73 $('#clone_by_id').on('click',function(e){
73 $('#clone_by_id').on('click',function(e){
74
74
75 // show url by id and hide id button
75 // show url by id and hide id button
76 $('#clone_by_id').hide();
76 $('#clone_by_id').hide();
77 $('#clone_url_id').show();
77 $('#clone_url_id').show();
78
78
79 // hide url by name and show id button
79 // hide url by name and show id button
80 $('#clone_by_name').show();
80 $('#clone_by_name').show();
81 $('#clone_url').hide();
81 $('#clone_url').hide();
82 });
82 });
83
83
84 var initialCommitData = {
84 var initialCommitData = {
85 id: null,
85 id: null,
86 text: 'tip',
86 text: 'tip',
87 type: 'tag',
87 type: 'tag',
88 raw_id: null,
88 raw_id: null,
89 files_url: null
89 files_url: null
90 };
90 };
91
91
92 select2RefSwitcher('#download_options', initialCommitData);
92 select2RefSwitcher('#download_options', initialCommitData);
93
93
94 // on change of download options
94 // on change of download options
95 $('#download_options').on('change', function(e) {
95 $('#download_options').on('change', function(e) {
96 // format of Object {text: "v0.0.3", type: "tag", id: "rev"}
96 // format of Object {text: "v0.0.3", type: "tag", id: "rev"}
97 var selected_cs = e.added;
97 var selected_cs = e.added;
98 var fname= e.added.raw_id + ".zip";
98 var fname= e.added.raw_id + ".zip";
99 var href = pyroutes.url('files_archive_home', {'repo_name': templateContext.repo_name, 'fname':fname});
99 var href = pyroutes.url('files_archive_home', {'repo_name': templateContext.repo_name, 'fname':fname});
100 // set new label
100 // set new label
101 $('#archive_link').html('<i class="icon-archive"></i> '+ e.added.text+".zip");
101 $('#archive_link').html('<i class="icon-archive"></i> '+ e.added.text+".zip");
102
102
103 // set new url to button,
103 // set new url to button,
104 $('#archive_link').attr('href', href)
104 $('#archive_link').attr('href', href)
105 });
105 });
106
106
107
107
108 // load details on summary page expand
108 // load details on summary page expand
109 $('#summary_details_expand').on('click', function() {
109 $('#summary_details_expand').on('click', function() {
110
110
111 var callback = function (data) {
111 var callback = function (data) {
112 % if c.show_stats:
112 % if c.show_stats:
113 showRepoStats(
113 showRepoStats(
114 'lang_stats', data);
114 'lang_stats', data);
115 % endif
115 % endif
116 };
116 };
117
117
118 showRepoSize(
118 showRepoSize(
119 'repo_size_container',
119 'repo_size_container',
120 templateContext.repo_name,
120 templateContext.repo_name,
121 templateContext.repo_landing_commit,
121 templateContext.repo_landing_commit,
122 callback);
122 callback);
123
123
124 })
124 })
125
125
126 })
126 })
127 </script>
127 </script>
128
128
129 </%def>
129 </%def>
General Comments 0
You need to be logged in to leave comments. Login now