Show More
@@ -1,857 +1,855 b'' | |||
|
1 | 1 | // |
|
2 | 2 | // Variables |
|
3 | 3 | // -------------------------------------------------- |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | //== Colors |
|
7 | 7 | // |
|
8 | 8 | //## Gray and brand colors for use across Bootstrap. |
|
9 | 9 | |
|
10 | 10 | @gray-base: #000; |
|
11 | 11 | @gray-darker: lighten(@gray-base, 13.5%); // #222 |
|
12 | 12 | @gray-dark: lighten(@gray-base, 20%); // #333 |
|
13 | 13 | @gray: lighten(@gray-base, 33.5%); // #555 |
|
14 | 14 | @gray-light: lighten(@gray-base, 46.7%); // #777 |
|
15 | 15 | @gray-lighter: lighten(@gray-base, 93.5%); // #eee |
|
16 | 16 | |
|
17 | 17 | @brand-primary: darken(#428bca, 6.5%); |
|
18 | 18 | @brand-success: #5cb85c; |
|
19 | 19 | @brand-info: #5bc0de; |
|
20 | 20 | @brand-warning: #f0ad4e; |
|
21 | 21 | @brand-danger: #d9534f; |
|
22 | 22 | |
|
23 | 23 | |
|
24 | 24 | //== Scaffolding |
|
25 | 25 | // |
|
26 | 26 | //## Settings for some of the most global styles. |
|
27 | 27 | |
|
28 | 28 | //** Background color for `<body>`. |
|
29 | 29 | @body-bg: #fff; |
|
30 | 30 | //** Global text color on `<body>`. |
|
31 | 31 | @text-color: @gray-dark; |
|
32 | 32 | |
|
33 | 33 | //** Global textual link color. |
|
34 | 34 | @link-color: @brand-primary; |
|
35 | 35 | //** Link hover color set via `darken()` function. |
|
36 | 36 | @link-hover-color: darken(@link-color, 15%); |
|
37 | 37 | //** Link hover decoration. |
|
38 | 38 | @link-hover-decoration: underline; |
|
39 | 39 | |
|
40 | 40 | |
|
41 | 41 | //== Typography |
|
42 | 42 | // |
|
43 | 43 | //## Font, line-height, and color for body text, headings, and more. |
|
44 | 44 | |
|
45 | 45 | @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
46 | 46 | @font-family-serif: Georgia, "Times New Roman", Times, serif; |
|
47 | //** Default monospace fonts for `<code>`, `<kbd>`, and `<pre>`. | |
|
48 | @font-family-monospace: Consolas, "Liberation Mono", Menlo, Monaco, Courier, monospace; | |
|
49 | 47 | |
|
50 | 48 | @font-family-base: @font-family-sans-serif; |
|
51 | 49 | |
|
52 | 50 | @font-size-base: 14px; |
|
53 | 51 | @font-size-large: ceil((@font-size-base * 1.25)); // ~18px |
|
54 | 52 | @font-size-small: ceil((@font-size-base * 0.85)); // ~12px |
|
55 | 53 | |
|
56 | 54 | @font-size-h1: floor((@font-size-base * 2.6)); // ~36px |
|
57 | 55 | @font-size-h2: floor((@font-size-base * 2.15)); // ~30px |
|
58 | 56 | @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px |
|
59 | 57 | @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px |
|
60 | 58 | @font-size-h5: @font-size-base; |
|
61 | 59 | @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px |
|
62 | 60 | |
|
63 | 61 | //** Unit-less `line-height` for use in components like buttons. |
|
64 | 62 | @line-height-base: 1.428571429; // 20/14 |
|
65 | 63 | //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc. |
|
66 | 64 | @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px |
|
67 | 65 | |
|
68 | 66 | //** By default, this inherits from the `<body>`. |
|
69 | 67 | @headings-font-family: inherit; |
|
70 | 68 | @headings-font-weight: 500; |
|
71 | 69 | @headings-line-height: 1.1; |
|
72 | 70 | @headings-color: inherit; |
|
73 | 71 | |
|
74 | 72 | |
|
75 | 73 | //== Iconography |
|
76 | 74 | // |
|
77 | 75 | //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower. |
|
78 | 76 | |
|
79 | 77 | //** Load fonts from this directory. |
|
80 | 78 | @icon-font-path: "../fonts/"; |
|
81 | 79 | //** File name for all font files. |
|
82 | 80 | @icon-font-name: "glyphicons-halflings-regular"; |
|
83 | 81 | //** Element ID within SVG icon file. |
|
84 | 82 | @icon-font-svg-id: "glyphicons_halflingsregular"; |
|
85 | 83 | |
|
86 | 84 | |
|
87 | 85 | //== Components |
|
88 | 86 | // |
|
89 | 87 | //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start). |
|
90 | 88 | |
|
91 | 89 | @padding-base-vertical: 6px; |
|
92 | 90 | @padding-base-horizontal: 12px; |
|
93 | 91 | |
|
94 | 92 | @padding-large-vertical: 10px; |
|
95 | 93 | @padding-large-horizontal: 16px; |
|
96 | 94 | |
|
97 | 95 | @padding-small-vertical: 5px; |
|
98 | 96 | @padding-small-horizontal: 10px; |
|
99 | 97 | |
|
100 | 98 | @padding-xs-vertical: 1px; |
|
101 | 99 | @padding-xs-horizontal: 5px; |
|
102 | 100 | |
|
103 | 101 | @line-height-large: 1.33; |
|
104 | 102 | @line-height-small: 1.5; |
|
105 | 103 | |
|
106 | 104 | @border-radius-base: @border-radius; |
|
107 | 105 | @border-radius-large: 6px; |
|
108 | 106 | @border-radius-small: 3px; |
|
109 | 107 | |
|
110 | 108 | //** Global color for active items (e.g., navs or dropdowns). |
|
111 | 109 | @component-active-color: #fff; |
|
112 | 110 | //** Global background color for active items (e.g., navs or dropdowns). |
|
113 | 111 | @component-active-bg: @brand-primary; |
|
114 | 112 | |
|
115 | 113 | //** Width of the `border` for generating carets that indicator dropdowns. |
|
116 | 114 | @caret-width-base: 4px; |
|
117 | 115 | //** Carets increase slightly in size for larger components. |
|
118 | 116 | @caret-width-large: 5px; |
|
119 | 117 | |
|
120 | 118 | |
|
121 | 119 | //== Tables |
|
122 | 120 | // |
|
123 | 121 | //## Customizes the `.table` component with basic values, each used across all table variations. |
|
124 | 122 | |
|
125 | 123 | //** Padding for `<th>`s and `<td>`s. |
|
126 | 124 | @table-cell-padding: 8px; |
|
127 | 125 | //** Padding for cells in `.table-condensed`. |
|
128 | 126 | @table-condensed-cell-padding: 5px; |
|
129 | 127 | |
|
130 | 128 | //** Default background color used for all tables. |
|
131 | 129 | @table-bg: transparent; |
|
132 | 130 | //** Background color used for `.table-striped`. |
|
133 | 131 | @table-bg-accent: #f9f9f9; |
|
134 | 132 | //** Background color used for `.table-hover`. |
|
135 | 133 | @table-bg-hover: #f5f5f5; |
|
136 | 134 | @table-bg-active: @table-bg-hover; |
|
137 | 135 | |
|
138 | 136 | //** Border color for table and cell borders. |
|
139 | 137 | @table-border-color: #ddd; |
|
140 | 138 | |
|
141 | 139 | |
|
142 | 140 | //== Buttons |
|
143 | 141 | // |
|
144 | 142 | //## For each of Bootstrap's buttons, define text, background and border color. |
|
145 | 143 | |
|
146 | 144 | @btn-font-weight: normal; |
|
147 | 145 | |
|
148 | 146 | @btn-default-color: #333; |
|
149 | 147 | @btn-default-bg: #fff; |
|
150 | 148 | @btn-default-border: #ccc; |
|
151 | 149 | |
|
152 | 150 | @btn-primary-color: #fff; |
|
153 | 151 | @btn-primary-bg: @brand-primary; |
|
154 | 152 | @btn-primary-border: darken(@btn-primary-bg, 5%); |
|
155 | 153 | |
|
156 | 154 | @btn-success-color: #fff; |
|
157 | 155 | @btn-success-bg: @brand-success; |
|
158 | 156 | @btn-success-border: darken(@btn-success-bg, 5%); |
|
159 | 157 | |
|
160 | 158 | @btn-info-color: #fff; |
|
161 | 159 | @btn-info-bg: @brand-info; |
|
162 | 160 | @btn-info-border: darken(@btn-info-bg, 5%); |
|
163 | 161 | |
|
164 | 162 | @btn-warning-color: #fff; |
|
165 | 163 | @btn-warning-bg: @brand-warning; |
|
166 | 164 | @btn-warning-border: darken(@btn-warning-bg, 5%); |
|
167 | 165 | |
|
168 | 166 | @btn-danger-color: #fff; |
|
169 | 167 | @btn-danger-bg: @brand-danger; |
|
170 | 168 | @btn-danger-border: darken(@btn-danger-bg, 5%); |
|
171 | 169 | |
|
172 | 170 | @btn-link-disabled-color: @gray-light; |
|
173 | 171 | |
|
174 | 172 | |
|
175 | 173 | //== Forms |
|
176 | 174 | // |
|
177 | 175 | //## |
|
178 | 176 | |
|
179 | 177 | //** `<input>` background color |
|
180 | 178 | @input-bg: #fff; |
|
181 | 179 | //** `<input disabled>` background color |
|
182 | 180 | @input-bg-disabled: @gray-lighter; |
|
183 | 181 | |
|
184 | 182 | //** Text color for `<input>`s |
|
185 | 183 | @input-color: @gray; |
|
186 | 184 | //** `<input>` border color |
|
187 | 185 | @input-border: #ccc; |
|
188 | 186 | |
|
189 | 187 | // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4 |
|
190 | 188 | //** Default `.form-control` border radius |
|
191 | 189 | @input-border-radius: @border-radius-base; |
|
192 | 190 | //** Large `.form-control` border radius |
|
193 | 191 | @input-border-radius-large: @border-radius-large; |
|
194 | 192 | //** Small `.form-control` border radius |
|
195 | 193 | @input-border-radius-small: @border-radius-small; |
|
196 | 194 | |
|
197 | 195 | //** Border color for inputs on focus |
|
198 | 196 | @input-border-focus: #66afe9; |
|
199 | 197 | |
|
200 | 198 | //** Placeholder text color |
|
201 | 199 | @input-color-placeholder: #999; |
|
202 | 200 | |
|
203 | 201 | //** Default `.form-control` height |
|
204 | 202 | @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); |
|
205 | 203 | //** Large `.form-control` height |
|
206 | 204 | @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2); |
|
207 | 205 | //** Small `.form-control` height |
|
208 | 206 | @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2); |
|
209 | 207 | |
|
210 | 208 | @legend-color: @gray-dark; |
|
211 | 209 | @legend-border-color: #e5e5e5; |
|
212 | 210 | |
|
213 | 211 | //** Background color for textual input addons |
|
214 | 212 | @input-group-addon-bg: @gray-lighter; |
|
215 | 213 | //** Border color for textual input addons |
|
216 | 214 | @input-group-addon-border-color: @input-border; |
|
217 | 215 | |
|
218 | 216 | //** Disabled cursor for form controls and buttons. |
|
219 | 217 | @cursor-disabled: not-allowed; |
|
220 | 218 | |
|
221 | 219 | |
|
222 | 220 | //== Dropdowns |
|
223 | 221 | // |
|
224 | 222 | //## Dropdown menu container and contents. |
|
225 | 223 | |
|
226 | 224 | //** Background for the dropdown menu. |
|
227 | 225 | @dropdown-bg: #fff; |
|
228 | 226 | //** Dropdown menu `border-color`. |
|
229 | 227 | @dropdown-border: rgba(0,0,0,.15); |
|
230 | 228 | //** Dropdown menu `border-color` **for IE8**. |
|
231 | 229 | @dropdown-fallback-border: #ccc; |
|
232 | 230 | //** Divider color for between dropdown items. |
|
233 | 231 | @dropdown-divider-bg: #e5e5e5; |
|
234 | 232 | |
|
235 | 233 | //** Dropdown link text color. |
|
236 | 234 | @dropdown-link-color: @gray-dark; |
|
237 | 235 | //** Hover color for dropdown links. |
|
238 | 236 | @dropdown-link-hover-color: darken(@gray-dark, 5%); |
|
239 | 237 | //** Hover background for dropdown links. |
|
240 | 238 | @dropdown-link-hover-bg: #f5f5f5; |
|
241 | 239 | |
|
242 | 240 | //** Active dropdown menu item text color. |
|
243 | 241 | @dropdown-link-active-color: @component-active-color; |
|
244 | 242 | //** Active dropdown menu item background color. |
|
245 | 243 | @dropdown-link-active-bg: @component-active-bg; |
|
246 | 244 | |
|
247 | 245 | //** Disabled dropdown menu item background color. |
|
248 | 246 | @dropdown-link-disabled-color: @gray-light; |
|
249 | 247 | |
|
250 | 248 | //** Text color for headers within dropdown menus. |
|
251 | 249 | @dropdown-header-color: @gray-light; |
|
252 | 250 | |
|
253 | 251 | //** Deprecated `@dropdown-caret-color` as of v3.1.0 |
|
254 | 252 | @dropdown-caret-color: #000; |
|
255 | 253 | |
|
256 | 254 | |
|
257 | 255 | //-- Z-index master list |
|
258 | 256 | // |
|
259 | 257 | // Warning: Avoid customizing these values. They're used for a bird's eye view |
|
260 | 258 | // of components dependent on the z-axis and are designed to all work together. |
|
261 | 259 | // |
|
262 | 260 | // Note: These variables are not generated into the Customizer. |
|
263 | 261 | |
|
264 | 262 | @zindex-navbar: 1000; |
|
265 | 263 | @zindex-dropdown: 1000; |
|
266 | 264 | @zindex-popover: 1060; |
|
267 | 265 | @zindex-tooltip: 1070; |
|
268 | 266 | @zindex-navbar-fixed: 1030; |
|
269 | 267 | @zindex-modal: 1040; |
|
270 | 268 | |
|
271 | 269 | |
|
272 | 270 | //== Media queries breakpoints |
|
273 | 271 | // |
|
274 | 272 | //## Define the breakpoints at which your layout will change, adapting to different screen sizes. |
|
275 | 273 | |
|
276 | 274 | // Extra small screen / phone |
|
277 | 275 | //** Deprecated `@screen-xs` as of v3.0.1 |
|
278 | 276 | @screen-xs: 480px; |
|
279 | 277 | //** Deprecated `@screen-xs-min` as of v3.2.0 |
|
280 | 278 | @screen-xs-min: @screen-xs; |
|
281 | 279 | //** Deprecated `@screen-phone` as of v3.0.1 |
|
282 | 280 | @screen-phone: @screen-xs-min; |
|
283 | 281 | |
|
284 | 282 | // Small screen / tablet |
|
285 | 283 | //** Deprecated `@screen-sm` as of v3.0.1 |
|
286 | 284 | @screen-sm: 768px; |
|
287 | 285 | @screen-sm-min: @screen-sm; |
|
288 | 286 | //** Deprecated `@screen-tablet` as of v3.0.1 |
|
289 | 287 | @screen-tablet: @screen-sm-min; |
|
290 | 288 | |
|
291 | 289 | // Medium screen / desktop |
|
292 | 290 | //** Deprecated `@screen-md` as of v3.0.1 |
|
293 | 291 | @screen-md: 992px; |
|
294 | 292 | @screen-md-min: @screen-md; |
|
295 | 293 | //** Deprecated `@screen-desktop` as of v3.0.1 |
|
296 | 294 | @screen-desktop: @screen-md-min; |
|
297 | 295 | |
|
298 | 296 | // Large screen / wide desktop |
|
299 | 297 | //** Deprecated `@screen-lg` as of v3.0.1 |
|
300 | 298 | @screen-lg: 1200px; |
|
301 | 299 | @screen-lg-min: @screen-lg; |
|
302 | 300 | //** Deprecated `@screen-lg-desktop` as of v3.0.1 |
|
303 | 301 | @screen-lg-desktop: @screen-lg-min; |
|
304 | 302 | |
|
305 | 303 | // So media queries don't overlap when required, provide a maximum |
|
306 | 304 | @screen-xs-max: (@screen-sm-min - 1); |
|
307 | 305 | @screen-sm-max: (@screen-md-min - 1); |
|
308 | 306 | @screen-md-max: (@screen-lg-min - 1); |
|
309 | 307 | |
|
310 | 308 | |
|
311 | 309 | //== Grid system |
|
312 | 310 | // |
|
313 | 311 | //## Define your custom responsive grid. |
|
314 | 312 | |
|
315 | 313 | //** Number of columns in the grid. |
|
316 | 314 | @grid-columns: 12; |
|
317 | 315 | //** Padding between columns. Gets divided in half for the left and right. |
|
318 | 316 | @grid-gutter-width: 30px; |
|
319 | 317 | // Navbar collapse |
|
320 | 318 | //** Point at which the navbar becomes uncollapsed. |
|
321 | 319 | @grid-float-breakpoint: @screen-sm-min; |
|
322 | 320 | //** Point at which the navbar begins collapsing. |
|
323 | 321 | @grid-float-breakpoint-max: (@grid-float-breakpoint - 1); |
|
324 | 322 | |
|
325 | 323 | |
|
326 | 324 | //== Container sizes |
|
327 | 325 | // |
|
328 | 326 | //## Define the maximum width of `.container` for different screen sizes. |
|
329 | 327 | |
|
330 | 328 | // Small screen / tablet |
|
331 | 329 | @container-tablet: (720px + @grid-gutter-width); |
|
332 | 330 | //** For `@screen-sm-min` and up. |
|
333 | 331 | @container-sm: @container-tablet; |
|
334 | 332 | |
|
335 | 333 | // Medium screen / desktop |
|
336 | 334 | @container-desktop: (940px + @grid-gutter-width); |
|
337 | 335 | //** For `@screen-md-min` and up. |
|
338 | 336 | @container-md: @container-desktop; |
|
339 | 337 | |
|
340 | 338 | // Large screen / wide desktop |
|
341 | 339 | @container-large-desktop: (1140px + @grid-gutter-width); |
|
342 | 340 | //** For `@screen-lg-min` and up. |
|
343 | 341 | @container-lg: @container-large-desktop; |
|
344 | 342 | |
|
345 | 343 | |
|
346 | 344 | //== Navbar |
|
347 | 345 | // |
|
348 | 346 | //## |
|
349 | 347 | |
|
350 | 348 | // Basics of a navbar |
|
351 | 349 | @navbar-height: 50px; |
|
352 | 350 | @navbar-margin-bottom: @line-height-computed; |
|
353 | 351 | @navbar-border-radius: @border-radius-base; |
|
354 | 352 | @navbar-padding-horizontal: floor((@grid-gutter-width / 2)); |
|
355 | 353 | @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); |
|
356 | 354 | @navbar-collapse-max-height: 340px; |
|
357 | 355 | |
|
358 | 356 | @navbar-default-color: #777; |
|
359 | 357 | @navbar-default-bg: #f8f8f8; |
|
360 | 358 | @navbar-default-border: darken(@navbar-default-bg, 6.5%); |
|
361 | 359 | |
|
362 | 360 | // Navbar links |
|
363 | 361 | @navbar-default-link-color: #777; |
|
364 | 362 | @navbar-default-link-hover-color: #333; |
|
365 | 363 | @navbar-default-link-hover-bg: transparent; |
|
366 | 364 | @navbar-default-link-active-color: #555; |
|
367 | 365 | @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); |
|
368 | 366 | @navbar-default-link-disabled-color: #ccc; |
|
369 | 367 | @navbar-default-link-disabled-bg: transparent; |
|
370 | 368 | |
|
371 | 369 | // Navbar brand label |
|
372 | 370 | @navbar-default-brand-color: @navbar-default-link-color; |
|
373 | 371 | @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%); |
|
374 | 372 | @navbar-default-brand-hover-bg: transparent; |
|
375 | 373 | |
|
376 | 374 | // Navbar toggle |
|
377 | 375 | @navbar-default-toggle-hover-bg: #ddd; |
|
378 | 376 | @navbar-default-toggle-icon-bar-bg: #888; |
|
379 | 377 | @navbar-default-toggle-border-color: #ddd; |
|
380 | 378 | |
|
381 | 379 | |
|
382 | 380 | // Inverted navbar |
|
383 | 381 | // Reset inverted navbar basics |
|
384 | 382 | @navbar-inverse-color: lighten(@gray-light, 15%); |
|
385 | 383 | @navbar-inverse-bg: #222; |
|
386 | 384 | @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); |
|
387 | 385 | |
|
388 | 386 | // Inverted navbar links |
|
389 | 387 | @navbar-inverse-link-color: lighten(@gray-light, 15%); |
|
390 | 388 | @navbar-inverse-link-hover-color: #fff; |
|
391 | 389 | @navbar-inverse-link-hover-bg: transparent; |
|
392 | 390 | @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; |
|
393 | 391 | @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); |
|
394 | 392 | @navbar-inverse-link-disabled-color: #444; |
|
395 | 393 | @navbar-inverse-link-disabled-bg: transparent; |
|
396 | 394 | |
|
397 | 395 | // Inverted navbar brand label |
|
398 | 396 | @navbar-inverse-brand-color: @navbar-inverse-link-color; |
|
399 | 397 | @navbar-inverse-brand-hover-color: #fff; |
|
400 | 398 | @navbar-inverse-brand-hover-bg: transparent; |
|
401 | 399 | |
|
402 | 400 | // Inverted navbar toggle |
|
403 | 401 | @navbar-inverse-toggle-hover-bg: #333; |
|
404 | 402 | @navbar-inverse-toggle-icon-bar-bg: #fff; |
|
405 | 403 | @navbar-inverse-toggle-border-color: #333; |
|
406 | 404 | |
|
407 | 405 | |
|
408 | 406 | //== Navs |
|
409 | 407 | // |
|
410 | 408 | //## |
|
411 | 409 | |
|
412 | 410 | //=== Shared nav styles |
|
413 | 411 | @nav-link-padding: 10px 15px; |
|
414 | 412 | @nav-link-hover-bg: @gray-lighter; |
|
415 | 413 | |
|
416 | 414 | @nav-disabled-link-color: @gray-light; |
|
417 | 415 | @nav-disabled-link-hover-color: @gray-light; |
|
418 | 416 | |
|
419 | 417 | //== Tabs |
|
420 | 418 | @nav-tabs-border-color: #ddd; |
|
421 | 419 | |
|
422 | 420 | @nav-tabs-link-hover-border-color: @gray-lighter; |
|
423 | 421 | |
|
424 | 422 | @nav-tabs-active-link-hover-bg: @body-bg; |
|
425 | 423 | @nav-tabs-active-link-hover-color: @gray; |
|
426 | 424 | @nav-tabs-active-link-hover-border-color: #ddd; |
|
427 | 425 | |
|
428 | 426 | @nav-tabs-justified-link-border-color: #ddd; |
|
429 | 427 | @nav-tabs-justified-active-link-border-color: @body-bg; |
|
430 | 428 | |
|
431 | 429 | //== Pills |
|
432 | 430 | @nav-pills-border-radius: @border-radius-base; |
|
433 | 431 | @nav-pills-active-link-hover-bg: @component-active-bg; |
|
434 | 432 | @nav-pills-active-link-hover-color: @component-active-color; |
|
435 | 433 | |
|
436 | 434 | |
|
437 | 435 | //== Pagination |
|
438 | 436 | // |
|
439 | 437 | //## |
|
440 | 438 | |
|
441 | 439 | @pagination-color: @link-color; |
|
442 | 440 | @pagination-bg: #fff; |
|
443 | 441 | @pagination-border: #ddd; |
|
444 | 442 | |
|
445 | 443 | @pagination-hover-color: @link-hover-color; |
|
446 | 444 | @pagination-hover-bg: @gray-lighter; |
|
447 | 445 | @pagination-hover-border: #ddd; |
|
448 | 446 | |
|
449 | 447 | @pagination-active-color: #fff; |
|
450 | 448 | @pagination-active-bg: @brand-primary; |
|
451 | 449 | @pagination-active-border: @brand-primary; |
|
452 | 450 | |
|
453 | 451 | @pagination-disabled-color: @gray-light; |
|
454 | 452 | @pagination-disabled-bg: #fff; |
|
455 | 453 | @pagination-disabled-border: #ddd; |
|
456 | 454 | |
|
457 | 455 | |
|
458 | 456 | //== Pager |
|
459 | 457 | // |
|
460 | 458 | //## |
|
461 | 459 | |
|
462 | 460 | @pager-bg: @pagination-bg; |
|
463 | 461 | @pager-border: @pagination-border; |
|
464 | 462 | @pager-border-radius: 15px; |
|
465 | 463 | |
|
466 | 464 | @pager-hover-bg: @pagination-hover-bg; |
|
467 | 465 | |
|
468 | 466 | @pager-active-bg: @pagination-active-bg; |
|
469 | 467 | @pager-active-color: @pagination-active-color; |
|
470 | 468 | |
|
471 | 469 | @pager-disabled-color: @pagination-disabled-color; |
|
472 | 470 | |
|
473 | 471 | |
|
474 | 472 | //== Jumbotron |
|
475 | 473 | // |
|
476 | 474 | //## |
|
477 | 475 | |
|
478 | 476 | @jumbotron-padding: 30px; |
|
479 | 477 | @jumbotron-color: inherit; |
|
480 | 478 | @jumbotron-bg: @gray-lighter; |
|
481 | 479 | @jumbotron-heading-color: inherit; |
|
482 | 480 | @jumbotron-font-size: ceil((@font-size-base * 1.5)); |
|
483 | 481 | |
|
484 | 482 | |
|
485 | 483 | //== Form states and alerts |
|
486 | 484 | // |
|
487 | 485 | //## Define colors for form feedback states and, by default, alerts. |
|
488 | 486 | |
|
489 | 487 | @state-success-text: #3c763d; |
|
490 | 488 | @state-success-bg: #dff0d8; |
|
491 | 489 | @state-success-border: darken(spin(@state-success-bg, -10), 5%); |
|
492 | 490 | |
|
493 | 491 | @state-info-text: #31708f; |
|
494 | 492 | @state-info-bg: #d9edf7; |
|
495 | 493 | @state-info-border: darken(spin(@state-info-bg, -10), 7%); |
|
496 | 494 | |
|
497 | 495 | @state-warning-text: #8a6d3b; |
|
498 | 496 | @state-warning-bg: #fcf8e3; |
|
499 | 497 | @state-warning-border: darken(spin(@state-warning-bg, -10), 5%); |
|
500 | 498 | |
|
501 | 499 | @state-danger-text: #a94442; |
|
502 | 500 | @state-danger-bg: #f2dede; |
|
503 | 501 | @state-danger-border: darken(spin(@state-danger-bg, -10), 5%); |
|
504 | 502 | |
|
505 | 503 | |
|
506 | 504 | //== Tooltips |
|
507 | 505 | // |
|
508 | 506 | //## |
|
509 | 507 | |
|
510 | 508 | //** Tooltip max width |
|
511 | 509 | @tooltip-max-width: 200px; |
|
512 | 510 | //** Tooltip text color |
|
513 | 511 | @tooltip-color: #fff; |
|
514 | 512 | //** Tooltip background color |
|
515 | 513 | @tooltip-bg: #000; |
|
516 | 514 | @tooltip-opacity: .9; |
|
517 | 515 | |
|
518 | 516 | //** Tooltip arrow width |
|
519 | 517 | @tooltip-arrow-width: 5px; |
|
520 | 518 | //** Tooltip arrow color |
|
521 | 519 | @tooltip-arrow-color: @tooltip-bg; |
|
522 | 520 | |
|
523 | 521 | |
|
524 | 522 | //== Popovers |
|
525 | 523 | // |
|
526 | 524 | //## |
|
527 | 525 | |
|
528 | 526 | //** Popover body background color |
|
529 | 527 | @popover-bg: #fff; |
|
530 | 528 | //** Popover maximum width |
|
531 | 529 | @popover-max-width: 276px; |
|
532 | 530 | //** Popover border color |
|
533 | 531 | @popover-border-color: rgba(0,0,0,.2); |
|
534 | 532 | //** Popover fallback border color |
|
535 | 533 | @popover-fallback-border-color: #ccc; |
|
536 | 534 | |
|
537 | 535 | //** Popover title background color |
|
538 | 536 | @popover-title-bg: darken(@popover-bg, 3%); |
|
539 | 537 | |
|
540 | 538 | //** Popover arrow width |
|
541 | 539 | @popover-arrow-width: 10px; |
|
542 | 540 | //** Popover arrow color |
|
543 | 541 | @popover-arrow-color: @popover-bg; |
|
544 | 542 | |
|
545 | 543 | //** Popover outer arrow width |
|
546 | 544 | @popover-arrow-outer-width: (@popover-arrow-width + 1); |
|
547 | 545 | //** Popover outer arrow color |
|
548 | 546 | @popover-arrow-outer-color: fadein(@popover-border-color, 5%); |
|
549 | 547 | //** Popover outer arrow fallback color |
|
550 | 548 | @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%); |
|
551 | 549 | |
|
552 | 550 | |
|
553 | 551 | //== Labels |
|
554 | 552 | // |
|
555 | 553 | //## |
|
556 | 554 | |
|
557 | 555 | //** Default label background color |
|
558 | 556 | @label-default-bg: @gray-light; |
|
559 | 557 | //** Primary label background color |
|
560 | 558 | @label-primary-bg: @brand-primary; |
|
561 | 559 | //** Success label background color |
|
562 | 560 | @label-success-bg: @brand-success; |
|
563 | 561 | //** Info label background color |
|
564 | 562 | @label-info-bg: @brand-info; |
|
565 | 563 | //** Warning label background color |
|
566 | 564 | @label-warning-bg: @brand-warning; |
|
567 | 565 | //** Danger label background color |
|
568 | 566 | @label-danger-bg: @brand-danger; |
|
569 | 567 | |
|
570 | 568 | //** Default label text color |
|
571 | 569 | @label-color: #fff; |
|
572 | 570 | //** Default text color of a linked label |
|
573 | 571 | @label-link-hover-color: #fff; |
|
574 | 572 | |
|
575 | 573 | |
|
576 | 574 | //== Modals |
|
577 | 575 | // |
|
578 | 576 | //## |
|
579 | 577 | |
|
580 | 578 | //** Padding applied to the modal body |
|
581 | 579 | @modal-inner-padding: 15px; |
|
582 | 580 | |
|
583 | 581 | //** Padding applied to the modal title |
|
584 | 582 | @modal-title-padding: 15px; |
|
585 | 583 | //** Modal title line-height |
|
586 | 584 | @modal-title-line-height: @line-height-base; |
|
587 | 585 | |
|
588 | 586 | //** Background color of modal content area |
|
589 | 587 | @modal-content-bg: #fff; |
|
590 | 588 | //** Modal content border color |
|
591 | 589 | @modal-content-border-color: rgba(0,0,0,.2); |
|
592 | 590 | //** Modal content border color **for IE8** |
|
593 | 591 | @modal-content-fallback-border-color: #999; |
|
594 | 592 | |
|
595 | 593 | //** Modal backdrop background color |
|
596 | 594 | @modal-backdrop-bg: #000; |
|
597 | 595 | //** Modal backdrop opacity |
|
598 | 596 | @modal-backdrop-opacity: .5; |
|
599 | 597 | //** Modal header border color |
|
600 | 598 | @modal-header-border-color: #e5e5e5; |
|
601 | 599 | //** Modal footer border color |
|
602 | 600 | @modal-footer-border-color: @modal-header-border-color; |
|
603 | 601 | |
|
604 | 602 | @modal-lg: 900px; |
|
605 | 603 | @modal-md: 600px; |
|
606 | 604 | @modal-sm: 300px; |
|
607 | 605 | |
|
608 | 606 | |
|
609 | 607 | //== Alerts |
|
610 | 608 | // |
|
611 | 609 | //## Define alert colors, border radius, and padding. |
|
612 | 610 | |
|
613 | 611 | @alert-padding: 15px; |
|
614 | 612 | @alert-border-radius: @border-radius-base; |
|
615 | 613 | @alert-link-font-weight: bold; |
|
616 | 614 | |
|
617 | 615 | @alert-success-bg: @state-success-bg; |
|
618 | 616 | @alert-success-text: @state-success-text; |
|
619 | 617 | @alert-success-border: @state-success-border; |
|
620 | 618 | |
|
621 | 619 | @alert-info-bg: @state-info-bg; |
|
622 | 620 | @alert-info-text: @state-info-text; |
|
623 | 621 | @alert-info-border: @state-info-border; |
|
624 | 622 | |
|
625 | 623 | @alert-warning-bg: @state-warning-bg; |
|
626 | 624 | @alert-warning-text: @state-warning-text; |
|
627 | 625 | @alert-warning-border: @state-warning-border; |
|
628 | 626 | |
|
629 | 627 | @alert-danger-bg: @state-danger-bg; |
|
630 | 628 | @alert-danger-text: @state-danger-text; |
|
631 | 629 | @alert-danger-border: @state-danger-border; |
|
632 | 630 | |
|
633 | 631 | |
|
634 | 632 | //== Progress bars |
|
635 | 633 | // |
|
636 | 634 | //## |
|
637 | 635 | |
|
638 | 636 | //** Background color of the whole progress component |
|
639 | 637 | @progress-bg: #f5f5f5; |
|
640 | 638 | //** Progress bar text color |
|
641 | 639 | @progress-bar-color: #fff; |
|
642 | 640 | //** Variable for setting rounded corners on progress bar. |
|
643 | 641 | @progress-border-radius: @border-radius-base; |
|
644 | 642 | |
|
645 | 643 | //** Default progress bar color |
|
646 | 644 | @progress-bar-bg: @brand-primary; |
|
647 | 645 | //** Success progress bar color |
|
648 | 646 | @progress-bar-success-bg: @brand-success; |
|
649 | 647 | //** Warning progress bar color |
|
650 | 648 | @progress-bar-warning-bg: @brand-warning; |
|
651 | 649 | //** Danger progress bar color |
|
652 | 650 | @progress-bar-danger-bg: @brand-danger; |
|
653 | 651 | //** Info progress bar color |
|
654 | 652 | @progress-bar-info-bg: @brand-info; |
|
655 | 653 | |
|
656 | 654 | |
|
657 | 655 | //== List group |
|
658 | 656 | // |
|
659 | 657 | //## |
|
660 | 658 | |
|
661 | 659 | //** Background color on `.list-group-item` |
|
662 | 660 | @list-group-bg: #fff; |
|
663 | 661 | //** `.list-group-item` border color |
|
664 | 662 | @list-group-border: #ddd; |
|
665 | 663 | //** List group border radius |
|
666 | 664 | @list-group-border-radius: @border-radius-base; |
|
667 | 665 | |
|
668 | 666 | //** Background color of single list items on hover |
|
669 | 667 | @list-group-hover-bg: #f5f5f5; |
|
670 | 668 | //** Text color of active list items |
|
671 | 669 | @list-group-active-color: @component-active-color; |
|
672 | 670 | //** Background color of active list items |
|
673 | 671 | @list-group-active-bg: @component-active-bg; |
|
674 | 672 | //** Border color of active list elements |
|
675 | 673 | @list-group-active-border: @list-group-active-bg; |
|
676 | 674 | //** Text color for content within active list items |
|
677 | 675 | @list-group-active-text-color: lighten(@list-group-active-bg, 40%); |
|
678 | 676 | |
|
679 | 677 | //** Text color of disabled list items |
|
680 | 678 | @list-group-disabled-color: @gray-light; |
|
681 | 679 | //** Background color of disabled list items |
|
682 | 680 | @list-group-disabled-bg: @gray-lighter; |
|
683 | 681 | //** Text color for content within disabled list items |
|
684 | 682 | @list-group-disabled-text-color: @list-group-disabled-color; |
|
685 | 683 | |
|
686 | 684 | @list-group-link-color: #555; |
|
687 | 685 | @list-group-link-hover-color: @list-group-link-color; |
|
688 | 686 | @list-group-link-heading-color: #333; |
|
689 | 687 | |
|
690 | 688 | |
|
691 | 689 | //== Panels |
|
692 | 690 | // |
|
693 | 691 | //## |
|
694 | 692 | |
|
695 | 693 | @panel-bg: #fff; |
|
696 | 694 | @panel-body-padding: @padding; |
|
697 | 695 | @panel-heading-padding: 10px 15px; |
|
698 | 696 | @panel-footer-padding: @panel-heading-padding; |
|
699 | 697 | @panel-border-radius: @border-radius-base; |
|
700 | 698 | |
|
701 | 699 | //** Border color for elements within panels |
|
702 | 700 | @panel-inner-border: #ddd; |
|
703 | 701 | @panel-footer-bg: #fff; |
|
704 | 702 | |
|
705 | 703 | @panel-default-text: @text-color; |
|
706 | 704 | @panel-default-border: @grey5; |
|
707 | 705 | @panel-default-heading-bg: @grey6; |
|
708 | 706 | |
|
709 | 707 | @panel-primary-text: #fff; |
|
710 | 708 | @panel-primary-border: @brand-primary; |
|
711 | 709 | @panel-primary-heading-bg: @brand-primary; |
|
712 | 710 | |
|
713 | 711 | @panel-success-text: @state-success-text; |
|
714 | 712 | @panel-success-border: @state-success-border; |
|
715 | 713 | @panel-success-heading-bg: @state-success-bg; |
|
716 | 714 | |
|
717 | 715 | @panel-info-text: @state-info-text; |
|
718 | 716 | @panel-info-border: @state-info-border; |
|
719 | 717 | @panel-info-heading-bg: @state-info-bg; |
|
720 | 718 | |
|
721 | 719 | @panel-warning-text: @state-warning-text; |
|
722 | 720 | @panel-warning-border: @state-warning-border; |
|
723 | 721 | @panel-warning-heading-bg: @state-warning-bg; |
|
724 | 722 | |
|
725 | 723 | @panel-danger-text: @state-danger-text; |
|
726 | 724 | @panel-danger-border: @state-danger-border; |
|
727 | 725 | @panel-danger-heading-bg: @state-danger-bg; |
|
728 | 726 | |
|
729 | 727 | |
|
730 | 728 | //== Thumbnails |
|
731 | 729 | // |
|
732 | 730 | //## |
|
733 | 731 | |
|
734 | 732 | //** Padding around the thumbnail image |
|
735 | 733 | @thumbnail-padding: 4px; |
|
736 | 734 | //** Thumbnail background color |
|
737 | 735 | @thumbnail-bg: @body-bg; |
|
738 | 736 | //** Thumbnail border color |
|
739 | 737 | @thumbnail-border: #ddd; |
|
740 | 738 | //** Thumbnail border radius |
|
741 | 739 | @thumbnail-border-radius: @border-radius-base; |
|
742 | 740 | |
|
743 | 741 | //** Custom text color for thumbnail captions |
|
744 | 742 | @thumbnail-caption-color: @text-color; |
|
745 | 743 | //** Padding around the thumbnail caption |
|
746 | 744 | @thumbnail-caption-padding: 9px; |
|
747 | 745 | |
|
748 | 746 | |
|
749 | 747 | //== Wells |
|
750 | 748 | // |
|
751 | 749 | //## |
|
752 | 750 | |
|
753 | 751 | @well-bg: #f5f5f5; |
|
754 | 752 | @well-border: darken(@well-bg, 7%); |
|
755 | 753 | |
|
756 | 754 | |
|
757 | 755 | //== Badges |
|
758 | 756 | // |
|
759 | 757 | //## |
|
760 | 758 | |
|
761 | 759 | @badge-color: #fff; |
|
762 | 760 | //** Linked badge text color on hover |
|
763 | 761 | @badge-link-hover-color: #fff; |
|
764 | 762 | @badge-bg: @gray-light; |
|
765 | 763 | |
|
766 | 764 | //** Badge text color in active nav link |
|
767 | 765 | @badge-active-color: @link-color; |
|
768 | 766 | //** Badge background color in active nav link |
|
769 | 767 | @badge-active-bg: #fff; |
|
770 | 768 | |
|
771 | 769 | @badge-font-weight: bold; |
|
772 | 770 | @badge-line-height: 1; |
|
773 | 771 | @badge-border-radius: 10px; |
|
774 | 772 | |
|
775 | 773 | |
|
776 | 774 | //== Breadcrumbs |
|
777 | 775 | // |
|
778 | 776 | //## |
|
779 | 777 | |
|
780 | 778 | @breadcrumb-padding-vertical: 8px; |
|
781 | 779 | @breadcrumb-padding-horizontal: 15px; |
|
782 | 780 | //** Breadcrumb background color |
|
783 | 781 | @breadcrumb-bg: #f5f5f5; |
|
784 | 782 | //** Breadcrumb text color |
|
785 | 783 | @breadcrumb-color: #ccc; |
|
786 | 784 | //** Text color of current page in the breadcrumb |
|
787 | 785 | @breadcrumb-active-color: @gray-light; |
|
788 | 786 | //** Textual separator for between breadcrumb elements |
|
789 | 787 | @breadcrumb-separator: "/"; |
|
790 | 788 | |
|
791 | 789 | |
|
792 | 790 | //== Carousel |
|
793 | 791 | // |
|
794 | 792 | //## |
|
795 | 793 | |
|
796 | 794 | @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); |
|
797 | 795 | |
|
798 | 796 | @carousel-control-color: #fff; |
|
799 | 797 | @carousel-control-width: 15%; |
|
800 | 798 | @carousel-control-opacity: .5; |
|
801 | 799 | @carousel-control-font-size: 20px; |
|
802 | 800 | |
|
803 | 801 | @carousel-indicator-active-bg: #fff; |
|
804 | 802 | @carousel-indicator-border-color: #fff; |
|
805 | 803 | |
|
806 | 804 | @carousel-caption-color: #fff; |
|
807 | 805 | |
|
808 | 806 | |
|
809 | 807 | //== Close |
|
810 | 808 | // |
|
811 | 809 | //## |
|
812 | 810 | |
|
813 | 811 | @close-font-weight: bold; |
|
814 | 812 | @close-color: #000; |
|
815 | 813 | @close-text-shadow: 0 1px 0 #fff; |
|
816 | 814 | |
|
817 | 815 | |
|
818 | 816 | //== Code |
|
819 | 817 | // |
|
820 | 818 | //## |
|
821 | 819 | |
|
822 | 820 | @code-color: #c7254e; |
|
823 | 821 | @code-bg: #f9f2f4; |
|
824 | 822 | |
|
825 | 823 | @kbd-color: #fff; |
|
826 | 824 | @kbd-bg: #333; |
|
827 | 825 | |
|
828 | 826 | @pre-bg: #f5f5f5; |
|
829 | 827 | @pre-color: @gray-dark; |
|
830 | 828 | @pre-border-color: #ccc; |
|
831 | 829 | @pre-scrollable-max-height: 340px; |
|
832 | 830 | |
|
833 | 831 | |
|
834 | 832 | //== Type |
|
835 | 833 | // |
|
836 | 834 | //## |
|
837 | 835 | |
|
838 | 836 | //** Horizontal offset for forms and lists. |
|
839 | 837 | @component-offset-horizontal: 180px; |
|
840 | 838 | //** Text muted color |
|
841 | 839 | @text-muted: @grey4; |
|
842 | 840 | //** Abbreviations and acronyms border color |
|
843 | 841 | @abbr-border-color: @gray-light; |
|
844 | 842 | //** Headings small color |
|
845 | 843 | @headings-small-color: @gray-light; |
|
846 | 844 | //** Blockquote small color |
|
847 | 845 | @blockquote-small-color: @gray-light; |
|
848 | 846 | //** Blockquote font size |
|
849 | 847 | @blockquote-font-size: (@font-size-base * 1.25); |
|
850 | 848 | //** Blockquote border color |
|
851 | 849 | @blockquote-border-color: @gray-lighter; |
|
852 | 850 | //** Page header border color |
|
853 | 851 | @page-header-border-color: @gray-lighter; |
|
854 | 852 | //** Width of horizontal description list titles |
|
855 | 853 | @dl-horizontal-offset: @component-offset-horizontal; |
|
856 | 854 | //** Horizontal line color. |
|
857 | 855 | @hr-border: @gray-lighter; |
@@ -1,1247 +1,1247 b'' | |||
|
1 | 1 | // Default styles |
|
2 | 2 | |
|
3 | 3 | .diff-collapse { |
|
4 | 4 | margin: @padding 0; |
|
5 | 5 | text-align: right; |
|
6 | 6 | } |
|
7 | 7 | |
|
8 | 8 | .diff-container { |
|
9 | 9 | margin-bottom: @space; |
|
10 | 10 | |
|
11 | 11 | .diffblock { |
|
12 | 12 | margin-bottom: @space; |
|
13 | 13 | } |
|
14 | 14 | |
|
15 | 15 | &.hidden { |
|
16 | 16 | display: none; |
|
17 | 17 | overflow: hidden; |
|
18 | 18 | } |
|
19 | 19 | } |
|
20 | 20 | |
|
21 | 21 | |
|
22 | 22 | div.diffblock .sidebyside { |
|
23 | 23 | background: #ffffff; |
|
24 | 24 | } |
|
25 | 25 | |
|
26 | 26 | div.diffblock { |
|
27 | 27 | overflow-x: auto; |
|
28 | 28 | overflow-y: hidden; |
|
29 | 29 | clear: both; |
|
30 | 30 | padding: 0px; |
|
31 | 31 | background: @grey6; |
|
32 | 32 | border: @border-thickness solid @grey5; |
|
33 | 33 | -webkit-border-radius: @border-radius @border-radius 0px 0px; |
|
34 | 34 | border-radius: @border-radius @border-radius 0px 0px; |
|
35 | 35 | |
|
36 | 36 | |
|
37 | 37 | .comments-number { |
|
38 | 38 | float: right; |
|
39 | 39 | } |
|
40 | 40 | |
|
41 | 41 | // BEGIN CODE-HEADER STYLES |
|
42 | 42 | |
|
43 | 43 | .code-header { |
|
44 | 44 | background: @grey6; |
|
45 | 45 | padding: 10px 0 10px 0; |
|
46 | 46 | height: auto; |
|
47 | 47 | width: 100%; |
|
48 | 48 | |
|
49 | 49 | .hash { |
|
50 | 50 | float: left; |
|
51 | 51 | padding: 2px 0 0 2px; |
|
52 | 52 | } |
|
53 | 53 | |
|
54 | 54 | .date { |
|
55 | 55 | float: left; |
|
56 | 56 | text-transform: uppercase; |
|
57 | 57 | padding: 4px 0px 0px 2px; |
|
58 | 58 | } |
|
59 | 59 | |
|
60 | 60 | div { |
|
61 | 61 | margin-left: 4px; |
|
62 | 62 | } |
|
63 | 63 | |
|
64 | 64 | div.compare_header { |
|
65 | 65 | min-height: 40px; |
|
66 | 66 | margin: 0; |
|
67 | 67 | padding: 0 @padding; |
|
68 | 68 | |
|
69 | 69 | .drop-menu { |
|
70 | 70 | float:left; |
|
71 | 71 | display: block; |
|
72 | 72 | margin:0 0 @padding 0; |
|
73 | 73 | } |
|
74 | 74 | |
|
75 | 75 | .compare-label { |
|
76 | 76 | float: left; |
|
77 | 77 | clear: both; |
|
78 | 78 | display: inline-block; |
|
79 | 79 | min-width: 5em; |
|
80 | 80 | margin: 0; |
|
81 | 81 | padding: @button-padding @button-padding @button-padding 0; |
|
82 | 82 | font-family: @text-semibold; |
|
83 | 83 | } |
|
84 | 84 | |
|
85 | 85 | .compare-buttons { |
|
86 | 86 | float: left; |
|
87 | 87 | margin: 0; |
|
88 | 88 | padding: 0 0 @padding; |
|
89 | 89 | |
|
90 | 90 | .btn { |
|
91 | 91 | margin: 0 @padding 0 0; |
|
92 | 92 | } |
|
93 | 93 | } |
|
94 | 94 | } |
|
95 | 95 | |
|
96 | 96 | } |
|
97 | 97 | |
|
98 | 98 | .parents { |
|
99 | 99 | float: left; |
|
100 | 100 | width: 100px; |
|
101 | 101 | font-weight: 400; |
|
102 | 102 | vertical-align: middle; |
|
103 | 103 | padding: 0px 2px 0px 2px; |
|
104 | 104 | background-color: @grey6; |
|
105 | 105 | |
|
106 | 106 | #parent_link { |
|
107 | 107 | margin: 00px 2px; |
|
108 | 108 | |
|
109 | 109 | &.double { |
|
110 | 110 | margin: 0px 2px; |
|
111 | 111 | } |
|
112 | 112 | |
|
113 | 113 | &.disabled{ |
|
114 | 114 | margin-right: @padding; |
|
115 | 115 | } |
|
116 | 116 | } |
|
117 | 117 | } |
|
118 | 118 | |
|
119 | 119 | .children { |
|
120 | 120 | float: right; |
|
121 | 121 | width: 100px; |
|
122 | 122 | font-weight: 400; |
|
123 | 123 | vertical-align: middle; |
|
124 | 124 | text-align: right; |
|
125 | 125 | padding: 0px 2px 0px 2px; |
|
126 | 126 | background-color: @grey6; |
|
127 | 127 | |
|
128 | 128 | #child_link { |
|
129 | 129 | margin: 0px 2px; |
|
130 | 130 | |
|
131 | 131 | &.double { |
|
132 | 132 | margin: 0px 2px; |
|
133 | 133 | } |
|
134 | 134 | |
|
135 | 135 | &.disabled{ |
|
136 | 136 | margin-right: @padding; |
|
137 | 137 | } |
|
138 | 138 | } |
|
139 | 139 | } |
|
140 | 140 | |
|
141 | 141 | .changeset_header { |
|
142 | 142 | height: 16px; |
|
143 | 143 | |
|
144 | 144 | & > div{ |
|
145 | 145 | margin-right: @padding; |
|
146 | 146 | } |
|
147 | 147 | } |
|
148 | 148 | |
|
149 | 149 | .changeset_file { |
|
150 | 150 | text-align: left; |
|
151 | 151 | float: left; |
|
152 | 152 | padding: 0; |
|
153 | 153 | |
|
154 | 154 | a{ |
|
155 | 155 | display: inline-block; |
|
156 | 156 | margin-right: 0.5em; |
|
157 | 157 | } |
|
158 | 158 | |
|
159 | 159 | #selected_mode{ |
|
160 | 160 | margin-left: 0; |
|
161 | 161 | } |
|
162 | 162 | } |
|
163 | 163 | |
|
164 | 164 | .diff-menu-wrapper { |
|
165 | 165 | float: left; |
|
166 | 166 | } |
|
167 | 167 | |
|
168 | 168 | .diff-menu { |
|
169 | 169 | position: absolute; |
|
170 | 170 | background: none repeat scroll 0 0 #FFFFFF; |
|
171 | 171 | border-color: #003367 @grey3 @grey3; |
|
172 | 172 | border-right: 1px solid @grey3; |
|
173 | 173 | border-style: solid solid solid; |
|
174 | 174 | border-width: @border-thickness; |
|
175 | 175 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
176 | 176 | margin-top: 5px; |
|
177 | 177 | margin-left: 1px; |
|
178 | 178 | } |
|
179 | 179 | |
|
180 | 180 | .diff-actions, .editor-actions { |
|
181 | 181 | float: left; |
|
182 | 182 | |
|
183 | 183 | input{ |
|
184 | 184 | margin: 0 0.5em 0 0; |
|
185 | 185 | } |
|
186 | 186 | } |
|
187 | 187 | |
|
188 | 188 | // END CODE-HEADER STYLES |
|
189 | 189 | |
|
190 | 190 | // BEGIN CODE-BODY STYLES |
|
191 | 191 | |
|
192 | 192 | .code-body { |
|
193 | 193 | padding: 0; |
|
194 | 194 | background-color: #ffffff; |
|
195 | 195 | position: relative; |
|
196 | 196 | max-width: none; |
|
197 | 197 | box-sizing: border-box; |
|
198 | 198 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
199 | 199 | // to have the intended size and to scroll. Should be simplified. |
|
200 | 200 | width: 100%; |
|
201 | 201 | overflow-x: auto; |
|
202 | 202 | } |
|
203 | 203 | |
|
204 | 204 | pre.raw { |
|
205 | 205 | background: white; |
|
206 | 206 | color: @grey1; |
|
207 | 207 | } |
|
208 | 208 | // END CODE-BODY STYLES |
|
209 | 209 | |
|
210 | 210 | } |
|
211 | 211 | |
|
212 | 212 | |
|
213 | 213 | table.code-difftable { |
|
214 | 214 | border-collapse: collapse; |
|
215 | 215 | width: 99%; |
|
216 | 216 | border-radius: 0px !important; |
|
217 | 217 | |
|
218 | 218 | td { |
|
219 | 219 | padding: 0 !important; |
|
220 | 220 | background: none !important; |
|
221 | 221 | border: 0 !important; |
|
222 | 222 | } |
|
223 | 223 | |
|
224 | 224 | .context { |
|
225 | 225 | background: none repeat scroll 0 0 #DDE7EF; |
|
226 | 226 | } |
|
227 | 227 | |
|
228 | 228 | .add { |
|
229 | 229 | background: none repeat scroll 0 0 #DDFFDD; |
|
230 | 230 | |
|
231 | 231 | ins { |
|
232 | 232 | background: none repeat scroll 0 0 #AAFFAA; |
|
233 | 233 | text-decoration: none; |
|
234 | 234 | } |
|
235 | 235 | } |
|
236 | 236 | |
|
237 | 237 | .del { |
|
238 | 238 | background: none repeat scroll 0 0 #FFDDDD; |
|
239 | 239 | |
|
240 | 240 | del { |
|
241 | 241 | background: none repeat scroll 0 0 #FFAAAA; |
|
242 | 242 | text-decoration: none; |
|
243 | 243 | } |
|
244 | 244 | } |
|
245 | 245 | |
|
246 | 246 | /** LINE NUMBERS **/ |
|
247 | 247 | .lineno { |
|
248 | 248 | padding-left: 2px !important; |
|
249 | 249 | padding-right: 2px; |
|
250 | 250 | text-align: right; |
|
251 | 251 | width: 32px; |
|
252 | 252 | -moz-user-select: none; |
|
253 | 253 | -webkit-user-select: none; |
|
254 | 254 | border-right: @border-thickness solid @grey5 !important; |
|
255 | 255 | border-left: 0px solid #CCC !important; |
|
256 | 256 | border-top: 0px solid #CCC !important; |
|
257 | 257 | border-bottom: none !important; |
|
258 | 258 | |
|
259 | 259 | a { |
|
260 | 260 | &:extend(pre); |
|
261 | 261 | text-align: right; |
|
262 | 262 | padding-right: 2px; |
|
263 | 263 | cursor: pointer; |
|
264 | 264 | display: block; |
|
265 | 265 | width: 32px; |
|
266 | 266 | } |
|
267 | 267 | } |
|
268 | 268 | |
|
269 | 269 | .context { |
|
270 | 270 | cursor: auto; |
|
271 | 271 | &:extend(pre); |
|
272 | 272 | } |
|
273 | 273 | |
|
274 | 274 | .lineno-inline { |
|
275 | 275 | background: none repeat scroll 0 0 #FFF !important; |
|
276 | 276 | padding-left: 2px; |
|
277 | 277 | padding-right: 2px; |
|
278 | 278 | text-align: right; |
|
279 | 279 | width: 30px; |
|
280 | 280 | -moz-user-select: none; |
|
281 | 281 | -webkit-user-select: none; |
|
282 | 282 | } |
|
283 | 283 | |
|
284 | 284 | /** CODE **/ |
|
285 | 285 | .code { |
|
286 | 286 | display: block; |
|
287 | 287 | width: 100%; |
|
288 | 288 | |
|
289 | 289 | td { |
|
290 | 290 | margin: 0; |
|
291 | 291 | padding: 0; |
|
292 | 292 | } |
|
293 | 293 | |
|
294 | 294 | pre { |
|
295 | 295 | margin: 0; |
|
296 | 296 | padding: 0; |
|
297 | 297 | margin-left: .5em; |
|
298 | 298 | } |
|
299 | 299 | } |
|
300 | 300 | } |
|
301 | 301 | |
|
302 | 302 | |
|
303 | 303 | // Comments |
|
304 | 304 | |
|
305 | 305 | div.comment:target { |
|
306 | 306 | border-left: 6px solid @comment-highlight-color !important; |
|
307 | 307 | padding-left: 3px; |
|
308 | 308 | margin-left: -9px; |
|
309 | 309 | } |
|
310 | 310 | |
|
311 | 311 | //TODO: anderson: can't get an absolute number out of anything, so had to put the |
|
312 | 312 | //current values that might change. But to make it clear I put as a calculation |
|
313 | 313 | @comment-max-width: 1065px; |
|
314 | 314 | @pr-extra-margin: 34px; |
|
315 | 315 | @pr-border-spacing: 4px; |
|
316 | 316 | @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing; |
|
317 | 317 | |
|
318 | 318 | // Pull Request |
|
319 | 319 | .cs_files .code-difftable { |
|
320 | 320 | border: @border-thickness solid @grey5; //borders only on PRs |
|
321 | 321 | |
|
322 | 322 | .comment-inline-form, |
|
323 | 323 | div.comment { |
|
324 | 324 | width: @pr-comment-width; |
|
325 | 325 | } |
|
326 | 326 | } |
|
327 | 327 | |
|
328 | 328 | // Changeset |
|
329 | 329 | .code-difftable { |
|
330 | 330 | .comment-inline-form, |
|
331 | 331 | div.comment { |
|
332 | 332 | width: @comment-max-width; |
|
333 | 333 | } |
|
334 | 334 | } |
|
335 | 335 | |
|
336 | 336 | //Style page |
|
337 | 337 | @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding; |
|
338 | 338 | #style-page .code-difftable{ |
|
339 | 339 | .comment-inline-form, |
|
340 | 340 | div.comment { |
|
341 | 341 | width: @comment-max-width - @style-extra-margin; |
|
342 | 342 | } |
|
343 | 343 | } |
|
344 | 344 | |
|
345 | 345 | #context-bar > h2 { |
|
346 | 346 | font-size: 20px; |
|
347 | 347 | } |
|
348 | 348 | |
|
349 | 349 | #context-bar > h2> a { |
|
350 | 350 | font-size: 20px; |
|
351 | 351 | } |
|
352 | 352 | // end of defaults |
|
353 | 353 | |
|
354 | 354 | .file_diff_buttons { |
|
355 | 355 | padding: 0 0 @padding; |
|
356 | 356 | |
|
357 | 357 | .drop-menu { |
|
358 | 358 | float: left; |
|
359 | 359 | margin: 0 @padding 0 0; |
|
360 | 360 | } |
|
361 | 361 | .btn { |
|
362 | 362 | margin: 0 @padding 0 0; |
|
363 | 363 | } |
|
364 | 364 | } |
|
365 | 365 | |
|
366 | 366 | .code-body.textarea.editor { |
|
367 | 367 | max-width: none; |
|
368 | 368 | padding: 15px; |
|
369 | 369 | } |
|
370 | 370 | |
|
371 | 371 | td.injected_diff{ |
|
372 | 372 | max-width: 1178px; |
|
373 | 373 | overflow-x: auto; |
|
374 | 374 | overflow-y: hidden; |
|
375 | 375 | |
|
376 | 376 | div.diff-container, |
|
377 | 377 | div.diffblock{ |
|
378 | 378 | max-width: 100%; |
|
379 | 379 | } |
|
380 | 380 | |
|
381 | 381 | div.code-body { |
|
382 | 382 | max-width: 1124px; |
|
383 | 383 | overflow-x: auto; |
|
384 | 384 | overflow-y: hidden; |
|
385 | 385 | padding: 0; |
|
386 | 386 | } |
|
387 | 387 | div.diffblock { |
|
388 | 388 | border: none; |
|
389 | 389 | } |
|
390 | 390 | |
|
391 | 391 | &.inline-form { |
|
392 | 392 | width: 99% |
|
393 | 393 | } |
|
394 | 394 | } |
|
395 | 395 | |
|
396 | 396 | |
|
397 | 397 | table.code-difftable { |
|
398 | 398 | width: 100%; |
|
399 | 399 | } |
|
400 | 400 | |
|
401 | 401 | /** PYGMENTS COLORING **/ |
|
402 | 402 | div.codeblock { |
|
403 | 403 | |
|
404 | 404 | // TODO: johbo: Added interim to get rid of the margin around |
|
405 | 405 | // Select2 widgets. This needs further cleanup. |
|
406 | 406 | margin-top: @padding; |
|
407 | 407 | |
|
408 | 408 | overflow: auto; |
|
409 | 409 | padding: 0px; |
|
410 | 410 | border: @border-thickness solid @grey5; |
|
411 | 411 | background: @grey6; |
|
412 | 412 | .border-radius(@border-radius); |
|
413 | 413 | |
|
414 | 414 | #remove_gist { |
|
415 | 415 | float: right; |
|
416 | 416 | } |
|
417 | 417 | |
|
418 | 418 | .gist_url { |
|
419 | 419 | padding: 0px 0px 10px 0px; |
|
420 | 420 | } |
|
421 | 421 | |
|
422 | 422 | .author { |
|
423 | 423 | clear: both; |
|
424 | 424 | vertical-align: middle; |
|
425 | 425 | font-family: @text-bold; |
|
426 | 426 | } |
|
427 | 427 | |
|
428 | 428 | .btn-mini { |
|
429 | 429 | float: left; |
|
430 | 430 | margin: 0 5px 0 0; |
|
431 | 431 | } |
|
432 | 432 | |
|
433 | 433 | .code-header { |
|
434 | 434 | padding: @padding; |
|
435 | 435 | border-bottom: @border-thickness solid @grey5; |
|
436 | 436 | |
|
437 | 437 | .rc-user { |
|
438 | 438 | min-width: 0; |
|
439 | 439 | margin-right: .5em; |
|
440 | 440 | } |
|
441 | 441 | |
|
442 | 442 | .stats { |
|
443 | 443 | clear: both; |
|
444 | 444 | margin: 0 0 @padding 0; |
|
445 | 445 | padding: 0; |
|
446 | 446 | .left { |
|
447 | 447 | float: left; |
|
448 | 448 | clear: left; |
|
449 | 449 | max-width: 75%; |
|
450 | 450 | margin: 0 0 @padding 0; |
|
451 | 451 | |
|
452 | 452 | &.item { |
|
453 | 453 | margin-right: @padding; |
|
454 | 454 | &.last { border-right: none; } |
|
455 | 455 | } |
|
456 | 456 | } |
|
457 | 457 | .buttons { float: right; } |
|
458 | 458 | .author { |
|
459 | 459 | height: 25px; margin-left: 15px; font-weight: bold; |
|
460 | 460 | } |
|
461 | 461 | } |
|
462 | 462 | |
|
463 | 463 | .commit { |
|
464 | 464 | margin: 5px 0 0 26px; |
|
465 | 465 | font-weight: normal; |
|
466 | 466 | white-space: pre-wrap; |
|
467 | 467 | } |
|
468 | 468 | } |
|
469 | 469 | |
|
470 | 470 | .message { |
|
471 | 471 | position: relative; |
|
472 | 472 | margin: @padding; |
|
473 | 473 | |
|
474 | 474 | .codeblock-label { |
|
475 | 475 | margin: 0 0 1em 0; |
|
476 | 476 | } |
|
477 | 477 | } |
|
478 | 478 | |
|
479 | 479 | .code-body { |
|
480 | 480 | padding: @padding; |
|
481 | 481 | background-color: #ffffff; |
|
482 | 482 | min-width: 100%; |
|
483 | 483 | box-sizing: border-box; |
|
484 | 484 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
485 | 485 | // to have the intended size and to scroll. Should be simplified. |
|
486 | 486 | width: 100%; |
|
487 | 487 | overflow-x: auto; |
|
488 | 488 | |
|
489 | 489 | img.rendered-binary { |
|
490 | 490 | height: auto; |
|
491 | 491 | width: 100%; |
|
492 | 492 | } |
|
493 | 493 | } |
|
494 | 494 | } |
|
495 | 495 | |
|
496 | 496 | .code-highlighttable, |
|
497 | 497 | div.codeblock { |
|
498 | 498 | |
|
499 | 499 | &.readme { |
|
500 | 500 | background-color: white; |
|
501 | 501 | } |
|
502 | 502 | |
|
503 | 503 | .markdown-block table { |
|
504 | 504 | border-collapse: collapse; |
|
505 | 505 | |
|
506 | 506 | th, |
|
507 | 507 | td { |
|
508 | 508 | padding: .5em; |
|
509 | 509 | border: @border-thickness solid @border-default-color; |
|
510 | 510 | } |
|
511 | 511 | } |
|
512 | 512 | |
|
513 | 513 | table { |
|
514 | 514 | border: 0px; |
|
515 | 515 | margin: 0; |
|
516 | 516 | letter-spacing: normal; |
|
517 | 517 | |
|
518 | 518 | |
|
519 | 519 | td { |
|
520 | 520 | border: 0px; |
|
521 | 521 | vertical-align: top; |
|
522 | 522 | } |
|
523 | 523 | } |
|
524 | 524 | } |
|
525 | 525 | |
|
526 | 526 | div.codeblock .code-header .search-path { padding: 0 0 0 10px; } |
|
527 | 527 | div.search-code-body { |
|
528 | 528 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
529 | 529 | pre { |
|
530 | 530 | .match { background-color: #faffa6;} |
|
531 | 531 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
532 | 532 | } |
|
533 | 533 | .code-highlighttable { |
|
534 | 534 | border-collapse: collapse; |
|
535 | 535 | |
|
536 | 536 | tr:hover { |
|
537 | 537 | background: #fafafa; |
|
538 | 538 | } |
|
539 | 539 | td.code { |
|
540 | 540 | padding-left: 10px; |
|
541 | 541 | } |
|
542 | 542 | td.line { |
|
543 | 543 | border-right: 1px solid #ccc !important; |
|
544 | 544 | padding-right: 10px; |
|
545 | 545 | text-align: right; |
|
546 |
font-family: |
|
|
546 | font-family: @text-monospace; | |
|
547 | 547 | span { |
|
548 | 548 | white-space: pre-wrap; |
|
549 | 549 | color: #666666; |
|
550 | 550 | } |
|
551 | 551 | } |
|
552 | 552 | } |
|
553 | 553 | } |
|
554 | 554 | |
|
555 | 555 | div.annotatediv { margin-left: 2px; margin-right: 4px; } |
|
556 | 556 | .code-highlight { |
|
557 | 557 | margin: 0; padding: 0; border-left: @border-thickness solid @grey5; |
|
558 | 558 | pre, .linenodiv pre { padding: 0 5px; margin: 0; } |
|
559 | 559 | pre div:target {background-color: @comment-highlight-color !important;} |
|
560 | 560 | } |
|
561 | 561 | |
|
562 | 562 | .linenos a { text-decoration: none; } |
|
563 | 563 | |
|
564 | 564 | .CodeMirror-selected { background: @rchighlightblue; } |
|
565 | 565 | .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; } |
|
566 | 566 | .CodeMirror ::selection { background: @rchighlightblue; } |
|
567 | 567 | .CodeMirror ::-moz-selection { background: @rchighlightblue; } |
|
568 | 568 | |
|
569 | 569 | .code { display: block; border:0px !important; } |
|
570 | 570 | .code-highlight, /* TODO: dan: merge codehilite into code-highlight */ |
|
571 | 571 | .codehilite { |
|
572 | 572 | .hll { background-color: #ffffcc } |
|
573 | 573 | .c { color: #408080; font-style: italic } /* Comment */ |
|
574 | 574 | .err, .codehilite .err { border: none } /* Error */ |
|
575 | 575 | .k { color: #008000; font-weight: bold } /* Keyword */ |
|
576 | 576 | .o { color: #666666 } /* Operator */ |
|
577 | 577 | .cm { color: #408080; font-style: italic } /* Comment.Multiline */ |
|
578 | 578 | .cp { color: #BC7A00 } /* Comment.Preproc */ |
|
579 | 579 | .c1 { color: #408080; font-style: italic } /* Comment.Single */ |
|
580 | 580 | .cs { color: #408080; font-style: italic } /* Comment.Special */ |
|
581 | 581 | .gd { color: #A00000 } /* Generic.Deleted */ |
|
582 | 582 | .ge { font-style: italic } /* Generic.Emph */ |
|
583 | 583 | .gr { color: #FF0000 } /* Generic.Error */ |
|
584 | 584 | .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
|
585 | 585 | .gi { color: #00A000 } /* Generic.Inserted */ |
|
586 | 586 | .go { color: #808080 } /* Generic.Output */ |
|
587 | 587 | .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
|
588 | 588 | .gs { font-weight: bold } /* Generic.Strong */ |
|
589 | 589 | .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
|
590 | 590 | .gt { color: #0040D0 } /* Generic.Traceback */ |
|
591 | 591 | .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ |
|
592 | 592 | .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ |
|
593 | 593 | .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ |
|
594 | 594 | .kp { color: #008000 } /* Keyword.Pseudo */ |
|
595 | 595 | .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ |
|
596 | 596 | .kt { color: #B00040 } /* Keyword.Type */ |
|
597 | 597 | .m { color: #666666 } /* Literal.Number */ |
|
598 | 598 | .s { color: #BA2121 } /* Literal.String */ |
|
599 | 599 | .na { color: #7D9029 } /* Name.Attribute */ |
|
600 | 600 | .nb { color: #008000 } /* Name.Builtin */ |
|
601 | 601 | .nc { color: #0000FF; font-weight: bold } /* Name.Class */ |
|
602 | 602 | .no { color: #880000 } /* Name.Constant */ |
|
603 | 603 | .nd { color: #AA22FF } /* Name.Decorator */ |
|
604 | 604 | .ni { color: #999999; font-weight: bold } /* Name.Entity */ |
|
605 | 605 | .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ |
|
606 | 606 | .nf { color: #0000FF } /* Name.Function */ |
|
607 | 607 | .nl { color: #A0A000 } /* Name.Label */ |
|
608 | 608 | .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ |
|
609 | 609 | .nt { color: #008000; font-weight: bold } /* Name.Tag */ |
|
610 | 610 | .nv { color: #19177C } /* Name.Variable */ |
|
611 | 611 | .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ |
|
612 | 612 | .w { color: #bbbbbb } /* Text.Whitespace */ |
|
613 | 613 | .mf { color: #666666 } /* Literal.Number.Float */ |
|
614 | 614 | .mh { color: #666666 } /* Literal.Number.Hex */ |
|
615 | 615 | .mi { color: #666666 } /* Literal.Number.Integer */ |
|
616 | 616 | .mo { color: #666666 } /* Literal.Number.Oct */ |
|
617 | 617 | .sb { color: #BA2121 } /* Literal.String.Backtick */ |
|
618 | 618 | .sc { color: #BA2121 } /* Literal.String.Char */ |
|
619 | 619 | .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ |
|
620 | 620 | .s2 { color: #BA2121 } /* Literal.String.Double */ |
|
621 | 621 | .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ |
|
622 | 622 | .sh { color: #BA2121 } /* Literal.String.Heredoc */ |
|
623 | 623 | .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ |
|
624 | 624 | .sx { color: #008000 } /* Literal.String.Other */ |
|
625 | 625 | .sr { color: #BB6688 } /* Literal.String.Regex */ |
|
626 | 626 | .s1 { color: #BA2121 } /* Literal.String.Single */ |
|
627 | 627 | .ss { color: #19177C } /* Literal.String.Symbol */ |
|
628 | 628 | .bp { color: #008000 } /* Name.Builtin.Pseudo */ |
|
629 | 629 | .vc { color: #19177C } /* Name.Variable.Class */ |
|
630 | 630 | .vg { color: #19177C } /* Name.Variable.Global */ |
|
631 | 631 | .vi { color: #19177C } /* Name.Variable.Instance */ |
|
632 | 632 | .il { color: #666666 } /* Literal.Number.Integer.Long */ |
|
633 | 633 | } |
|
634 | 634 | |
|
635 | 635 | /* customized pre blocks for markdown/rst */ |
|
636 | 636 | pre.literal-block, .codehilite pre{ |
|
637 | 637 | padding: @padding; |
|
638 | 638 | border: 1px solid @grey6; |
|
639 | 639 | .border-radius(@border-radius); |
|
640 | 640 | background-color: @grey7; |
|
641 | 641 | } |
|
642 | 642 | |
|
643 | 643 | |
|
644 | 644 | /* START NEW CODE BLOCK CSS */ |
|
645 | 645 | |
|
646 | 646 | @cb-line-height: 18px; |
|
647 | 647 | @cb-line-code-padding: 10px; |
|
648 | 648 | @cb-text-padding: 5px; |
|
649 | 649 | |
|
650 | 650 | @pill-padding: 2px 7px; |
|
651 | 651 | @pill-padding-small: 2px 2px 1px 2px; |
|
652 | 652 | |
|
653 | 653 | input.filediff-collapse-state { |
|
654 | 654 | display: none; |
|
655 | 655 | |
|
656 | 656 | &:checked + .filediff { /* file diff is collapsed */ |
|
657 | 657 | .cb { |
|
658 | 658 | display: none |
|
659 | 659 | } |
|
660 | 660 | .filediff-collapse-indicator { |
|
661 | 661 | width: 0; |
|
662 | 662 | height: 0; |
|
663 | 663 | border-style: solid; |
|
664 | 664 | border-width: 4.5px 0 4.5px 9.3px; |
|
665 | 665 | border-color: transparent transparent transparent #aaa; |
|
666 | 666 | margin: 6px 0px; |
|
667 | 667 | } |
|
668 | 668 | .filediff-menu { |
|
669 | 669 | display: none; |
|
670 | 670 | } |
|
671 | 671 | |
|
672 | 672 | } |
|
673 | 673 | |
|
674 | 674 | &+ .filediff { /* file diff is expanded */ |
|
675 | 675 | .filediff-collapse-indicator { |
|
676 | 676 | width: 0; |
|
677 | 677 | height: 0; |
|
678 | 678 | border-style: solid; |
|
679 | 679 | border-width: 9.3px 4.5px 0 4.5px; |
|
680 | 680 | border-color: #aaa transparent transparent transparent; |
|
681 | 681 | margin: 6px 0px; |
|
682 | 682 | |
|
683 | 683 | } |
|
684 | 684 | .filediff-menu { |
|
685 | 685 | display: block; |
|
686 | 686 | } |
|
687 | 687 | margin: 10px 0; |
|
688 | 688 | &:nth-child(2) { |
|
689 | 689 | margin: 0; |
|
690 | 690 | } |
|
691 | 691 | } |
|
692 | 692 | } |
|
693 | 693 | |
|
694 | 694 | .filediffs .anchor { |
|
695 | 695 | display: block; |
|
696 | 696 | height: 40px; |
|
697 | 697 | margin-top: -40px; |
|
698 | 698 | visibility: hidden; |
|
699 | 699 | } |
|
700 | 700 | |
|
701 | 701 | .filediffs .anchor:nth-of-type(1) { |
|
702 | 702 | display: block; |
|
703 | 703 | height: 80px; |
|
704 | 704 | margin-top: -80px; |
|
705 | 705 | visibility: hidden; |
|
706 | 706 | } |
|
707 | 707 | |
|
708 | 708 | .cs_files { |
|
709 | 709 | clear: both; |
|
710 | 710 | } |
|
711 | 711 | |
|
712 | 712 | #diff-file-sticky{ |
|
713 | 713 | will-change: min-height; |
|
714 | 714 | } |
|
715 | 715 | |
|
716 | 716 | .sidebar__inner{ |
|
717 | 717 | transform: translate(0, 0); /* For browsers don't support translate3d. */ |
|
718 | 718 | transform: translate3d(0, 0, 0); |
|
719 | 719 | will-change: position, transform; |
|
720 | 720 | height: 70px; |
|
721 | 721 | z-index: 30; |
|
722 | 722 | background-color: #fff; |
|
723 | 723 | padding: 5px 0px; |
|
724 | 724 | } |
|
725 | 725 | |
|
726 | 726 | .sidebar__bar { |
|
727 | 727 | padding: 5px 0px 0px 0px |
|
728 | 728 | } |
|
729 | 729 | |
|
730 | 730 | .fpath-placeholder { |
|
731 | 731 | clear: both; |
|
732 | 732 | visibility: hidden |
|
733 | 733 | } |
|
734 | 734 | |
|
735 | 735 | .is-affixed { |
|
736 | 736 | .sidebar_inner_shadow { |
|
737 | 737 | position: fixed; |
|
738 | 738 | top: 75px; |
|
739 | 739 | right: -100%; |
|
740 | 740 | left: -100%; |
|
741 | 741 | z-index: 28; |
|
742 | 742 | display: block; |
|
743 | 743 | height: 5px; |
|
744 | 744 | content: ""; |
|
745 | 745 | background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0; |
|
746 | 746 | border-top: 1px solid rgba(0, 0, 0, 0.15); |
|
747 | 747 | } |
|
748 | 748 | .fpath-placeholder { |
|
749 | 749 | visibility: visible !important; |
|
750 | 750 | } |
|
751 | 751 | } |
|
752 | 752 | |
|
753 | 753 | .diffset-menu { |
|
754 | 754 | margin-bottom: 20px; |
|
755 | 755 | } |
|
756 | 756 | .diffset { |
|
757 | 757 | margin: 20px auto; |
|
758 | 758 | .diffset-heading { |
|
759 | 759 | border: 1px solid @grey5; |
|
760 | 760 | margin-bottom: -1px; |
|
761 | 761 | // margin-top: 20px; |
|
762 | 762 | h2 { |
|
763 | 763 | margin: 0; |
|
764 | 764 | line-height: 38px; |
|
765 | 765 | padding-left: 10px; |
|
766 | 766 | } |
|
767 | 767 | .btn { |
|
768 | 768 | margin: 0; |
|
769 | 769 | } |
|
770 | 770 | background: @grey6; |
|
771 | 771 | display: block; |
|
772 | 772 | padding: 5px; |
|
773 | 773 | } |
|
774 | 774 | .diffset-heading-warning { |
|
775 | 775 | background: @alert3-inner; |
|
776 | 776 | border: 1px solid @alert3; |
|
777 | 777 | } |
|
778 | 778 | &.diffset-comments-disabled { |
|
779 | 779 | .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button { |
|
780 | 780 | display: none !important; |
|
781 | 781 | } |
|
782 | 782 | } |
|
783 | 783 | } |
|
784 | 784 | |
|
785 | 785 | .filelist { |
|
786 | 786 | .pill { |
|
787 | 787 | display: block; |
|
788 | 788 | float: left; |
|
789 | 789 | padding: @pill-padding-small; |
|
790 | 790 | } |
|
791 | 791 | } |
|
792 | 792 | |
|
793 | 793 | .pill { |
|
794 | 794 | display: block; |
|
795 | 795 | float: left; |
|
796 | 796 | padding: @pill-padding; |
|
797 | 797 | } |
|
798 | 798 | |
|
799 | 799 | .pill-group { |
|
800 | 800 | .pill { |
|
801 | 801 | opacity: .8; |
|
802 | 802 | margin-right: 3px; |
|
803 | 803 | font-size: 12px; |
|
804 | 804 | font-weight: normal; |
|
805 | 805 | |
|
806 | 806 | &:first-child { |
|
807 | 807 | border-radius: @border-radius 0 0 @border-radius; |
|
808 | 808 | } |
|
809 | 809 | &:last-child { |
|
810 | 810 | border-radius: 0 @border-radius @border-radius 0; |
|
811 | 811 | } |
|
812 | 812 | &:only-child { |
|
813 | 813 | border-radius: @border-radius; |
|
814 | 814 | margin-right: 0; |
|
815 | 815 | } |
|
816 | 816 | } |
|
817 | 817 | } |
|
818 | 818 | |
|
819 | 819 | /* Main comments*/ |
|
820 | 820 | #comments { |
|
821 | 821 | .comment-selected { |
|
822 | 822 | border-left: 6px solid @comment-highlight-color; |
|
823 | 823 | padding-left: 3px; |
|
824 | 824 | margin-left: -9px; |
|
825 | 825 | } |
|
826 | 826 | } |
|
827 | 827 | |
|
828 | 828 | .filediff { |
|
829 | 829 | border: 1px solid @grey5; |
|
830 | 830 | |
|
831 | 831 | /* START OVERRIDES */ |
|
832 | 832 | .code-highlight { |
|
833 | 833 | border: none; // TODO: remove this border from the global |
|
834 | 834 | // .code-highlight, it doesn't belong there |
|
835 | 835 | } |
|
836 | 836 | label { |
|
837 | 837 | margin: 0; // TODO: remove this margin definition from global label |
|
838 | 838 | // it doesn't belong there - if margin on labels |
|
839 | 839 | // are needed for a form they should be defined |
|
840 | 840 | // in the form's class |
|
841 | 841 | } |
|
842 | 842 | /* END OVERRIDES */ |
|
843 | 843 | |
|
844 | 844 | * { |
|
845 | 845 | box-sizing: border-box; |
|
846 | 846 | } |
|
847 | 847 | .filediff-anchor { |
|
848 | 848 | visibility: hidden; |
|
849 | 849 | } |
|
850 | 850 | &:hover { |
|
851 | 851 | .filediff-anchor { |
|
852 | 852 | visibility: visible; |
|
853 | 853 | } |
|
854 | 854 | } |
|
855 | 855 | |
|
856 | 856 | .filediff-collapse-indicator { |
|
857 | 857 | border-style: solid; |
|
858 | 858 | float: left; |
|
859 | 859 | margin: 4px 0px 0 0; |
|
860 | 860 | cursor: pointer; |
|
861 | 861 | } |
|
862 | 862 | |
|
863 | 863 | .filediff-heading { |
|
864 | 864 | background: @grey7; |
|
865 | 865 | cursor: pointer; |
|
866 | 866 | display: block; |
|
867 | 867 | padding: 5px 10px; |
|
868 | 868 | } |
|
869 | 869 | .filediff-heading:after { |
|
870 | 870 | content: ""; |
|
871 | 871 | display: table; |
|
872 | 872 | clear: both; |
|
873 | 873 | } |
|
874 | 874 | .filediff-heading:hover { |
|
875 | 875 | background: #e1e9f4 !important; |
|
876 | 876 | } |
|
877 | 877 | |
|
878 | 878 | .filediff-menu { |
|
879 | 879 | float: right; |
|
880 | 880 | text-align: right; |
|
881 | 881 | padding: 5px 5px 5px 0px; |
|
882 | 882 | |
|
883 | 883 | &> a, |
|
884 | 884 | &> span { |
|
885 | 885 | padding: 1px; |
|
886 | 886 | } |
|
887 | 887 | } |
|
888 | 888 | |
|
889 | 889 | .filediff-collapse-button, .filediff-expand-button { |
|
890 | 890 | cursor: pointer; |
|
891 | 891 | } |
|
892 | 892 | .filediff-collapse-button { |
|
893 | 893 | display: inline; |
|
894 | 894 | } |
|
895 | 895 | .filediff-expand-button { |
|
896 | 896 | display: none; |
|
897 | 897 | } |
|
898 | 898 | .filediff-collapsed .filediff-collapse-button { |
|
899 | 899 | display: none; |
|
900 | 900 | } |
|
901 | 901 | .filediff-collapsed .filediff-expand-button { |
|
902 | 902 | display: inline; |
|
903 | 903 | } |
|
904 | 904 | |
|
905 | 905 | /**** COMMENTS ****/ |
|
906 | 906 | |
|
907 | 907 | .filediff-menu { |
|
908 | 908 | .show-comment-button { |
|
909 | 909 | display: none; |
|
910 | 910 | } |
|
911 | 911 | } |
|
912 | 912 | &.hide-comments { |
|
913 | 913 | .inline-comments { |
|
914 | 914 | display: none; |
|
915 | 915 | } |
|
916 | 916 | .filediff-menu { |
|
917 | 917 | .show-comment-button { |
|
918 | 918 | display: inline; |
|
919 | 919 | } |
|
920 | 920 | .hide-comment-button { |
|
921 | 921 | display: none; |
|
922 | 922 | } |
|
923 | 923 | } |
|
924 | 924 | } |
|
925 | 925 | |
|
926 | 926 | .hide-line-comments { |
|
927 | 927 | .inline-comments { |
|
928 | 928 | display: none; |
|
929 | 929 | } |
|
930 | 930 | } |
|
931 | 931 | |
|
932 | 932 | /**** END COMMENTS ****/ |
|
933 | 933 | |
|
934 | 934 | } |
|
935 | 935 | |
|
936 | 936 | |
|
937 | 937 | |
|
938 | 938 | .filediff, .filelist { |
|
939 | 939 | .pill { |
|
940 | 940 | &[op="name"] { |
|
941 | 941 | background: none; |
|
942 | 942 | opacity: 1; |
|
943 | 943 | color: white; |
|
944 | 944 | } |
|
945 | 945 | &[op="limited"] { |
|
946 | 946 | background: @grey2; |
|
947 | 947 | color: white; |
|
948 | 948 | } |
|
949 | 949 | &[op="binary"] { |
|
950 | 950 | background: @color7; |
|
951 | 951 | color: white; |
|
952 | 952 | } |
|
953 | 953 | &[op="modified"] { |
|
954 | 954 | background: @alert1; |
|
955 | 955 | color: white; |
|
956 | 956 | } |
|
957 | 957 | &[op="renamed"] { |
|
958 | 958 | background: @color4; |
|
959 | 959 | color: white; |
|
960 | 960 | } |
|
961 | 961 | &[op="copied"] { |
|
962 | 962 | background: @color4; |
|
963 | 963 | color: white; |
|
964 | 964 | } |
|
965 | 965 | &[op="mode"] { |
|
966 | 966 | background: @grey3; |
|
967 | 967 | color: white; |
|
968 | 968 | } |
|
969 | 969 | &[op="symlink"] { |
|
970 | 970 | background: @color8; |
|
971 | 971 | color: white; |
|
972 | 972 | } |
|
973 | 973 | |
|
974 | 974 | &[op="added"] { /* added lines */ |
|
975 | 975 | background: @alert1; |
|
976 | 976 | color: white; |
|
977 | 977 | } |
|
978 | 978 | &[op="deleted"] { /* deleted lines */ |
|
979 | 979 | background: @alert2; |
|
980 | 980 | color: white; |
|
981 | 981 | } |
|
982 | 982 | |
|
983 | 983 | &[op="created"] { /* created file */ |
|
984 | 984 | background: @alert1; |
|
985 | 985 | color: white; |
|
986 | 986 | } |
|
987 | 987 | &[op="removed"] { /* deleted file */ |
|
988 | 988 | background: @color5; |
|
989 | 989 | color: white; |
|
990 | 990 | } |
|
991 | 991 | } |
|
992 | 992 | } |
|
993 | 993 | |
|
994 | 994 | |
|
995 | 995 | .filediff-outdated { |
|
996 | 996 | padding: 8px 0; |
|
997 | 997 | |
|
998 | 998 | .filediff-heading { |
|
999 | 999 | opacity: .5; |
|
1000 | 1000 | } |
|
1001 | 1001 | } |
|
1002 | 1002 | |
|
1003 | 1003 | table.cb { |
|
1004 | 1004 | width: 100%; |
|
1005 | 1005 | border-collapse: collapse; |
|
1006 | 1006 | |
|
1007 | 1007 | .cb-text { |
|
1008 | 1008 | padding: @cb-text-padding; |
|
1009 | 1009 | } |
|
1010 | 1010 | .cb-hunk { |
|
1011 | 1011 | padding: @cb-text-padding; |
|
1012 | 1012 | } |
|
1013 | 1013 | .cb-expand { |
|
1014 | 1014 | display: none; |
|
1015 | 1015 | } |
|
1016 | 1016 | .cb-collapse { |
|
1017 | 1017 | display: inline; |
|
1018 | 1018 | } |
|
1019 | 1019 | &.cb-collapsed { |
|
1020 | 1020 | .cb-line { |
|
1021 | 1021 | display: none; |
|
1022 | 1022 | } |
|
1023 | 1023 | .cb-expand { |
|
1024 | 1024 | display: inline; |
|
1025 | 1025 | } |
|
1026 | 1026 | .cb-collapse { |
|
1027 | 1027 | display: none; |
|
1028 | 1028 | } |
|
1029 | 1029 | .cb-hunk { |
|
1030 | 1030 | display: none; |
|
1031 | 1031 | } |
|
1032 | 1032 | } |
|
1033 | 1033 | |
|
1034 | 1034 | /* intentionally general selector since .cb-line-selected must override it |
|
1035 | 1035 | and they both use !important since the td itself may have a random color |
|
1036 | 1036 | generated by annotation blocks. TLDR: if you change it, make sure |
|
1037 | 1037 | annotated block selection and line selection in file view still work */ |
|
1038 | 1038 | .cb-line-fresh .cb-content { |
|
1039 | 1039 | background: white !important; |
|
1040 | 1040 | } |
|
1041 | 1041 | .cb-warning { |
|
1042 | 1042 | background: #fff4dd; |
|
1043 | 1043 | } |
|
1044 | 1044 | |
|
1045 | 1045 | &.cb-diff-sideside { |
|
1046 | 1046 | td { |
|
1047 | 1047 | &.cb-content { |
|
1048 | 1048 | width: 50%; |
|
1049 | 1049 | } |
|
1050 | 1050 | } |
|
1051 | 1051 | } |
|
1052 | 1052 | |
|
1053 | 1053 | tr { |
|
1054 | 1054 | &.cb-annotate { |
|
1055 | 1055 | border-top: 1px solid #eee; |
|
1056 | 1056 | } |
|
1057 | 1057 | |
|
1058 | 1058 | &.cb-comment-info { |
|
1059 | 1059 | border-top: 1px solid #eee; |
|
1060 | 1060 | color: rgba(0, 0, 0, 0.3); |
|
1061 | 1061 | background: #edf2f9; |
|
1062 | 1062 | |
|
1063 | 1063 | td { |
|
1064 | 1064 | |
|
1065 | 1065 | } |
|
1066 | 1066 | } |
|
1067 | 1067 | |
|
1068 | 1068 | &.cb-hunk { |
|
1069 |
font-family: @ |
|
|
1069 | font-family: @text-monospace; | |
|
1070 | 1070 | color: rgba(0, 0, 0, 0.3); |
|
1071 | 1071 | |
|
1072 | 1072 | td { |
|
1073 | 1073 | &:first-child { |
|
1074 | 1074 | background: #edf2f9; |
|
1075 | 1075 | } |
|
1076 | 1076 | &:last-child { |
|
1077 | 1077 | background: #f4f7fb; |
|
1078 | 1078 | } |
|
1079 | 1079 | } |
|
1080 | 1080 | } |
|
1081 | 1081 | } |
|
1082 | 1082 | |
|
1083 | 1083 | |
|
1084 | 1084 | td { |
|
1085 | 1085 | vertical-align: top; |
|
1086 | 1086 | padding: 0; |
|
1087 | 1087 | |
|
1088 | 1088 | &.cb-content { |
|
1089 | 1089 | font-size: 12.35px; |
|
1090 | 1090 | |
|
1091 | 1091 | &.cb-line-selected .cb-code { |
|
1092 | 1092 | background: @comment-highlight-color !important; |
|
1093 | 1093 | } |
|
1094 | 1094 | |
|
1095 | 1095 | span.cb-code { |
|
1096 | 1096 | line-height: @cb-line-height; |
|
1097 | 1097 | padding-left: @cb-line-code-padding; |
|
1098 | 1098 | padding-right: @cb-line-code-padding; |
|
1099 | 1099 | display: block; |
|
1100 | 1100 | white-space: pre-wrap; |
|
1101 |
font-family: @ |
|
|
1101 | font-family: @text-monospace; | |
|
1102 | 1102 | word-break: break-all; |
|
1103 | 1103 | .nonl { |
|
1104 | 1104 | color: @color5; |
|
1105 | 1105 | } |
|
1106 | 1106 | .cb-action { |
|
1107 | 1107 | &:before { |
|
1108 | 1108 | content: " "; |
|
1109 | 1109 | } |
|
1110 | 1110 | &.cb-deletion:before { |
|
1111 | 1111 | content: "- "; |
|
1112 | 1112 | } |
|
1113 | 1113 | &.cb-addition:before { |
|
1114 | 1114 | content: "+ "; |
|
1115 | 1115 | } |
|
1116 | 1116 | } |
|
1117 | 1117 | } |
|
1118 | 1118 | |
|
1119 | 1119 | &> button.cb-comment-box-opener { |
|
1120 | 1120 | |
|
1121 | 1121 | padding: 2px 2px 1px 3px; |
|
1122 | 1122 | margin-left: -6px; |
|
1123 | 1123 | margin-top: -1px; |
|
1124 | 1124 | |
|
1125 | 1125 | border-radius: @border-radius; |
|
1126 | 1126 | position: absolute; |
|
1127 | 1127 | display: none; |
|
1128 | 1128 | } |
|
1129 | 1129 | .cb-comment { |
|
1130 | 1130 | margin-top: 10px; |
|
1131 | 1131 | white-space: normal; |
|
1132 | 1132 | } |
|
1133 | 1133 | } |
|
1134 | 1134 | &:hover { |
|
1135 | 1135 | button.cb-comment-box-opener { |
|
1136 | 1136 | display: block; |
|
1137 | 1137 | } |
|
1138 | 1138 | &+ td button.cb-comment-box-opener { |
|
1139 | 1139 | display: block |
|
1140 | 1140 | } |
|
1141 | 1141 | } |
|
1142 | 1142 | |
|
1143 | 1143 | &.cb-data { |
|
1144 | 1144 | text-align: right; |
|
1145 | 1145 | width: 30px; |
|
1146 |
font-family: @ |
|
|
1146 | font-family: @text-monospace; | |
|
1147 | 1147 | |
|
1148 | 1148 | .icon-comment { |
|
1149 | 1149 | cursor: pointer; |
|
1150 | 1150 | } |
|
1151 | 1151 | &.cb-line-selected { |
|
1152 | 1152 | background: @comment-highlight-color !important; |
|
1153 | 1153 | } |
|
1154 | 1154 | &.cb-line-selected > div { |
|
1155 | 1155 | display: block; |
|
1156 | 1156 | background: @comment-highlight-color !important; |
|
1157 | 1157 | line-height: @cb-line-height; |
|
1158 | 1158 | color: rgba(0, 0, 0, 0.3); |
|
1159 | 1159 | } |
|
1160 | 1160 | } |
|
1161 | 1161 | |
|
1162 | 1162 | &.cb-lineno { |
|
1163 | 1163 | padding: 0; |
|
1164 | 1164 | width: 50px; |
|
1165 | 1165 | color: rgba(0, 0, 0, 0.3); |
|
1166 | 1166 | text-align: right; |
|
1167 | 1167 | border-right: 1px solid #eee; |
|
1168 |
font-family: @ |
|
|
1168 | font-family: @text-monospace; | |
|
1169 | 1169 | -webkit-user-select: none; |
|
1170 | 1170 | -moz-user-select: none; |
|
1171 | 1171 | user-select: none; |
|
1172 | 1172 | |
|
1173 | 1173 | a::before { |
|
1174 | 1174 | content: attr(data-line-no); |
|
1175 | 1175 | } |
|
1176 | 1176 | &.cb-line-selected { |
|
1177 | 1177 | background: @comment-highlight-color !important; |
|
1178 | 1178 | } |
|
1179 | 1179 | |
|
1180 | 1180 | a { |
|
1181 | 1181 | display: block; |
|
1182 | 1182 | padding-right: @cb-line-code-padding; |
|
1183 | 1183 | padding-left: @cb-line-code-padding; |
|
1184 | 1184 | line-height: @cb-line-height; |
|
1185 | 1185 | color: rgba(0, 0, 0, 0.3); |
|
1186 | 1186 | } |
|
1187 | 1187 | } |
|
1188 | 1188 | |
|
1189 | 1189 | &.cb-empty { |
|
1190 | 1190 | background: @grey7; |
|
1191 | 1191 | } |
|
1192 | 1192 | |
|
1193 | 1193 | ins { |
|
1194 | 1194 | color: black; |
|
1195 | 1195 | background: #a6f3a6; |
|
1196 | 1196 | text-decoration: none; |
|
1197 | 1197 | } |
|
1198 | 1198 | del { |
|
1199 | 1199 | color: black; |
|
1200 | 1200 | background: #f8cbcb; |
|
1201 | 1201 | text-decoration: none; |
|
1202 | 1202 | } |
|
1203 | 1203 | &.cb-addition { |
|
1204 | 1204 | background: #ecffec; |
|
1205 | 1205 | |
|
1206 | 1206 | &.blob-lineno { |
|
1207 | 1207 | background: #ddffdd; |
|
1208 | 1208 | } |
|
1209 | 1209 | } |
|
1210 | 1210 | &.cb-deletion { |
|
1211 | 1211 | background: #ffecec; |
|
1212 | 1212 | |
|
1213 | 1213 | &.blob-lineno { |
|
1214 | 1214 | background: #ffdddd; |
|
1215 | 1215 | } |
|
1216 | 1216 | } |
|
1217 | 1217 | &.cb-annotate-message-spacer { |
|
1218 | 1218 | width:8px; |
|
1219 | 1219 | padding: 1px 0px 0px 3px; |
|
1220 | 1220 | } |
|
1221 | 1221 | &.cb-annotate-info { |
|
1222 | 1222 | width: 320px; |
|
1223 | 1223 | min-width: 320px; |
|
1224 | 1224 | max-width: 320px; |
|
1225 | 1225 | padding: 5px 2px; |
|
1226 | 1226 | font-size: 13px; |
|
1227 | 1227 | |
|
1228 | 1228 | .cb-annotate-message { |
|
1229 | 1229 | padding: 2px 0px 0px 0px; |
|
1230 | 1230 | white-space: pre-line; |
|
1231 | 1231 | overflow: hidden; |
|
1232 | 1232 | } |
|
1233 | 1233 | .rc-user { |
|
1234 | 1234 | float: none; |
|
1235 | 1235 | padding: 0 6px 0 17px; |
|
1236 | 1236 | min-width: unset; |
|
1237 | 1237 | min-height: unset; |
|
1238 | 1238 | } |
|
1239 | 1239 | } |
|
1240 | 1240 | |
|
1241 | 1241 | &.cb-annotate-revision { |
|
1242 | 1242 | cursor: pointer; |
|
1243 | 1243 | text-align: right; |
|
1244 | 1244 | padding: 1px 3px 0px 3px; |
|
1245 | 1245 | } |
|
1246 | 1246 | } |
|
1247 | 1247 | } |
@@ -1,575 +1,575 b'' | |||
|
1 | 1 | // comments.less |
|
2 | 2 | // For use in RhodeCode applications; |
|
3 | 3 | // see style guide documentation for guidelines. |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | // Comments |
|
7 | 7 | @comment-outdated-opacity: 0.6; |
|
8 | 8 | |
|
9 | 9 | .comments { |
|
10 | 10 | width: 100%; |
|
11 | 11 | } |
|
12 | 12 | |
|
13 | 13 | tr.inline-comments div { |
|
14 | 14 | max-width: 100%; |
|
15 | 15 | |
|
16 | 16 | p { |
|
17 | 17 | white-space: normal; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | code, pre, .code, dd { |
|
21 | 21 | overflow-x: auto; |
|
22 | 22 | width: 1062px; |
|
23 | 23 | } |
|
24 | 24 | |
|
25 | 25 | dd { |
|
26 | 26 | width: auto; |
|
27 | 27 | } |
|
28 | 28 | } |
|
29 | 29 | |
|
30 | 30 | #injected_page_comments { |
|
31 | 31 | .comment-previous-link, |
|
32 | 32 | .comment-next-link, |
|
33 | 33 | .comment-links-divider { |
|
34 | 34 | display: none; |
|
35 | 35 | } |
|
36 | 36 | } |
|
37 | 37 | |
|
38 | 38 | .add-comment { |
|
39 | 39 | margin-bottom: 10px; |
|
40 | 40 | } |
|
41 | 41 | .hide-comment-button .add-comment { |
|
42 | 42 | display: none; |
|
43 | 43 | } |
|
44 | 44 | |
|
45 | 45 | .comment-bubble { |
|
46 | 46 | color: @grey4; |
|
47 | 47 | margin-top: 4px; |
|
48 | 48 | margin-right: 30px; |
|
49 | 49 | visibility: hidden; |
|
50 | 50 | } |
|
51 | 51 | |
|
52 | 52 | .comment-label { |
|
53 | 53 | float: left; |
|
54 | 54 | |
|
55 | 55 | padding: 0.4em 0.4em; |
|
56 | 56 | margin: 3px 5px 0px -10px; |
|
57 | 57 | display: inline-block; |
|
58 | 58 | min-height: 0; |
|
59 | 59 | |
|
60 | 60 | text-align: center; |
|
61 | 61 | font-size: 10px; |
|
62 | 62 | line-height: .8em; |
|
63 | 63 | |
|
64 | 64 | font-family: @text-italic; |
|
65 | 65 | background: #fff none; |
|
66 | 66 | color: @grey4; |
|
67 | 67 | border: 1px solid @grey4; |
|
68 | 68 | white-space: nowrap; |
|
69 | 69 | |
|
70 | 70 | text-transform: uppercase; |
|
71 | 71 | min-width: 40px; |
|
72 | 72 | |
|
73 | 73 | &.todo { |
|
74 | 74 | color: @color5; |
|
75 | 75 | font-family: @text-bold-italic; |
|
76 | 76 | } |
|
77 | 77 | |
|
78 | 78 | .resolve { |
|
79 | 79 | cursor: pointer; |
|
80 | 80 | text-decoration: underline; |
|
81 | 81 | } |
|
82 | 82 | |
|
83 | 83 | .resolved { |
|
84 | 84 | text-decoration: line-through; |
|
85 | 85 | color: @color1; |
|
86 | 86 | } |
|
87 | 87 | .resolved a { |
|
88 | 88 | text-decoration: line-through; |
|
89 | 89 | color: @color1; |
|
90 | 90 | } |
|
91 | 91 | .resolve-text { |
|
92 | 92 | color: @color1; |
|
93 | 93 | margin: 2px 8px; |
|
94 | 94 | font-family: @text-italic; |
|
95 | 95 | } |
|
96 | 96 | } |
|
97 | 97 | |
|
98 | 98 | .has-spacer-after { |
|
99 | 99 | &:after { |
|
100 | 100 | content: ' | '; |
|
101 | 101 | color: @grey5; |
|
102 | 102 | } |
|
103 | 103 | } |
|
104 | 104 | |
|
105 | 105 | .has-spacer-before { |
|
106 | 106 | &:before { |
|
107 | 107 | content: ' | '; |
|
108 | 108 | color: @grey5; |
|
109 | 109 | } |
|
110 | 110 | } |
|
111 | 111 | |
|
112 | 112 | .comment { |
|
113 | 113 | |
|
114 | 114 | &.comment-general { |
|
115 | 115 | border: 1px solid @grey5; |
|
116 | 116 | padding: 5px 5px 5px 5px; |
|
117 | 117 | } |
|
118 | 118 | |
|
119 | 119 | margin: @padding 0; |
|
120 | 120 | padding: 4px 0 0 0; |
|
121 | 121 | line-height: 1em; |
|
122 | 122 | |
|
123 | 123 | .rc-user { |
|
124 | 124 | min-width: 0; |
|
125 | 125 | margin: 0px .5em 0 0; |
|
126 | 126 | |
|
127 | 127 | .user { |
|
128 | 128 | display: inline; |
|
129 | 129 | } |
|
130 | 130 | } |
|
131 | 131 | |
|
132 | 132 | .meta { |
|
133 | 133 | position: relative; |
|
134 | 134 | width: 100%; |
|
135 | 135 | border-bottom: 1px solid @grey5; |
|
136 | 136 | margin: -5px 0px; |
|
137 | 137 | line-height: 24px; |
|
138 | 138 | |
|
139 | 139 | &:hover .permalink { |
|
140 | 140 | visibility: visible; |
|
141 | 141 | color: @rcblue; |
|
142 | 142 | } |
|
143 | 143 | } |
|
144 | 144 | |
|
145 | 145 | .author, |
|
146 | 146 | .date { |
|
147 | 147 | display: inline; |
|
148 | 148 | |
|
149 | 149 | &:after { |
|
150 | 150 | content: ' | '; |
|
151 | 151 | color: @grey5; |
|
152 | 152 | } |
|
153 | 153 | } |
|
154 | 154 | |
|
155 | 155 | .author-general img { |
|
156 | 156 | top: 3px; |
|
157 | 157 | } |
|
158 | 158 | .author-inline img { |
|
159 | 159 | top: 3px; |
|
160 | 160 | } |
|
161 | 161 | |
|
162 | 162 | .status-change, |
|
163 | 163 | .permalink, |
|
164 | 164 | .changeset-status-lbl { |
|
165 | 165 | display: inline; |
|
166 | 166 | } |
|
167 | 167 | |
|
168 | 168 | .permalink { |
|
169 | 169 | visibility: hidden; |
|
170 | 170 | } |
|
171 | 171 | |
|
172 | 172 | .comment-links-divider { |
|
173 | 173 | display: inline; |
|
174 | 174 | } |
|
175 | 175 | |
|
176 | 176 | .comment-links-block { |
|
177 | 177 | float:right; |
|
178 | 178 | text-align: right; |
|
179 | 179 | min-width: 85px; |
|
180 | 180 | |
|
181 | 181 | [class^="icon-"]:before, |
|
182 | 182 | [class*=" icon-"]:before { |
|
183 | 183 | margin-left: 0; |
|
184 | 184 | margin-right: 0; |
|
185 | 185 | } |
|
186 | 186 | } |
|
187 | 187 | |
|
188 | 188 | .comment-previous-link { |
|
189 | 189 | display: inline-block; |
|
190 | 190 | |
|
191 | 191 | .arrow_comment_link{ |
|
192 | 192 | cursor: pointer; |
|
193 | 193 | i { |
|
194 | 194 | font-size:10px; |
|
195 | 195 | } |
|
196 | 196 | } |
|
197 | 197 | .arrow_comment_link.disabled { |
|
198 | 198 | cursor: default; |
|
199 | 199 | color: @grey5; |
|
200 | 200 | } |
|
201 | 201 | } |
|
202 | 202 | |
|
203 | 203 | .comment-next-link { |
|
204 | 204 | display: inline-block; |
|
205 | 205 | |
|
206 | 206 | .arrow_comment_link{ |
|
207 | 207 | cursor: pointer; |
|
208 | 208 | i { |
|
209 | 209 | font-size:10px; |
|
210 | 210 | } |
|
211 | 211 | } |
|
212 | 212 | .arrow_comment_link.disabled { |
|
213 | 213 | cursor: default; |
|
214 | 214 | color: @grey5; |
|
215 | 215 | } |
|
216 | 216 | } |
|
217 | 217 | |
|
218 | 218 | .flag_status { |
|
219 | 219 | display: inline-block; |
|
220 | 220 | margin: -2px .5em 0 .25em |
|
221 | 221 | } |
|
222 | 222 | |
|
223 | 223 | .delete-comment { |
|
224 | 224 | display: inline-block; |
|
225 | 225 | color: @rcblue; |
|
226 | 226 | |
|
227 | 227 | &:hover { |
|
228 | 228 | cursor: pointer; |
|
229 | 229 | } |
|
230 | 230 | } |
|
231 | 231 | |
|
232 | 232 | .text { |
|
233 | 233 | clear: both; |
|
234 | 234 | .border-radius(@border-radius); |
|
235 | 235 | .box-sizing(border-box); |
|
236 | 236 | |
|
237 | 237 | .markdown-block p, |
|
238 | 238 | .rst-block p { |
|
239 | 239 | margin: .5em 0 !important; |
|
240 | 240 | // TODO: lisa: This is needed because of other rst !important rules :[ |
|
241 | 241 | } |
|
242 | 242 | } |
|
243 | 243 | |
|
244 | 244 | .pr-version { |
|
245 | 245 | float: left; |
|
246 | 246 | margin: 0px 4px; |
|
247 | 247 | } |
|
248 | 248 | .pr-version-inline { |
|
249 | 249 | float: left; |
|
250 | 250 | margin: 0px 4px; |
|
251 | 251 | } |
|
252 | 252 | .pr-version-num { |
|
253 | 253 | font-size: 10px; |
|
254 | 254 | } |
|
255 | 255 | } |
|
256 | 256 | |
|
257 | 257 | @comment-padding: 5px; |
|
258 | 258 | |
|
259 | 259 | .general-comments { |
|
260 | 260 | .comment-outdated { |
|
261 | 261 | opacity: @comment-outdated-opacity; |
|
262 | 262 | } |
|
263 | 263 | } |
|
264 | 264 | |
|
265 | 265 | .inline-comments { |
|
266 | 266 | border-radius: @border-radius; |
|
267 | 267 | .comment { |
|
268 | 268 | margin: 0; |
|
269 | 269 | border-radius: @border-radius; |
|
270 | 270 | } |
|
271 | 271 | .comment-outdated { |
|
272 | 272 | opacity: @comment-outdated-opacity; |
|
273 | 273 | } |
|
274 | 274 | |
|
275 | 275 | .comment-inline { |
|
276 | 276 | background: white; |
|
277 | 277 | padding: @comment-padding @comment-padding; |
|
278 | 278 | border: @comment-padding solid @grey6; |
|
279 | 279 | |
|
280 | 280 | .text { |
|
281 | 281 | border: none; |
|
282 | 282 | } |
|
283 | 283 | .meta { |
|
284 | 284 | border-bottom: 1px solid @grey6; |
|
285 | 285 | margin: -5px 0px; |
|
286 | 286 | line-height: 24px; |
|
287 | 287 | } |
|
288 | 288 | } |
|
289 | 289 | .comment-selected { |
|
290 | 290 | border-left: 6px solid @comment-highlight-color; |
|
291 | 291 | } |
|
292 | 292 | .comment-inline-form { |
|
293 | 293 | padding: @comment-padding; |
|
294 | 294 | display: none; |
|
295 | 295 | } |
|
296 | 296 | .cb-comment-add-button { |
|
297 | 297 | margin: @comment-padding; |
|
298 | 298 | } |
|
299 | 299 | /* hide add comment button when form is open */ |
|
300 | 300 | .comment-inline-form-open ~ .cb-comment-add-button { |
|
301 | 301 | display: none; |
|
302 | 302 | } |
|
303 | 303 | .comment-inline-form-open { |
|
304 | 304 | display: block; |
|
305 | 305 | } |
|
306 | 306 | /* hide add comment button when form but no comments */ |
|
307 | 307 | .comment-inline-form:first-child + .cb-comment-add-button { |
|
308 | 308 | display: none; |
|
309 | 309 | } |
|
310 | 310 | /* hide add comment button when no comments or form */ |
|
311 | 311 | .cb-comment-add-button:first-child { |
|
312 | 312 | display: none; |
|
313 | 313 | } |
|
314 | 314 | /* hide add comment button when only comment is being deleted */ |
|
315 | 315 | .comment-deleting:first-child + .cb-comment-add-button { |
|
316 | 316 | display: none; |
|
317 | 317 | } |
|
318 | 318 | } |
|
319 | 319 | |
|
320 | 320 | |
|
321 | 321 | .show-outdated-comments { |
|
322 | 322 | display: inline; |
|
323 | 323 | color: @rcblue; |
|
324 | 324 | } |
|
325 | 325 | |
|
326 | 326 | // Comment Form |
|
327 | 327 | div.comment-form { |
|
328 | 328 | margin-top: 20px; |
|
329 | 329 | } |
|
330 | 330 | |
|
331 | 331 | .comment-form strong { |
|
332 | 332 | display: block; |
|
333 | 333 | margin-bottom: 15px; |
|
334 | 334 | } |
|
335 | 335 | |
|
336 | 336 | .comment-form textarea { |
|
337 | 337 | width: 100%; |
|
338 | 338 | height: 100px; |
|
339 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; | |
|
339 | font-family: @text-monospace; | |
|
340 | 340 | } |
|
341 | 341 | |
|
342 | 342 | form.comment-form { |
|
343 | 343 | margin-top: 10px; |
|
344 | 344 | margin-left: 10px; |
|
345 | 345 | } |
|
346 | 346 | |
|
347 | 347 | .comment-inline-form .comment-block-ta, |
|
348 | 348 | .comment-form .comment-block-ta, |
|
349 | 349 | .comment-form .preview-box { |
|
350 | 350 | .border-radius(@border-radius); |
|
351 | 351 | .box-sizing(border-box); |
|
352 | 352 | background-color: white; |
|
353 | 353 | } |
|
354 | 354 | |
|
355 | 355 | .comment-form-submit { |
|
356 | 356 | margin-top: 5px; |
|
357 | 357 | margin-left: 525px; |
|
358 | 358 | } |
|
359 | 359 | |
|
360 | 360 | .file-comments { |
|
361 | 361 | display: none; |
|
362 | 362 | } |
|
363 | 363 | |
|
364 | 364 | .comment-form .preview-box.unloaded, |
|
365 | 365 | .comment-inline-form .preview-box.unloaded { |
|
366 | 366 | height: 50px; |
|
367 | 367 | text-align: center; |
|
368 | 368 | padding: 20px; |
|
369 | 369 | background-color: white; |
|
370 | 370 | } |
|
371 | 371 | |
|
372 | 372 | .comment-footer { |
|
373 | 373 | position: relative; |
|
374 | 374 | width: 100%; |
|
375 | 375 | min-height: 42px; |
|
376 | 376 | |
|
377 | 377 | .status_box, |
|
378 | 378 | .cancel-button { |
|
379 | 379 | float: left; |
|
380 | 380 | display: inline-block; |
|
381 | 381 | } |
|
382 | 382 | |
|
383 | 383 | .action-buttons { |
|
384 | 384 | float: right; |
|
385 | 385 | display: inline-block; |
|
386 | 386 | } |
|
387 | 387 | |
|
388 | 388 | .action-buttons-extra { |
|
389 | 389 | display: inline-block; |
|
390 | 390 | } |
|
391 | 391 | } |
|
392 | 392 | |
|
393 | 393 | .comment-form { |
|
394 | 394 | |
|
395 | 395 | .comment { |
|
396 | 396 | margin-left: 10px; |
|
397 | 397 | } |
|
398 | 398 | |
|
399 | 399 | .comment-help { |
|
400 | 400 | color: @grey4; |
|
401 | 401 | padding: 5px 0 5px 0; |
|
402 | 402 | } |
|
403 | 403 | |
|
404 | 404 | .comment-title { |
|
405 | 405 | padding: 5px 0 5px 0; |
|
406 | 406 | } |
|
407 | 407 | |
|
408 | 408 | .comment-button { |
|
409 | 409 | display: inline-block; |
|
410 | 410 | } |
|
411 | 411 | |
|
412 | 412 | .comment-button-input { |
|
413 | 413 | margin-right: 0; |
|
414 | 414 | } |
|
415 | 415 | |
|
416 | 416 | .comment-footer { |
|
417 | 417 | margin-bottom: 110px; |
|
418 | 418 | margin-top: 10px; |
|
419 | 419 | } |
|
420 | 420 | } |
|
421 | 421 | |
|
422 | 422 | |
|
423 | 423 | .comment-form-login { |
|
424 | 424 | .comment-help { |
|
425 | 425 | padding: 0.9em; //same as the button |
|
426 | 426 | } |
|
427 | 427 | |
|
428 | 428 | div.clearfix { |
|
429 | 429 | clear: both; |
|
430 | 430 | width: 100%; |
|
431 | 431 | display: block; |
|
432 | 432 | } |
|
433 | 433 | } |
|
434 | 434 | |
|
435 | 435 | .comment-type { |
|
436 | 436 | margin: 0px; |
|
437 | 437 | border-radius: inherit; |
|
438 | 438 | border-color: @grey6; |
|
439 | 439 | } |
|
440 | 440 | |
|
441 | 441 | .preview-box { |
|
442 | 442 | min-height: 105px; |
|
443 | 443 | margin-bottom: 15px; |
|
444 | 444 | background-color: white; |
|
445 | 445 | .border-radius(@border-radius); |
|
446 | 446 | .box-sizing(border-box); |
|
447 | 447 | } |
|
448 | 448 | |
|
449 | 449 | .add-another-button { |
|
450 | 450 | margin-left: 10px; |
|
451 | 451 | margin-top: 10px; |
|
452 | 452 | margin-bottom: 10px; |
|
453 | 453 | } |
|
454 | 454 | |
|
455 | 455 | .comment .buttons { |
|
456 | 456 | float: right; |
|
457 | 457 | margin: -1px 0px 0px 0px; |
|
458 | 458 | } |
|
459 | 459 | |
|
460 | 460 | // Inline Comment Form |
|
461 | 461 | .injected_diff .comment-inline-form, |
|
462 | 462 | .comment-inline-form { |
|
463 | 463 | background-color: white; |
|
464 | 464 | margin-top: 10px; |
|
465 | 465 | margin-bottom: 20px; |
|
466 | 466 | } |
|
467 | 467 | |
|
468 | 468 | .inline-form { |
|
469 | 469 | padding: 10px 7px; |
|
470 | 470 | } |
|
471 | 471 | |
|
472 | 472 | .inline-form div { |
|
473 | 473 | max-width: 100%; |
|
474 | 474 | } |
|
475 | 475 | |
|
476 | 476 | .overlay { |
|
477 | 477 | display: none; |
|
478 | 478 | position: absolute; |
|
479 | 479 | width: 100%; |
|
480 | 480 | text-align: center; |
|
481 | 481 | vertical-align: middle; |
|
482 | 482 | font-size: 16px; |
|
483 | 483 | background: none repeat scroll 0 0 white; |
|
484 | 484 | |
|
485 | 485 | &.submitting { |
|
486 | 486 | display: block; |
|
487 | 487 | opacity: 0.5; |
|
488 | 488 | z-index: 100; |
|
489 | 489 | } |
|
490 | 490 | } |
|
491 | 491 | .comment-inline-form .overlay.submitting .overlay-text { |
|
492 | 492 | margin-top: 5%; |
|
493 | 493 | } |
|
494 | 494 | |
|
495 | 495 | .comment-inline-form .clearfix, |
|
496 | 496 | .comment-form .clearfix { |
|
497 | 497 | .border-radius(@border-radius); |
|
498 | 498 | margin: 0px; |
|
499 | 499 | } |
|
500 | 500 | |
|
501 | 501 | .comment-inline-form .comment-footer { |
|
502 | 502 | margin: 10px 0px 0px 0px; |
|
503 | 503 | } |
|
504 | 504 | |
|
505 | 505 | .hide-inline-form-button { |
|
506 | 506 | margin-left: 5px; |
|
507 | 507 | } |
|
508 | 508 | .comment-button .hide-inline-form { |
|
509 | 509 | background: white; |
|
510 | 510 | } |
|
511 | 511 | |
|
512 | 512 | .comment-area { |
|
513 | 513 | padding: 8px 12px; |
|
514 | 514 | border: 1px solid @grey5; |
|
515 | 515 | .border-radius(@border-radius); |
|
516 | 516 | |
|
517 | 517 | .resolve-action { |
|
518 | 518 | padding: 1px 0px 0px 6px; |
|
519 | 519 | } |
|
520 | 520 | |
|
521 | 521 | } |
|
522 | 522 | |
|
523 | 523 | .comment-area-header .nav-links { |
|
524 | 524 | display: flex; |
|
525 | 525 | flex-flow: row wrap; |
|
526 | 526 | -webkit-flex-flow: row wrap; |
|
527 | 527 | width: 100%; |
|
528 | 528 | } |
|
529 | 529 | |
|
530 | 530 | .comment-area-footer { |
|
531 | 531 | display: flex; |
|
532 | 532 | } |
|
533 | 533 | |
|
534 | 534 | .comment-footer .toolbar { |
|
535 | 535 | |
|
536 | 536 | } |
|
537 | 537 | |
|
538 | 538 | .nav-links { |
|
539 | 539 | padding: 0; |
|
540 | 540 | margin: 0; |
|
541 | 541 | list-style: none; |
|
542 | 542 | height: auto; |
|
543 | 543 | border-bottom: 1px solid @grey5; |
|
544 | 544 | } |
|
545 | 545 | .nav-links li { |
|
546 | 546 | display: inline-block; |
|
547 | 547 | } |
|
548 | 548 | .nav-links li:before { |
|
549 | 549 | content: ""; |
|
550 | 550 | } |
|
551 | 551 | .nav-links li a.disabled { |
|
552 | 552 | cursor: not-allowed; |
|
553 | 553 | } |
|
554 | 554 | |
|
555 | 555 | .nav-links li.active a { |
|
556 | 556 | border-bottom: 2px solid @rcblue; |
|
557 | 557 | color: #000; |
|
558 | 558 | font-weight: 600; |
|
559 | 559 | } |
|
560 | 560 | .nav-links li a { |
|
561 | 561 | display: inline-block; |
|
562 | 562 | padding: 0px 10px 5px 10px; |
|
563 | 563 | margin-bottom: -1px; |
|
564 | 564 | font-size: 14px; |
|
565 | 565 | line-height: 28px; |
|
566 | 566 | color: #8f8f8f; |
|
567 | 567 | border-bottom: 2px solid transparent; |
|
568 | 568 | } |
|
569 | 569 | |
|
570 | 570 | .toolbar-text { |
|
571 | 571 | float: left; |
|
572 | 572 | margin: -5px 0px 0px 0px; |
|
573 | 573 | font-size: 12px; |
|
574 | 574 | } |
|
575 | 575 |
@@ -1,374 +1,374 b'' | |||
|
1 | 1 | |
|
2 | 2 | /** MODAL **/ |
|
3 | 3 | .modal-open { |
|
4 | 4 | overflow:hidden; |
|
5 | 5 | } |
|
6 | 6 | body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom { |
|
7 | 7 | margin-right:15px; |
|
8 | 8 | } |
|
9 | 9 | .modal { |
|
10 | 10 | position:fixed; |
|
11 | 11 | top:0; |
|
12 | 12 | right:0; |
|
13 | 13 | bottom:0; |
|
14 | 14 | left:0; |
|
15 | 15 | z-index:1040; |
|
16 | 16 | display:none; |
|
17 | 17 | overflow-y:scroll; |
|
18 | 18 | &.fade .modal-dialog { |
|
19 | 19 | -webkit-transform:translate(0,-25%); |
|
20 | 20 | -ms-transform:translate(0,-25%); |
|
21 | 21 | transform:translate(0,-25%); |
|
22 | 22 | -webkit-transition:-webkit-transform 0.3s ease-out; |
|
23 | 23 | -moz-transition:-moz-transform 0.3s ease-out; |
|
24 | 24 | -o-transition:-o-transform 0.3s ease-out; |
|
25 | 25 | transition:transform 0.3s ease-out; |
|
26 | 26 | } |
|
27 | 27 | &.in .modal-dialog { |
|
28 | 28 | -webkit-transform:translate(0,0); |
|
29 | 29 | -ms-transform:translate(0,0); |
|
30 | 30 | transform:translate(0,0); |
|
31 | 31 | } |
|
32 | 32 | } |
|
33 | 33 | .modal-dialog { |
|
34 | 34 | z-index:1050; |
|
35 | 35 | width:auto; |
|
36 | 36 | padding:10px; |
|
37 | 37 | margin-right:auto; |
|
38 | 38 | margin-left:auto; |
|
39 | 39 | } |
|
40 | 40 | .modal-content { |
|
41 | 41 | position:relative; |
|
42 | 42 | background-color:#ffffff; |
|
43 | 43 | border: @border-thickness solid rgba(0,0,0,0.2); |
|
44 | 44 | .border-radius(@border-radius); |
|
45 | 45 | outline:none; |
|
46 | 46 | -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5); |
|
47 | 47 | box-shadow:0 3px 9px rgba(0,0,0,0.5); |
|
48 | 48 | background-clip:padding-box; |
|
49 | 49 | } |
|
50 | 50 | .modal-backdrop { |
|
51 | 51 | position:fixed; |
|
52 | 52 | top:0; |
|
53 | 53 | right:0; |
|
54 | 54 | bottom:0; |
|
55 | 55 | left:0; |
|
56 | 56 | z-index:1030; |
|
57 | 57 | background-color:#000000; |
|
58 | 58 | |
|
59 | 59 | &.modal-backdrop.fade { |
|
60 | 60 | opacity:0; |
|
61 | 61 | filter:alpha(opacity=0); |
|
62 | 62 | } |
|
63 | 63 | &.in { |
|
64 | 64 | opacity:0.5; |
|
65 | 65 | filter:alpha(opacity=50); |
|
66 | 66 | } |
|
67 | 67 | } |
|
68 | 68 | .modal-header { |
|
69 | 69 | min-height:16.428571429px; |
|
70 | 70 | padding:15px; |
|
71 | 71 | border-bottom: @border-thickness solid @grey6; |
|
72 | 72 | .close { |
|
73 | 73 | margin-top:-2px; |
|
74 | 74 | } |
|
75 | 75 | } |
|
76 | 76 | .modal-title { |
|
77 | 77 | margin:0; |
|
78 | 78 | line-height:1.428571429; |
|
79 | 79 | } |
|
80 | 80 | .modal-body { |
|
81 | 81 | position:relative; |
|
82 | 82 | padding:20px; |
|
83 | 83 | } |
|
84 | 84 | .modal-footer { |
|
85 | 85 | padding:19px 20px 20px; |
|
86 | 86 | margin-top:15px; |
|
87 | 87 | text-align:right; |
|
88 | 88 | border-top:1px solid #e5e5e5; |
|
89 | 89 | .btn + .btn { |
|
90 | 90 | margin-bottom:0; |
|
91 | 91 | margin-left:5px; |
|
92 | 92 | } |
|
93 | 93 | .btn-group .btn + .btn { |
|
94 | 94 | margin-left:-1px; |
|
95 | 95 | } |
|
96 | 96 | .btn-block + .btn-block { |
|
97 | 97 | margin-left:0; |
|
98 | 98 | } |
|
99 | 99 | &:before { |
|
100 | 100 | display:table; |
|
101 | 101 | content:" "; |
|
102 | 102 | } |
|
103 | 103 | &:after { |
|
104 | 104 | display:table; |
|
105 | 105 | content:" "; |
|
106 | 106 | clear:both; |
|
107 | 107 | } |
|
108 | 108 | } |
|
109 | 109 | |
|
110 | 110 | /** MARKDOWN styling **/ |
|
111 | 111 | div.markdown-block { |
|
112 | 112 | clear: both; |
|
113 | 113 | overflow: hidden; |
|
114 | 114 | margin: 0; |
|
115 | 115 | padding: 3px 15px 3px; |
|
116 | 116 | } |
|
117 | 117 | |
|
118 | 118 | div.markdown-block h1, |
|
119 | 119 | div.markdown-block h2, |
|
120 | 120 | div.markdown-block h3, |
|
121 | 121 | div.markdown-block h4, |
|
122 | 122 | div.markdown-block h5, |
|
123 | 123 | div.markdown-block h6 { |
|
124 | 124 | border-bottom: none !important; |
|
125 | 125 | padding: 0 !important; |
|
126 | 126 | overflow: visible !important; |
|
127 | 127 | } |
|
128 | 128 | |
|
129 | 129 | div.markdown-block h1 { |
|
130 | 130 | font-size: 32px; |
|
131 | 131 | margin: 15px 0 15px 0 !important; |
|
132 | 132 | padding-bottom: 5px !important; |
|
133 | 133 | } |
|
134 | 134 | |
|
135 | 135 | div.markdown-block h2 { |
|
136 | 136 | font-size: 24px !important; |
|
137 | 137 | margin: 34px 0 10px 0 !important; |
|
138 | 138 | border-top: 3px #e6e5e5 solid !important; |
|
139 | 139 | padding-top: 15px !important; |
|
140 | 140 | padding-bottom: 8px !important; |
|
141 | 141 | } |
|
142 | 142 | |
|
143 | 143 | div.markdown-block h3 { |
|
144 | 144 | font-size: 18px !important; |
|
145 | 145 | margin: 30px 0 8px 0 !important; |
|
146 | 146 | padding-bottom: 2px !important; |
|
147 | 147 | } |
|
148 | 148 | |
|
149 | 149 | div.markdown-block h4 { |
|
150 | 150 | font-size: 13px !important; |
|
151 | 151 | margin: 18px 0 3px 0 !important; |
|
152 | 152 | } |
|
153 | 153 | |
|
154 | 154 | div.markdown-block h5 { |
|
155 | 155 | font-size: 12px !important; |
|
156 | 156 | margin: 15px 0 3px 0 !important; |
|
157 | 157 | } |
|
158 | 158 | |
|
159 | 159 | div.markdown-block h6 { |
|
160 | 160 | font-size: 12px; |
|
161 | 161 | color: #777777; |
|
162 | 162 | margin: 15px 0 3px 0 !important; |
|
163 | 163 | } |
|
164 | 164 | |
|
165 | 165 | div.markdown-block hr { |
|
166 | 166 | border: 0; |
|
167 | 167 | color: #e6e5e5; |
|
168 | 168 | background-color: #e6e5e5; |
|
169 | 169 | height: 3px; |
|
170 | 170 | margin-bottom: 13px; |
|
171 | 171 | } |
|
172 | 172 | |
|
173 | 173 | div.markdown-block ol, |
|
174 | 174 | div.markdown-block ul, |
|
175 | 175 | div.markdown-block p, |
|
176 | 176 | div.markdown-block blockquote, |
|
177 | 177 | div.markdown-block dl, |
|
178 | 178 | div.markdown-block li, |
|
179 | 179 | div.markdown-block table { |
|
180 | 180 | margin: 3px 0px 13px 0px !important; |
|
181 | 181 | color: #424242 !important; |
|
182 | 182 | font-size: 13px !important; |
|
183 |
font-family: |
|
|
183 | font-family: @text-regular; | |
|
184 | 184 | font-weight: normal !important; |
|
185 | 185 | overflow: visible !important; |
|
186 | 186 | line-height: 140% !important; |
|
187 | 187 | } |
|
188 | 188 | |
|
189 | 189 | div.markdown-block pre { |
|
190 | 190 | margin: 3px 0px 13px 0px !important; |
|
191 | 191 | padding: .5em; |
|
192 | 192 | color: #424242 !important; |
|
193 | 193 | font-size: 13px !important; |
|
194 | 194 | overflow: visible !important; |
|
195 | 195 | line-height: 140% !important; |
|
196 | 196 | background-color: @grey7; |
|
197 | 197 | } |
|
198 | 198 | |
|
199 | 199 | div.markdown-block img { |
|
200 | 200 | border-style: none; |
|
201 | 201 | background-color: #fff; |
|
202 | 202 | } |
|
203 | 203 | |
|
204 | 204 | |
|
205 | 205 | div.markdown-block strong { |
|
206 | 206 | font-weight: 600; |
|
207 | 207 | margin: 0; |
|
208 | 208 | } |
|
209 | 209 | |
|
210 | 210 | div.markdown-block ul, |
|
211 | 211 | div.markdown-block ol { |
|
212 | 212 | padding-left: 30px !important; |
|
213 | 213 | margin-top: 0px !important; |
|
214 | 214 | margin-bottom: 18px !important; |
|
215 | 215 | } |
|
216 | 216 | |
|
217 | 217 | div.markdown-block ul li, |
|
218 | 218 | div.markdown-block ol li { |
|
219 | 219 | list-style: disc !important; |
|
220 | 220 | margin: 6px !important; |
|
221 | 221 | padding: 0 !important; |
|
222 | 222 | } |
|
223 | 223 | |
|
224 | 224 | div.markdown-block ol li { |
|
225 | 225 | list-style: decimal !important; |
|
226 | 226 | } |
|
227 | 227 | |
|
228 | 228 | /* |
|
229 | 229 | div.markdown-block a, |
|
230 | 230 | div.markdown-block a:visited { |
|
231 | 231 | color: #4183C4 !important; |
|
232 | 232 | background-color: inherit; |
|
233 | 233 | text-decoration: none; |
|
234 | 234 | } |
|
235 | 235 | */ |
|
236 | 236 | |
|
237 | 237 | div.markdown-block #message { |
|
238 | 238 | .border-radius(@border-radius); |
|
239 | 239 | border: @border-thickness solid @grey5; |
|
240 | 240 | display: block; |
|
241 | 241 | width: 100%; |
|
242 | 242 | height: 60px; |
|
243 | 243 | margin: 6px 0px; |
|
244 | 244 | } |
|
245 | 245 | |
|
246 | 246 | div.markdown-block button, |
|
247 | 247 | div.markdown-block #ws { |
|
248 | 248 | font-size: @basefontsize; |
|
249 | 249 | padding: 4px 6px; |
|
250 | 250 | .border-radius(@border-radius); |
|
251 | 251 | border: @border-thickness solid @grey5; |
|
252 | 252 | background-color: @grey6; |
|
253 | 253 | } |
|
254 | 254 | |
|
255 | 255 | div.markdown-block code, |
|
256 | 256 | div.markdown-block pre, |
|
257 | 257 | div.markdown-block #ws, |
|
258 | 258 | div.markdown-block #message { |
|
259 |
font-family: |
|
|
259 | font-family: @text-monospace; | |
|
260 | 260 | font-size: 11px; |
|
261 | 261 | .border-radius(@border-radius); |
|
262 | 262 | background-color: white; |
|
263 | 263 | color: @grey3; |
|
264 | 264 | } |
|
265 | 265 | |
|
266 | 266 | |
|
267 | 267 | div.markdown-block code { |
|
268 | 268 | border: @border-thickness solid @grey6; |
|
269 | 269 | margin: 0 2px; |
|
270 | 270 | padding: 0 5px; |
|
271 | 271 | } |
|
272 | 272 | |
|
273 | 273 | div.markdown-block pre { |
|
274 | 274 | border: @border-thickness solid @grey5; |
|
275 | 275 | overflow: auto; |
|
276 | 276 | padding: .5em; |
|
277 | 277 | background-color: @grey7; |
|
278 | 278 | } |
|
279 | 279 | |
|
280 | 280 | div.markdown-block pre > code { |
|
281 | 281 | border: 0; |
|
282 | 282 | margin: 0; |
|
283 | 283 | padding: 0; |
|
284 | 284 | } |
|
285 | 285 | |
|
286 | 286 | /** RST STYLE **/ |
|
287 | 287 | div.rst-block { |
|
288 | 288 | clear: both; |
|
289 | 289 | overflow: hidden; |
|
290 | 290 | margin: 0; |
|
291 | 291 | padding: 3px 15px 3px; |
|
292 | 292 | } |
|
293 | 293 | |
|
294 | 294 | div.rst-block h2 { |
|
295 | 295 | font-weight: normal; |
|
296 | 296 | } |
|
297 | 297 | |
|
298 | 298 | div.rst-block h1, |
|
299 | 299 | div.rst-block h2, |
|
300 | 300 | div.rst-block h3, |
|
301 | 301 | div.rst-block h4, |
|
302 | 302 | div.rst-block h5, |
|
303 | 303 | div.rst-block h6 { |
|
304 | 304 | border-bottom: 0 !important; |
|
305 | 305 | margin: 0 !important; |
|
306 | 306 | padding: 0 !important; |
|
307 | 307 | line-height: 1.5em !important; |
|
308 | 308 | } |
|
309 | 309 | |
|
310 | 310 | |
|
311 | 311 | div.rst-block h1:first-child { |
|
312 | 312 | padding-top: .25em !important; |
|
313 | 313 | } |
|
314 | 314 | |
|
315 | 315 | div.rst-block h2, |
|
316 | 316 | div.rst-block h3 { |
|
317 | 317 | margin: 1em 0 !important; |
|
318 | 318 | } |
|
319 | 319 | |
|
320 | 320 | div.rst-block h2 { |
|
321 | 321 | margin-top: 1.5em !important; |
|
322 | 322 | border-top: 4px solid #e0e0e0 !important; |
|
323 | 323 | padding-top: .5em !important; |
|
324 | 324 | } |
|
325 | 325 | |
|
326 | 326 | div.rst-block p { |
|
327 | 327 | color: black !important; |
|
328 | 328 | margin: 1em 0 !important; |
|
329 | 329 | line-height: 1.5em !important; |
|
330 | 330 | } |
|
331 | 331 | |
|
332 | 332 | div.rst-block ul { |
|
333 | 333 | list-style: disc !important; |
|
334 | 334 | margin: 1em 0 1em 2em !important; |
|
335 | 335 | clear: both; |
|
336 | 336 | } |
|
337 | 337 | |
|
338 | 338 | div.rst-block ol { |
|
339 | 339 | list-style: decimal; |
|
340 | 340 | margin: 1em 0 1em 2em !important; |
|
341 | 341 | } |
|
342 | 342 | |
|
343 | 343 | div.rst-block pre, |
|
344 | 344 | div.rst-block code { |
|
345 | 345 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
346 | 346 | } |
|
347 | 347 | |
|
348 | 348 | div.rst-block code { |
|
349 | 349 | font-size: 12px !important; |
|
350 | 350 | background-color: ghostWhite !important; |
|
351 | 351 | color: #444 !important; |
|
352 | 352 | padding: 0 .2em !important; |
|
353 | 353 | border: 1px solid #dedede !important; |
|
354 | 354 | } |
|
355 | 355 | |
|
356 | 356 | div.rst-block pre code { |
|
357 | 357 | padding: 0 !important; |
|
358 | 358 | font-size: 12px !important; |
|
359 | 359 | background-color: #eee !important; |
|
360 | 360 | border: none !important; |
|
361 | 361 | } |
|
362 | 362 | |
|
363 | 363 | div.rst-block pre { |
|
364 | 364 | margin: 1em 0; |
|
365 | 365 | padding: @padding; |
|
366 | 366 | border: 1px solid @grey6; |
|
367 | 367 | .border-radius(@border-radius); |
|
368 | 368 | overflow: auto; |
|
369 | 369 | font-size: 12px; |
|
370 | 370 | color: #444; |
|
371 | 371 | background-color: @grey7; |
|
372 | 372 | } |
|
373 | 373 | |
|
374 | 374 |
@@ -1,409 +1,409 b'' | |||
|
1 | 1 | |
|
2 | 2 | // Contains the style definitions used for .main-content |
|
3 | 3 | // elements which are mainly around the admin settings. |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | // TODO: johbo: Integrate in a better way, this is for "main content" which |
|
7 | 7 | // should not have a limit on the width. |
|
8 | 8 | .main-content-full { |
|
9 | 9 | clear: both; |
|
10 | 10 | } |
|
11 | 11 | |
|
12 | 12 | |
|
13 | 13 | .main-content { |
|
14 | 14 | max-width: @maincontent-maxwidth; |
|
15 | 15 | |
|
16 | 16 | h3, |
|
17 | 17 | // TODO: johbo: Change templates to use h3 instead of h4 here |
|
18 | 18 | h4 { |
|
19 | 19 | line-height: 1em; |
|
20 | 20 | } |
|
21 | 21 | |
|
22 | 22 | // TODO: johbo: Check if we can do that on a global level |
|
23 | 23 | table { |
|
24 | 24 | th { |
|
25 | 25 | padding: 0; |
|
26 | 26 | } |
|
27 | 27 | td.field{ |
|
28 | 28 | .help-block{ |
|
29 | 29 | margin-left: 0; |
|
30 | 30 | } |
|
31 | 31 | } |
|
32 | 32 | } |
|
33 | 33 | |
|
34 | 34 | // TODO: johbo: Tweak this into the general styling, for a full width |
|
35 | 35 | // textarea |
|
36 | 36 | .textarea-full { |
|
37 | 37 | // 2x 10px padding and 2x 1px border |
|
38 | 38 | margin-right: 22px; |
|
39 | 39 | } |
|
40 | 40 | |
|
41 | 41 | } |
|
42 | 42 | |
|
43 | 43 | |
|
44 | 44 | // TODO: johbo: duplicated, think about a mixins.less |
|
45 | 45 | .block-left{ |
|
46 | 46 | float: left; |
|
47 | 47 | } |
|
48 | 48 | |
|
49 | 49 | .form { |
|
50 | 50 | .checkboxes { |
|
51 | 51 | // TODO: johbo: Should be changed in .checkboxes already |
|
52 | 52 | width: auto; |
|
53 | 53 | } |
|
54 | 54 | |
|
55 | 55 | // TODO: johbo: some settings pages are broken and don't have the .buttons |
|
56 | 56 | // inside the .fields, tweak those templates and remove this. |
|
57 | 57 | .buttons { |
|
58 | 58 | margin-top: @textmargin; |
|
59 | 59 | } |
|
60 | 60 | |
|
61 | 61 | .help-block { |
|
62 | 62 | display: block; |
|
63 | 63 | margin-left: @label-width; |
|
64 | 64 | &.pre-formatting { |
|
65 | 65 | white-space: pre; |
|
66 | 66 | } |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | .action_button { |
|
70 | 70 | color: @grey4; |
|
71 | 71 | } |
|
72 | 72 | } |
|
73 | 73 | |
|
74 | 74 | .main-content-full-width { |
|
75 | 75 | .main-content; |
|
76 | 76 | width: 100%; |
|
77 | 77 | min-width: 100%; |
|
78 | 78 | } |
|
79 | 79 | |
|
80 | 80 | .main-content-auto-width { |
|
81 | 81 | .main-content; |
|
82 | 82 | width: auto; |
|
83 | 83 | min-width: 100%; |
|
84 | 84 | max-width: inherit; |
|
85 | 85 | } |
|
86 | 86 | |
|
87 | 87 | .field { |
|
88 | 88 | clear: left; |
|
89 | 89 | margin-bottom: @padding; |
|
90 | 90 | |
|
91 | 91 | } |
|
92 | 92 | |
|
93 | 93 | .input-monospace { |
|
94 |
font-family: @ |
|
|
94 | font-family: @text-monospace; | |
|
95 | 95 | } |
|
96 | 96 | |
|
97 | 97 | .fields { |
|
98 | 98 | label { |
|
99 | 99 | color: @grey2; |
|
100 | 100 | } |
|
101 | 101 | |
|
102 | 102 | .field { |
|
103 | 103 | clear: right; |
|
104 | 104 | margin-bottom: @textmargin; |
|
105 | 105 | width: 100%; |
|
106 | 106 | |
|
107 | 107 | .label { |
|
108 | 108 | float: left; |
|
109 | 109 | margin-right: @form-vertical-margin; |
|
110 | 110 | margin-top: 0; |
|
111 | 111 | padding-top: @input-padding-px + @border-thickness-inputs; |
|
112 | 112 | width: @label-width - @form-vertical-margin; |
|
113 | 113 | } |
|
114 | 114 | // used in forms for fields that show just text |
|
115 | 115 | .label-text { |
|
116 | 116 | .label; |
|
117 | 117 | padding-top: 5px; |
|
118 | 118 | } |
|
119 | 119 | .label-branch-perm { |
|
120 | 120 | .label; |
|
121 | 121 | width: 115px; |
|
122 | 122 | } |
|
123 | 123 | |
|
124 | 124 | // Used to position content on the right side of a .label |
|
125 | 125 | .content, |
|
126 | 126 | .side-by-side-selector { |
|
127 | 127 | padding-top: @input-padding-px + @input-border-thickness; |
|
128 | 128 | } |
|
129 | 129 | |
|
130 | 130 | .checkboxes, |
|
131 | 131 | .input, |
|
132 | 132 | .select, |
|
133 | 133 | .textarea, |
|
134 | 134 | .content { |
|
135 | 135 | float: none; |
|
136 | 136 | margin-left: @label-width; |
|
137 | 137 | |
|
138 | 138 | .help-block { |
|
139 | 139 | margin-left: 0; |
|
140 | 140 | } |
|
141 | 141 | } |
|
142 | 142 | |
|
143 | 143 | .input-branch-perm { |
|
144 | 144 | .input; |
|
145 | 145 | margin-left: 140px; |
|
146 | 146 | } |
|
147 | 147 | |
|
148 | 148 | .input-branch-perm-order { |
|
149 | 149 | width: 40px; |
|
150 | 150 | } |
|
151 | 151 | |
|
152 | 152 | .checkboxes, |
|
153 | 153 | .input, |
|
154 | 154 | .select { |
|
155 | 155 | .help-block { |
|
156 | 156 | display: block; |
|
157 | 157 | } |
|
158 | 158 | } |
|
159 | 159 | |
|
160 | 160 | .checkboxes, |
|
161 | 161 | .radios { |
|
162 | 162 | // TODO: johbo: We get a 4px margin from the from-bootstrap, |
|
163 | 163 | // compensating here to align well with labels on the left. |
|
164 | 164 | padding-top: @input-padding-px + @input-border-thickness - 3px; |
|
165 | 165 | } |
|
166 | 166 | |
|
167 | 167 | .checkbox, |
|
168 | 168 | .radio { |
|
169 | 169 | display: block; |
|
170 | 170 | width: auto; |
|
171 | 171 | } |
|
172 | 172 | |
|
173 | 173 | .checkbox + .checkbox { |
|
174 | 174 | display: block; |
|
175 | 175 | } |
|
176 | 176 | |
|
177 | 177 | .input, |
|
178 | 178 | .select { |
|
179 | 179 | .help-block, |
|
180 | 180 | .info-block { |
|
181 | 181 | margin-top: @form-vertical-margin / 2; |
|
182 | 182 | } |
|
183 | 183 | } |
|
184 | 184 | |
|
185 | 185 | .input { |
|
186 | 186 | .branch-perm { |
|
187 | 187 | width: 80px; |
|
188 | 188 | } |
|
189 | 189 | .medium { |
|
190 | 190 | width: @fields-input-m; |
|
191 | 191 | } |
|
192 | 192 | .large { |
|
193 | 193 | width: @fields-input-l; |
|
194 | 194 | } |
|
195 | 195 | |
|
196 | 196 | .text-as-placeholder { |
|
197 | 197 | padding-top: @input-padding-px + @border-thickness-inputs; |
|
198 | 198 | } |
|
199 | 199 | } |
|
200 | 200 | |
|
201 | 201 | // TODO: johbo: Try to find a better integration of this bit. |
|
202 | 202 | // When using a select2 inside of a field, it should not have the |
|
203 | 203 | // top margin. |
|
204 | 204 | .select .drop-menu { |
|
205 | 205 | margin-top: 0; |
|
206 | 206 | } |
|
207 | 207 | |
|
208 | 208 | .textarea { |
|
209 | 209 | float: none; |
|
210 | 210 | |
|
211 | 211 | textarea { |
|
212 | 212 | // TODO: johbo: From somewhere we get a clear which does |
|
213 | 213 | // more harm than good here. |
|
214 | 214 | clear: none; |
|
215 | 215 | } |
|
216 | 216 | |
|
217 | 217 | .CodeMirror { |
|
218 | 218 | // TODO: johbo: Tweak to position the .help-block nicer, |
|
219 | 219 | // figure out how to apply for .text-block instead. |
|
220 | 220 | margin-bottom: 10px; |
|
221 | 221 | } |
|
222 | 222 | |
|
223 | 223 | // TODO: johbo: Check if we can remove the grey background on |
|
224 | 224 | // the global level and remove this if possible. |
|
225 | 225 | .help-block { |
|
226 | 226 | background: transparent; |
|
227 | 227 | padding: 0; |
|
228 | 228 | } |
|
229 | 229 | } |
|
230 | 230 | |
|
231 | 231 | &.tag_patterns, |
|
232 | 232 | &.branch_patterns { |
|
233 | 233 | |
|
234 | 234 | input { |
|
235 | 235 | max-width: 430px; |
|
236 | 236 | } |
|
237 | 237 | } |
|
238 | 238 | } |
|
239 | 239 | |
|
240 | 240 | .field-sm { |
|
241 | 241 | .label { |
|
242 | 242 | padding-top: @input-padding-px / 2 + @input-border-thickness; |
|
243 | 243 | } |
|
244 | 244 | .checkboxes, |
|
245 | 245 | .radios { |
|
246 | 246 | // TODO: johbo: We get a 4px margin from the from-bootstrap, |
|
247 | 247 | // compensating here to align well with labels on the left. |
|
248 | 248 | padding-top: @input-padding-px / 2 + @input-border-thickness - 3px; |
|
249 | 249 | } |
|
250 | 250 | } |
|
251 | 251 | |
|
252 | 252 | .field.customhooks { |
|
253 | 253 | .label { |
|
254 | 254 | padding-top: 0; |
|
255 | 255 | } |
|
256 | 256 | .input-wrapper { |
|
257 | 257 | padding-right: 25px; |
|
258 | 258 | |
|
259 | 259 | input { |
|
260 | 260 | width: 100%; |
|
261 | 261 | } |
|
262 | 262 | } |
|
263 | 263 | .input { |
|
264 | 264 | padding-right: 25px; |
|
265 | 265 | } |
|
266 | 266 | } |
|
267 | 267 | |
|
268 | 268 | .buttons { |
|
269 | 269 | // TODO: johbo: define variable for this value. |
|
270 | 270 | // Note that this should be 40px but since most elements add some |
|
271 | 271 | // space in the bottom, we are with 20 closer to 40. |
|
272 | 272 | margin-top: 20px; |
|
273 | 273 | clear: both; |
|
274 | 274 | margin-bottom: @padding; |
|
275 | 275 | } |
|
276 | 276 | |
|
277 | 277 | .desc{ |
|
278 | 278 | margin-right: @textmargin; |
|
279 | 279 | } |
|
280 | 280 | |
|
281 | 281 | input, |
|
282 | 282 | .drop-menu { |
|
283 | 283 | margin-right: @padding/3; |
|
284 | 284 | } |
|
285 | 285 | |
|
286 | 286 | } |
|
287 | 287 | |
|
288 | 288 | .form-vertical .fields .field { |
|
289 | 289 | |
|
290 | 290 | .label { |
|
291 | 291 | float: none; |
|
292 | 292 | width: auto; |
|
293 | 293 | } |
|
294 | 294 | |
|
295 | 295 | .checkboxes, |
|
296 | 296 | .input, |
|
297 | 297 | .select, |
|
298 | 298 | .textarea { |
|
299 | 299 | margin-left: 0; |
|
300 | 300 | } |
|
301 | 301 | |
|
302 | 302 | // TODO: johbo: had to tweak the width here to make it big enough for |
|
303 | 303 | // the license. |
|
304 | 304 | .textarea.editor { |
|
305 | 305 | max-width: none; |
|
306 | 306 | } |
|
307 | 307 | |
|
308 | 308 | .textarea.large textarea { |
|
309 | 309 | min-height: 200px; |
|
310 | 310 | } |
|
311 | 311 | |
|
312 | 312 | .help-block { |
|
313 | 313 | margin-left: 0; |
|
314 | 314 | } |
|
315 | 315 | } |
|
316 | 316 | |
|
317 | 317 | |
|
318 | 318 | |
|
319 | 319 | |
|
320 | 320 | .main-content { |
|
321 | 321 | .block-left; |
|
322 | 322 | |
|
323 | 323 | .section { |
|
324 | 324 | margin-bottom: @space; |
|
325 | 325 | } |
|
326 | 326 | |
|
327 | 327 | |
|
328 | 328 | // Table aligning same way as forms in admin section, e.g. |
|
329 | 329 | // python packages table |
|
330 | 330 | table.formalign { |
|
331 | 331 | float: left; |
|
332 | 332 | width: auto; |
|
333 | 333 | |
|
334 | 334 | .label { |
|
335 | 335 | width: @label-width; |
|
336 | 336 | } |
|
337 | 337 | |
|
338 | 338 | } |
|
339 | 339 | |
|
340 | 340 | |
|
341 | 341 | table.issuetracker { |
|
342 | 342 | |
|
343 | 343 | color: @text-color; |
|
344 | 344 | |
|
345 | 345 | .issue-tracker-example { |
|
346 | 346 | color: @grey4; |
|
347 | 347 | } |
|
348 | 348 | } |
|
349 | 349 | |
|
350 | 350 | .side-by-side-selector{ |
|
351 | 351 | .left-group, |
|
352 | 352 | .middle-group, |
|
353 | 353 | .right-group{ |
|
354 | 354 | float: left; |
|
355 | 355 | } |
|
356 | 356 | |
|
357 | 357 | .left-group, |
|
358 | 358 | .right-group{ |
|
359 | 359 | width: 45%; |
|
360 | 360 | text-align: center; |
|
361 | 361 | |
|
362 | 362 | label{ |
|
363 | 363 | width: 100%; |
|
364 | 364 | text-align: left; |
|
365 | 365 | } |
|
366 | 366 | |
|
367 | 367 | select{ |
|
368 | 368 | width: 100%; |
|
369 | 369 | background: none; |
|
370 | 370 | border-color: @border-highlight-color; |
|
371 | 371 | color: @text-color; |
|
372 | 372 | font-family: @text-light; |
|
373 | 373 | font-size: @basefontsize; |
|
374 | 374 | color: @grey1; |
|
375 | 375 | padding: @textmargin/2; |
|
376 | 376 | } |
|
377 | 377 | |
|
378 | 378 | select:after{ |
|
379 | 379 | content: ""; |
|
380 | 380 | } |
|
381 | 381 | |
|
382 | 382 | } |
|
383 | 383 | |
|
384 | 384 | .middle-group{ |
|
385 | 385 | width: 10%; |
|
386 | 386 | text-align: center; |
|
387 | 387 | padding-top: 4em; |
|
388 | 388 | i { |
|
389 | 389 | font-size: 18px; |
|
390 | 390 | cursor: pointer; |
|
391 | 391 | line-height: 2em; |
|
392 | 392 | } |
|
393 | 393 | } |
|
394 | 394 | |
|
395 | 395 | } |
|
396 | 396 | |
|
397 | 397 | .permissions_boxes{ |
|
398 | 398 | label, .label{ |
|
399 | 399 | margin-right: @textmargin/2; |
|
400 | 400 | } |
|
401 | 401 | } |
|
402 | 402 | |
|
403 | 403 | .radios{ |
|
404 | 404 | label{ |
|
405 | 405 | margin-right: @textmargin; |
|
406 | 406 | } |
|
407 | 407 | } |
|
408 | 408 | } |
|
409 | 409 |
@@ -1,2453 +1,2453 b'' | |||
|
1 | 1 | //Primary CSS |
|
2 | 2 | |
|
3 | 3 | //--- IMPORTS ------------------// |
|
4 | 4 | |
|
5 | 5 | @import 'helpers'; |
|
6 | 6 | @import 'mixins'; |
|
7 | 7 | @import 'rcicons'; |
|
8 | 8 | @import 'variables'; |
|
9 | 9 | @import 'bootstrap-variables'; |
|
10 | 10 | @import 'form-bootstrap'; |
|
11 | 11 | @import 'codemirror'; |
|
12 | 12 | @import 'legacy_code_styles'; |
|
13 | 13 | @import 'readme-box'; |
|
14 | 14 | @import 'progress-bar'; |
|
15 | 15 | |
|
16 | 16 | @import 'type'; |
|
17 | 17 | @import 'alerts'; |
|
18 | 18 | @import 'buttons'; |
|
19 | 19 | @import 'tags'; |
|
20 | 20 | @import 'code-block'; |
|
21 | 21 | @import 'examples'; |
|
22 | 22 | @import 'login'; |
|
23 | 23 | @import 'main-content'; |
|
24 | 24 | @import 'select2'; |
|
25 | 25 | @import 'comments'; |
|
26 | 26 | @import 'panels-bootstrap'; |
|
27 | 27 | @import 'panels'; |
|
28 | 28 | @import 'deform'; |
|
29 | 29 | |
|
30 | 30 | //--- BASE ------------------// |
|
31 | 31 | .noscript-error { |
|
32 | 32 | top: 0; |
|
33 | 33 | left: 0; |
|
34 | 34 | width: 100%; |
|
35 | 35 | z-index: 101; |
|
36 | 36 | text-align: center; |
|
37 | 37 | font-family: @text-semibold; |
|
38 | 38 | font-size: 120%; |
|
39 | 39 | color: white; |
|
40 | 40 | background-color: @alert2; |
|
41 | 41 | padding: 5px 0 5px 0; |
|
42 | 42 | } |
|
43 | 43 | |
|
44 | 44 | html { |
|
45 | 45 | display: table; |
|
46 | 46 | height: 100%; |
|
47 | 47 | width: 100%; |
|
48 | 48 | } |
|
49 | 49 | |
|
50 | 50 | body { |
|
51 | 51 | display: table-cell; |
|
52 | 52 | width: 100%; |
|
53 | 53 | } |
|
54 | 54 | |
|
55 | 55 | //--- LAYOUT ------------------// |
|
56 | 56 | |
|
57 | 57 | .hidden{ |
|
58 | 58 | display: none !important; |
|
59 | 59 | } |
|
60 | 60 | |
|
61 | 61 | .box{ |
|
62 | 62 | float: left; |
|
63 | 63 | width: 100%; |
|
64 | 64 | } |
|
65 | 65 | |
|
66 | 66 | .browser-header { |
|
67 | 67 | clear: both; |
|
68 | 68 | } |
|
69 | 69 | .main { |
|
70 | 70 | clear: both; |
|
71 | 71 | padding:0 0 @pagepadding; |
|
72 | 72 | height: auto; |
|
73 | 73 | |
|
74 | 74 | &:after { //clearfix |
|
75 | 75 | content:""; |
|
76 | 76 | clear:both; |
|
77 | 77 | width:100%; |
|
78 | 78 | display:block; |
|
79 | 79 | } |
|
80 | 80 | } |
|
81 | 81 | |
|
82 | 82 | .action-link{ |
|
83 | 83 | margin-left: @padding; |
|
84 | 84 | padding-left: @padding; |
|
85 | 85 | border-left: @border-thickness solid @border-default-color; |
|
86 | 86 | } |
|
87 | 87 | |
|
88 | 88 | input + .action-link, .action-link.first{ |
|
89 | 89 | border-left: none; |
|
90 | 90 | } |
|
91 | 91 | |
|
92 | 92 | .action-link.last{ |
|
93 | 93 | margin-right: @padding; |
|
94 | 94 | padding-right: @padding; |
|
95 | 95 | } |
|
96 | 96 | |
|
97 | 97 | .action-link.active, |
|
98 | 98 | .action-link.active a{ |
|
99 | 99 | color: @grey4; |
|
100 | 100 | } |
|
101 | 101 | |
|
102 | 102 | .action-link.disabled { |
|
103 | 103 | color: @grey4; |
|
104 | 104 | cursor: inherit; |
|
105 | 105 | } |
|
106 | 106 | |
|
107 | 107 | .clipboard-action { |
|
108 | 108 | cursor: pointer; |
|
109 | 109 | } |
|
110 | 110 | |
|
111 | 111 | ul.simple-list{ |
|
112 | 112 | list-style: none; |
|
113 | 113 | margin: 0; |
|
114 | 114 | padding: 0; |
|
115 | 115 | } |
|
116 | 116 | |
|
117 | 117 | .main-content { |
|
118 | 118 | padding-bottom: @pagepadding; |
|
119 | 119 | } |
|
120 | 120 | |
|
121 | 121 | .wide-mode-wrapper { |
|
122 | 122 | max-width:4000px !important; |
|
123 | 123 | } |
|
124 | 124 | |
|
125 | 125 | .wrapper { |
|
126 | 126 | position: relative; |
|
127 | 127 | max-width: @wrapper-maxwidth; |
|
128 | 128 | margin: 0 auto; |
|
129 | 129 | } |
|
130 | 130 | |
|
131 | 131 | #content { |
|
132 | 132 | clear: both; |
|
133 | 133 | padding: 0 @contentpadding; |
|
134 | 134 | } |
|
135 | 135 | |
|
136 | 136 | .advanced-settings-fields{ |
|
137 | 137 | input{ |
|
138 | 138 | margin-left: @textmargin; |
|
139 | 139 | margin-right: @padding/2; |
|
140 | 140 | } |
|
141 | 141 | } |
|
142 | 142 | |
|
143 | 143 | .cs_files_title { |
|
144 | 144 | margin: @pagepadding 0 0; |
|
145 | 145 | } |
|
146 | 146 | |
|
147 | 147 | input.inline[type="file"] { |
|
148 | 148 | display: inline; |
|
149 | 149 | } |
|
150 | 150 | |
|
151 | 151 | .error_page { |
|
152 | 152 | margin: 10% auto; |
|
153 | 153 | |
|
154 | 154 | h1 { |
|
155 | 155 | color: @grey2; |
|
156 | 156 | } |
|
157 | 157 | |
|
158 | 158 | .alert { |
|
159 | 159 | margin: @padding 0; |
|
160 | 160 | } |
|
161 | 161 | |
|
162 | 162 | .error-branding { |
|
163 | 163 | font-family: @text-semibold; |
|
164 | 164 | color: @grey4; |
|
165 | 165 | } |
|
166 | 166 | |
|
167 | 167 | .error_message { |
|
168 | 168 | font-family: @text-regular; |
|
169 | 169 | } |
|
170 | 170 | |
|
171 | 171 | .sidebar { |
|
172 | 172 | min-height: 275px; |
|
173 | 173 | margin: 0; |
|
174 | 174 | padding: 0 0 @sidebarpadding @sidebarpadding; |
|
175 | 175 | border: none; |
|
176 | 176 | } |
|
177 | 177 | |
|
178 | 178 | .main-content { |
|
179 | 179 | position: relative; |
|
180 | 180 | margin: 0 @sidebarpadding @sidebarpadding; |
|
181 | 181 | padding: 0 0 0 @sidebarpadding; |
|
182 | 182 | border-left: @border-thickness solid @grey5; |
|
183 | 183 | |
|
184 | 184 | @media (max-width:767px) { |
|
185 | 185 | clear: both; |
|
186 | 186 | width: 100%; |
|
187 | 187 | margin: 0; |
|
188 | 188 | border: none; |
|
189 | 189 | } |
|
190 | 190 | } |
|
191 | 191 | |
|
192 | 192 | .inner-column { |
|
193 | 193 | float: left; |
|
194 | 194 | width: 29.75%; |
|
195 | 195 | min-height: 150px; |
|
196 | 196 | margin: @sidebarpadding 2% 0 0; |
|
197 | 197 | padding: 0 2% 0 0; |
|
198 | 198 | border-right: @border-thickness solid @grey5; |
|
199 | 199 | |
|
200 | 200 | @media (max-width:767px) { |
|
201 | 201 | clear: both; |
|
202 | 202 | width: 100%; |
|
203 | 203 | border: none; |
|
204 | 204 | } |
|
205 | 205 | |
|
206 | 206 | ul { |
|
207 | 207 | padding-left: 1.25em; |
|
208 | 208 | } |
|
209 | 209 | |
|
210 | 210 | &:last-child { |
|
211 | 211 | margin: @sidebarpadding 0 0; |
|
212 | 212 | border: none; |
|
213 | 213 | } |
|
214 | 214 | |
|
215 | 215 | h4 { |
|
216 | 216 | margin: 0 0 @padding; |
|
217 | 217 | font-family: @text-semibold; |
|
218 | 218 | } |
|
219 | 219 | } |
|
220 | 220 | } |
|
221 | 221 | .error-page-logo { |
|
222 | 222 | width: 130px; |
|
223 | 223 | height: 160px; |
|
224 | 224 | } |
|
225 | 225 | |
|
226 | 226 | // HEADER |
|
227 | 227 | .header { |
|
228 | 228 | |
|
229 | 229 | // TODO: johbo: Fix login pages, so that they work without a min-height |
|
230 | 230 | // for the header and then remove the min-height. I chose a smaller value |
|
231 | 231 | // intentionally here to avoid rendering issues in the main navigation. |
|
232 | 232 | min-height: 49px; |
|
233 | 233 | |
|
234 | 234 | position: relative; |
|
235 | 235 | vertical-align: bottom; |
|
236 | 236 | padding: 0 @header-padding; |
|
237 | 237 | background-color: @grey2; |
|
238 | 238 | color: @grey5; |
|
239 | 239 | |
|
240 | 240 | .title { |
|
241 | 241 | overflow: visible; |
|
242 | 242 | } |
|
243 | 243 | |
|
244 | 244 | &:before, |
|
245 | 245 | &:after { |
|
246 | 246 | content: ""; |
|
247 | 247 | clear: both; |
|
248 | 248 | width: 100%; |
|
249 | 249 | } |
|
250 | 250 | |
|
251 | 251 | // TODO: johbo: Avoids breaking "Repositories" chooser |
|
252 | 252 | .select2-container .select2-choice .select2-arrow { |
|
253 | 253 | display: none; |
|
254 | 254 | } |
|
255 | 255 | } |
|
256 | 256 | |
|
257 | 257 | #header-inner { |
|
258 | 258 | &.title { |
|
259 | 259 | margin: 0; |
|
260 | 260 | } |
|
261 | 261 | &:before, |
|
262 | 262 | &:after { |
|
263 | 263 | content: ""; |
|
264 | 264 | clear: both; |
|
265 | 265 | } |
|
266 | 266 | } |
|
267 | 267 | |
|
268 | 268 | // Gists |
|
269 | 269 | #files_data { |
|
270 | 270 | clear: both; //for firefox |
|
271 | 271 | } |
|
272 | 272 | #gistid { |
|
273 | 273 | margin-right: @padding; |
|
274 | 274 | } |
|
275 | 275 | |
|
276 | 276 | // Global Settings Editor |
|
277 | 277 | .textarea.editor { |
|
278 | 278 | float: left; |
|
279 | 279 | position: relative; |
|
280 | 280 | max-width: @texteditor-width; |
|
281 | 281 | |
|
282 | 282 | select { |
|
283 | 283 | position: absolute; |
|
284 | 284 | top:10px; |
|
285 | 285 | right:0; |
|
286 | 286 | } |
|
287 | 287 | |
|
288 | 288 | .CodeMirror { |
|
289 | 289 | margin: 0; |
|
290 | 290 | } |
|
291 | 291 | |
|
292 | 292 | .help-block { |
|
293 | 293 | margin: 0 0 @padding; |
|
294 | 294 | padding:.5em; |
|
295 | 295 | background-color: @grey6; |
|
296 | 296 | &.pre-formatting { |
|
297 | 297 | white-space: pre; |
|
298 | 298 | } |
|
299 | 299 | } |
|
300 | 300 | } |
|
301 | 301 | |
|
302 | 302 | ul.auth_plugins { |
|
303 | 303 | margin: @padding 0 @padding @legend-width; |
|
304 | 304 | padding: 0; |
|
305 | 305 | |
|
306 | 306 | li { |
|
307 | 307 | margin-bottom: @padding; |
|
308 | 308 | line-height: 1em; |
|
309 | 309 | list-style-type: none; |
|
310 | 310 | |
|
311 | 311 | .auth_buttons .btn { |
|
312 | 312 | margin-right: @padding; |
|
313 | 313 | } |
|
314 | 314 | |
|
315 | 315 | &:before { content: none; } |
|
316 | 316 | } |
|
317 | 317 | } |
|
318 | 318 | |
|
319 | 319 | |
|
320 | 320 | // My Account PR list |
|
321 | 321 | |
|
322 | 322 | #show_closed { |
|
323 | 323 | margin: 0 1em 0 0; |
|
324 | 324 | } |
|
325 | 325 | |
|
326 | 326 | .pullrequestlist { |
|
327 | 327 | .closed { |
|
328 | 328 | background-color: @grey6; |
|
329 | 329 | } |
|
330 | 330 | .td-status { |
|
331 | 331 | padding-left: .5em; |
|
332 | 332 | } |
|
333 | 333 | .log-container .truncate { |
|
334 | 334 | height: 2.75em; |
|
335 | 335 | white-space: pre-line; |
|
336 | 336 | } |
|
337 | 337 | table.rctable .user { |
|
338 | 338 | padding-left: 0; |
|
339 | 339 | } |
|
340 | 340 | table.rctable { |
|
341 | 341 | td.td-description, |
|
342 | 342 | .rc-user { |
|
343 | 343 | min-width: auto; |
|
344 | 344 | } |
|
345 | 345 | } |
|
346 | 346 | } |
|
347 | 347 | |
|
348 | 348 | // Pull Requests |
|
349 | 349 | |
|
350 | 350 | .pullrequests_section_head { |
|
351 | 351 | display: block; |
|
352 | 352 | clear: both; |
|
353 | 353 | margin: @padding 0; |
|
354 | 354 | font-family: @text-bold; |
|
355 | 355 | } |
|
356 | 356 | |
|
357 | 357 | .pr-origininfo, .pr-targetinfo { |
|
358 | 358 | position: relative; |
|
359 | 359 | |
|
360 | 360 | .tag { |
|
361 | 361 | display: inline-block; |
|
362 | 362 | margin: 0 1em .5em 0; |
|
363 | 363 | } |
|
364 | 364 | |
|
365 | 365 | .clone-url { |
|
366 | 366 | display: inline-block; |
|
367 | 367 | margin: 0 0 .5em 0; |
|
368 | 368 | padding: 0; |
|
369 | 369 | line-height: 1.2em; |
|
370 | 370 | } |
|
371 | 371 | } |
|
372 | 372 | |
|
373 | 373 | .pr-mergeinfo { |
|
374 | 374 | min-width: 95% !important; |
|
375 | 375 | padding: 0 !important; |
|
376 | 376 | border: 0; |
|
377 | 377 | } |
|
378 | 378 | .pr-mergeinfo-copy { |
|
379 | 379 | padding: 0 0; |
|
380 | 380 | } |
|
381 | 381 | |
|
382 | 382 | .pr-pullinfo { |
|
383 | 383 | min-width: 95% !important; |
|
384 | 384 | padding: 0 !important; |
|
385 | 385 | border: 0; |
|
386 | 386 | } |
|
387 | 387 | .pr-pullinfo-copy { |
|
388 | 388 | padding: 0 0; |
|
389 | 389 | } |
|
390 | 390 | |
|
391 | 391 | |
|
392 | 392 | #pr-title-input { |
|
393 | 393 | width: 72%; |
|
394 | 394 | font-size: 1em; |
|
395 | 395 | font-family: @text-bold; |
|
396 | 396 | margin: 0; |
|
397 | 397 | padding: 0 0 0 @padding/4; |
|
398 | 398 | line-height: 1.7em; |
|
399 | 399 | color: @text-color; |
|
400 | 400 | letter-spacing: .02em; |
|
401 | 401 | } |
|
402 | 402 | |
|
403 | 403 | #pullrequest_title { |
|
404 | 404 | width: 100%; |
|
405 | 405 | box-sizing: border-box; |
|
406 | 406 | } |
|
407 | 407 | |
|
408 | 408 | #pr_open_message { |
|
409 | 409 | border: @border-thickness solid #fff; |
|
410 | 410 | border-radius: @border-radius; |
|
411 | 411 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; |
|
412 | 412 | text-align: left; |
|
413 | 413 | overflow: hidden; |
|
414 | 414 | } |
|
415 | 415 | |
|
416 | 416 | .pr-submit-button { |
|
417 | 417 | float: right; |
|
418 | 418 | margin: 0 0 0 5px; |
|
419 | 419 | } |
|
420 | 420 | |
|
421 | 421 | .pr-spacing-container { |
|
422 | 422 | padding: 20px; |
|
423 | 423 | clear: both |
|
424 | 424 | } |
|
425 | 425 | |
|
426 | 426 | #pr-description-input { |
|
427 | 427 | margin-bottom: 0; |
|
428 | 428 | } |
|
429 | 429 | |
|
430 | 430 | .pr-description-label { |
|
431 | 431 | vertical-align: top; |
|
432 | 432 | } |
|
433 | 433 | |
|
434 | 434 | .perms_section_head { |
|
435 | 435 | min-width: 625px; |
|
436 | 436 | |
|
437 | 437 | h2 { |
|
438 | 438 | margin-bottom: 0; |
|
439 | 439 | } |
|
440 | 440 | |
|
441 | 441 | .label-checkbox { |
|
442 | 442 | float: left; |
|
443 | 443 | } |
|
444 | 444 | |
|
445 | 445 | &.field { |
|
446 | 446 | margin: @space 0 @padding; |
|
447 | 447 | } |
|
448 | 448 | |
|
449 | 449 | &:first-child.field { |
|
450 | 450 | margin-top: 0; |
|
451 | 451 | |
|
452 | 452 | .label { |
|
453 | 453 | margin-top: 0; |
|
454 | 454 | padding-top: 0; |
|
455 | 455 | } |
|
456 | 456 | |
|
457 | 457 | .radios { |
|
458 | 458 | padding-top: 0; |
|
459 | 459 | } |
|
460 | 460 | } |
|
461 | 461 | |
|
462 | 462 | .radios { |
|
463 | 463 | position: relative; |
|
464 | 464 | width: 505px; |
|
465 | 465 | } |
|
466 | 466 | } |
|
467 | 467 | |
|
468 | 468 | //--- MODULES ------------------// |
|
469 | 469 | |
|
470 | 470 | |
|
471 | 471 | // Server Announcement |
|
472 | 472 | #server-announcement { |
|
473 | 473 | width: 95%; |
|
474 | 474 | margin: @padding auto; |
|
475 | 475 | padding: @padding; |
|
476 | 476 | border-width: 2px; |
|
477 | 477 | border-style: solid; |
|
478 | 478 | .border-radius(2px); |
|
479 | 479 | font-family: @text-bold; |
|
480 | 480 | |
|
481 | 481 | &.info { border-color: @alert4; background-color: @alert4-inner; } |
|
482 | 482 | &.warning { border-color: @alert3; background-color: @alert3-inner; } |
|
483 | 483 | &.error { border-color: @alert2; background-color: @alert2-inner; } |
|
484 | 484 | &.success { border-color: @alert1; background-color: @alert1-inner; } |
|
485 | 485 | &.neutral { border-color: @grey3; background-color: @grey6; } |
|
486 | 486 | } |
|
487 | 487 | |
|
488 | 488 | // Fixed Sidebar Column |
|
489 | 489 | .sidebar-col-wrapper { |
|
490 | 490 | padding-left: @sidebar-all-width; |
|
491 | 491 | |
|
492 | 492 | .sidebar { |
|
493 | 493 | width: @sidebar-width; |
|
494 | 494 | margin-left: -@sidebar-all-width; |
|
495 | 495 | } |
|
496 | 496 | } |
|
497 | 497 | |
|
498 | 498 | .sidebar-col-wrapper.scw-small { |
|
499 | 499 | padding-left: @sidebar-small-all-width; |
|
500 | 500 | |
|
501 | 501 | .sidebar { |
|
502 | 502 | width: @sidebar-small-width; |
|
503 | 503 | margin-left: -@sidebar-small-all-width; |
|
504 | 504 | } |
|
505 | 505 | } |
|
506 | 506 | |
|
507 | 507 | |
|
508 | 508 | // FOOTER |
|
509 | 509 | #footer { |
|
510 | 510 | padding: 0; |
|
511 | 511 | text-align: center; |
|
512 | 512 | vertical-align: middle; |
|
513 | 513 | color: @grey2; |
|
514 | 514 | background-color: @grey6; |
|
515 | 515 | |
|
516 | 516 | p { |
|
517 | 517 | margin: 0; |
|
518 | 518 | padding: 1em; |
|
519 | 519 | line-height: 1em; |
|
520 | 520 | } |
|
521 | 521 | |
|
522 | 522 | .server-instance { //server instance |
|
523 | 523 | display: none; |
|
524 | 524 | } |
|
525 | 525 | |
|
526 | 526 | .title { |
|
527 | 527 | float: none; |
|
528 | 528 | margin: 0 auto; |
|
529 | 529 | } |
|
530 | 530 | } |
|
531 | 531 | |
|
532 | 532 | button.close { |
|
533 | 533 | padding: 0; |
|
534 | 534 | cursor: pointer; |
|
535 | 535 | background: transparent; |
|
536 | 536 | border: 0; |
|
537 | 537 | .box-shadow(none); |
|
538 | 538 | -webkit-appearance: none; |
|
539 | 539 | } |
|
540 | 540 | |
|
541 | 541 | .close { |
|
542 | 542 | float: right; |
|
543 | 543 | font-size: 21px; |
|
544 | 544 | font-family: @text-bootstrap; |
|
545 | 545 | line-height: 1em; |
|
546 | 546 | font-weight: bold; |
|
547 | 547 | color: @grey2; |
|
548 | 548 | |
|
549 | 549 | &:hover, |
|
550 | 550 | &:focus { |
|
551 | 551 | color: @grey1; |
|
552 | 552 | text-decoration: none; |
|
553 | 553 | cursor: pointer; |
|
554 | 554 | } |
|
555 | 555 | } |
|
556 | 556 | |
|
557 | 557 | // GRID |
|
558 | 558 | .sorting, |
|
559 | 559 | .sorting_desc, |
|
560 | 560 | .sorting_asc { |
|
561 | 561 | cursor: pointer; |
|
562 | 562 | } |
|
563 | 563 | .sorting_desc:after { |
|
564 | 564 | content: "\00A0\25B2"; |
|
565 | 565 | font-size: .75em; |
|
566 | 566 | } |
|
567 | 567 | .sorting_asc:after { |
|
568 | 568 | content: "\00A0\25BC"; |
|
569 | 569 | font-size: .68em; |
|
570 | 570 | } |
|
571 | 571 | |
|
572 | 572 | |
|
573 | 573 | .user_auth_tokens { |
|
574 | 574 | |
|
575 | 575 | &.truncate { |
|
576 | 576 | white-space: nowrap; |
|
577 | 577 | overflow: hidden; |
|
578 | 578 | text-overflow: ellipsis; |
|
579 | 579 | } |
|
580 | 580 | |
|
581 | 581 | .fields .field .input { |
|
582 | 582 | margin: 0; |
|
583 | 583 | } |
|
584 | 584 | |
|
585 | 585 | input#description { |
|
586 | 586 | width: 100px; |
|
587 | 587 | margin: 0; |
|
588 | 588 | } |
|
589 | 589 | |
|
590 | 590 | .drop-menu { |
|
591 | 591 | // TODO: johbo: Remove this, should work out of the box when |
|
592 | 592 | // having multiple inputs inline |
|
593 | 593 | margin: 0 0 0 5px; |
|
594 | 594 | } |
|
595 | 595 | } |
|
596 | 596 | #user_list_table { |
|
597 | 597 | .closed { |
|
598 | 598 | background-color: @grey6; |
|
599 | 599 | } |
|
600 | 600 | } |
|
601 | 601 | |
|
602 | 602 | |
|
603 | 603 | input { |
|
604 | 604 | &.disabled { |
|
605 | 605 | opacity: .5; |
|
606 | 606 | } |
|
607 | 607 | } |
|
608 | 608 | |
|
609 | 609 | // remove extra padding in firefox |
|
610 | 610 | input::-moz-focus-inner { border:0; padding:0 } |
|
611 | 611 | |
|
612 | 612 | .adjacent input { |
|
613 | 613 | margin-bottom: @padding; |
|
614 | 614 | } |
|
615 | 615 | |
|
616 | 616 | .permissions_boxes { |
|
617 | 617 | display: block; |
|
618 | 618 | } |
|
619 | 619 | |
|
620 | 620 | //TODO: lisa: this should be in tables |
|
621 | 621 | .show_more_col { |
|
622 | 622 | width: 20px; |
|
623 | 623 | } |
|
624 | 624 | |
|
625 | 625 | //FORMS |
|
626 | 626 | |
|
627 | 627 | .medium-inline, |
|
628 | 628 | input#description.medium-inline { |
|
629 | 629 | display: inline; |
|
630 | 630 | width: @medium-inline-input-width; |
|
631 | 631 | min-width: 100px; |
|
632 | 632 | } |
|
633 | 633 | |
|
634 | 634 | select { |
|
635 | 635 | //reset |
|
636 | 636 | -webkit-appearance: none; |
|
637 | 637 | -moz-appearance: none; |
|
638 | 638 | |
|
639 | 639 | display: inline-block; |
|
640 | 640 | height: 28px; |
|
641 | 641 | width: auto; |
|
642 | 642 | margin: 0 @padding @padding 0; |
|
643 | 643 | padding: 0 18px 0 8px; |
|
644 | 644 | line-height:1em; |
|
645 | 645 | font-size: @basefontsize; |
|
646 | 646 | border: @border-thickness solid @rcblue; |
|
647 | 647 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; |
|
648 | 648 | color: @rcblue; |
|
649 | 649 | |
|
650 | 650 | &:after { |
|
651 | 651 | content: "\00A0\25BE"; |
|
652 | 652 | } |
|
653 | 653 | |
|
654 | 654 | &:focus { |
|
655 | 655 | outline: none; |
|
656 | 656 | } |
|
657 | 657 | } |
|
658 | 658 | |
|
659 | 659 | option { |
|
660 | 660 | &:focus { |
|
661 | 661 | outline: none; |
|
662 | 662 | } |
|
663 | 663 | } |
|
664 | 664 | |
|
665 | 665 | input, |
|
666 | 666 | textarea { |
|
667 | 667 | padding: @input-padding; |
|
668 | 668 | border: @input-border-thickness solid @border-highlight-color; |
|
669 | 669 | .border-radius (@border-radius); |
|
670 | 670 | font-family: @text-light; |
|
671 | 671 | font-size: @basefontsize; |
|
672 | 672 | |
|
673 | 673 | &.input-sm { |
|
674 | 674 | padding: 5px; |
|
675 | 675 | } |
|
676 | 676 | |
|
677 | 677 | &#description { |
|
678 | 678 | min-width: @input-description-minwidth; |
|
679 | 679 | min-height: 1em; |
|
680 | 680 | padding: 10px; |
|
681 | 681 | } |
|
682 | 682 | } |
|
683 | 683 | |
|
684 | 684 | .field-sm { |
|
685 | 685 | input, |
|
686 | 686 | textarea { |
|
687 | 687 | padding: 5px; |
|
688 | 688 | } |
|
689 | 689 | } |
|
690 | 690 | |
|
691 | 691 | textarea { |
|
692 | 692 | display: block; |
|
693 | 693 | clear: both; |
|
694 | 694 | width: 100%; |
|
695 | 695 | min-height: 100px; |
|
696 | 696 | margin-bottom: @padding; |
|
697 | 697 | .box-sizing(border-box); |
|
698 | 698 | overflow: auto; |
|
699 | 699 | } |
|
700 | 700 | |
|
701 | 701 | label { |
|
702 | 702 | font-family: @text-light; |
|
703 | 703 | } |
|
704 | 704 | |
|
705 | 705 | // GRAVATARS |
|
706 | 706 | // centers gravatar on username to the right |
|
707 | 707 | |
|
708 | 708 | .gravatar { |
|
709 | 709 | display: inline; |
|
710 | 710 | min-width: 16px; |
|
711 | 711 | min-height: 16px; |
|
712 | 712 | margin: -5px 0; |
|
713 | 713 | padding: 0; |
|
714 | 714 | line-height: 1em; |
|
715 | 715 | border: 1px solid @grey4; |
|
716 | 716 | box-sizing: content-box; |
|
717 | 717 | |
|
718 | 718 | &.gravatar-large { |
|
719 | 719 | margin: -0.5em .25em -0.5em 0; |
|
720 | 720 | } |
|
721 | 721 | |
|
722 | 722 | & + .user { |
|
723 | 723 | display: inline; |
|
724 | 724 | margin: 0; |
|
725 | 725 | padding: 0 0 0 .17em; |
|
726 | 726 | line-height: 1em; |
|
727 | 727 | } |
|
728 | 728 | } |
|
729 | 729 | |
|
730 | 730 | .user-inline-data { |
|
731 | 731 | display: inline-block; |
|
732 | 732 | float: left; |
|
733 | 733 | padding-left: .5em; |
|
734 | 734 | line-height: 1.3em; |
|
735 | 735 | } |
|
736 | 736 | |
|
737 | 737 | .rc-user { // gravatar + user wrapper |
|
738 | 738 | float: left; |
|
739 | 739 | position: relative; |
|
740 | 740 | min-width: 100px; |
|
741 | 741 | max-width: 200px; |
|
742 | 742 | min-height: (@gravatar-size + @border-thickness * 2); // account for border |
|
743 | 743 | display: block; |
|
744 | 744 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); |
|
745 | 745 | |
|
746 | 746 | |
|
747 | 747 | .gravatar { |
|
748 | 748 | display: block; |
|
749 | 749 | position: absolute; |
|
750 | 750 | top: 0; |
|
751 | 751 | left: 0; |
|
752 | 752 | min-width: @gravatar-size; |
|
753 | 753 | min-height: @gravatar-size; |
|
754 | 754 | margin: 0; |
|
755 | 755 | } |
|
756 | 756 | |
|
757 | 757 | .user { |
|
758 | 758 | display: block; |
|
759 | 759 | max-width: 175px; |
|
760 | 760 | padding-top: 2px; |
|
761 | 761 | overflow: hidden; |
|
762 | 762 | text-overflow: ellipsis; |
|
763 | 763 | } |
|
764 | 764 | } |
|
765 | 765 | |
|
766 | 766 | .gist-gravatar, |
|
767 | 767 | .journal_container { |
|
768 | 768 | .gravatar-large { |
|
769 | 769 | margin: 0 .5em -10px 0; |
|
770 | 770 | } |
|
771 | 771 | } |
|
772 | 772 | |
|
773 | 773 | |
|
774 | 774 | // ADMIN SETTINGS |
|
775 | 775 | |
|
776 | 776 | // Tag Patterns |
|
777 | 777 | .tag_patterns { |
|
778 | 778 | .tag_input { |
|
779 | 779 | margin-bottom: @padding; |
|
780 | 780 | } |
|
781 | 781 | } |
|
782 | 782 | |
|
783 | 783 | .locked_input { |
|
784 | 784 | position: relative; |
|
785 | 785 | |
|
786 | 786 | input { |
|
787 | 787 | display: inline; |
|
788 | 788 | margin: 3px 5px 0px 0px; |
|
789 | 789 | } |
|
790 | 790 | |
|
791 | 791 | br { |
|
792 | 792 | display: none; |
|
793 | 793 | } |
|
794 | 794 | |
|
795 | 795 | .error-message { |
|
796 | 796 | float: left; |
|
797 | 797 | width: 100%; |
|
798 | 798 | } |
|
799 | 799 | |
|
800 | 800 | .lock_input_button { |
|
801 | 801 | display: inline; |
|
802 | 802 | } |
|
803 | 803 | |
|
804 | 804 | .help-block { |
|
805 | 805 | clear: both; |
|
806 | 806 | } |
|
807 | 807 | } |
|
808 | 808 | |
|
809 | 809 | // Notifications |
|
810 | 810 | |
|
811 | 811 | .notifications_buttons { |
|
812 | 812 | margin: 0 0 @space 0; |
|
813 | 813 | padding: 0; |
|
814 | 814 | |
|
815 | 815 | .btn { |
|
816 | 816 | display: inline-block; |
|
817 | 817 | } |
|
818 | 818 | } |
|
819 | 819 | |
|
820 | 820 | .notification-list { |
|
821 | 821 | |
|
822 | 822 | div { |
|
823 | 823 | display: inline-block; |
|
824 | 824 | vertical-align: middle; |
|
825 | 825 | } |
|
826 | 826 | |
|
827 | 827 | .container { |
|
828 | 828 | display: block; |
|
829 | 829 | margin: 0 0 @padding 0; |
|
830 | 830 | } |
|
831 | 831 | |
|
832 | 832 | .delete-notifications { |
|
833 | 833 | margin-left: @padding; |
|
834 | 834 | text-align: right; |
|
835 | 835 | cursor: pointer; |
|
836 | 836 | } |
|
837 | 837 | |
|
838 | 838 | .read-notifications { |
|
839 | 839 | margin-left: @padding/2; |
|
840 | 840 | text-align: right; |
|
841 | 841 | width: 35px; |
|
842 | 842 | cursor: pointer; |
|
843 | 843 | } |
|
844 | 844 | |
|
845 | 845 | .icon-minus-sign { |
|
846 | 846 | color: @alert2; |
|
847 | 847 | } |
|
848 | 848 | |
|
849 | 849 | .icon-ok-sign { |
|
850 | 850 | color: @alert1; |
|
851 | 851 | } |
|
852 | 852 | } |
|
853 | 853 | |
|
854 | 854 | .user_settings { |
|
855 | 855 | float: left; |
|
856 | 856 | clear: both; |
|
857 | 857 | display: block; |
|
858 | 858 | width: 100%; |
|
859 | 859 | |
|
860 | 860 | .gravatar_box { |
|
861 | 861 | margin-bottom: @padding; |
|
862 | 862 | |
|
863 | 863 | &:after { |
|
864 | 864 | content: " "; |
|
865 | 865 | clear: both; |
|
866 | 866 | width: 100%; |
|
867 | 867 | } |
|
868 | 868 | } |
|
869 | 869 | |
|
870 | 870 | .fields .field { |
|
871 | 871 | clear: both; |
|
872 | 872 | } |
|
873 | 873 | } |
|
874 | 874 | |
|
875 | 875 | .advanced_settings { |
|
876 | 876 | margin-bottom: @space; |
|
877 | 877 | |
|
878 | 878 | .help-block { |
|
879 | 879 | margin-left: 0; |
|
880 | 880 | } |
|
881 | 881 | |
|
882 | 882 | button + .help-block { |
|
883 | 883 | margin-top: @padding; |
|
884 | 884 | } |
|
885 | 885 | } |
|
886 | 886 | |
|
887 | 887 | // admin settings radio buttons and labels |
|
888 | 888 | .label-2 { |
|
889 | 889 | float: left; |
|
890 | 890 | width: @label2-width; |
|
891 | 891 | |
|
892 | 892 | label { |
|
893 | 893 | color: @grey1; |
|
894 | 894 | } |
|
895 | 895 | } |
|
896 | 896 | .checkboxes { |
|
897 | 897 | float: left; |
|
898 | 898 | width: @checkboxes-width; |
|
899 | 899 | margin-bottom: @padding; |
|
900 | 900 | |
|
901 | 901 | .checkbox { |
|
902 | 902 | width: 100%; |
|
903 | 903 | |
|
904 | 904 | label { |
|
905 | 905 | margin: 0; |
|
906 | 906 | padding: 0; |
|
907 | 907 | } |
|
908 | 908 | } |
|
909 | 909 | |
|
910 | 910 | .checkbox + .checkbox { |
|
911 | 911 | display: inline-block; |
|
912 | 912 | } |
|
913 | 913 | |
|
914 | 914 | label { |
|
915 | 915 | margin-right: 1em; |
|
916 | 916 | } |
|
917 | 917 | } |
|
918 | 918 | |
|
919 | 919 | // CHANGELOG |
|
920 | 920 | .container_header { |
|
921 | 921 | float: left; |
|
922 | 922 | display: block; |
|
923 | 923 | width: 100%; |
|
924 | 924 | margin: @padding 0 @padding; |
|
925 | 925 | |
|
926 | 926 | #filter_changelog { |
|
927 | 927 | float: left; |
|
928 | 928 | margin-right: @padding; |
|
929 | 929 | } |
|
930 | 930 | |
|
931 | 931 | .breadcrumbs_light { |
|
932 | 932 | display: inline-block; |
|
933 | 933 | } |
|
934 | 934 | } |
|
935 | 935 | |
|
936 | 936 | .info_box { |
|
937 | 937 | float: right; |
|
938 | 938 | } |
|
939 | 939 | |
|
940 | 940 | |
|
941 | 941 | #graph_nodes { |
|
942 | 942 | padding-top: 43px; |
|
943 | 943 | } |
|
944 | 944 | |
|
945 | 945 | #graph_content{ |
|
946 | 946 | |
|
947 | 947 | // adjust for table headers so that graph renders properly |
|
948 | 948 | // #graph_nodes padding - table cell padding |
|
949 | 949 | padding-top: (@space - (@basefontsize * 2.4)); |
|
950 | 950 | |
|
951 | 951 | &.graph_full_width { |
|
952 | 952 | width: 100%; |
|
953 | 953 | max-width: 100%; |
|
954 | 954 | } |
|
955 | 955 | } |
|
956 | 956 | |
|
957 | 957 | #graph { |
|
958 | 958 | .flag_status { |
|
959 | 959 | margin: 0; |
|
960 | 960 | } |
|
961 | 961 | |
|
962 | 962 | .pagination-left { |
|
963 | 963 | float: left; |
|
964 | 964 | clear: both; |
|
965 | 965 | } |
|
966 | 966 | |
|
967 | 967 | .log-container { |
|
968 | 968 | max-width: 345px; |
|
969 | 969 | |
|
970 | 970 | .message{ |
|
971 | 971 | max-width: 340px; |
|
972 | 972 | } |
|
973 | 973 | } |
|
974 | 974 | |
|
975 | 975 | .graph-col-wrapper { |
|
976 | 976 | padding-left: 110px; |
|
977 | 977 | |
|
978 | 978 | #graph_nodes { |
|
979 | 979 | width: 100px; |
|
980 | 980 | margin-left: -110px; |
|
981 | 981 | float: left; |
|
982 | 982 | clear: left; |
|
983 | 983 | } |
|
984 | 984 | } |
|
985 | 985 | |
|
986 | 986 | .load-more-commits { |
|
987 | 987 | text-align: center; |
|
988 | 988 | } |
|
989 | 989 | .load-more-commits:hover { |
|
990 | 990 | background-color: @grey7; |
|
991 | 991 | } |
|
992 | 992 | .load-more-commits { |
|
993 | 993 | a { |
|
994 | 994 | display: block; |
|
995 | 995 | } |
|
996 | 996 | } |
|
997 | 997 | } |
|
998 | 998 | |
|
999 | 999 | #filter_changelog { |
|
1000 | 1000 | float: left; |
|
1001 | 1001 | } |
|
1002 | 1002 | |
|
1003 | 1003 | |
|
1004 | 1004 | //--- THEME ------------------// |
|
1005 | 1005 | |
|
1006 | 1006 | #logo { |
|
1007 | 1007 | float: left; |
|
1008 | 1008 | margin: 9px 0 0 0; |
|
1009 | 1009 | |
|
1010 | 1010 | .header { |
|
1011 | 1011 | background-color: transparent; |
|
1012 | 1012 | } |
|
1013 | 1013 | |
|
1014 | 1014 | a { |
|
1015 | 1015 | display: inline-block; |
|
1016 | 1016 | } |
|
1017 | 1017 | |
|
1018 | 1018 | img { |
|
1019 | 1019 | height:30px; |
|
1020 | 1020 | } |
|
1021 | 1021 | } |
|
1022 | 1022 | |
|
1023 | 1023 | .logo-wrapper { |
|
1024 | 1024 | float:left; |
|
1025 | 1025 | } |
|
1026 | 1026 | |
|
1027 | 1027 | .branding{ |
|
1028 | 1028 | float: left; |
|
1029 | 1029 | padding: 9px 2px; |
|
1030 | 1030 | line-height: 1em; |
|
1031 | 1031 | font-size: @navigation-fontsize; |
|
1032 | 1032 | } |
|
1033 | 1033 | |
|
1034 | 1034 | img { |
|
1035 | 1035 | border: none; |
|
1036 | 1036 | outline: none; |
|
1037 | 1037 | } |
|
1038 | 1038 | user-profile-header |
|
1039 | 1039 | label { |
|
1040 | 1040 | |
|
1041 | 1041 | input[type="checkbox"] { |
|
1042 | 1042 | margin-right: 1em; |
|
1043 | 1043 | } |
|
1044 | 1044 | input[type="radio"] { |
|
1045 | 1045 | margin-right: 1em; |
|
1046 | 1046 | } |
|
1047 | 1047 | } |
|
1048 | 1048 | |
|
1049 | 1049 | .flag_status { |
|
1050 | 1050 | margin: 2px 8px 6px 2px; |
|
1051 | 1051 | &.under_review { |
|
1052 | 1052 | .circle(5px, @alert3); |
|
1053 | 1053 | } |
|
1054 | 1054 | &.approved { |
|
1055 | 1055 | .circle(5px, @alert1); |
|
1056 | 1056 | } |
|
1057 | 1057 | &.rejected, |
|
1058 | 1058 | &.forced_closed{ |
|
1059 | 1059 | .circle(5px, @alert2); |
|
1060 | 1060 | } |
|
1061 | 1061 | &.not_reviewed { |
|
1062 | 1062 | .circle(5px, @grey5); |
|
1063 | 1063 | } |
|
1064 | 1064 | } |
|
1065 | 1065 | |
|
1066 | 1066 | .flag_status_comment_box { |
|
1067 | 1067 | margin: 5px 6px 0px 2px; |
|
1068 | 1068 | } |
|
1069 | 1069 | .test_pattern_preview { |
|
1070 | 1070 | margin: @space 0; |
|
1071 | 1071 | |
|
1072 | 1072 | p { |
|
1073 | 1073 | margin-bottom: 0; |
|
1074 | 1074 | border-bottom: @border-thickness solid @border-default-color; |
|
1075 | 1075 | color: @grey3; |
|
1076 | 1076 | } |
|
1077 | 1077 | |
|
1078 | 1078 | .btn { |
|
1079 | 1079 | margin-bottom: @padding; |
|
1080 | 1080 | } |
|
1081 | 1081 | } |
|
1082 | 1082 | #test_pattern_result { |
|
1083 | 1083 | display: none; |
|
1084 | 1084 | &:extend(pre); |
|
1085 | 1085 | padding: .9em; |
|
1086 | 1086 | color: @grey3; |
|
1087 | 1087 | background-color: @grey7; |
|
1088 | 1088 | border-right: @border-thickness solid @border-default-color; |
|
1089 | 1089 | border-bottom: @border-thickness solid @border-default-color; |
|
1090 | 1090 | border-left: @border-thickness solid @border-default-color; |
|
1091 | 1091 | } |
|
1092 | 1092 | |
|
1093 | 1093 | #repo_vcs_settings { |
|
1094 | 1094 | #inherit_overlay_vcs_default { |
|
1095 | 1095 | display: none; |
|
1096 | 1096 | } |
|
1097 | 1097 | #inherit_overlay_vcs_custom { |
|
1098 | 1098 | display: custom; |
|
1099 | 1099 | } |
|
1100 | 1100 | &.inherited { |
|
1101 | 1101 | #inherit_overlay_vcs_default { |
|
1102 | 1102 | display: block; |
|
1103 | 1103 | } |
|
1104 | 1104 | #inherit_overlay_vcs_custom { |
|
1105 | 1105 | display: none; |
|
1106 | 1106 | } |
|
1107 | 1107 | } |
|
1108 | 1108 | } |
|
1109 | 1109 | |
|
1110 | 1110 | .issue-tracker-link { |
|
1111 | 1111 | color: @rcblue; |
|
1112 | 1112 | } |
|
1113 | 1113 | |
|
1114 | 1114 | // Issue Tracker Table Show/Hide |
|
1115 | 1115 | #repo_issue_tracker { |
|
1116 | 1116 | #inherit_overlay { |
|
1117 | 1117 | display: none; |
|
1118 | 1118 | } |
|
1119 | 1119 | #custom_overlay { |
|
1120 | 1120 | display: custom; |
|
1121 | 1121 | } |
|
1122 | 1122 | &.inherited { |
|
1123 | 1123 | #inherit_overlay { |
|
1124 | 1124 | display: block; |
|
1125 | 1125 | } |
|
1126 | 1126 | #custom_overlay { |
|
1127 | 1127 | display: none; |
|
1128 | 1128 | } |
|
1129 | 1129 | } |
|
1130 | 1130 | } |
|
1131 | 1131 | table.issuetracker { |
|
1132 | 1132 | &.readonly { |
|
1133 | 1133 | tr, td { |
|
1134 | 1134 | color: @grey3; |
|
1135 | 1135 | } |
|
1136 | 1136 | } |
|
1137 | 1137 | .edit { |
|
1138 | 1138 | display: none; |
|
1139 | 1139 | } |
|
1140 | 1140 | .editopen { |
|
1141 | 1141 | .edit { |
|
1142 | 1142 | display: inline; |
|
1143 | 1143 | } |
|
1144 | 1144 | .entry { |
|
1145 | 1145 | display: none; |
|
1146 | 1146 | } |
|
1147 | 1147 | } |
|
1148 | 1148 | tr td.td-action { |
|
1149 | 1149 | min-width: 117px; |
|
1150 | 1150 | } |
|
1151 | 1151 | td input { |
|
1152 | 1152 | max-width: none; |
|
1153 | 1153 | min-width: 30px; |
|
1154 | 1154 | width: 80%; |
|
1155 | 1155 | } |
|
1156 | 1156 | .issuetracker_pref input { |
|
1157 | 1157 | width: 40%; |
|
1158 | 1158 | } |
|
1159 | 1159 | input.edit_issuetracker_update { |
|
1160 | 1160 | margin-right: 0; |
|
1161 | 1161 | width: auto; |
|
1162 | 1162 | } |
|
1163 | 1163 | } |
|
1164 | 1164 | |
|
1165 | 1165 | table.integrations { |
|
1166 | 1166 | .td-icon { |
|
1167 | 1167 | width: 20px; |
|
1168 | 1168 | .integration-icon { |
|
1169 | 1169 | height: 20px; |
|
1170 | 1170 | width: 20px; |
|
1171 | 1171 | } |
|
1172 | 1172 | } |
|
1173 | 1173 | } |
|
1174 | 1174 | |
|
1175 | 1175 | .integrations { |
|
1176 | 1176 | a.integration-box { |
|
1177 | 1177 | color: @text-color; |
|
1178 | 1178 | &:hover { |
|
1179 | 1179 | .panel { |
|
1180 | 1180 | background: #fbfbfb; |
|
1181 | 1181 | } |
|
1182 | 1182 | } |
|
1183 | 1183 | .integration-icon { |
|
1184 | 1184 | width: 30px; |
|
1185 | 1185 | height: 30px; |
|
1186 | 1186 | margin-right: 20px; |
|
1187 | 1187 | float: left; |
|
1188 | 1188 | } |
|
1189 | 1189 | |
|
1190 | 1190 | .panel-body { |
|
1191 | 1191 | padding: 10px; |
|
1192 | 1192 | } |
|
1193 | 1193 | .panel { |
|
1194 | 1194 | margin-bottom: 10px; |
|
1195 | 1195 | } |
|
1196 | 1196 | h2 { |
|
1197 | 1197 | display: inline-block; |
|
1198 | 1198 | margin: 0; |
|
1199 | 1199 | min-width: 140px; |
|
1200 | 1200 | } |
|
1201 | 1201 | } |
|
1202 | 1202 | a.integration-box.dummy-integration { |
|
1203 | 1203 | color: @grey4 |
|
1204 | 1204 | } |
|
1205 | 1205 | } |
|
1206 | 1206 | |
|
1207 | 1207 | //Permissions Settings |
|
1208 | 1208 | #add_perm { |
|
1209 | 1209 | margin: 0 0 @padding; |
|
1210 | 1210 | cursor: pointer; |
|
1211 | 1211 | } |
|
1212 | 1212 | |
|
1213 | 1213 | .perm_ac { |
|
1214 | 1214 | input { |
|
1215 | 1215 | width: 95%; |
|
1216 | 1216 | } |
|
1217 | 1217 | } |
|
1218 | 1218 | |
|
1219 | 1219 | .autocomplete-suggestions { |
|
1220 | 1220 | width: auto !important; // overrides autocomplete.js |
|
1221 | 1221 | margin: 0; |
|
1222 | 1222 | border: @border-thickness solid @rcblue; |
|
1223 | 1223 | border-radius: @border-radius; |
|
1224 | 1224 | color: @rcblue; |
|
1225 | 1225 | background-color: white; |
|
1226 | 1226 | } |
|
1227 | 1227 | .autocomplete-selected { |
|
1228 | 1228 | background: #F0F0F0; |
|
1229 | 1229 | } |
|
1230 | 1230 | .ac-container-wrap { |
|
1231 | 1231 | margin: 0; |
|
1232 | 1232 | padding: 8px; |
|
1233 | 1233 | border-bottom: @border-thickness solid @rclightblue; |
|
1234 | 1234 | list-style-type: none; |
|
1235 | 1235 | cursor: pointer; |
|
1236 | 1236 | |
|
1237 | 1237 | &:hover { |
|
1238 | 1238 | background-color: @rclightblue; |
|
1239 | 1239 | } |
|
1240 | 1240 | |
|
1241 | 1241 | img { |
|
1242 | 1242 | height: @gravatar-size; |
|
1243 | 1243 | width: @gravatar-size; |
|
1244 | 1244 | margin-right: 1em; |
|
1245 | 1245 | } |
|
1246 | 1246 | |
|
1247 | 1247 | strong { |
|
1248 | 1248 | font-weight: normal; |
|
1249 | 1249 | } |
|
1250 | 1250 | } |
|
1251 | 1251 | |
|
1252 | 1252 | // Settings Dropdown |
|
1253 | 1253 | .user-menu .container { |
|
1254 | 1254 | padding: 0 4px; |
|
1255 | 1255 | margin: 0; |
|
1256 | 1256 | } |
|
1257 | 1257 | |
|
1258 | 1258 | .user-menu .gravatar { |
|
1259 | 1259 | cursor: pointer; |
|
1260 | 1260 | } |
|
1261 | 1261 | |
|
1262 | 1262 | .codeblock { |
|
1263 | 1263 | margin-bottom: @padding; |
|
1264 | 1264 | clear: both; |
|
1265 | 1265 | |
|
1266 | 1266 | .stats{ |
|
1267 | 1267 | overflow: hidden; |
|
1268 | 1268 | } |
|
1269 | 1269 | |
|
1270 | 1270 | .message{ |
|
1271 | 1271 | textarea{ |
|
1272 | 1272 | margin: 0; |
|
1273 | 1273 | } |
|
1274 | 1274 | } |
|
1275 | 1275 | |
|
1276 | 1276 | .code-header { |
|
1277 | 1277 | .stats { |
|
1278 | 1278 | line-height: 2em; |
|
1279 | 1279 | |
|
1280 | 1280 | .revision_id { |
|
1281 | 1281 | margin-left: 0; |
|
1282 | 1282 | } |
|
1283 | 1283 | .buttons { |
|
1284 | 1284 | padding-right: 0; |
|
1285 | 1285 | } |
|
1286 | 1286 | } |
|
1287 | 1287 | |
|
1288 | 1288 | .item{ |
|
1289 | 1289 | margin-right: 0.5em; |
|
1290 | 1290 | } |
|
1291 | 1291 | } |
|
1292 | 1292 | |
|
1293 | 1293 | #editor_container{ |
|
1294 | 1294 | position: relative; |
|
1295 | 1295 | margin: @padding; |
|
1296 | 1296 | } |
|
1297 | 1297 | } |
|
1298 | 1298 | |
|
1299 | 1299 | #file_history_container { |
|
1300 | 1300 | display: none; |
|
1301 | 1301 | } |
|
1302 | 1302 | |
|
1303 | 1303 | .file-history-inner { |
|
1304 | 1304 | margin-bottom: 10px; |
|
1305 | 1305 | } |
|
1306 | 1306 | |
|
1307 | 1307 | // Pull Requests |
|
1308 | 1308 | .summary-details { |
|
1309 | 1309 | width: 72%; |
|
1310 | 1310 | } |
|
1311 | 1311 | .pr-summary { |
|
1312 | 1312 | border-bottom: @border-thickness solid @grey5; |
|
1313 | 1313 | margin-bottom: @space; |
|
1314 | 1314 | } |
|
1315 | 1315 | .reviewers-title { |
|
1316 | 1316 | width: 25%; |
|
1317 | 1317 | min-width: 200px; |
|
1318 | 1318 | } |
|
1319 | 1319 | .reviewers { |
|
1320 | 1320 | width: 25%; |
|
1321 | 1321 | min-width: 200px; |
|
1322 | 1322 | } |
|
1323 | 1323 | .reviewers ul li { |
|
1324 | 1324 | position: relative; |
|
1325 | 1325 | width: 100%; |
|
1326 | 1326 | padding-bottom: 8px; |
|
1327 | 1327 | } |
|
1328 | 1328 | |
|
1329 | 1329 | .reviewer_entry { |
|
1330 | 1330 | min-height: 55px; |
|
1331 | 1331 | } |
|
1332 | 1332 | |
|
1333 | 1333 | .reviewers_member { |
|
1334 | 1334 | width: 100%; |
|
1335 | 1335 | overflow: auto; |
|
1336 | 1336 | } |
|
1337 | 1337 | .reviewer_reason { |
|
1338 | 1338 | padding-left: 20px; |
|
1339 | 1339 | line-height: 1.5em; |
|
1340 | 1340 | } |
|
1341 | 1341 | .reviewer_status { |
|
1342 | 1342 | display: inline-block; |
|
1343 | 1343 | vertical-align: top; |
|
1344 | 1344 | width: 25px; |
|
1345 | 1345 | min-width: 25px; |
|
1346 | 1346 | height: 1.2em; |
|
1347 | 1347 | margin-top: 3px; |
|
1348 | 1348 | line-height: 1em; |
|
1349 | 1349 | } |
|
1350 | 1350 | |
|
1351 | 1351 | .reviewer_name { |
|
1352 | 1352 | display: inline-block; |
|
1353 | 1353 | max-width: 83%; |
|
1354 | 1354 | padding-right: 20px; |
|
1355 | 1355 | vertical-align: middle; |
|
1356 | 1356 | line-height: 1; |
|
1357 | 1357 | |
|
1358 | 1358 | .rc-user { |
|
1359 | 1359 | min-width: 0; |
|
1360 | 1360 | margin: -2px 1em 0 0; |
|
1361 | 1361 | } |
|
1362 | 1362 | |
|
1363 | 1363 | .reviewer { |
|
1364 | 1364 | float: left; |
|
1365 | 1365 | } |
|
1366 | 1366 | } |
|
1367 | 1367 | |
|
1368 | 1368 | .reviewer_member_mandatory { |
|
1369 | 1369 | position: absolute; |
|
1370 | 1370 | left: 15px; |
|
1371 | 1371 | top: 8px; |
|
1372 | 1372 | width: 16px; |
|
1373 | 1373 | font-size: 11px; |
|
1374 | 1374 | margin: 0; |
|
1375 | 1375 | padding: 0; |
|
1376 | 1376 | color: black; |
|
1377 | 1377 | } |
|
1378 | 1378 | |
|
1379 | 1379 | .reviewer_member_mandatory_remove, |
|
1380 | 1380 | .reviewer_member_remove { |
|
1381 | 1381 | position: absolute; |
|
1382 | 1382 | right: 0; |
|
1383 | 1383 | top: 0; |
|
1384 | 1384 | width: 16px; |
|
1385 | 1385 | margin-bottom: 10px; |
|
1386 | 1386 | padding: 0; |
|
1387 | 1387 | color: black; |
|
1388 | 1388 | } |
|
1389 | 1389 | |
|
1390 | 1390 | .reviewer_member_mandatory_remove { |
|
1391 | 1391 | color: @grey4; |
|
1392 | 1392 | } |
|
1393 | 1393 | |
|
1394 | 1394 | .reviewer_member_status { |
|
1395 | 1395 | margin-top: 5px; |
|
1396 | 1396 | } |
|
1397 | 1397 | .pr-summary #summary{ |
|
1398 | 1398 | width: 100%; |
|
1399 | 1399 | } |
|
1400 | 1400 | .pr-summary .action_button:hover { |
|
1401 | 1401 | border: 0; |
|
1402 | 1402 | cursor: pointer; |
|
1403 | 1403 | } |
|
1404 | 1404 | .pr-details-title { |
|
1405 | 1405 | padding-bottom: 8px; |
|
1406 | 1406 | border-bottom: @border-thickness solid @grey5; |
|
1407 | 1407 | |
|
1408 | 1408 | .action_button.disabled { |
|
1409 | 1409 | color: @grey4; |
|
1410 | 1410 | cursor: inherit; |
|
1411 | 1411 | } |
|
1412 | 1412 | .action_button { |
|
1413 | 1413 | color: @rcblue; |
|
1414 | 1414 | } |
|
1415 | 1415 | } |
|
1416 | 1416 | .pr-details-content { |
|
1417 | 1417 | margin-top: @textmargin; |
|
1418 | 1418 | margin-bottom: @textmargin; |
|
1419 | 1419 | } |
|
1420 | 1420 | |
|
1421 | 1421 | .pr-reviewer-rules { |
|
1422 | 1422 | padding: 10px 0px 20px 0px; |
|
1423 | 1423 | } |
|
1424 | 1424 | |
|
1425 | 1425 | .group_members { |
|
1426 | 1426 | margin-top: 0; |
|
1427 | 1427 | padding: 0; |
|
1428 | 1428 | list-style: outside none none; |
|
1429 | 1429 | |
|
1430 | 1430 | img { |
|
1431 | 1431 | height: @gravatar-size; |
|
1432 | 1432 | width: @gravatar-size; |
|
1433 | 1433 | margin-right: .5em; |
|
1434 | 1434 | margin-left: 3px; |
|
1435 | 1435 | } |
|
1436 | 1436 | |
|
1437 | 1437 | .to-delete { |
|
1438 | 1438 | .user { |
|
1439 | 1439 | text-decoration: line-through; |
|
1440 | 1440 | } |
|
1441 | 1441 | } |
|
1442 | 1442 | } |
|
1443 | 1443 | |
|
1444 | 1444 | .compare_view_commits_title { |
|
1445 | 1445 | .disabled { |
|
1446 | 1446 | cursor: inherit; |
|
1447 | 1447 | &:hover{ |
|
1448 | 1448 | background-color: inherit; |
|
1449 | 1449 | color: inherit; |
|
1450 | 1450 | } |
|
1451 | 1451 | } |
|
1452 | 1452 | } |
|
1453 | 1453 | |
|
1454 | 1454 | .subtitle-compare { |
|
1455 | 1455 | margin: -15px 0px 0px 0px; |
|
1456 | 1456 | } |
|
1457 | 1457 | |
|
1458 | 1458 | .comments-summary-td { |
|
1459 | 1459 | border-top: 1px dashed @grey5; |
|
1460 | 1460 | } |
|
1461 | 1461 | |
|
1462 | 1462 | // new entry in group_members |
|
1463 | 1463 | .td-author-new-entry { |
|
1464 | 1464 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); |
|
1465 | 1465 | } |
|
1466 | 1466 | |
|
1467 | 1467 | .usergroup_member_remove { |
|
1468 | 1468 | width: 16px; |
|
1469 | 1469 | margin-bottom: 10px; |
|
1470 | 1470 | padding: 0; |
|
1471 | 1471 | color: black !important; |
|
1472 | 1472 | cursor: pointer; |
|
1473 | 1473 | } |
|
1474 | 1474 | |
|
1475 | 1475 | .reviewer_ac .ac-input { |
|
1476 | 1476 | width: 92%; |
|
1477 | 1477 | margin-bottom: 1em; |
|
1478 | 1478 | } |
|
1479 | 1479 | |
|
1480 | 1480 | .compare_view_commits tr{ |
|
1481 | 1481 | height: 20px; |
|
1482 | 1482 | } |
|
1483 | 1483 | .compare_view_commits td { |
|
1484 | 1484 | vertical-align: top; |
|
1485 | 1485 | padding-top: 10px; |
|
1486 | 1486 | } |
|
1487 | 1487 | .compare_view_commits .author { |
|
1488 | 1488 | margin-left: 5px; |
|
1489 | 1489 | } |
|
1490 | 1490 | |
|
1491 | 1491 | .compare_view_commits { |
|
1492 | 1492 | .color-a { |
|
1493 | 1493 | color: @alert1; |
|
1494 | 1494 | } |
|
1495 | 1495 | |
|
1496 | 1496 | .color-c { |
|
1497 | 1497 | color: @color3; |
|
1498 | 1498 | } |
|
1499 | 1499 | |
|
1500 | 1500 | .color-r { |
|
1501 | 1501 | color: @color5; |
|
1502 | 1502 | } |
|
1503 | 1503 | |
|
1504 | 1504 | .color-a-bg { |
|
1505 | 1505 | background-color: @alert1; |
|
1506 | 1506 | } |
|
1507 | 1507 | |
|
1508 | 1508 | .color-c-bg { |
|
1509 | 1509 | background-color: @alert3; |
|
1510 | 1510 | } |
|
1511 | 1511 | |
|
1512 | 1512 | .color-r-bg { |
|
1513 | 1513 | background-color: @alert2; |
|
1514 | 1514 | } |
|
1515 | 1515 | |
|
1516 | 1516 | .color-a-border { |
|
1517 | 1517 | border: 1px solid @alert1; |
|
1518 | 1518 | } |
|
1519 | 1519 | |
|
1520 | 1520 | .color-c-border { |
|
1521 | 1521 | border: 1px solid @alert3; |
|
1522 | 1522 | } |
|
1523 | 1523 | |
|
1524 | 1524 | .color-r-border { |
|
1525 | 1525 | border: 1px solid @alert2; |
|
1526 | 1526 | } |
|
1527 | 1527 | |
|
1528 | 1528 | .commit-change-indicator { |
|
1529 | 1529 | width: 15px; |
|
1530 | 1530 | height: 15px; |
|
1531 | 1531 | position: relative; |
|
1532 | 1532 | left: 15px; |
|
1533 | 1533 | } |
|
1534 | 1534 | |
|
1535 | 1535 | .commit-change-content { |
|
1536 | 1536 | text-align: center; |
|
1537 | 1537 | vertical-align: middle; |
|
1538 | 1538 | line-height: 15px; |
|
1539 | 1539 | } |
|
1540 | 1540 | } |
|
1541 | 1541 | |
|
1542 | 1542 | .compare_view_filepath { |
|
1543 | 1543 | color: @grey1; |
|
1544 | 1544 | } |
|
1545 | 1545 | |
|
1546 | 1546 | .show_more { |
|
1547 | 1547 | display: inline-block; |
|
1548 | 1548 | width: 0; |
|
1549 | 1549 | height: 0; |
|
1550 | 1550 | vertical-align: middle; |
|
1551 | 1551 | content: ""; |
|
1552 | 1552 | border: 4px solid; |
|
1553 | 1553 | border-right-color: transparent; |
|
1554 | 1554 | border-bottom-color: transparent; |
|
1555 | 1555 | border-left-color: transparent; |
|
1556 | 1556 | font-size: 0; |
|
1557 | 1557 | } |
|
1558 | 1558 | |
|
1559 | 1559 | .journal_more .show_more { |
|
1560 | 1560 | display: inline; |
|
1561 | 1561 | |
|
1562 | 1562 | &:after { |
|
1563 | 1563 | content: none; |
|
1564 | 1564 | } |
|
1565 | 1565 | } |
|
1566 | 1566 | |
|
1567 | 1567 | .compare_view_commits .collapse_commit:after { |
|
1568 | 1568 | cursor: pointer; |
|
1569 | 1569 | content: "\00A0\25B4"; |
|
1570 | 1570 | margin-left: -3px; |
|
1571 | 1571 | font-size: 17px; |
|
1572 | 1572 | color: @grey4; |
|
1573 | 1573 | } |
|
1574 | 1574 | |
|
1575 | 1575 | .diff_links { |
|
1576 | 1576 | margin-left: 8px; |
|
1577 | 1577 | } |
|
1578 | 1578 | |
|
1579 | 1579 | div.ancestor { |
|
1580 | 1580 | margin: -30px 0px; |
|
1581 | 1581 | } |
|
1582 | 1582 | |
|
1583 | 1583 | .cs_icon_td input[type="checkbox"] { |
|
1584 | 1584 | display: none; |
|
1585 | 1585 | } |
|
1586 | 1586 | |
|
1587 | 1587 | .cs_icon_td .expand_file_icon:after { |
|
1588 | 1588 | cursor: pointer; |
|
1589 | 1589 | content: "\00A0\25B6"; |
|
1590 | 1590 | font-size: 12px; |
|
1591 | 1591 | color: @grey4; |
|
1592 | 1592 | } |
|
1593 | 1593 | |
|
1594 | 1594 | .cs_icon_td .collapse_file_icon:after { |
|
1595 | 1595 | cursor: pointer; |
|
1596 | 1596 | content: "\00A0\25BC"; |
|
1597 | 1597 | font-size: 12px; |
|
1598 | 1598 | color: @grey4; |
|
1599 | 1599 | } |
|
1600 | 1600 | |
|
1601 | 1601 | /*new binary |
|
1602 | 1602 | NEW_FILENODE = 1 |
|
1603 | 1603 | DEL_FILENODE = 2 |
|
1604 | 1604 | MOD_FILENODE = 3 |
|
1605 | 1605 | RENAMED_FILENODE = 4 |
|
1606 | 1606 | COPIED_FILENODE = 5 |
|
1607 | 1607 | CHMOD_FILENODE = 6 |
|
1608 | 1608 | BIN_FILENODE = 7 |
|
1609 | 1609 | */ |
|
1610 | 1610 | .cs_files_expand { |
|
1611 | 1611 | font-size: @basefontsize + 5px; |
|
1612 | 1612 | line-height: 1.8em; |
|
1613 | 1613 | float: right; |
|
1614 | 1614 | } |
|
1615 | 1615 | |
|
1616 | 1616 | .cs_files_expand span{ |
|
1617 | 1617 | color: @rcblue; |
|
1618 | 1618 | cursor: pointer; |
|
1619 | 1619 | } |
|
1620 | 1620 | .cs_files { |
|
1621 | 1621 | clear: both; |
|
1622 | 1622 | padding-bottom: @padding; |
|
1623 | 1623 | |
|
1624 | 1624 | .cur_cs { |
|
1625 | 1625 | margin: 10px 2px; |
|
1626 | 1626 | font-weight: bold; |
|
1627 | 1627 | } |
|
1628 | 1628 | |
|
1629 | 1629 | .node { |
|
1630 | 1630 | float: left; |
|
1631 | 1631 | } |
|
1632 | 1632 | |
|
1633 | 1633 | .changes { |
|
1634 | 1634 | float: right; |
|
1635 | 1635 | color: white; |
|
1636 | 1636 | font-size: @basefontsize - 4px; |
|
1637 | 1637 | margin-top: 4px; |
|
1638 | 1638 | opacity: 0.6; |
|
1639 | 1639 | filter: Alpha(opacity=60); /* IE8 and earlier */ |
|
1640 | 1640 | |
|
1641 | 1641 | .added { |
|
1642 | 1642 | background-color: @alert1; |
|
1643 | 1643 | float: left; |
|
1644 | 1644 | text-align: center; |
|
1645 | 1645 | } |
|
1646 | 1646 | |
|
1647 | 1647 | .deleted { |
|
1648 | 1648 | background-color: @alert2; |
|
1649 | 1649 | float: left; |
|
1650 | 1650 | text-align: center; |
|
1651 | 1651 | } |
|
1652 | 1652 | |
|
1653 | 1653 | .bin { |
|
1654 | 1654 | background-color: @alert1; |
|
1655 | 1655 | text-align: center; |
|
1656 | 1656 | } |
|
1657 | 1657 | |
|
1658 | 1658 | /*new binary*/ |
|
1659 | 1659 | .bin.bin1 { |
|
1660 | 1660 | background-color: @alert1; |
|
1661 | 1661 | text-align: center; |
|
1662 | 1662 | } |
|
1663 | 1663 | |
|
1664 | 1664 | /*deleted binary*/ |
|
1665 | 1665 | .bin.bin2 { |
|
1666 | 1666 | background-color: @alert2; |
|
1667 | 1667 | text-align: center; |
|
1668 | 1668 | } |
|
1669 | 1669 | |
|
1670 | 1670 | /*mod binary*/ |
|
1671 | 1671 | .bin.bin3 { |
|
1672 | 1672 | background-color: @grey2; |
|
1673 | 1673 | text-align: center; |
|
1674 | 1674 | } |
|
1675 | 1675 | |
|
1676 | 1676 | /*rename file*/ |
|
1677 | 1677 | .bin.bin4 { |
|
1678 | 1678 | background-color: @alert4; |
|
1679 | 1679 | text-align: center; |
|
1680 | 1680 | } |
|
1681 | 1681 | |
|
1682 | 1682 | /*copied file*/ |
|
1683 | 1683 | .bin.bin5 { |
|
1684 | 1684 | background-color: @alert4; |
|
1685 | 1685 | text-align: center; |
|
1686 | 1686 | } |
|
1687 | 1687 | |
|
1688 | 1688 | /*chmod file*/ |
|
1689 | 1689 | .bin.bin6 { |
|
1690 | 1690 | background-color: @grey2; |
|
1691 | 1691 | text-align: center; |
|
1692 | 1692 | } |
|
1693 | 1693 | } |
|
1694 | 1694 | } |
|
1695 | 1695 | |
|
1696 | 1696 | .cs_files .cs_added, .cs_files .cs_A, |
|
1697 | 1697 | .cs_files .cs_added, .cs_files .cs_M, |
|
1698 | 1698 | .cs_files .cs_added, .cs_files .cs_D { |
|
1699 | 1699 | height: 16px; |
|
1700 | 1700 | padding-right: 10px; |
|
1701 | 1701 | margin-top: 7px; |
|
1702 | 1702 | text-align: left; |
|
1703 | 1703 | } |
|
1704 | 1704 | |
|
1705 | 1705 | .cs_icon_td { |
|
1706 | 1706 | min-width: 16px; |
|
1707 | 1707 | width: 16px; |
|
1708 | 1708 | } |
|
1709 | 1709 | |
|
1710 | 1710 | .pull-request-merge { |
|
1711 | 1711 | border: 1px solid @grey5; |
|
1712 | 1712 | padding: 10px 0px 20px; |
|
1713 | 1713 | margin-top: 10px; |
|
1714 | 1714 | margin-bottom: 20px; |
|
1715 | 1715 | } |
|
1716 | 1716 | |
|
1717 | 1717 | .pull-request-merge ul { |
|
1718 | 1718 | padding: 0px 0px; |
|
1719 | 1719 | } |
|
1720 | 1720 | |
|
1721 | 1721 | .pull-request-merge li:before{ |
|
1722 | 1722 | content:none; |
|
1723 | 1723 | } |
|
1724 | 1724 | |
|
1725 | 1725 | .pull-request-merge .pull-request-wrap { |
|
1726 | 1726 | height: auto; |
|
1727 | 1727 | padding: 0px 0px; |
|
1728 | 1728 | text-align: right; |
|
1729 | 1729 | } |
|
1730 | 1730 | |
|
1731 | 1731 | .pull-request-merge span { |
|
1732 | 1732 | margin-right: 5px; |
|
1733 | 1733 | } |
|
1734 | 1734 | |
|
1735 | 1735 | .pull-request-merge-actions { |
|
1736 | 1736 | min-height: 30px; |
|
1737 | 1737 | padding: 0px 0px; |
|
1738 | 1738 | } |
|
1739 | 1739 | |
|
1740 | 1740 | .pull-request-merge-info { |
|
1741 | 1741 | padding: 0px 5px 5px 0px; |
|
1742 | 1742 | } |
|
1743 | 1743 | |
|
1744 | 1744 | .merge-status { |
|
1745 | 1745 | margin-right: 5px; |
|
1746 | 1746 | } |
|
1747 | 1747 | |
|
1748 | 1748 | .merge-message { |
|
1749 | 1749 | font-size: 1.2em |
|
1750 | 1750 | } |
|
1751 | 1751 | |
|
1752 | 1752 | .merge-message.success i, |
|
1753 | 1753 | .merge-icon.success i { |
|
1754 | 1754 | color:@alert1; |
|
1755 | 1755 | } |
|
1756 | 1756 | |
|
1757 | 1757 | .merge-message.warning i, |
|
1758 | 1758 | .merge-icon.warning i { |
|
1759 | 1759 | color: @alert3; |
|
1760 | 1760 | } |
|
1761 | 1761 | |
|
1762 | 1762 | .merge-message.error i, |
|
1763 | 1763 | .merge-icon.error i { |
|
1764 | 1764 | color:@alert2; |
|
1765 | 1765 | } |
|
1766 | 1766 | |
|
1767 | 1767 | .pr-versions { |
|
1768 | 1768 | font-size: 1.1em; |
|
1769 | 1769 | |
|
1770 | 1770 | table { |
|
1771 | 1771 | padding: 0px 5px; |
|
1772 | 1772 | } |
|
1773 | 1773 | |
|
1774 | 1774 | td { |
|
1775 | 1775 | line-height: 15px; |
|
1776 | 1776 | } |
|
1777 | 1777 | |
|
1778 | 1778 | .flag_status { |
|
1779 | 1779 | margin: 0; |
|
1780 | 1780 | } |
|
1781 | 1781 | |
|
1782 | 1782 | .compare-radio-button { |
|
1783 | 1783 | position: relative; |
|
1784 | 1784 | top: -3px; |
|
1785 | 1785 | } |
|
1786 | 1786 | } |
|
1787 | 1787 | |
|
1788 | 1788 | |
|
1789 | 1789 | #close_pull_request { |
|
1790 | 1790 | margin-right: 0px; |
|
1791 | 1791 | } |
|
1792 | 1792 | |
|
1793 | 1793 | .empty_data { |
|
1794 | 1794 | color: @grey4; |
|
1795 | 1795 | } |
|
1796 | 1796 | |
|
1797 | 1797 | #changeset_compare_view_content { |
|
1798 | 1798 | margin-bottom: @space; |
|
1799 | 1799 | clear: both; |
|
1800 | 1800 | width: 100%; |
|
1801 | 1801 | box-sizing: border-box; |
|
1802 | 1802 | .border-radius(@border-radius); |
|
1803 | 1803 | |
|
1804 | 1804 | .help-block { |
|
1805 | 1805 | margin: @padding 0; |
|
1806 | 1806 | color: @text-color; |
|
1807 | 1807 | &.pre-formatting { |
|
1808 | 1808 | white-space: pre; |
|
1809 | 1809 | } |
|
1810 | 1810 | } |
|
1811 | 1811 | |
|
1812 | 1812 | .empty_data { |
|
1813 | 1813 | margin: @padding 0; |
|
1814 | 1814 | } |
|
1815 | 1815 | |
|
1816 | 1816 | .alert { |
|
1817 | 1817 | margin-bottom: @space; |
|
1818 | 1818 | } |
|
1819 | 1819 | } |
|
1820 | 1820 | |
|
1821 | 1821 | .table_disp { |
|
1822 | 1822 | .status { |
|
1823 | 1823 | width: auto; |
|
1824 | 1824 | |
|
1825 | 1825 | .flag_status { |
|
1826 | 1826 | float: left; |
|
1827 | 1827 | } |
|
1828 | 1828 | } |
|
1829 | 1829 | } |
|
1830 | 1830 | |
|
1831 | 1831 | |
|
1832 | 1832 | .creation_in_progress { |
|
1833 | 1833 | color: @grey4 |
|
1834 | 1834 | } |
|
1835 | 1835 | |
|
1836 | 1836 | .status_box_menu { |
|
1837 | 1837 | margin: 0; |
|
1838 | 1838 | } |
|
1839 | 1839 | |
|
1840 | 1840 | .notification-table{ |
|
1841 | 1841 | margin-bottom: @space; |
|
1842 | 1842 | display: table; |
|
1843 | 1843 | width: 100%; |
|
1844 | 1844 | |
|
1845 | 1845 | .container{ |
|
1846 | 1846 | display: table-row; |
|
1847 | 1847 | |
|
1848 | 1848 | .notification-header{ |
|
1849 | 1849 | border-bottom: @border-thickness solid @border-default-color; |
|
1850 | 1850 | } |
|
1851 | 1851 | |
|
1852 | 1852 | .notification-subject{ |
|
1853 | 1853 | display: table-cell; |
|
1854 | 1854 | } |
|
1855 | 1855 | } |
|
1856 | 1856 | } |
|
1857 | 1857 | |
|
1858 | 1858 | // Notifications |
|
1859 | 1859 | .notification-header{ |
|
1860 | 1860 | display: table; |
|
1861 | 1861 | width: 100%; |
|
1862 | 1862 | padding: floor(@basefontsize/2) 0; |
|
1863 | 1863 | line-height: 1em; |
|
1864 | 1864 | |
|
1865 | 1865 | .desc, .delete-notifications, .read-notifications{ |
|
1866 | 1866 | display: table-cell; |
|
1867 | 1867 | text-align: left; |
|
1868 | 1868 | } |
|
1869 | 1869 | |
|
1870 | 1870 | .desc{ |
|
1871 | 1871 | width: 1163px; |
|
1872 | 1872 | } |
|
1873 | 1873 | |
|
1874 | 1874 | .delete-notifications, .read-notifications{ |
|
1875 | 1875 | width: 35px; |
|
1876 | 1876 | min-width: 35px; //fixes when only one button is displayed |
|
1877 | 1877 | } |
|
1878 | 1878 | } |
|
1879 | 1879 | |
|
1880 | 1880 | .notification-body { |
|
1881 | 1881 | .markdown-block, |
|
1882 | 1882 | .rst-block { |
|
1883 | 1883 | padding: @padding 0; |
|
1884 | 1884 | } |
|
1885 | 1885 | |
|
1886 | 1886 | .notification-subject { |
|
1887 | 1887 | padding: @textmargin 0; |
|
1888 | 1888 | border-bottom: @border-thickness solid @border-default-color; |
|
1889 | 1889 | } |
|
1890 | 1890 | } |
|
1891 | 1891 | |
|
1892 | 1892 | |
|
1893 | 1893 | .notifications_buttons{ |
|
1894 | 1894 | float: right; |
|
1895 | 1895 | } |
|
1896 | 1896 | |
|
1897 | 1897 | #notification-status{ |
|
1898 | 1898 | display: inline; |
|
1899 | 1899 | } |
|
1900 | 1900 | |
|
1901 | 1901 | // Repositories |
|
1902 | 1902 | |
|
1903 | 1903 | #summary.fields{ |
|
1904 | 1904 | display: table; |
|
1905 | 1905 | |
|
1906 | 1906 | .field{ |
|
1907 | 1907 | display: table-row; |
|
1908 | 1908 | |
|
1909 | 1909 | .label-summary{ |
|
1910 | 1910 | display: table-cell; |
|
1911 | 1911 | min-width: @label-summary-minwidth; |
|
1912 | 1912 | padding-top: @padding/2; |
|
1913 | 1913 | padding-bottom: @padding/2; |
|
1914 | 1914 | padding-right: @padding/2; |
|
1915 | 1915 | } |
|
1916 | 1916 | |
|
1917 | 1917 | .input{ |
|
1918 | 1918 | display: table-cell; |
|
1919 | 1919 | padding: @padding/2; |
|
1920 | 1920 | |
|
1921 | 1921 | input{ |
|
1922 | 1922 | min-width: 29em; |
|
1923 | 1923 | padding: @padding/4; |
|
1924 | 1924 | } |
|
1925 | 1925 | } |
|
1926 | 1926 | .statistics, .downloads{ |
|
1927 | 1927 | .disabled{ |
|
1928 | 1928 | color: @grey4; |
|
1929 | 1929 | } |
|
1930 | 1930 | } |
|
1931 | 1931 | } |
|
1932 | 1932 | } |
|
1933 | 1933 | |
|
1934 | 1934 | #summary{ |
|
1935 | 1935 | width: 70%; |
|
1936 | 1936 | } |
|
1937 | 1937 | |
|
1938 | 1938 | |
|
1939 | 1939 | // Journal |
|
1940 | 1940 | .journal.title { |
|
1941 | 1941 | h5 { |
|
1942 | 1942 | float: left; |
|
1943 | 1943 | margin: 0; |
|
1944 | 1944 | width: 70%; |
|
1945 | 1945 | } |
|
1946 | 1946 | |
|
1947 | 1947 | ul { |
|
1948 | 1948 | float: right; |
|
1949 | 1949 | display: inline-block; |
|
1950 | 1950 | margin: 0; |
|
1951 | 1951 | width: 30%; |
|
1952 | 1952 | text-align: right; |
|
1953 | 1953 | |
|
1954 | 1954 | li { |
|
1955 | 1955 | display: inline; |
|
1956 | 1956 | font-size: @journal-fontsize; |
|
1957 | 1957 | line-height: 1em; |
|
1958 | 1958 | |
|
1959 | 1959 | &:before { content: none; } |
|
1960 | 1960 | } |
|
1961 | 1961 | } |
|
1962 | 1962 | } |
|
1963 | 1963 | |
|
1964 | 1964 | .filterexample { |
|
1965 | 1965 | position: absolute; |
|
1966 | 1966 | top: 95px; |
|
1967 | 1967 | left: @contentpadding; |
|
1968 | 1968 | color: @rcblue; |
|
1969 | 1969 | font-size: 11px; |
|
1970 | 1970 | font-family: @text-regular; |
|
1971 | 1971 | cursor: help; |
|
1972 | 1972 | |
|
1973 | 1973 | &:hover { |
|
1974 | 1974 | color: @rcdarkblue; |
|
1975 | 1975 | } |
|
1976 | 1976 | |
|
1977 | 1977 | @media (max-width:768px) { |
|
1978 | 1978 | position: relative; |
|
1979 | 1979 | top: auto; |
|
1980 | 1980 | left: auto; |
|
1981 | 1981 | display: block; |
|
1982 | 1982 | } |
|
1983 | 1983 | } |
|
1984 | 1984 | |
|
1985 | 1985 | |
|
1986 | 1986 | #journal{ |
|
1987 | 1987 | margin-bottom: @space; |
|
1988 | 1988 | |
|
1989 | 1989 | .journal_day{ |
|
1990 | 1990 | margin-bottom: @textmargin/2; |
|
1991 | 1991 | padding-bottom: @textmargin/2; |
|
1992 | 1992 | font-size: @journal-fontsize; |
|
1993 | 1993 | border-bottom: @border-thickness solid @border-default-color; |
|
1994 | 1994 | } |
|
1995 | 1995 | |
|
1996 | 1996 | .journal_container{ |
|
1997 | 1997 | margin-bottom: @space; |
|
1998 | 1998 | |
|
1999 | 1999 | .journal_user{ |
|
2000 | 2000 | display: inline-block; |
|
2001 | 2001 | } |
|
2002 | 2002 | .journal_action_container{ |
|
2003 | 2003 | display: block; |
|
2004 | 2004 | margin-top: @textmargin; |
|
2005 | 2005 | |
|
2006 | 2006 | div{ |
|
2007 | 2007 | display: inline; |
|
2008 | 2008 | } |
|
2009 | 2009 | |
|
2010 | 2010 | div.journal_action_params{ |
|
2011 | 2011 | display: block; |
|
2012 | 2012 | } |
|
2013 | 2013 | |
|
2014 | 2014 | div.journal_repo:after{ |
|
2015 | 2015 | content: "\A"; |
|
2016 | 2016 | white-space: pre; |
|
2017 | 2017 | } |
|
2018 | 2018 | |
|
2019 | 2019 | div.date{ |
|
2020 | 2020 | display: block; |
|
2021 | 2021 | margin-bottom: @textmargin; |
|
2022 | 2022 | } |
|
2023 | 2023 | } |
|
2024 | 2024 | } |
|
2025 | 2025 | } |
|
2026 | 2026 | |
|
2027 | 2027 | // Files |
|
2028 | 2028 | .edit-file-title { |
|
2029 | 2029 | border-bottom: @border-thickness solid @border-default-color; |
|
2030 | 2030 | |
|
2031 | 2031 | .breadcrumbs { |
|
2032 | 2032 | margin-bottom: 0; |
|
2033 | 2033 | } |
|
2034 | 2034 | } |
|
2035 | 2035 | |
|
2036 | 2036 | .edit-file-fieldset { |
|
2037 | 2037 | margin-top: @sidebarpadding; |
|
2038 | 2038 | |
|
2039 | 2039 | .fieldset { |
|
2040 | 2040 | .left-label { |
|
2041 | 2041 | width: 13%; |
|
2042 | 2042 | } |
|
2043 | 2043 | .right-content { |
|
2044 | 2044 | width: 87%; |
|
2045 | 2045 | max-width: 100%; |
|
2046 | 2046 | } |
|
2047 | 2047 | .filename-label { |
|
2048 | 2048 | margin-top: 13px; |
|
2049 | 2049 | } |
|
2050 | 2050 | .commit-message-label { |
|
2051 | 2051 | margin-top: 4px; |
|
2052 | 2052 | } |
|
2053 | 2053 | .file-upload-input { |
|
2054 | 2054 | input { |
|
2055 | 2055 | display: none; |
|
2056 | 2056 | } |
|
2057 | 2057 | margin-top: 10px; |
|
2058 | 2058 | } |
|
2059 | 2059 | .file-upload-label { |
|
2060 | 2060 | margin-top: 10px; |
|
2061 | 2061 | } |
|
2062 | 2062 | p { |
|
2063 | 2063 | margin-top: 5px; |
|
2064 | 2064 | } |
|
2065 | 2065 | |
|
2066 | 2066 | } |
|
2067 | 2067 | .custom-path-link { |
|
2068 | 2068 | margin-left: 5px; |
|
2069 | 2069 | } |
|
2070 | 2070 | #commit { |
|
2071 | 2071 | resize: vertical; |
|
2072 | 2072 | } |
|
2073 | 2073 | } |
|
2074 | 2074 | |
|
2075 | 2075 | .delete-file-preview { |
|
2076 | 2076 | max-height: 250px; |
|
2077 | 2077 | } |
|
2078 | 2078 | |
|
2079 | 2079 | .new-file, |
|
2080 | 2080 | #filter_activate, |
|
2081 | 2081 | #filter_deactivate { |
|
2082 | 2082 | float: left; |
|
2083 | 2083 | margin: 0 0 0 15px; |
|
2084 | 2084 | } |
|
2085 | 2085 | |
|
2086 | 2086 | h3.files_location{ |
|
2087 | 2087 | line-height: 2.4em; |
|
2088 | 2088 | } |
|
2089 | 2089 | |
|
2090 | 2090 | .browser-nav { |
|
2091 | 2091 | display: table; |
|
2092 | 2092 | margin-bottom: @space; |
|
2093 | 2093 | |
|
2094 | 2094 | |
|
2095 | 2095 | .info_box { |
|
2096 | 2096 | display: inline-table; |
|
2097 | 2097 | height: 2.5em; |
|
2098 | 2098 | |
|
2099 | 2099 | .browser-cur-rev, .info_box_elem { |
|
2100 | 2100 | display: table-cell; |
|
2101 | 2101 | vertical-align: middle; |
|
2102 | 2102 | } |
|
2103 | 2103 | |
|
2104 | 2104 | .info_box_elem { |
|
2105 | 2105 | border-top: @border-thickness solid @rcblue; |
|
2106 | 2106 | border-bottom: @border-thickness solid @rcblue; |
|
2107 | 2107 | |
|
2108 | 2108 | #at_rev, a { |
|
2109 | 2109 | padding: 0.6em 0.9em; |
|
2110 | 2110 | margin: 0; |
|
2111 | 2111 | .box-shadow(none); |
|
2112 | 2112 | border: 0; |
|
2113 | 2113 | height: 12px; |
|
2114 | 2114 | } |
|
2115 | 2115 | |
|
2116 | 2116 | input#at_rev { |
|
2117 | 2117 | max-width: 50px; |
|
2118 | 2118 | text-align: right; |
|
2119 | 2119 | } |
|
2120 | 2120 | |
|
2121 | 2121 | &.previous { |
|
2122 | 2122 | border: @border-thickness solid @rcblue; |
|
2123 | 2123 | .disabled { |
|
2124 | 2124 | color: @grey4; |
|
2125 | 2125 | cursor: not-allowed; |
|
2126 | 2126 | } |
|
2127 | 2127 | } |
|
2128 | 2128 | |
|
2129 | 2129 | &.next { |
|
2130 | 2130 | border: @border-thickness solid @rcblue; |
|
2131 | 2131 | .disabled { |
|
2132 | 2132 | color: @grey4; |
|
2133 | 2133 | cursor: not-allowed; |
|
2134 | 2134 | } |
|
2135 | 2135 | } |
|
2136 | 2136 | } |
|
2137 | 2137 | |
|
2138 | 2138 | .browser-cur-rev { |
|
2139 | 2139 | |
|
2140 | 2140 | span{ |
|
2141 | 2141 | margin: 0; |
|
2142 | 2142 | color: @rcblue; |
|
2143 | 2143 | height: 12px; |
|
2144 | 2144 | display: inline-block; |
|
2145 | 2145 | padding: 0.7em 1em ; |
|
2146 | 2146 | border: @border-thickness solid @rcblue; |
|
2147 | 2147 | margin-right: @padding; |
|
2148 | 2148 | } |
|
2149 | 2149 | } |
|
2150 | 2150 | } |
|
2151 | 2151 | |
|
2152 | 2152 | .search_activate { |
|
2153 | 2153 | display: table-cell; |
|
2154 | 2154 | vertical-align: middle; |
|
2155 | 2155 | |
|
2156 | 2156 | input, label{ |
|
2157 | 2157 | margin: 0; |
|
2158 | 2158 | padding: 0; |
|
2159 | 2159 | } |
|
2160 | 2160 | |
|
2161 | 2161 | input{ |
|
2162 | 2162 | margin-left: @textmargin; |
|
2163 | 2163 | } |
|
2164 | 2164 | |
|
2165 | 2165 | } |
|
2166 | 2166 | } |
|
2167 | 2167 | |
|
2168 | 2168 | .browser-cur-rev{ |
|
2169 | 2169 | margin-bottom: @textmargin; |
|
2170 | 2170 | } |
|
2171 | 2171 | |
|
2172 | 2172 | #node_filter_box_loading{ |
|
2173 | 2173 | .info_text; |
|
2174 | 2174 | } |
|
2175 | 2175 | |
|
2176 | 2176 | .browser-search { |
|
2177 | 2177 | margin: -25px 0px 5px 0px; |
|
2178 | 2178 | } |
|
2179 | 2179 | |
|
2180 | 2180 | .node-filter { |
|
2181 | 2181 | font-size: @repo-title-fontsize; |
|
2182 | 2182 | padding: 4px 0px 0px 0px; |
|
2183 | 2183 | |
|
2184 | 2184 | .node-filter-path { |
|
2185 | 2185 | float: left; |
|
2186 | 2186 | color: @grey4; |
|
2187 | 2187 | } |
|
2188 | 2188 | .node-filter-input { |
|
2189 | 2189 | float: left; |
|
2190 | 2190 | margin: -2px 0px 0px 2px; |
|
2191 | 2191 | input { |
|
2192 | 2192 | padding: 2px; |
|
2193 | 2193 | border: none; |
|
2194 | 2194 | font-size: @repo-title-fontsize; |
|
2195 | 2195 | } |
|
2196 | 2196 | } |
|
2197 | 2197 | } |
|
2198 | 2198 | |
|
2199 | 2199 | |
|
2200 | 2200 | .browser-result{ |
|
2201 | 2201 | td a{ |
|
2202 | 2202 | margin-left: 0.5em; |
|
2203 | 2203 | display: inline-block; |
|
2204 | 2204 | |
|
2205 | 2205 | em{ |
|
2206 | 2206 | font-family: @text-bold; |
|
2207 | 2207 | } |
|
2208 | 2208 | } |
|
2209 | 2209 | } |
|
2210 | 2210 | |
|
2211 | 2211 | .browser-highlight{ |
|
2212 | 2212 | background-color: @grey5-alpha; |
|
2213 | 2213 | } |
|
2214 | 2214 | |
|
2215 | 2215 | |
|
2216 | 2216 | // Search |
|
2217 | 2217 | |
|
2218 | 2218 | .search-form{ |
|
2219 | 2219 | #q { |
|
2220 | 2220 | width: @search-form-width; |
|
2221 | 2221 | } |
|
2222 | 2222 | .fields{ |
|
2223 | 2223 | margin: 0 0 @space; |
|
2224 | 2224 | } |
|
2225 | 2225 | |
|
2226 | 2226 | label{ |
|
2227 | 2227 | display: inline-block; |
|
2228 | 2228 | margin-right: @textmargin; |
|
2229 | 2229 | padding-top: 0.25em; |
|
2230 | 2230 | } |
|
2231 | 2231 | |
|
2232 | 2232 | |
|
2233 | 2233 | .results{ |
|
2234 | 2234 | clear: both; |
|
2235 | 2235 | margin: 0 0 @padding; |
|
2236 | 2236 | } |
|
2237 | 2237 | } |
|
2238 | 2238 | |
|
2239 | 2239 | div.search-feedback-items { |
|
2240 | 2240 | display: inline-block; |
|
2241 | 2241 | } |
|
2242 | 2242 | |
|
2243 | 2243 | div.search-code-body { |
|
2244 | 2244 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
2245 | 2245 | pre { |
|
2246 | 2246 | .match { background-color: #faffa6;} |
|
2247 | 2247 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
2248 | 2248 | } |
|
2249 | 2249 | } |
|
2250 | 2250 | |
|
2251 | 2251 | .expand_commit.search { |
|
2252 | 2252 | .show_more.open { |
|
2253 | 2253 | height: auto; |
|
2254 | 2254 | max-height: none; |
|
2255 | 2255 | } |
|
2256 | 2256 | } |
|
2257 | 2257 | |
|
2258 | 2258 | .search-results { |
|
2259 | 2259 | |
|
2260 | 2260 | h2 { |
|
2261 | 2261 | margin-bottom: 0; |
|
2262 | 2262 | } |
|
2263 | 2263 | .codeblock { |
|
2264 | 2264 | border: none; |
|
2265 | 2265 | background: transparent; |
|
2266 | 2266 | } |
|
2267 | 2267 | |
|
2268 | 2268 | .codeblock-header { |
|
2269 | 2269 | border: none; |
|
2270 | 2270 | background: transparent; |
|
2271 | 2271 | } |
|
2272 | 2272 | |
|
2273 | 2273 | .code-body { |
|
2274 | 2274 | border: @border-thickness solid @border-default-color; |
|
2275 | 2275 | .border-radius(@border-radius); |
|
2276 | 2276 | } |
|
2277 | 2277 | |
|
2278 | 2278 | .td-commit { |
|
2279 | 2279 | &:extend(pre); |
|
2280 | 2280 | border-bottom: @border-thickness solid @border-default-color; |
|
2281 | 2281 | } |
|
2282 | 2282 | |
|
2283 | 2283 | .message { |
|
2284 | 2284 | height: auto; |
|
2285 | 2285 | max-width: 350px; |
|
2286 | 2286 | white-space: normal; |
|
2287 | 2287 | text-overflow: initial; |
|
2288 | 2288 | overflow: visible; |
|
2289 | 2289 | |
|
2290 | 2290 | .match { background-color: #faffa6;} |
|
2291 | 2291 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } |
|
2292 | 2292 | } |
|
2293 | 2293 | |
|
2294 | 2294 | } |
|
2295 | 2295 | |
|
2296 | 2296 | table.rctable td.td-search-results div { |
|
2297 | 2297 | max-width: 100%; |
|
2298 | 2298 | } |
|
2299 | 2299 | |
|
2300 | 2300 | #tip-box, .tip-box{ |
|
2301 | 2301 | padding: @menupadding/2; |
|
2302 | 2302 | display: block; |
|
2303 | 2303 | border: @border-thickness solid @border-highlight-color; |
|
2304 | 2304 | .border-radius(@border-radius); |
|
2305 | 2305 | background-color: white; |
|
2306 | 2306 | z-index: 99; |
|
2307 | 2307 | white-space: pre-wrap; |
|
2308 | 2308 | } |
|
2309 | 2309 | |
|
2310 | 2310 | #linktt { |
|
2311 | 2311 | width: 79px; |
|
2312 | 2312 | } |
|
2313 | 2313 | |
|
2314 | 2314 | #help_kb .modal-content{ |
|
2315 | 2315 | max-width: 750px; |
|
2316 | 2316 | margin: 10% auto; |
|
2317 | 2317 | |
|
2318 | 2318 | table{ |
|
2319 | 2319 | td,th{ |
|
2320 | 2320 | border-bottom: none; |
|
2321 | 2321 | line-height: 2.5em; |
|
2322 | 2322 | } |
|
2323 | 2323 | th{ |
|
2324 | 2324 | padding-bottom: @textmargin/2; |
|
2325 | 2325 | } |
|
2326 | 2326 | td.keys{ |
|
2327 | 2327 | text-align: center; |
|
2328 | 2328 | } |
|
2329 | 2329 | } |
|
2330 | 2330 | |
|
2331 | 2331 | .block-left{ |
|
2332 | 2332 | width: 45%; |
|
2333 | 2333 | margin-right: 5%; |
|
2334 | 2334 | } |
|
2335 | 2335 | .modal-footer{ |
|
2336 | 2336 | clear: both; |
|
2337 | 2337 | } |
|
2338 | 2338 | .key.tag{ |
|
2339 | 2339 | padding: 0.5em; |
|
2340 | 2340 | background-color: @rcblue; |
|
2341 | 2341 | color: white; |
|
2342 | 2342 | border-color: @rcblue; |
|
2343 | 2343 | .box-shadow(none); |
|
2344 | 2344 | } |
|
2345 | 2345 | } |
|
2346 | 2346 | |
|
2347 | 2347 | |
|
2348 | 2348 | |
|
2349 | 2349 | //--- IMPORTS FOR REFACTORED STYLES ------------------// |
|
2350 | 2350 | |
|
2351 | 2351 | @import 'statistics-graph'; |
|
2352 | 2352 | @import 'tables'; |
|
2353 | 2353 | @import 'forms'; |
|
2354 | 2354 | @import 'diff'; |
|
2355 | 2355 | @import 'summary'; |
|
2356 | 2356 | @import 'navigation'; |
|
2357 | 2357 | |
|
2358 | 2358 | //--- SHOW/HIDE SECTIONS --// |
|
2359 | 2359 | |
|
2360 | 2360 | .btn-collapse { |
|
2361 | 2361 | float: right; |
|
2362 | 2362 | text-align: right; |
|
2363 | 2363 | font-family: @text-light; |
|
2364 | 2364 | font-size: @basefontsize; |
|
2365 | 2365 | cursor: pointer; |
|
2366 | 2366 | border: none; |
|
2367 | 2367 | color: @rcblue; |
|
2368 | 2368 | } |
|
2369 | 2369 | |
|
2370 | 2370 | table.rctable, |
|
2371 | 2371 | table.dataTable { |
|
2372 | 2372 | .btn-collapse { |
|
2373 | 2373 | float: right; |
|
2374 | 2374 | text-align: right; |
|
2375 | 2375 | } |
|
2376 | 2376 | } |
|
2377 | 2377 | |
|
2378 | 2378 | |
|
2379 | 2379 | // TODO: johbo: Fix for IE10, this avoids that we see a border |
|
2380 | 2380 | // and padding around checkboxes and radio boxes. Move to the right place, |
|
2381 | 2381 | // or better: Remove this once we did the form refactoring. |
|
2382 | 2382 | input[type=checkbox], |
|
2383 | 2383 | input[type=radio] { |
|
2384 | 2384 | padding: 0; |
|
2385 | 2385 | border: none; |
|
2386 | 2386 | } |
|
2387 | 2387 | |
|
2388 | 2388 | .toggle-ajax-spinner{ |
|
2389 | 2389 | height: 16px; |
|
2390 | 2390 | width: 16px; |
|
2391 | 2391 | } |
|
2392 | 2392 | |
|
2393 | 2393 | |
|
2394 | 2394 | .markup-form .clearfix { |
|
2395 | 2395 | .border-radius(@border-radius); |
|
2396 | 2396 | margin: 0px; |
|
2397 | 2397 | } |
|
2398 | 2398 | |
|
2399 | 2399 | .markup-form-area { |
|
2400 | 2400 | padding: 8px 12px; |
|
2401 | 2401 | border: 1px solid @grey4; |
|
2402 | 2402 | .border-radius(@border-radius); |
|
2403 | 2403 | } |
|
2404 | 2404 | |
|
2405 | 2405 | .markup-form-area-header .nav-links { |
|
2406 | 2406 | display: flex; |
|
2407 | 2407 | flex-flow: row wrap; |
|
2408 | 2408 | -webkit-flex-flow: row wrap; |
|
2409 | 2409 | width: 100%; |
|
2410 | 2410 | } |
|
2411 | 2411 | |
|
2412 | 2412 | .markup-form-area-footer { |
|
2413 | 2413 | display: flex; |
|
2414 | 2414 | } |
|
2415 | 2415 | |
|
2416 | 2416 | .markup-form-area-footer .toolbar { |
|
2417 | 2417 | |
|
2418 | 2418 | } |
|
2419 | 2419 | |
|
2420 | 2420 | // markup Form |
|
2421 | 2421 | div.markup-form { |
|
2422 | 2422 | margin-top: 20px; |
|
2423 | 2423 | } |
|
2424 | 2424 | |
|
2425 | 2425 | .markup-form strong { |
|
2426 | 2426 | display: block; |
|
2427 | 2427 | margin-bottom: 15px; |
|
2428 | 2428 | } |
|
2429 | 2429 | |
|
2430 | 2430 | .markup-form textarea { |
|
2431 | 2431 | width: 100%; |
|
2432 | 2432 | height: 100px; |
|
2433 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; | |
|
2433 | font-family: @text-monospace; | |
|
2434 | 2434 | } |
|
2435 | 2435 | |
|
2436 | 2436 | form.markup-form { |
|
2437 | 2437 | margin-top: 10px; |
|
2438 | 2438 | margin-left: 10px; |
|
2439 | 2439 | } |
|
2440 | 2440 | |
|
2441 | 2441 | .markup-form .comment-block-ta, |
|
2442 | 2442 | .markup-form .preview-box { |
|
2443 | 2443 | .border-radius(@border-radius); |
|
2444 | 2444 | .box-sizing(border-box); |
|
2445 | 2445 | background-color: white; |
|
2446 | 2446 | } |
|
2447 | 2447 | |
|
2448 | 2448 | .markup-form .preview-box.unloaded { |
|
2449 | 2449 | height: 50px; |
|
2450 | 2450 | text-align: center; |
|
2451 | 2451 | padding: 20px; |
|
2452 | 2452 | background-color: white; |
|
2453 | 2453 | } |
@@ -1,252 +1,252 b'' | |||
|
1 | 1 | /** README styling **/ |
|
2 | 2 | div.readme_box { |
|
3 | 3 | clear: both; |
|
4 | 4 | overflow: hidden; |
|
5 | 5 | margin: 0; |
|
6 | 6 | padding: 3px 15px 3px; |
|
7 | 7 | } |
|
8 | 8 | |
|
9 | 9 | div.readme_box h1, |
|
10 | 10 | div.readme_box h2, |
|
11 | 11 | div.readme_box h3, |
|
12 | 12 | div.readme_box h4, |
|
13 | 13 | div.readme_box h5, |
|
14 | 14 | div.readme_box h6 { |
|
15 | 15 | border-bottom: none !important; |
|
16 | 16 | padding: 0 !important; |
|
17 | 17 | overflow: visible !important; |
|
18 | 18 | } |
|
19 | 19 | |
|
20 | 20 | div.readme_box h1 { |
|
21 | 21 | font-size: 32px; |
|
22 | 22 | margin: 15px 0 15px 0 !important; |
|
23 | 23 | padding-bottom: 5px !important; |
|
24 | 24 | } |
|
25 | 25 | |
|
26 | 26 | div.readme_box h2 { |
|
27 | 27 | font-size: 24px !important; |
|
28 | 28 | margin: 34px 0 10px 0 !important; |
|
29 | 29 | border-top: 3px #e6e5e5 solid !important; |
|
30 | 30 | padding-top: 15px !important; |
|
31 | 31 | padding-bottom: 8px !important; |
|
32 | 32 | } |
|
33 | 33 | |
|
34 | 34 | div.readme_box h3 { |
|
35 | 35 | font-size: 18px !important; |
|
36 | 36 | margin: 30px 0 8px 0 !important; |
|
37 | 37 | padding-bottom: 2px !important; |
|
38 | 38 | } |
|
39 | 39 | |
|
40 | 40 | div.readme_box h4 { |
|
41 | 41 | font-size: 13px !important; |
|
42 | 42 | margin: 18px 0 3px 0 !important; |
|
43 | 43 | } |
|
44 | 44 | |
|
45 | 45 | div.readme_box h5 { |
|
46 | 46 | font-size: 12px !important; |
|
47 | 47 | margin: 15px 0 3px 0 !important; |
|
48 | 48 | } |
|
49 | 49 | |
|
50 | 50 | div.readme_box h6 { |
|
51 | 51 | font-size: 12px; |
|
52 | 52 | color: #777777; |
|
53 | 53 | margin: 15px 0 3px 0 !important; |
|
54 | 54 | } |
|
55 | 55 | |
|
56 | 56 | div.readme_box hr { |
|
57 | 57 | border: 0; |
|
58 | 58 | color: #e6e5e5; |
|
59 | 59 | background-color: #e6e5e5; |
|
60 | 60 | height: 3px; |
|
61 | 61 | margin-bottom: 13px; |
|
62 | 62 | } |
|
63 | 63 | |
|
64 | 64 | div.readme_box ol, |
|
65 | 65 | div.readme_box ul, |
|
66 | 66 | div.readme_box p, |
|
67 | 67 | div.readme_box blockquote, |
|
68 | 68 | div.readme_box dl, |
|
69 | 69 | div.readme_box li, |
|
70 | 70 | div.readme_box table { |
|
71 | 71 | margin: 3px 0px 13px 0px !important; |
|
72 | 72 | color: #424242 !important; |
|
73 | 73 | font-size: 13px !important; |
|
74 |
font-family: |
|
|
74 | font-family: @text-regular; | |
|
75 | 75 | font-weight: normal !important; |
|
76 | 76 | overflow: visible !important; |
|
77 | 77 | line-height: 140% !important; |
|
78 | 78 | } |
|
79 | 79 | |
|
80 | 80 | div.readme_box pre { |
|
81 | 81 | margin: 3px 0px 13px 0px !important; |
|
82 | 82 | padding: .5em; |
|
83 | 83 | color: #424242 !important; |
|
84 | 84 | font-size: 13px !important; |
|
85 | 85 | overflow: visible !important; |
|
86 | 86 | line-height: 140% !important; |
|
87 | 87 | background-color: @grey7; |
|
88 | 88 | } |
|
89 | 89 | |
|
90 | 90 | div.readme_box img { |
|
91 | 91 | border-style: none; |
|
92 | 92 | background-color: #fff; |
|
93 | 93 | } |
|
94 | 94 | |
|
95 | 95 | |
|
96 | 96 | div.readme_box strong { |
|
97 | 97 | font-weight: 600; |
|
98 | 98 | margin: 0; |
|
99 | 99 | } |
|
100 | 100 | |
|
101 | 101 | div.readme_box ul, |
|
102 | 102 | div.readme_box ol { |
|
103 | 103 | padding-left: 30px !important; |
|
104 | 104 | margin-top: 0px !important; |
|
105 | 105 | margin-bottom: 18px !important; |
|
106 | 106 | } |
|
107 | 107 | |
|
108 | 108 | div.readme_box ul li, |
|
109 | 109 | div.readme_box ol li { |
|
110 | 110 | list-style: bullet !important; |
|
111 | 111 | margin: 6px !important; |
|
112 | 112 | padding: 0 !important; |
|
113 | 113 | } |
|
114 | 114 | |
|
115 | 115 | div.readme_box ol li { |
|
116 | 116 | list-style: decimal !important; |
|
117 | 117 | } |
|
118 | 118 | |
|
119 | 119 | /* |
|
120 | 120 | div.readme_box a, |
|
121 | 121 | div.readme_box a:visited { |
|
122 | 122 | color: #4183C4 !important; |
|
123 | 123 | background-color: inherit; |
|
124 | 124 | text-decoration: none; |
|
125 | 125 | } |
|
126 | 126 | */ |
|
127 | 127 | |
|
128 | 128 | |
|
129 | 129 | div.readme_box button { |
|
130 | 130 | font-size: @basefontsize; |
|
131 | 131 | padding: 4px 6px; |
|
132 | 132 | .border-radius(@border-radius); |
|
133 | 133 | border: @border-thickness solid @grey5; |
|
134 | 134 | background-color: @grey6; |
|
135 | 135 | } |
|
136 | 136 | |
|
137 | 137 | div.readme_box code, |
|
138 | 138 | div.readme_box pre { |
|
139 |
font-family: |
|
|
139 | font-family: @text-monospace; | |
|
140 | 140 | font-size: 11px; |
|
141 | 141 | .border-radius(@border-radius); |
|
142 | 142 | background-color: white; |
|
143 | 143 | color: @grey3; |
|
144 | 144 | } |
|
145 | 145 | |
|
146 | 146 | |
|
147 | 147 | div.readme_box code { |
|
148 | 148 | border: @border-thickness solid @grey6; |
|
149 | 149 | margin: 0 2px; |
|
150 | 150 | padding: 0 5px; |
|
151 | 151 | } |
|
152 | 152 | |
|
153 | 153 | div.readme_box pre { |
|
154 | 154 | border: @border-thickness solid @grey5; |
|
155 | 155 | overflow: auto; |
|
156 | 156 | padding: .5em; |
|
157 | 157 | background-color: @grey7; |
|
158 | 158 | } |
|
159 | 159 | |
|
160 | 160 | div.readme_box pre > code { |
|
161 | 161 | border: 0; |
|
162 | 162 | margin: 0; |
|
163 | 163 | padding: 0; |
|
164 | 164 | } |
|
165 | 165 | |
|
166 | 166 | /** RST STYLE **/ |
|
167 | 167 | div.rst-block { |
|
168 | 168 | clear: both; |
|
169 | 169 | overflow: hidden; |
|
170 | 170 | margin: 0; |
|
171 | 171 | padding: 3px 15px 3px; |
|
172 | 172 | } |
|
173 | 173 | |
|
174 | 174 | div.rst-block h2 { |
|
175 | 175 | font-weight: normal; |
|
176 | 176 | } |
|
177 | 177 | |
|
178 | 178 | div.rst-block h1, |
|
179 | 179 | div.rst-block h2, |
|
180 | 180 | div.rst-block h3, |
|
181 | 181 | div.rst-block h4, |
|
182 | 182 | div.rst-block h5, |
|
183 | 183 | div.rst-block h6 { |
|
184 | 184 | border-bottom: 0 !important; |
|
185 | 185 | margin: 0 !important; |
|
186 | 186 | padding: 0 !important; |
|
187 | 187 | line-height: 1.5em !important; |
|
188 | 188 | } |
|
189 | 189 | |
|
190 | 190 | |
|
191 | 191 | div.rst-block h1:first-child { |
|
192 | 192 | padding-top: .25em !important; |
|
193 | 193 | } |
|
194 | 194 | |
|
195 | 195 | div.rst-block h2, |
|
196 | 196 | div.rst-block h3 { |
|
197 | 197 | margin: 1em 0 !important; |
|
198 | 198 | } |
|
199 | 199 | |
|
200 | 200 | div.rst-block h2 { |
|
201 | 201 | margin-top: 1.5em !important; |
|
202 | 202 | border-top: 4px solid #e0e0e0 !important; |
|
203 | 203 | padding-top: .5em !important; |
|
204 | 204 | } |
|
205 | 205 | |
|
206 | 206 | div.rst-block p { |
|
207 | 207 | color: black !important; |
|
208 | 208 | margin: 1em 0 !important; |
|
209 | 209 | line-height: 1.5em !important; |
|
210 | 210 | } |
|
211 | 211 | |
|
212 | 212 | div.rst-block ul { |
|
213 | 213 | list-style: disc !important; |
|
214 | 214 | margin: 1em 0 1em 2em !important; |
|
215 | 215 | clear: both; |
|
216 | 216 | } |
|
217 | 217 | |
|
218 | 218 | div.rst-block ol { |
|
219 | 219 | list-style: decimal; |
|
220 | 220 | margin: 1em 0 1em 2em !important; |
|
221 | 221 | } |
|
222 | 222 | |
|
223 | 223 | div.rst-block pre, |
|
224 | 224 | div.rst-block code { |
|
225 | 225 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
226 | 226 | } |
|
227 | 227 | |
|
228 | 228 | div.rst-block code { |
|
229 | 229 | font-size: 12px !important; |
|
230 | 230 | background-color: ghostWhite !important; |
|
231 | 231 | color: #444 !important; |
|
232 | 232 | padding: 0 .2em !important; |
|
233 | 233 | border: 1px solid #dedede !important; |
|
234 | 234 | } |
|
235 | 235 | |
|
236 | 236 | div.rst-block pre code { |
|
237 | 237 | padding: 0 !important; |
|
238 | 238 | font-size: 12px !important; |
|
239 | 239 | background-color: #eee !important; |
|
240 | 240 | border: none !important; |
|
241 | 241 | } |
|
242 | 242 | |
|
243 | 243 | div.rst-block pre { |
|
244 | 244 | margin: 1em 0; |
|
245 | 245 | padding: @padding; |
|
246 | 246 | border: 1px solid @grey6; |
|
247 | 247 | .border-radius(@border-radius); |
|
248 | 248 | overflow: auto; |
|
249 | 249 | font-size: 12px; |
|
250 | 250 | color: #444; |
|
251 | 251 | background-color: @grey7; |
|
252 | 252 | } No newline at end of file |
@@ -1,138 +1,141 b'' | |||
|
1 | 1 | // variables for use in all RhodeCode products |
|
2 | 2 | |
|
3 | 3 | // FONTS |
|
4 | 4 | //Primary Colors (brand) |
|
5 | 5 | @rcblue: #427cc9; //RhodeCode blue |
|
6 | 6 | @rcdarkblue: #305b91; //RhodeCode dark blue |
|
7 | 7 | @rclightblue: lighten(@rcblue, 30%); |
|
8 | 8 | @rchighlightblue: lighten(@rcblue, 35%); |
|
9 | 9 | |
|
10 | 10 | // Secondary Colors (greyscale) |
|
11 | 11 | @grey1: #202020; //midnight |
|
12 | 12 | @grey2: #323232; //charcoal |
|
13 | 13 | @grey3: #666666; //tungsten |
|
14 | 14 | @grey4: #979797; //light grey |
|
15 | 15 | @grey5: #dbd9da; //greyish |
|
16 | 16 | @grey6: #eeeeee; //silver |
|
17 | 17 | @grey7: #f9f9f9; //light silver |
|
18 | 18 | |
|
19 | 19 | // special for navigation |
|
20 | 20 | @nav-grey: #CDCCCD; |
|
21 | 21 | |
|
22 | 22 | @grey5-alpha: rgba(219, 217, 218, 0.3); |
|
23 | 23 | |
|
24 | 24 | // Tertiary Colors |
|
25 | 25 | @color1: #879938; //olive green |
|
26 | 26 | @color2: #fcc93a; //bright yellow |
|
27 | 27 | @color3: #ff9e07; //orange-yellow |
|
28 | 28 | @color4: #fc663a; //bright orange |
|
29 | 29 | @color5: #d63d44; //signal red |
|
30 | 30 | @color6: #99287c; //violet |
|
31 | 31 | @color7: #682668; //dark purple |
|
32 | 32 | @color8: #194f8e; //dark blue |
|
33 | 33 | |
|
34 | 34 | // Alert Colors (bright) |
|
35 | 35 | @alert1: #0ac878; //bright green |
|
36 | 36 | @alert2: #e85e4d; //soft red |
|
37 | 37 | @alert3: #ffc854; //corn yellow |
|
38 | 38 | @alert4: #84a5d2; //light blue |
|
39 | 39 | |
|
40 | 40 | // Alert Inner Colors |
|
41 | 41 | @alert1-inner: #daf7eb; //bright green |
|
42 | 42 | @alert2-inner: #fbdfdb; //soft red |
|
43 | 43 | @alert3-inner: #fff4dd; //corn yellow |
|
44 | 44 | @alert4-inner: #e6edf6; //light blue |
|
45 | 45 | |
|
46 | 46 | // Highlight color for lines and colors |
|
47 | 47 | @comment-highlight-color: #ffd887; |
|
48 | 48 | |
|
49 | 49 | // FONTS |
|
50 | 50 | @basefontsize: 13px; |
|
51 | 51 | @navigation-fontsize: 14px; |
|
52 | 52 | @journal-fontsize: @basefontsize+7px; |
|
53 | 53 | @text-color: @grey2; |
|
54 | 54 | @repo-title-fontsize: 18px; |
|
55 | 55 | |
|
56 | 56 | @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
57 | @text-monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; | |
|
58 | ||
|
57 | 59 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
58 | 60 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
59 | 61 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
60 | 62 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
61 | 63 | @text-code: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; |
|
64 | ||
|
62 | 65 | @text-light: @text-regular; |
|
63 | 66 | @text-light-italic: @text-italic; |
|
64 | 67 | // Used for .close buttons |
|
65 | 68 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
66 | 69 | |
|
67 | 70 | @panel-title: @basefontsize; |
|
68 | 71 | @panel-footer: @basefontsize; |
|
69 | 72 | |
|
70 | 73 | // BORDERS |
|
71 | 74 | @border-thickness: 1px; |
|
72 | 75 | @border-thickness-buttons: 1px; |
|
73 | 76 | @border-thickness-tags: 1px; |
|
74 | 77 | @border-radius: 2px; |
|
75 | 78 | @border-default-color: @grey5; |
|
76 | 79 | @border-highlight-color: @grey4; |
|
77 | 80 | |
|
78 | 81 | // SPACING |
|
79 | 82 | @contentpadding: 15px; //padding on left and right of pages |
|
80 | 83 | @pagepadding: 40px; //padding on top and bottom of pages |
|
81 | 84 | @menupadding: 12px; //padding for sidebar and content |
|
82 | 85 | @sidebarpadding: 15px; //spacing between sections |
|
83 | 86 | @space: 40px; //spacing between sections |
|
84 | 87 | @padding: 15px; //padding inside modules |
|
85 | 88 | @textmargin: 20px; //spacing below headers |
|
86 | 89 | @header-padding: 20px; |
|
87 | 90 | @panel-padding: @padding; |
|
88 | 91 | @gravatar-size: 16px; // height/width of gravatar w/o border |
|
89 | 92 | |
|
90 | 93 | // ADMIN |
|
91 | 94 | @form-max-width: 750px; |
|
92 | 95 | |
|
93 | 96 | // FORMS (new) |
|
94 | 97 | @border-thickness-inputs: 1px; |
|
95 | 98 | @input-padding: @button-padding; //needs to match button padding |
|
96 | 99 | // TODO: johbo: Needed for working computation of paddings around labels etc. |
|
97 | 100 | // Expected to be replaced once we are done with the form refactoring. |
|
98 | 101 | @input-padding-px: 12px; |
|
99 | 102 | @legend-width: 220px; |
|
100 | 103 | @form-vertical-margin: 20px; |
|
101 | 104 | @form-check-width: 20px; |
|
102 | 105 | @form-radio-width: 10px; |
|
103 | 106 | @form-textcolor: @grey3; |
|
104 | 107 | |
|
105 | 108 | // FORMS |
|
106 | 109 | @label-width: 220px; |
|
107 | 110 | //TODO: lisa: Eventually we don't need both of these; remove |
|
108 | 111 | // label-width when legend-width is no longer used |
|
109 | 112 | |
|
110 | 113 | @input-border-thickness: @border-thickness; |
|
111 | 114 | @medium-inline-input-width: 115px; |
|
112 | 115 | @input-description-minwidth: 300px; |
|
113 | 116 | @label2-width: 200px; |
|
114 | 117 | @checkboxes-width: 420px; |
|
115 | 118 | @label-summary-minwidth: 80px; |
|
116 | 119 | @search-form-width: 400px; |
|
117 | 120 | @fields-input-m: 400px; |
|
118 | 121 | @fields-input-l: 800px; |
|
119 | 122 | |
|
120 | 123 | // BUTTONS |
|
121 | 124 | @button-padding: .9em; |
|
122 | 125 | |
|
123 | 126 | // DEFAULT WIDTHS |
|
124 | 127 | @wrapper-maxwidth: 1200px; |
|
125 | 128 | @sidebar-width: 145px; |
|
126 | 129 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; |
|
127 | 130 | @sidebar-small-width: 100px; |
|
128 | 131 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; |
|
129 | 132 | @texteditor-width: 660px; |
|
130 | 133 | @maincontent-maxwidth: 940px; |
|
131 | 134 | @pullrequest-width: 1025px; |
|
132 | 135 | @summary-menu-stats-width: 200px; |
|
133 | 136 | |
|
134 | 137 | // SCREEN WIDTHS |
|
135 | 138 | @screen-sm-min: 320px; |
|
136 | 139 | |
|
137 | 140 | // For Bootstrap |
|
138 | 141 | @panel-border-radius: @border-radius; |
General Comments 0
You need to be logged in to leave comments.
Login now