Show More
@@ -1,320 +1,320 b'' | |||||
1 | // forms.less |
|
1 | // forms.less | |
2 | // For use in RhodeCode applications; |
|
2 | // For use in RhodeCode applications; | |
3 | // see style guide documentation for guidelines. |
|
3 | // see style guide documentation for guidelines. | |
4 |
|
4 | |||
5 | form.rcform { |
|
5 | form.rcform { | |
6 |
|
6 | |||
7 | // reset for ie |
|
7 | // reset for ie | |
8 | // using :not(#ie) prevents older browsers from applying these rules |
|
8 | // using :not(#ie) prevents older browsers from applying these rules | |
9 | input[type="radio"], |
|
9 | input[type="radio"], | |
10 | input[type="checkbox"] { |
|
10 | input[type="checkbox"] { | |
11 | padding: 0; |
|
11 | padding: 0; | |
12 | border: none; |
|
12 | border: none; | |
13 | } |
|
13 | } | |
14 | label { display: inline; border:none; padding:0; } |
|
14 | label { display: inline; border:none; padding:0; } | |
15 | .label { display: none; } |
|
15 | .label { display: none; } | |
16 |
|
16 | |||
17 | max-width: 940px; |
|
17 | max-width: 940px; | |
18 | line-height: normal; |
|
18 | line-height: normal; | |
19 | white-space: normal; |
|
19 | white-space: normal; | |
20 | font-size: @basefontsize; |
|
20 | font-size: @basefontsize; | |
21 | font-family: @text-light; |
|
21 | font-family: @text-light; | |
22 | color: @form-textcolor; |
|
22 | color: @form-textcolor; | |
23 |
|
23 | |||
24 | fieldset, |
|
24 | fieldset, | |
25 | .buttons { |
|
25 | .buttons { | |
26 | clear: both; |
|
26 | clear: both; | |
27 | position: relative; |
|
27 | position: relative; | |
28 | display:block; |
|
28 | display:block; | |
29 | width: 100%; |
|
29 | width: 100%; | |
30 | min-height: 3em; |
|
30 | min-height: 3em; | |
31 | margin-bottom: @form-vertical-margin; |
|
31 | margin-bottom: @form-vertical-margin; | |
32 | line-height: 1.2em; |
|
32 | line-height: 1.2em; | |
33 |
|
33 | |||
34 | &:after { //clearfix |
|
34 | &:after { //clearfix | |
35 | content: ""; |
|
35 | content: ""; | |
36 | clear: both; |
|
36 | clear: both; | |
37 | width: 100%; |
|
37 | width: 100%; | |
38 | height: 1em; |
|
38 | height: 1em; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | .label:not(#ie) { |
|
41 | .label:not(#ie) { | |
42 | display: inline; |
|
42 | display: inline; | |
43 | margin: 0 1em 0 .5em; |
|
43 | margin: 0 1em 0 .5em; | |
44 | line-height: 1em; |
|
44 | line-height: 1em; | |
45 | } |
|
45 | } | |
46 | } |
|
46 | } | |
47 |
|
47 | |||
48 | legend { |
|
48 | legend { | |
49 | float: left; |
|
49 | float: left; | |
50 | display: block; |
|
50 | display: block; | |
51 | width: @legend-width; |
|
51 | width: @legend-width; | |
52 | margin: 0; |
|
52 | margin: 0; | |
53 | padding: 0 @padding 0 0; |
|
53 | padding: 0 @padding 0 0; | |
54 | } |
|
54 | } | |
55 |
|
55 | |||
56 | .fields { |
|
56 | .fields { | |
57 | float: left; |
|
57 | float: left; | |
58 | display: block; |
|
58 | display: block; | |
59 | width: 100%; |
|
59 | width: 100%; | |
60 | max-width: 500px; |
|
60 | max-width: 500px; | |
61 | margin: 0 0 @padding -@legend-width; |
|
61 | margin: 0 0 @padding -@legend-width; | |
62 | padding: 0 0 0 @legend-width; |
|
62 | padding: 0 0 0 @legend-width; | |
63 |
|
63 | |||
64 | .btn { |
|
64 | .btn { | |
65 | display: inline-block; |
|
65 | display: inline-block; | |
66 | margin: 0 1em @padding 0; |
|
66 | margin: 0 1em @padding 0; | |
67 | } |
|
67 | } | |
68 | } |
|
68 | } | |
69 |
|
69 | |||
70 | input, |
|
70 | input, | |
71 | textarea { |
|
71 | textarea { | |
72 | float: left; |
|
72 | float: left; | |
73 | .box-sizing(content-box); |
|
73 | .box-sizing(content-box); | |
74 | padding: @input-padding; |
|
74 | padding: @input-padding; | |
75 | border: @border-thickness-inputs solid @grey4; |
|
75 | border: @border-thickness-inputs solid @grey4; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | input { |
|
78 | input { | |
79 | float: left; |
|
79 | float: left; | |
80 | margin: 0 @input-padding 0 0; |
|
80 | margin: 0 @input-padding 0 0; | |
81 | line-height: 1em; |
|
81 | line-height: 1em; | |
82 | } |
|
82 | } | |
83 |
|
83 | |||
84 | input[type="text"], |
|
84 | input[type="text"], | |
85 | input[type="password"], |
|
85 | input[type="password"], | |
86 | textarea { |
|
86 | textarea { | |
87 | float: left; |
|
87 | float: left; | |
88 | min-width: 200px; |
|
88 | min-width: 200px; | |
89 | margin: 0 1em @padding 0; |
|
89 | margin: 0 1em @padding 0; | |
90 | color: @form-textcolor; |
|
90 | color: @form-textcolor; | |
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | input[type="text"], |
|
93 | input[type="text"], | |
94 | input[type="password"] { |
|
94 | input[type="password"] { | |
95 | height: 1em; |
|
95 | height: 1em; | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 | textarea { |
|
98 | textarea { | |
99 | width: 100%; |
|
99 | width: 100%; | |
100 | margin-top: -1em; //so it lines up with legend |
|
100 | margin-top: -1em; //so it lines up with legend | |
101 | overflow: auto; |
|
101 | overflow: auto; | |
102 | } |
|
102 | } | |
103 |
|
103 | |||
104 | label:not(#ie) { |
|
104 | label:not(#ie) { | |
105 | cursor: pointer; |
|
105 | cursor: pointer; | |
106 | display: inline-block; |
|
106 | display: inline-block; | |
107 | position: relative; |
|
107 | position: relative; | |
108 | background: white; |
|
108 | background: white; | |
109 | border-radius: 4px; |
|
109 | border-radius: 4px; | |
110 | box-shadow: none; |
|
110 | box-shadow: none; | |
111 |
|
111 | |||
112 | &:hover::after { |
|
112 | &:hover::after { | |
113 | opacity: 0.5; |
|
113 | opacity: 0.5; | |
114 | } |
|
114 | } | |
115 | } |
|
115 | } | |
116 |
|
116 | |||
117 | input[type="radio"]:not(#ie), |
|
117 | input[type="radio"]:not(#ie), | |
118 | input[type="checkbox"]:not(#ie) { |
|
118 | input[type="checkbox"]:not(#ie) { | |
119 | // Hide the input, but have it still be clickable |
|
119 | // Hide the input, but have it still be clickable | |
120 | opacity: 0; |
|
120 | opacity: 0; | |
121 | float: left; |
|
121 | float: left; | |
122 | height: 0; |
|
122 | height: 0; | |
123 | width: 0; |
|
123 | width: 0; | |
124 | margin: 0; |
|
124 | margin: 0; | |
125 | padding: 0; |
|
125 | padding: 0; | |
126 | } |
|
126 | } | |
127 | input[type='radio'] + label:not(#ie), |
|
127 | input[type='radio'] + label:not(#ie), | |
128 | input[type='checkbox'] + label:not(#ie) { |
|
128 | input[type='checkbox'] + label:not(#ie) { | |
129 | margin: 0; |
|
129 | margin: 0; | |
130 | clear: none; |
|
130 | clear: none; | |
131 | } |
|
131 | } | |
132 |
|
132 | |||
133 | input[type='radio'] + label:not(#ie) { |
|
133 | input[type='radio'] + label:not(#ie) { | |
134 | .circle (@form-radio-width,white); |
|
134 | .circle (@form-radio-width,white); | |
135 | float: left; |
|
135 | float: left; | |
136 | display: inline-block; |
|
136 | display: inline-block; | |
137 | height: @form-radio-width; |
|
137 | height: @form-radio-width; | |
138 | width: @form-radio-width; |
|
138 | width: @form-radio-width; | |
139 | margin: 2px 6px 2px 0; |
|
139 | margin: 2px 6px 2px 0; | |
140 | border: 1px solid @grey4; |
|
140 | border: 1px solid @grey4; | |
141 | background-color: white; |
|
141 | background-color: white; | |
142 | box-shadow: none; |
|
142 | box-shadow: none; | |
143 | text-indent: -9999px; |
|
143 | text-indent: -9999px; | |
144 | transition: none; |
|
144 | transition: none; | |
145 |
|
145 | |||
146 | & + .label { |
|
146 | & + .label { | |
147 | float: left; |
|
147 | float: left; | |
148 | margin-top: 7px |
|
148 | margin-top: 7px | |
149 | } |
|
149 | } | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | input[type='radio']:checked + label:not(#ie) { |
|
152 | input[type='radio']:checked + label:not(#ie) { | |
153 | margin: 0 4px 0 -2px; |
|
153 | margin: 0 4px 0 -2px; | |
154 | padding: 3px; |
|
154 | padding: 3px; | |
155 | border-style: double; |
|
155 | border-style: double; | |
156 | border-color: white; |
|
156 | border-color: white; | |
157 | border-width: thick; |
|
157 | border-width: thick; | |
158 | background-color: @rcblue; |
|
158 | background-color: @rcblue; | |
159 | box-shadow: none; |
|
159 | box-shadow: none; | |
160 | } |
|
160 | } | |
161 |
|
161 | |||
162 | input[type='checkbox'] + label:not(#ie) { |
|
162 | input[type='checkbox'] + label:not(#ie) { | |
163 | float: left; |
|
163 | float: left; | |
164 | width: @form-check-width; |
|
164 | width: @form-check-width; | |
165 | height: @form-check-width; |
|
165 | height: @form-check-width; | |
166 | margin: 0 5px 1em 0; |
|
166 | margin: 0 5px 1em 0; | |
167 | border: 1px solid @grey3; |
|
167 | border: 1px solid @grey3; | |
168 | .border-radius(@border-radius); |
|
168 | .border-radius(@border-radius); | |
169 | background-color: white; |
|
169 | background-color: white; | |
170 | box-shadow: none; |
|
170 | box-shadow: none; | |
171 | text-indent: -9999px; |
|
171 | text-indent: -9999px; | |
172 | transition: none; |
|
172 | transition: none; | |
173 |
|
173 | |||
174 | &:after { |
|
174 | &:after { | |
175 | content: ''; |
|
175 | content: ''; | |
176 | width: 9px; |
|
176 | width: 9px; | |
177 | height: 5px; |
|
177 | height: 5px; | |
178 | position: absolute; |
|
178 | position: absolute; | |
179 | top: 4px; |
|
179 | top: 4px; | |
180 | left: 4px; |
|
180 | left: 4px; | |
181 | border: 3px solid @grey3; |
|
181 | border: 3px solid @grey3; | |
182 | border-top: none; |
|
182 | border-top: none; | |
183 | border-right: none; |
|
183 | border-right: none; | |
184 | background: transparent; |
|
184 | background: transparent; | |
185 | opacity: 0; |
|
185 | opacity: 0; | |
186 | transform: rotate(-45deg); |
|
186 | transform: rotate(-45deg); | |
187 | filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */ |
|
187 | filter: progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476); /* IE6,IE7 */ | |
188 |
|
188 | |||
189 | -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */ } |
|
189 | -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)"; /* IE8 */ } | |
190 |
|
190 | |||
191 | & + .label { |
|
191 | & + .label { | |
192 | float: left; |
|
192 | float: left; | |
193 | margin-top: 5px |
|
193 | margin-top: 5px | |
194 | } |
|
194 | } | |
195 | } |
|
195 | } | |
196 |
|
196 | |||
197 | input[type=checkbox]:not(#ie) { |
|
197 | input[type=checkbox]:not(#ie) { | |
198 | visibility: hidden; |
|
198 | visibility: hidden; | |
199 | &:checked + label:after { |
|
199 | &:checked + label:after { | |
200 | opacity: 1; |
|
200 | opacity: 1; | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | // center checkbox and label on a drop-down |
|
204 | // center checkbox and label on a drop-down | |
205 | .drop-menu + select + input[type='checkbox'] + label:not(#ie) { |
|
205 | .drop-menu + select + input[type='checkbox'] + label:not(#ie) { | |
206 | margin-top:10px; |
|
206 | margin-top:10px; | |
207 |
|
207 | |||
208 | & + .label { |
|
208 | & + .label { | |
209 | margin-top: 15px; |
|
209 | margin-top: 15px; | |
210 | } |
|
210 | } | |
211 | } |
|
211 | } | |
212 |
|
212 | |||
213 | .formlist { |
|
213 | .formlist { | |
214 | position: relative; |
|
214 | position: relative; | |
215 | float: left; |
|
215 | float: left; | |
216 | margin: 0; |
|
216 | margin: 0; | |
217 | padding: 0; |
|
217 | padding: 0; | |
218 |
|
218 | |||
219 | li { |
|
219 | li { | |
220 | list-style-type: none; |
|
220 | list-style-type: none; | |
221 |
|
221 | |||
222 | &:after { |
|
222 | &:after { | |
223 | content: ""; |
|
223 | content: ""; | |
224 | float: left; |
|
224 | float: left; | |
225 | display: block; |
|
225 | display: block; | |
226 | height: @padding; |
|
226 | height: @padding; | |
227 | width: 100%; |
|
227 | width: 100%; | |
228 | } |
|
228 | } | |
229 | } |
|
229 | } | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | .drop-menu { |
|
232 | .drop-menu { | |
233 | float: left; |
|
233 | float: left; | |
234 | margin: 0 @input-padding 0 0; |
|
234 | margin: 0 @input-padding 0 0; | |
235 | } |
|
235 | } | |
236 |
|
236 | |||
237 | .help-block, |
|
237 | .help-block, | |
238 | .error-message { |
|
238 | .error-message { | |
239 | display: block; |
|
239 | display: block; | |
240 | clear: both; |
|
240 | clear: both; | |
241 | margin: @textmargin 0; |
|
241 | margin: @textmargin 0; | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | .error-message { |
|
244 | .error-message { | |
245 | margin-top: 5px; |
|
245 | margin-top: 5px; | |
246 | } |
|
246 | } | |
247 |
|
247 | |||
248 | input[type=submit] { |
|
248 | input[type=submit] { | |
249 | &:extend(.btn-primary); |
|
249 | &:extend(.btn-primary); | |
250 |
|
250 | |||
251 | &:hover { |
|
251 | &:hover { | |
252 | &:extend(.btn-primary:hover); |
|
252 | &:extend(.btn-primary:hover); | |
253 | } |
|
253 | } | |
254 | } |
|
254 | } | |
255 |
|
255 | |||
256 | input[type=reset] { |
|
256 | input[type=reset] { | |
257 | &:extend(.btn-default); |
|
257 | &:extend(.btn-default); | |
258 |
|
258 | |||
259 | &:hover { |
|
259 | &:hover { | |
260 | &:extend(.btn-default:hover); |
|
260 | &:extend(.btn-default:hover); | |
261 | } |
|
261 | } | |
262 | } |
|
262 | } | |
263 |
|
263 | |||
264 | select, |
|
264 | select, | |
265 | option:checked { |
|
265 | option:checked { | |
266 | background-color: @rclightblue; |
|
266 | background-color: @rclightblue; | |
267 | } |
|
267 | } | |
268 |
|
268 | |||
269 | } |
|
269 | } | |
270 |
|
270 | |||
271 | .badged-field { |
|
271 | .badged-field { | |
272 | .user-badge { |
|
272 | .user-badge { | |
273 | line-height: 25px; |
|
273 | line-height: 25px; | |
274 |
padding: . |
|
274 | padding: .4em; | |
275 | border-radius: @border-radius; |
|
275 | border-radius: @border-radius; | |
276 | border-top: 1px solid @grey4; |
|
276 | border-top: 1px solid @grey4; | |
277 | border-left: 1px solid @grey4; |
|
277 | border-left: 1px solid @grey4; | |
278 | border-bottom: 1px solid @grey4; |
|
278 | border-bottom: 1px solid @grey4; | |
279 | font-size: 14px; |
|
279 | font-size: 14px; | |
280 | font-style: normal; |
|
280 | font-style: normal; | |
281 | color: @text-light; |
|
281 | color: @text-light; | |
282 | background: @grey7; |
|
282 | background: @grey7; | |
283 | display: inline-block; |
|
283 | display: inline-block; | |
284 | vertical-align: top; |
|
284 | vertical-align: top; | |
285 | cursor: default; |
|
285 | cursor: default; | |
286 | margin-right: -2px; |
|
286 | margin-right: -2px; | |
287 | } |
|
287 | } | |
288 | .badge-input-container { |
|
288 | .badge-input-container { | |
289 | display: flex; |
|
289 | display: flex; | |
290 | position: relative; |
|
290 | position: relative; | |
291 | } |
|
291 | } | |
292 | .user-disabled { |
|
292 | .user-disabled { | |
293 | text-decoration: line-through; |
|
293 | text-decoration: line-through; | |
294 | } |
|
294 | } | |
295 | .badge-input-wrap { |
|
295 | .badge-input-wrap { | |
296 | display: inline-block; |
|
296 | display: inline-block; | |
297 | } |
|
297 | } | |
298 | } |
|
298 | } | |
299 |
|
299 | |||
300 | // for situations where we wish to display the form value but not the form input |
|
300 | // for situations where we wish to display the form value but not the form input | |
301 | input.input-valuedisplay { |
|
301 | input.input-valuedisplay { | |
302 | border: none; |
|
302 | border: none; | |
303 | } |
|
303 | } | |
304 |
|
304 | |||
305 | // for forms which only display information |
|
305 | // for forms which only display information | |
306 | .infoform { |
|
306 | .infoform { | |
307 | .fields { |
|
307 | .fields { | |
308 | .field { |
|
308 | .field { | |
309 | label, |
|
309 | label, | |
310 | .label, |
|
310 | .label, | |
311 | input, |
|
311 | input, | |
312 | .input { |
|
312 | .input { | |
313 | margin-top: 0; |
|
313 | margin-top: 0; | |
314 | margin-bottom: 0; |
|
314 | margin-bottom: 0; | |
315 | padding-top: 0; |
|
315 | padding-top: 0; | |
316 | padding-bottom: 0; |
|
316 | padding-bottom: 0; | |
317 | } |
|
317 | } | |
318 | } |
|
318 | } | |
319 | } |
|
319 | } | |
320 | } |
|
320 | } |
@@ -1,746 +1,752 b'' | |||||
1 | // navigation.less |
|
1 | // navigation.less | |
2 | // For use in RhodeCode applications; |
|
2 | // For use in RhodeCode applications; | |
3 | // see style guide documentation for guidelines. |
|
3 | // see style guide documentation for guidelines. | |
4 |
|
4 | |||
5 | // TOP MAIN DARK NAVIGATION |
|
5 | // TOP MAIN DARK NAVIGATION | |
6 |
|
6 | |||
7 | .header .main_nav.horizontal-list { |
|
7 | .header .main_nav.horizontal-list { | |
8 | float: right; |
|
8 | float: right; | |
9 | color: @grey4; |
|
9 | color: @grey4; | |
10 | > li { |
|
10 | > li { | |
11 | a { |
|
11 | a { | |
12 | color: @grey4; |
|
12 | color: @grey4; | |
13 | } |
|
13 | } | |
14 | } |
|
14 | } | |
15 | } |
|
15 | } | |
16 |
|
16 | |||
17 | // HEADER NAVIGATION |
|
17 | // HEADER NAVIGATION | |
18 |
|
18 | |||
19 | .horizontal-list { |
|
19 | .horizontal-list { | |
20 | display: block; |
|
20 | display: block; | |
21 | margin: 0; |
|
21 | margin: 0; | |
22 | padding: 0; |
|
22 | padding: 0; | |
23 | -webkit-padding-start: 0; |
|
23 | -webkit-padding-start: 0; | |
24 | text-align: left; |
|
24 | text-align: left; | |
25 | font-size: @navigation-fontsize; |
|
25 | font-size: @navigation-fontsize; | |
26 | color: @grey6; |
|
26 | color: @grey6; | |
27 | z-index:10; |
|
27 | z-index:10; | |
28 |
|
28 | |||
29 | li { |
|
29 | li { | |
30 | line-height: 1em; |
|
30 | line-height: 1em; | |
31 | list-style-type: none; |
|
31 | list-style-type: none; | |
32 | margin: 0 20px 0 0; |
|
32 | margin: 0 20px 0 0; | |
33 |
|
33 | |||
34 | a { |
|
34 | a { | |
35 | padding: 0 .5em; |
|
35 | padding: 0 .5em; | |
36 |
|
36 | |||
37 | &.menu_link_notifications { |
|
37 | &.menu_link_notifications { | |
38 | .pill(7px,@rcblue); |
|
38 | .pill(7px,@rcblue); | |
39 | display: inline; |
|
39 | display: inline; | |
40 | margin: 0 7px 0 .7em; |
|
40 | margin: 0 7px 0 .7em; | |
41 | font-size: @basefontsize; |
|
41 | font-size: @basefontsize; | |
42 | color: white; |
|
42 | color: white; | |
43 |
|
43 | |||
44 | &.empty { |
|
44 | &.empty { | |
45 | background-color: @grey4; |
|
45 | background-color: @grey4; | |
46 | } |
|
46 | } | |
47 |
|
47 | |||
48 | &:hover { |
|
48 | &:hover { | |
49 | background-color: @rcdarkblue; |
|
49 | background-color: @rcdarkblue; | |
50 | } |
|
50 | } | |
51 | } |
|
51 | } | |
52 | } |
|
52 | } | |
53 | .pill_container { |
|
53 | .pill_container { | |
54 | margin: 1.25em 0px 0px 0px; |
|
54 | margin: 1.25em 0px 0px 0px; | |
55 | float: right; |
|
55 | float: right; | |
56 | } |
|
56 | } | |
57 |
|
57 | |||
58 | &#quick_login_li { |
|
58 | &#quick_login_li { | |
59 | &:hover { |
|
59 | &:hover { | |
60 | color: @grey5; |
|
60 | color: @grey5; | |
61 | } |
|
61 | } | |
62 |
|
62 | |||
63 | a.menu_link_notifications { |
|
63 | a.menu_link_notifications { | |
64 | color: white; |
|
64 | color: white; | |
65 | } |
|
65 | } | |
66 |
|
66 | |||
67 | .user { |
|
67 | .user { | |
68 | padding-bottom: 10px; |
|
68 | padding-bottom: 10px; | |
69 | } |
|
69 | } | |
70 | } |
|
70 | } | |
71 |
|
71 | |||
72 | &:before { content: none; } |
|
72 | &:before { content: none; } | |
73 |
|
73 | |||
74 | &:last-child { |
|
74 | &:last-child { | |
75 | .menulabel { |
|
75 | .menulabel { | |
76 | padding-right: 0; |
|
76 | padding-right: 0; | |
77 | border-right: none; |
|
77 | border-right: none; | |
78 |
|
78 | |||
79 | .show_more { |
|
79 | .show_more { | |
80 | padding-right: 0; |
|
80 | padding-right: 0; | |
81 | } |
|
81 | } | |
82 | } |
|
82 | } | |
83 |
|
83 | |||
84 | &> a { |
|
84 | &> a { | |
85 | border-bottom: none; |
|
85 | border-bottom: none; | |
86 | } |
|
86 | } | |
87 | } |
|
87 | } | |
88 |
|
88 | |||
89 | &.open { |
|
89 | &.open { | |
90 |
|
90 | |||
91 | a { |
|
91 | a { | |
92 | color: white; |
|
92 | color: white; | |
93 | } |
|
93 | } | |
94 | } |
|
94 | } | |
95 |
|
95 | |||
96 | &:focus { |
|
96 | &:focus { | |
97 | outline: none; |
|
97 | outline: none; | |
98 | } |
|
98 | } | |
99 |
|
99 | |||
100 | ul li { |
|
100 | ul li { | |
101 | display: block; |
|
101 | display: block; | |
102 |
|
102 | |||
103 | &:last-child> a { |
|
103 | &:last-child> a { | |
104 | border-bottom: none; |
|
104 | border-bottom: none; | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | ul li:last-child a { |
|
107 | ul li:last-child a { | |
108 | /* we don't expect more then 3 levels of submenu and the third |
|
108 | /* we don't expect more then 3 levels of submenu and the third | |
109 | level can have different html structure */ |
|
109 | level can have different html structure */ | |
110 | border-bottom: none; |
|
110 | border-bottom: none; | |
111 | } |
|
111 | } | |
112 | } |
|
112 | } | |
113 | } |
|
113 | } | |
114 |
|
114 | |||
115 | > li { |
|
115 | > li { | |
116 | float: left; |
|
116 | float: left; | |
117 | display: block; |
|
117 | display: block; | |
118 | padding: 0; |
|
118 | padding: 0; | |
119 |
|
119 | |||
120 | > a, |
|
120 | > a, | |
121 | &.has_select2 a { |
|
121 | &.has_select2 a { | |
122 | display: block; |
|
122 | display: block; | |
123 | padding: 10px 0; |
|
123 | padding: 10px 0; | |
124 | } |
|
124 | } | |
125 |
|
125 | |||
126 | .menulabel { |
|
126 | .menulabel { | |
127 | line-height: 1em; |
|
127 | line-height: 1em; | |
128 | // for this specifically we do not use a variable |
|
128 | // for this specifically we do not use a variable | |
129 | } |
|
129 | } | |
130 |
|
130 | |||
131 | .pr_notifications { |
|
131 | .pr_notifications { | |
132 | padding-left: .5em; |
|
132 | padding-left: .5em; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | .pr_notifications + .menulabel { |
|
135 | .pr_notifications + .menulabel { | |
136 | display:inline; |
|
136 | display:inline; | |
137 | padding-left: 0; |
|
137 | padding-left: 0; | |
138 | } |
|
138 | } | |
139 |
|
139 | |||
140 | &:hover, |
|
140 | &:hover, | |
141 | &.open, |
|
141 | &.open, | |
142 | &.active { |
|
142 | &.active { | |
143 | a { |
|
143 | a { | |
144 | color: @rcblue; |
|
144 | color: @rcblue; | |
145 | } |
|
145 | } | |
146 | } |
|
146 | } | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | pre { |
|
149 | pre { | |
150 | margin: 0; |
|
150 | margin: 0; | |
151 | padding: 0; |
|
151 | padding: 0; | |
152 | } |
|
152 | } | |
153 |
|
153 | |||
154 | .select2-container, |
|
154 | .select2-container, | |
155 | .menulink.childs { |
|
155 | .menulink.childs { | |
156 | position: relative; |
|
156 | position: relative; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | #quick_login { |
|
159 | #quick_login { | |
160 |
|
160 | |||
161 | li a { |
|
161 | li a { | |
162 | padding: .5em 0; |
|
162 | padding: .5em 0; | |
163 | border-bottom: none; |
|
163 | border-bottom: none; | |
164 | color: @grey2; |
|
164 | color: @grey2; | |
165 |
|
165 | |||
166 | &:hover { color: @grey1; } |
|
166 | &:hover { color: @grey1; } | |
167 | } |
|
167 | } | |
168 | } |
|
168 | } | |
169 |
|
169 | |||
170 | #quick_login_link { |
|
170 | #quick_login_link { | |
171 | display: inline-block; |
|
171 | display: inline-block; | |
172 |
|
172 | |||
173 | .gravatar { |
|
173 | .gravatar { | |
174 | border: 1px solid @grey5; |
|
174 | border: 1px solid @grey5; | |
175 | } |
|
175 | } | |
176 |
|
176 | |||
177 | .gravatar-login { |
|
177 | .gravatar-login { | |
178 | height: 20px; |
|
178 | height: 20px; | |
179 | width: 20px; |
|
179 | width: 20px; | |
180 | margin: -8px 0; |
|
180 | margin: -8px 0; | |
181 | padding: 0; |
|
181 | padding: 0; | |
182 | } |
|
182 | } | |
183 |
|
183 | |||
184 | &:hover .user { |
|
184 | &:hover .user { | |
185 | color: @grey6; |
|
185 | color: @grey6; | |
186 | } |
|
186 | } | |
187 | } |
|
187 | } | |
188 | } |
|
188 | } | |
189 | .header .horizontal-list { |
|
189 | .header .horizontal-list { | |
190 |
|
190 | |||
191 | li { |
|
191 | li { | |
192 |
|
192 | |||
193 | &#quick_login_li { |
|
193 | &#quick_login_li { | |
194 | padding-left: .5em; |
|
194 | padding-left: .5em; | |
195 |
|
195 | |||
196 | &:hover #quick_login_link { |
|
196 | &:hover #quick_login_link { | |
197 | color: inherit; |
|
197 | color: inherit; | |
198 | } |
|
198 | } | |
199 |
|
199 | |||
200 | .menu_link_user { |
|
200 | .menu_link_user { | |
201 | padding: 0 2px; |
|
201 | padding: 0 2px; | |
202 | } |
|
202 | } | |
203 | } |
|
203 | } | |
204 | list-style-type: none; |
|
204 | list-style-type: none; | |
205 | } |
|
205 | } | |
206 |
|
206 | |||
207 | > li { |
|
207 | > li { | |
208 |
|
208 | |||
209 | a { |
|
209 | a { | |
210 | padding: 18px 0 12px 0; |
|
210 | padding: 18px 0 12px 0; | |
211 | color: @nav-grey; |
|
211 | color: @nav-grey; | |
212 |
|
212 | |||
213 | &.menu_link_notifications { |
|
213 | &.menu_link_notifications { | |
214 | padding: 1px 8px; |
|
214 | padding: 1px 8px; | |
215 | } |
|
215 | } | |
216 | } |
|
216 | } | |
217 |
|
217 | |||
218 | &:hover, |
|
218 | &:hover, | |
219 | &.open, |
|
219 | &.open, | |
220 | &.active { |
|
220 | &.active { | |
221 | .pill_container a { |
|
221 | .pill_container a { | |
222 | // don't select text for the pill container, it has it' own |
|
222 | // don't select text for the pill container, it has it' own | |
223 | // hover behaviour |
|
223 | // hover behaviour | |
224 | color: @nav-grey; |
|
224 | color: @nav-grey; | |
225 | } |
|
225 | } | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | &:hover, |
|
228 | &:hover, | |
229 | &.open, |
|
229 | &.open, | |
230 | &.active { |
|
230 | &.active { | |
231 | a { |
|
231 | a { | |
232 | color: @grey6; |
|
232 | color: @grey6; | |
233 | } |
|
233 | } | |
234 | } |
|
234 | } | |
235 |
|
235 | |||
236 | .select2-dropdown-open a { |
|
236 | .select2-dropdown-open a { | |
237 | color: @grey6; |
|
237 | color: @grey6; | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | .repo-switcher { |
|
240 | .repo-switcher { | |
241 | padding-left: 0; |
|
241 | padding-left: 0; | |
242 |
|
242 | |||
243 | .menulabel { |
|
243 | .menulabel { | |
244 | padding-left: 0; |
|
244 | padding-left: 0; | |
245 | } |
|
245 | } | |
246 | } |
|
246 | } | |
247 | } |
|
247 | } | |
248 |
|
248 | |||
249 | li ul li { |
|
249 | li ul li { | |
250 | background-color:@grey2; |
|
250 | background-color:@grey2; | |
251 |
|
251 | |||
252 | a { |
|
252 | a { | |
253 | padding: .5em 0; |
|
253 | padding: .5em 0; | |
254 | border-bottom: @border-thickness solid @border-default-color; |
|
254 | border-bottom: @border-thickness solid @border-default-color; | |
255 | color: @grey6; |
|
255 | color: @grey6; | |
256 | } |
|
256 | } | |
257 |
|
257 | |||
258 | &:last-child a, &.last a{ |
|
258 | &:last-child a, &.last a{ | |
259 | border-bottom: none; |
|
259 | border-bottom: none; | |
260 | } |
|
260 | } | |
261 |
|
261 | |||
262 | &:hover { |
|
262 | &:hover { | |
263 | background-color: @grey3; |
|
263 | background-color: @grey3; | |
264 | } |
|
264 | } | |
265 | } |
|
265 | } | |
266 |
|
266 | |||
267 | .submenu { |
|
267 | .submenu { | |
268 | margin-top: 5px; |
|
268 | margin-top: 5px; | |
269 | } |
|
269 | } | |
270 | } |
|
270 | } | |
271 |
|
271 | |||
272 | // SUBMENUS |
|
272 | // SUBMENUS | |
273 | .navigation .submenu { |
|
273 | .navigation .submenu { | |
274 | display: none; |
|
274 | display: none; | |
275 | } |
|
275 | } | |
276 |
|
276 | |||
277 | .navigation li.open { |
|
277 | .navigation li.open { | |
278 | .submenu { |
|
278 | .submenu { | |
279 | display: block; |
|
279 | display: block; | |
280 | } |
|
280 | } | |
281 | } |
|
281 | } | |
282 |
|
282 | |||
283 | .navigation li:last-child .submenu { |
|
283 | .navigation li:last-child .submenu { | |
284 | right: -20px; |
|
284 | right: -20px; | |
285 | left: auto; |
|
285 | left: auto; | |
286 | } |
|
286 | } | |
287 |
|
287 | |||
288 | .submenu { |
|
288 | .submenu { | |
289 | position: absolute; |
|
289 | position: absolute; | |
290 | top: 100%; |
|
290 | top: 100%; | |
291 | left: 0; |
|
291 | left: 0; | |
292 | min-width: 150px; |
|
292 | min-width: 150px; | |
293 | margin: 6px 0 0; |
|
293 | margin: 6px 0 0; | |
294 | padding: 0; |
|
294 | padding: 0; | |
295 | text-align: left; |
|
295 | text-align: left; | |
296 | font-family: @text-light; |
|
296 | font-family: @text-light; | |
297 | border-radius: @border-radius; |
|
297 | border-radius: @border-radius; | |
298 | z-index: 20; |
|
298 | z-index: 20; | |
299 |
|
299 | |||
300 | li { |
|
300 | li { | |
301 | display: block; |
|
301 | display: block; | |
302 | margin: 0; |
|
302 | margin: 0; | |
303 | padding: 0 .5em; |
|
303 | padding: 0 .5em; | |
304 | line-height: 1em; |
|
304 | line-height: 1em; | |
305 | color: @grey3; |
|
305 | color: @grey3; | |
306 | background-color: @grey6; |
|
306 | background-color: @grey6; | |
307 | list-style-type: none; |
|
307 | list-style-type: none; | |
308 |
|
308 | |||
309 | a { |
|
309 | a { | |
310 | display: block; |
|
310 | display: block; | |
311 | width: 100%; |
|
311 | width: 100%; | |
312 | padding: .5em 0; |
|
312 | padding: .5em 0; | |
313 | border-right: none; |
|
313 | border-right: none; | |
314 | border-bottom: @border-thickness solid white; |
|
314 | border-bottom: @border-thickness solid white; | |
315 | color: @grey3; |
|
315 | color: @grey3; | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | ul { |
|
318 | ul { | |
319 | display: none; |
|
319 | display: none; | |
320 | position: absolute; |
|
320 | position: absolute; | |
321 | top: 0; |
|
321 | top: 0; | |
322 | right: 100%; |
|
322 | right: 100%; | |
323 | padding: 0; |
|
323 | padding: 0; | |
324 | z-index: 30; |
|
324 | z-index: 30; | |
325 | } |
|
325 | } | |
326 | &:hover { |
|
326 | &:hover { | |
327 | background-color: @grey5; |
|
327 | background-color: @grey5; | |
328 | -webkit-transition: background .3s; |
|
328 | -webkit-transition: background .3s; | |
329 | -moz-transition: background .3s; |
|
329 | -moz-transition: background .3s; | |
330 | -o-transition: background .3s; |
|
330 | -o-transition: background .3s; | |
331 | transition: background .3s; |
|
331 | transition: background .3s; | |
332 |
|
332 | |||
333 | ul { |
|
333 | ul { | |
334 | display: block; |
|
334 | display: block; | |
335 | } |
|
335 | } | |
336 | } |
|
336 | } | |
337 | } |
|
337 | } | |
338 |
|
338 | |||
339 | } |
|
339 | } | |
340 |
|
340 | |||
341 |
|
341 | |||
342 |
|
342 | |||
343 |
|
343 | |||
344 | // repo dropdown |
|
344 | // repo dropdown | |
345 | .quick_repo_menu { |
|
345 | .quick_repo_menu { | |
346 | width: 15px; |
|
346 | width: 15px; | |
347 | text-align: center; |
|
347 | text-align: center; | |
348 | position: relative; |
|
348 | position: relative; | |
349 | cursor: pointer; |
|
349 | cursor: pointer; | |
350 |
|
350 | |||
351 | div { |
|
351 | div { | |
352 | overflow: visible !important; |
|
352 | overflow: visible !important; | |
353 | } |
|
353 | } | |
354 |
|
354 | |||
355 | &.sorting { |
|
355 | &.sorting { | |
356 | cursor: auto; |
|
356 | cursor: auto; | |
357 | } |
|
357 | } | |
358 |
|
358 | |||
359 | &:hover { |
|
359 | &:hover { | |
360 | .menu_items_container { |
|
360 | .menu_items_container { | |
361 | position: absolute; |
|
361 | position: absolute; | |
362 | display: block; |
|
362 | display: block; | |
363 | } |
|
363 | } | |
364 | .menu_items { |
|
364 | .menu_items { | |
365 | display: block; |
|
365 | display: block; | |
366 | } |
|
366 | } | |
367 | } |
|
367 | } | |
368 |
|
368 | |||
369 | i { |
|
369 | i { | |
370 | margin: 0; |
|
370 | margin: 0; | |
371 | color: @grey4; |
|
371 | color: @grey4; | |
372 | } |
|
372 | } | |
373 |
|
373 | |||
374 | .menu_items_container { |
|
374 | .menu_items_container { | |
375 | position: absolute; |
|
375 | position: absolute; | |
376 | top: 0; |
|
376 | top: 0; | |
377 | left: 100%; |
|
377 | left: 100%; | |
378 | margin: 0; |
|
378 | margin: 0; | |
379 | padding: 0; |
|
379 | padding: 0; | |
380 | list-style: none; |
|
380 | list-style: none; | |
381 | background-color: @grey6; |
|
381 | background-color: @grey6; | |
382 | z-index: 999; |
|
382 | z-index: 999; | |
383 | text-align: left; |
|
383 | text-align: left; | |
384 |
|
384 | |||
385 | a { |
|
385 | a { | |
386 | color: @grey2; |
|
386 | color: @grey2; | |
387 | } |
|
387 | } | |
388 |
|
388 | |||
389 | ul.menu_items { |
|
389 | ul.menu_items { | |
390 | margin: 0; |
|
390 | margin: 0; | |
391 | padding: 0; |
|
391 | padding: 0; | |
392 | } |
|
392 | } | |
393 |
|
393 | |||
394 | li { |
|
394 | li { | |
395 | margin: 0; |
|
395 | margin: 0; | |
396 | padding: 0; |
|
396 | padding: 0; | |
397 | line-height: 1em; |
|
397 | line-height: 1em; | |
398 | list-style-type: none; |
|
398 | list-style-type: none; | |
399 |
|
399 | |||
400 | a { |
|
400 | a { | |
401 | display: block; |
|
401 | display: block; | |
402 | height: 16px; |
|
402 | height: 16px; | |
403 | padding: 8px; //must add up to td height (28px) |
|
403 | padding: 8px; //must add up to td height (28px) | |
404 | width: 120px; // set width |
|
404 | width: 120px; // set width | |
405 |
|
405 | |||
406 | &:hover { |
|
406 | &:hover { | |
407 | background-color: @grey5; |
|
407 | background-color: @grey5; | |
408 | -webkit-transition: background .3s; |
|
408 | -webkit-transition: background .3s; | |
409 | -moz-transition: background .3s; |
|
409 | -moz-transition: background .3s; | |
410 | -o-transition: background .3s; |
|
410 | -o-transition: background .3s; | |
411 | transition: background .3s; |
|
411 | transition: background .3s; | |
412 | } |
|
412 | } | |
413 | } |
|
413 | } | |
414 | } |
|
414 | } | |
415 | } |
|
415 | } | |
416 | } |
|
416 | } | |
417 |
|
417 | |||
418 | // Header Repository Switcher |
|
418 | // Header Repository Switcher | |
419 | // Select2 Dropdown |
|
419 | // Select2 Dropdown | |
420 | #select2-drop.select2-drop.repo-switcher-dropdown { |
|
420 | #select2-drop.select2-drop.repo-switcher-dropdown { | |
421 | width: auto !important; |
|
421 | width: auto !important; | |
422 | margin-top: 5px; |
|
422 | margin-top: 5px; | |
423 | padding: 1em 0; |
|
423 | padding: 1em 0; | |
424 | text-align: left; |
|
424 | text-align: left; | |
425 | .border-radius-bottom(@border-radius); |
|
425 | .border-radius-bottom(@border-radius); | |
426 | border-color: transparent; |
|
426 | border-color: transparent; | |
427 | color: @grey6; |
|
427 | color: @grey6; | |
428 | background-color: @grey2; |
|
428 | background-color: @grey2; | |
429 |
|
429 | |||
430 | input { |
|
430 | input { | |
431 | min-width: 90%; |
|
431 | min-width: 90%; | |
432 | } |
|
432 | } | |
433 |
|
433 | |||
434 | ul.select2-result-sub { |
|
434 | ul.select2-result-sub { | |
435 |
|
435 | |||
436 | li { |
|
436 | li { | |
437 | line-height: 1em; |
|
437 | line-height: 1em; | |
438 |
|
438 | |||
439 | &:hover, |
|
439 | &:hover, | |
440 | &.select2-highlighted { |
|
440 | &.select2-highlighted { | |
441 | background-color: @grey3; |
|
441 | background-color: @grey3; | |
442 | } |
|
442 | } | |
443 | } |
|
443 | } | |
444 |
|
444 | |||
445 | &:before { content: none; } |
|
445 | &:before { content: none; } | |
446 | } |
|
446 | } | |
447 |
|
447 | |||
448 | ul.select2-results { |
|
448 | ul.select2-results { | |
449 | min-width: 200px; |
|
449 | min-width: 200px; | |
450 | margin: 0; |
|
450 | margin: 0; | |
451 | padding: 0; |
|
451 | padding: 0; | |
452 | list-style-type: none; |
|
452 | list-style-type: none; | |
453 | overflow-x: visible; |
|
453 | overflow-x: visible; | |
454 | overflow-y: scroll; |
|
454 | overflow-y: scroll; | |
455 |
|
455 | |||
456 | li { |
|
456 | li { | |
457 | padding: 0 8px; |
|
457 | padding: 0 8px; | |
458 | line-height: 1em; |
|
458 | line-height: 1em; | |
459 | color: @grey6; |
|
459 | color: @grey6; | |
460 |
|
460 | |||
461 | &>.select2-result-label { |
|
461 | &>.select2-result-label { | |
462 | padding: 8px 0; |
|
462 | padding: 8px 0; | |
463 | border-bottom: @border-thickness solid @grey3; |
|
463 | border-bottom: @border-thickness solid @grey3; | |
464 | white-space: nowrap; |
|
464 | white-space: nowrap; | |
465 | color: @grey5; |
|
465 | color: @grey5; | |
466 | cursor: pointer; |
|
466 | cursor: pointer; | |
467 | } |
|
467 | } | |
468 |
|
468 | |||
469 | &.select2-result-with-children { |
|
469 | &.select2-result-with-children { | |
470 | margin: 0; |
|
470 | margin: 0; | |
471 | padding: 0; |
|
471 | padding: 0; | |
472 | } |
|
472 | } | |
473 |
|
473 | |||
474 | &.select2-result-unselectable > .select2-result-label { |
|
474 | &.select2-result-unselectable > .select2-result-label { | |
475 | margin: 0 8px; |
|
475 | margin: 0 8px; | |
476 | } |
|
476 | } | |
477 |
|
477 | |||
478 | } |
|
478 | } | |
479 | } |
|
479 | } | |
480 |
|
480 | |||
481 | ul.select2-result-sub { |
|
481 | ul.select2-result-sub { | |
482 | margin: 0; |
|
482 | margin: 0; | |
483 | padding: 0; |
|
483 | padding: 0; | |
484 |
|
484 | |||
485 | li { |
|
485 | li { | |
486 | display: block; |
|
486 | display: block; | |
487 | margin: 0; |
|
487 | margin: 0; | |
488 | border-right: none; |
|
488 | border-right: none; | |
489 | line-height: 1em; |
|
489 | line-height: 1em; | |
490 | font-family: @text-light; |
|
490 | font-family: @text-light; | |
491 | color: @grey2; |
|
491 | color: @grey2; | |
492 | list-style-type: none; |
|
492 | list-style-type: none; | |
493 |
|
493 | |||
494 | &:hover { |
|
494 | &:hover { | |
495 | background-color: @grey3; |
|
495 | background-color: @grey3; | |
496 | } |
|
496 | } | |
497 | } |
|
497 | } | |
498 | } |
|
498 | } | |
499 | } |
|
499 | } | |
500 |
|
500 | |||
501 |
|
501 | |||
502 | #context-bar { |
|
502 | #context-bar { | |
503 | display: block; |
|
503 | display: block; | |
504 | margin: 0 auto 20px 0; |
|
504 | margin: 0 auto 20px 0; | |
505 | padding: 0 @header-padding; |
|
505 | padding: 0 @header-padding; | |
506 | background-color: @grey7; |
|
506 | background-color: @grey7; | |
507 |
|
507 | |||
508 | .clear { |
|
508 | .clear { | |
509 | clear: both; |
|
509 | clear: both; | |
510 | } |
|
510 | } | |
511 | } |
|
511 | } | |
512 |
|
512 | |||
513 | ul#context-pages { |
|
513 | ul#context-pages { | |
514 | li { |
|
514 | li { | |
515 | list-style-type: none; |
|
515 | list-style-type: none; | |
516 |
|
516 | |||
517 | a { |
|
517 | a { | |
518 | color: @grey3; |
|
518 | color: @grey3; | |
519 |
|
519 | |||
520 | &:hover { |
|
520 | &:hover { | |
521 | color: @grey2; |
|
521 | color: @grey2; | |
522 | } |
|
522 | } | |
523 | } |
|
523 | } | |
524 |
|
524 | |||
525 | &.active { |
|
525 | &.active { | |
526 | // special case, non-variable color |
|
526 | // special case, non-variable color | |
527 | border-bottom: 2px solid @rcblue; |
|
527 | border-bottom: 2px solid @rcblue; | |
528 |
|
528 | |||
529 | a { |
|
529 | a { | |
530 | color: @rcblue; |
|
530 | color: @rcblue; | |
531 | } |
|
531 | } | |
532 | } |
|
532 | } | |
533 | } |
|
533 | } | |
534 | } |
|
534 | } | |
535 |
|
535 | |||
536 | // PAGINATION |
|
536 | // PAGINATION | |
537 |
|
537 | |||
538 | .pagination { |
|
538 | .pagination { | |
539 | border: @border-thickness solid @grey5; |
|
539 | border: @border-thickness solid @grey5; | |
540 | color: @grey2; |
|
540 | color: @grey2; | |
541 | box-shadow: @button-shadow; |
|
541 | box-shadow: @button-shadow; | |
542 |
|
542 | |||
543 | .current { |
|
543 | .current { | |
544 | color: @grey4; |
|
544 | color: @grey4; | |
545 | } |
|
545 | } | |
546 | } |
|
546 | } | |
547 |
|
547 | |||
548 | .dataTables_processing { |
|
548 | .dataTables_processing { | |
549 | text-align: center; |
|
549 | text-align: center; | |
550 | font-size: 1.1em; |
|
550 | font-size: 1.1em; | |
551 | position: relative; |
|
551 | position: relative; | |
552 | top: 95px; |
|
552 | top: 95px; | |
553 | } |
|
553 | } | |
554 |
|
554 | |||
555 | .dataTables_paginate, .pagination-wh { |
|
555 | .dataTables_paginate, .pagination-wh { | |
556 | text-align: left; |
|
556 | text-align: left; | |
557 | display: inline-block; |
|
557 | display: inline-block; | |
558 | border-left: 1px solid @grey5; |
|
558 | border-left: 1px solid @grey5; | |
559 | float: none; |
|
559 | float: none; | |
560 | overflow: hidden; |
|
560 | overflow: hidden; | |
561 | box-shadow: @button-shadow; |
|
561 | box-shadow: @button-shadow; | |
562 |
|
562 | |||
563 | .paginate_button, .pager_curpage, |
|
563 | .paginate_button, .pager_curpage, | |
564 | .pager_link, .pg-previous, .pg-next, .pager_dotdot { |
|
564 | .pager_link, .pg-previous, .pg-next, .pager_dotdot { | |
565 | display: inline-block; |
|
565 | display: inline-block; | |
566 | padding: @menupadding/4 @menupadding; |
|
566 | padding: @menupadding/4 @menupadding; | |
567 | border: 1px solid @grey5; |
|
567 | border: 1px solid @grey5; | |
568 | border-left: 0; |
|
568 | border-left: 0; | |
569 | color: @grey2; |
|
569 | color: @grey2; | |
570 | cursor: pointer; |
|
570 | cursor: pointer; | |
571 | float: left; |
|
571 | float: left; | |
572 |
|
572 | |||
573 | &:hover { |
|
573 | &:hover { | |
574 | color: @rcdarkblue; |
|
574 | color: @rcdarkblue; | |
575 | } |
|
575 | } | |
576 | } |
|
576 | } | |
577 |
|
577 | |||
578 | .pager_curpage, .pager_dotdot, |
|
578 | .paginate_button.disabled, | |
579 | .paginate_button.current, .paginate_button.disabled, |
|
|||
580 | .disabled { |
|
579 | .disabled { | |
581 | color: @grey3; |
|
580 | color: @grey3; | |
582 | cursor: default; |
|
581 | cursor: default; | |
|
582 | opacity: 0.5; | |||
|
583 | } | |||
|
584 | ||||
|
585 | .paginate_button.current, .pager_curpage { | |||
|
586 | background: @rcblue; | |||
|
587 | border-color: @rcblue; | |||
|
588 | color: @white; | |||
583 | } |
|
589 | } | |
584 |
|
590 | |||
585 | .ellipsis { |
|
591 | .ellipsis { | |
586 | display: inline-block; |
|
592 | display: inline-block; | |
587 | text-align: left; |
|
593 | text-align: left; | |
588 | padding: @menupadding/4 @menupadding; |
|
594 | padding: @menupadding/4 @menupadding; | |
589 | border: 1px solid @grey5; |
|
595 | border: 1px solid @grey5; | |
590 | border-left: 0; |
|
596 | border-left: 0; | |
591 | float: left; |
|
597 | float: left; | |
592 | } |
|
598 | } | |
593 | } |
|
599 | } | |
594 |
|
600 | |||
595 | // SIDEBAR |
|
601 | // SIDEBAR | |
596 |
|
602 | |||
597 | .sidebar { |
|
603 | .sidebar { | |
598 | .block-left; |
|
604 | .block-left; | |
599 | clear: left; |
|
605 | clear: left; | |
600 | max-width: @sidebar-width; |
|
606 | max-width: @sidebar-width; | |
601 | margin-right: @sidebarpadding; |
|
607 | margin-right: @sidebarpadding; | |
602 | padding-right: @sidebarpadding; |
|
608 | padding-right: @sidebarpadding; | |
603 | font-family: @text-regular; |
|
609 | font-family: @text-regular; | |
604 | color: @grey1; |
|
610 | color: @grey1; | |
605 |
|
611 | |||
606 | &#graph_nodes { |
|
612 | &#graph_nodes { | |
607 | clear:both; |
|
613 | clear:both; | |
608 | width: auto; |
|
614 | width: auto; | |
609 | margin-left: -100px; |
|
615 | margin-left: -100px; | |
610 | padding: 0; |
|
616 | padding: 0; | |
611 | border: none; |
|
617 | border: none; | |
612 | } |
|
618 | } | |
613 |
|
619 | |||
614 | .nav-pills { |
|
620 | .nav-pills { | |
615 | margin: 0; |
|
621 | margin: 0; | |
616 | } |
|
622 | } | |
617 |
|
623 | |||
618 | .nav { |
|
624 | .nav { | |
619 | list-style: none; |
|
625 | list-style: none; | |
620 | padding: 0; |
|
626 | padding: 0; | |
621 |
|
627 | |||
622 | li { |
|
628 | li { | |
623 | padding-bottom: @menupadding; |
|
629 | padding-bottom: @menupadding; | |
624 | line-height: 1em; |
|
630 | line-height: 1em; | |
625 | color: @grey4; |
|
631 | color: @grey4; | |
626 | list-style-type: none; |
|
632 | list-style-type: none; | |
627 |
|
633 | |||
628 | &.active a { |
|
634 | &.active a { | |
629 | color: @grey2; |
|
635 | color: @grey2; | |
630 | } |
|
636 | } | |
631 |
|
637 | |||
632 | a { |
|
638 | a { | |
633 | color: @grey4; |
|
639 | color: @grey4; | |
634 | } |
|
640 | } | |
635 | } |
|
641 | } | |
636 |
|
642 | |||
637 | } |
|
643 | } | |
638 | } |
|
644 | } | |
639 |
|
645 | |||
640 | .main_filter_help_box { |
|
646 | .main_filter_help_box { | |
641 | padding: 7px 7px; |
|
647 | padding: 7px 7px; | |
642 | display: inline-block; |
|
648 | display: inline-block; | |
643 | vertical-align: top; |
|
649 | vertical-align: top; | |
644 | background: inherit; |
|
650 | background: inherit; | |
645 | position: absolute; |
|
651 | position: absolute; | |
646 | right: 0; |
|
652 | right: 0; | |
647 | top: 9px; |
|
653 | top: 9px; | |
648 | } |
|
654 | } | |
649 |
|
655 | |||
650 | .main_filter_input_box { |
|
656 | .main_filter_input_box { | |
651 | display: inline-block; |
|
657 | display: inline-block; | |
652 |
|
658 | |||
653 | .searchItems { |
|
659 | .searchItems { | |
654 | display:flex; |
|
660 | display:flex; | |
655 | background: @black; |
|
661 | background: @black; | |
656 | padding: 0px; |
|
662 | padding: 0px; | |
657 | border-radius: 3px; |
|
663 | border-radius: 3px; | |
658 | border: 1px solid @black; |
|
664 | border: 1px solid @black; | |
659 |
|
665 | |||
660 | a { |
|
666 | a { | |
661 | border: none !important; |
|
667 | border: none !important; | |
662 | } |
|
668 | } | |
663 | } |
|
669 | } | |
664 |
|
670 | |||
665 | .searchTag { |
|
671 | .searchTag { | |
666 | line-height: 28px; |
|
672 | line-height: 28px; | |
667 | padding: 0 5px; |
|
673 | padding: 0 5px; | |
668 |
|
674 | |||
669 | .tag { |
|
675 | .tag { | |
670 | color: @grey5; |
|
676 | color: @grey5; | |
671 | border-color: @grey2; |
|
677 | border-color: @grey2; | |
672 | background: @grey1; |
|
678 | background: @grey1; | |
673 | } |
|
679 | } | |
674 | } |
|
680 | } | |
675 |
|
681 | |||
676 | .searchTagFilter { |
|
682 | .searchTagFilter { | |
677 | background-color: @black !important; |
|
683 | background-color: @black !important; | |
678 | margin-right: 0; |
|
684 | margin-right: 0; | |
679 | } |
|
685 | } | |
680 |
|
686 | |||
681 | .searchTagHelp { |
|
687 | .searchTagHelp { | |
682 | background-color: @grey1 !important; |
|
688 | background-color: @grey1 !important; | |
683 | margin: 0; |
|
689 | margin: 0; | |
684 | } |
|
690 | } | |
685 | .searchTagHelp:hover { |
|
691 | .searchTagHelp:hover { | |
686 | background-color: @grey1 !important; |
|
692 | background-color: @grey1 !important; | |
687 | } |
|
693 | } | |
688 | .searchTagInput { |
|
694 | .searchTagInput { | |
689 | background-color: @grey1 !important; |
|
695 | background-color: @grey1 !important; | |
690 | margin-right: 0; |
|
696 | margin-right: 0; | |
691 | } |
|
697 | } | |
692 | } |
|
698 | } | |
693 |
|
699 | |||
694 | .main_filter_box { |
|
700 | .main_filter_box { | |
695 | margin: 9px 0 0 0; |
|
701 | margin: 9px 0 0 0; | |
696 | } |
|
702 | } | |
697 |
|
703 | |||
698 | #main_filter_help { |
|
704 | #main_filter_help { | |
699 | background: @grey3; |
|
705 | background: @grey3; | |
700 | border: 1px solid black; |
|
706 | border: 1px solid black; | |
701 | position: absolute; |
|
707 | position: absolute; | |
702 | white-space: pre; |
|
708 | white-space: pre; | |
703 | z-index: 9999; |
|
709 | z-index: 9999; | |
704 | color: @nav-grey; |
|
710 | color: @nav-grey; | |
705 | margin: 1px 7px; |
|
711 | margin: 1px 7px; | |
706 | padding: 0 10px; |
|
712 | padding: 0 10px; | |
707 | } |
|
713 | } | |
708 |
|
714 | |||
709 | input { |
|
715 | input { | |
710 |
|
716 | |||
711 | &.main_filter_input { |
|
717 | &.main_filter_input { | |
712 | padding: 5px 10px; |
|
718 | padding: 5px 10px; | |
713 | min-width: 260px; |
|
719 | min-width: 260px; | |
714 | color: @grey7; |
|
720 | color: @grey7; | |
715 | background: @black; |
|
721 | background: @black; | |
716 | min-height: 18px; |
|
722 | min-height: 18px; | |
717 | border: 0; |
|
723 | border: 0; | |
718 |
|
724 | |||
719 | &:active { |
|
725 | &:active { | |
720 | color: @grey2 !important; |
|
726 | color: @grey2 !important; | |
721 | background: white !important; |
|
727 | background: white !important; | |
722 | } |
|
728 | } | |
723 | &:focus { |
|
729 | &:focus { | |
724 | color: @grey2 !important; |
|
730 | color: @grey2 !important; | |
725 | background: white !important; |
|
731 | background: white !important; | |
726 | } |
|
732 | } | |
727 | } |
|
733 | } | |
728 | } |
|
734 | } | |
729 |
|
735 | |||
730 |
|
736 | |||
731 |
|
737 | |||
732 | .main_filter_input::placeholder { |
|
738 | .main_filter_input::placeholder { | |
733 | color: @nav-grey; |
|
739 | color: @nav-grey; | |
734 | opacity: 1; |
|
740 | opacity: 1; | |
735 | } |
|
741 | } | |
736 |
|
742 | |||
737 | .notice-box { |
|
743 | .notice-box { | |
738 | display:block !important; |
|
744 | display:block !important; | |
739 | padding: 9px 0 !important; |
|
745 | padding: 9px 0 !important; | |
740 | } |
|
746 | } | |
741 |
|
747 | |||
742 | .menulabel-notice { |
|
748 | .menulabel-notice { | |
743 | border: 1px solid @color5; |
|
749 | border: 1px solid @color5; | |
744 | padding:7px 10px; |
|
750 | padding:7px 10px; | |
745 | color: @color5; |
|
751 | color: @color5; | |
746 | } |
|
752 | } |
@@ -1,566 +1,566 b'' | |||||
1 | // |
|
1 | // | |
2 | // Typography |
|
2 | // Typography | |
3 | // modified from Bootstrap |
|
3 | // modified from Bootstrap | |
4 | // -------------------------------------------------- |
|
4 | // -------------------------------------------------- | |
5 |
|
5 | |||
6 | // Base |
|
6 | // Base | |
7 | body { |
|
7 | body { | |
8 | font-size: @basefontsize; |
|
8 | font-size: @basefontsize; | |
9 | font-family: @text-light; |
|
9 | font-family: @text-light; | |
10 | letter-spacing: .02em; |
|
10 | letter-spacing: .02em; | |
11 | color: @grey2; |
|
11 | color: @grey2; | |
12 | } |
|
12 | } | |
13 |
|
13 | |||
14 | #content, label{ |
|
14 | #content, label{ | |
15 | font-size: @basefontsize; |
|
15 | font-size: @basefontsize; | |
16 | } |
|
16 | } | |
17 |
|
17 | |||
18 | label { |
|
18 | label { | |
19 | color: @grey2; |
|
19 | color: @grey2; | |
20 | } |
|
20 | } | |
21 |
|
21 | |||
22 | ::selection { background: @rchighlightblue; } |
|
22 | ::selection { background: @rchighlightblue; } | |
23 |
|
23 | |||
24 | // Headings |
|
24 | // Headings | |
25 | // ------------------------- |
|
25 | // ------------------------- | |
26 |
|
26 | |||
27 | h1, h2, h3, h4, h5, h6, |
|
27 | h1, h2, h3, h4, h5, h6, | |
28 | .h1, .h2, .h3, .h4, .h5, .h6 { |
|
28 | .h1, .h2, .h3, .h4, .h5, .h6 { | |
29 | margin: 0 0 @textmargin 0; |
|
29 | margin: 0 0 @textmargin 0; | |
30 | padding: 0; |
|
30 | padding: 0; | |
31 | line-height: 1.8em; |
|
31 | line-height: 1.8em; | |
32 | color: @text-color; |
|
32 | color: @text-color; | |
33 | a { |
|
33 | a { | |
34 | color: @rcblue; |
|
34 | color: @rcblue; | |
35 | } |
|
35 | } | |
36 | } |
|
36 | } | |
37 |
|
37 | |||
38 | h1, .h1 { font-size: 1.54em; font-weight: @text-bold-weight; font-family: @text-bold; } |
|
38 | h1, .h1 { font-size: 1.54em; font-weight: @text-bold-weight; font-family: @text-bold; } | |
39 | h2, .h2 { font-size: 1.23em; font-weight: @text-semibold-weight; font-family: @text-semibold; } |
|
39 | h2, .h2 { font-size: 1.23em; font-weight: @text-semibold-weight; font-family: @text-semibold; } | |
40 | h3, .h3 { font-size: 1.23em; font-family: @text-regular; } |
|
40 | h3, .h3 { font-size: 1.23em; font-family: @text-regular; } | |
41 | h4, .h4 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } |
|
41 | h4, .h4 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } | |
42 | h5, .h5 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } |
|
42 | h5, .h5 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } | |
43 | h6, .h6 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } |
|
43 | h6, .h6 { font-size: 1em; font-weight: @text-bold-weight; font-family: @text-bold; } | |
44 |
|
44 | |||
45 | // Breadcrumbs |
|
45 | // Breadcrumbs | |
46 | .breadcrumbs { |
|
46 | .breadcrumbs { | |
47 | font-size: @repo-title-fontsize; |
|
47 | font-size: @repo-title-fontsize; | |
48 | margin: 0; |
|
48 | margin: 0; | |
49 | } |
|
49 | } | |
50 |
|
50 | |||
51 | .breadcrumbs_light { |
|
51 | .breadcrumbs_light { | |
52 | float:left; |
|
52 | float:left; | |
53 | font-size: 1.3em; |
|
53 | font-size: 1.3em; | |
54 | line-height: 38px; |
|
54 | line-height: 38px; | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | // Body text |
|
57 | // Body text | |
58 | // ------------------------- |
|
58 | // ------------------------- | |
59 |
|
59 | |||
60 | p { |
|
60 | p { | |
61 | margin: 0 0 @textmargin 0; |
|
61 | margin: 0 0 @textmargin 0; | |
62 | padding: 0; |
|
62 | padding: 0; | |
63 | line-height: 2em; |
|
63 | line-height: 2em; | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 | .lead { |
|
66 | .lead { | |
67 | margin-bottom: @textmargin; |
|
67 | margin-bottom: @textmargin; | |
68 | font-weight: 300; |
|
68 | font-weight: 300; | |
69 | line-height: 1.4; |
|
69 | line-height: 1.4; | |
70 |
|
70 | |||
71 | @media (min-width: @screen-sm-min) { |
|
71 | @media (min-width: @screen-sm-min) { | |
72 | font-size: (@basefontsize * 1.5); |
|
72 | font-size: (@basefontsize * 1.5); | |
73 | } |
|
73 | } | |
74 | } |
|
74 | } | |
75 |
|
75 | |||
76 | a, |
|
76 | a, | |
77 | .link { |
|
77 | .link { | |
78 | color: @rcblue; |
|
78 | color: @rcblue; | |
79 | text-decoration: none; |
|
79 | text-decoration: none; | |
80 | outline: none; |
|
80 | outline: none; | |
81 | cursor: pointer; |
|
81 | cursor: pointer; | |
82 |
|
82 | |||
83 | &:focus { |
|
83 | &:focus { | |
84 | outline: none; |
|
84 | outline: none; | |
85 | } |
|
85 | } | |
86 |
|
86 | |||
87 | &:hover { |
|
87 | &:hover { | |
88 | color: @rcdarkblue; |
|
88 | color: @rcdarkblue; | |
89 | } |
|
89 | } | |
90 | } |
|
90 | } | |
91 |
|
91 | |||
92 | img { |
|
92 | img { | |
93 | border: none; |
|
93 | border: none; | |
94 | outline: none; |
|
94 | outline: none; | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | strong { |
|
97 | strong { | |
98 | font-weight: @text-bold-weight; |
|
98 | font-weight: @text-bold-weight; | |
99 | font-family: @text-bold; |
|
99 | font-family: @text-bold; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | em { |
|
102 | em { | |
103 | font-family: @text-italic; |
|
103 | font-family: @text-italic; | |
104 | font-style: italic; |
|
104 | font-style: italic; | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | strong em, |
|
107 | strong em, | |
108 | em strong { |
|
108 | em strong { | |
109 | font-style: italic; |
|
109 | font-style: italic; | |
110 | font-weight: @text-bold-italic-weight; |
|
110 | font-weight: @text-bold-italic-weight; | |
111 | font-family: @text-bold-italic; |
|
111 | font-family: @text-bold-italic; | |
112 | } |
|
112 | } | |
113 |
|
113 | |||
114 | //TODO: lisa: b and i are depreciated, but we are still using them in places. |
|
114 | //TODO: lisa: b and i are depreciated, but we are still using them in places. | |
115 | // Should probably make some decision whether to keep or lose these. |
|
115 | // Should probably make some decision whether to keep or lose these. | |
116 | b { |
|
116 | b { | |
117 |
|
117 | |||
118 | } |
|
118 | } | |
119 |
|
119 | |||
120 | i { |
|
120 | i { | |
121 | font-style: normal; |
|
121 | font-style: normal; | |
122 | } |
|
122 | } | |
123 |
|
123 | |||
124 | label { |
|
124 | label { | |
125 | color: @text-color; |
|
125 | color: @text-color; | |
126 |
|
126 | |||
127 | input[type="checkbox"] { |
|
127 | input[type="checkbox"] { | |
128 | margin-right: 1em; |
|
128 | margin-right: 1em; | |
129 | } |
|
129 | } | |
130 | input[type="radio"] { |
|
130 | input[type="radio"] { | |
131 | margin-right: 1em; |
|
131 | margin-right: 1em; | |
132 | } |
|
132 | } | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | code, |
|
135 | code, | |
136 | .code { |
|
136 | .code { | |
137 | font-size: .95em; |
|
137 | font-size: .95em; | |
138 | font-family: @text-code; |
|
138 | font-family: @text-code; | |
139 | color: @grey3; |
|
139 | color: @grey3; | |
140 |
|
140 | |||
141 | a { |
|
141 | a { | |
142 | color: lighten(@rcblue,10%) |
|
142 | color: lighten(@rcblue,10%) | |
143 | } |
|
143 | } | |
144 | } |
|
144 | } | |
145 |
|
145 | |||
146 | pre { |
|
146 | pre { | |
147 | margin: 0; |
|
147 | margin: 0; | |
148 | padding: 0; |
|
148 | padding: 0; | |
149 | border: 0; |
|
149 | border: 0; | |
150 | outline: 0; |
|
150 | outline: 0; | |
151 | font-size: @basefontsize*.95; |
|
151 | font-size: @basefontsize*.95; | |
152 | line-height: 1.4em; |
|
152 | line-height: 1.4em; | |
153 | font-family: @text-code; |
|
153 | font-family: @text-code; | |
154 | color: @grey3; |
|
154 | color: @grey3; | |
155 | } |
|
155 | } | |
156 |
|
156 | |||
157 | // Emphasis & misc |
|
157 | // Emphasis & misc | |
158 | // ------------------------- |
|
158 | // ------------------------- | |
159 | .discreet { |
|
159 | .discreet { | |
160 | color: @grey4; |
|
160 | color: @grey4; | |
161 | font-size: 85%; |
|
161 | font-size: 85%; | |
162 | font-weight: normal; |
|
162 | font-weight: normal; | |
163 |
|
163 | |||
164 | a { |
|
164 | a { | |
165 | color: @grey4; |
|
165 | color: @grey4; | |
166 |
|
166 | |||
167 | &:hover { |
|
167 | &:hover { | |
168 | color: @rcdarkblue; |
|
168 | color: @rcdarkblue; | |
169 | } |
|
169 | } | |
170 | } |
|
170 | } | |
171 | } |
|
171 | } | |
172 |
|
172 | |||
173 | small, |
|
173 | small, | |
174 | .small { |
|
174 | .small { | |
175 | font-size: 75%; |
|
175 | font-size: 75%; | |
176 | font-weight: normal; |
|
176 | font-weight: normal; | |
177 | line-height: 1em; |
|
177 | line-height: 1em; | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | mark, |
|
180 | mark, | |
181 | .mark { |
|
181 | .mark { | |
182 | padding: .2em; |
|
182 | padding: .2em; | |
183 | } |
|
183 | } | |
184 |
|
184 | |||
185 | // Alignment |
|
185 | // Alignment | |
186 | .text-left { text-align: left; } |
|
186 | .text-left { text-align: left; } | |
187 | .text-right { text-align: right; } |
|
187 | .text-right { text-align: right; } | |
188 | .text-center { text-align: center; } |
|
188 | .text-center { text-align: center; } | |
189 | .text-justify { text-align: justify; } |
|
189 | .text-justify { text-align: justify; } | |
190 | .text-nowrap { white-space: nowrap; } |
|
190 | .text-nowrap { white-space: nowrap; } | |
191 |
|
191 | |||
192 | // Transformation |
|
192 | // Transformation | |
193 | .text-lowercase { text-transform: lowercase; } |
|
193 | .text-lowercase { text-transform: lowercase; } | |
194 | .text-uppercase { text-transform: uppercase; } |
|
194 | .text-uppercase { text-transform: uppercase; } | |
195 | .text-capitalize { text-transform: capitalize; } |
|
195 | .text-capitalize { text-transform: capitalize; } | |
196 |
|
196 | |||
197 | // Contextual colors |
|
197 | // Contextual colors | |
198 | .text-muted { |
|
198 | .text-muted { | |
199 | color: @grey4; |
|
199 | color: @grey4; | |
200 | } |
|
200 | } | |
201 | .text-primary { |
|
201 | .text-primary { | |
202 | color: @rcblue; |
|
202 | color: @rcblue; | |
203 | } |
|
203 | } | |
204 | .text-success { |
|
204 | .text-success { | |
205 | color: @alert1; |
|
205 | color: @alert1; | |
206 | } |
|
206 | } | |
207 | .text-info { |
|
207 | .text-info { | |
208 | color: @alert4; |
|
208 | color: @alert4; | |
209 | } |
|
209 | } | |
210 | .text-warning { |
|
210 | .text-warning { | |
211 | color: @alert3; |
|
211 | color: @alert3; | |
212 | } |
|
212 | } | |
213 | .text-danger { |
|
213 | .text-danger { | |
214 | color: @alert2; |
|
214 | color: @alert2; | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | // Contextual backgrounds |
|
217 | // Contextual backgrounds | |
218 | .bg-primary { |
|
218 | .bg-primary { | |
219 | background-color: white; |
|
219 | background-color: white; | |
220 | } |
|
220 | } | |
221 | .bg-success { |
|
221 | .bg-success { | |
222 | background-color: @alert1; |
|
222 | background-color: @alert1; | |
223 | } |
|
223 | } | |
224 | .bg-info { |
|
224 | .bg-info { | |
225 | background-color: @alert4; |
|
225 | background-color: @alert4; | |
226 | } |
|
226 | } | |
227 | .bg-warning { |
|
227 | .bg-warning { | |
228 | background-color: @alert3; |
|
228 | background-color: @alert3; | |
229 | } |
|
229 | } | |
230 | .bg-danger { |
|
230 | .bg-danger { | |
231 | background-color: @alert2; |
|
231 | background-color: @alert2; | |
232 | } |
|
232 | } | |
233 |
|
233 | |||
234 |
|
234 | |||
235 | // Page header |
|
235 | // Page header | |
236 | // ------------------------- |
|
236 | // ------------------------- | |
237 |
|
237 | |||
238 | .page-header { |
|
238 | .page-header { | |
239 | margin: @pagepadding 0 @textmargin; |
|
239 | margin: @pagepadding 0 @textmargin; | |
240 | border-bottom: @border-thickness solid @grey5; |
|
240 | border-bottom: @border-thickness solid @grey5; | |
241 | } |
|
241 | } | |
242 |
|
242 | |||
243 | .title { |
|
243 | .title { | |
244 | clear: both; |
|
244 | clear: both; | |
245 | float: left; |
|
245 | float: left; | |
246 | width: 100%; |
|
246 | width: 100%; | |
247 |
margin: @pagepadding/2 0 |
|
247 | margin: @pagepadding/2 0 @pagepadding/4; | |
248 | min-height: 25px; |
|
248 | min-height: 25px; | |
249 |
|
249 | |||
250 | .breadcrumbs { |
|
250 | .breadcrumbs { | |
251 | float: left; |
|
251 | float: left; | |
252 | clear: both; |
|
252 | clear: both; | |
253 | width: 700px; |
|
253 | width: 700px; | |
254 | margin: 0; |
|
254 | margin: 0; | |
255 |
|
255 | |||
256 | .q_filter_box { |
|
256 | .q_filter_box { | |
257 | margin-right: @padding; |
|
257 | margin-right: @padding; | |
258 | } |
|
258 | } | |
259 | } |
|
259 | } | |
260 |
|
260 | |||
261 | h1 a { |
|
261 | h1 a { | |
262 | color: @rcblue; |
|
262 | color: @rcblue; | |
263 | } |
|
263 | } | |
264 |
|
264 | |||
265 | input{ |
|
265 | input{ | |
266 | margin-right: @padding; |
|
266 | margin-right: @padding; | |
267 | } |
|
267 | } | |
268 |
|
268 | |||
269 | h5, .h5 { |
|
269 | h5, .h5 { | |
270 | color: @grey1; |
|
270 | color: @grey1; | |
271 | margin-bottom: @space; |
|
271 | margin-bottom: @space; | |
272 |
|
272 | |||
273 | span { |
|
273 | span { | |
274 | display: inline-block; |
|
274 | display: inline-block; | |
275 | } |
|
275 | } | |
276 | } |
|
276 | } | |
277 |
|
277 | |||
278 | p { |
|
278 | p { | |
279 | margin-bottom: 0; |
|
279 | margin-bottom: 0; | |
280 | } |
|
280 | } | |
281 |
|
281 | |||
282 | .links { |
|
282 | .links { | |
283 | float: right; |
|
283 | float: right; | |
284 | display: inline; |
|
284 | display: inline; | |
285 | margin: 0; |
|
285 | margin: 0; | |
286 | padding-left: 0; |
|
286 | padding-left: 0; | |
287 | list-style: none; |
|
287 | list-style: none; | |
288 | text-align: right; |
|
288 | text-align: right; | |
289 |
|
289 | |||
290 | li { |
|
290 | li { | |
291 | float: right; |
|
291 | float: right; | |
292 | list-style-type: none; |
|
292 | list-style-type: none; | |
293 | } |
|
293 | } | |
294 |
|
294 | |||
295 | a { |
|
295 | a { | |
296 | display: inline-block; |
|
296 | display: inline-block; | |
297 | margin-left: @textmargin/2; |
|
297 | margin-left: @textmargin/2; | |
298 | } |
|
298 | } | |
299 | } |
|
299 | } | |
300 |
|
300 | |||
301 | .title-content { |
|
301 | .title-content { | |
302 | float: left; |
|
302 | float: left; | |
303 | margin: 0; |
|
303 | margin: 0; | |
304 | padding: 0; |
|
304 | padding: 0; | |
305 |
|
305 | |||
306 | & + .breadcrumbs { |
|
306 | & + .breadcrumbs { | |
307 | margin-top: @padding; |
|
307 | margin-top: @padding; | |
308 | } |
|
308 | } | |
309 |
|
309 | |||
310 | & + .links { |
|
310 | & + .links { | |
311 | margin-top: -@button-padding; |
|
311 | margin-top: -@button-padding; | |
312 |
|
312 | |||
313 | & + .breadcrumbs { |
|
313 | & + .breadcrumbs { | |
314 | margin-top: @padding; |
|
314 | margin-top: @padding; | |
315 | } |
|
315 | } | |
316 | } |
|
316 | } | |
317 |
|
317 | |||
318 | .repo-group-desc { |
|
318 | .repo-group-desc { | |
319 | padding: 8px 0px 0px 0px; |
|
319 | padding: 8px 0px 0px 0px; | |
320 | } |
|
320 | } | |
321 | } |
|
321 | } | |
322 |
|
322 | |||
323 | .title-main { |
|
323 | .title-main { | |
324 | font-size: @repo-title-fontsize; |
|
324 | font-size: @repo-title-fontsize; | |
325 | } |
|
325 | } | |
326 |
|
326 | |||
327 | .title-description { |
|
327 | .title-description { | |
328 | margin-top: .5em; |
|
328 | margin-top: .5em; | |
329 | } |
|
329 | } | |
330 |
|
330 | |||
331 | .q_filter_box { |
|
331 | .q_filter_box { | |
332 | width: 200px; |
|
332 | width: 200px; | |
333 | } |
|
333 | } | |
334 |
|
334 | |||
335 | } |
|
335 | } | |
336 |
|
336 | |||
337 | #readme .title { |
|
337 | #readme .title { | |
338 | text-transform: none; |
|
338 | text-transform: none; | |
339 | } |
|
339 | } | |
340 |
|
340 | |||
341 | // Lists |
|
341 | // Lists | |
342 | // ------------------------- |
|
342 | // ------------------------- | |
343 |
|
343 | |||
344 | // Unordered and Ordered lists |
|
344 | // Unordered and Ordered lists | |
345 | ul, |
|
345 | ul, | |
346 | ol { |
|
346 | ol { | |
347 | margin-top: 0; |
|
347 | margin-top: 0; | |
348 | margin-bottom: @textmargin; |
|
348 | margin-bottom: @textmargin; | |
349 | ul, |
|
349 | ul, | |
350 | ol { |
|
350 | ol { | |
351 | margin-bottom: 0; |
|
351 | margin-bottom: 0; | |
352 | } |
|
352 | } | |
353 | } |
|
353 | } | |
354 |
|
354 | |||
355 | li { |
|
355 | li { | |
356 | line-height: 2em; |
|
356 | line-height: 2em; | |
357 | } |
|
357 | } | |
358 |
|
358 | |||
359 | ul li { |
|
359 | ul li { | |
360 | position: relative; |
|
360 | position: relative; | |
361 | list-style-type: disc; |
|
361 | list-style-type: disc; | |
362 |
|
362 | |||
363 | p:first-child { |
|
363 | p:first-child { | |
364 | display:inline; |
|
364 | display:inline; | |
365 | } |
|
365 | } | |
366 | } |
|
366 | } | |
367 |
|
367 | |||
368 | // List options |
|
368 | // List options | |
369 |
|
369 | |||
370 | // Unstyled keeps list items block level, just removes default browser padding and list-style |
|
370 | // Unstyled keeps list items block level, just removes default browser padding and list-style | |
371 | .list-unstyled { |
|
371 | .list-unstyled { | |
372 | padding-left: 0; |
|
372 | padding-left: 0; | |
373 | list-style: none; |
|
373 | list-style: none; | |
374 | li:before { content: none; } |
|
374 | li:before { content: none; } | |
375 | } |
|
375 | } | |
376 |
|
376 | |||
377 | // Inline turns list items into inline-block |
|
377 | // Inline turns list items into inline-block | |
378 | .list-inline { |
|
378 | .list-inline { | |
379 | .list-unstyled(); |
|
379 | .list-unstyled(); | |
380 | margin-left: -5px; |
|
380 | margin-left: -5px; | |
381 |
|
381 | |||
382 | > li { |
|
382 | > li { | |
383 | display: inline-block; |
|
383 | display: inline-block; | |
384 | padding-left: 5px; |
|
384 | padding-left: 5px; | |
385 | padding-right: 5px; |
|
385 | padding-right: 5px; | |
386 | } |
|
386 | } | |
387 | } |
|
387 | } | |
388 |
|
388 | |||
389 | // Description Lists |
|
389 | // Description Lists | |
390 |
|
390 | |||
391 | dl { |
|
391 | dl { | |
392 | margin-top: 0; // Remove browser default |
|
392 | margin-top: 0; // Remove browser default | |
393 | margin-bottom: @textmargin; |
|
393 | margin-bottom: @textmargin; | |
394 | } |
|
394 | } | |
395 |
|
395 | |||
396 | dt, |
|
396 | dt, | |
397 | dd { |
|
397 | dd { | |
398 | line-height: 1.4em; |
|
398 | line-height: 1.4em; | |
399 | } |
|
399 | } | |
400 |
|
400 | |||
401 | dt { |
|
401 | dt { | |
402 | margin: @textmargin 0 0 0; |
|
402 | margin: @textmargin 0 0 0; | |
403 | font-weight: @text-bold-weight; |
|
403 | font-weight: @text-bold-weight; | |
404 | font-family: @text-bold; |
|
404 | font-family: @text-bold; | |
405 | } |
|
405 | } | |
406 |
|
406 | |||
407 | dd { |
|
407 | dd { | |
408 | margin-left: 0; // Undo browser default |
|
408 | margin-left: 0; // Undo browser default | |
409 | } |
|
409 | } | |
410 |
|
410 | |||
411 | // Horizontal description lists |
|
411 | // Horizontal description lists | |
412 | // Defaults to being stacked without any of the below styles applied, until the |
|
412 | // Defaults to being stacked without any of the below styles applied, until the | |
413 | // grid breakpoint is reached (default of ~768px). |
|
413 | // grid breakpoint is reached (default of ~768px). | |
414 | // These are used in forms as well; see style guide. |
|
414 | // These are used in forms as well; see style guide. | |
415 | // TODO: lisa: These should really not be used in forms. |
|
415 | // TODO: lisa: These should really not be used in forms. | |
416 |
|
416 | |||
417 | .dl-horizontal { |
|
417 | .dl-horizontal { | |
418 |
|
418 | |||
419 | overflow: hidden; |
|
419 | overflow: hidden; | |
420 | margin-bottom: @space; |
|
420 | margin-bottom: @space; | |
421 |
|
421 | |||
422 | dt, dd { |
|
422 | dt, dd { | |
423 | float: left; |
|
423 | float: left; | |
424 | margin: 5px 0 5px 0; |
|
424 | margin: 5px 0 5px 0; | |
425 | } |
|
425 | } | |
426 |
|
426 | |||
427 | dt { |
|
427 | dt { | |
428 | clear: left; |
|
428 | clear: left; | |
429 | width: @label-width - @form-vertical-margin; |
|
429 | width: @label-width - @form-vertical-margin; | |
430 | } |
|
430 | } | |
431 |
|
431 | |||
432 | dd { |
|
432 | dd { | |
433 | &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present |
|
433 | &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present | |
434 | margin-left: @form-vertical-margin; |
|
434 | margin-left: @form-vertical-margin; | |
435 | max-width: @form-max-width - (@label-width - @form-vertical-margin) - @form-vertical-margin; |
|
435 | max-width: @form-max-width - (@label-width - @form-vertical-margin) - @form-vertical-margin; | |
436 | } |
|
436 | } | |
437 |
|
437 | |||
438 | pre { |
|
438 | pre { | |
439 | margin: 0; |
|
439 | margin: 0; | |
440 | } |
|
440 | } | |
441 |
|
441 | |||
442 | &.settings { |
|
442 | &.settings { | |
443 | dt { |
|
443 | dt { | |
444 | text-align: left; |
|
444 | text-align: left; | |
445 | } |
|
445 | } | |
446 | } |
|
446 | } | |
447 |
|
447 | |||
448 | @media (min-width: 768px) { |
|
448 | @media (min-width: 768px) { | |
449 | dt { |
|
449 | dt { | |
450 | float: left; |
|
450 | float: left; | |
451 | width: 185px; |
|
451 | width: 185px; | |
452 | clear: left; |
|
452 | clear: left; | |
453 | text-align: right; |
|
453 | text-align: right; | |
454 | } |
|
454 | } | |
455 | dd { |
|
455 | dd { | |
456 | margin-left: 20px; |
|
456 | margin-left: 20px; | |
457 | } |
|
457 | } | |
458 | } |
|
458 | } | |
459 | } |
|
459 | } | |
460 |
|
460 | |||
461 |
|
461 | |||
462 | // Misc |
|
462 | // Misc | |
463 | // ------------------------- |
|
463 | // ------------------------- | |
464 |
|
464 | |||
465 | // Abbreviations and acronyms |
|
465 | // Abbreviations and acronyms | |
466 | abbr[title], |
|
466 | abbr[title], | |
467 | abbr[data-original-title] { |
|
467 | abbr[data-original-title] { | |
468 | cursor: help; |
|
468 | cursor: help; | |
469 | border-bottom: @border-thickness dotted @grey4; |
|
469 | border-bottom: @border-thickness dotted @grey4; | |
470 | } |
|
470 | } | |
471 | .initialism { |
|
471 | .initialism { | |
472 | font-size: 90%; |
|
472 | font-size: 90%; | |
473 | text-transform: uppercase; |
|
473 | text-transform: uppercase; | |
474 | } |
|
474 | } | |
475 |
|
475 | |||
476 | // Blockquotes |
|
476 | // Blockquotes | |
477 | blockquote { |
|
477 | blockquote { | |
478 | padding: 1em 2em; |
|
478 | padding: 1em 2em; | |
479 | margin: 0 0 2em; |
|
479 | margin: 0 0 2em; | |
480 | font-size: @basefontsize; |
|
480 | font-size: @basefontsize; | |
481 | border-left: 2px solid @grey6; |
|
481 | border-left: 2px solid @grey6; | |
482 |
|
482 | |||
483 | p, |
|
483 | p, | |
484 | ul, |
|
484 | ul, | |
485 | ol { |
|
485 | ol { | |
486 | &:last-child { |
|
486 | &:last-child { | |
487 | margin-bottom: 0; |
|
487 | margin-bottom: 0; | |
488 | } |
|
488 | } | |
489 | } |
|
489 | } | |
490 |
|
490 | |||
491 | footer, |
|
491 | footer, | |
492 | small, |
|
492 | small, | |
493 | .small { |
|
493 | .small { | |
494 | display: block; |
|
494 | display: block; | |
495 | font-size: 80%; |
|
495 | font-size: 80%; | |
496 |
|
496 | |||
497 | &:before { |
|
497 | &:before { | |
498 | content: '\2014 \00A0'; // em dash, nbsp |
|
498 | content: '\2014 \00A0'; // em dash, nbsp | |
499 | } |
|
499 | } | |
500 | } |
|
500 | } | |
501 | } |
|
501 | } | |
502 |
|
502 | |||
503 | // Opposite alignment of blockquote |
|
503 | // Opposite alignment of blockquote | |
504 | // |
|
504 | // | |
505 | .blockquote-reverse, |
|
505 | .blockquote-reverse, | |
506 | blockquote.pull-right { |
|
506 | blockquote.pull-right { | |
507 | padding-right: 15px; |
|
507 | padding-right: 15px; | |
508 | padding-left: 0; |
|
508 | padding-left: 0; | |
509 | border-right: 5px solid @grey6; |
|
509 | border-right: 5px solid @grey6; | |
510 | border-left: 0; |
|
510 | border-left: 0; | |
511 | text-align: right; |
|
511 | text-align: right; | |
512 |
|
512 | |||
513 | // Account for citation |
|
513 | // Account for citation | |
514 | footer, |
|
514 | footer, | |
515 | small, |
|
515 | small, | |
516 | .small { |
|
516 | .small { | |
517 | &:before { content: ''; } |
|
517 | &:before { content: ''; } | |
518 | &:after { |
|
518 | &:after { | |
519 | content: '\00A0 \2014'; // nbsp, em dash |
|
519 | content: '\00A0 \2014'; // nbsp, em dash | |
520 | } |
|
520 | } | |
521 | } |
|
521 | } | |
522 | } |
|
522 | } | |
523 |
|
523 | |||
524 | // Addresses |
|
524 | // Addresses | |
525 | address { |
|
525 | address { | |
526 | margin-bottom: 2em; |
|
526 | margin-bottom: 2em; | |
527 | font-style: normal; |
|
527 | font-style: normal; | |
528 | line-height: 1.8em; |
|
528 | line-height: 1.8em; | |
529 | } |
|
529 | } | |
530 |
|
530 | |||
531 | .error-message { |
|
531 | .error-message { | |
532 | display: block; |
|
532 | display: block; | |
533 | margin: @padding/3 0; |
|
533 | margin: @padding/3 0; | |
534 | color: @alert2; |
|
534 | color: @alert2; | |
535 | } |
|
535 | } | |
536 |
|
536 | |||
537 | .issue-tracker-link { |
|
537 | .issue-tracker-link { | |
538 | color: @rcblue; |
|
538 | color: @rcblue; | |
539 | } |
|
539 | } | |
540 |
|
540 | |||
541 | .info_text{ |
|
541 | .info_text{ | |
542 | font-size: @basefontsize; |
|
542 | font-size: @basefontsize; | |
543 | color: @grey4; |
|
543 | color: @grey4; | |
544 | font-family: @text-regular; |
|
544 | font-family: @text-regular; | |
545 | } |
|
545 | } | |
546 |
|
546 | |||
547 | .help-block-inline { |
|
547 | .help-block-inline { | |
548 | margin: 0; |
|
548 | margin: 0; | |
549 | } |
|
549 | } | |
550 |
|
550 | |||
551 | // help block text |
|
551 | // help block text | |
552 | .help-block { |
|
552 | .help-block { | |
553 | display: block; |
|
553 | display: block; | |
554 | margin: 0 0 @padding; |
|
554 | margin: 0 0 @padding; | |
555 | color: @grey4; |
|
555 | color: @grey4; | |
556 | font-family: @text-light; |
|
556 | font-family: @text-light; | |
557 | &.pre-formatting { |
|
557 | &.pre-formatting { | |
558 | white-space: pre-wrap; |
|
558 | white-space: pre-wrap; | |
559 | } |
|
559 | } | |
560 | } |
|
560 | } | |
561 |
|
561 | |||
562 | .error-message { |
|
562 | .error-message { | |
563 | display: block; |
|
563 | display: block; | |
564 | margin: @padding/3 0; |
|
564 | margin: @padding/3 0; | |
565 | color: @alert2; |
|
565 | color: @alert2; | |
566 | } |
|
566 | } |
@@ -1,152 +1,152 b'' | |||||
1 | // variables for use in all RhodeCode products |
|
1 | // variables for use in all RhodeCode products | |
2 |
|
2 | |||
3 | // FONTS |
|
3 | // FONTS | |
4 | //Primary Colors (brand) |
|
4 | //Primary Colors (brand) | |
5 | @rcblue: #427cc9; //RhodeCode blue |
|
5 | @rcblue: #427cc9; //RhodeCode blue | |
6 | @rcdarkblue: #305b91; //RhodeCode dark blue |
|
6 | @rcdarkblue: #305b91; //RhodeCode dark blue | |
7 | @rclightblue: lighten(@rcblue, 30%); |
|
7 | @rclightblue: lighten(@rcblue, 30%); | |
8 | @rchighlightblue: lighten(@rcblue, 35%); |
|
8 | @rchighlightblue: lighten(@rcblue, 35%); | |
9 |
|
9 | |||
10 | // Secondary Colors (greyscale) |
|
10 | // Secondary Colors (greyscale) | |
11 | @black: #000; |
|
11 | @black: #000; | |
12 | @white: #fff; |
|
12 | @white: #fff; | |
13 | @grey1: #2B2B2D; //midnight |
|
13 | @grey1: #2B2B2D; //midnight | |
14 | @grey2: #5C5C5C; //charcoal |
|
14 | @grey2: #5C5C5C; //charcoal | |
15 | @grey3: #7E7F7F; //tungsten |
|
15 | @grey3: #7E7F7F; //tungsten | |
16 | @grey4: #949494; //light grey |
|
16 | @grey4: #949494; //light grey | |
17 | @grey5: #dbd9da; //greyish |
|
17 | @grey5: #dbd9da; //greyish | |
18 | @grey6: #eeeeee; //silver |
|
18 | @grey6: #eeeeee; //silver | |
19 | @grey7: #F5F5F5; //light silver |
|
19 | @grey7: #F5F5F5; //light silver | |
20 |
|
20 | |||
21 | // special for navigation |
|
21 | // special for navigation | |
22 | @nav-grey: #CDCCCD; |
|
22 | @nav-grey: #CDCCCD; | |
23 |
|
23 | |||
24 | @grey5-alpha: rgba(219, 217, 218, 0.3); |
|
24 | @grey5-alpha: rgba(219, 217, 218, 0.3); | |
25 |
|
25 | |||
26 | // Tertiary Colors |
|
26 | // Tertiary Colors | |
27 | @color1: #879938; //olive green |
|
27 | @color1: #879938; //olive green | |
28 | @color2: #fcc93a; //bright yellow |
|
28 | @color2: #fcc93a; //bright yellow | |
29 | @color3: #ff9e07; //orange-yellow |
|
29 | @color3: #ff9e07; //orange-yellow | |
30 | @color4: #fc663a; //bright orange |
|
30 | @color4: #fc663a; //bright orange | |
31 | @color5: #d63d44; //signal red |
|
31 | @color5: #d63d44; //signal red | |
32 | @color6: #99287c; //violet |
|
32 | @color6: #99287c; //violet | |
33 | @color7: #682668; //dark purple |
|
33 | @color7: #682668; //dark purple | |
34 | @color8: #194f8e; //dark blue |
|
34 | @color8: #194f8e; //dark blue | |
35 |
|
35 | |||
36 | // Alert Colors (bright) |
|
36 | // Alert Colors (bright) | |
37 | @alert1: #0ac878; //bright green |
|
37 | @alert1: #0ac878; //bright green | |
38 | @alert2: #e85e4d; //soft red |
|
38 | @alert2: #e85e4d; //soft red | |
39 | @alert3: #ffc854; //corn yellow |
|
39 | @alert3: #ffc854; //corn yellow | |
40 | @alert4: #84a5d2; //light blue |
|
40 | @alert4: #84a5d2; //light blue | |
41 |
|
41 | |||
42 | // Alert Inner Colors |
|
42 | // Alert Inner Colors | |
43 | @alert1-inner: #daf7eb; //bright green |
|
43 | @alert1-inner: #daf7eb; //bright green | |
44 | @alert2-inner: #fbdfdb; //soft red |
|
44 | @alert2-inner: #fbdfdb; //soft red | |
45 | @alert3-inner: #fff4dd; //corn yellow |
|
45 | @alert3-inner: #fff4dd; //corn yellow | |
46 | @alert4-inner: #e6edf6; //light blue |
|
46 | @alert4-inner: #e6edf6; //light blue | |
47 |
|
47 | |||
48 | // Highlight color for lines and colors |
|
48 | // Highlight color for lines and colors | |
49 | @comment-highlight-color: #ffd887; |
|
49 | @comment-highlight-color: #ffd887; | |
50 |
|
50 | |||
51 | // FONTS |
|
51 | // FONTS | |
52 | @basefontsize: 13px; |
|
52 | @basefontsize: 13px; | |
53 | @navigation-fontsize: 14px; |
|
53 | @navigation-fontsize: 14px; | |
54 | @journal-fontsize: @basefontsize+7px; |
|
54 | @journal-fontsize: @basefontsize+7px; | |
55 | @text-color: @grey2; |
|
55 | @text-color: @grey2; | |
56 | @repo-title-fontsize: 18px; |
|
56 | @repo-title-fontsize: 18px; | |
57 |
|
57 | |||
58 | @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
58 | @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
59 | @text-monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; |
|
59 | @text-monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; | |
60 |
|
60 | |||
61 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
61 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
62 |
|
62 | |||
63 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
63 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
64 | @text-bold-weight: 600; |
|
64 | @text-bold-weight: 600; | |
65 |
|
65 | |||
66 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
66 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
67 | @text-semibold-weight: 500; |
|
67 | @text-semibold-weight: 500; | |
68 |
|
68 | |||
69 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
69 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
70 | @text-bold-italic-weight: 600; |
|
70 | @text-bold-italic-weight: 600; | |
71 |
|
71 | |||
72 | @text-code: @text-monospace; |
|
72 | @text-code: @text-monospace; | |
73 | @text-light: @text-regular; |
|
73 | @text-light: @text-regular; | |
74 |
|
74 | |||
75 |
|
75 | |||
76 | // Used for .close buttons |
|
76 | // Used for .close buttons | |
77 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
77 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
78 |
|
78 | |||
79 | @panel-title: @basefontsize; |
|
79 | @panel-title: @basefontsize; | |
80 | @panel-footer: @basefontsize; |
|
80 | @panel-footer: @basefontsize; | |
81 |
|
81 | |||
82 | // BORDERS |
|
82 | // BORDERS | |
83 | @border-thickness: 1px; |
|
83 | @border-thickness: 1px; | |
84 | @border-thickness-buttons: 1px; |
|
84 | @border-thickness-buttons: 1px; | |
85 | @border-thickness-tags: 1px; |
|
85 | @border-thickness-tags: 1px; | |
86 | @border-radius: 2px; |
|
86 | @border-radius: 2px; | |
87 | @border-default-color: @grey5; |
|
87 | @border-default-color: @grey5; | |
88 | @border-highlight-color: @grey4; |
|
88 | @border-highlight-color: @grey4; | |
89 |
|
89 | |||
90 | // SPACING |
|
90 | // SPACING | |
91 | @contentpadding: 15px; //padding on left and right of pages |
|
91 | @contentpadding: 15px; //padding on left and right of pages | |
92 | @pagepadding: 40px; //padding on top and bottom of pages |
|
92 | @pagepadding: 40px; //padding on top and bottom of pages | |
93 | @menupadding: 12px; //padding for sidebar and content |
|
93 | @menupadding: 12px; //padding for sidebar and content | |
94 | @sidebarpadding: 15px; //spacing between sections |
|
94 | @sidebarpadding: 15px; //spacing between sections | |
95 | @space: 40px; //spacing between sections |
|
95 | @space: 40px; //spacing between sections | |
96 | @padding: 15px; //padding inside modules |
|
96 | @padding: 15px; //padding inside modules | |
97 | @textmargin: 20px; //spacing below headers |
|
97 | @textmargin: 20px; //spacing below headers | |
98 | @header-padding: 20px; |
|
98 | @header-padding: 20px; | |
99 | @panel-padding: @padding; |
|
99 | @panel-padding: @padding; | |
100 | @gravatar-size: 16px; // height/width of gravatar w/o border |
|
100 | @gravatar-size: 16px; // height/width of gravatar w/o border | |
101 |
|
101 | |||
102 | // ADMIN |
|
102 | // ADMIN | |
103 | @form-max-width: 750px; |
|
103 | @form-max-width: 750px; | |
104 |
|
104 | |||
105 | // FORMS (new) |
|
105 | // FORMS (new) | |
106 | @border-thickness-inputs: 1px; |
|
106 | @border-thickness-inputs: 1px; | |
107 |
@input-padding: |
|
107 | @input-padding: .6em; //needs to match button padding | |
108 | // TODO: johbo: Needed for working computation of paddings around labels etc. |
|
108 | // TODO: johbo: Needed for working computation of paddings around labels etc. | |
109 | // Expected to be replaced once we are done with the form refactoring. |
|
109 | // Expected to be replaced once we are done with the form refactoring. | |
110 | @input-padding-px: 12px; |
|
110 | @input-padding-px: 12px; | |
111 | @legend-width: 220px; |
|
111 | @legend-width: 220px; | |
112 | @form-vertical-margin: 20px; |
|
112 | @form-vertical-margin: 20px; | |
113 | @form-check-width: 20px; |
|
113 | @form-check-width: 20px; | |
114 | @form-radio-width: 10px; |
|
114 | @form-radio-width: 10px; | |
115 | @form-textcolor: @grey3; |
|
115 | @form-textcolor: @grey3; | |
116 |
|
116 | |||
117 | // FORMS |
|
117 | // FORMS | |
118 | @label-width: 220px; |
|
118 | @label-width: 220px; | |
119 | //TODO: lisa: Eventually we don't need both of these; remove |
|
119 | //TODO: lisa: Eventually we don't need both of these; remove | |
120 | // label-width when legend-width is no longer used |
|
120 | // label-width when legend-width is no longer used | |
121 |
|
121 | |||
122 | @input-border-thickness: @border-thickness; |
|
122 | @input-border-thickness: @border-thickness; | |
123 | @medium-inline-input-width: 115px; |
|
123 | @medium-inline-input-width: 115px; | |
124 | @input-description-minwidth: 300px; |
|
124 | @input-description-minwidth: 300px; | |
125 | @label2-width: 200px; |
|
125 | @label2-width: 200px; | |
126 | @checkboxes-width: 420px; |
|
126 | @checkboxes-width: 420px; | |
127 | @label-summary-minwidth: 80px; |
|
127 | @label-summary-minwidth: 80px; | |
128 | @search-form-width: 400px; |
|
128 | @search-form-width: 400px; | |
129 | @fields-input-m: 400px; |
|
129 | @fields-input-m: 400px; | |
130 | @fields-input-l: 720px; |
|
130 | @fields-input-l: 720px; | |
131 |
|
131 | |||
132 | // BUTTONS |
|
132 | // BUTTONS | |
133 | @button-padding: .7em; |
|
133 | @button-padding: .7em; | |
134 | @button-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07); |
|
134 | @button-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07); | |
135 |
|
135 | |||
136 |
|
136 | |||
137 | // DEFAULT WIDTHS |
|
137 | // DEFAULT WIDTHS | |
138 | @wrapper-maxwidth: 1600px; |
|
138 | @wrapper-maxwidth: 1600px; | |
139 | @sidebar-width: 145px; |
|
139 | @sidebar-width: 145px; | |
140 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; |
|
140 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; | |
141 | @sidebar-small-width: 100px; |
|
141 | @sidebar-small-width: 100px; | |
142 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; |
|
142 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; | |
143 | @texteditor-width: 660px; |
|
143 | @texteditor-width: 660px; | |
144 | @maincontent-maxwidth: 940px; |
|
144 | @maincontent-maxwidth: 940px; | |
145 | @pullrequest-width: 1025px; |
|
145 | @pullrequest-width: 1025px; | |
146 | @summary-menu-stats-width: 200px; |
|
146 | @summary-menu-stats-width: 200px; | |
147 |
|
147 | |||
148 | // SCREEN WIDTHS |
|
148 | // SCREEN WIDTHS | |
149 | @screen-sm-min: 320px; |
|
149 | @screen-sm-min: 320px; | |
150 |
|
150 | |||
151 | // For Bootstrap |
|
151 | // For Bootstrap | |
152 | @panel-border-radius: @border-radius; |
|
152 | @panel-border-radius: @border-radius; |
General Comments 0
You need to be logged in to leave comments.
Login now