Show More
@@ -1,857 +1,855 b'' | |||||
1 | // |
|
1 | // | |
2 | // Variables |
|
2 | // Variables | |
3 | // -------------------------------------------------- |
|
3 | // -------------------------------------------------- | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | //== Colors |
|
6 | //== Colors | |
7 | // |
|
7 | // | |
8 | //## Gray and brand colors for use across Bootstrap. |
|
8 | //## Gray and brand colors for use across Bootstrap. | |
9 |
|
9 | |||
10 | @gray-base: #000; |
|
10 | @gray-base: #000; | |
11 | @gray-darker: lighten(@gray-base, 13.5%); // #222 |
|
11 | @gray-darker: lighten(@gray-base, 13.5%); // #222 | |
12 | @gray-dark: lighten(@gray-base, 20%); // #333 |
|
12 | @gray-dark: lighten(@gray-base, 20%); // #333 | |
13 | @gray: lighten(@gray-base, 33.5%); // #555 |
|
13 | @gray: lighten(@gray-base, 33.5%); // #555 | |
14 | @gray-light: lighten(@gray-base, 46.7%); // #777 |
|
14 | @gray-light: lighten(@gray-base, 46.7%); // #777 | |
15 | @gray-lighter: lighten(@gray-base, 93.5%); // #eee |
|
15 | @gray-lighter: lighten(@gray-base, 93.5%); // #eee | |
16 |
|
16 | |||
17 | @brand-primary: darken(#428bca, 6.5%); |
|
17 | @brand-primary: darken(#428bca, 6.5%); | |
18 | @brand-success: #5cb85c; |
|
18 | @brand-success: #5cb85c; | |
19 | @brand-info: #5bc0de; |
|
19 | @brand-info: #5bc0de; | |
20 | @brand-warning: #f0ad4e; |
|
20 | @brand-warning: #f0ad4e; | |
21 | @brand-danger: #d9534f; |
|
21 | @brand-danger: #d9534f; | |
22 |
|
22 | |||
23 |
|
23 | |||
24 | //== Scaffolding |
|
24 | //== Scaffolding | |
25 | // |
|
25 | // | |
26 | //## Settings for some of the most global styles. |
|
26 | //## Settings for some of the most global styles. | |
27 |
|
27 | |||
28 | //** Background color for `<body>`. |
|
28 | //** Background color for `<body>`. | |
29 | @body-bg: #fff; |
|
29 | @body-bg: #fff; | |
30 | //** Global text color on `<body>`. |
|
30 | //** Global text color on `<body>`. | |
31 | @text-color: @gray-dark; |
|
31 | @text-color: @gray-dark; | |
32 |
|
32 | |||
33 | //** Global textual link color. |
|
33 | //** Global textual link color. | |
34 | @link-color: @brand-primary; |
|
34 | @link-color: @brand-primary; | |
35 | //** Link hover color set via `darken()` function. |
|
35 | //** Link hover color set via `darken()` function. | |
36 | @link-hover-color: darken(@link-color, 15%); |
|
36 | @link-hover-color: darken(@link-color, 15%); | |
37 | //** Link hover decoration. |
|
37 | //** Link hover decoration. | |
38 | @link-hover-decoration: underline; |
|
38 | @link-hover-decoration: underline; | |
39 |
|
39 | |||
40 |
|
40 | |||
41 | //== Typography |
|
41 | //== Typography | |
42 | // |
|
42 | // | |
43 | //## Font, line-height, and color for body text, headings, and more. |
|
43 | //## Font, line-height, and color for body text, headings, and more. | |
44 |
|
44 | |||
45 | @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|
45 | @font-family-sans-serif: "Helvetica Neue", Helvetica, Arial, sans-serif; | |
46 | @font-family-serif: Georgia, "Times New Roman", Times, serif; |
|
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 | @font-family-base: @font-family-sans-serif; |
|
48 | @font-family-base: @font-family-sans-serif; | |
51 |
|
49 | |||
52 | @font-size-base: 14px; |
|
50 | @font-size-base: 14px; | |
53 | @font-size-large: ceil((@font-size-base * 1.25)); // ~18px |
|
51 | @font-size-large: ceil((@font-size-base * 1.25)); // ~18px | |
54 | @font-size-small: ceil((@font-size-base * 0.85)); // ~12px |
|
52 | @font-size-small: ceil((@font-size-base * 0.85)); // ~12px | |
55 |
|
53 | |||
56 | @font-size-h1: floor((@font-size-base * 2.6)); // ~36px |
|
54 | @font-size-h1: floor((@font-size-base * 2.6)); // ~36px | |
57 | @font-size-h2: floor((@font-size-base * 2.15)); // ~30px |
|
55 | @font-size-h2: floor((@font-size-base * 2.15)); // ~30px | |
58 | @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px |
|
56 | @font-size-h3: ceil((@font-size-base * 1.7)); // ~24px | |
59 | @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px |
|
57 | @font-size-h4: ceil((@font-size-base * 1.25)); // ~18px | |
60 | @font-size-h5: @font-size-base; |
|
58 | @font-size-h5: @font-size-base; | |
61 | @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px |
|
59 | @font-size-h6: ceil((@font-size-base * 0.85)); // ~12px | |
62 |
|
60 | |||
63 | //** Unit-less `line-height` for use in components like buttons. |
|
61 | //** Unit-less `line-height` for use in components like buttons. | |
64 | @line-height-base: 1.428571429; // 20/14 |
|
62 | @line-height-base: 1.428571429; // 20/14 | |
65 | //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc. |
|
63 | //** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc. | |
66 | @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px |
|
64 | @line-height-computed: floor((@font-size-base * @line-height-base)); // ~20px | |
67 |
|
65 | |||
68 | //** By default, this inherits from the `<body>`. |
|
66 | //** By default, this inherits from the `<body>`. | |
69 | @headings-font-family: inherit; |
|
67 | @headings-font-family: inherit; | |
70 | @headings-font-weight: 500; |
|
68 | @headings-font-weight: 500; | |
71 | @headings-line-height: 1.1; |
|
69 | @headings-line-height: 1.1; | |
72 | @headings-color: inherit; |
|
70 | @headings-color: inherit; | |
73 |
|
71 | |||
74 |
|
72 | |||
75 | //== Iconography |
|
73 | //== Iconography | |
76 | // |
|
74 | // | |
77 | //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower. |
|
75 | //## Specify custom location and filename of the included Glyphicons icon font. Useful for those including Bootstrap via Bower. | |
78 |
|
76 | |||
79 | //** Load fonts from this directory. |
|
77 | //** Load fonts from this directory. | |
80 | @icon-font-path: "../fonts/"; |
|
78 | @icon-font-path: "../fonts/"; | |
81 | //** File name for all font files. |
|
79 | //** File name for all font files. | |
82 | @icon-font-name: "glyphicons-halflings-regular"; |
|
80 | @icon-font-name: "glyphicons-halflings-regular"; | |
83 | //** Element ID within SVG icon file. |
|
81 | //** Element ID within SVG icon file. | |
84 | @icon-font-svg-id: "glyphicons_halflingsregular"; |
|
82 | @icon-font-svg-id: "glyphicons_halflingsregular"; | |
85 |
|
83 | |||
86 |
|
84 | |||
87 | //== Components |
|
85 | //== Components | |
88 | // |
|
86 | // | |
89 | //## Define common padding and border radius sizes and more. Values based on 14px text and 1.428 line-height (~20px to start). |
|
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 | @padding-base-vertical: 6px; |
|
89 | @padding-base-vertical: 6px; | |
92 | @padding-base-horizontal: 12px; |
|
90 | @padding-base-horizontal: 12px; | |
93 |
|
91 | |||
94 | @padding-large-vertical: 10px; |
|
92 | @padding-large-vertical: 10px; | |
95 | @padding-large-horizontal: 16px; |
|
93 | @padding-large-horizontal: 16px; | |
96 |
|
94 | |||
97 | @padding-small-vertical: 5px; |
|
95 | @padding-small-vertical: 5px; | |
98 | @padding-small-horizontal: 10px; |
|
96 | @padding-small-horizontal: 10px; | |
99 |
|
97 | |||
100 | @padding-xs-vertical: 1px; |
|
98 | @padding-xs-vertical: 1px; | |
101 | @padding-xs-horizontal: 5px; |
|
99 | @padding-xs-horizontal: 5px; | |
102 |
|
100 | |||
103 | @line-height-large: 1.33; |
|
101 | @line-height-large: 1.33; | |
104 | @line-height-small: 1.5; |
|
102 | @line-height-small: 1.5; | |
105 |
|
103 | |||
106 | @border-radius-base: @border-radius; |
|
104 | @border-radius-base: @border-radius; | |
107 | @border-radius-large: 6px; |
|
105 | @border-radius-large: 6px; | |
108 | @border-radius-small: 3px; |
|
106 | @border-radius-small: 3px; | |
109 |
|
107 | |||
110 | //** Global color for active items (e.g., navs or dropdowns). |
|
108 | //** Global color for active items (e.g., navs or dropdowns). | |
111 | @component-active-color: #fff; |
|
109 | @component-active-color: #fff; | |
112 | //** Global background color for active items (e.g., navs or dropdowns). |
|
110 | //** Global background color for active items (e.g., navs or dropdowns). | |
113 | @component-active-bg: @brand-primary; |
|
111 | @component-active-bg: @brand-primary; | |
114 |
|
112 | |||
115 | //** Width of the `border` for generating carets that indicator dropdowns. |
|
113 | //** Width of the `border` for generating carets that indicator dropdowns. | |
116 | @caret-width-base: 4px; |
|
114 | @caret-width-base: 4px; | |
117 | //** Carets increase slightly in size for larger components. |
|
115 | //** Carets increase slightly in size for larger components. | |
118 | @caret-width-large: 5px; |
|
116 | @caret-width-large: 5px; | |
119 |
|
117 | |||
120 |
|
118 | |||
121 | //== Tables |
|
119 | //== Tables | |
122 | // |
|
120 | // | |
123 | //## Customizes the `.table` component with basic values, each used across all table variations. |
|
121 | //## Customizes the `.table` component with basic values, each used across all table variations. | |
124 |
|
122 | |||
125 | //** Padding for `<th>`s and `<td>`s. |
|
123 | //** Padding for `<th>`s and `<td>`s. | |
126 | @table-cell-padding: 8px; |
|
124 | @table-cell-padding: 8px; | |
127 | //** Padding for cells in `.table-condensed`. |
|
125 | //** Padding for cells in `.table-condensed`. | |
128 | @table-condensed-cell-padding: 5px; |
|
126 | @table-condensed-cell-padding: 5px; | |
129 |
|
127 | |||
130 | //** Default background color used for all tables. |
|
128 | //** Default background color used for all tables. | |
131 | @table-bg: transparent; |
|
129 | @table-bg: transparent; | |
132 | //** Background color used for `.table-striped`. |
|
130 | //** Background color used for `.table-striped`. | |
133 | @table-bg-accent: #f9f9f9; |
|
131 | @table-bg-accent: #f9f9f9; | |
134 | //** Background color used for `.table-hover`. |
|
132 | //** Background color used for `.table-hover`. | |
135 | @table-bg-hover: #f5f5f5; |
|
133 | @table-bg-hover: #f5f5f5; | |
136 | @table-bg-active: @table-bg-hover; |
|
134 | @table-bg-active: @table-bg-hover; | |
137 |
|
135 | |||
138 | //** Border color for table and cell borders. |
|
136 | //** Border color for table and cell borders. | |
139 | @table-border-color: #ddd; |
|
137 | @table-border-color: #ddd; | |
140 |
|
138 | |||
141 |
|
139 | |||
142 | //== Buttons |
|
140 | //== Buttons | |
143 | // |
|
141 | // | |
144 | //## For each of Bootstrap's buttons, define text, background and border color. |
|
142 | //## For each of Bootstrap's buttons, define text, background and border color. | |
145 |
|
143 | |||
146 | @btn-font-weight: normal; |
|
144 | @btn-font-weight: normal; | |
147 |
|
145 | |||
148 | @btn-default-color: #333; |
|
146 | @btn-default-color: #333; | |
149 | @btn-default-bg: #fff; |
|
147 | @btn-default-bg: #fff; | |
150 | @btn-default-border: #ccc; |
|
148 | @btn-default-border: #ccc; | |
151 |
|
149 | |||
152 | @btn-primary-color: #fff; |
|
150 | @btn-primary-color: #fff; | |
153 | @btn-primary-bg: @brand-primary; |
|
151 | @btn-primary-bg: @brand-primary; | |
154 | @btn-primary-border: darken(@btn-primary-bg, 5%); |
|
152 | @btn-primary-border: darken(@btn-primary-bg, 5%); | |
155 |
|
153 | |||
156 | @btn-success-color: #fff; |
|
154 | @btn-success-color: #fff; | |
157 | @btn-success-bg: @brand-success; |
|
155 | @btn-success-bg: @brand-success; | |
158 | @btn-success-border: darken(@btn-success-bg, 5%); |
|
156 | @btn-success-border: darken(@btn-success-bg, 5%); | |
159 |
|
157 | |||
160 | @btn-info-color: #fff; |
|
158 | @btn-info-color: #fff; | |
161 | @btn-info-bg: @brand-info; |
|
159 | @btn-info-bg: @brand-info; | |
162 | @btn-info-border: darken(@btn-info-bg, 5%); |
|
160 | @btn-info-border: darken(@btn-info-bg, 5%); | |
163 |
|
161 | |||
164 | @btn-warning-color: #fff; |
|
162 | @btn-warning-color: #fff; | |
165 | @btn-warning-bg: @brand-warning; |
|
163 | @btn-warning-bg: @brand-warning; | |
166 | @btn-warning-border: darken(@btn-warning-bg, 5%); |
|
164 | @btn-warning-border: darken(@btn-warning-bg, 5%); | |
167 |
|
165 | |||
168 | @btn-danger-color: #fff; |
|
166 | @btn-danger-color: #fff; | |
169 | @btn-danger-bg: @brand-danger; |
|
167 | @btn-danger-bg: @brand-danger; | |
170 | @btn-danger-border: darken(@btn-danger-bg, 5%); |
|
168 | @btn-danger-border: darken(@btn-danger-bg, 5%); | |
171 |
|
169 | |||
172 | @btn-link-disabled-color: @gray-light; |
|
170 | @btn-link-disabled-color: @gray-light; | |
173 |
|
171 | |||
174 |
|
172 | |||
175 | //== Forms |
|
173 | //== Forms | |
176 | // |
|
174 | // | |
177 | //## |
|
175 | //## | |
178 |
|
176 | |||
179 | //** `<input>` background color |
|
177 | //** `<input>` background color | |
180 | @input-bg: #fff; |
|
178 | @input-bg: #fff; | |
181 | //** `<input disabled>` background color |
|
179 | //** `<input disabled>` background color | |
182 | @input-bg-disabled: @gray-lighter; |
|
180 | @input-bg-disabled: @gray-lighter; | |
183 |
|
181 | |||
184 | //** Text color for `<input>`s |
|
182 | //** Text color for `<input>`s | |
185 | @input-color: @gray; |
|
183 | @input-color: @gray; | |
186 | //** `<input>` border color |
|
184 | //** `<input>` border color | |
187 | @input-border: #ccc; |
|
185 | @input-border: #ccc; | |
188 |
|
186 | |||
189 | // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4 |
|
187 | // TODO: Rename `@input-border-radius` to `@input-border-radius-base` in v4 | |
190 | //** Default `.form-control` border radius |
|
188 | //** Default `.form-control` border radius | |
191 | @input-border-radius: @border-radius-base; |
|
189 | @input-border-radius: @border-radius-base; | |
192 | //** Large `.form-control` border radius |
|
190 | //** Large `.form-control` border radius | |
193 | @input-border-radius-large: @border-radius-large; |
|
191 | @input-border-radius-large: @border-radius-large; | |
194 | //** Small `.form-control` border radius |
|
192 | //** Small `.form-control` border radius | |
195 | @input-border-radius-small: @border-radius-small; |
|
193 | @input-border-radius-small: @border-radius-small; | |
196 |
|
194 | |||
197 | //** Border color for inputs on focus |
|
195 | //** Border color for inputs on focus | |
198 | @input-border-focus: #66afe9; |
|
196 | @input-border-focus: #66afe9; | |
199 |
|
197 | |||
200 | //** Placeholder text color |
|
198 | //** Placeholder text color | |
201 | @input-color-placeholder: #999; |
|
199 | @input-color-placeholder: #999; | |
202 |
|
200 | |||
203 | //** Default `.form-control` height |
|
201 | //** Default `.form-control` height | |
204 | @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); |
|
202 | @input-height-base: (@line-height-computed + (@padding-base-vertical * 2) + 2); | |
205 | //** Large `.form-control` height |
|
203 | //** Large `.form-control` height | |
206 | @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2); |
|
204 | @input-height-large: (ceil(@font-size-large * @line-height-large) + (@padding-large-vertical * 2) + 2); | |
207 | //** Small `.form-control` height |
|
205 | //** Small `.form-control` height | |
208 | @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2); |
|
206 | @input-height-small: (floor(@font-size-small * @line-height-small) + (@padding-small-vertical * 2) + 2); | |
209 |
|
207 | |||
210 | @legend-color: @gray-dark; |
|
208 | @legend-color: @gray-dark; | |
211 | @legend-border-color: #e5e5e5; |
|
209 | @legend-border-color: #e5e5e5; | |
212 |
|
210 | |||
213 | //** Background color for textual input addons |
|
211 | //** Background color for textual input addons | |
214 | @input-group-addon-bg: @gray-lighter; |
|
212 | @input-group-addon-bg: @gray-lighter; | |
215 | //** Border color for textual input addons |
|
213 | //** Border color for textual input addons | |
216 | @input-group-addon-border-color: @input-border; |
|
214 | @input-group-addon-border-color: @input-border; | |
217 |
|
215 | |||
218 | //** Disabled cursor for form controls and buttons. |
|
216 | //** Disabled cursor for form controls and buttons. | |
219 | @cursor-disabled: not-allowed; |
|
217 | @cursor-disabled: not-allowed; | |
220 |
|
218 | |||
221 |
|
219 | |||
222 | //== Dropdowns |
|
220 | //== Dropdowns | |
223 | // |
|
221 | // | |
224 | //## Dropdown menu container and contents. |
|
222 | //## Dropdown menu container and contents. | |
225 |
|
223 | |||
226 | //** Background for the dropdown menu. |
|
224 | //** Background for the dropdown menu. | |
227 | @dropdown-bg: #fff; |
|
225 | @dropdown-bg: #fff; | |
228 | //** Dropdown menu `border-color`. |
|
226 | //** Dropdown menu `border-color`. | |
229 | @dropdown-border: rgba(0,0,0,.15); |
|
227 | @dropdown-border: rgba(0,0,0,.15); | |
230 | //** Dropdown menu `border-color` **for IE8**. |
|
228 | //** Dropdown menu `border-color` **for IE8**. | |
231 | @dropdown-fallback-border: #ccc; |
|
229 | @dropdown-fallback-border: #ccc; | |
232 | //** Divider color for between dropdown items. |
|
230 | //** Divider color for between dropdown items. | |
233 | @dropdown-divider-bg: #e5e5e5; |
|
231 | @dropdown-divider-bg: #e5e5e5; | |
234 |
|
232 | |||
235 | //** Dropdown link text color. |
|
233 | //** Dropdown link text color. | |
236 | @dropdown-link-color: @gray-dark; |
|
234 | @dropdown-link-color: @gray-dark; | |
237 | //** Hover color for dropdown links. |
|
235 | //** Hover color for dropdown links. | |
238 | @dropdown-link-hover-color: darken(@gray-dark, 5%); |
|
236 | @dropdown-link-hover-color: darken(@gray-dark, 5%); | |
239 | //** Hover background for dropdown links. |
|
237 | //** Hover background for dropdown links. | |
240 | @dropdown-link-hover-bg: #f5f5f5; |
|
238 | @dropdown-link-hover-bg: #f5f5f5; | |
241 |
|
239 | |||
242 | //** Active dropdown menu item text color. |
|
240 | //** Active dropdown menu item text color. | |
243 | @dropdown-link-active-color: @component-active-color; |
|
241 | @dropdown-link-active-color: @component-active-color; | |
244 | //** Active dropdown menu item background color. |
|
242 | //** Active dropdown menu item background color. | |
245 | @dropdown-link-active-bg: @component-active-bg; |
|
243 | @dropdown-link-active-bg: @component-active-bg; | |
246 |
|
244 | |||
247 | //** Disabled dropdown menu item background color. |
|
245 | //** Disabled dropdown menu item background color. | |
248 | @dropdown-link-disabled-color: @gray-light; |
|
246 | @dropdown-link-disabled-color: @gray-light; | |
249 |
|
247 | |||
250 | //** Text color for headers within dropdown menus. |
|
248 | //** Text color for headers within dropdown menus. | |
251 | @dropdown-header-color: @gray-light; |
|
249 | @dropdown-header-color: @gray-light; | |
252 |
|
250 | |||
253 | //** Deprecated `@dropdown-caret-color` as of v3.1.0 |
|
251 | //** Deprecated `@dropdown-caret-color` as of v3.1.0 | |
254 | @dropdown-caret-color: #000; |
|
252 | @dropdown-caret-color: #000; | |
255 |
|
253 | |||
256 |
|
254 | |||
257 | //-- Z-index master list |
|
255 | //-- Z-index master list | |
258 | // |
|
256 | // | |
259 | // Warning: Avoid customizing these values. They're used for a bird's eye view |
|
257 | // Warning: Avoid customizing these values. They're used for a bird's eye view | |
260 | // of components dependent on the z-axis and are designed to all work together. |
|
258 | // of components dependent on the z-axis and are designed to all work together. | |
261 | // |
|
259 | // | |
262 | // Note: These variables are not generated into the Customizer. |
|
260 | // Note: These variables are not generated into the Customizer. | |
263 |
|
261 | |||
264 | @zindex-navbar: 1000; |
|
262 | @zindex-navbar: 1000; | |
265 | @zindex-dropdown: 1000; |
|
263 | @zindex-dropdown: 1000; | |
266 | @zindex-popover: 1060; |
|
264 | @zindex-popover: 1060; | |
267 | @zindex-tooltip: 1070; |
|
265 | @zindex-tooltip: 1070; | |
268 | @zindex-navbar-fixed: 1030; |
|
266 | @zindex-navbar-fixed: 1030; | |
269 | @zindex-modal: 1040; |
|
267 | @zindex-modal: 1040; | |
270 |
|
268 | |||
271 |
|
269 | |||
272 | //== Media queries breakpoints |
|
270 | //== Media queries breakpoints | |
273 | // |
|
271 | // | |
274 | //## Define the breakpoints at which your layout will change, adapting to different screen sizes. |
|
272 | //## Define the breakpoints at which your layout will change, adapting to different screen sizes. | |
275 |
|
273 | |||
276 | // Extra small screen / phone |
|
274 | // Extra small screen / phone | |
277 | //** Deprecated `@screen-xs` as of v3.0.1 |
|
275 | //** Deprecated `@screen-xs` as of v3.0.1 | |
278 | @screen-xs: 480px; |
|
276 | @screen-xs: 480px; | |
279 | //** Deprecated `@screen-xs-min` as of v3.2.0 |
|
277 | //** Deprecated `@screen-xs-min` as of v3.2.0 | |
280 | @screen-xs-min: @screen-xs; |
|
278 | @screen-xs-min: @screen-xs; | |
281 | //** Deprecated `@screen-phone` as of v3.0.1 |
|
279 | //** Deprecated `@screen-phone` as of v3.0.1 | |
282 | @screen-phone: @screen-xs-min; |
|
280 | @screen-phone: @screen-xs-min; | |
283 |
|
281 | |||
284 | // Small screen / tablet |
|
282 | // Small screen / tablet | |
285 | //** Deprecated `@screen-sm` as of v3.0.1 |
|
283 | //** Deprecated `@screen-sm` as of v3.0.1 | |
286 | @screen-sm: 768px; |
|
284 | @screen-sm: 768px; | |
287 | @screen-sm-min: @screen-sm; |
|
285 | @screen-sm-min: @screen-sm; | |
288 | //** Deprecated `@screen-tablet` as of v3.0.1 |
|
286 | //** Deprecated `@screen-tablet` as of v3.0.1 | |
289 | @screen-tablet: @screen-sm-min; |
|
287 | @screen-tablet: @screen-sm-min; | |
290 |
|
288 | |||
291 | // Medium screen / desktop |
|
289 | // Medium screen / desktop | |
292 | //** Deprecated `@screen-md` as of v3.0.1 |
|
290 | //** Deprecated `@screen-md` as of v3.0.1 | |
293 | @screen-md: 992px; |
|
291 | @screen-md: 992px; | |
294 | @screen-md-min: @screen-md; |
|
292 | @screen-md-min: @screen-md; | |
295 | //** Deprecated `@screen-desktop` as of v3.0.1 |
|
293 | //** Deprecated `@screen-desktop` as of v3.0.1 | |
296 | @screen-desktop: @screen-md-min; |
|
294 | @screen-desktop: @screen-md-min; | |
297 |
|
295 | |||
298 | // Large screen / wide desktop |
|
296 | // Large screen / wide desktop | |
299 | //** Deprecated `@screen-lg` as of v3.0.1 |
|
297 | //** Deprecated `@screen-lg` as of v3.0.1 | |
300 | @screen-lg: 1200px; |
|
298 | @screen-lg: 1200px; | |
301 | @screen-lg-min: @screen-lg; |
|
299 | @screen-lg-min: @screen-lg; | |
302 | //** Deprecated `@screen-lg-desktop` as of v3.0.1 |
|
300 | //** Deprecated `@screen-lg-desktop` as of v3.0.1 | |
303 | @screen-lg-desktop: @screen-lg-min; |
|
301 | @screen-lg-desktop: @screen-lg-min; | |
304 |
|
302 | |||
305 | // So media queries don't overlap when required, provide a maximum |
|
303 | // So media queries don't overlap when required, provide a maximum | |
306 | @screen-xs-max: (@screen-sm-min - 1); |
|
304 | @screen-xs-max: (@screen-sm-min - 1); | |
307 | @screen-sm-max: (@screen-md-min - 1); |
|
305 | @screen-sm-max: (@screen-md-min - 1); | |
308 | @screen-md-max: (@screen-lg-min - 1); |
|
306 | @screen-md-max: (@screen-lg-min - 1); | |
309 |
|
307 | |||
310 |
|
308 | |||
311 | //== Grid system |
|
309 | //== Grid system | |
312 | // |
|
310 | // | |
313 | //## Define your custom responsive grid. |
|
311 | //## Define your custom responsive grid. | |
314 |
|
312 | |||
315 | //** Number of columns in the grid. |
|
313 | //** Number of columns in the grid. | |
316 | @grid-columns: 12; |
|
314 | @grid-columns: 12; | |
317 | //** Padding between columns. Gets divided in half for the left and right. |
|
315 | //** Padding between columns. Gets divided in half for the left and right. | |
318 | @grid-gutter-width: 30px; |
|
316 | @grid-gutter-width: 30px; | |
319 | // Navbar collapse |
|
317 | // Navbar collapse | |
320 | //** Point at which the navbar becomes uncollapsed. |
|
318 | //** Point at which the navbar becomes uncollapsed. | |
321 | @grid-float-breakpoint: @screen-sm-min; |
|
319 | @grid-float-breakpoint: @screen-sm-min; | |
322 | //** Point at which the navbar begins collapsing. |
|
320 | //** Point at which the navbar begins collapsing. | |
323 | @grid-float-breakpoint-max: (@grid-float-breakpoint - 1); |
|
321 | @grid-float-breakpoint-max: (@grid-float-breakpoint - 1); | |
324 |
|
322 | |||
325 |
|
323 | |||
326 | //== Container sizes |
|
324 | //== Container sizes | |
327 | // |
|
325 | // | |
328 | //## Define the maximum width of `.container` for different screen sizes. |
|
326 | //## Define the maximum width of `.container` for different screen sizes. | |
329 |
|
327 | |||
330 | // Small screen / tablet |
|
328 | // Small screen / tablet | |
331 | @container-tablet: (720px + @grid-gutter-width); |
|
329 | @container-tablet: (720px + @grid-gutter-width); | |
332 | //** For `@screen-sm-min` and up. |
|
330 | //** For `@screen-sm-min` and up. | |
333 | @container-sm: @container-tablet; |
|
331 | @container-sm: @container-tablet; | |
334 |
|
332 | |||
335 | // Medium screen / desktop |
|
333 | // Medium screen / desktop | |
336 | @container-desktop: (940px + @grid-gutter-width); |
|
334 | @container-desktop: (940px + @grid-gutter-width); | |
337 | //** For `@screen-md-min` and up. |
|
335 | //** For `@screen-md-min` and up. | |
338 | @container-md: @container-desktop; |
|
336 | @container-md: @container-desktop; | |
339 |
|
337 | |||
340 | // Large screen / wide desktop |
|
338 | // Large screen / wide desktop | |
341 | @container-large-desktop: (1140px + @grid-gutter-width); |
|
339 | @container-large-desktop: (1140px + @grid-gutter-width); | |
342 | //** For `@screen-lg-min` and up. |
|
340 | //** For `@screen-lg-min` and up. | |
343 | @container-lg: @container-large-desktop; |
|
341 | @container-lg: @container-large-desktop; | |
344 |
|
342 | |||
345 |
|
343 | |||
346 | //== Navbar |
|
344 | //== Navbar | |
347 | // |
|
345 | // | |
348 | //## |
|
346 | //## | |
349 |
|
347 | |||
350 | // Basics of a navbar |
|
348 | // Basics of a navbar | |
351 | @navbar-height: 50px; |
|
349 | @navbar-height: 50px; | |
352 | @navbar-margin-bottom: @line-height-computed; |
|
350 | @navbar-margin-bottom: @line-height-computed; | |
353 | @navbar-border-radius: @border-radius-base; |
|
351 | @navbar-border-radius: @border-radius-base; | |
354 | @navbar-padding-horizontal: floor((@grid-gutter-width / 2)); |
|
352 | @navbar-padding-horizontal: floor((@grid-gutter-width / 2)); | |
355 | @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); |
|
353 | @navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2); | |
356 | @navbar-collapse-max-height: 340px; |
|
354 | @navbar-collapse-max-height: 340px; | |
357 |
|
355 | |||
358 | @navbar-default-color: #777; |
|
356 | @navbar-default-color: #777; | |
359 | @navbar-default-bg: #f8f8f8; |
|
357 | @navbar-default-bg: #f8f8f8; | |
360 | @navbar-default-border: darken(@navbar-default-bg, 6.5%); |
|
358 | @navbar-default-border: darken(@navbar-default-bg, 6.5%); | |
361 |
|
359 | |||
362 | // Navbar links |
|
360 | // Navbar links | |
363 | @navbar-default-link-color: #777; |
|
361 | @navbar-default-link-color: #777; | |
364 | @navbar-default-link-hover-color: #333; |
|
362 | @navbar-default-link-hover-color: #333; | |
365 | @navbar-default-link-hover-bg: transparent; |
|
363 | @navbar-default-link-hover-bg: transparent; | |
366 | @navbar-default-link-active-color: #555; |
|
364 | @navbar-default-link-active-color: #555; | |
367 | @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); |
|
365 | @navbar-default-link-active-bg: darken(@navbar-default-bg, 6.5%); | |
368 | @navbar-default-link-disabled-color: #ccc; |
|
366 | @navbar-default-link-disabled-color: #ccc; | |
369 | @navbar-default-link-disabled-bg: transparent; |
|
367 | @navbar-default-link-disabled-bg: transparent; | |
370 |
|
368 | |||
371 | // Navbar brand label |
|
369 | // Navbar brand label | |
372 | @navbar-default-brand-color: @navbar-default-link-color; |
|
370 | @navbar-default-brand-color: @navbar-default-link-color; | |
373 | @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%); |
|
371 | @navbar-default-brand-hover-color: darken(@navbar-default-brand-color, 10%); | |
374 | @navbar-default-brand-hover-bg: transparent; |
|
372 | @navbar-default-brand-hover-bg: transparent; | |
375 |
|
373 | |||
376 | // Navbar toggle |
|
374 | // Navbar toggle | |
377 | @navbar-default-toggle-hover-bg: #ddd; |
|
375 | @navbar-default-toggle-hover-bg: #ddd; | |
378 | @navbar-default-toggle-icon-bar-bg: #888; |
|
376 | @navbar-default-toggle-icon-bar-bg: #888; | |
379 | @navbar-default-toggle-border-color: #ddd; |
|
377 | @navbar-default-toggle-border-color: #ddd; | |
380 |
|
378 | |||
381 |
|
379 | |||
382 | // Inverted navbar |
|
380 | // Inverted navbar | |
383 | // Reset inverted navbar basics |
|
381 | // Reset inverted navbar basics | |
384 | @navbar-inverse-color: lighten(@gray-light, 15%); |
|
382 | @navbar-inverse-color: lighten(@gray-light, 15%); | |
385 | @navbar-inverse-bg: #222; |
|
383 | @navbar-inverse-bg: #222; | |
386 | @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); |
|
384 | @navbar-inverse-border: darken(@navbar-inverse-bg, 10%); | |
387 |
|
385 | |||
388 | // Inverted navbar links |
|
386 | // Inverted navbar links | |
389 | @navbar-inverse-link-color: lighten(@gray-light, 15%); |
|
387 | @navbar-inverse-link-color: lighten(@gray-light, 15%); | |
390 | @navbar-inverse-link-hover-color: #fff; |
|
388 | @navbar-inverse-link-hover-color: #fff; | |
391 | @navbar-inverse-link-hover-bg: transparent; |
|
389 | @navbar-inverse-link-hover-bg: transparent; | |
392 | @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; |
|
390 | @navbar-inverse-link-active-color: @navbar-inverse-link-hover-color; | |
393 | @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); |
|
391 | @navbar-inverse-link-active-bg: darken(@navbar-inverse-bg, 10%); | |
394 | @navbar-inverse-link-disabled-color: #444; |
|
392 | @navbar-inverse-link-disabled-color: #444; | |
395 | @navbar-inverse-link-disabled-bg: transparent; |
|
393 | @navbar-inverse-link-disabled-bg: transparent; | |
396 |
|
394 | |||
397 | // Inverted navbar brand label |
|
395 | // Inverted navbar brand label | |
398 | @navbar-inverse-brand-color: @navbar-inverse-link-color; |
|
396 | @navbar-inverse-brand-color: @navbar-inverse-link-color; | |
399 | @navbar-inverse-brand-hover-color: #fff; |
|
397 | @navbar-inverse-brand-hover-color: #fff; | |
400 | @navbar-inverse-brand-hover-bg: transparent; |
|
398 | @navbar-inverse-brand-hover-bg: transparent; | |
401 |
|
399 | |||
402 | // Inverted navbar toggle |
|
400 | // Inverted navbar toggle | |
403 | @navbar-inverse-toggle-hover-bg: #333; |
|
401 | @navbar-inverse-toggle-hover-bg: #333; | |
404 | @navbar-inverse-toggle-icon-bar-bg: #fff; |
|
402 | @navbar-inverse-toggle-icon-bar-bg: #fff; | |
405 | @navbar-inverse-toggle-border-color: #333; |
|
403 | @navbar-inverse-toggle-border-color: #333; | |
406 |
|
404 | |||
407 |
|
405 | |||
408 | //== Navs |
|
406 | //== Navs | |
409 | // |
|
407 | // | |
410 | //## |
|
408 | //## | |
411 |
|
409 | |||
412 | //=== Shared nav styles |
|
410 | //=== Shared nav styles | |
413 | @nav-link-padding: 10px 15px; |
|
411 | @nav-link-padding: 10px 15px; | |
414 | @nav-link-hover-bg: @gray-lighter; |
|
412 | @nav-link-hover-bg: @gray-lighter; | |
415 |
|
413 | |||
416 | @nav-disabled-link-color: @gray-light; |
|
414 | @nav-disabled-link-color: @gray-light; | |
417 | @nav-disabled-link-hover-color: @gray-light; |
|
415 | @nav-disabled-link-hover-color: @gray-light; | |
418 |
|
416 | |||
419 | //== Tabs |
|
417 | //== Tabs | |
420 | @nav-tabs-border-color: #ddd; |
|
418 | @nav-tabs-border-color: #ddd; | |
421 |
|
419 | |||
422 | @nav-tabs-link-hover-border-color: @gray-lighter; |
|
420 | @nav-tabs-link-hover-border-color: @gray-lighter; | |
423 |
|
421 | |||
424 | @nav-tabs-active-link-hover-bg: @body-bg; |
|
422 | @nav-tabs-active-link-hover-bg: @body-bg; | |
425 | @nav-tabs-active-link-hover-color: @gray; |
|
423 | @nav-tabs-active-link-hover-color: @gray; | |
426 | @nav-tabs-active-link-hover-border-color: #ddd; |
|
424 | @nav-tabs-active-link-hover-border-color: #ddd; | |
427 |
|
425 | |||
428 | @nav-tabs-justified-link-border-color: #ddd; |
|
426 | @nav-tabs-justified-link-border-color: #ddd; | |
429 | @nav-tabs-justified-active-link-border-color: @body-bg; |
|
427 | @nav-tabs-justified-active-link-border-color: @body-bg; | |
430 |
|
428 | |||
431 | //== Pills |
|
429 | //== Pills | |
432 | @nav-pills-border-radius: @border-radius-base; |
|
430 | @nav-pills-border-radius: @border-radius-base; | |
433 | @nav-pills-active-link-hover-bg: @component-active-bg; |
|
431 | @nav-pills-active-link-hover-bg: @component-active-bg; | |
434 | @nav-pills-active-link-hover-color: @component-active-color; |
|
432 | @nav-pills-active-link-hover-color: @component-active-color; | |
435 |
|
433 | |||
436 |
|
434 | |||
437 | //== Pagination |
|
435 | //== Pagination | |
438 | // |
|
436 | // | |
439 | //## |
|
437 | //## | |
440 |
|
438 | |||
441 | @pagination-color: @link-color; |
|
439 | @pagination-color: @link-color; | |
442 | @pagination-bg: #fff; |
|
440 | @pagination-bg: #fff; | |
443 | @pagination-border: #ddd; |
|
441 | @pagination-border: #ddd; | |
444 |
|
442 | |||
445 | @pagination-hover-color: @link-hover-color; |
|
443 | @pagination-hover-color: @link-hover-color; | |
446 | @pagination-hover-bg: @gray-lighter; |
|
444 | @pagination-hover-bg: @gray-lighter; | |
447 | @pagination-hover-border: #ddd; |
|
445 | @pagination-hover-border: #ddd; | |
448 |
|
446 | |||
449 | @pagination-active-color: #fff; |
|
447 | @pagination-active-color: #fff; | |
450 | @pagination-active-bg: @brand-primary; |
|
448 | @pagination-active-bg: @brand-primary; | |
451 | @pagination-active-border: @brand-primary; |
|
449 | @pagination-active-border: @brand-primary; | |
452 |
|
450 | |||
453 | @pagination-disabled-color: @gray-light; |
|
451 | @pagination-disabled-color: @gray-light; | |
454 | @pagination-disabled-bg: #fff; |
|
452 | @pagination-disabled-bg: #fff; | |
455 | @pagination-disabled-border: #ddd; |
|
453 | @pagination-disabled-border: #ddd; | |
456 |
|
454 | |||
457 |
|
455 | |||
458 | //== Pager |
|
456 | //== Pager | |
459 | // |
|
457 | // | |
460 | //## |
|
458 | //## | |
461 |
|
459 | |||
462 | @pager-bg: @pagination-bg; |
|
460 | @pager-bg: @pagination-bg; | |
463 | @pager-border: @pagination-border; |
|
461 | @pager-border: @pagination-border; | |
464 | @pager-border-radius: 15px; |
|
462 | @pager-border-radius: 15px; | |
465 |
|
463 | |||
466 | @pager-hover-bg: @pagination-hover-bg; |
|
464 | @pager-hover-bg: @pagination-hover-bg; | |
467 |
|
465 | |||
468 | @pager-active-bg: @pagination-active-bg; |
|
466 | @pager-active-bg: @pagination-active-bg; | |
469 | @pager-active-color: @pagination-active-color; |
|
467 | @pager-active-color: @pagination-active-color; | |
470 |
|
468 | |||
471 | @pager-disabled-color: @pagination-disabled-color; |
|
469 | @pager-disabled-color: @pagination-disabled-color; | |
472 |
|
470 | |||
473 |
|
471 | |||
474 | //== Jumbotron |
|
472 | //== Jumbotron | |
475 | // |
|
473 | // | |
476 | //## |
|
474 | //## | |
477 |
|
475 | |||
478 | @jumbotron-padding: 30px; |
|
476 | @jumbotron-padding: 30px; | |
479 | @jumbotron-color: inherit; |
|
477 | @jumbotron-color: inherit; | |
480 | @jumbotron-bg: @gray-lighter; |
|
478 | @jumbotron-bg: @gray-lighter; | |
481 | @jumbotron-heading-color: inherit; |
|
479 | @jumbotron-heading-color: inherit; | |
482 | @jumbotron-font-size: ceil((@font-size-base * 1.5)); |
|
480 | @jumbotron-font-size: ceil((@font-size-base * 1.5)); | |
483 |
|
481 | |||
484 |
|
482 | |||
485 | //== Form states and alerts |
|
483 | //== Form states and alerts | |
486 | // |
|
484 | // | |
487 | //## Define colors for form feedback states and, by default, alerts. |
|
485 | //## Define colors for form feedback states and, by default, alerts. | |
488 |
|
486 | |||
489 | @state-success-text: #3c763d; |
|
487 | @state-success-text: #3c763d; | |
490 | @state-success-bg: #dff0d8; |
|
488 | @state-success-bg: #dff0d8; | |
491 | @state-success-border: darken(spin(@state-success-bg, -10), 5%); |
|
489 | @state-success-border: darken(spin(@state-success-bg, -10), 5%); | |
492 |
|
490 | |||
493 | @state-info-text: #31708f; |
|
491 | @state-info-text: #31708f; | |
494 | @state-info-bg: #d9edf7; |
|
492 | @state-info-bg: #d9edf7; | |
495 | @state-info-border: darken(spin(@state-info-bg, -10), 7%); |
|
493 | @state-info-border: darken(spin(@state-info-bg, -10), 7%); | |
496 |
|
494 | |||
497 | @state-warning-text: #8a6d3b; |
|
495 | @state-warning-text: #8a6d3b; | |
498 | @state-warning-bg: #fcf8e3; |
|
496 | @state-warning-bg: #fcf8e3; | |
499 | @state-warning-border: darken(spin(@state-warning-bg, -10), 5%); |
|
497 | @state-warning-border: darken(spin(@state-warning-bg, -10), 5%); | |
500 |
|
498 | |||
501 | @state-danger-text: #a94442; |
|
499 | @state-danger-text: #a94442; | |
502 | @state-danger-bg: #f2dede; |
|
500 | @state-danger-bg: #f2dede; | |
503 | @state-danger-border: darken(spin(@state-danger-bg, -10), 5%); |
|
501 | @state-danger-border: darken(spin(@state-danger-bg, -10), 5%); | |
504 |
|
502 | |||
505 |
|
503 | |||
506 | //== Tooltips |
|
504 | //== Tooltips | |
507 | // |
|
505 | // | |
508 | //## |
|
506 | //## | |
509 |
|
507 | |||
510 | //** Tooltip max width |
|
508 | //** Tooltip max width | |
511 | @tooltip-max-width: 200px; |
|
509 | @tooltip-max-width: 200px; | |
512 | //** Tooltip text color |
|
510 | //** Tooltip text color | |
513 | @tooltip-color: #fff; |
|
511 | @tooltip-color: #fff; | |
514 | //** Tooltip background color |
|
512 | //** Tooltip background color | |
515 | @tooltip-bg: #000; |
|
513 | @tooltip-bg: #000; | |
516 | @tooltip-opacity: .9; |
|
514 | @tooltip-opacity: .9; | |
517 |
|
515 | |||
518 | //** Tooltip arrow width |
|
516 | //** Tooltip arrow width | |
519 | @tooltip-arrow-width: 5px; |
|
517 | @tooltip-arrow-width: 5px; | |
520 | //** Tooltip arrow color |
|
518 | //** Tooltip arrow color | |
521 | @tooltip-arrow-color: @tooltip-bg; |
|
519 | @tooltip-arrow-color: @tooltip-bg; | |
522 |
|
520 | |||
523 |
|
521 | |||
524 | //== Popovers |
|
522 | //== Popovers | |
525 | // |
|
523 | // | |
526 | //## |
|
524 | //## | |
527 |
|
525 | |||
528 | //** Popover body background color |
|
526 | //** Popover body background color | |
529 | @popover-bg: #fff; |
|
527 | @popover-bg: #fff; | |
530 | //** Popover maximum width |
|
528 | //** Popover maximum width | |
531 | @popover-max-width: 276px; |
|
529 | @popover-max-width: 276px; | |
532 | //** Popover border color |
|
530 | //** Popover border color | |
533 | @popover-border-color: rgba(0,0,0,.2); |
|
531 | @popover-border-color: rgba(0,0,0,.2); | |
534 | //** Popover fallback border color |
|
532 | //** Popover fallback border color | |
535 | @popover-fallback-border-color: #ccc; |
|
533 | @popover-fallback-border-color: #ccc; | |
536 |
|
534 | |||
537 | //** Popover title background color |
|
535 | //** Popover title background color | |
538 | @popover-title-bg: darken(@popover-bg, 3%); |
|
536 | @popover-title-bg: darken(@popover-bg, 3%); | |
539 |
|
537 | |||
540 | //** Popover arrow width |
|
538 | //** Popover arrow width | |
541 | @popover-arrow-width: 10px; |
|
539 | @popover-arrow-width: 10px; | |
542 | //** Popover arrow color |
|
540 | //** Popover arrow color | |
543 | @popover-arrow-color: @popover-bg; |
|
541 | @popover-arrow-color: @popover-bg; | |
544 |
|
542 | |||
545 | //** Popover outer arrow width |
|
543 | //** Popover outer arrow width | |
546 | @popover-arrow-outer-width: (@popover-arrow-width + 1); |
|
544 | @popover-arrow-outer-width: (@popover-arrow-width + 1); | |
547 | //** Popover outer arrow color |
|
545 | //** Popover outer arrow color | |
548 | @popover-arrow-outer-color: fadein(@popover-border-color, 5%); |
|
546 | @popover-arrow-outer-color: fadein(@popover-border-color, 5%); | |
549 | //** Popover outer arrow fallback color |
|
547 | //** Popover outer arrow fallback color | |
550 | @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%); |
|
548 | @popover-arrow-outer-fallback-color: darken(@popover-fallback-border-color, 20%); | |
551 |
|
549 | |||
552 |
|
550 | |||
553 | //== Labels |
|
551 | //== Labels | |
554 | // |
|
552 | // | |
555 | //## |
|
553 | //## | |
556 |
|
554 | |||
557 | //** Default label background color |
|
555 | //** Default label background color | |
558 | @label-default-bg: @gray-light; |
|
556 | @label-default-bg: @gray-light; | |
559 | //** Primary label background color |
|
557 | //** Primary label background color | |
560 | @label-primary-bg: @brand-primary; |
|
558 | @label-primary-bg: @brand-primary; | |
561 | //** Success label background color |
|
559 | //** Success label background color | |
562 | @label-success-bg: @brand-success; |
|
560 | @label-success-bg: @brand-success; | |
563 | //** Info label background color |
|
561 | //** Info label background color | |
564 | @label-info-bg: @brand-info; |
|
562 | @label-info-bg: @brand-info; | |
565 | //** Warning label background color |
|
563 | //** Warning label background color | |
566 | @label-warning-bg: @brand-warning; |
|
564 | @label-warning-bg: @brand-warning; | |
567 | //** Danger label background color |
|
565 | //** Danger label background color | |
568 | @label-danger-bg: @brand-danger; |
|
566 | @label-danger-bg: @brand-danger; | |
569 |
|
567 | |||
570 | //** Default label text color |
|
568 | //** Default label text color | |
571 | @label-color: #fff; |
|
569 | @label-color: #fff; | |
572 | //** Default text color of a linked label |
|
570 | //** Default text color of a linked label | |
573 | @label-link-hover-color: #fff; |
|
571 | @label-link-hover-color: #fff; | |
574 |
|
572 | |||
575 |
|
573 | |||
576 | //== Modals |
|
574 | //== Modals | |
577 | // |
|
575 | // | |
578 | //## |
|
576 | //## | |
579 |
|
577 | |||
580 | //** Padding applied to the modal body |
|
578 | //** Padding applied to the modal body | |
581 | @modal-inner-padding: 15px; |
|
579 | @modal-inner-padding: 15px; | |
582 |
|
580 | |||
583 | //** Padding applied to the modal title |
|
581 | //** Padding applied to the modal title | |
584 | @modal-title-padding: 15px; |
|
582 | @modal-title-padding: 15px; | |
585 | //** Modal title line-height |
|
583 | //** Modal title line-height | |
586 | @modal-title-line-height: @line-height-base; |
|
584 | @modal-title-line-height: @line-height-base; | |
587 |
|
585 | |||
588 | //** Background color of modal content area |
|
586 | //** Background color of modal content area | |
589 | @modal-content-bg: #fff; |
|
587 | @modal-content-bg: #fff; | |
590 | //** Modal content border color |
|
588 | //** Modal content border color | |
591 | @modal-content-border-color: rgba(0,0,0,.2); |
|
589 | @modal-content-border-color: rgba(0,0,0,.2); | |
592 | //** Modal content border color **for IE8** |
|
590 | //** Modal content border color **for IE8** | |
593 | @modal-content-fallback-border-color: #999; |
|
591 | @modal-content-fallback-border-color: #999; | |
594 |
|
592 | |||
595 | //** Modal backdrop background color |
|
593 | //** Modal backdrop background color | |
596 | @modal-backdrop-bg: #000; |
|
594 | @modal-backdrop-bg: #000; | |
597 | //** Modal backdrop opacity |
|
595 | //** Modal backdrop opacity | |
598 | @modal-backdrop-opacity: .5; |
|
596 | @modal-backdrop-opacity: .5; | |
599 | //** Modal header border color |
|
597 | //** Modal header border color | |
600 | @modal-header-border-color: #e5e5e5; |
|
598 | @modal-header-border-color: #e5e5e5; | |
601 | //** Modal footer border color |
|
599 | //** Modal footer border color | |
602 | @modal-footer-border-color: @modal-header-border-color; |
|
600 | @modal-footer-border-color: @modal-header-border-color; | |
603 |
|
601 | |||
604 | @modal-lg: 900px; |
|
602 | @modal-lg: 900px; | |
605 | @modal-md: 600px; |
|
603 | @modal-md: 600px; | |
606 | @modal-sm: 300px; |
|
604 | @modal-sm: 300px; | |
607 |
|
605 | |||
608 |
|
606 | |||
609 | //== Alerts |
|
607 | //== Alerts | |
610 | // |
|
608 | // | |
611 | //## Define alert colors, border radius, and padding. |
|
609 | //## Define alert colors, border radius, and padding. | |
612 |
|
610 | |||
613 | @alert-padding: 15px; |
|
611 | @alert-padding: 15px; | |
614 | @alert-border-radius: @border-radius-base; |
|
612 | @alert-border-radius: @border-radius-base; | |
615 | @alert-link-font-weight: bold; |
|
613 | @alert-link-font-weight: bold; | |
616 |
|
614 | |||
617 | @alert-success-bg: @state-success-bg; |
|
615 | @alert-success-bg: @state-success-bg; | |
618 | @alert-success-text: @state-success-text; |
|
616 | @alert-success-text: @state-success-text; | |
619 | @alert-success-border: @state-success-border; |
|
617 | @alert-success-border: @state-success-border; | |
620 |
|
618 | |||
621 | @alert-info-bg: @state-info-bg; |
|
619 | @alert-info-bg: @state-info-bg; | |
622 | @alert-info-text: @state-info-text; |
|
620 | @alert-info-text: @state-info-text; | |
623 | @alert-info-border: @state-info-border; |
|
621 | @alert-info-border: @state-info-border; | |
624 |
|
622 | |||
625 | @alert-warning-bg: @state-warning-bg; |
|
623 | @alert-warning-bg: @state-warning-bg; | |
626 | @alert-warning-text: @state-warning-text; |
|
624 | @alert-warning-text: @state-warning-text; | |
627 | @alert-warning-border: @state-warning-border; |
|
625 | @alert-warning-border: @state-warning-border; | |
628 |
|
626 | |||
629 | @alert-danger-bg: @state-danger-bg; |
|
627 | @alert-danger-bg: @state-danger-bg; | |
630 | @alert-danger-text: @state-danger-text; |
|
628 | @alert-danger-text: @state-danger-text; | |
631 | @alert-danger-border: @state-danger-border; |
|
629 | @alert-danger-border: @state-danger-border; | |
632 |
|
630 | |||
633 |
|
631 | |||
634 | //== Progress bars |
|
632 | //== Progress bars | |
635 | // |
|
633 | // | |
636 | //## |
|
634 | //## | |
637 |
|
635 | |||
638 | //** Background color of the whole progress component |
|
636 | //** Background color of the whole progress component | |
639 | @progress-bg: #f5f5f5; |
|
637 | @progress-bg: #f5f5f5; | |
640 | //** Progress bar text color |
|
638 | //** Progress bar text color | |
641 | @progress-bar-color: #fff; |
|
639 | @progress-bar-color: #fff; | |
642 | //** Variable for setting rounded corners on progress bar. |
|
640 | //** Variable for setting rounded corners on progress bar. | |
643 | @progress-border-radius: @border-radius-base; |
|
641 | @progress-border-radius: @border-radius-base; | |
644 |
|
642 | |||
645 | //** Default progress bar color |
|
643 | //** Default progress bar color | |
646 | @progress-bar-bg: @brand-primary; |
|
644 | @progress-bar-bg: @brand-primary; | |
647 | //** Success progress bar color |
|
645 | //** Success progress bar color | |
648 | @progress-bar-success-bg: @brand-success; |
|
646 | @progress-bar-success-bg: @brand-success; | |
649 | //** Warning progress bar color |
|
647 | //** Warning progress bar color | |
650 | @progress-bar-warning-bg: @brand-warning; |
|
648 | @progress-bar-warning-bg: @brand-warning; | |
651 | //** Danger progress bar color |
|
649 | //** Danger progress bar color | |
652 | @progress-bar-danger-bg: @brand-danger; |
|
650 | @progress-bar-danger-bg: @brand-danger; | |
653 | //** Info progress bar color |
|
651 | //** Info progress bar color | |
654 | @progress-bar-info-bg: @brand-info; |
|
652 | @progress-bar-info-bg: @brand-info; | |
655 |
|
653 | |||
656 |
|
654 | |||
657 | //== List group |
|
655 | //== List group | |
658 | // |
|
656 | // | |
659 | //## |
|
657 | //## | |
660 |
|
658 | |||
661 | //** Background color on `.list-group-item` |
|
659 | //** Background color on `.list-group-item` | |
662 | @list-group-bg: #fff; |
|
660 | @list-group-bg: #fff; | |
663 | //** `.list-group-item` border color |
|
661 | //** `.list-group-item` border color | |
664 | @list-group-border: #ddd; |
|
662 | @list-group-border: #ddd; | |
665 | //** List group border radius |
|
663 | //** List group border radius | |
666 | @list-group-border-radius: @border-radius-base; |
|
664 | @list-group-border-radius: @border-radius-base; | |
667 |
|
665 | |||
668 | //** Background color of single list items on hover |
|
666 | //** Background color of single list items on hover | |
669 | @list-group-hover-bg: #f5f5f5; |
|
667 | @list-group-hover-bg: #f5f5f5; | |
670 | //** Text color of active list items |
|
668 | //** Text color of active list items | |
671 | @list-group-active-color: @component-active-color; |
|
669 | @list-group-active-color: @component-active-color; | |
672 | //** Background color of active list items |
|
670 | //** Background color of active list items | |
673 | @list-group-active-bg: @component-active-bg; |
|
671 | @list-group-active-bg: @component-active-bg; | |
674 | //** Border color of active list elements |
|
672 | //** Border color of active list elements | |
675 | @list-group-active-border: @list-group-active-bg; |
|
673 | @list-group-active-border: @list-group-active-bg; | |
676 | //** Text color for content within active list items |
|
674 | //** Text color for content within active list items | |
677 | @list-group-active-text-color: lighten(@list-group-active-bg, 40%); |
|
675 | @list-group-active-text-color: lighten(@list-group-active-bg, 40%); | |
678 |
|
676 | |||
679 | //** Text color of disabled list items |
|
677 | //** Text color of disabled list items | |
680 | @list-group-disabled-color: @gray-light; |
|
678 | @list-group-disabled-color: @gray-light; | |
681 | //** Background color of disabled list items |
|
679 | //** Background color of disabled list items | |
682 | @list-group-disabled-bg: @gray-lighter; |
|
680 | @list-group-disabled-bg: @gray-lighter; | |
683 | //** Text color for content within disabled list items |
|
681 | //** Text color for content within disabled list items | |
684 | @list-group-disabled-text-color: @list-group-disabled-color; |
|
682 | @list-group-disabled-text-color: @list-group-disabled-color; | |
685 |
|
683 | |||
686 | @list-group-link-color: #555; |
|
684 | @list-group-link-color: #555; | |
687 | @list-group-link-hover-color: @list-group-link-color; |
|
685 | @list-group-link-hover-color: @list-group-link-color; | |
688 | @list-group-link-heading-color: #333; |
|
686 | @list-group-link-heading-color: #333; | |
689 |
|
687 | |||
690 |
|
688 | |||
691 | //== Panels |
|
689 | //== Panels | |
692 | // |
|
690 | // | |
693 | //## |
|
691 | //## | |
694 |
|
692 | |||
695 | @panel-bg: #fff; |
|
693 | @panel-bg: #fff; | |
696 | @panel-body-padding: @padding; |
|
694 | @panel-body-padding: @padding; | |
697 | @panel-heading-padding: 10px 15px; |
|
695 | @panel-heading-padding: 10px 15px; | |
698 | @panel-footer-padding: @panel-heading-padding; |
|
696 | @panel-footer-padding: @panel-heading-padding; | |
699 | @panel-border-radius: @border-radius-base; |
|
697 | @panel-border-radius: @border-radius-base; | |
700 |
|
698 | |||
701 | //** Border color for elements within panels |
|
699 | //** Border color for elements within panels | |
702 | @panel-inner-border: #ddd; |
|
700 | @panel-inner-border: #ddd; | |
703 | @panel-footer-bg: #fff; |
|
701 | @panel-footer-bg: #fff; | |
704 |
|
702 | |||
705 | @panel-default-text: @text-color; |
|
703 | @panel-default-text: @text-color; | |
706 | @panel-default-border: @grey5; |
|
704 | @panel-default-border: @grey5; | |
707 | @panel-default-heading-bg: @grey6; |
|
705 | @panel-default-heading-bg: @grey6; | |
708 |
|
706 | |||
709 | @panel-primary-text: #fff; |
|
707 | @panel-primary-text: #fff; | |
710 | @panel-primary-border: @brand-primary; |
|
708 | @panel-primary-border: @brand-primary; | |
711 | @panel-primary-heading-bg: @brand-primary; |
|
709 | @panel-primary-heading-bg: @brand-primary; | |
712 |
|
710 | |||
713 | @panel-success-text: @state-success-text; |
|
711 | @panel-success-text: @state-success-text; | |
714 | @panel-success-border: @state-success-border; |
|
712 | @panel-success-border: @state-success-border; | |
715 | @panel-success-heading-bg: @state-success-bg; |
|
713 | @panel-success-heading-bg: @state-success-bg; | |
716 |
|
714 | |||
717 | @panel-info-text: @state-info-text; |
|
715 | @panel-info-text: @state-info-text; | |
718 | @panel-info-border: @state-info-border; |
|
716 | @panel-info-border: @state-info-border; | |
719 | @panel-info-heading-bg: @state-info-bg; |
|
717 | @panel-info-heading-bg: @state-info-bg; | |
720 |
|
718 | |||
721 | @panel-warning-text: @state-warning-text; |
|
719 | @panel-warning-text: @state-warning-text; | |
722 | @panel-warning-border: @state-warning-border; |
|
720 | @panel-warning-border: @state-warning-border; | |
723 | @panel-warning-heading-bg: @state-warning-bg; |
|
721 | @panel-warning-heading-bg: @state-warning-bg; | |
724 |
|
722 | |||
725 | @panel-danger-text: @state-danger-text; |
|
723 | @panel-danger-text: @state-danger-text; | |
726 | @panel-danger-border: @state-danger-border; |
|
724 | @panel-danger-border: @state-danger-border; | |
727 | @panel-danger-heading-bg: @state-danger-bg; |
|
725 | @panel-danger-heading-bg: @state-danger-bg; | |
728 |
|
726 | |||
729 |
|
727 | |||
730 | //== Thumbnails |
|
728 | //== Thumbnails | |
731 | // |
|
729 | // | |
732 | //## |
|
730 | //## | |
733 |
|
731 | |||
734 | //** Padding around the thumbnail image |
|
732 | //** Padding around the thumbnail image | |
735 | @thumbnail-padding: 4px; |
|
733 | @thumbnail-padding: 4px; | |
736 | //** Thumbnail background color |
|
734 | //** Thumbnail background color | |
737 | @thumbnail-bg: @body-bg; |
|
735 | @thumbnail-bg: @body-bg; | |
738 | //** Thumbnail border color |
|
736 | //** Thumbnail border color | |
739 | @thumbnail-border: #ddd; |
|
737 | @thumbnail-border: #ddd; | |
740 | //** Thumbnail border radius |
|
738 | //** Thumbnail border radius | |
741 | @thumbnail-border-radius: @border-radius-base; |
|
739 | @thumbnail-border-radius: @border-radius-base; | |
742 |
|
740 | |||
743 | //** Custom text color for thumbnail captions |
|
741 | //** Custom text color for thumbnail captions | |
744 | @thumbnail-caption-color: @text-color; |
|
742 | @thumbnail-caption-color: @text-color; | |
745 | //** Padding around the thumbnail caption |
|
743 | //** Padding around the thumbnail caption | |
746 | @thumbnail-caption-padding: 9px; |
|
744 | @thumbnail-caption-padding: 9px; | |
747 |
|
745 | |||
748 |
|
746 | |||
749 | //== Wells |
|
747 | //== Wells | |
750 | // |
|
748 | // | |
751 | //## |
|
749 | //## | |
752 |
|
750 | |||
753 | @well-bg: #f5f5f5; |
|
751 | @well-bg: #f5f5f5; | |
754 | @well-border: darken(@well-bg, 7%); |
|
752 | @well-border: darken(@well-bg, 7%); | |
755 |
|
753 | |||
756 |
|
754 | |||
757 | //== Badges |
|
755 | //== Badges | |
758 | // |
|
756 | // | |
759 | //## |
|
757 | //## | |
760 |
|
758 | |||
761 | @badge-color: #fff; |
|
759 | @badge-color: #fff; | |
762 | //** Linked badge text color on hover |
|
760 | //** Linked badge text color on hover | |
763 | @badge-link-hover-color: #fff; |
|
761 | @badge-link-hover-color: #fff; | |
764 | @badge-bg: @gray-light; |
|
762 | @badge-bg: @gray-light; | |
765 |
|
763 | |||
766 | //** Badge text color in active nav link |
|
764 | //** Badge text color in active nav link | |
767 | @badge-active-color: @link-color; |
|
765 | @badge-active-color: @link-color; | |
768 | //** Badge background color in active nav link |
|
766 | //** Badge background color in active nav link | |
769 | @badge-active-bg: #fff; |
|
767 | @badge-active-bg: #fff; | |
770 |
|
768 | |||
771 | @badge-font-weight: bold; |
|
769 | @badge-font-weight: bold; | |
772 | @badge-line-height: 1; |
|
770 | @badge-line-height: 1; | |
773 | @badge-border-radius: 10px; |
|
771 | @badge-border-radius: 10px; | |
774 |
|
772 | |||
775 |
|
773 | |||
776 | //== Breadcrumbs |
|
774 | //== Breadcrumbs | |
777 | // |
|
775 | // | |
778 | //## |
|
776 | //## | |
779 |
|
777 | |||
780 | @breadcrumb-padding-vertical: 8px; |
|
778 | @breadcrumb-padding-vertical: 8px; | |
781 | @breadcrumb-padding-horizontal: 15px; |
|
779 | @breadcrumb-padding-horizontal: 15px; | |
782 | //** Breadcrumb background color |
|
780 | //** Breadcrumb background color | |
783 | @breadcrumb-bg: #f5f5f5; |
|
781 | @breadcrumb-bg: #f5f5f5; | |
784 | //** Breadcrumb text color |
|
782 | //** Breadcrumb text color | |
785 | @breadcrumb-color: #ccc; |
|
783 | @breadcrumb-color: #ccc; | |
786 | //** Text color of current page in the breadcrumb |
|
784 | //** Text color of current page in the breadcrumb | |
787 | @breadcrumb-active-color: @gray-light; |
|
785 | @breadcrumb-active-color: @gray-light; | |
788 | //** Textual separator for between breadcrumb elements |
|
786 | //** Textual separator for between breadcrumb elements | |
789 | @breadcrumb-separator: "/"; |
|
787 | @breadcrumb-separator: "/"; | |
790 |
|
788 | |||
791 |
|
789 | |||
792 | //== Carousel |
|
790 | //== Carousel | |
793 | // |
|
791 | // | |
794 | //## |
|
792 | //## | |
795 |
|
793 | |||
796 | @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); |
|
794 | @carousel-text-shadow: 0 1px 2px rgba(0,0,0,.6); | |
797 |
|
795 | |||
798 | @carousel-control-color: #fff; |
|
796 | @carousel-control-color: #fff; | |
799 | @carousel-control-width: 15%; |
|
797 | @carousel-control-width: 15%; | |
800 | @carousel-control-opacity: .5; |
|
798 | @carousel-control-opacity: .5; | |
801 | @carousel-control-font-size: 20px; |
|
799 | @carousel-control-font-size: 20px; | |
802 |
|
800 | |||
803 | @carousel-indicator-active-bg: #fff; |
|
801 | @carousel-indicator-active-bg: #fff; | |
804 | @carousel-indicator-border-color: #fff; |
|
802 | @carousel-indicator-border-color: #fff; | |
805 |
|
803 | |||
806 | @carousel-caption-color: #fff; |
|
804 | @carousel-caption-color: #fff; | |
807 |
|
805 | |||
808 |
|
806 | |||
809 | //== Close |
|
807 | //== Close | |
810 | // |
|
808 | // | |
811 | //## |
|
809 | //## | |
812 |
|
810 | |||
813 | @close-font-weight: bold; |
|
811 | @close-font-weight: bold; | |
814 | @close-color: #000; |
|
812 | @close-color: #000; | |
815 | @close-text-shadow: 0 1px 0 #fff; |
|
813 | @close-text-shadow: 0 1px 0 #fff; | |
816 |
|
814 | |||
817 |
|
815 | |||
818 | //== Code |
|
816 | //== Code | |
819 | // |
|
817 | // | |
820 | //## |
|
818 | //## | |
821 |
|
819 | |||
822 | @code-color: #c7254e; |
|
820 | @code-color: #c7254e; | |
823 | @code-bg: #f9f2f4; |
|
821 | @code-bg: #f9f2f4; | |
824 |
|
822 | |||
825 | @kbd-color: #fff; |
|
823 | @kbd-color: #fff; | |
826 | @kbd-bg: #333; |
|
824 | @kbd-bg: #333; | |
827 |
|
825 | |||
828 | @pre-bg: #f5f5f5; |
|
826 | @pre-bg: #f5f5f5; | |
829 | @pre-color: @gray-dark; |
|
827 | @pre-color: @gray-dark; | |
830 | @pre-border-color: #ccc; |
|
828 | @pre-border-color: #ccc; | |
831 | @pre-scrollable-max-height: 340px; |
|
829 | @pre-scrollable-max-height: 340px; | |
832 |
|
830 | |||
833 |
|
831 | |||
834 | //== Type |
|
832 | //== Type | |
835 | // |
|
833 | // | |
836 | //## |
|
834 | //## | |
837 |
|
835 | |||
838 | //** Horizontal offset for forms and lists. |
|
836 | //** Horizontal offset for forms and lists. | |
839 | @component-offset-horizontal: 180px; |
|
837 | @component-offset-horizontal: 180px; | |
840 | //** Text muted color |
|
838 | //** Text muted color | |
841 | @text-muted: @grey4; |
|
839 | @text-muted: @grey4; | |
842 | //** Abbreviations and acronyms border color |
|
840 | //** Abbreviations and acronyms border color | |
843 | @abbr-border-color: @gray-light; |
|
841 | @abbr-border-color: @gray-light; | |
844 | //** Headings small color |
|
842 | //** Headings small color | |
845 | @headings-small-color: @gray-light; |
|
843 | @headings-small-color: @gray-light; | |
846 | //** Blockquote small color |
|
844 | //** Blockquote small color | |
847 | @blockquote-small-color: @gray-light; |
|
845 | @blockquote-small-color: @gray-light; | |
848 | //** Blockquote font size |
|
846 | //** Blockquote font size | |
849 | @blockquote-font-size: (@font-size-base * 1.25); |
|
847 | @blockquote-font-size: (@font-size-base * 1.25); | |
850 | //** Blockquote border color |
|
848 | //** Blockquote border color | |
851 | @blockquote-border-color: @gray-lighter; |
|
849 | @blockquote-border-color: @gray-lighter; | |
852 | //** Page header border color |
|
850 | //** Page header border color | |
853 | @page-header-border-color: @gray-lighter; |
|
851 | @page-header-border-color: @gray-lighter; | |
854 | //** Width of horizontal description list titles |
|
852 | //** Width of horizontal description list titles | |
855 | @dl-horizontal-offset: @component-offset-horizontal; |
|
853 | @dl-horizontal-offset: @component-offset-horizontal; | |
856 | //** Horizontal line color. |
|
854 | //** Horizontal line color. | |
857 | @hr-border: @gray-lighter; |
|
855 | @hr-border: @gray-lighter; |
@@ -1,1247 +1,1247 b'' | |||||
1 | // Default styles |
|
1 | // Default styles | |
2 |
|
2 | |||
3 | .diff-collapse { |
|
3 | .diff-collapse { | |
4 | margin: @padding 0; |
|
4 | margin: @padding 0; | |
5 | text-align: right; |
|
5 | text-align: right; | |
6 | } |
|
6 | } | |
7 |
|
7 | |||
8 | .diff-container { |
|
8 | .diff-container { | |
9 | margin-bottom: @space; |
|
9 | margin-bottom: @space; | |
10 |
|
10 | |||
11 | .diffblock { |
|
11 | .diffblock { | |
12 | margin-bottom: @space; |
|
12 | margin-bottom: @space; | |
13 | } |
|
13 | } | |
14 |
|
14 | |||
15 | &.hidden { |
|
15 | &.hidden { | |
16 | display: none; |
|
16 | display: none; | |
17 | overflow: hidden; |
|
17 | overflow: hidden; | |
18 | } |
|
18 | } | |
19 | } |
|
19 | } | |
20 |
|
20 | |||
21 |
|
21 | |||
22 | div.diffblock .sidebyside { |
|
22 | div.diffblock .sidebyside { | |
23 | background: #ffffff; |
|
23 | background: #ffffff; | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | div.diffblock { |
|
26 | div.diffblock { | |
27 | overflow-x: auto; |
|
27 | overflow-x: auto; | |
28 | overflow-y: hidden; |
|
28 | overflow-y: hidden; | |
29 | clear: both; |
|
29 | clear: both; | |
30 | padding: 0px; |
|
30 | padding: 0px; | |
31 | background: @grey6; |
|
31 | background: @grey6; | |
32 | border: @border-thickness solid @grey5; |
|
32 | border: @border-thickness solid @grey5; | |
33 | -webkit-border-radius: @border-radius @border-radius 0px 0px; |
|
33 | -webkit-border-radius: @border-radius @border-radius 0px 0px; | |
34 | border-radius: @border-radius @border-radius 0px 0px; |
|
34 | border-radius: @border-radius @border-radius 0px 0px; | |
35 |
|
35 | |||
36 |
|
36 | |||
37 | .comments-number { |
|
37 | .comments-number { | |
38 | float: right; |
|
38 | float: right; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | // BEGIN CODE-HEADER STYLES |
|
41 | // BEGIN CODE-HEADER STYLES | |
42 |
|
42 | |||
43 | .code-header { |
|
43 | .code-header { | |
44 | background: @grey6; |
|
44 | background: @grey6; | |
45 | padding: 10px 0 10px 0; |
|
45 | padding: 10px 0 10px 0; | |
46 | height: auto; |
|
46 | height: auto; | |
47 | width: 100%; |
|
47 | width: 100%; | |
48 |
|
48 | |||
49 | .hash { |
|
49 | .hash { | |
50 | float: left; |
|
50 | float: left; | |
51 | padding: 2px 0 0 2px; |
|
51 | padding: 2px 0 0 2px; | |
52 | } |
|
52 | } | |
53 |
|
53 | |||
54 | .date { |
|
54 | .date { | |
55 | float: left; |
|
55 | float: left; | |
56 | text-transform: uppercase; |
|
56 | text-transform: uppercase; | |
57 | padding: 4px 0px 0px 2px; |
|
57 | padding: 4px 0px 0px 2px; | |
58 | } |
|
58 | } | |
59 |
|
59 | |||
60 | div { |
|
60 | div { | |
61 | margin-left: 4px; |
|
61 | margin-left: 4px; | |
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | div.compare_header { |
|
64 | div.compare_header { | |
65 | min-height: 40px; |
|
65 | min-height: 40px; | |
66 | margin: 0; |
|
66 | margin: 0; | |
67 | padding: 0 @padding; |
|
67 | padding: 0 @padding; | |
68 |
|
68 | |||
69 | .drop-menu { |
|
69 | .drop-menu { | |
70 | float:left; |
|
70 | float:left; | |
71 | display: block; |
|
71 | display: block; | |
72 | margin:0 0 @padding 0; |
|
72 | margin:0 0 @padding 0; | |
73 | } |
|
73 | } | |
74 |
|
74 | |||
75 | .compare-label { |
|
75 | .compare-label { | |
76 | float: left; |
|
76 | float: left; | |
77 | clear: both; |
|
77 | clear: both; | |
78 | display: inline-block; |
|
78 | display: inline-block; | |
79 | min-width: 5em; |
|
79 | min-width: 5em; | |
80 | margin: 0; |
|
80 | margin: 0; | |
81 | padding: @button-padding @button-padding @button-padding 0; |
|
81 | padding: @button-padding @button-padding @button-padding 0; | |
82 | font-family: @text-semibold; |
|
82 | font-family: @text-semibold; | |
83 | } |
|
83 | } | |
84 |
|
84 | |||
85 | .compare-buttons { |
|
85 | .compare-buttons { | |
86 | float: left; |
|
86 | float: left; | |
87 | margin: 0; |
|
87 | margin: 0; | |
88 | padding: 0 0 @padding; |
|
88 | padding: 0 0 @padding; | |
89 |
|
89 | |||
90 | .btn { |
|
90 | .btn { | |
91 | margin: 0 @padding 0 0; |
|
91 | margin: 0 @padding 0 0; | |
92 | } |
|
92 | } | |
93 | } |
|
93 | } | |
94 | } |
|
94 | } | |
95 |
|
95 | |||
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 | .parents { |
|
98 | .parents { | |
99 | float: left; |
|
99 | float: left; | |
100 | width: 100px; |
|
100 | width: 100px; | |
101 | font-weight: 400; |
|
101 | font-weight: 400; | |
102 | vertical-align: middle; |
|
102 | vertical-align: middle; | |
103 | padding: 0px 2px 0px 2px; |
|
103 | padding: 0px 2px 0px 2px; | |
104 | background-color: @grey6; |
|
104 | background-color: @grey6; | |
105 |
|
105 | |||
106 | #parent_link { |
|
106 | #parent_link { | |
107 | margin: 00px 2px; |
|
107 | margin: 00px 2px; | |
108 |
|
108 | |||
109 | &.double { |
|
109 | &.double { | |
110 | margin: 0px 2px; |
|
110 | margin: 0px 2px; | |
111 | } |
|
111 | } | |
112 |
|
112 | |||
113 | &.disabled{ |
|
113 | &.disabled{ | |
114 | margin-right: @padding; |
|
114 | margin-right: @padding; | |
115 | } |
|
115 | } | |
116 | } |
|
116 | } | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | .children { |
|
119 | .children { | |
120 | float: right; |
|
120 | float: right; | |
121 | width: 100px; |
|
121 | width: 100px; | |
122 | font-weight: 400; |
|
122 | font-weight: 400; | |
123 | vertical-align: middle; |
|
123 | vertical-align: middle; | |
124 | text-align: right; |
|
124 | text-align: right; | |
125 | padding: 0px 2px 0px 2px; |
|
125 | padding: 0px 2px 0px 2px; | |
126 | background-color: @grey6; |
|
126 | background-color: @grey6; | |
127 |
|
127 | |||
128 | #child_link { |
|
128 | #child_link { | |
129 | margin: 0px 2px; |
|
129 | margin: 0px 2px; | |
130 |
|
130 | |||
131 | &.double { |
|
131 | &.double { | |
132 | margin: 0px 2px; |
|
132 | margin: 0px 2px; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | &.disabled{ |
|
135 | &.disabled{ | |
136 | margin-right: @padding; |
|
136 | margin-right: @padding; | |
137 | } |
|
137 | } | |
138 | } |
|
138 | } | |
139 | } |
|
139 | } | |
140 |
|
140 | |||
141 | .changeset_header { |
|
141 | .changeset_header { | |
142 | height: 16px; |
|
142 | height: 16px; | |
143 |
|
143 | |||
144 | & > div{ |
|
144 | & > div{ | |
145 | margin-right: @padding; |
|
145 | margin-right: @padding; | |
146 | } |
|
146 | } | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | .changeset_file { |
|
149 | .changeset_file { | |
150 | text-align: left; |
|
150 | text-align: left; | |
151 | float: left; |
|
151 | float: left; | |
152 | padding: 0; |
|
152 | padding: 0; | |
153 |
|
153 | |||
154 | a{ |
|
154 | a{ | |
155 | display: inline-block; |
|
155 | display: inline-block; | |
156 | margin-right: 0.5em; |
|
156 | margin-right: 0.5em; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | #selected_mode{ |
|
159 | #selected_mode{ | |
160 | margin-left: 0; |
|
160 | margin-left: 0; | |
161 | } |
|
161 | } | |
162 | } |
|
162 | } | |
163 |
|
163 | |||
164 | .diff-menu-wrapper { |
|
164 | .diff-menu-wrapper { | |
165 | float: left; |
|
165 | float: left; | |
166 | } |
|
166 | } | |
167 |
|
167 | |||
168 | .diff-menu { |
|
168 | .diff-menu { | |
169 | position: absolute; |
|
169 | position: absolute; | |
170 | background: none repeat scroll 0 0 #FFFFFF; |
|
170 | background: none repeat scroll 0 0 #FFFFFF; | |
171 | border-color: #003367 @grey3 @grey3; |
|
171 | border-color: #003367 @grey3 @grey3; | |
172 | border-right: 1px solid @grey3; |
|
172 | border-right: 1px solid @grey3; | |
173 | border-style: solid solid solid; |
|
173 | border-style: solid solid solid; | |
174 | border-width: @border-thickness; |
|
174 | border-width: @border-thickness; | |
175 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); |
|
175 | box-shadow: 2px 8px 4px rgba(0, 0, 0, 0.2); | |
176 | margin-top: 5px; |
|
176 | margin-top: 5px; | |
177 | margin-left: 1px; |
|
177 | margin-left: 1px; | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | .diff-actions, .editor-actions { |
|
180 | .diff-actions, .editor-actions { | |
181 | float: left; |
|
181 | float: left; | |
182 |
|
182 | |||
183 | input{ |
|
183 | input{ | |
184 | margin: 0 0.5em 0 0; |
|
184 | margin: 0 0.5em 0 0; | |
185 | } |
|
185 | } | |
186 | } |
|
186 | } | |
187 |
|
187 | |||
188 | // END CODE-HEADER STYLES |
|
188 | // END CODE-HEADER STYLES | |
189 |
|
189 | |||
190 | // BEGIN CODE-BODY STYLES |
|
190 | // BEGIN CODE-BODY STYLES | |
191 |
|
191 | |||
192 | .code-body { |
|
192 | .code-body { | |
193 | padding: 0; |
|
193 | padding: 0; | |
194 | background-color: #ffffff; |
|
194 | background-color: #ffffff; | |
195 | position: relative; |
|
195 | position: relative; | |
196 | max-width: none; |
|
196 | max-width: none; | |
197 | box-sizing: border-box; |
|
197 | box-sizing: border-box; | |
198 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
198 | // TODO: johbo: Parent has overflow: auto, this forces the child here | |
199 | // to have the intended size and to scroll. Should be simplified. |
|
199 | // to have the intended size and to scroll. Should be simplified. | |
200 | width: 100%; |
|
200 | width: 100%; | |
201 | overflow-x: auto; |
|
201 | overflow-x: auto; | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | pre.raw { |
|
204 | pre.raw { | |
205 | background: white; |
|
205 | background: white; | |
206 | color: @grey1; |
|
206 | color: @grey1; | |
207 | } |
|
207 | } | |
208 | // END CODE-BODY STYLES |
|
208 | // END CODE-BODY STYLES | |
209 |
|
209 | |||
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 |
|
212 | |||
213 | table.code-difftable { |
|
213 | table.code-difftable { | |
214 | border-collapse: collapse; |
|
214 | border-collapse: collapse; | |
215 | width: 99%; |
|
215 | width: 99%; | |
216 | border-radius: 0px !important; |
|
216 | border-radius: 0px !important; | |
217 |
|
217 | |||
218 | td { |
|
218 | td { | |
219 | padding: 0 !important; |
|
219 | padding: 0 !important; | |
220 | background: none !important; |
|
220 | background: none !important; | |
221 | border: 0 !important; |
|
221 | border: 0 !important; | |
222 | } |
|
222 | } | |
223 |
|
223 | |||
224 | .context { |
|
224 | .context { | |
225 | background: none repeat scroll 0 0 #DDE7EF; |
|
225 | background: none repeat scroll 0 0 #DDE7EF; | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | .add { |
|
228 | .add { | |
229 | background: none repeat scroll 0 0 #DDFFDD; |
|
229 | background: none repeat scroll 0 0 #DDFFDD; | |
230 |
|
230 | |||
231 | ins { |
|
231 | ins { | |
232 | background: none repeat scroll 0 0 #AAFFAA; |
|
232 | background: none repeat scroll 0 0 #AAFFAA; | |
233 | text-decoration: none; |
|
233 | text-decoration: none; | |
234 | } |
|
234 | } | |
235 | } |
|
235 | } | |
236 |
|
236 | |||
237 | .del { |
|
237 | .del { | |
238 | background: none repeat scroll 0 0 #FFDDDD; |
|
238 | background: none repeat scroll 0 0 #FFDDDD; | |
239 |
|
239 | |||
240 | del { |
|
240 | del { | |
241 | background: none repeat scroll 0 0 #FFAAAA; |
|
241 | background: none repeat scroll 0 0 #FFAAAA; | |
242 | text-decoration: none; |
|
242 | text-decoration: none; | |
243 | } |
|
243 | } | |
244 | } |
|
244 | } | |
245 |
|
245 | |||
246 | /** LINE NUMBERS **/ |
|
246 | /** LINE NUMBERS **/ | |
247 | .lineno { |
|
247 | .lineno { | |
248 | padding-left: 2px !important; |
|
248 | padding-left: 2px !important; | |
249 | padding-right: 2px; |
|
249 | padding-right: 2px; | |
250 | text-align: right; |
|
250 | text-align: right; | |
251 | width: 32px; |
|
251 | width: 32px; | |
252 | -moz-user-select: none; |
|
252 | -moz-user-select: none; | |
253 | -webkit-user-select: none; |
|
253 | -webkit-user-select: none; | |
254 | border-right: @border-thickness solid @grey5 !important; |
|
254 | border-right: @border-thickness solid @grey5 !important; | |
255 | border-left: 0px solid #CCC !important; |
|
255 | border-left: 0px solid #CCC !important; | |
256 | border-top: 0px solid #CCC !important; |
|
256 | border-top: 0px solid #CCC !important; | |
257 | border-bottom: none !important; |
|
257 | border-bottom: none !important; | |
258 |
|
258 | |||
259 | a { |
|
259 | a { | |
260 | &:extend(pre); |
|
260 | &:extend(pre); | |
261 | text-align: right; |
|
261 | text-align: right; | |
262 | padding-right: 2px; |
|
262 | padding-right: 2px; | |
263 | cursor: pointer; |
|
263 | cursor: pointer; | |
264 | display: block; |
|
264 | display: block; | |
265 | width: 32px; |
|
265 | width: 32px; | |
266 | } |
|
266 | } | |
267 | } |
|
267 | } | |
268 |
|
268 | |||
269 | .context { |
|
269 | .context { | |
270 | cursor: auto; |
|
270 | cursor: auto; | |
271 | &:extend(pre); |
|
271 | &:extend(pre); | |
272 | } |
|
272 | } | |
273 |
|
273 | |||
274 | .lineno-inline { |
|
274 | .lineno-inline { | |
275 | background: none repeat scroll 0 0 #FFF !important; |
|
275 | background: none repeat scroll 0 0 #FFF !important; | |
276 | padding-left: 2px; |
|
276 | padding-left: 2px; | |
277 | padding-right: 2px; |
|
277 | padding-right: 2px; | |
278 | text-align: right; |
|
278 | text-align: right; | |
279 | width: 30px; |
|
279 | width: 30px; | |
280 | -moz-user-select: none; |
|
280 | -moz-user-select: none; | |
281 | -webkit-user-select: none; |
|
281 | -webkit-user-select: none; | |
282 | } |
|
282 | } | |
283 |
|
283 | |||
284 | /** CODE **/ |
|
284 | /** CODE **/ | |
285 | .code { |
|
285 | .code { | |
286 | display: block; |
|
286 | display: block; | |
287 | width: 100%; |
|
287 | width: 100%; | |
288 |
|
288 | |||
289 | td { |
|
289 | td { | |
290 | margin: 0; |
|
290 | margin: 0; | |
291 | padding: 0; |
|
291 | padding: 0; | |
292 | } |
|
292 | } | |
293 |
|
293 | |||
294 | pre { |
|
294 | pre { | |
295 | margin: 0; |
|
295 | margin: 0; | |
296 | padding: 0; |
|
296 | padding: 0; | |
297 | margin-left: .5em; |
|
297 | margin-left: .5em; | |
298 | } |
|
298 | } | |
299 | } |
|
299 | } | |
300 | } |
|
300 | } | |
301 |
|
301 | |||
302 |
|
302 | |||
303 | // Comments |
|
303 | // Comments | |
304 |
|
304 | |||
305 | div.comment:target { |
|
305 | div.comment:target { | |
306 | border-left: 6px solid @comment-highlight-color !important; |
|
306 | border-left: 6px solid @comment-highlight-color !important; | |
307 | padding-left: 3px; |
|
307 | padding-left: 3px; | |
308 | margin-left: -9px; |
|
308 | margin-left: -9px; | |
309 | } |
|
309 | } | |
310 |
|
310 | |||
311 | //TODO: anderson: can't get an absolute number out of anything, so had to put the |
|
311 | //TODO: anderson: can't get an absolute number out of anything, so had to put the | |
312 | //current values that might change. But to make it clear I put as a calculation |
|
312 | //current values that might change. But to make it clear I put as a calculation | |
313 | @comment-max-width: 1065px; |
|
313 | @comment-max-width: 1065px; | |
314 | @pr-extra-margin: 34px; |
|
314 | @pr-extra-margin: 34px; | |
315 | @pr-border-spacing: 4px; |
|
315 | @pr-border-spacing: 4px; | |
316 | @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing; |
|
316 | @pr-comment-width: @comment-max-width - @pr-extra-margin - @pr-border-spacing; | |
317 |
|
317 | |||
318 | // Pull Request |
|
318 | // Pull Request | |
319 | .cs_files .code-difftable { |
|
319 | .cs_files .code-difftable { | |
320 | border: @border-thickness solid @grey5; //borders only on PRs |
|
320 | border: @border-thickness solid @grey5; //borders only on PRs | |
321 |
|
321 | |||
322 | .comment-inline-form, |
|
322 | .comment-inline-form, | |
323 | div.comment { |
|
323 | div.comment { | |
324 | width: @pr-comment-width; |
|
324 | width: @pr-comment-width; | |
325 | } |
|
325 | } | |
326 | } |
|
326 | } | |
327 |
|
327 | |||
328 | // Changeset |
|
328 | // Changeset | |
329 | .code-difftable { |
|
329 | .code-difftable { | |
330 | .comment-inline-form, |
|
330 | .comment-inline-form, | |
331 | div.comment { |
|
331 | div.comment { | |
332 | width: @comment-max-width; |
|
332 | width: @comment-max-width; | |
333 | } |
|
333 | } | |
334 | } |
|
334 | } | |
335 |
|
335 | |||
336 | //Style page |
|
336 | //Style page | |
337 | @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding; |
|
337 | @style-extra-margin: @sidebar-width + (@sidebarpadding * 3) + @padding; | |
338 | #style-page .code-difftable{ |
|
338 | #style-page .code-difftable{ | |
339 | .comment-inline-form, |
|
339 | .comment-inline-form, | |
340 | div.comment { |
|
340 | div.comment { | |
341 | width: @comment-max-width - @style-extra-margin; |
|
341 | width: @comment-max-width - @style-extra-margin; | |
342 | } |
|
342 | } | |
343 | } |
|
343 | } | |
344 |
|
344 | |||
345 | #context-bar > h2 { |
|
345 | #context-bar > h2 { | |
346 | font-size: 20px; |
|
346 | font-size: 20px; | |
347 | } |
|
347 | } | |
348 |
|
348 | |||
349 | #context-bar > h2> a { |
|
349 | #context-bar > h2> a { | |
350 | font-size: 20px; |
|
350 | font-size: 20px; | |
351 | } |
|
351 | } | |
352 | // end of defaults |
|
352 | // end of defaults | |
353 |
|
353 | |||
354 | .file_diff_buttons { |
|
354 | .file_diff_buttons { | |
355 | padding: 0 0 @padding; |
|
355 | padding: 0 0 @padding; | |
356 |
|
356 | |||
357 | .drop-menu { |
|
357 | .drop-menu { | |
358 | float: left; |
|
358 | float: left; | |
359 | margin: 0 @padding 0 0; |
|
359 | margin: 0 @padding 0 0; | |
360 | } |
|
360 | } | |
361 | .btn { |
|
361 | .btn { | |
362 | margin: 0 @padding 0 0; |
|
362 | margin: 0 @padding 0 0; | |
363 | } |
|
363 | } | |
364 | } |
|
364 | } | |
365 |
|
365 | |||
366 | .code-body.textarea.editor { |
|
366 | .code-body.textarea.editor { | |
367 | max-width: none; |
|
367 | max-width: none; | |
368 | padding: 15px; |
|
368 | padding: 15px; | |
369 | } |
|
369 | } | |
370 |
|
370 | |||
371 | td.injected_diff{ |
|
371 | td.injected_diff{ | |
372 | max-width: 1178px; |
|
372 | max-width: 1178px; | |
373 | overflow-x: auto; |
|
373 | overflow-x: auto; | |
374 | overflow-y: hidden; |
|
374 | overflow-y: hidden; | |
375 |
|
375 | |||
376 | div.diff-container, |
|
376 | div.diff-container, | |
377 | div.diffblock{ |
|
377 | div.diffblock{ | |
378 | max-width: 100%; |
|
378 | max-width: 100%; | |
379 | } |
|
379 | } | |
380 |
|
380 | |||
381 | div.code-body { |
|
381 | div.code-body { | |
382 | max-width: 1124px; |
|
382 | max-width: 1124px; | |
383 | overflow-x: auto; |
|
383 | overflow-x: auto; | |
384 | overflow-y: hidden; |
|
384 | overflow-y: hidden; | |
385 | padding: 0; |
|
385 | padding: 0; | |
386 | } |
|
386 | } | |
387 | div.diffblock { |
|
387 | div.diffblock { | |
388 | border: none; |
|
388 | border: none; | |
389 | } |
|
389 | } | |
390 |
|
390 | |||
391 | &.inline-form { |
|
391 | &.inline-form { | |
392 | width: 99% |
|
392 | width: 99% | |
393 | } |
|
393 | } | |
394 | } |
|
394 | } | |
395 |
|
395 | |||
396 |
|
396 | |||
397 | table.code-difftable { |
|
397 | table.code-difftable { | |
398 | width: 100%; |
|
398 | width: 100%; | |
399 | } |
|
399 | } | |
400 |
|
400 | |||
401 | /** PYGMENTS COLORING **/ |
|
401 | /** PYGMENTS COLORING **/ | |
402 | div.codeblock { |
|
402 | div.codeblock { | |
403 |
|
403 | |||
404 | // TODO: johbo: Added interim to get rid of the margin around |
|
404 | // TODO: johbo: Added interim to get rid of the margin around | |
405 | // Select2 widgets. This needs further cleanup. |
|
405 | // Select2 widgets. This needs further cleanup. | |
406 | margin-top: @padding; |
|
406 | margin-top: @padding; | |
407 |
|
407 | |||
408 | overflow: auto; |
|
408 | overflow: auto; | |
409 | padding: 0px; |
|
409 | padding: 0px; | |
410 | border: @border-thickness solid @grey5; |
|
410 | border: @border-thickness solid @grey5; | |
411 | background: @grey6; |
|
411 | background: @grey6; | |
412 | .border-radius(@border-radius); |
|
412 | .border-radius(@border-radius); | |
413 |
|
413 | |||
414 | #remove_gist { |
|
414 | #remove_gist { | |
415 | float: right; |
|
415 | float: right; | |
416 | } |
|
416 | } | |
417 |
|
417 | |||
418 | .gist_url { |
|
418 | .gist_url { | |
419 | padding: 0px 0px 10px 0px; |
|
419 | padding: 0px 0px 10px 0px; | |
420 | } |
|
420 | } | |
421 |
|
421 | |||
422 | .author { |
|
422 | .author { | |
423 | clear: both; |
|
423 | clear: both; | |
424 | vertical-align: middle; |
|
424 | vertical-align: middle; | |
425 | font-family: @text-bold; |
|
425 | font-family: @text-bold; | |
426 | } |
|
426 | } | |
427 |
|
427 | |||
428 | .btn-mini { |
|
428 | .btn-mini { | |
429 | float: left; |
|
429 | float: left; | |
430 | margin: 0 5px 0 0; |
|
430 | margin: 0 5px 0 0; | |
431 | } |
|
431 | } | |
432 |
|
432 | |||
433 | .code-header { |
|
433 | .code-header { | |
434 | padding: @padding; |
|
434 | padding: @padding; | |
435 | border-bottom: @border-thickness solid @grey5; |
|
435 | border-bottom: @border-thickness solid @grey5; | |
436 |
|
436 | |||
437 | .rc-user { |
|
437 | .rc-user { | |
438 | min-width: 0; |
|
438 | min-width: 0; | |
439 | margin-right: .5em; |
|
439 | margin-right: .5em; | |
440 | } |
|
440 | } | |
441 |
|
441 | |||
442 | .stats { |
|
442 | .stats { | |
443 | clear: both; |
|
443 | clear: both; | |
444 | margin: 0 0 @padding 0; |
|
444 | margin: 0 0 @padding 0; | |
445 | padding: 0; |
|
445 | padding: 0; | |
446 | .left { |
|
446 | .left { | |
447 | float: left; |
|
447 | float: left; | |
448 | clear: left; |
|
448 | clear: left; | |
449 | max-width: 75%; |
|
449 | max-width: 75%; | |
450 | margin: 0 0 @padding 0; |
|
450 | margin: 0 0 @padding 0; | |
451 |
|
451 | |||
452 | &.item { |
|
452 | &.item { | |
453 | margin-right: @padding; |
|
453 | margin-right: @padding; | |
454 | &.last { border-right: none; } |
|
454 | &.last { border-right: none; } | |
455 | } |
|
455 | } | |
456 | } |
|
456 | } | |
457 | .buttons { float: right; } |
|
457 | .buttons { float: right; } | |
458 | .author { |
|
458 | .author { | |
459 | height: 25px; margin-left: 15px; font-weight: bold; |
|
459 | height: 25px; margin-left: 15px; font-weight: bold; | |
460 | } |
|
460 | } | |
461 | } |
|
461 | } | |
462 |
|
462 | |||
463 | .commit { |
|
463 | .commit { | |
464 | margin: 5px 0 0 26px; |
|
464 | margin: 5px 0 0 26px; | |
465 | font-weight: normal; |
|
465 | font-weight: normal; | |
466 | white-space: pre-wrap; |
|
466 | white-space: pre-wrap; | |
467 | } |
|
467 | } | |
468 | } |
|
468 | } | |
469 |
|
469 | |||
470 | .message { |
|
470 | .message { | |
471 | position: relative; |
|
471 | position: relative; | |
472 | margin: @padding; |
|
472 | margin: @padding; | |
473 |
|
473 | |||
474 | .codeblock-label { |
|
474 | .codeblock-label { | |
475 | margin: 0 0 1em 0; |
|
475 | margin: 0 0 1em 0; | |
476 | } |
|
476 | } | |
477 | } |
|
477 | } | |
478 |
|
478 | |||
479 | .code-body { |
|
479 | .code-body { | |
480 | padding: @padding; |
|
480 | padding: @padding; | |
481 | background-color: #ffffff; |
|
481 | background-color: #ffffff; | |
482 | min-width: 100%; |
|
482 | min-width: 100%; | |
483 | box-sizing: border-box; |
|
483 | box-sizing: border-box; | |
484 | // TODO: johbo: Parent has overflow: auto, this forces the child here |
|
484 | // TODO: johbo: Parent has overflow: auto, this forces the child here | |
485 | // to have the intended size and to scroll. Should be simplified. |
|
485 | // to have the intended size and to scroll. Should be simplified. | |
486 | width: 100%; |
|
486 | width: 100%; | |
487 | overflow-x: auto; |
|
487 | overflow-x: auto; | |
488 |
|
488 | |||
489 | img.rendered-binary { |
|
489 | img.rendered-binary { | |
490 | height: auto; |
|
490 | height: auto; | |
491 | width: 100%; |
|
491 | width: 100%; | |
492 | } |
|
492 | } | |
493 | } |
|
493 | } | |
494 | } |
|
494 | } | |
495 |
|
495 | |||
496 | .code-highlighttable, |
|
496 | .code-highlighttable, | |
497 | div.codeblock { |
|
497 | div.codeblock { | |
498 |
|
498 | |||
499 | &.readme { |
|
499 | &.readme { | |
500 | background-color: white; |
|
500 | background-color: white; | |
501 | } |
|
501 | } | |
502 |
|
502 | |||
503 | .markdown-block table { |
|
503 | .markdown-block table { | |
504 | border-collapse: collapse; |
|
504 | border-collapse: collapse; | |
505 |
|
505 | |||
506 | th, |
|
506 | th, | |
507 | td { |
|
507 | td { | |
508 | padding: .5em; |
|
508 | padding: .5em; | |
509 | border: @border-thickness solid @border-default-color; |
|
509 | border: @border-thickness solid @border-default-color; | |
510 | } |
|
510 | } | |
511 | } |
|
511 | } | |
512 |
|
512 | |||
513 | table { |
|
513 | table { | |
514 | border: 0px; |
|
514 | border: 0px; | |
515 | margin: 0; |
|
515 | margin: 0; | |
516 | letter-spacing: normal; |
|
516 | letter-spacing: normal; | |
517 |
|
517 | |||
518 |
|
518 | |||
519 | td { |
|
519 | td { | |
520 | border: 0px; |
|
520 | border: 0px; | |
521 | vertical-align: top; |
|
521 | vertical-align: top; | |
522 | } |
|
522 | } | |
523 | } |
|
523 | } | |
524 | } |
|
524 | } | |
525 |
|
525 | |||
526 | div.codeblock .code-header .search-path { padding: 0 0 0 10px; } |
|
526 | div.codeblock .code-header .search-path { padding: 0 0 0 10px; } | |
527 | div.search-code-body { |
|
527 | div.search-code-body { | |
528 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
528 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
529 | pre { |
|
529 | pre { | |
530 | .match { background-color: #faffa6;} |
|
530 | .match { background-color: #faffa6;} | |
531 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
531 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
532 | } |
|
532 | } | |
533 | .code-highlighttable { |
|
533 | .code-highlighttable { | |
534 | border-collapse: collapse; |
|
534 | border-collapse: collapse; | |
535 |
|
535 | |||
536 | tr:hover { |
|
536 | tr:hover { | |
537 | background: #fafafa; |
|
537 | background: #fafafa; | |
538 | } |
|
538 | } | |
539 | td.code { |
|
539 | td.code { | |
540 | padding-left: 10px; |
|
540 | padding-left: 10px; | |
541 | } |
|
541 | } | |
542 | td.line { |
|
542 | td.line { | |
543 | border-right: 1px solid #ccc !important; |
|
543 | border-right: 1px solid #ccc !important; | |
544 | padding-right: 10px; |
|
544 | padding-right: 10px; | |
545 | text-align: right; |
|
545 | text-align: right; | |
546 |
font-family: |
|
546 | font-family: @text-monospace; | |
547 | span { |
|
547 | span { | |
548 | white-space: pre-wrap; |
|
548 | white-space: pre-wrap; | |
549 | color: #666666; |
|
549 | color: #666666; | |
550 | } |
|
550 | } | |
551 | } |
|
551 | } | |
552 | } |
|
552 | } | |
553 | } |
|
553 | } | |
554 |
|
554 | |||
555 | div.annotatediv { margin-left: 2px; margin-right: 4px; } |
|
555 | div.annotatediv { margin-left: 2px; margin-right: 4px; } | |
556 | .code-highlight { |
|
556 | .code-highlight { | |
557 | margin: 0; padding: 0; border-left: @border-thickness solid @grey5; |
|
557 | margin: 0; padding: 0; border-left: @border-thickness solid @grey5; | |
558 | pre, .linenodiv pre { padding: 0 5px; margin: 0; } |
|
558 | pre, .linenodiv pre { padding: 0 5px; margin: 0; } | |
559 | pre div:target {background-color: @comment-highlight-color !important;} |
|
559 | pre div:target {background-color: @comment-highlight-color !important;} | |
560 | } |
|
560 | } | |
561 |
|
561 | |||
562 | .linenos a { text-decoration: none; } |
|
562 | .linenos a { text-decoration: none; } | |
563 |
|
563 | |||
564 | .CodeMirror-selected { background: @rchighlightblue; } |
|
564 | .CodeMirror-selected { background: @rchighlightblue; } | |
565 | .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; } |
|
565 | .CodeMirror-focused .CodeMirror-selected { background: @rchighlightblue; } | |
566 | .CodeMirror ::selection { background: @rchighlightblue; } |
|
566 | .CodeMirror ::selection { background: @rchighlightblue; } | |
567 | .CodeMirror ::-moz-selection { background: @rchighlightblue; } |
|
567 | .CodeMirror ::-moz-selection { background: @rchighlightblue; } | |
568 |
|
568 | |||
569 | .code { display: block; border:0px !important; } |
|
569 | .code { display: block; border:0px !important; } | |
570 | .code-highlight, /* TODO: dan: merge codehilite into code-highlight */ |
|
570 | .code-highlight, /* TODO: dan: merge codehilite into code-highlight */ | |
571 | .codehilite { |
|
571 | .codehilite { | |
572 | .hll { background-color: #ffffcc } |
|
572 | .hll { background-color: #ffffcc } | |
573 | .c { color: #408080; font-style: italic } /* Comment */ |
|
573 | .c { color: #408080; font-style: italic } /* Comment */ | |
574 | .err, .codehilite .err { border: none } /* Error */ |
|
574 | .err, .codehilite .err { border: none } /* Error */ | |
575 | .k { color: #008000; font-weight: bold } /* Keyword */ |
|
575 | .k { color: #008000; font-weight: bold } /* Keyword */ | |
576 | .o { color: #666666 } /* Operator */ |
|
576 | .o { color: #666666 } /* Operator */ | |
577 | .cm { color: #408080; font-style: italic } /* Comment.Multiline */ |
|
577 | .cm { color: #408080; font-style: italic } /* Comment.Multiline */ | |
578 | .cp { color: #BC7A00 } /* Comment.Preproc */ |
|
578 | .cp { color: #BC7A00 } /* Comment.Preproc */ | |
579 | .c1 { color: #408080; font-style: italic } /* Comment.Single */ |
|
579 | .c1 { color: #408080; font-style: italic } /* Comment.Single */ | |
580 | .cs { color: #408080; font-style: italic } /* Comment.Special */ |
|
580 | .cs { color: #408080; font-style: italic } /* Comment.Special */ | |
581 | .gd { color: #A00000 } /* Generic.Deleted */ |
|
581 | .gd { color: #A00000 } /* Generic.Deleted */ | |
582 | .ge { font-style: italic } /* Generic.Emph */ |
|
582 | .ge { font-style: italic } /* Generic.Emph */ | |
583 | .gr { color: #FF0000 } /* Generic.Error */ |
|
583 | .gr { color: #FF0000 } /* Generic.Error */ | |
584 | .gh { color: #000080; font-weight: bold } /* Generic.Heading */ |
|
584 | .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | |
585 | .gi { color: #00A000 } /* Generic.Inserted */ |
|
585 | .gi { color: #00A000 } /* Generic.Inserted */ | |
586 | .go { color: #808080 } /* Generic.Output */ |
|
586 | .go { color: #808080 } /* Generic.Output */ | |
587 | .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ |
|
587 | .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ | |
588 | .gs { font-weight: bold } /* Generic.Strong */ |
|
588 | .gs { font-weight: bold } /* Generic.Strong */ | |
589 | .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ |
|
589 | .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | |
590 | .gt { color: #0040D0 } /* Generic.Traceback */ |
|
590 | .gt { color: #0040D0 } /* Generic.Traceback */ | |
591 | .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ |
|
591 | .kc { color: #008000; font-weight: bold } /* Keyword.Constant */ | |
592 | .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ |
|
592 | .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ | |
593 | .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ |
|
593 | .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ | |
594 | .kp { color: #008000 } /* Keyword.Pseudo */ |
|
594 | .kp { color: #008000 } /* Keyword.Pseudo */ | |
595 | .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ |
|
595 | .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ | |
596 | .kt { color: #B00040 } /* Keyword.Type */ |
|
596 | .kt { color: #B00040 } /* Keyword.Type */ | |
597 | .m { color: #666666 } /* Literal.Number */ |
|
597 | .m { color: #666666 } /* Literal.Number */ | |
598 | .s { color: #BA2121 } /* Literal.String */ |
|
598 | .s { color: #BA2121 } /* Literal.String */ | |
599 | .na { color: #7D9029 } /* Name.Attribute */ |
|
599 | .na { color: #7D9029 } /* Name.Attribute */ | |
600 | .nb { color: #008000 } /* Name.Builtin */ |
|
600 | .nb { color: #008000 } /* Name.Builtin */ | |
601 | .nc { color: #0000FF; font-weight: bold } /* Name.Class */ |
|
601 | .nc { color: #0000FF; font-weight: bold } /* Name.Class */ | |
602 | .no { color: #880000 } /* Name.Constant */ |
|
602 | .no { color: #880000 } /* Name.Constant */ | |
603 | .nd { color: #AA22FF } /* Name.Decorator */ |
|
603 | .nd { color: #AA22FF } /* Name.Decorator */ | |
604 | .ni { color: #999999; font-weight: bold } /* Name.Entity */ |
|
604 | .ni { color: #999999; font-weight: bold } /* Name.Entity */ | |
605 | .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ |
|
605 | .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ | |
606 | .nf { color: #0000FF } /* Name.Function */ |
|
606 | .nf { color: #0000FF } /* Name.Function */ | |
607 | .nl { color: #A0A000 } /* Name.Label */ |
|
607 | .nl { color: #A0A000 } /* Name.Label */ | |
608 | .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ |
|
608 | .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ | |
609 | .nt { color: #008000; font-weight: bold } /* Name.Tag */ |
|
609 | .nt { color: #008000; font-weight: bold } /* Name.Tag */ | |
610 | .nv { color: #19177C } /* Name.Variable */ |
|
610 | .nv { color: #19177C } /* Name.Variable */ | |
611 | .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ |
|
611 | .ow { color: #AA22FF; font-weight: bold } /* Operator.Word */ | |
612 | .w { color: #bbbbbb } /* Text.Whitespace */ |
|
612 | .w { color: #bbbbbb } /* Text.Whitespace */ | |
613 | .mf { color: #666666 } /* Literal.Number.Float */ |
|
613 | .mf { color: #666666 } /* Literal.Number.Float */ | |
614 | .mh { color: #666666 } /* Literal.Number.Hex */ |
|
614 | .mh { color: #666666 } /* Literal.Number.Hex */ | |
615 | .mi { color: #666666 } /* Literal.Number.Integer */ |
|
615 | .mi { color: #666666 } /* Literal.Number.Integer */ | |
616 | .mo { color: #666666 } /* Literal.Number.Oct */ |
|
616 | .mo { color: #666666 } /* Literal.Number.Oct */ | |
617 | .sb { color: #BA2121 } /* Literal.String.Backtick */ |
|
617 | .sb { color: #BA2121 } /* Literal.String.Backtick */ | |
618 | .sc { color: #BA2121 } /* Literal.String.Char */ |
|
618 | .sc { color: #BA2121 } /* Literal.String.Char */ | |
619 | .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ |
|
619 | .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ | |
620 | .s2 { color: #BA2121 } /* Literal.String.Double */ |
|
620 | .s2 { color: #BA2121 } /* Literal.String.Double */ | |
621 | .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ |
|
621 | .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ | |
622 | .sh { color: #BA2121 } /* Literal.String.Heredoc */ |
|
622 | .sh { color: #BA2121 } /* Literal.String.Heredoc */ | |
623 | .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ |
|
623 | .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ | |
624 | .sx { color: #008000 } /* Literal.String.Other */ |
|
624 | .sx { color: #008000 } /* Literal.String.Other */ | |
625 | .sr { color: #BB6688 } /* Literal.String.Regex */ |
|
625 | .sr { color: #BB6688 } /* Literal.String.Regex */ | |
626 | .s1 { color: #BA2121 } /* Literal.String.Single */ |
|
626 | .s1 { color: #BA2121 } /* Literal.String.Single */ | |
627 | .ss { color: #19177C } /* Literal.String.Symbol */ |
|
627 | .ss { color: #19177C } /* Literal.String.Symbol */ | |
628 | .bp { color: #008000 } /* Name.Builtin.Pseudo */ |
|
628 | .bp { color: #008000 } /* Name.Builtin.Pseudo */ | |
629 | .vc { color: #19177C } /* Name.Variable.Class */ |
|
629 | .vc { color: #19177C } /* Name.Variable.Class */ | |
630 | .vg { color: #19177C } /* Name.Variable.Global */ |
|
630 | .vg { color: #19177C } /* Name.Variable.Global */ | |
631 | .vi { color: #19177C } /* Name.Variable.Instance */ |
|
631 | .vi { color: #19177C } /* Name.Variable.Instance */ | |
632 | .il { color: #666666 } /* Literal.Number.Integer.Long */ |
|
632 | .il { color: #666666 } /* Literal.Number.Integer.Long */ | |
633 | } |
|
633 | } | |
634 |
|
634 | |||
635 | /* customized pre blocks for markdown/rst */ |
|
635 | /* customized pre blocks for markdown/rst */ | |
636 | pre.literal-block, .codehilite pre{ |
|
636 | pre.literal-block, .codehilite pre{ | |
637 | padding: @padding; |
|
637 | padding: @padding; | |
638 | border: 1px solid @grey6; |
|
638 | border: 1px solid @grey6; | |
639 | .border-radius(@border-radius); |
|
639 | .border-radius(@border-radius); | |
640 | background-color: @grey7; |
|
640 | background-color: @grey7; | |
641 | } |
|
641 | } | |
642 |
|
642 | |||
643 |
|
643 | |||
644 | /* START NEW CODE BLOCK CSS */ |
|
644 | /* START NEW CODE BLOCK CSS */ | |
645 |
|
645 | |||
646 | @cb-line-height: 18px; |
|
646 | @cb-line-height: 18px; | |
647 | @cb-line-code-padding: 10px; |
|
647 | @cb-line-code-padding: 10px; | |
648 | @cb-text-padding: 5px; |
|
648 | @cb-text-padding: 5px; | |
649 |
|
649 | |||
650 | @pill-padding: 2px 7px; |
|
650 | @pill-padding: 2px 7px; | |
651 | @pill-padding-small: 2px 2px 1px 2px; |
|
651 | @pill-padding-small: 2px 2px 1px 2px; | |
652 |
|
652 | |||
653 | input.filediff-collapse-state { |
|
653 | input.filediff-collapse-state { | |
654 | display: none; |
|
654 | display: none; | |
655 |
|
655 | |||
656 | &:checked + .filediff { /* file diff is collapsed */ |
|
656 | &:checked + .filediff { /* file diff is collapsed */ | |
657 | .cb { |
|
657 | .cb { | |
658 | display: none |
|
658 | display: none | |
659 | } |
|
659 | } | |
660 | .filediff-collapse-indicator { |
|
660 | .filediff-collapse-indicator { | |
661 | width: 0; |
|
661 | width: 0; | |
662 | height: 0; |
|
662 | height: 0; | |
663 | border-style: solid; |
|
663 | border-style: solid; | |
664 | border-width: 4.5px 0 4.5px 9.3px; |
|
664 | border-width: 4.5px 0 4.5px 9.3px; | |
665 | border-color: transparent transparent transparent #aaa; |
|
665 | border-color: transparent transparent transparent #aaa; | |
666 | margin: 6px 0px; |
|
666 | margin: 6px 0px; | |
667 | } |
|
667 | } | |
668 | .filediff-menu { |
|
668 | .filediff-menu { | |
669 | display: none; |
|
669 | display: none; | |
670 | } |
|
670 | } | |
671 |
|
671 | |||
672 | } |
|
672 | } | |
673 |
|
673 | |||
674 | &+ .filediff { /* file diff is expanded */ |
|
674 | &+ .filediff { /* file diff is expanded */ | |
675 | .filediff-collapse-indicator { |
|
675 | .filediff-collapse-indicator { | |
676 | width: 0; |
|
676 | width: 0; | |
677 | height: 0; |
|
677 | height: 0; | |
678 | border-style: solid; |
|
678 | border-style: solid; | |
679 | border-width: 9.3px 4.5px 0 4.5px; |
|
679 | border-width: 9.3px 4.5px 0 4.5px; | |
680 | border-color: #aaa transparent transparent transparent; |
|
680 | border-color: #aaa transparent transparent transparent; | |
681 | margin: 6px 0px; |
|
681 | margin: 6px 0px; | |
682 |
|
682 | |||
683 | } |
|
683 | } | |
684 | .filediff-menu { |
|
684 | .filediff-menu { | |
685 | display: block; |
|
685 | display: block; | |
686 | } |
|
686 | } | |
687 | margin: 10px 0; |
|
687 | margin: 10px 0; | |
688 | &:nth-child(2) { |
|
688 | &:nth-child(2) { | |
689 | margin: 0; |
|
689 | margin: 0; | |
690 | } |
|
690 | } | |
691 | } |
|
691 | } | |
692 | } |
|
692 | } | |
693 |
|
693 | |||
694 | .filediffs .anchor { |
|
694 | .filediffs .anchor { | |
695 | display: block; |
|
695 | display: block; | |
696 | height: 40px; |
|
696 | height: 40px; | |
697 | margin-top: -40px; |
|
697 | margin-top: -40px; | |
698 | visibility: hidden; |
|
698 | visibility: hidden; | |
699 | } |
|
699 | } | |
700 |
|
700 | |||
701 | .filediffs .anchor:nth-of-type(1) { |
|
701 | .filediffs .anchor:nth-of-type(1) { | |
702 | display: block; |
|
702 | display: block; | |
703 | height: 80px; |
|
703 | height: 80px; | |
704 | margin-top: -80px; |
|
704 | margin-top: -80px; | |
705 | visibility: hidden; |
|
705 | visibility: hidden; | |
706 | } |
|
706 | } | |
707 |
|
707 | |||
708 | .cs_files { |
|
708 | .cs_files { | |
709 | clear: both; |
|
709 | clear: both; | |
710 | } |
|
710 | } | |
711 |
|
711 | |||
712 | #diff-file-sticky{ |
|
712 | #diff-file-sticky{ | |
713 | will-change: min-height; |
|
713 | will-change: min-height; | |
714 | } |
|
714 | } | |
715 |
|
715 | |||
716 | .sidebar__inner{ |
|
716 | .sidebar__inner{ | |
717 | transform: translate(0, 0); /* For browsers don't support translate3d. */ |
|
717 | transform: translate(0, 0); /* For browsers don't support translate3d. */ | |
718 | transform: translate3d(0, 0, 0); |
|
718 | transform: translate3d(0, 0, 0); | |
719 | will-change: position, transform; |
|
719 | will-change: position, transform; | |
720 | height: 70px; |
|
720 | height: 70px; | |
721 | z-index: 30; |
|
721 | z-index: 30; | |
722 | background-color: #fff; |
|
722 | background-color: #fff; | |
723 | padding: 5px 0px; |
|
723 | padding: 5px 0px; | |
724 | } |
|
724 | } | |
725 |
|
725 | |||
726 | .sidebar__bar { |
|
726 | .sidebar__bar { | |
727 | padding: 5px 0px 0px 0px |
|
727 | padding: 5px 0px 0px 0px | |
728 | } |
|
728 | } | |
729 |
|
729 | |||
730 | .fpath-placeholder { |
|
730 | .fpath-placeholder { | |
731 | clear: both; |
|
731 | clear: both; | |
732 | visibility: hidden |
|
732 | visibility: hidden | |
733 | } |
|
733 | } | |
734 |
|
734 | |||
735 | .is-affixed { |
|
735 | .is-affixed { | |
736 | .sidebar_inner_shadow { |
|
736 | .sidebar_inner_shadow { | |
737 | position: fixed; |
|
737 | position: fixed; | |
738 | top: 75px; |
|
738 | top: 75px; | |
739 | right: -100%; |
|
739 | right: -100%; | |
740 | left: -100%; |
|
740 | left: -100%; | |
741 | z-index: 28; |
|
741 | z-index: 28; | |
742 | display: block; |
|
742 | display: block; | |
743 | height: 5px; |
|
743 | height: 5px; | |
744 | content: ""; |
|
744 | content: ""; | |
745 | background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0; |
|
745 | background: linear-gradient(rgba(0, 0, 0, 0.075), rgba(0, 0, 0, 0.001)) repeat-x 0 0; | |
746 | border-top: 1px solid rgba(0, 0, 0, 0.15); |
|
746 | border-top: 1px solid rgba(0, 0, 0, 0.15); | |
747 | } |
|
747 | } | |
748 | .fpath-placeholder { |
|
748 | .fpath-placeholder { | |
749 | visibility: visible !important; |
|
749 | visibility: visible !important; | |
750 | } |
|
750 | } | |
751 | } |
|
751 | } | |
752 |
|
752 | |||
753 | .diffset-menu { |
|
753 | .diffset-menu { | |
754 | margin-bottom: 20px; |
|
754 | margin-bottom: 20px; | |
755 | } |
|
755 | } | |
756 | .diffset { |
|
756 | .diffset { | |
757 | margin: 20px auto; |
|
757 | margin: 20px auto; | |
758 | .diffset-heading { |
|
758 | .diffset-heading { | |
759 | border: 1px solid @grey5; |
|
759 | border: 1px solid @grey5; | |
760 | margin-bottom: -1px; |
|
760 | margin-bottom: -1px; | |
761 | // margin-top: 20px; |
|
761 | // margin-top: 20px; | |
762 | h2 { |
|
762 | h2 { | |
763 | margin: 0; |
|
763 | margin: 0; | |
764 | line-height: 38px; |
|
764 | line-height: 38px; | |
765 | padding-left: 10px; |
|
765 | padding-left: 10px; | |
766 | } |
|
766 | } | |
767 | .btn { |
|
767 | .btn { | |
768 | margin: 0; |
|
768 | margin: 0; | |
769 | } |
|
769 | } | |
770 | background: @grey6; |
|
770 | background: @grey6; | |
771 | display: block; |
|
771 | display: block; | |
772 | padding: 5px; |
|
772 | padding: 5px; | |
773 | } |
|
773 | } | |
774 | .diffset-heading-warning { |
|
774 | .diffset-heading-warning { | |
775 | background: @alert3-inner; |
|
775 | background: @alert3-inner; | |
776 | border: 1px solid @alert3; |
|
776 | border: 1px solid @alert3; | |
777 | } |
|
777 | } | |
778 | &.diffset-comments-disabled { |
|
778 | &.diffset-comments-disabled { | |
779 | .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button { |
|
779 | .cb-comment-box-opener, .comment-inline-form, .cb-comment-add-button { | |
780 | display: none !important; |
|
780 | display: none !important; | |
781 | } |
|
781 | } | |
782 | } |
|
782 | } | |
783 | } |
|
783 | } | |
784 |
|
784 | |||
785 | .filelist { |
|
785 | .filelist { | |
786 | .pill { |
|
786 | .pill { | |
787 | display: block; |
|
787 | display: block; | |
788 | float: left; |
|
788 | float: left; | |
789 | padding: @pill-padding-small; |
|
789 | padding: @pill-padding-small; | |
790 | } |
|
790 | } | |
791 | } |
|
791 | } | |
792 |
|
792 | |||
793 | .pill { |
|
793 | .pill { | |
794 | display: block; |
|
794 | display: block; | |
795 | float: left; |
|
795 | float: left; | |
796 | padding: @pill-padding; |
|
796 | padding: @pill-padding; | |
797 | } |
|
797 | } | |
798 |
|
798 | |||
799 | .pill-group { |
|
799 | .pill-group { | |
800 | .pill { |
|
800 | .pill { | |
801 | opacity: .8; |
|
801 | opacity: .8; | |
802 | margin-right: 3px; |
|
802 | margin-right: 3px; | |
803 | font-size: 12px; |
|
803 | font-size: 12px; | |
804 | font-weight: normal; |
|
804 | font-weight: normal; | |
805 |
|
805 | |||
806 | &:first-child { |
|
806 | &:first-child { | |
807 | border-radius: @border-radius 0 0 @border-radius; |
|
807 | border-radius: @border-radius 0 0 @border-radius; | |
808 | } |
|
808 | } | |
809 | &:last-child { |
|
809 | &:last-child { | |
810 | border-radius: 0 @border-radius @border-radius 0; |
|
810 | border-radius: 0 @border-radius @border-radius 0; | |
811 | } |
|
811 | } | |
812 | &:only-child { |
|
812 | &:only-child { | |
813 | border-radius: @border-radius; |
|
813 | border-radius: @border-radius; | |
814 | margin-right: 0; |
|
814 | margin-right: 0; | |
815 | } |
|
815 | } | |
816 | } |
|
816 | } | |
817 | } |
|
817 | } | |
818 |
|
818 | |||
819 | /* Main comments*/ |
|
819 | /* Main comments*/ | |
820 | #comments { |
|
820 | #comments { | |
821 | .comment-selected { |
|
821 | .comment-selected { | |
822 | border-left: 6px solid @comment-highlight-color; |
|
822 | border-left: 6px solid @comment-highlight-color; | |
823 | padding-left: 3px; |
|
823 | padding-left: 3px; | |
824 | margin-left: -9px; |
|
824 | margin-left: -9px; | |
825 | } |
|
825 | } | |
826 | } |
|
826 | } | |
827 |
|
827 | |||
828 | .filediff { |
|
828 | .filediff { | |
829 | border: 1px solid @grey5; |
|
829 | border: 1px solid @grey5; | |
830 |
|
830 | |||
831 | /* START OVERRIDES */ |
|
831 | /* START OVERRIDES */ | |
832 | .code-highlight { |
|
832 | .code-highlight { | |
833 | border: none; // TODO: remove this border from the global |
|
833 | border: none; // TODO: remove this border from the global | |
834 | // .code-highlight, it doesn't belong there |
|
834 | // .code-highlight, it doesn't belong there | |
835 | } |
|
835 | } | |
836 | label { |
|
836 | label { | |
837 | margin: 0; // TODO: remove this margin definition from global label |
|
837 | margin: 0; // TODO: remove this margin definition from global label | |
838 | // it doesn't belong there - if margin on labels |
|
838 | // it doesn't belong there - if margin on labels | |
839 | // are needed for a form they should be defined |
|
839 | // are needed for a form they should be defined | |
840 | // in the form's class |
|
840 | // in the form's class | |
841 | } |
|
841 | } | |
842 | /* END OVERRIDES */ |
|
842 | /* END OVERRIDES */ | |
843 |
|
843 | |||
844 | * { |
|
844 | * { | |
845 | box-sizing: border-box; |
|
845 | box-sizing: border-box; | |
846 | } |
|
846 | } | |
847 | .filediff-anchor { |
|
847 | .filediff-anchor { | |
848 | visibility: hidden; |
|
848 | visibility: hidden; | |
849 | } |
|
849 | } | |
850 | &:hover { |
|
850 | &:hover { | |
851 | .filediff-anchor { |
|
851 | .filediff-anchor { | |
852 | visibility: visible; |
|
852 | visibility: visible; | |
853 | } |
|
853 | } | |
854 | } |
|
854 | } | |
855 |
|
855 | |||
856 | .filediff-collapse-indicator { |
|
856 | .filediff-collapse-indicator { | |
857 | border-style: solid; |
|
857 | border-style: solid; | |
858 | float: left; |
|
858 | float: left; | |
859 | margin: 4px 0px 0 0; |
|
859 | margin: 4px 0px 0 0; | |
860 | cursor: pointer; |
|
860 | cursor: pointer; | |
861 | } |
|
861 | } | |
862 |
|
862 | |||
863 | .filediff-heading { |
|
863 | .filediff-heading { | |
864 | background: @grey7; |
|
864 | background: @grey7; | |
865 | cursor: pointer; |
|
865 | cursor: pointer; | |
866 | display: block; |
|
866 | display: block; | |
867 | padding: 5px 10px; |
|
867 | padding: 5px 10px; | |
868 | } |
|
868 | } | |
869 | .filediff-heading:after { |
|
869 | .filediff-heading:after { | |
870 | content: ""; |
|
870 | content: ""; | |
871 | display: table; |
|
871 | display: table; | |
872 | clear: both; |
|
872 | clear: both; | |
873 | } |
|
873 | } | |
874 | .filediff-heading:hover { |
|
874 | .filediff-heading:hover { | |
875 | background: #e1e9f4 !important; |
|
875 | background: #e1e9f4 !important; | |
876 | } |
|
876 | } | |
877 |
|
877 | |||
878 | .filediff-menu { |
|
878 | .filediff-menu { | |
879 | float: right; |
|
879 | float: right; | |
880 | text-align: right; |
|
880 | text-align: right; | |
881 | padding: 5px 5px 5px 0px; |
|
881 | padding: 5px 5px 5px 0px; | |
882 |
|
882 | |||
883 | &> a, |
|
883 | &> a, | |
884 | &> span { |
|
884 | &> span { | |
885 | padding: 1px; |
|
885 | padding: 1px; | |
886 | } |
|
886 | } | |
887 | } |
|
887 | } | |
888 |
|
888 | |||
889 | .filediff-collapse-button, .filediff-expand-button { |
|
889 | .filediff-collapse-button, .filediff-expand-button { | |
890 | cursor: pointer; |
|
890 | cursor: pointer; | |
891 | } |
|
891 | } | |
892 | .filediff-collapse-button { |
|
892 | .filediff-collapse-button { | |
893 | display: inline; |
|
893 | display: inline; | |
894 | } |
|
894 | } | |
895 | .filediff-expand-button { |
|
895 | .filediff-expand-button { | |
896 | display: none; |
|
896 | display: none; | |
897 | } |
|
897 | } | |
898 | .filediff-collapsed .filediff-collapse-button { |
|
898 | .filediff-collapsed .filediff-collapse-button { | |
899 | display: none; |
|
899 | display: none; | |
900 | } |
|
900 | } | |
901 | .filediff-collapsed .filediff-expand-button { |
|
901 | .filediff-collapsed .filediff-expand-button { | |
902 | display: inline; |
|
902 | display: inline; | |
903 | } |
|
903 | } | |
904 |
|
904 | |||
905 | /**** COMMENTS ****/ |
|
905 | /**** COMMENTS ****/ | |
906 |
|
906 | |||
907 | .filediff-menu { |
|
907 | .filediff-menu { | |
908 | .show-comment-button { |
|
908 | .show-comment-button { | |
909 | display: none; |
|
909 | display: none; | |
910 | } |
|
910 | } | |
911 | } |
|
911 | } | |
912 | &.hide-comments { |
|
912 | &.hide-comments { | |
913 | .inline-comments { |
|
913 | .inline-comments { | |
914 | display: none; |
|
914 | display: none; | |
915 | } |
|
915 | } | |
916 | .filediff-menu { |
|
916 | .filediff-menu { | |
917 | .show-comment-button { |
|
917 | .show-comment-button { | |
918 | display: inline; |
|
918 | display: inline; | |
919 | } |
|
919 | } | |
920 | .hide-comment-button { |
|
920 | .hide-comment-button { | |
921 | display: none; |
|
921 | display: none; | |
922 | } |
|
922 | } | |
923 | } |
|
923 | } | |
924 | } |
|
924 | } | |
925 |
|
925 | |||
926 | .hide-line-comments { |
|
926 | .hide-line-comments { | |
927 | .inline-comments { |
|
927 | .inline-comments { | |
928 | display: none; |
|
928 | display: none; | |
929 | } |
|
929 | } | |
930 | } |
|
930 | } | |
931 |
|
931 | |||
932 | /**** END COMMENTS ****/ |
|
932 | /**** END COMMENTS ****/ | |
933 |
|
933 | |||
934 | } |
|
934 | } | |
935 |
|
935 | |||
936 |
|
936 | |||
937 |
|
937 | |||
938 | .filediff, .filelist { |
|
938 | .filediff, .filelist { | |
939 | .pill { |
|
939 | .pill { | |
940 | &[op="name"] { |
|
940 | &[op="name"] { | |
941 | background: none; |
|
941 | background: none; | |
942 | opacity: 1; |
|
942 | opacity: 1; | |
943 | color: white; |
|
943 | color: white; | |
944 | } |
|
944 | } | |
945 | &[op="limited"] { |
|
945 | &[op="limited"] { | |
946 | background: @grey2; |
|
946 | background: @grey2; | |
947 | color: white; |
|
947 | color: white; | |
948 | } |
|
948 | } | |
949 | &[op="binary"] { |
|
949 | &[op="binary"] { | |
950 | background: @color7; |
|
950 | background: @color7; | |
951 | color: white; |
|
951 | color: white; | |
952 | } |
|
952 | } | |
953 | &[op="modified"] { |
|
953 | &[op="modified"] { | |
954 | background: @alert1; |
|
954 | background: @alert1; | |
955 | color: white; |
|
955 | color: white; | |
956 | } |
|
956 | } | |
957 | &[op="renamed"] { |
|
957 | &[op="renamed"] { | |
958 | background: @color4; |
|
958 | background: @color4; | |
959 | color: white; |
|
959 | color: white; | |
960 | } |
|
960 | } | |
961 | &[op="copied"] { |
|
961 | &[op="copied"] { | |
962 | background: @color4; |
|
962 | background: @color4; | |
963 | color: white; |
|
963 | color: white; | |
964 | } |
|
964 | } | |
965 | &[op="mode"] { |
|
965 | &[op="mode"] { | |
966 | background: @grey3; |
|
966 | background: @grey3; | |
967 | color: white; |
|
967 | color: white; | |
968 | } |
|
968 | } | |
969 | &[op="symlink"] { |
|
969 | &[op="symlink"] { | |
970 | background: @color8; |
|
970 | background: @color8; | |
971 | color: white; |
|
971 | color: white; | |
972 | } |
|
972 | } | |
973 |
|
973 | |||
974 | &[op="added"] { /* added lines */ |
|
974 | &[op="added"] { /* added lines */ | |
975 | background: @alert1; |
|
975 | background: @alert1; | |
976 | color: white; |
|
976 | color: white; | |
977 | } |
|
977 | } | |
978 | &[op="deleted"] { /* deleted lines */ |
|
978 | &[op="deleted"] { /* deleted lines */ | |
979 | background: @alert2; |
|
979 | background: @alert2; | |
980 | color: white; |
|
980 | color: white; | |
981 | } |
|
981 | } | |
982 |
|
982 | |||
983 | &[op="created"] { /* created file */ |
|
983 | &[op="created"] { /* created file */ | |
984 | background: @alert1; |
|
984 | background: @alert1; | |
985 | color: white; |
|
985 | color: white; | |
986 | } |
|
986 | } | |
987 | &[op="removed"] { /* deleted file */ |
|
987 | &[op="removed"] { /* deleted file */ | |
988 | background: @color5; |
|
988 | background: @color5; | |
989 | color: white; |
|
989 | color: white; | |
990 | } |
|
990 | } | |
991 | } |
|
991 | } | |
992 | } |
|
992 | } | |
993 |
|
993 | |||
994 |
|
994 | |||
995 | .filediff-outdated { |
|
995 | .filediff-outdated { | |
996 | padding: 8px 0; |
|
996 | padding: 8px 0; | |
997 |
|
997 | |||
998 | .filediff-heading { |
|
998 | .filediff-heading { | |
999 | opacity: .5; |
|
999 | opacity: .5; | |
1000 | } |
|
1000 | } | |
1001 | } |
|
1001 | } | |
1002 |
|
1002 | |||
1003 | table.cb { |
|
1003 | table.cb { | |
1004 | width: 100%; |
|
1004 | width: 100%; | |
1005 | border-collapse: collapse; |
|
1005 | border-collapse: collapse; | |
1006 |
|
1006 | |||
1007 | .cb-text { |
|
1007 | .cb-text { | |
1008 | padding: @cb-text-padding; |
|
1008 | padding: @cb-text-padding; | |
1009 | } |
|
1009 | } | |
1010 | .cb-hunk { |
|
1010 | .cb-hunk { | |
1011 | padding: @cb-text-padding; |
|
1011 | padding: @cb-text-padding; | |
1012 | } |
|
1012 | } | |
1013 | .cb-expand { |
|
1013 | .cb-expand { | |
1014 | display: none; |
|
1014 | display: none; | |
1015 | } |
|
1015 | } | |
1016 | .cb-collapse { |
|
1016 | .cb-collapse { | |
1017 | display: inline; |
|
1017 | display: inline; | |
1018 | } |
|
1018 | } | |
1019 | &.cb-collapsed { |
|
1019 | &.cb-collapsed { | |
1020 | .cb-line { |
|
1020 | .cb-line { | |
1021 | display: none; |
|
1021 | display: none; | |
1022 | } |
|
1022 | } | |
1023 | .cb-expand { |
|
1023 | .cb-expand { | |
1024 | display: inline; |
|
1024 | display: inline; | |
1025 | } |
|
1025 | } | |
1026 | .cb-collapse { |
|
1026 | .cb-collapse { | |
1027 | display: none; |
|
1027 | display: none; | |
1028 | } |
|
1028 | } | |
1029 | .cb-hunk { |
|
1029 | .cb-hunk { | |
1030 | display: none; |
|
1030 | display: none; | |
1031 | } |
|
1031 | } | |
1032 | } |
|
1032 | } | |
1033 |
|
1033 | |||
1034 | /* intentionally general selector since .cb-line-selected must override it |
|
1034 | /* intentionally general selector since .cb-line-selected must override it | |
1035 | and they both use !important since the td itself may have a random color |
|
1035 | and they both use !important since the td itself may have a random color | |
1036 | generated by annotation blocks. TLDR: if you change it, make sure |
|
1036 | generated by annotation blocks. TLDR: if you change it, make sure | |
1037 | annotated block selection and line selection in file view still work */ |
|
1037 | annotated block selection and line selection in file view still work */ | |
1038 | .cb-line-fresh .cb-content { |
|
1038 | .cb-line-fresh .cb-content { | |
1039 | background: white !important; |
|
1039 | background: white !important; | |
1040 | } |
|
1040 | } | |
1041 | .cb-warning { |
|
1041 | .cb-warning { | |
1042 | background: #fff4dd; |
|
1042 | background: #fff4dd; | |
1043 | } |
|
1043 | } | |
1044 |
|
1044 | |||
1045 | &.cb-diff-sideside { |
|
1045 | &.cb-diff-sideside { | |
1046 | td { |
|
1046 | td { | |
1047 | &.cb-content { |
|
1047 | &.cb-content { | |
1048 | width: 50%; |
|
1048 | width: 50%; | |
1049 | } |
|
1049 | } | |
1050 | } |
|
1050 | } | |
1051 | } |
|
1051 | } | |
1052 |
|
1052 | |||
1053 | tr { |
|
1053 | tr { | |
1054 | &.cb-annotate { |
|
1054 | &.cb-annotate { | |
1055 | border-top: 1px solid #eee; |
|
1055 | border-top: 1px solid #eee; | |
1056 | } |
|
1056 | } | |
1057 |
|
1057 | |||
1058 | &.cb-comment-info { |
|
1058 | &.cb-comment-info { | |
1059 | border-top: 1px solid #eee; |
|
1059 | border-top: 1px solid #eee; | |
1060 | color: rgba(0, 0, 0, 0.3); |
|
1060 | color: rgba(0, 0, 0, 0.3); | |
1061 | background: #edf2f9; |
|
1061 | background: #edf2f9; | |
1062 |
|
1062 | |||
1063 | td { |
|
1063 | td { | |
1064 |
|
1064 | |||
1065 | } |
|
1065 | } | |
1066 | } |
|
1066 | } | |
1067 |
|
1067 | |||
1068 | &.cb-hunk { |
|
1068 | &.cb-hunk { | |
1069 |
font-family: @ |
|
1069 | font-family: @text-monospace; | |
1070 | color: rgba(0, 0, 0, 0.3); |
|
1070 | color: rgba(0, 0, 0, 0.3); | |
1071 |
|
1071 | |||
1072 | td { |
|
1072 | td { | |
1073 | &:first-child { |
|
1073 | &:first-child { | |
1074 | background: #edf2f9; |
|
1074 | background: #edf2f9; | |
1075 | } |
|
1075 | } | |
1076 | &:last-child { |
|
1076 | &:last-child { | |
1077 | background: #f4f7fb; |
|
1077 | background: #f4f7fb; | |
1078 | } |
|
1078 | } | |
1079 | } |
|
1079 | } | |
1080 | } |
|
1080 | } | |
1081 | } |
|
1081 | } | |
1082 |
|
1082 | |||
1083 |
|
1083 | |||
1084 | td { |
|
1084 | td { | |
1085 | vertical-align: top; |
|
1085 | vertical-align: top; | |
1086 | padding: 0; |
|
1086 | padding: 0; | |
1087 |
|
1087 | |||
1088 | &.cb-content { |
|
1088 | &.cb-content { | |
1089 | font-size: 12.35px; |
|
1089 | font-size: 12.35px; | |
1090 |
|
1090 | |||
1091 | &.cb-line-selected .cb-code { |
|
1091 | &.cb-line-selected .cb-code { | |
1092 | background: @comment-highlight-color !important; |
|
1092 | background: @comment-highlight-color !important; | |
1093 | } |
|
1093 | } | |
1094 |
|
1094 | |||
1095 | span.cb-code { |
|
1095 | span.cb-code { | |
1096 | line-height: @cb-line-height; |
|
1096 | line-height: @cb-line-height; | |
1097 | padding-left: @cb-line-code-padding; |
|
1097 | padding-left: @cb-line-code-padding; | |
1098 | padding-right: @cb-line-code-padding; |
|
1098 | padding-right: @cb-line-code-padding; | |
1099 | display: block; |
|
1099 | display: block; | |
1100 | white-space: pre-wrap; |
|
1100 | white-space: pre-wrap; | |
1101 |
font-family: @ |
|
1101 | font-family: @text-monospace; | |
1102 | word-break: break-all; |
|
1102 | word-break: break-all; | |
1103 | .nonl { |
|
1103 | .nonl { | |
1104 | color: @color5; |
|
1104 | color: @color5; | |
1105 | } |
|
1105 | } | |
1106 | .cb-action { |
|
1106 | .cb-action { | |
1107 | &:before { |
|
1107 | &:before { | |
1108 | content: " "; |
|
1108 | content: " "; | |
1109 | } |
|
1109 | } | |
1110 | &.cb-deletion:before { |
|
1110 | &.cb-deletion:before { | |
1111 | content: "- "; |
|
1111 | content: "- "; | |
1112 | } |
|
1112 | } | |
1113 | &.cb-addition:before { |
|
1113 | &.cb-addition:before { | |
1114 | content: "+ "; |
|
1114 | content: "+ "; | |
1115 | } |
|
1115 | } | |
1116 | } |
|
1116 | } | |
1117 | } |
|
1117 | } | |
1118 |
|
1118 | |||
1119 | &> button.cb-comment-box-opener { |
|
1119 | &> button.cb-comment-box-opener { | |
1120 |
|
1120 | |||
1121 | padding: 2px 2px 1px 3px; |
|
1121 | padding: 2px 2px 1px 3px; | |
1122 | margin-left: -6px; |
|
1122 | margin-left: -6px; | |
1123 | margin-top: -1px; |
|
1123 | margin-top: -1px; | |
1124 |
|
1124 | |||
1125 | border-radius: @border-radius; |
|
1125 | border-radius: @border-radius; | |
1126 | position: absolute; |
|
1126 | position: absolute; | |
1127 | display: none; |
|
1127 | display: none; | |
1128 | } |
|
1128 | } | |
1129 | .cb-comment { |
|
1129 | .cb-comment { | |
1130 | margin-top: 10px; |
|
1130 | margin-top: 10px; | |
1131 | white-space: normal; |
|
1131 | white-space: normal; | |
1132 | } |
|
1132 | } | |
1133 | } |
|
1133 | } | |
1134 | &:hover { |
|
1134 | &:hover { | |
1135 | button.cb-comment-box-opener { |
|
1135 | button.cb-comment-box-opener { | |
1136 | display: block; |
|
1136 | display: block; | |
1137 | } |
|
1137 | } | |
1138 | &+ td button.cb-comment-box-opener { |
|
1138 | &+ td button.cb-comment-box-opener { | |
1139 | display: block |
|
1139 | display: block | |
1140 | } |
|
1140 | } | |
1141 | } |
|
1141 | } | |
1142 |
|
1142 | |||
1143 | &.cb-data { |
|
1143 | &.cb-data { | |
1144 | text-align: right; |
|
1144 | text-align: right; | |
1145 | width: 30px; |
|
1145 | width: 30px; | |
1146 |
font-family: @ |
|
1146 | font-family: @text-monospace; | |
1147 |
|
1147 | |||
1148 | .icon-comment { |
|
1148 | .icon-comment { | |
1149 | cursor: pointer; |
|
1149 | cursor: pointer; | |
1150 | } |
|
1150 | } | |
1151 | &.cb-line-selected { |
|
1151 | &.cb-line-selected { | |
1152 | background: @comment-highlight-color !important; |
|
1152 | background: @comment-highlight-color !important; | |
1153 | } |
|
1153 | } | |
1154 | &.cb-line-selected > div { |
|
1154 | &.cb-line-selected > div { | |
1155 | display: block; |
|
1155 | display: block; | |
1156 | background: @comment-highlight-color !important; |
|
1156 | background: @comment-highlight-color !important; | |
1157 | line-height: @cb-line-height; |
|
1157 | line-height: @cb-line-height; | |
1158 | color: rgba(0, 0, 0, 0.3); |
|
1158 | color: rgba(0, 0, 0, 0.3); | |
1159 | } |
|
1159 | } | |
1160 | } |
|
1160 | } | |
1161 |
|
1161 | |||
1162 | &.cb-lineno { |
|
1162 | &.cb-lineno { | |
1163 | padding: 0; |
|
1163 | padding: 0; | |
1164 | width: 50px; |
|
1164 | width: 50px; | |
1165 | color: rgba(0, 0, 0, 0.3); |
|
1165 | color: rgba(0, 0, 0, 0.3); | |
1166 | text-align: right; |
|
1166 | text-align: right; | |
1167 | border-right: 1px solid #eee; |
|
1167 | border-right: 1px solid #eee; | |
1168 |
font-family: @ |
|
1168 | font-family: @text-monospace; | |
1169 | -webkit-user-select: none; |
|
1169 | -webkit-user-select: none; | |
1170 | -moz-user-select: none; |
|
1170 | -moz-user-select: none; | |
1171 | user-select: none; |
|
1171 | user-select: none; | |
1172 |
|
1172 | |||
1173 | a::before { |
|
1173 | a::before { | |
1174 | content: attr(data-line-no); |
|
1174 | content: attr(data-line-no); | |
1175 | } |
|
1175 | } | |
1176 | &.cb-line-selected { |
|
1176 | &.cb-line-selected { | |
1177 | background: @comment-highlight-color !important; |
|
1177 | background: @comment-highlight-color !important; | |
1178 | } |
|
1178 | } | |
1179 |
|
1179 | |||
1180 | a { |
|
1180 | a { | |
1181 | display: block; |
|
1181 | display: block; | |
1182 | padding-right: @cb-line-code-padding; |
|
1182 | padding-right: @cb-line-code-padding; | |
1183 | padding-left: @cb-line-code-padding; |
|
1183 | padding-left: @cb-line-code-padding; | |
1184 | line-height: @cb-line-height; |
|
1184 | line-height: @cb-line-height; | |
1185 | color: rgba(0, 0, 0, 0.3); |
|
1185 | color: rgba(0, 0, 0, 0.3); | |
1186 | } |
|
1186 | } | |
1187 | } |
|
1187 | } | |
1188 |
|
1188 | |||
1189 | &.cb-empty { |
|
1189 | &.cb-empty { | |
1190 | background: @grey7; |
|
1190 | background: @grey7; | |
1191 | } |
|
1191 | } | |
1192 |
|
1192 | |||
1193 | ins { |
|
1193 | ins { | |
1194 | color: black; |
|
1194 | color: black; | |
1195 | background: #a6f3a6; |
|
1195 | background: #a6f3a6; | |
1196 | text-decoration: none; |
|
1196 | text-decoration: none; | |
1197 | } |
|
1197 | } | |
1198 | del { |
|
1198 | del { | |
1199 | color: black; |
|
1199 | color: black; | |
1200 | background: #f8cbcb; |
|
1200 | background: #f8cbcb; | |
1201 | text-decoration: none; |
|
1201 | text-decoration: none; | |
1202 | } |
|
1202 | } | |
1203 | &.cb-addition { |
|
1203 | &.cb-addition { | |
1204 | background: #ecffec; |
|
1204 | background: #ecffec; | |
1205 |
|
1205 | |||
1206 | &.blob-lineno { |
|
1206 | &.blob-lineno { | |
1207 | background: #ddffdd; |
|
1207 | background: #ddffdd; | |
1208 | } |
|
1208 | } | |
1209 | } |
|
1209 | } | |
1210 | &.cb-deletion { |
|
1210 | &.cb-deletion { | |
1211 | background: #ffecec; |
|
1211 | background: #ffecec; | |
1212 |
|
1212 | |||
1213 | &.blob-lineno { |
|
1213 | &.blob-lineno { | |
1214 | background: #ffdddd; |
|
1214 | background: #ffdddd; | |
1215 | } |
|
1215 | } | |
1216 | } |
|
1216 | } | |
1217 | &.cb-annotate-message-spacer { |
|
1217 | &.cb-annotate-message-spacer { | |
1218 | width:8px; |
|
1218 | width:8px; | |
1219 | padding: 1px 0px 0px 3px; |
|
1219 | padding: 1px 0px 0px 3px; | |
1220 | } |
|
1220 | } | |
1221 | &.cb-annotate-info { |
|
1221 | &.cb-annotate-info { | |
1222 | width: 320px; |
|
1222 | width: 320px; | |
1223 | min-width: 320px; |
|
1223 | min-width: 320px; | |
1224 | max-width: 320px; |
|
1224 | max-width: 320px; | |
1225 | padding: 5px 2px; |
|
1225 | padding: 5px 2px; | |
1226 | font-size: 13px; |
|
1226 | font-size: 13px; | |
1227 |
|
1227 | |||
1228 | .cb-annotate-message { |
|
1228 | .cb-annotate-message { | |
1229 | padding: 2px 0px 0px 0px; |
|
1229 | padding: 2px 0px 0px 0px; | |
1230 | white-space: pre-line; |
|
1230 | white-space: pre-line; | |
1231 | overflow: hidden; |
|
1231 | overflow: hidden; | |
1232 | } |
|
1232 | } | |
1233 | .rc-user { |
|
1233 | .rc-user { | |
1234 | float: none; |
|
1234 | float: none; | |
1235 | padding: 0 6px 0 17px; |
|
1235 | padding: 0 6px 0 17px; | |
1236 | min-width: unset; |
|
1236 | min-width: unset; | |
1237 | min-height: unset; |
|
1237 | min-height: unset; | |
1238 | } |
|
1238 | } | |
1239 | } |
|
1239 | } | |
1240 |
|
1240 | |||
1241 | &.cb-annotate-revision { |
|
1241 | &.cb-annotate-revision { | |
1242 | cursor: pointer; |
|
1242 | cursor: pointer; | |
1243 | text-align: right; |
|
1243 | text-align: right; | |
1244 | padding: 1px 3px 0px 3px; |
|
1244 | padding: 1px 3px 0px 3px; | |
1245 | } |
|
1245 | } | |
1246 | } |
|
1246 | } | |
1247 | } |
|
1247 | } |
@@ -1,575 +1,575 b'' | |||||
1 | // comments.less |
|
1 | // comments.less | |
2 | // For use in RhodeCode applications; |
|
2 | // For use in RhodeCode applications; | |
3 | // see style guide documentation for guidelines. |
|
3 | // see style guide documentation for guidelines. | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | // Comments |
|
6 | // Comments | |
7 | @comment-outdated-opacity: 0.6; |
|
7 | @comment-outdated-opacity: 0.6; | |
8 |
|
8 | |||
9 | .comments { |
|
9 | .comments { | |
10 | width: 100%; |
|
10 | width: 100%; | |
11 | } |
|
11 | } | |
12 |
|
12 | |||
13 | tr.inline-comments div { |
|
13 | tr.inline-comments div { | |
14 | max-width: 100%; |
|
14 | max-width: 100%; | |
15 |
|
15 | |||
16 | p { |
|
16 | p { | |
17 | white-space: normal; |
|
17 | white-space: normal; | |
18 | } |
|
18 | } | |
19 |
|
19 | |||
20 | code, pre, .code, dd { |
|
20 | code, pre, .code, dd { | |
21 | overflow-x: auto; |
|
21 | overflow-x: auto; | |
22 | width: 1062px; |
|
22 | width: 1062px; | |
23 | } |
|
23 | } | |
24 |
|
24 | |||
25 | dd { |
|
25 | dd { | |
26 | width: auto; |
|
26 | width: auto; | |
27 | } |
|
27 | } | |
28 | } |
|
28 | } | |
29 |
|
29 | |||
30 | #injected_page_comments { |
|
30 | #injected_page_comments { | |
31 | .comment-previous-link, |
|
31 | .comment-previous-link, | |
32 | .comment-next-link, |
|
32 | .comment-next-link, | |
33 | .comment-links-divider { |
|
33 | .comment-links-divider { | |
34 | display: none; |
|
34 | display: none; | |
35 | } |
|
35 | } | |
36 | } |
|
36 | } | |
37 |
|
37 | |||
38 | .add-comment { |
|
38 | .add-comment { | |
39 | margin-bottom: 10px; |
|
39 | margin-bottom: 10px; | |
40 | } |
|
40 | } | |
41 | .hide-comment-button .add-comment { |
|
41 | .hide-comment-button .add-comment { | |
42 | display: none; |
|
42 | display: none; | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
45 | .comment-bubble { |
|
45 | .comment-bubble { | |
46 | color: @grey4; |
|
46 | color: @grey4; | |
47 | margin-top: 4px; |
|
47 | margin-top: 4px; | |
48 | margin-right: 30px; |
|
48 | margin-right: 30px; | |
49 | visibility: hidden; |
|
49 | visibility: hidden; | |
50 | } |
|
50 | } | |
51 |
|
51 | |||
52 | .comment-label { |
|
52 | .comment-label { | |
53 | float: left; |
|
53 | float: left; | |
54 |
|
54 | |||
55 | padding: 0.4em 0.4em; |
|
55 | padding: 0.4em 0.4em; | |
56 | margin: 3px 5px 0px -10px; |
|
56 | margin: 3px 5px 0px -10px; | |
57 | display: inline-block; |
|
57 | display: inline-block; | |
58 | min-height: 0; |
|
58 | min-height: 0; | |
59 |
|
59 | |||
60 | text-align: center; |
|
60 | text-align: center; | |
61 | font-size: 10px; |
|
61 | font-size: 10px; | |
62 | line-height: .8em; |
|
62 | line-height: .8em; | |
63 |
|
63 | |||
64 | font-family: @text-italic; |
|
64 | font-family: @text-italic; | |
65 | background: #fff none; |
|
65 | background: #fff none; | |
66 | color: @grey4; |
|
66 | color: @grey4; | |
67 | border: 1px solid @grey4; |
|
67 | border: 1px solid @grey4; | |
68 | white-space: nowrap; |
|
68 | white-space: nowrap; | |
69 |
|
69 | |||
70 | text-transform: uppercase; |
|
70 | text-transform: uppercase; | |
71 | min-width: 40px; |
|
71 | min-width: 40px; | |
72 |
|
72 | |||
73 | &.todo { |
|
73 | &.todo { | |
74 | color: @color5; |
|
74 | color: @color5; | |
75 | font-family: @text-bold-italic; |
|
75 | font-family: @text-bold-italic; | |
76 | } |
|
76 | } | |
77 |
|
77 | |||
78 | .resolve { |
|
78 | .resolve { | |
79 | cursor: pointer; |
|
79 | cursor: pointer; | |
80 | text-decoration: underline; |
|
80 | text-decoration: underline; | |
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | .resolved { |
|
83 | .resolved { | |
84 | text-decoration: line-through; |
|
84 | text-decoration: line-through; | |
85 | color: @color1; |
|
85 | color: @color1; | |
86 | } |
|
86 | } | |
87 | .resolved a { |
|
87 | .resolved a { | |
88 | text-decoration: line-through; |
|
88 | text-decoration: line-through; | |
89 | color: @color1; |
|
89 | color: @color1; | |
90 | } |
|
90 | } | |
91 | .resolve-text { |
|
91 | .resolve-text { | |
92 | color: @color1; |
|
92 | color: @color1; | |
93 | margin: 2px 8px; |
|
93 | margin: 2px 8px; | |
94 | font-family: @text-italic; |
|
94 | font-family: @text-italic; | |
95 | } |
|
95 | } | |
96 | } |
|
96 | } | |
97 |
|
97 | |||
98 | .has-spacer-after { |
|
98 | .has-spacer-after { | |
99 | &:after { |
|
99 | &:after { | |
100 | content: ' | '; |
|
100 | content: ' | '; | |
101 | color: @grey5; |
|
101 | color: @grey5; | |
102 | } |
|
102 | } | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | .has-spacer-before { |
|
105 | .has-spacer-before { | |
106 | &:before { |
|
106 | &:before { | |
107 | content: ' | '; |
|
107 | content: ' | '; | |
108 | color: @grey5; |
|
108 | color: @grey5; | |
109 | } |
|
109 | } | |
110 | } |
|
110 | } | |
111 |
|
111 | |||
112 | .comment { |
|
112 | .comment { | |
113 |
|
113 | |||
114 | &.comment-general { |
|
114 | &.comment-general { | |
115 | border: 1px solid @grey5; |
|
115 | border: 1px solid @grey5; | |
116 | padding: 5px 5px 5px 5px; |
|
116 | padding: 5px 5px 5px 5px; | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | margin: @padding 0; |
|
119 | margin: @padding 0; | |
120 | padding: 4px 0 0 0; |
|
120 | padding: 4px 0 0 0; | |
121 | line-height: 1em; |
|
121 | line-height: 1em; | |
122 |
|
122 | |||
123 | .rc-user { |
|
123 | .rc-user { | |
124 | min-width: 0; |
|
124 | min-width: 0; | |
125 | margin: 0px .5em 0 0; |
|
125 | margin: 0px .5em 0 0; | |
126 |
|
126 | |||
127 | .user { |
|
127 | .user { | |
128 | display: inline; |
|
128 | display: inline; | |
129 | } |
|
129 | } | |
130 | } |
|
130 | } | |
131 |
|
131 | |||
132 | .meta { |
|
132 | .meta { | |
133 | position: relative; |
|
133 | position: relative; | |
134 | width: 100%; |
|
134 | width: 100%; | |
135 | border-bottom: 1px solid @grey5; |
|
135 | border-bottom: 1px solid @grey5; | |
136 | margin: -5px 0px; |
|
136 | margin: -5px 0px; | |
137 | line-height: 24px; |
|
137 | line-height: 24px; | |
138 |
|
138 | |||
139 | &:hover .permalink { |
|
139 | &:hover .permalink { | |
140 | visibility: visible; |
|
140 | visibility: visible; | |
141 | color: @rcblue; |
|
141 | color: @rcblue; | |
142 | } |
|
142 | } | |
143 | } |
|
143 | } | |
144 |
|
144 | |||
145 | .author, |
|
145 | .author, | |
146 | .date { |
|
146 | .date { | |
147 | display: inline; |
|
147 | display: inline; | |
148 |
|
148 | |||
149 | &:after { |
|
149 | &:after { | |
150 | content: ' | '; |
|
150 | content: ' | '; | |
151 | color: @grey5; |
|
151 | color: @grey5; | |
152 | } |
|
152 | } | |
153 | } |
|
153 | } | |
154 |
|
154 | |||
155 | .author-general img { |
|
155 | .author-general img { | |
156 | top: 3px; |
|
156 | top: 3px; | |
157 | } |
|
157 | } | |
158 | .author-inline img { |
|
158 | .author-inline img { | |
159 | top: 3px; |
|
159 | top: 3px; | |
160 | } |
|
160 | } | |
161 |
|
161 | |||
162 | .status-change, |
|
162 | .status-change, | |
163 | .permalink, |
|
163 | .permalink, | |
164 | .changeset-status-lbl { |
|
164 | .changeset-status-lbl { | |
165 | display: inline; |
|
165 | display: inline; | |
166 | } |
|
166 | } | |
167 |
|
167 | |||
168 | .permalink { |
|
168 | .permalink { | |
169 | visibility: hidden; |
|
169 | visibility: hidden; | |
170 | } |
|
170 | } | |
171 |
|
171 | |||
172 | .comment-links-divider { |
|
172 | .comment-links-divider { | |
173 | display: inline; |
|
173 | display: inline; | |
174 | } |
|
174 | } | |
175 |
|
175 | |||
176 | .comment-links-block { |
|
176 | .comment-links-block { | |
177 | float:right; |
|
177 | float:right; | |
178 | text-align: right; |
|
178 | text-align: right; | |
179 | min-width: 85px; |
|
179 | min-width: 85px; | |
180 |
|
180 | |||
181 | [class^="icon-"]:before, |
|
181 | [class^="icon-"]:before, | |
182 | [class*=" icon-"]:before { |
|
182 | [class*=" icon-"]:before { | |
183 | margin-left: 0; |
|
183 | margin-left: 0; | |
184 | margin-right: 0; |
|
184 | margin-right: 0; | |
185 | } |
|
185 | } | |
186 | } |
|
186 | } | |
187 |
|
187 | |||
188 | .comment-previous-link { |
|
188 | .comment-previous-link { | |
189 | display: inline-block; |
|
189 | display: inline-block; | |
190 |
|
190 | |||
191 | .arrow_comment_link{ |
|
191 | .arrow_comment_link{ | |
192 | cursor: pointer; |
|
192 | cursor: pointer; | |
193 | i { |
|
193 | i { | |
194 | font-size:10px; |
|
194 | font-size:10px; | |
195 | } |
|
195 | } | |
196 | } |
|
196 | } | |
197 | .arrow_comment_link.disabled { |
|
197 | .arrow_comment_link.disabled { | |
198 | cursor: default; |
|
198 | cursor: default; | |
199 | color: @grey5; |
|
199 | color: @grey5; | |
200 | } |
|
200 | } | |
201 | } |
|
201 | } | |
202 |
|
202 | |||
203 | .comment-next-link { |
|
203 | .comment-next-link { | |
204 | display: inline-block; |
|
204 | display: inline-block; | |
205 |
|
205 | |||
206 | .arrow_comment_link{ |
|
206 | .arrow_comment_link{ | |
207 | cursor: pointer; |
|
207 | cursor: pointer; | |
208 | i { |
|
208 | i { | |
209 | font-size:10px; |
|
209 | font-size:10px; | |
210 | } |
|
210 | } | |
211 | } |
|
211 | } | |
212 | .arrow_comment_link.disabled { |
|
212 | .arrow_comment_link.disabled { | |
213 | cursor: default; |
|
213 | cursor: default; | |
214 | color: @grey5; |
|
214 | color: @grey5; | |
215 | } |
|
215 | } | |
216 | } |
|
216 | } | |
217 |
|
217 | |||
218 | .flag_status { |
|
218 | .flag_status { | |
219 | display: inline-block; |
|
219 | display: inline-block; | |
220 | margin: -2px .5em 0 .25em |
|
220 | margin: -2px .5em 0 .25em | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | .delete-comment { |
|
223 | .delete-comment { | |
224 | display: inline-block; |
|
224 | display: inline-block; | |
225 | color: @rcblue; |
|
225 | color: @rcblue; | |
226 |
|
226 | |||
227 | &:hover { |
|
227 | &:hover { | |
228 | cursor: pointer; |
|
228 | cursor: pointer; | |
229 | } |
|
229 | } | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | .text { |
|
232 | .text { | |
233 | clear: both; |
|
233 | clear: both; | |
234 | .border-radius(@border-radius); |
|
234 | .border-radius(@border-radius); | |
235 | .box-sizing(border-box); |
|
235 | .box-sizing(border-box); | |
236 |
|
236 | |||
237 | .markdown-block p, |
|
237 | .markdown-block p, | |
238 | .rst-block p { |
|
238 | .rst-block p { | |
239 | margin: .5em 0 !important; |
|
239 | margin: .5em 0 !important; | |
240 | // TODO: lisa: This is needed because of other rst !important rules :[ |
|
240 | // TODO: lisa: This is needed because of other rst !important rules :[ | |
241 | } |
|
241 | } | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | .pr-version { |
|
244 | .pr-version { | |
245 | float: left; |
|
245 | float: left; | |
246 | margin: 0px 4px; |
|
246 | margin: 0px 4px; | |
247 | } |
|
247 | } | |
248 | .pr-version-inline { |
|
248 | .pr-version-inline { | |
249 | float: left; |
|
249 | float: left; | |
250 | margin: 0px 4px; |
|
250 | margin: 0px 4px; | |
251 | } |
|
251 | } | |
252 | .pr-version-num { |
|
252 | .pr-version-num { | |
253 | font-size: 10px; |
|
253 | font-size: 10px; | |
254 | } |
|
254 | } | |
255 | } |
|
255 | } | |
256 |
|
256 | |||
257 | @comment-padding: 5px; |
|
257 | @comment-padding: 5px; | |
258 |
|
258 | |||
259 | .general-comments { |
|
259 | .general-comments { | |
260 | .comment-outdated { |
|
260 | .comment-outdated { | |
261 | opacity: @comment-outdated-opacity; |
|
261 | opacity: @comment-outdated-opacity; | |
262 | } |
|
262 | } | |
263 | } |
|
263 | } | |
264 |
|
264 | |||
265 | .inline-comments { |
|
265 | .inline-comments { | |
266 | border-radius: @border-radius; |
|
266 | border-radius: @border-radius; | |
267 | .comment { |
|
267 | .comment { | |
268 | margin: 0; |
|
268 | margin: 0; | |
269 | border-radius: @border-radius; |
|
269 | border-radius: @border-radius; | |
270 | } |
|
270 | } | |
271 | .comment-outdated { |
|
271 | .comment-outdated { | |
272 | opacity: @comment-outdated-opacity; |
|
272 | opacity: @comment-outdated-opacity; | |
273 | } |
|
273 | } | |
274 |
|
274 | |||
275 | .comment-inline { |
|
275 | .comment-inline { | |
276 | background: white; |
|
276 | background: white; | |
277 | padding: @comment-padding @comment-padding; |
|
277 | padding: @comment-padding @comment-padding; | |
278 | border: @comment-padding solid @grey6; |
|
278 | border: @comment-padding solid @grey6; | |
279 |
|
279 | |||
280 | .text { |
|
280 | .text { | |
281 | border: none; |
|
281 | border: none; | |
282 | } |
|
282 | } | |
283 | .meta { |
|
283 | .meta { | |
284 | border-bottom: 1px solid @grey6; |
|
284 | border-bottom: 1px solid @grey6; | |
285 | margin: -5px 0px; |
|
285 | margin: -5px 0px; | |
286 | line-height: 24px; |
|
286 | line-height: 24px; | |
287 | } |
|
287 | } | |
288 | } |
|
288 | } | |
289 | .comment-selected { |
|
289 | .comment-selected { | |
290 | border-left: 6px solid @comment-highlight-color; |
|
290 | border-left: 6px solid @comment-highlight-color; | |
291 | } |
|
291 | } | |
292 | .comment-inline-form { |
|
292 | .comment-inline-form { | |
293 | padding: @comment-padding; |
|
293 | padding: @comment-padding; | |
294 | display: none; |
|
294 | display: none; | |
295 | } |
|
295 | } | |
296 | .cb-comment-add-button { |
|
296 | .cb-comment-add-button { | |
297 | margin: @comment-padding; |
|
297 | margin: @comment-padding; | |
298 | } |
|
298 | } | |
299 | /* hide add comment button when form is open */ |
|
299 | /* hide add comment button when form is open */ | |
300 | .comment-inline-form-open ~ .cb-comment-add-button { |
|
300 | .comment-inline-form-open ~ .cb-comment-add-button { | |
301 | display: none; |
|
301 | display: none; | |
302 | } |
|
302 | } | |
303 | .comment-inline-form-open { |
|
303 | .comment-inline-form-open { | |
304 | display: block; |
|
304 | display: block; | |
305 | } |
|
305 | } | |
306 | /* hide add comment button when form but no comments */ |
|
306 | /* hide add comment button when form but no comments */ | |
307 | .comment-inline-form:first-child + .cb-comment-add-button { |
|
307 | .comment-inline-form:first-child + .cb-comment-add-button { | |
308 | display: none; |
|
308 | display: none; | |
309 | } |
|
309 | } | |
310 | /* hide add comment button when no comments or form */ |
|
310 | /* hide add comment button when no comments or form */ | |
311 | .cb-comment-add-button:first-child { |
|
311 | .cb-comment-add-button:first-child { | |
312 | display: none; |
|
312 | display: none; | |
313 | } |
|
313 | } | |
314 | /* hide add comment button when only comment is being deleted */ |
|
314 | /* hide add comment button when only comment is being deleted */ | |
315 | .comment-deleting:first-child + .cb-comment-add-button { |
|
315 | .comment-deleting:first-child + .cb-comment-add-button { | |
316 | display: none; |
|
316 | display: none; | |
317 | } |
|
317 | } | |
318 | } |
|
318 | } | |
319 |
|
319 | |||
320 |
|
320 | |||
321 | .show-outdated-comments { |
|
321 | .show-outdated-comments { | |
322 | display: inline; |
|
322 | display: inline; | |
323 | color: @rcblue; |
|
323 | color: @rcblue; | |
324 | } |
|
324 | } | |
325 |
|
325 | |||
326 | // Comment Form |
|
326 | // Comment Form | |
327 | div.comment-form { |
|
327 | div.comment-form { | |
328 | margin-top: 20px; |
|
328 | margin-top: 20px; | |
329 | } |
|
329 | } | |
330 |
|
330 | |||
331 | .comment-form strong { |
|
331 | .comment-form strong { | |
332 | display: block; |
|
332 | display: block; | |
333 | margin-bottom: 15px; |
|
333 | margin-bottom: 15px; | |
334 | } |
|
334 | } | |
335 |
|
335 | |||
336 | .comment-form textarea { |
|
336 | .comment-form textarea { | |
337 | width: 100%; |
|
337 | width: 100%; | |
338 | height: 100px; |
|
338 | height: 100px; | |
339 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
339 | font-family: @text-monospace; | |
340 | } |
|
340 | } | |
341 |
|
341 | |||
342 | form.comment-form { |
|
342 | form.comment-form { | |
343 | margin-top: 10px; |
|
343 | margin-top: 10px; | |
344 | margin-left: 10px; |
|
344 | margin-left: 10px; | |
345 | } |
|
345 | } | |
346 |
|
346 | |||
347 | .comment-inline-form .comment-block-ta, |
|
347 | .comment-inline-form .comment-block-ta, | |
348 | .comment-form .comment-block-ta, |
|
348 | .comment-form .comment-block-ta, | |
349 | .comment-form .preview-box { |
|
349 | .comment-form .preview-box { | |
350 | .border-radius(@border-radius); |
|
350 | .border-radius(@border-radius); | |
351 | .box-sizing(border-box); |
|
351 | .box-sizing(border-box); | |
352 | background-color: white; |
|
352 | background-color: white; | |
353 | } |
|
353 | } | |
354 |
|
354 | |||
355 | .comment-form-submit { |
|
355 | .comment-form-submit { | |
356 | margin-top: 5px; |
|
356 | margin-top: 5px; | |
357 | margin-left: 525px; |
|
357 | margin-left: 525px; | |
358 | } |
|
358 | } | |
359 |
|
359 | |||
360 | .file-comments { |
|
360 | .file-comments { | |
361 | display: none; |
|
361 | display: none; | |
362 | } |
|
362 | } | |
363 |
|
363 | |||
364 | .comment-form .preview-box.unloaded, |
|
364 | .comment-form .preview-box.unloaded, | |
365 | .comment-inline-form .preview-box.unloaded { |
|
365 | .comment-inline-form .preview-box.unloaded { | |
366 | height: 50px; |
|
366 | height: 50px; | |
367 | text-align: center; |
|
367 | text-align: center; | |
368 | padding: 20px; |
|
368 | padding: 20px; | |
369 | background-color: white; |
|
369 | background-color: white; | |
370 | } |
|
370 | } | |
371 |
|
371 | |||
372 | .comment-footer { |
|
372 | .comment-footer { | |
373 | position: relative; |
|
373 | position: relative; | |
374 | width: 100%; |
|
374 | width: 100%; | |
375 | min-height: 42px; |
|
375 | min-height: 42px; | |
376 |
|
376 | |||
377 | .status_box, |
|
377 | .status_box, | |
378 | .cancel-button { |
|
378 | .cancel-button { | |
379 | float: left; |
|
379 | float: left; | |
380 | display: inline-block; |
|
380 | display: inline-block; | |
381 | } |
|
381 | } | |
382 |
|
382 | |||
383 | .action-buttons { |
|
383 | .action-buttons { | |
384 | float: right; |
|
384 | float: right; | |
385 | display: inline-block; |
|
385 | display: inline-block; | |
386 | } |
|
386 | } | |
387 |
|
387 | |||
388 | .action-buttons-extra { |
|
388 | .action-buttons-extra { | |
389 | display: inline-block; |
|
389 | display: inline-block; | |
390 | } |
|
390 | } | |
391 | } |
|
391 | } | |
392 |
|
392 | |||
393 | .comment-form { |
|
393 | .comment-form { | |
394 |
|
394 | |||
395 | .comment { |
|
395 | .comment { | |
396 | margin-left: 10px; |
|
396 | margin-left: 10px; | |
397 | } |
|
397 | } | |
398 |
|
398 | |||
399 | .comment-help { |
|
399 | .comment-help { | |
400 | color: @grey4; |
|
400 | color: @grey4; | |
401 | padding: 5px 0 5px 0; |
|
401 | padding: 5px 0 5px 0; | |
402 | } |
|
402 | } | |
403 |
|
403 | |||
404 | .comment-title { |
|
404 | .comment-title { | |
405 | padding: 5px 0 5px 0; |
|
405 | padding: 5px 0 5px 0; | |
406 | } |
|
406 | } | |
407 |
|
407 | |||
408 | .comment-button { |
|
408 | .comment-button { | |
409 | display: inline-block; |
|
409 | display: inline-block; | |
410 | } |
|
410 | } | |
411 |
|
411 | |||
412 | .comment-button-input { |
|
412 | .comment-button-input { | |
413 | margin-right: 0; |
|
413 | margin-right: 0; | |
414 | } |
|
414 | } | |
415 |
|
415 | |||
416 | .comment-footer { |
|
416 | .comment-footer { | |
417 | margin-bottom: 110px; |
|
417 | margin-bottom: 110px; | |
418 | margin-top: 10px; |
|
418 | margin-top: 10px; | |
419 | } |
|
419 | } | |
420 | } |
|
420 | } | |
421 |
|
421 | |||
422 |
|
422 | |||
423 | .comment-form-login { |
|
423 | .comment-form-login { | |
424 | .comment-help { |
|
424 | .comment-help { | |
425 | padding: 0.9em; //same as the button |
|
425 | padding: 0.9em; //same as the button | |
426 | } |
|
426 | } | |
427 |
|
427 | |||
428 | div.clearfix { |
|
428 | div.clearfix { | |
429 | clear: both; |
|
429 | clear: both; | |
430 | width: 100%; |
|
430 | width: 100%; | |
431 | display: block; |
|
431 | display: block; | |
432 | } |
|
432 | } | |
433 | } |
|
433 | } | |
434 |
|
434 | |||
435 | .comment-type { |
|
435 | .comment-type { | |
436 | margin: 0px; |
|
436 | margin: 0px; | |
437 | border-radius: inherit; |
|
437 | border-radius: inherit; | |
438 | border-color: @grey6; |
|
438 | border-color: @grey6; | |
439 | } |
|
439 | } | |
440 |
|
440 | |||
441 | .preview-box { |
|
441 | .preview-box { | |
442 | min-height: 105px; |
|
442 | min-height: 105px; | |
443 | margin-bottom: 15px; |
|
443 | margin-bottom: 15px; | |
444 | background-color: white; |
|
444 | background-color: white; | |
445 | .border-radius(@border-radius); |
|
445 | .border-radius(@border-radius); | |
446 | .box-sizing(border-box); |
|
446 | .box-sizing(border-box); | |
447 | } |
|
447 | } | |
448 |
|
448 | |||
449 | .add-another-button { |
|
449 | .add-another-button { | |
450 | margin-left: 10px; |
|
450 | margin-left: 10px; | |
451 | margin-top: 10px; |
|
451 | margin-top: 10px; | |
452 | margin-bottom: 10px; |
|
452 | margin-bottom: 10px; | |
453 | } |
|
453 | } | |
454 |
|
454 | |||
455 | .comment .buttons { |
|
455 | .comment .buttons { | |
456 | float: right; |
|
456 | float: right; | |
457 | margin: -1px 0px 0px 0px; |
|
457 | margin: -1px 0px 0px 0px; | |
458 | } |
|
458 | } | |
459 |
|
459 | |||
460 | // Inline Comment Form |
|
460 | // Inline Comment Form | |
461 | .injected_diff .comment-inline-form, |
|
461 | .injected_diff .comment-inline-form, | |
462 | .comment-inline-form { |
|
462 | .comment-inline-form { | |
463 | background-color: white; |
|
463 | background-color: white; | |
464 | margin-top: 10px; |
|
464 | margin-top: 10px; | |
465 | margin-bottom: 20px; |
|
465 | margin-bottom: 20px; | |
466 | } |
|
466 | } | |
467 |
|
467 | |||
468 | .inline-form { |
|
468 | .inline-form { | |
469 | padding: 10px 7px; |
|
469 | padding: 10px 7px; | |
470 | } |
|
470 | } | |
471 |
|
471 | |||
472 | .inline-form div { |
|
472 | .inline-form div { | |
473 | max-width: 100%; |
|
473 | max-width: 100%; | |
474 | } |
|
474 | } | |
475 |
|
475 | |||
476 | .overlay { |
|
476 | .overlay { | |
477 | display: none; |
|
477 | display: none; | |
478 | position: absolute; |
|
478 | position: absolute; | |
479 | width: 100%; |
|
479 | width: 100%; | |
480 | text-align: center; |
|
480 | text-align: center; | |
481 | vertical-align: middle; |
|
481 | vertical-align: middle; | |
482 | font-size: 16px; |
|
482 | font-size: 16px; | |
483 | background: none repeat scroll 0 0 white; |
|
483 | background: none repeat scroll 0 0 white; | |
484 |
|
484 | |||
485 | &.submitting { |
|
485 | &.submitting { | |
486 | display: block; |
|
486 | display: block; | |
487 | opacity: 0.5; |
|
487 | opacity: 0.5; | |
488 | z-index: 100; |
|
488 | z-index: 100; | |
489 | } |
|
489 | } | |
490 | } |
|
490 | } | |
491 | .comment-inline-form .overlay.submitting .overlay-text { |
|
491 | .comment-inline-form .overlay.submitting .overlay-text { | |
492 | margin-top: 5%; |
|
492 | margin-top: 5%; | |
493 | } |
|
493 | } | |
494 |
|
494 | |||
495 | .comment-inline-form .clearfix, |
|
495 | .comment-inline-form .clearfix, | |
496 | .comment-form .clearfix { |
|
496 | .comment-form .clearfix { | |
497 | .border-radius(@border-radius); |
|
497 | .border-radius(@border-radius); | |
498 | margin: 0px; |
|
498 | margin: 0px; | |
499 | } |
|
499 | } | |
500 |
|
500 | |||
501 | .comment-inline-form .comment-footer { |
|
501 | .comment-inline-form .comment-footer { | |
502 | margin: 10px 0px 0px 0px; |
|
502 | margin: 10px 0px 0px 0px; | |
503 | } |
|
503 | } | |
504 |
|
504 | |||
505 | .hide-inline-form-button { |
|
505 | .hide-inline-form-button { | |
506 | margin-left: 5px; |
|
506 | margin-left: 5px; | |
507 | } |
|
507 | } | |
508 | .comment-button .hide-inline-form { |
|
508 | .comment-button .hide-inline-form { | |
509 | background: white; |
|
509 | background: white; | |
510 | } |
|
510 | } | |
511 |
|
511 | |||
512 | .comment-area { |
|
512 | .comment-area { | |
513 | padding: 8px 12px; |
|
513 | padding: 8px 12px; | |
514 | border: 1px solid @grey5; |
|
514 | border: 1px solid @grey5; | |
515 | .border-radius(@border-radius); |
|
515 | .border-radius(@border-radius); | |
516 |
|
516 | |||
517 | .resolve-action { |
|
517 | .resolve-action { | |
518 | padding: 1px 0px 0px 6px; |
|
518 | padding: 1px 0px 0px 6px; | |
519 | } |
|
519 | } | |
520 |
|
520 | |||
521 | } |
|
521 | } | |
522 |
|
522 | |||
523 | .comment-area-header .nav-links { |
|
523 | .comment-area-header .nav-links { | |
524 | display: flex; |
|
524 | display: flex; | |
525 | flex-flow: row wrap; |
|
525 | flex-flow: row wrap; | |
526 | -webkit-flex-flow: row wrap; |
|
526 | -webkit-flex-flow: row wrap; | |
527 | width: 100%; |
|
527 | width: 100%; | |
528 | } |
|
528 | } | |
529 |
|
529 | |||
530 | .comment-area-footer { |
|
530 | .comment-area-footer { | |
531 | display: flex; |
|
531 | display: flex; | |
532 | } |
|
532 | } | |
533 |
|
533 | |||
534 | .comment-footer .toolbar { |
|
534 | .comment-footer .toolbar { | |
535 |
|
535 | |||
536 | } |
|
536 | } | |
537 |
|
537 | |||
538 | .nav-links { |
|
538 | .nav-links { | |
539 | padding: 0; |
|
539 | padding: 0; | |
540 | margin: 0; |
|
540 | margin: 0; | |
541 | list-style: none; |
|
541 | list-style: none; | |
542 | height: auto; |
|
542 | height: auto; | |
543 | border-bottom: 1px solid @grey5; |
|
543 | border-bottom: 1px solid @grey5; | |
544 | } |
|
544 | } | |
545 | .nav-links li { |
|
545 | .nav-links li { | |
546 | display: inline-block; |
|
546 | display: inline-block; | |
547 | } |
|
547 | } | |
548 | .nav-links li:before { |
|
548 | .nav-links li:before { | |
549 | content: ""; |
|
549 | content: ""; | |
550 | } |
|
550 | } | |
551 | .nav-links li a.disabled { |
|
551 | .nav-links li a.disabled { | |
552 | cursor: not-allowed; |
|
552 | cursor: not-allowed; | |
553 | } |
|
553 | } | |
554 |
|
554 | |||
555 | .nav-links li.active a { |
|
555 | .nav-links li.active a { | |
556 | border-bottom: 2px solid @rcblue; |
|
556 | border-bottom: 2px solid @rcblue; | |
557 | color: #000; |
|
557 | color: #000; | |
558 | font-weight: 600; |
|
558 | font-weight: 600; | |
559 | } |
|
559 | } | |
560 | .nav-links li a { |
|
560 | .nav-links li a { | |
561 | display: inline-block; |
|
561 | display: inline-block; | |
562 | padding: 0px 10px 5px 10px; |
|
562 | padding: 0px 10px 5px 10px; | |
563 | margin-bottom: -1px; |
|
563 | margin-bottom: -1px; | |
564 | font-size: 14px; |
|
564 | font-size: 14px; | |
565 | line-height: 28px; |
|
565 | line-height: 28px; | |
566 | color: #8f8f8f; |
|
566 | color: #8f8f8f; | |
567 | border-bottom: 2px solid transparent; |
|
567 | border-bottom: 2px solid transparent; | |
568 | } |
|
568 | } | |
569 |
|
569 | |||
570 | .toolbar-text { |
|
570 | .toolbar-text { | |
571 | float: left; |
|
571 | float: left; | |
572 | margin: -5px 0px 0px 0px; |
|
572 | margin: -5px 0px 0px 0px; | |
573 | font-size: 12px; |
|
573 | font-size: 12px; | |
574 | } |
|
574 | } | |
575 |
|
575 |
@@ -1,374 +1,374 b'' | |||||
1 |
|
1 | |||
2 | /** MODAL **/ |
|
2 | /** MODAL **/ | |
3 | .modal-open { |
|
3 | .modal-open { | |
4 | overflow:hidden; |
|
4 | overflow:hidden; | |
5 | } |
|
5 | } | |
6 | body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom { |
|
6 | body.modal-open, .modal-open .navbar-fixed-top, .modal-open .navbar-fixed-bottom { | |
7 | margin-right:15px; |
|
7 | margin-right:15px; | |
8 | } |
|
8 | } | |
9 | .modal { |
|
9 | .modal { | |
10 | position:fixed; |
|
10 | position:fixed; | |
11 | top:0; |
|
11 | top:0; | |
12 | right:0; |
|
12 | right:0; | |
13 | bottom:0; |
|
13 | bottom:0; | |
14 | left:0; |
|
14 | left:0; | |
15 | z-index:1040; |
|
15 | z-index:1040; | |
16 | display:none; |
|
16 | display:none; | |
17 | overflow-y:scroll; |
|
17 | overflow-y:scroll; | |
18 | &.fade .modal-dialog { |
|
18 | &.fade .modal-dialog { | |
19 | -webkit-transform:translate(0,-25%); |
|
19 | -webkit-transform:translate(0,-25%); | |
20 | -ms-transform:translate(0,-25%); |
|
20 | -ms-transform:translate(0,-25%); | |
21 | transform:translate(0,-25%); |
|
21 | transform:translate(0,-25%); | |
22 | -webkit-transition:-webkit-transform 0.3s ease-out; |
|
22 | -webkit-transition:-webkit-transform 0.3s ease-out; | |
23 | -moz-transition:-moz-transform 0.3s ease-out; |
|
23 | -moz-transition:-moz-transform 0.3s ease-out; | |
24 | -o-transition:-o-transform 0.3s ease-out; |
|
24 | -o-transition:-o-transform 0.3s ease-out; | |
25 | transition:transform 0.3s ease-out; |
|
25 | transition:transform 0.3s ease-out; | |
26 | } |
|
26 | } | |
27 | &.in .modal-dialog { |
|
27 | &.in .modal-dialog { | |
28 | -webkit-transform:translate(0,0); |
|
28 | -webkit-transform:translate(0,0); | |
29 | -ms-transform:translate(0,0); |
|
29 | -ms-transform:translate(0,0); | |
30 | transform:translate(0,0); |
|
30 | transform:translate(0,0); | |
31 | } |
|
31 | } | |
32 | } |
|
32 | } | |
33 | .modal-dialog { |
|
33 | .modal-dialog { | |
34 | z-index:1050; |
|
34 | z-index:1050; | |
35 | width:auto; |
|
35 | width:auto; | |
36 | padding:10px; |
|
36 | padding:10px; | |
37 | margin-right:auto; |
|
37 | margin-right:auto; | |
38 | margin-left:auto; |
|
38 | margin-left:auto; | |
39 | } |
|
39 | } | |
40 | .modal-content { |
|
40 | .modal-content { | |
41 | position:relative; |
|
41 | position:relative; | |
42 | background-color:#ffffff; |
|
42 | background-color:#ffffff; | |
43 | border: @border-thickness solid rgba(0,0,0,0.2); |
|
43 | border: @border-thickness solid rgba(0,0,0,0.2); | |
44 | .border-radius(@border-radius); |
|
44 | .border-radius(@border-radius); | |
45 | outline:none; |
|
45 | outline:none; | |
46 | -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5); |
|
46 | -webkit-box-shadow:0 3px 9px rgba(0,0,0,0.5); | |
47 | box-shadow:0 3px 9px rgba(0,0,0,0.5); |
|
47 | box-shadow:0 3px 9px rgba(0,0,0,0.5); | |
48 | background-clip:padding-box; |
|
48 | background-clip:padding-box; | |
49 | } |
|
49 | } | |
50 | .modal-backdrop { |
|
50 | .modal-backdrop { | |
51 | position:fixed; |
|
51 | position:fixed; | |
52 | top:0; |
|
52 | top:0; | |
53 | right:0; |
|
53 | right:0; | |
54 | bottom:0; |
|
54 | bottom:0; | |
55 | left:0; |
|
55 | left:0; | |
56 | z-index:1030; |
|
56 | z-index:1030; | |
57 | background-color:#000000; |
|
57 | background-color:#000000; | |
58 |
|
58 | |||
59 | &.modal-backdrop.fade { |
|
59 | &.modal-backdrop.fade { | |
60 | opacity:0; |
|
60 | opacity:0; | |
61 | filter:alpha(opacity=0); |
|
61 | filter:alpha(opacity=0); | |
62 | } |
|
62 | } | |
63 | &.in { |
|
63 | &.in { | |
64 | opacity:0.5; |
|
64 | opacity:0.5; | |
65 | filter:alpha(opacity=50); |
|
65 | filter:alpha(opacity=50); | |
66 | } |
|
66 | } | |
67 | } |
|
67 | } | |
68 | .modal-header { |
|
68 | .modal-header { | |
69 | min-height:16.428571429px; |
|
69 | min-height:16.428571429px; | |
70 | padding:15px; |
|
70 | padding:15px; | |
71 | border-bottom: @border-thickness solid @grey6; |
|
71 | border-bottom: @border-thickness solid @grey6; | |
72 | .close { |
|
72 | .close { | |
73 | margin-top:-2px; |
|
73 | margin-top:-2px; | |
74 | } |
|
74 | } | |
75 | } |
|
75 | } | |
76 | .modal-title { |
|
76 | .modal-title { | |
77 | margin:0; |
|
77 | margin:0; | |
78 | line-height:1.428571429; |
|
78 | line-height:1.428571429; | |
79 | } |
|
79 | } | |
80 | .modal-body { |
|
80 | .modal-body { | |
81 | position:relative; |
|
81 | position:relative; | |
82 | padding:20px; |
|
82 | padding:20px; | |
83 | } |
|
83 | } | |
84 | .modal-footer { |
|
84 | .modal-footer { | |
85 | padding:19px 20px 20px; |
|
85 | padding:19px 20px 20px; | |
86 | margin-top:15px; |
|
86 | margin-top:15px; | |
87 | text-align:right; |
|
87 | text-align:right; | |
88 | border-top:1px solid #e5e5e5; |
|
88 | border-top:1px solid #e5e5e5; | |
89 | .btn + .btn { |
|
89 | .btn + .btn { | |
90 | margin-bottom:0; |
|
90 | margin-bottom:0; | |
91 | margin-left:5px; |
|
91 | margin-left:5px; | |
92 | } |
|
92 | } | |
93 | .btn-group .btn + .btn { |
|
93 | .btn-group .btn + .btn { | |
94 | margin-left:-1px; |
|
94 | margin-left:-1px; | |
95 | } |
|
95 | } | |
96 | .btn-block + .btn-block { |
|
96 | .btn-block + .btn-block { | |
97 | margin-left:0; |
|
97 | margin-left:0; | |
98 | } |
|
98 | } | |
99 | &:before { |
|
99 | &:before { | |
100 | display:table; |
|
100 | display:table; | |
101 | content:" "; |
|
101 | content:" "; | |
102 | } |
|
102 | } | |
103 | &:after { |
|
103 | &:after { | |
104 | display:table; |
|
104 | display:table; | |
105 | content:" "; |
|
105 | content:" "; | |
106 | clear:both; |
|
106 | clear:both; | |
107 | } |
|
107 | } | |
108 | } |
|
108 | } | |
109 |
|
109 | |||
110 | /** MARKDOWN styling **/ |
|
110 | /** MARKDOWN styling **/ | |
111 | div.markdown-block { |
|
111 | div.markdown-block { | |
112 | clear: both; |
|
112 | clear: both; | |
113 | overflow: hidden; |
|
113 | overflow: hidden; | |
114 | margin: 0; |
|
114 | margin: 0; | |
115 | padding: 3px 15px 3px; |
|
115 | padding: 3px 15px 3px; | |
116 | } |
|
116 | } | |
117 |
|
117 | |||
118 | div.markdown-block h1, |
|
118 | div.markdown-block h1, | |
119 | div.markdown-block h2, |
|
119 | div.markdown-block h2, | |
120 | div.markdown-block h3, |
|
120 | div.markdown-block h3, | |
121 | div.markdown-block h4, |
|
121 | div.markdown-block h4, | |
122 | div.markdown-block h5, |
|
122 | div.markdown-block h5, | |
123 | div.markdown-block h6 { |
|
123 | div.markdown-block h6 { | |
124 | border-bottom: none !important; |
|
124 | border-bottom: none !important; | |
125 | padding: 0 !important; |
|
125 | padding: 0 !important; | |
126 | overflow: visible !important; |
|
126 | overflow: visible !important; | |
127 | } |
|
127 | } | |
128 |
|
128 | |||
129 | div.markdown-block h1 { |
|
129 | div.markdown-block h1 { | |
130 | font-size: 32px; |
|
130 | font-size: 32px; | |
131 | margin: 15px 0 15px 0 !important; |
|
131 | margin: 15px 0 15px 0 !important; | |
132 | padding-bottom: 5px !important; |
|
132 | padding-bottom: 5px !important; | |
133 | } |
|
133 | } | |
134 |
|
134 | |||
135 | div.markdown-block h2 { |
|
135 | div.markdown-block h2 { | |
136 | font-size: 24px !important; |
|
136 | font-size: 24px !important; | |
137 | margin: 34px 0 10px 0 !important; |
|
137 | margin: 34px 0 10px 0 !important; | |
138 | border-top: 3px #e6e5e5 solid !important; |
|
138 | border-top: 3px #e6e5e5 solid !important; | |
139 | padding-top: 15px !important; |
|
139 | padding-top: 15px !important; | |
140 | padding-bottom: 8px !important; |
|
140 | padding-bottom: 8px !important; | |
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | div.markdown-block h3 { |
|
143 | div.markdown-block h3 { | |
144 | font-size: 18px !important; |
|
144 | font-size: 18px !important; | |
145 | margin: 30px 0 8px 0 !important; |
|
145 | margin: 30px 0 8px 0 !important; | |
146 | padding-bottom: 2px !important; |
|
146 | padding-bottom: 2px !important; | |
147 | } |
|
147 | } | |
148 |
|
148 | |||
149 | div.markdown-block h4 { |
|
149 | div.markdown-block h4 { | |
150 | font-size: 13px !important; |
|
150 | font-size: 13px !important; | |
151 | margin: 18px 0 3px 0 !important; |
|
151 | margin: 18px 0 3px 0 !important; | |
152 | } |
|
152 | } | |
153 |
|
153 | |||
154 | div.markdown-block h5 { |
|
154 | div.markdown-block h5 { | |
155 | font-size: 12px !important; |
|
155 | font-size: 12px !important; | |
156 | margin: 15px 0 3px 0 !important; |
|
156 | margin: 15px 0 3px 0 !important; | |
157 | } |
|
157 | } | |
158 |
|
158 | |||
159 | div.markdown-block h6 { |
|
159 | div.markdown-block h6 { | |
160 | font-size: 12px; |
|
160 | font-size: 12px; | |
161 | color: #777777; |
|
161 | color: #777777; | |
162 | margin: 15px 0 3px 0 !important; |
|
162 | margin: 15px 0 3px 0 !important; | |
163 | } |
|
163 | } | |
164 |
|
164 | |||
165 | div.markdown-block hr { |
|
165 | div.markdown-block hr { | |
166 | border: 0; |
|
166 | border: 0; | |
167 | color: #e6e5e5; |
|
167 | color: #e6e5e5; | |
168 | background-color: #e6e5e5; |
|
168 | background-color: #e6e5e5; | |
169 | height: 3px; |
|
169 | height: 3px; | |
170 | margin-bottom: 13px; |
|
170 | margin-bottom: 13px; | |
171 | } |
|
171 | } | |
172 |
|
172 | |||
173 | div.markdown-block ol, |
|
173 | div.markdown-block ol, | |
174 | div.markdown-block ul, |
|
174 | div.markdown-block ul, | |
175 | div.markdown-block p, |
|
175 | div.markdown-block p, | |
176 | div.markdown-block blockquote, |
|
176 | div.markdown-block blockquote, | |
177 | div.markdown-block dl, |
|
177 | div.markdown-block dl, | |
178 | div.markdown-block li, |
|
178 | div.markdown-block li, | |
179 | div.markdown-block table { |
|
179 | div.markdown-block table { | |
180 | margin: 3px 0px 13px 0px !important; |
|
180 | margin: 3px 0px 13px 0px !important; | |
181 | color: #424242 !important; |
|
181 | color: #424242 !important; | |
182 | font-size: 13px !important; |
|
182 | font-size: 13px !important; | |
183 |
font-family: |
|
183 | font-family: @text-regular; | |
184 | font-weight: normal !important; |
|
184 | font-weight: normal !important; | |
185 | overflow: visible !important; |
|
185 | overflow: visible !important; | |
186 | line-height: 140% !important; |
|
186 | line-height: 140% !important; | |
187 | } |
|
187 | } | |
188 |
|
188 | |||
189 | div.markdown-block pre { |
|
189 | div.markdown-block pre { | |
190 | margin: 3px 0px 13px 0px !important; |
|
190 | margin: 3px 0px 13px 0px !important; | |
191 | padding: .5em; |
|
191 | padding: .5em; | |
192 | color: #424242 !important; |
|
192 | color: #424242 !important; | |
193 | font-size: 13px !important; |
|
193 | font-size: 13px !important; | |
194 | overflow: visible !important; |
|
194 | overflow: visible !important; | |
195 | line-height: 140% !important; |
|
195 | line-height: 140% !important; | |
196 | background-color: @grey7; |
|
196 | background-color: @grey7; | |
197 | } |
|
197 | } | |
198 |
|
198 | |||
199 | div.markdown-block img { |
|
199 | div.markdown-block img { | |
200 | border-style: none; |
|
200 | border-style: none; | |
201 | background-color: #fff; |
|
201 | background-color: #fff; | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 |
|
204 | |||
205 | div.markdown-block strong { |
|
205 | div.markdown-block strong { | |
206 | font-weight: 600; |
|
206 | font-weight: 600; | |
207 | margin: 0; |
|
207 | margin: 0; | |
208 | } |
|
208 | } | |
209 |
|
209 | |||
210 | div.markdown-block ul, |
|
210 | div.markdown-block ul, | |
211 | div.markdown-block ol { |
|
211 | div.markdown-block ol { | |
212 | padding-left: 30px !important; |
|
212 | padding-left: 30px !important; | |
213 | margin-top: 0px !important; |
|
213 | margin-top: 0px !important; | |
214 | margin-bottom: 18px !important; |
|
214 | margin-bottom: 18px !important; | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | div.markdown-block ul li, |
|
217 | div.markdown-block ul li, | |
218 | div.markdown-block ol li { |
|
218 | div.markdown-block ol li { | |
219 | list-style: disc !important; |
|
219 | list-style: disc !important; | |
220 | margin: 6px !important; |
|
220 | margin: 6px !important; | |
221 | padding: 0 !important; |
|
221 | padding: 0 !important; | |
222 | } |
|
222 | } | |
223 |
|
223 | |||
224 | div.markdown-block ol li { |
|
224 | div.markdown-block ol li { | |
225 | list-style: decimal !important; |
|
225 | list-style: decimal !important; | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | /* |
|
228 | /* | |
229 | div.markdown-block a, |
|
229 | div.markdown-block a, | |
230 | div.markdown-block a:visited { |
|
230 | div.markdown-block a:visited { | |
231 | color: #4183C4 !important; |
|
231 | color: #4183C4 !important; | |
232 | background-color: inherit; |
|
232 | background-color: inherit; | |
233 | text-decoration: none; |
|
233 | text-decoration: none; | |
234 | } |
|
234 | } | |
235 | */ |
|
235 | */ | |
236 |
|
236 | |||
237 | div.markdown-block #message { |
|
237 | div.markdown-block #message { | |
238 | .border-radius(@border-radius); |
|
238 | .border-radius(@border-radius); | |
239 | border: @border-thickness solid @grey5; |
|
239 | border: @border-thickness solid @grey5; | |
240 | display: block; |
|
240 | display: block; | |
241 | width: 100%; |
|
241 | width: 100%; | |
242 | height: 60px; |
|
242 | height: 60px; | |
243 | margin: 6px 0px; |
|
243 | margin: 6px 0px; | |
244 | } |
|
244 | } | |
245 |
|
245 | |||
246 | div.markdown-block button, |
|
246 | div.markdown-block button, | |
247 | div.markdown-block #ws { |
|
247 | div.markdown-block #ws { | |
248 | font-size: @basefontsize; |
|
248 | font-size: @basefontsize; | |
249 | padding: 4px 6px; |
|
249 | padding: 4px 6px; | |
250 | .border-radius(@border-radius); |
|
250 | .border-radius(@border-radius); | |
251 | border: @border-thickness solid @grey5; |
|
251 | border: @border-thickness solid @grey5; | |
252 | background-color: @grey6; |
|
252 | background-color: @grey6; | |
253 | } |
|
253 | } | |
254 |
|
254 | |||
255 | div.markdown-block code, |
|
255 | div.markdown-block code, | |
256 | div.markdown-block pre, |
|
256 | div.markdown-block pre, | |
257 | div.markdown-block #ws, |
|
257 | div.markdown-block #ws, | |
258 | div.markdown-block #message { |
|
258 | div.markdown-block #message { | |
259 |
font-family: |
|
259 | font-family: @text-monospace; | |
260 | font-size: 11px; |
|
260 | font-size: 11px; | |
261 | .border-radius(@border-radius); |
|
261 | .border-radius(@border-radius); | |
262 | background-color: white; |
|
262 | background-color: white; | |
263 | color: @grey3; |
|
263 | color: @grey3; | |
264 | } |
|
264 | } | |
265 |
|
265 | |||
266 |
|
266 | |||
267 | div.markdown-block code { |
|
267 | div.markdown-block code { | |
268 | border: @border-thickness solid @grey6; |
|
268 | border: @border-thickness solid @grey6; | |
269 | margin: 0 2px; |
|
269 | margin: 0 2px; | |
270 | padding: 0 5px; |
|
270 | padding: 0 5px; | |
271 | } |
|
271 | } | |
272 |
|
272 | |||
273 | div.markdown-block pre { |
|
273 | div.markdown-block pre { | |
274 | border: @border-thickness solid @grey5; |
|
274 | border: @border-thickness solid @grey5; | |
275 | overflow: auto; |
|
275 | overflow: auto; | |
276 | padding: .5em; |
|
276 | padding: .5em; | |
277 | background-color: @grey7; |
|
277 | background-color: @grey7; | |
278 | } |
|
278 | } | |
279 |
|
279 | |||
280 | div.markdown-block pre > code { |
|
280 | div.markdown-block pre > code { | |
281 | border: 0; |
|
281 | border: 0; | |
282 | margin: 0; |
|
282 | margin: 0; | |
283 | padding: 0; |
|
283 | padding: 0; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | /** RST STYLE **/ |
|
286 | /** RST STYLE **/ | |
287 | div.rst-block { |
|
287 | div.rst-block { | |
288 | clear: both; |
|
288 | clear: both; | |
289 | overflow: hidden; |
|
289 | overflow: hidden; | |
290 | margin: 0; |
|
290 | margin: 0; | |
291 | padding: 3px 15px 3px; |
|
291 | padding: 3px 15px 3px; | |
292 | } |
|
292 | } | |
293 |
|
293 | |||
294 | div.rst-block h2 { |
|
294 | div.rst-block h2 { | |
295 | font-weight: normal; |
|
295 | font-weight: normal; | |
296 | } |
|
296 | } | |
297 |
|
297 | |||
298 | div.rst-block h1, |
|
298 | div.rst-block h1, | |
299 | div.rst-block h2, |
|
299 | div.rst-block h2, | |
300 | div.rst-block h3, |
|
300 | div.rst-block h3, | |
301 | div.rst-block h4, |
|
301 | div.rst-block h4, | |
302 | div.rst-block h5, |
|
302 | div.rst-block h5, | |
303 | div.rst-block h6 { |
|
303 | div.rst-block h6 { | |
304 | border-bottom: 0 !important; |
|
304 | border-bottom: 0 !important; | |
305 | margin: 0 !important; |
|
305 | margin: 0 !important; | |
306 | padding: 0 !important; |
|
306 | padding: 0 !important; | |
307 | line-height: 1.5em !important; |
|
307 | line-height: 1.5em !important; | |
308 | } |
|
308 | } | |
309 |
|
309 | |||
310 |
|
310 | |||
311 | div.rst-block h1:first-child { |
|
311 | div.rst-block h1:first-child { | |
312 | padding-top: .25em !important; |
|
312 | padding-top: .25em !important; | |
313 | } |
|
313 | } | |
314 |
|
314 | |||
315 | div.rst-block h2, |
|
315 | div.rst-block h2, | |
316 | div.rst-block h3 { |
|
316 | div.rst-block h3 { | |
317 | margin: 1em 0 !important; |
|
317 | margin: 1em 0 !important; | |
318 | } |
|
318 | } | |
319 |
|
319 | |||
320 | div.rst-block h2 { |
|
320 | div.rst-block h2 { | |
321 | margin-top: 1.5em !important; |
|
321 | margin-top: 1.5em !important; | |
322 | border-top: 4px solid #e0e0e0 !important; |
|
322 | border-top: 4px solid #e0e0e0 !important; | |
323 | padding-top: .5em !important; |
|
323 | padding-top: .5em !important; | |
324 | } |
|
324 | } | |
325 |
|
325 | |||
326 | div.rst-block p { |
|
326 | div.rst-block p { | |
327 | color: black !important; |
|
327 | color: black !important; | |
328 | margin: 1em 0 !important; |
|
328 | margin: 1em 0 !important; | |
329 | line-height: 1.5em !important; |
|
329 | line-height: 1.5em !important; | |
330 | } |
|
330 | } | |
331 |
|
331 | |||
332 | div.rst-block ul { |
|
332 | div.rst-block ul { | |
333 | list-style: disc !important; |
|
333 | list-style: disc !important; | |
334 | margin: 1em 0 1em 2em !important; |
|
334 | margin: 1em 0 1em 2em !important; | |
335 | clear: both; |
|
335 | clear: both; | |
336 | } |
|
336 | } | |
337 |
|
337 | |||
338 | div.rst-block ol { |
|
338 | div.rst-block ol { | |
339 | list-style: decimal; |
|
339 | list-style: decimal; | |
340 | margin: 1em 0 1em 2em !important; |
|
340 | margin: 1em 0 1em 2em !important; | |
341 | } |
|
341 | } | |
342 |
|
342 | |||
343 | div.rst-block pre, |
|
343 | div.rst-block pre, | |
344 | div.rst-block code { |
|
344 | div.rst-block code { | |
345 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
345 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; | |
346 | } |
|
346 | } | |
347 |
|
347 | |||
348 | div.rst-block code { |
|
348 | div.rst-block code { | |
349 | font-size: 12px !important; |
|
349 | font-size: 12px !important; | |
350 | background-color: ghostWhite !important; |
|
350 | background-color: ghostWhite !important; | |
351 | color: #444 !important; |
|
351 | color: #444 !important; | |
352 | padding: 0 .2em !important; |
|
352 | padding: 0 .2em !important; | |
353 | border: 1px solid #dedede !important; |
|
353 | border: 1px solid #dedede !important; | |
354 | } |
|
354 | } | |
355 |
|
355 | |||
356 | div.rst-block pre code { |
|
356 | div.rst-block pre code { | |
357 | padding: 0 !important; |
|
357 | padding: 0 !important; | |
358 | font-size: 12px !important; |
|
358 | font-size: 12px !important; | |
359 | background-color: #eee !important; |
|
359 | background-color: #eee !important; | |
360 | border: none !important; |
|
360 | border: none !important; | |
361 | } |
|
361 | } | |
362 |
|
362 | |||
363 | div.rst-block pre { |
|
363 | div.rst-block pre { | |
364 | margin: 1em 0; |
|
364 | margin: 1em 0; | |
365 | padding: @padding; |
|
365 | padding: @padding; | |
366 | border: 1px solid @grey6; |
|
366 | border: 1px solid @grey6; | |
367 | .border-radius(@border-radius); |
|
367 | .border-radius(@border-radius); | |
368 | overflow: auto; |
|
368 | overflow: auto; | |
369 | font-size: 12px; |
|
369 | font-size: 12px; | |
370 | color: #444; |
|
370 | color: #444; | |
371 | background-color: @grey7; |
|
371 | background-color: @grey7; | |
372 | } |
|
372 | } | |
373 |
|
373 | |||
374 |
|
374 |
@@ -1,409 +1,409 b'' | |||||
1 |
|
1 | |||
2 | // Contains the style definitions used for .main-content |
|
2 | // Contains the style definitions used for .main-content | |
3 | // elements which are mainly around the admin settings. |
|
3 | // elements which are mainly around the admin settings. | |
4 |
|
4 | |||
5 |
|
5 | |||
6 | // TODO: johbo: Integrate in a better way, this is for "main content" which |
|
6 | // TODO: johbo: Integrate in a better way, this is for "main content" which | |
7 | // should not have a limit on the width. |
|
7 | // should not have a limit on the width. | |
8 | .main-content-full { |
|
8 | .main-content-full { | |
9 | clear: both; |
|
9 | clear: both; | |
10 | } |
|
10 | } | |
11 |
|
11 | |||
12 |
|
12 | |||
13 | .main-content { |
|
13 | .main-content { | |
14 | max-width: @maincontent-maxwidth; |
|
14 | max-width: @maincontent-maxwidth; | |
15 |
|
15 | |||
16 | h3, |
|
16 | h3, | |
17 | // TODO: johbo: Change templates to use h3 instead of h4 here |
|
17 | // TODO: johbo: Change templates to use h3 instead of h4 here | |
18 | h4 { |
|
18 | h4 { | |
19 | line-height: 1em; |
|
19 | line-height: 1em; | |
20 | } |
|
20 | } | |
21 |
|
21 | |||
22 | // TODO: johbo: Check if we can do that on a global level |
|
22 | // TODO: johbo: Check if we can do that on a global level | |
23 | table { |
|
23 | table { | |
24 | th { |
|
24 | th { | |
25 | padding: 0; |
|
25 | padding: 0; | |
26 | } |
|
26 | } | |
27 | td.field{ |
|
27 | td.field{ | |
28 | .help-block{ |
|
28 | .help-block{ | |
29 | margin-left: 0; |
|
29 | margin-left: 0; | |
30 | } |
|
30 | } | |
31 | } |
|
31 | } | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | // TODO: johbo: Tweak this into the general styling, for a full width |
|
34 | // TODO: johbo: Tweak this into the general styling, for a full width | |
35 | // textarea |
|
35 | // textarea | |
36 | .textarea-full { |
|
36 | .textarea-full { | |
37 | // 2x 10px padding and 2x 1px border |
|
37 | // 2x 10px padding and 2x 1px border | |
38 | margin-right: 22px; |
|
38 | margin-right: 22px; | |
39 | } |
|
39 | } | |
40 |
|
40 | |||
41 | } |
|
41 | } | |
42 |
|
42 | |||
43 |
|
43 | |||
44 | // TODO: johbo: duplicated, think about a mixins.less |
|
44 | // TODO: johbo: duplicated, think about a mixins.less | |
45 | .block-left{ |
|
45 | .block-left{ | |
46 | float: left; |
|
46 | float: left; | |
47 | } |
|
47 | } | |
48 |
|
48 | |||
49 | .form { |
|
49 | .form { | |
50 | .checkboxes { |
|
50 | .checkboxes { | |
51 | // TODO: johbo: Should be changed in .checkboxes already |
|
51 | // TODO: johbo: Should be changed in .checkboxes already | |
52 | width: auto; |
|
52 | width: auto; | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | // TODO: johbo: some settings pages are broken and don't have the .buttons |
|
55 | // TODO: johbo: some settings pages are broken and don't have the .buttons | |
56 | // inside the .fields, tweak those templates and remove this. |
|
56 | // inside the .fields, tweak those templates and remove this. | |
57 | .buttons { |
|
57 | .buttons { | |
58 | margin-top: @textmargin; |
|
58 | margin-top: @textmargin; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | .help-block { |
|
61 | .help-block { | |
62 | display: block; |
|
62 | display: block; | |
63 | margin-left: @label-width; |
|
63 | margin-left: @label-width; | |
64 | &.pre-formatting { |
|
64 | &.pre-formatting { | |
65 | white-space: pre; |
|
65 | white-space: pre; | |
66 | } |
|
66 | } | |
67 | } |
|
67 | } | |
68 |
|
68 | |||
69 | .action_button { |
|
69 | .action_button { | |
70 | color: @grey4; |
|
70 | color: @grey4; | |
71 | } |
|
71 | } | |
72 | } |
|
72 | } | |
73 |
|
73 | |||
74 | .main-content-full-width { |
|
74 | .main-content-full-width { | |
75 | .main-content; |
|
75 | .main-content; | |
76 | width: 100%; |
|
76 | width: 100%; | |
77 | min-width: 100%; |
|
77 | min-width: 100%; | |
78 | } |
|
78 | } | |
79 |
|
79 | |||
80 | .main-content-auto-width { |
|
80 | .main-content-auto-width { | |
81 | .main-content; |
|
81 | .main-content; | |
82 | width: auto; |
|
82 | width: auto; | |
83 | min-width: 100%; |
|
83 | min-width: 100%; | |
84 | max-width: inherit; |
|
84 | max-width: inherit; | |
85 | } |
|
85 | } | |
86 |
|
86 | |||
87 | .field { |
|
87 | .field { | |
88 | clear: left; |
|
88 | clear: left; | |
89 | margin-bottom: @padding; |
|
89 | margin-bottom: @padding; | |
90 |
|
90 | |||
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | .input-monospace { |
|
93 | .input-monospace { | |
94 |
font-family: @ |
|
94 | font-family: @text-monospace; | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | .fields { |
|
97 | .fields { | |
98 | label { |
|
98 | label { | |
99 | color: @grey2; |
|
99 | color: @grey2; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | .field { |
|
102 | .field { | |
103 | clear: right; |
|
103 | clear: right; | |
104 | margin-bottom: @textmargin; |
|
104 | margin-bottom: @textmargin; | |
105 | width: 100%; |
|
105 | width: 100%; | |
106 |
|
106 | |||
107 | .label { |
|
107 | .label { | |
108 | float: left; |
|
108 | float: left; | |
109 | margin-right: @form-vertical-margin; |
|
109 | margin-right: @form-vertical-margin; | |
110 | margin-top: 0; |
|
110 | margin-top: 0; | |
111 | padding-top: @input-padding-px + @border-thickness-inputs; |
|
111 | padding-top: @input-padding-px + @border-thickness-inputs; | |
112 | width: @label-width - @form-vertical-margin; |
|
112 | width: @label-width - @form-vertical-margin; | |
113 | } |
|
113 | } | |
114 | // used in forms for fields that show just text |
|
114 | // used in forms for fields that show just text | |
115 | .label-text { |
|
115 | .label-text { | |
116 | .label; |
|
116 | .label; | |
117 | padding-top: 5px; |
|
117 | padding-top: 5px; | |
118 | } |
|
118 | } | |
119 | .label-branch-perm { |
|
119 | .label-branch-perm { | |
120 | .label; |
|
120 | .label; | |
121 | width: 115px; |
|
121 | width: 115px; | |
122 | } |
|
122 | } | |
123 |
|
123 | |||
124 | // Used to position content on the right side of a .label |
|
124 | // Used to position content on the right side of a .label | |
125 | .content, |
|
125 | .content, | |
126 | .side-by-side-selector { |
|
126 | .side-by-side-selector { | |
127 | padding-top: @input-padding-px + @input-border-thickness; |
|
127 | padding-top: @input-padding-px + @input-border-thickness; | |
128 | } |
|
128 | } | |
129 |
|
129 | |||
130 | .checkboxes, |
|
130 | .checkboxes, | |
131 | .input, |
|
131 | .input, | |
132 | .select, |
|
132 | .select, | |
133 | .textarea, |
|
133 | .textarea, | |
134 | .content { |
|
134 | .content { | |
135 | float: none; |
|
135 | float: none; | |
136 | margin-left: @label-width; |
|
136 | margin-left: @label-width; | |
137 |
|
137 | |||
138 | .help-block { |
|
138 | .help-block { | |
139 | margin-left: 0; |
|
139 | margin-left: 0; | |
140 | } |
|
140 | } | |
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | .input-branch-perm { |
|
143 | .input-branch-perm { | |
144 | .input; |
|
144 | .input; | |
145 | margin-left: 140px; |
|
145 | margin-left: 140px; | |
146 | } |
|
146 | } | |
147 |
|
147 | |||
148 | .input-branch-perm-order { |
|
148 | .input-branch-perm-order { | |
149 | width: 40px; |
|
149 | width: 40px; | |
150 | } |
|
150 | } | |
151 |
|
151 | |||
152 | .checkboxes, |
|
152 | .checkboxes, | |
153 | .input, |
|
153 | .input, | |
154 | .select { |
|
154 | .select { | |
155 | .help-block { |
|
155 | .help-block { | |
156 | display: block; |
|
156 | display: block; | |
157 | } |
|
157 | } | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | .checkboxes, |
|
160 | .checkboxes, | |
161 | .radios { |
|
161 | .radios { | |
162 | // TODO: johbo: We get a 4px margin from the from-bootstrap, |
|
162 | // TODO: johbo: We get a 4px margin from the from-bootstrap, | |
163 | // compensating here to align well with labels on the left. |
|
163 | // compensating here to align well with labels on the left. | |
164 | padding-top: @input-padding-px + @input-border-thickness - 3px; |
|
164 | padding-top: @input-padding-px + @input-border-thickness - 3px; | |
165 | } |
|
165 | } | |
166 |
|
166 | |||
167 | .checkbox, |
|
167 | .checkbox, | |
168 | .radio { |
|
168 | .radio { | |
169 | display: block; |
|
169 | display: block; | |
170 | width: auto; |
|
170 | width: auto; | |
171 | } |
|
171 | } | |
172 |
|
172 | |||
173 | .checkbox + .checkbox { |
|
173 | .checkbox + .checkbox { | |
174 | display: block; |
|
174 | display: block; | |
175 | } |
|
175 | } | |
176 |
|
176 | |||
177 | .input, |
|
177 | .input, | |
178 | .select { |
|
178 | .select { | |
179 | .help-block, |
|
179 | .help-block, | |
180 | .info-block { |
|
180 | .info-block { | |
181 | margin-top: @form-vertical-margin / 2; |
|
181 | margin-top: @form-vertical-margin / 2; | |
182 | } |
|
182 | } | |
183 | } |
|
183 | } | |
184 |
|
184 | |||
185 | .input { |
|
185 | .input { | |
186 | .branch-perm { |
|
186 | .branch-perm { | |
187 | width: 80px; |
|
187 | width: 80px; | |
188 | } |
|
188 | } | |
189 | .medium { |
|
189 | .medium { | |
190 | width: @fields-input-m; |
|
190 | width: @fields-input-m; | |
191 | } |
|
191 | } | |
192 | .large { |
|
192 | .large { | |
193 | width: @fields-input-l; |
|
193 | width: @fields-input-l; | |
194 | } |
|
194 | } | |
195 |
|
195 | |||
196 | .text-as-placeholder { |
|
196 | .text-as-placeholder { | |
197 | padding-top: @input-padding-px + @border-thickness-inputs; |
|
197 | padding-top: @input-padding-px + @border-thickness-inputs; | |
198 | } |
|
198 | } | |
199 | } |
|
199 | } | |
200 |
|
200 | |||
201 | // TODO: johbo: Try to find a better integration of this bit. |
|
201 | // TODO: johbo: Try to find a better integration of this bit. | |
202 | // When using a select2 inside of a field, it should not have the |
|
202 | // When using a select2 inside of a field, it should not have the | |
203 | // top margin. |
|
203 | // top margin. | |
204 | .select .drop-menu { |
|
204 | .select .drop-menu { | |
205 | margin-top: 0; |
|
205 | margin-top: 0; | |
206 | } |
|
206 | } | |
207 |
|
207 | |||
208 | .textarea { |
|
208 | .textarea { | |
209 | float: none; |
|
209 | float: none; | |
210 |
|
210 | |||
211 | textarea { |
|
211 | textarea { | |
212 | // TODO: johbo: From somewhere we get a clear which does |
|
212 | // TODO: johbo: From somewhere we get a clear which does | |
213 | // more harm than good here. |
|
213 | // more harm than good here. | |
214 | clear: none; |
|
214 | clear: none; | |
215 | } |
|
215 | } | |
216 |
|
216 | |||
217 | .CodeMirror { |
|
217 | .CodeMirror { | |
218 | // TODO: johbo: Tweak to position the .help-block nicer, |
|
218 | // TODO: johbo: Tweak to position the .help-block nicer, | |
219 | // figure out how to apply for .text-block instead. |
|
219 | // figure out how to apply for .text-block instead. | |
220 | margin-bottom: 10px; |
|
220 | margin-bottom: 10px; | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | // TODO: johbo: Check if we can remove the grey background on |
|
223 | // TODO: johbo: Check if we can remove the grey background on | |
224 | // the global level and remove this if possible. |
|
224 | // the global level and remove this if possible. | |
225 | .help-block { |
|
225 | .help-block { | |
226 | background: transparent; |
|
226 | background: transparent; | |
227 | padding: 0; |
|
227 | padding: 0; | |
228 | } |
|
228 | } | |
229 | } |
|
229 | } | |
230 |
|
230 | |||
231 | &.tag_patterns, |
|
231 | &.tag_patterns, | |
232 | &.branch_patterns { |
|
232 | &.branch_patterns { | |
233 |
|
233 | |||
234 | input { |
|
234 | input { | |
235 | max-width: 430px; |
|
235 | max-width: 430px; | |
236 | } |
|
236 | } | |
237 | } |
|
237 | } | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | .field-sm { |
|
240 | .field-sm { | |
241 | .label { |
|
241 | .label { | |
242 | padding-top: @input-padding-px / 2 + @input-border-thickness; |
|
242 | padding-top: @input-padding-px / 2 + @input-border-thickness; | |
243 | } |
|
243 | } | |
244 | .checkboxes, |
|
244 | .checkboxes, | |
245 | .radios { |
|
245 | .radios { | |
246 | // TODO: johbo: We get a 4px margin from the from-bootstrap, |
|
246 | // TODO: johbo: We get a 4px margin from the from-bootstrap, | |
247 | // compensating here to align well with labels on the left. |
|
247 | // compensating here to align well with labels on the left. | |
248 | padding-top: @input-padding-px / 2 + @input-border-thickness - 3px; |
|
248 | padding-top: @input-padding-px / 2 + @input-border-thickness - 3px; | |
249 | } |
|
249 | } | |
250 | } |
|
250 | } | |
251 |
|
251 | |||
252 | .field.customhooks { |
|
252 | .field.customhooks { | |
253 | .label { |
|
253 | .label { | |
254 | padding-top: 0; |
|
254 | padding-top: 0; | |
255 | } |
|
255 | } | |
256 | .input-wrapper { |
|
256 | .input-wrapper { | |
257 | padding-right: 25px; |
|
257 | padding-right: 25px; | |
258 |
|
258 | |||
259 | input { |
|
259 | input { | |
260 | width: 100%; |
|
260 | width: 100%; | |
261 | } |
|
261 | } | |
262 | } |
|
262 | } | |
263 | .input { |
|
263 | .input { | |
264 | padding-right: 25px; |
|
264 | padding-right: 25px; | |
265 | } |
|
265 | } | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
268 | .buttons { |
|
268 | .buttons { | |
269 | // TODO: johbo: define variable for this value. |
|
269 | // TODO: johbo: define variable for this value. | |
270 | // Note that this should be 40px but since most elements add some |
|
270 | // Note that this should be 40px but since most elements add some | |
271 | // space in the bottom, we are with 20 closer to 40. |
|
271 | // space in the bottom, we are with 20 closer to 40. | |
272 | margin-top: 20px; |
|
272 | margin-top: 20px; | |
273 | clear: both; |
|
273 | clear: both; | |
274 | margin-bottom: @padding; |
|
274 | margin-bottom: @padding; | |
275 | } |
|
275 | } | |
276 |
|
276 | |||
277 | .desc{ |
|
277 | .desc{ | |
278 | margin-right: @textmargin; |
|
278 | margin-right: @textmargin; | |
279 | } |
|
279 | } | |
280 |
|
280 | |||
281 | input, |
|
281 | input, | |
282 | .drop-menu { |
|
282 | .drop-menu { | |
283 | margin-right: @padding/3; |
|
283 | margin-right: @padding/3; | |
284 | } |
|
284 | } | |
285 |
|
285 | |||
286 | } |
|
286 | } | |
287 |
|
287 | |||
288 | .form-vertical .fields .field { |
|
288 | .form-vertical .fields .field { | |
289 |
|
289 | |||
290 | .label { |
|
290 | .label { | |
291 | float: none; |
|
291 | float: none; | |
292 | width: auto; |
|
292 | width: auto; | |
293 | } |
|
293 | } | |
294 |
|
294 | |||
295 | .checkboxes, |
|
295 | .checkboxes, | |
296 | .input, |
|
296 | .input, | |
297 | .select, |
|
297 | .select, | |
298 | .textarea { |
|
298 | .textarea { | |
299 | margin-left: 0; |
|
299 | margin-left: 0; | |
300 | } |
|
300 | } | |
301 |
|
301 | |||
302 | // TODO: johbo: had to tweak the width here to make it big enough for |
|
302 | // TODO: johbo: had to tweak the width here to make it big enough for | |
303 | // the license. |
|
303 | // the license. | |
304 | .textarea.editor { |
|
304 | .textarea.editor { | |
305 | max-width: none; |
|
305 | max-width: none; | |
306 | } |
|
306 | } | |
307 |
|
307 | |||
308 | .textarea.large textarea { |
|
308 | .textarea.large textarea { | |
309 | min-height: 200px; |
|
309 | min-height: 200px; | |
310 | } |
|
310 | } | |
311 |
|
311 | |||
312 | .help-block { |
|
312 | .help-block { | |
313 | margin-left: 0; |
|
313 | margin-left: 0; | |
314 | } |
|
314 | } | |
315 | } |
|
315 | } | |
316 |
|
316 | |||
317 |
|
317 | |||
318 |
|
318 | |||
319 |
|
319 | |||
320 | .main-content { |
|
320 | .main-content { | |
321 | .block-left; |
|
321 | .block-left; | |
322 |
|
322 | |||
323 | .section { |
|
323 | .section { | |
324 | margin-bottom: @space; |
|
324 | margin-bottom: @space; | |
325 | } |
|
325 | } | |
326 |
|
326 | |||
327 |
|
327 | |||
328 | // Table aligning same way as forms in admin section, e.g. |
|
328 | // Table aligning same way as forms in admin section, e.g. | |
329 | // python packages table |
|
329 | // python packages table | |
330 | table.formalign { |
|
330 | table.formalign { | |
331 | float: left; |
|
331 | float: left; | |
332 | width: auto; |
|
332 | width: auto; | |
333 |
|
333 | |||
334 | .label { |
|
334 | .label { | |
335 | width: @label-width; |
|
335 | width: @label-width; | |
336 | } |
|
336 | } | |
337 |
|
337 | |||
338 | } |
|
338 | } | |
339 |
|
339 | |||
340 |
|
340 | |||
341 | table.issuetracker { |
|
341 | table.issuetracker { | |
342 |
|
342 | |||
343 | color: @text-color; |
|
343 | color: @text-color; | |
344 |
|
344 | |||
345 | .issue-tracker-example { |
|
345 | .issue-tracker-example { | |
346 | color: @grey4; |
|
346 | color: @grey4; | |
347 | } |
|
347 | } | |
348 | } |
|
348 | } | |
349 |
|
349 | |||
350 | .side-by-side-selector{ |
|
350 | .side-by-side-selector{ | |
351 | .left-group, |
|
351 | .left-group, | |
352 | .middle-group, |
|
352 | .middle-group, | |
353 | .right-group{ |
|
353 | .right-group{ | |
354 | float: left; |
|
354 | float: left; | |
355 | } |
|
355 | } | |
356 |
|
356 | |||
357 | .left-group, |
|
357 | .left-group, | |
358 | .right-group{ |
|
358 | .right-group{ | |
359 | width: 45%; |
|
359 | width: 45%; | |
360 | text-align: center; |
|
360 | text-align: center; | |
361 |
|
361 | |||
362 | label{ |
|
362 | label{ | |
363 | width: 100%; |
|
363 | width: 100%; | |
364 | text-align: left; |
|
364 | text-align: left; | |
365 | } |
|
365 | } | |
366 |
|
366 | |||
367 | select{ |
|
367 | select{ | |
368 | width: 100%; |
|
368 | width: 100%; | |
369 | background: none; |
|
369 | background: none; | |
370 | border-color: @border-highlight-color; |
|
370 | border-color: @border-highlight-color; | |
371 | color: @text-color; |
|
371 | color: @text-color; | |
372 | font-family: @text-light; |
|
372 | font-family: @text-light; | |
373 | font-size: @basefontsize; |
|
373 | font-size: @basefontsize; | |
374 | color: @grey1; |
|
374 | color: @grey1; | |
375 | padding: @textmargin/2; |
|
375 | padding: @textmargin/2; | |
376 | } |
|
376 | } | |
377 |
|
377 | |||
378 | select:after{ |
|
378 | select:after{ | |
379 | content: ""; |
|
379 | content: ""; | |
380 | } |
|
380 | } | |
381 |
|
381 | |||
382 | } |
|
382 | } | |
383 |
|
383 | |||
384 | .middle-group{ |
|
384 | .middle-group{ | |
385 | width: 10%; |
|
385 | width: 10%; | |
386 | text-align: center; |
|
386 | text-align: center; | |
387 | padding-top: 4em; |
|
387 | padding-top: 4em; | |
388 | i { |
|
388 | i { | |
389 | font-size: 18px; |
|
389 | font-size: 18px; | |
390 | cursor: pointer; |
|
390 | cursor: pointer; | |
391 | line-height: 2em; |
|
391 | line-height: 2em; | |
392 | } |
|
392 | } | |
393 | } |
|
393 | } | |
394 |
|
394 | |||
395 | } |
|
395 | } | |
396 |
|
396 | |||
397 | .permissions_boxes{ |
|
397 | .permissions_boxes{ | |
398 | label, .label{ |
|
398 | label, .label{ | |
399 | margin-right: @textmargin/2; |
|
399 | margin-right: @textmargin/2; | |
400 | } |
|
400 | } | |
401 | } |
|
401 | } | |
402 |
|
402 | |||
403 | .radios{ |
|
403 | .radios{ | |
404 | label{ |
|
404 | label{ | |
405 | margin-right: @textmargin; |
|
405 | margin-right: @textmargin; | |
406 | } |
|
406 | } | |
407 | } |
|
407 | } | |
408 | } |
|
408 | } | |
409 |
|
409 |
@@ -1,2453 +1,2453 b'' | |||||
1 | //Primary CSS |
|
1 | //Primary CSS | |
2 |
|
2 | |||
3 | //--- IMPORTS ------------------// |
|
3 | //--- IMPORTS ------------------// | |
4 |
|
4 | |||
5 | @import 'helpers'; |
|
5 | @import 'helpers'; | |
6 | @import 'mixins'; |
|
6 | @import 'mixins'; | |
7 | @import 'rcicons'; |
|
7 | @import 'rcicons'; | |
8 | @import 'variables'; |
|
8 | @import 'variables'; | |
9 | @import 'bootstrap-variables'; |
|
9 | @import 'bootstrap-variables'; | |
10 | @import 'form-bootstrap'; |
|
10 | @import 'form-bootstrap'; | |
11 | @import 'codemirror'; |
|
11 | @import 'codemirror'; | |
12 | @import 'legacy_code_styles'; |
|
12 | @import 'legacy_code_styles'; | |
13 | @import 'readme-box'; |
|
13 | @import 'readme-box'; | |
14 | @import 'progress-bar'; |
|
14 | @import 'progress-bar'; | |
15 |
|
15 | |||
16 | @import 'type'; |
|
16 | @import 'type'; | |
17 | @import 'alerts'; |
|
17 | @import 'alerts'; | |
18 | @import 'buttons'; |
|
18 | @import 'buttons'; | |
19 | @import 'tags'; |
|
19 | @import 'tags'; | |
20 | @import 'code-block'; |
|
20 | @import 'code-block'; | |
21 | @import 'examples'; |
|
21 | @import 'examples'; | |
22 | @import 'login'; |
|
22 | @import 'login'; | |
23 | @import 'main-content'; |
|
23 | @import 'main-content'; | |
24 | @import 'select2'; |
|
24 | @import 'select2'; | |
25 | @import 'comments'; |
|
25 | @import 'comments'; | |
26 | @import 'panels-bootstrap'; |
|
26 | @import 'panels-bootstrap'; | |
27 | @import 'panels'; |
|
27 | @import 'panels'; | |
28 | @import 'deform'; |
|
28 | @import 'deform'; | |
29 |
|
29 | |||
30 | //--- BASE ------------------// |
|
30 | //--- BASE ------------------// | |
31 | .noscript-error { |
|
31 | .noscript-error { | |
32 | top: 0; |
|
32 | top: 0; | |
33 | left: 0; |
|
33 | left: 0; | |
34 | width: 100%; |
|
34 | width: 100%; | |
35 | z-index: 101; |
|
35 | z-index: 101; | |
36 | text-align: center; |
|
36 | text-align: center; | |
37 | font-family: @text-semibold; |
|
37 | font-family: @text-semibold; | |
38 | font-size: 120%; |
|
38 | font-size: 120%; | |
39 | color: white; |
|
39 | color: white; | |
40 | background-color: @alert2; |
|
40 | background-color: @alert2; | |
41 | padding: 5px 0 5px 0; |
|
41 | padding: 5px 0 5px 0; | |
42 | } |
|
42 | } | |
43 |
|
43 | |||
44 | html { |
|
44 | html { | |
45 | display: table; |
|
45 | display: table; | |
46 | height: 100%; |
|
46 | height: 100%; | |
47 | width: 100%; |
|
47 | width: 100%; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | body { |
|
50 | body { | |
51 | display: table-cell; |
|
51 | display: table-cell; | |
52 | width: 100%; |
|
52 | width: 100%; | |
53 | } |
|
53 | } | |
54 |
|
54 | |||
55 | //--- LAYOUT ------------------// |
|
55 | //--- LAYOUT ------------------// | |
56 |
|
56 | |||
57 | .hidden{ |
|
57 | .hidden{ | |
58 | display: none !important; |
|
58 | display: none !important; | |
59 | } |
|
59 | } | |
60 |
|
60 | |||
61 | .box{ |
|
61 | .box{ | |
62 | float: left; |
|
62 | float: left; | |
63 | width: 100%; |
|
63 | width: 100%; | |
64 | } |
|
64 | } | |
65 |
|
65 | |||
66 | .browser-header { |
|
66 | .browser-header { | |
67 | clear: both; |
|
67 | clear: both; | |
68 | } |
|
68 | } | |
69 | .main { |
|
69 | .main { | |
70 | clear: both; |
|
70 | clear: both; | |
71 | padding:0 0 @pagepadding; |
|
71 | padding:0 0 @pagepadding; | |
72 | height: auto; |
|
72 | height: auto; | |
73 |
|
73 | |||
74 | &:after { //clearfix |
|
74 | &:after { //clearfix | |
75 | content:""; |
|
75 | content:""; | |
76 | clear:both; |
|
76 | clear:both; | |
77 | width:100%; |
|
77 | width:100%; | |
78 | display:block; |
|
78 | display:block; | |
79 | } |
|
79 | } | |
80 | } |
|
80 | } | |
81 |
|
81 | |||
82 | .action-link{ |
|
82 | .action-link{ | |
83 | margin-left: @padding; |
|
83 | margin-left: @padding; | |
84 | padding-left: @padding; |
|
84 | padding-left: @padding; | |
85 | border-left: @border-thickness solid @border-default-color; |
|
85 | border-left: @border-thickness solid @border-default-color; | |
86 | } |
|
86 | } | |
87 |
|
87 | |||
88 | input + .action-link, .action-link.first{ |
|
88 | input + .action-link, .action-link.first{ | |
89 | border-left: none; |
|
89 | border-left: none; | |
90 | } |
|
90 | } | |
91 |
|
91 | |||
92 | .action-link.last{ |
|
92 | .action-link.last{ | |
93 | margin-right: @padding; |
|
93 | margin-right: @padding; | |
94 | padding-right: @padding; |
|
94 | padding-right: @padding; | |
95 | } |
|
95 | } | |
96 |
|
96 | |||
97 | .action-link.active, |
|
97 | .action-link.active, | |
98 | .action-link.active a{ |
|
98 | .action-link.active a{ | |
99 | color: @grey4; |
|
99 | color: @grey4; | |
100 | } |
|
100 | } | |
101 |
|
101 | |||
102 | .action-link.disabled { |
|
102 | .action-link.disabled { | |
103 | color: @grey4; |
|
103 | color: @grey4; | |
104 | cursor: inherit; |
|
104 | cursor: inherit; | |
105 | } |
|
105 | } | |
106 |
|
106 | |||
107 | .clipboard-action { |
|
107 | .clipboard-action { | |
108 | cursor: pointer; |
|
108 | cursor: pointer; | |
109 | } |
|
109 | } | |
110 |
|
110 | |||
111 | ul.simple-list{ |
|
111 | ul.simple-list{ | |
112 | list-style: none; |
|
112 | list-style: none; | |
113 | margin: 0; |
|
113 | margin: 0; | |
114 | padding: 0; |
|
114 | padding: 0; | |
115 | } |
|
115 | } | |
116 |
|
116 | |||
117 | .main-content { |
|
117 | .main-content { | |
118 | padding-bottom: @pagepadding; |
|
118 | padding-bottom: @pagepadding; | |
119 | } |
|
119 | } | |
120 |
|
120 | |||
121 | .wide-mode-wrapper { |
|
121 | .wide-mode-wrapper { | |
122 | max-width:4000px !important; |
|
122 | max-width:4000px !important; | |
123 | } |
|
123 | } | |
124 |
|
124 | |||
125 | .wrapper { |
|
125 | .wrapper { | |
126 | position: relative; |
|
126 | position: relative; | |
127 | max-width: @wrapper-maxwidth; |
|
127 | max-width: @wrapper-maxwidth; | |
128 | margin: 0 auto; |
|
128 | margin: 0 auto; | |
129 | } |
|
129 | } | |
130 |
|
130 | |||
131 | #content { |
|
131 | #content { | |
132 | clear: both; |
|
132 | clear: both; | |
133 | padding: 0 @contentpadding; |
|
133 | padding: 0 @contentpadding; | |
134 | } |
|
134 | } | |
135 |
|
135 | |||
136 | .advanced-settings-fields{ |
|
136 | .advanced-settings-fields{ | |
137 | input{ |
|
137 | input{ | |
138 | margin-left: @textmargin; |
|
138 | margin-left: @textmargin; | |
139 | margin-right: @padding/2; |
|
139 | margin-right: @padding/2; | |
140 | } |
|
140 | } | |
141 | } |
|
141 | } | |
142 |
|
142 | |||
143 | .cs_files_title { |
|
143 | .cs_files_title { | |
144 | margin: @pagepadding 0 0; |
|
144 | margin: @pagepadding 0 0; | |
145 | } |
|
145 | } | |
146 |
|
146 | |||
147 | input.inline[type="file"] { |
|
147 | input.inline[type="file"] { | |
148 | display: inline; |
|
148 | display: inline; | |
149 | } |
|
149 | } | |
150 |
|
150 | |||
151 | .error_page { |
|
151 | .error_page { | |
152 | margin: 10% auto; |
|
152 | margin: 10% auto; | |
153 |
|
153 | |||
154 | h1 { |
|
154 | h1 { | |
155 | color: @grey2; |
|
155 | color: @grey2; | |
156 | } |
|
156 | } | |
157 |
|
157 | |||
158 | .alert { |
|
158 | .alert { | |
159 | margin: @padding 0; |
|
159 | margin: @padding 0; | |
160 | } |
|
160 | } | |
161 |
|
161 | |||
162 | .error-branding { |
|
162 | .error-branding { | |
163 | font-family: @text-semibold; |
|
163 | font-family: @text-semibold; | |
164 | color: @grey4; |
|
164 | color: @grey4; | |
165 | } |
|
165 | } | |
166 |
|
166 | |||
167 | .error_message { |
|
167 | .error_message { | |
168 | font-family: @text-regular; |
|
168 | font-family: @text-regular; | |
169 | } |
|
169 | } | |
170 |
|
170 | |||
171 | .sidebar { |
|
171 | .sidebar { | |
172 | min-height: 275px; |
|
172 | min-height: 275px; | |
173 | margin: 0; |
|
173 | margin: 0; | |
174 | padding: 0 0 @sidebarpadding @sidebarpadding; |
|
174 | padding: 0 0 @sidebarpadding @sidebarpadding; | |
175 | border: none; |
|
175 | border: none; | |
176 | } |
|
176 | } | |
177 |
|
177 | |||
178 | .main-content { |
|
178 | .main-content { | |
179 | position: relative; |
|
179 | position: relative; | |
180 | margin: 0 @sidebarpadding @sidebarpadding; |
|
180 | margin: 0 @sidebarpadding @sidebarpadding; | |
181 | padding: 0 0 0 @sidebarpadding; |
|
181 | padding: 0 0 0 @sidebarpadding; | |
182 | border-left: @border-thickness solid @grey5; |
|
182 | border-left: @border-thickness solid @grey5; | |
183 |
|
183 | |||
184 | @media (max-width:767px) { |
|
184 | @media (max-width:767px) { | |
185 | clear: both; |
|
185 | clear: both; | |
186 | width: 100%; |
|
186 | width: 100%; | |
187 | margin: 0; |
|
187 | margin: 0; | |
188 | border: none; |
|
188 | border: none; | |
189 | } |
|
189 | } | |
190 | } |
|
190 | } | |
191 |
|
191 | |||
192 | .inner-column { |
|
192 | .inner-column { | |
193 | float: left; |
|
193 | float: left; | |
194 | width: 29.75%; |
|
194 | width: 29.75%; | |
195 | min-height: 150px; |
|
195 | min-height: 150px; | |
196 | margin: @sidebarpadding 2% 0 0; |
|
196 | margin: @sidebarpadding 2% 0 0; | |
197 | padding: 0 2% 0 0; |
|
197 | padding: 0 2% 0 0; | |
198 | border-right: @border-thickness solid @grey5; |
|
198 | border-right: @border-thickness solid @grey5; | |
199 |
|
199 | |||
200 | @media (max-width:767px) { |
|
200 | @media (max-width:767px) { | |
201 | clear: both; |
|
201 | clear: both; | |
202 | width: 100%; |
|
202 | width: 100%; | |
203 | border: none; |
|
203 | border: none; | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | ul { |
|
206 | ul { | |
207 | padding-left: 1.25em; |
|
207 | padding-left: 1.25em; | |
208 | } |
|
208 | } | |
209 |
|
209 | |||
210 | &:last-child { |
|
210 | &:last-child { | |
211 | margin: @sidebarpadding 0 0; |
|
211 | margin: @sidebarpadding 0 0; | |
212 | border: none; |
|
212 | border: none; | |
213 | } |
|
213 | } | |
214 |
|
214 | |||
215 | h4 { |
|
215 | h4 { | |
216 | margin: 0 0 @padding; |
|
216 | margin: 0 0 @padding; | |
217 | font-family: @text-semibold; |
|
217 | font-family: @text-semibold; | |
218 | } |
|
218 | } | |
219 | } |
|
219 | } | |
220 | } |
|
220 | } | |
221 | .error-page-logo { |
|
221 | .error-page-logo { | |
222 | width: 130px; |
|
222 | width: 130px; | |
223 | height: 160px; |
|
223 | height: 160px; | |
224 | } |
|
224 | } | |
225 |
|
225 | |||
226 | // HEADER |
|
226 | // HEADER | |
227 | .header { |
|
227 | .header { | |
228 |
|
228 | |||
229 | // TODO: johbo: Fix login pages, so that they work without a min-height |
|
229 | // TODO: johbo: Fix login pages, so that they work without a min-height | |
230 | // for the header and then remove the min-height. I chose a smaller value |
|
230 | // for the header and then remove the min-height. I chose a smaller value | |
231 | // intentionally here to avoid rendering issues in the main navigation. |
|
231 | // intentionally here to avoid rendering issues in the main navigation. | |
232 | min-height: 49px; |
|
232 | min-height: 49px; | |
233 |
|
233 | |||
234 | position: relative; |
|
234 | position: relative; | |
235 | vertical-align: bottom; |
|
235 | vertical-align: bottom; | |
236 | padding: 0 @header-padding; |
|
236 | padding: 0 @header-padding; | |
237 | background-color: @grey2; |
|
237 | background-color: @grey2; | |
238 | color: @grey5; |
|
238 | color: @grey5; | |
239 |
|
239 | |||
240 | .title { |
|
240 | .title { | |
241 | overflow: visible; |
|
241 | overflow: visible; | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | &:before, |
|
244 | &:before, | |
245 | &:after { |
|
245 | &:after { | |
246 | content: ""; |
|
246 | content: ""; | |
247 | clear: both; |
|
247 | clear: both; | |
248 | width: 100%; |
|
248 | width: 100%; | |
249 | } |
|
249 | } | |
250 |
|
250 | |||
251 | // TODO: johbo: Avoids breaking "Repositories" chooser |
|
251 | // TODO: johbo: Avoids breaking "Repositories" chooser | |
252 | .select2-container .select2-choice .select2-arrow { |
|
252 | .select2-container .select2-choice .select2-arrow { | |
253 | display: none; |
|
253 | display: none; | |
254 | } |
|
254 | } | |
255 | } |
|
255 | } | |
256 |
|
256 | |||
257 | #header-inner { |
|
257 | #header-inner { | |
258 | &.title { |
|
258 | &.title { | |
259 | margin: 0; |
|
259 | margin: 0; | |
260 | } |
|
260 | } | |
261 | &:before, |
|
261 | &:before, | |
262 | &:after { |
|
262 | &:after { | |
263 | content: ""; |
|
263 | content: ""; | |
264 | clear: both; |
|
264 | clear: both; | |
265 | } |
|
265 | } | |
266 | } |
|
266 | } | |
267 |
|
267 | |||
268 | // Gists |
|
268 | // Gists | |
269 | #files_data { |
|
269 | #files_data { | |
270 | clear: both; //for firefox |
|
270 | clear: both; //for firefox | |
271 | } |
|
271 | } | |
272 | #gistid { |
|
272 | #gistid { | |
273 | margin-right: @padding; |
|
273 | margin-right: @padding; | |
274 | } |
|
274 | } | |
275 |
|
275 | |||
276 | // Global Settings Editor |
|
276 | // Global Settings Editor | |
277 | .textarea.editor { |
|
277 | .textarea.editor { | |
278 | float: left; |
|
278 | float: left; | |
279 | position: relative; |
|
279 | position: relative; | |
280 | max-width: @texteditor-width; |
|
280 | max-width: @texteditor-width; | |
281 |
|
281 | |||
282 | select { |
|
282 | select { | |
283 | position: absolute; |
|
283 | position: absolute; | |
284 | top:10px; |
|
284 | top:10px; | |
285 | right:0; |
|
285 | right:0; | |
286 | } |
|
286 | } | |
287 |
|
287 | |||
288 | .CodeMirror { |
|
288 | .CodeMirror { | |
289 | margin: 0; |
|
289 | margin: 0; | |
290 | } |
|
290 | } | |
291 |
|
291 | |||
292 | .help-block { |
|
292 | .help-block { | |
293 | margin: 0 0 @padding; |
|
293 | margin: 0 0 @padding; | |
294 | padding:.5em; |
|
294 | padding:.5em; | |
295 | background-color: @grey6; |
|
295 | background-color: @grey6; | |
296 | &.pre-formatting { |
|
296 | &.pre-formatting { | |
297 | white-space: pre; |
|
297 | white-space: pre; | |
298 | } |
|
298 | } | |
299 | } |
|
299 | } | |
300 | } |
|
300 | } | |
301 |
|
301 | |||
302 | ul.auth_plugins { |
|
302 | ul.auth_plugins { | |
303 | margin: @padding 0 @padding @legend-width; |
|
303 | margin: @padding 0 @padding @legend-width; | |
304 | padding: 0; |
|
304 | padding: 0; | |
305 |
|
305 | |||
306 | li { |
|
306 | li { | |
307 | margin-bottom: @padding; |
|
307 | margin-bottom: @padding; | |
308 | line-height: 1em; |
|
308 | line-height: 1em; | |
309 | list-style-type: none; |
|
309 | list-style-type: none; | |
310 |
|
310 | |||
311 | .auth_buttons .btn { |
|
311 | .auth_buttons .btn { | |
312 | margin-right: @padding; |
|
312 | margin-right: @padding; | |
313 | } |
|
313 | } | |
314 |
|
314 | |||
315 | &:before { content: none; } |
|
315 | &:before { content: none; } | |
316 | } |
|
316 | } | |
317 | } |
|
317 | } | |
318 |
|
318 | |||
319 |
|
319 | |||
320 | // My Account PR list |
|
320 | // My Account PR list | |
321 |
|
321 | |||
322 | #show_closed { |
|
322 | #show_closed { | |
323 | margin: 0 1em 0 0; |
|
323 | margin: 0 1em 0 0; | |
324 | } |
|
324 | } | |
325 |
|
325 | |||
326 | .pullrequestlist { |
|
326 | .pullrequestlist { | |
327 | .closed { |
|
327 | .closed { | |
328 | background-color: @grey6; |
|
328 | background-color: @grey6; | |
329 | } |
|
329 | } | |
330 | .td-status { |
|
330 | .td-status { | |
331 | padding-left: .5em; |
|
331 | padding-left: .5em; | |
332 | } |
|
332 | } | |
333 | .log-container .truncate { |
|
333 | .log-container .truncate { | |
334 | height: 2.75em; |
|
334 | height: 2.75em; | |
335 | white-space: pre-line; |
|
335 | white-space: pre-line; | |
336 | } |
|
336 | } | |
337 | table.rctable .user { |
|
337 | table.rctable .user { | |
338 | padding-left: 0; |
|
338 | padding-left: 0; | |
339 | } |
|
339 | } | |
340 | table.rctable { |
|
340 | table.rctable { | |
341 | td.td-description, |
|
341 | td.td-description, | |
342 | .rc-user { |
|
342 | .rc-user { | |
343 | min-width: auto; |
|
343 | min-width: auto; | |
344 | } |
|
344 | } | |
345 | } |
|
345 | } | |
346 | } |
|
346 | } | |
347 |
|
347 | |||
348 | // Pull Requests |
|
348 | // Pull Requests | |
349 |
|
349 | |||
350 | .pullrequests_section_head { |
|
350 | .pullrequests_section_head { | |
351 | display: block; |
|
351 | display: block; | |
352 | clear: both; |
|
352 | clear: both; | |
353 | margin: @padding 0; |
|
353 | margin: @padding 0; | |
354 | font-family: @text-bold; |
|
354 | font-family: @text-bold; | |
355 | } |
|
355 | } | |
356 |
|
356 | |||
357 | .pr-origininfo, .pr-targetinfo { |
|
357 | .pr-origininfo, .pr-targetinfo { | |
358 | position: relative; |
|
358 | position: relative; | |
359 |
|
359 | |||
360 | .tag { |
|
360 | .tag { | |
361 | display: inline-block; |
|
361 | display: inline-block; | |
362 | margin: 0 1em .5em 0; |
|
362 | margin: 0 1em .5em 0; | |
363 | } |
|
363 | } | |
364 |
|
364 | |||
365 | .clone-url { |
|
365 | .clone-url { | |
366 | display: inline-block; |
|
366 | display: inline-block; | |
367 | margin: 0 0 .5em 0; |
|
367 | margin: 0 0 .5em 0; | |
368 | padding: 0; |
|
368 | padding: 0; | |
369 | line-height: 1.2em; |
|
369 | line-height: 1.2em; | |
370 | } |
|
370 | } | |
371 | } |
|
371 | } | |
372 |
|
372 | |||
373 | .pr-mergeinfo { |
|
373 | .pr-mergeinfo { | |
374 | min-width: 95% !important; |
|
374 | min-width: 95% !important; | |
375 | padding: 0 !important; |
|
375 | padding: 0 !important; | |
376 | border: 0; |
|
376 | border: 0; | |
377 | } |
|
377 | } | |
378 | .pr-mergeinfo-copy { |
|
378 | .pr-mergeinfo-copy { | |
379 | padding: 0 0; |
|
379 | padding: 0 0; | |
380 | } |
|
380 | } | |
381 |
|
381 | |||
382 | .pr-pullinfo { |
|
382 | .pr-pullinfo { | |
383 | min-width: 95% !important; |
|
383 | min-width: 95% !important; | |
384 | padding: 0 !important; |
|
384 | padding: 0 !important; | |
385 | border: 0; |
|
385 | border: 0; | |
386 | } |
|
386 | } | |
387 | .pr-pullinfo-copy { |
|
387 | .pr-pullinfo-copy { | |
388 | padding: 0 0; |
|
388 | padding: 0 0; | |
389 | } |
|
389 | } | |
390 |
|
390 | |||
391 |
|
391 | |||
392 | #pr-title-input { |
|
392 | #pr-title-input { | |
393 | width: 72%; |
|
393 | width: 72%; | |
394 | font-size: 1em; |
|
394 | font-size: 1em; | |
395 | font-family: @text-bold; |
|
395 | font-family: @text-bold; | |
396 | margin: 0; |
|
396 | margin: 0; | |
397 | padding: 0 0 0 @padding/4; |
|
397 | padding: 0 0 0 @padding/4; | |
398 | line-height: 1.7em; |
|
398 | line-height: 1.7em; | |
399 | color: @text-color; |
|
399 | color: @text-color; | |
400 | letter-spacing: .02em; |
|
400 | letter-spacing: .02em; | |
401 | } |
|
401 | } | |
402 |
|
402 | |||
403 | #pullrequest_title { |
|
403 | #pullrequest_title { | |
404 | width: 100%; |
|
404 | width: 100%; | |
405 | box-sizing: border-box; |
|
405 | box-sizing: border-box; | |
406 | } |
|
406 | } | |
407 |
|
407 | |||
408 | #pr_open_message { |
|
408 | #pr_open_message { | |
409 | border: @border-thickness solid #fff; |
|
409 | border: @border-thickness solid #fff; | |
410 | border-radius: @border-radius; |
|
410 | border-radius: @border-radius; | |
411 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; |
|
411 | padding: @padding-large-vertical @padding-large-vertical @padding-large-vertical 0; | |
412 | text-align: left; |
|
412 | text-align: left; | |
413 | overflow: hidden; |
|
413 | overflow: hidden; | |
414 | } |
|
414 | } | |
415 |
|
415 | |||
416 | .pr-submit-button { |
|
416 | .pr-submit-button { | |
417 | float: right; |
|
417 | float: right; | |
418 | margin: 0 0 0 5px; |
|
418 | margin: 0 0 0 5px; | |
419 | } |
|
419 | } | |
420 |
|
420 | |||
421 | .pr-spacing-container { |
|
421 | .pr-spacing-container { | |
422 | padding: 20px; |
|
422 | padding: 20px; | |
423 | clear: both |
|
423 | clear: both | |
424 | } |
|
424 | } | |
425 |
|
425 | |||
426 | #pr-description-input { |
|
426 | #pr-description-input { | |
427 | margin-bottom: 0; |
|
427 | margin-bottom: 0; | |
428 | } |
|
428 | } | |
429 |
|
429 | |||
430 | .pr-description-label { |
|
430 | .pr-description-label { | |
431 | vertical-align: top; |
|
431 | vertical-align: top; | |
432 | } |
|
432 | } | |
433 |
|
433 | |||
434 | .perms_section_head { |
|
434 | .perms_section_head { | |
435 | min-width: 625px; |
|
435 | min-width: 625px; | |
436 |
|
436 | |||
437 | h2 { |
|
437 | h2 { | |
438 | margin-bottom: 0; |
|
438 | margin-bottom: 0; | |
439 | } |
|
439 | } | |
440 |
|
440 | |||
441 | .label-checkbox { |
|
441 | .label-checkbox { | |
442 | float: left; |
|
442 | float: left; | |
443 | } |
|
443 | } | |
444 |
|
444 | |||
445 | &.field { |
|
445 | &.field { | |
446 | margin: @space 0 @padding; |
|
446 | margin: @space 0 @padding; | |
447 | } |
|
447 | } | |
448 |
|
448 | |||
449 | &:first-child.field { |
|
449 | &:first-child.field { | |
450 | margin-top: 0; |
|
450 | margin-top: 0; | |
451 |
|
451 | |||
452 | .label { |
|
452 | .label { | |
453 | margin-top: 0; |
|
453 | margin-top: 0; | |
454 | padding-top: 0; |
|
454 | padding-top: 0; | |
455 | } |
|
455 | } | |
456 |
|
456 | |||
457 | .radios { |
|
457 | .radios { | |
458 | padding-top: 0; |
|
458 | padding-top: 0; | |
459 | } |
|
459 | } | |
460 | } |
|
460 | } | |
461 |
|
461 | |||
462 | .radios { |
|
462 | .radios { | |
463 | position: relative; |
|
463 | position: relative; | |
464 | width: 505px; |
|
464 | width: 505px; | |
465 | } |
|
465 | } | |
466 | } |
|
466 | } | |
467 |
|
467 | |||
468 | //--- MODULES ------------------// |
|
468 | //--- MODULES ------------------// | |
469 |
|
469 | |||
470 |
|
470 | |||
471 | // Server Announcement |
|
471 | // Server Announcement | |
472 | #server-announcement { |
|
472 | #server-announcement { | |
473 | width: 95%; |
|
473 | width: 95%; | |
474 | margin: @padding auto; |
|
474 | margin: @padding auto; | |
475 | padding: @padding; |
|
475 | padding: @padding; | |
476 | border-width: 2px; |
|
476 | border-width: 2px; | |
477 | border-style: solid; |
|
477 | border-style: solid; | |
478 | .border-radius(2px); |
|
478 | .border-radius(2px); | |
479 | font-family: @text-bold; |
|
479 | font-family: @text-bold; | |
480 |
|
480 | |||
481 | &.info { border-color: @alert4; background-color: @alert4-inner; } |
|
481 | &.info { border-color: @alert4; background-color: @alert4-inner; } | |
482 | &.warning { border-color: @alert3; background-color: @alert3-inner; } |
|
482 | &.warning { border-color: @alert3; background-color: @alert3-inner; } | |
483 | &.error { border-color: @alert2; background-color: @alert2-inner; } |
|
483 | &.error { border-color: @alert2; background-color: @alert2-inner; } | |
484 | &.success { border-color: @alert1; background-color: @alert1-inner; } |
|
484 | &.success { border-color: @alert1; background-color: @alert1-inner; } | |
485 | &.neutral { border-color: @grey3; background-color: @grey6; } |
|
485 | &.neutral { border-color: @grey3; background-color: @grey6; } | |
486 | } |
|
486 | } | |
487 |
|
487 | |||
488 | // Fixed Sidebar Column |
|
488 | // Fixed Sidebar Column | |
489 | .sidebar-col-wrapper { |
|
489 | .sidebar-col-wrapper { | |
490 | padding-left: @sidebar-all-width; |
|
490 | padding-left: @sidebar-all-width; | |
491 |
|
491 | |||
492 | .sidebar { |
|
492 | .sidebar { | |
493 | width: @sidebar-width; |
|
493 | width: @sidebar-width; | |
494 | margin-left: -@sidebar-all-width; |
|
494 | margin-left: -@sidebar-all-width; | |
495 | } |
|
495 | } | |
496 | } |
|
496 | } | |
497 |
|
497 | |||
498 | .sidebar-col-wrapper.scw-small { |
|
498 | .sidebar-col-wrapper.scw-small { | |
499 | padding-left: @sidebar-small-all-width; |
|
499 | padding-left: @sidebar-small-all-width; | |
500 |
|
500 | |||
501 | .sidebar { |
|
501 | .sidebar { | |
502 | width: @sidebar-small-width; |
|
502 | width: @sidebar-small-width; | |
503 | margin-left: -@sidebar-small-all-width; |
|
503 | margin-left: -@sidebar-small-all-width; | |
504 | } |
|
504 | } | |
505 | } |
|
505 | } | |
506 |
|
506 | |||
507 |
|
507 | |||
508 | // FOOTER |
|
508 | // FOOTER | |
509 | #footer { |
|
509 | #footer { | |
510 | padding: 0; |
|
510 | padding: 0; | |
511 | text-align: center; |
|
511 | text-align: center; | |
512 | vertical-align: middle; |
|
512 | vertical-align: middle; | |
513 | color: @grey2; |
|
513 | color: @grey2; | |
514 | background-color: @grey6; |
|
514 | background-color: @grey6; | |
515 |
|
515 | |||
516 | p { |
|
516 | p { | |
517 | margin: 0; |
|
517 | margin: 0; | |
518 | padding: 1em; |
|
518 | padding: 1em; | |
519 | line-height: 1em; |
|
519 | line-height: 1em; | |
520 | } |
|
520 | } | |
521 |
|
521 | |||
522 | .server-instance { //server instance |
|
522 | .server-instance { //server instance | |
523 | display: none; |
|
523 | display: none; | |
524 | } |
|
524 | } | |
525 |
|
525 | |||
526 | .title { |
|
526 | .title { | |
527 | float: none; |
|
527 | float: none; | |
528 | margin: 0 auto; |
|
528 | margin: 0 auto; | |
529 | } |
|
529 | } | |
530 | } |
|
530 | } | |
531 |
|
531 | |||
532 | button.close { |
|
532 | button.close { | |
533 | padding: 0; |
|
533 | padding: 0; | |
534 | cursor: pointer; |
|
534 | cursor: pointer; | |
535 | background: transparent; |
|
535 | background: transparent; | |
536 | border: 0; |
|
536 | border: 0; | |
537 | .box-shadow(none); |
|
537 | .box-shadow(none); | |
538 | -webkit-appearance: none; |
|
538 | -webkit-appearance: none; | |
539 | } |
|
539 | } | |
540 |
|
540 | |||
541 | .close { |
|
541 | .close { | |
542 | float: right; |
|
542 | float: right; | |
543 | font-size: 21px; |
|
543 | font-size: 21px; | |
544 | font-family: @text-bootstrap; |
|
544 | font-family: @text-bootstrap; | |
545 | line-height: 1em; |
|
545 | line-height: 1em; | |
546 | font-weight: bold; |
|
546 | font-weight: bold; | |
547 | color: @grey2; |
|
547 | color: @grey2; | |
548 |
|
548 | |||
549 | &:hover, |
|
549 | &:hover, | |
550 | &:focus { |
|
550 | &:focus { | |
551 | color: @grey1; |
|
551 | color: @grey1; | |
552 | text-decoration: none; |
|
552 | text-decoration: none; | |
553 | cursor: pointer; |
|
553 | cursor: pointer; | |
554 | } |
|
554 | } | |
555 | } |
|
555 | } | |
556 |
|
556 | |||
557 | // GRID |
|
557 | // GRID | |
558 | .sorting, |
|
558 | .sorting, | |
559 | .sorting_desc, |
|
559 | .sorting_desc, | |
560 | .sorting_asc { |
|
560 | .sorting_asc { | |
561 | cursor: pointer; |
|
561 | cursor: pointer; | |
562 | } |
|
562 | } | |
563 | .sorting_desc:after { |
|
563 | .sorting_desc:after { | |
564 | content: "\00A0\25B2"; |
|
564 | content: "\00A0\25B2"; | |
565 | font-size: .75em; |
|
565 | font-size: .75em; | |
566 | } |
|
566 | } | |
567 | .sorting_asc:after { |
|
567 | .sorting_asc:after { | |
568 | content: "\00A0\25BC"; |
|
568 | content: "\00A0\25BC"; | |
569 | font-size: .68em; |
|
569 | font-size: .68em; | |
570 | } |
|
570 | } | |
571 |
|
571 | |||
572 |
|
572 | |||
573 | .user_auth_tokens { |
|
573 | .user_auth_tokens { | |
574 |
|
574 | |||
575 | &.truncate { |
|
575 | &.truncate { | |
576 | white-space: nowrap; |
|
576 | white-space: nowrap; | |
577 | overflow: hidden; |
|
577 | overflow: hidden; | |
578 | text-overflow: ellipsis; |
|
578 | text-overflow: ellipsis; | |
579 | } |
|
579 | } | |
580 |
|
580 | |||
581 | .fields .field .input { |
|
581 | .fields .field .input { | |
582 | margin: 0; |
|
582 | margin: 0; | |
583 | } |
|
583 | } | |
584 |
|
584 | |||
585 | input#description { |
|
585 | input#description { | |
586 | width: 100px; |
|
586 | width: 100px; | |
587 | margin: 0; |
|
587 | margin: 0; | |
588 | } |
|
588 | } | |
589 |
|
589 | |||
590 | .drop-menu { |
|
590 | .drop-menu { | |
591 | // TODO: johbo: Remove this, should work out of the box when |
|
591 | // TODO: johbo: Remove this, should work out of the box when | |
592 | // having multiple inputs inline |
|
592 | // having multiple inputs inline | |
593 | margin: 0 0 0 5px; |
|
593 | margin: 0 0 0 5px; | |
594 | } |
|
594 | } | |
595 | } |
|
595 | } | |
596 | #user_list_table { |
|
596 | #user_list_table { | |
597 | .closed { |
|
597 | .closed { | |
598 | background-color: @grey6; |
|
598 | background-color: @grey6; | |
599 | } |
|
599 | } | |
600 | } |
|
600 | } | |
601 |
|
601 | |||
602 |
|
602 | |||
603 | input { |
|
603 | input { | |
604 | &.disabled { |
|
604 | &.disabled { | |
605 | opacity: .5; |
|
605 | opacity: .5; | |
606 | } |
|
606 | } | |
607 | } |
|
607 | } | |
608 |
|
608 | |||
609 | // remove extra padding in firefox |
|
609 | // remove extra padding in firefox | |
610 | input::-moz-focus-inner { border:0; padding:0 } |
|
610 | input::-moz-focus-inner { border:0; padding:0 } | |
611 |
|
611 | |||
612 | .adjacent input { |
|
612 | .adjacent input { | |
613 | margin-bottom: @padding; |
|
613 | margin-bottom: @padding; | |
614 | } |
|
614 | } | |
615 |
|
615 | |||
616 | .permissions_boxes { |
|
616 | .permissions_boxes { | |
617 | display: block; |
|
617 | display: block; | |
618 | } |
|
618 | } | |
619 |
|
619 | |||
620 | //TODO: lisa: this should be in tables |
|
620 | //TODO: lisa: this should be in tables | |
621 | .show_more_col { |
|
621 | .show_more_col { | |
622 | width: 20px; |
|
622 | width: 20px; | |
623 | } |
|
623 | } | |
624 |
|
624 | |||
625 | //FORMS |
|
625 | //FORMS | |
626 |
|
626 | |||
627 | .medium-inline, |
|
627 | .medium-inline, | |
628 | input#description.medium-inline { |
|
628 | input#description.medium-inline { | |
629 | display: inline; |
|
629 | display: inline; | |
630 | width: @medium-inline-input-width; |
|
630 | width: @medium-inline-input-width; | |
631 | min-width: 100px; |
|
631 | min-width: 100px; | |
632 | } |
|
632 | } | |
633 |
|
633 | |||
634 | select { |
|
634 | select { | |
635 | //reset |
|
635 | //reset | |
636 | -webkit-appearance: none; |
|
636 | -webkit-appearance: none; | |
637 | -moz-appearance: none; |
|
637 | -moz-appearance: none; | |
638 |
|
638 | |||
639 | display: inline-block; |
|
639 | display: inline-block; | |
640 | height: 28px; |
|
640 | height: 28px; | |
641 | width: auto; |
|
641 | width: auto; | |
642 | margin: 0 @padding @padding 0; |
|
642 | margin: 0 @padding @padding 0; | |
643 | padding: 0 18px 0 8px; |
|
643 | padding: 0 18px 0 8px; | |
644 | line-height:1em; |
|
644 | line-height:1em; | |
645 | font-size: @basefontsize; |
|
645 | font-size: @basefontsize; | |
646 | border: @border-thickness solid @rcblue; |
|
646 | border: @border-thickness solid @rcblue; | |
647 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; |
|
647 | background:white url("../images/dt-arrow-dn.png") no-repeat 100% 50%; | |
648 | color: @rcblue; |
|
648 | color: @rcblue; | |
649 |
|
649 | |||
650 | &:after { |
|
650 | &:after { | |
651 | content: "\00A0\25BE"; |
|
651 | content: "\00A0\25BE"; | |
652 | } |
|
652 | } | |
653 |
|
653 | |||
654 | &:focus { |
|
654 | &:focus { | |
655 | outline: none; |
|
655 | outline: none; | |
656 | } |
|
656 | } | |
657 | } |
|
657 | } | |
658 |
|
658 | |||
659 | option { |
|
659 | option { | |
660 | &:focus { |
|
660 | &:focus { | |
661 | outline: none; |
|
661 | outline: none; | |
662 | } |
|
662 | } | |
663 | } |
|
663 | } | |
664 |
|
664 | |||
665 | input, |
|
665 | input, | |
666 | textarea { |
|
666 | textarea { | |
667 | padding: @input-padding; |
|
667 | padding: @input-padding; | |
668 | border: @input-border-thickness solid @border-highlight-color; |
|
668 | border: @input-border-thickness solid @border-highlight-color; | |
669 | .border-radius (@border-radius); |
|
669 | .border-radius (@border-radius); | |
670 | font-family: @text-light; |
|
670 | font-family: @text-light; | |
671 | font-size: @basefontsize; |
|
671 | font-size: @basefontsize; | |
672 |
|
672 | |||
673 | &.input-sm { |
|
673 | &.input-sm { | |
674 | padding: 5px; |
|
674 | padding: 5px; | |
675 | } |
|
675 | } | |
676 |
|
676 | |||
677 | &#description { |
|
677 | &#description { | |
678 | min-width: @input-description-minwidth; |
|
678 | min-width: @input-description-minwidth; | |
679 | min-height: 1em; |
|
679 | min-height: 1em; | |
680 | padding: 10px; |
|
680 | padding: 10px; | |
681 | } |
|
681 | } | |
682 | } |
|
682 | } | |
683 |
|
683 | |||
684 | .field-sm { |
|
684 | .field-sm { | |
685 | input, |
|
685 | input, | |
686 | textarea { |
|
686 | textarea { | |
687 | padding: 5px; |
|
687 | padding: 5px; | |
688 | } |
|
688 | } | |
689 | } |
|
689 | } | |
690 |
|
690 | |||
691 | textarea { |
|
691 | textarea { | |
692 | display: block; |
|
692 | display: block; | |
693 | clear: both; |
|
693 | clear: both; | |
694 | width: 100%; |
|
694 | width: 100%; | |
695 | min-height: 100px; |
|
695 | min-height: 100px; | |
696 | margin-bottom: @padding; |
|
696 | margin-bottom: @padding; | |
697 | .box-sizing(border-box); |
|
697 | .box-sizing(border-box); | |
698 | overflow: auto; |
|
698 | overflow: auto; | |
699 | } |
|
699 | } | |
700 |
|
700 | |||
701 | label { |
|
701 | label { | |
702 | font-family: @text-light; |
|
702 | font-family: @text-light; | |
703 | } |
|
703 | } | |
704 |
|
704 | |||
705 | // GRAVATARS |
|
705 | // GRAVATARS | |
706 | // centers gravatar on username to the right |
|
706 | // centers gravatar on username to the right | |
707 |
|
707 | |||
708 | .gravatar { |
|
708 | .gravatar { | |
709 | display: inline; |
|
709 | display: inline; | |
710 | min-width: 16px; |
|
710 | min-width: 16px; | |
711 | min-height: 16px; |
|
711 | min-height: 16px; | |
712 | margin: -5px 0; |
|
712 | margin: -5px 0; | |
713 | padding: 0; |
|
713 | padding: 0; | |
714 | line-height: 1em; |
|
714 | line-height: 1em; | |
715 | border: 1px solid @grey4; |
|
715 | border: 1px solid @grey4; | |
716 | box-sizing: content-box; |
|
716 | box-sizing: content-box; | |
717 |
|
717 | |||
718 | &.gravatar-large { |
|
718 | &.gravatar-large { | |
719 | margin: -0.5em .25em -0.5em 0; |
|
719 | margin: -0.5em .25em -0.5em 0; | |
720 | } |
|
720 | } | |
721 |
|
721 | |||
722 | & + .user { |
|
722 | & + .user { | |
723 | display: inline; |
|
723 | display: inline; | |
724 | margin: 0; |
|
724 | margin: 0; | |
725 | padding: 0 0 0 .17em; |
|
725 | padding: 0 0 0 .17em; | |
726 | line-height: 1em; |
|
726 | line-height: 1em; | |
727 | } |
|
727 | } | |
728 | } |
|
728 | } | |
729 |
|
729 | |||
730 | .user-inline-data { |
|
730 | .user-inline-data { | |
731 | display: inline-block; |
|
731 | display: inline-block; | |
732 | float: left; |
|
732 | float: left; | |
733 | padding-left: .5em; |
|
733 | padding-left: .5em; | |
734 | line-height: 1.3em; |
|
734 | line-height: 1.3em; | |
735 | } |
|
735 | } | |
736 |
|
736 | |||
737 | .rc-user { // gravatar + user wrapper |
|
737 | .rc-user { // gravatar + user wrapper | |
738 | float: left; |
|
738 | float: left; | |
739 | position: relative; |
|
739 | position: relative; | |
740 | min-width: 100px; |
|
740 | min-width: 100px; | |
741 | max-width: 200px; |
|
741 | max-width: 200px; | |
742 | min-height: (@gravatar-size + @border-thickness * 2); // account for border |
|
742 | min-height: (@gravatar-size + @border-thickness * 2); // account for border | |
743 | display: block; |
|
743 | display: block; | |
744 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); |
|
744 | padding: 0 0 0 (@gravatar-size + @basefontsize/2 + @border-thickness * 2); | |
745 |
|
745 | |||
746 |
|
746 | |||
747 | .gravatar { |
|
747 | .gravatar { | |
748 | display: block; |
|
748 | display: block; | |
749 | position: absolute; |
|
749 | position: absolute; | |
750 | top: 0; |
|
750 | top: 0; | |
751 | left: 0; |
|
751 | left: 0; | |
752 | min-width: @gravatar-size; |
|
752 | min-width: @gravatar-size; | |
753 | min-height: @gravatar-size; |
|
753 | min-height: @gravatar-size; | |
754 | margin: 0; |
|
754 | margin: 0; | |
755 | } |
|
755 | } | |
756 |
|
756 | |||
757 | .user { |
|
757 | .user { | |
758 | display: block; |
|
758 | display: block; | |
759 | max-width: 175px; |
|
759 | max-width: 175px; | |
760 | padding-top: 2px; |
|
760 | padding-top: 2px; | |
761 | overflow: hidden; |
|
761 | overflow: hidden; | |
762 | text-overflow: ellipsis; |
|
762 | text-overflow: ellipsis; | |
763 | } |
|
763 | } | |
764 | } |
|
764 | } | |
765 |
|
765 | |||
766 | .gist-gravatar, |
|
766 | .gist-gravatar, | |
767 | .journal_container { |
|
767 | .journal_container { | |
768 | .gravatar-large { |
|
768 | .gravatar-large { | |
769 | margin: 0 .5em -10px 0; |
|
769 | margin: 0 .5em -10px 0; | |
770 | } |
|
770 | } | |
771 | } |
|
771 | } | |
772 |
|
772 | |||
773 |
|
773 | |||
774 | // ADMIN SETTINGS |
|
774 | // ADMIN SETTINGS | |
775 |
|
775 | |||
776 | // Tag Patterns |
|
776 | // Tag Patterns | |
777 | .tag_patterns { |
|
777 | .tag_patterns { | |
778 | .tag_input { |
|
778 | .tag_input { | |
779 | margin-bottom: @padding; |
|
779 | margin-bottom: @padding; | |
780 | } |
|
780 | } | |
781 | } |
|
781 | } | |
782 |
|
782 | |||
783 | .locked_input { |
|
783 | .locked_input { | |
784 | position: relative; |
|
784 | position: relative; | |
785 |
|
785 | |||
786 | input { |
|
786 | input { | |
787 | display: inline; |
|
787 | display: inline; | |
788 | margin: 3px 5px 0px 0px; |
|
788 | margin: 3px 5px 0px 0px; | |
789 | } |
|
789 | } | |
790 |
|
790 | |||
791 | br { |
|
791 | br { | |
792 | display: none; |
|
792 | display: none; | |
793 | } |
|
793 | } | |
794 |
|
794 | |||
795 | .error-message { |
|
795 | .error-message { | |
796 | float: left; |
|
796 | float: left; | |
797 | width: 100%; |
|
797 | width: 100%; | |
798 | } |
|
798 | } | |
799 |
|
799 | |||
800 | .lock_input_button { |
|
800 | .lock_input_button { | |
801 | display: inline; |
|
801 | display: inline; | |
802 | } |
|
802 | } | |
803 |
|
803 | |||
804 | .help-block { |
|
804 | .help-block { | |
805 | clear: both; |
|
805 | clear: both; | |
806 | } |
|
806 | } | |
807 | } |
|
807 | } | |
808 |
|
808 | |||
809 | // Notifications |
|
809 | // Notifications | |
810 |
|
810 | |||
811 | .notifications_buttons { |
|
811 | .notifications_buttons { | |
812 | margin: 0 0 @space 0; |
|
812 | margin: 0 0 @space 0; | |
813 | padding: 0; |
|
813 | padding: 0; | |
814 |
|
814 | |||
815 | .btn { |
|
815 | .btn { | |
816 | display: inline-block; |
|
816 | display: inline-block; | |
817 | } |
|
817 | } | |
818 | } |
|
818 | } | |
819 |
|
819 | |||
820 | .notification-list { |
|
820 | .notification-list { | |
821 |
|
821 | |||
822 | div { |
|
822 | div { | |
823 | display: inline-block; |
|
823 | display: inline-block; | |
824 | vertical-align: middle; |
|
824 | vertical-align: middle; | |
825 | } |
|
825 | } | |
826 |
|
826 | |||
827 | .container { |
|
827 | .container { | |
828 | display: block; |
|
828 | display: block; | |
829 | margin: 0 0 @padding 0; |
|
829 | margin: 0 0 @padding 0; | |
830 | } |
|
830 | } | |
831 |
|
831 | |||
832 | .delete-notifications { |
|
832 | .delete-notifications { | |
833 | margin-left: @padding; |
|
833 | margin-left: @padding; | |
834 | text-align: right; |
|
834 | text-align: right; | |
835 | cursor: pointer; |
|
835 | cursor: pointer; | |
836 | } |
|
836 | } | |
837 |
|
837 | |||
838 | .read-notifications { |
|
838 | .read-notifications { | |
839 | margin-left: @padding/2; |
|
839 | margin-left: @padding/2; | |
840 | text-align: right; |
|
840 | text-align: right; | |
841 | width: 35px; |
|
841 | width: 35px; | |
842 | cursor: pointer; |
|
842 | cursor: pointer; | |
843 | } |
|
843 | } | |
844 |
|
844 | |||
845 | .icon-minus-sign { |
|
845 | .icon-minus-sign { | |
846 | color: @alert2; |
|
846 | color: @alert2; | |
847 | } |
|
847 | } | |
848 |
|
848 | |||
849 | .icon-ok-sign { |
|
849 | .icon-ok-sign { | |
850 | color: @alert1; |
|
850 | color: @alert1; | |
851 | } |
|
851 | } | |
852 | } |
|
852 | } | |
853 |
|
853 | |||
854 | .user_settings { |
|
854 | .user_settings { | |
855 | float: left; |
|
855 | float: left; | |
856 | clear: both; |
|
856 | clear: both; | |
857 | display: block; |
|
857 | display: block; | |
858 | width: 100%; |
|
858 | width: 100%; | |
859 |
|
859 | |||
860 | .gravatar_box { |
|
860 | .gravatar_box { | |
861 | margin-bottom: @padding; |
|
861 | margin-bottom: @padding; | |
862 |
|
862 | |||
863 | &:after { |
|
863 | &:after { | |
864 | content: " "; |
|
864 | content: " "; | |
865 | clear: both; |
|
865 | clear: both; | |
866 | width: 100%; |
|
866 | width: 100%; | |
867 | } |
|
867 | } | |
868 | } |
|
868 | } | |
869 |
|
869 | |||
870 | .fields .field { |
|
870 | .fields .field { | |
871 | clear: both; |
|
871 | clear: both; | |
872 | } |
|
872 | } | |
873 | } |
|
873 | } | |
874 |
|
874 | |||
875 | .advanced_settings { |
|
875 | .advanced_settings { | |
876 | margin-bottom: @space; |
|
876 | margin-bottom: @space; | |
877 |
|
877 | |||
878 | .help-block { |
|
878 | .help-block { | |
879 | margin-left: 0; |
|
879 | margin-left: 0; | |
880 | } |
|
880 | } | |
881 |
|
881 | |||
882 | button + .help-block { |
|
882 | button + .help-block { | |
883 | margin-top: @padding; |
|
883 | margin-top: @padding; | |
884 | } |
|
884 | } | |
885 | } |
|
885 | } | |
886 |
|
886 | |||
887 | // admin settings radio buttons and labels |
|
887 | // admin settings radio buttons and labels | |
888 | .label-2 { |
|
888 | .label-2 { | |
889 | float: left; |
|
889 | float: left; | |
890 | width: @label2-width; |
|
890 | width: @label2-width; | |
891 |
|
891 | |||
892 | label { |
|
892 | label { | |
893 | color: @grey1; |
|
893 | color: @grey1; | |
894 | } |
|
894 | } | |
895 | } |
|
895 | } | |
896 | .checkboxes { |
|
896 | .checkboxes { | |
897 | float: left; |
|
897 | float: left; | |
898 | width: @checkboxes-width; |
|
898 | width: @checkboxes-width; | |
899 | margin-bottom: @padding; |
|
899 | margin-bottom: @padding; | |
900 |
|
900 | |||
901 | .checkbox { |
|
901 | .checkbox { | |
902 | width: 100%; |
|
902 | width: 100%; | |
903 |
|
903 | |||
904 | label { |
|
904 | label { | |
905 | margin: 0; |
|
905 | margin: 0; | |
906 | padding: 0; |
|
906 | padding: 0; | |
907 | } |
|
907 | } | |
908 | } |
|
908 | } | |
909 |
|
909 | |||
910 | .checkbox + .checkbox { |
|
910 | .checkbox + .checkbox { | |
911 | display: inline-block; |
|
911 | display: inline-block; | |
912 | } |
|
912 | } | |
913 |
|
913 | |||
914 | label { |
|
914 | label { | |
915 | margin-right: 1em; |
|
915 | margin-right: 1em; | |
916 | } |
|
916 | } | |
917 | } |
|
917 | } | |
918 |
|
918 | |||
919 | // CHANGELOG |
|
919 | // CHANGELOG | |
920 | .container_header { |
|
920 | .container_header { | |
921 | float: left; |
|
921 | float: left; | |
922 | display: block; |
|
922 | display: block; | |
923 | width: 100%; |
|
923 | width: 100%; | |
924 | margin: @padding 0 @padding; |
|
924 | margin: @padding 0 @padding; | |
925 |
|
925 | |||
926 | #filter_changelog { |
|
926 | #filter_changelog { | |
927 | float: left; |
|
927 | float: left; | |
928 | margin-right: @padding; |
|
928 | margin-right: @padding; | |
929 | } |
|
929 | } | |
930 |
|
930 | |||
931 | .breadcrumbs_light { |
|
931 | .breadcrumbs_light { | |
932 | display: inline-block; |
|
932 | display: inline-block; | |
933 | } |
|
933 | } | |
934 | } |
|
934 | } | |
935 |
|
935 | |||
936 | .info_box { |
|
936 | .info_box { | |
937 | float: right; |
|
937 | float: right; | |
938 | } |
|
938 | } | |
939 |
|
939 | |||
940 |
|
940 | |||
941 | #graph_nodes { |
|
941 | #graph_nodes { | |
942 | padding-top: 43px; |
|
942 | padding-top: 43px; | |
943 | } |
|
943 | } | |
944 |
|
944 | |||
945 | #graph_content{ |
|
945 | #graph_content{ | |
946 |
|
946 | |||
947 | // adjust for table headers so that graph renders properly |
|
947 | // adjust for table headers so that graph renders properly | |
948 | // #graph_nodes padding - table cell padding |
|
948 | // #graph_nodes padding - table cell padding | |
949 | padding-top: (@space - (@basefontsize * 2.4)); |
|
949 | padding-top: (@space - (@basefontsize * 2.4)); | |
950 |
|
950 | |||
951 | &.graph_full_width { |
|
951 | &.graph_full_width { | |
952 | width: 100%; |
|
952 | width: 100%; | |
953 | max-width: 100%; |
|
953 | max-width: 100%; | |
954 | } |
|
954 | } | |
955 | } |
|
955 | } | |
956 |
|
956 | |||
957 | #graph { |
|
957 | #graph { | |
958 | .flag_status { |
|
958 | .flag_status { | |
959 | margin: 0; |
|
959 | margin: 0; | |
960 | } |
|
960 | } | |
961 |
|
961 | |||
962 | .pagination-left { |
|
962 | .pagination-left { | |
963 | float: left; |
|
963 | float: left; | |
964 | clear: both; |
|
964 | clear: both; | |
965 | } |
|
965 | } | |
966 |
|
966 | |||
967 | .log-container { |
|
967 | .log-container { | |
968 | max-width: 345px; |
|
968 | max-width: 345px; | |
969 |
|
969 | |||
970 | .message{ |
|
970 | .message{ | |
971 | max-width: 340px; |
|
971 | max-width: 340px; | |
972 | } |
|
972 | } | |
973 | } |
|
973 | } | |
974 |
|
974 | |||
975 | .graph-col-wrapper { |
|
975 | .graph-col-wrapper { | |
976 | padding-left: 110px; |
|
976 | padding-left: 110px; | |
977 |
|
977 | |||
978 | #graph_nodes { |
|
978 | #graph_nodes { | |
979 | width: 100px; |
|
979 | width: 100px; | |
980 | margin-left: -110px; |
|
980 | margin-left: -110px; | |
981 | float: left; |
|
981 | float: left; | |
982 | clear: left; |
|
982 | clear: left; | |
983 | } |
|
983 | } | |
984 | } |
|
984 | } | |
985 |
|
985 | |||
986 | .load-more-commits { |
|
986 | .load-more-commits { | |
987 | text-align: center; |
|
987 | text-align: center; | |
988 | } |
|
988 | } | |
989 | .load-more-commits:hover { |
|
989 | .load-more-commits:hover { | |
990 | background-color: @grey7; |
|
990 | background-color: @grey7; | |
991 | } |
|
991 | } | |
992 | .load-more-commits { |
|
992 | .load-more-commits { | |
993 | a { |
|
993 | a { | |
994 | display: block; |
|
994 | display: block; | |
995 | } |
|
995 | } | |
996 | } |
|
996 | } | |
997 | } |
|
997 | } | |
998 |
|
998 | |||
999 | #filter_changelog { |
|
999 | #filter_changelog { | |
1000 | float: left; |
|
1000 | float: left; | |
1001 | } |
|
1001 | } | |
1002 |
|
1002 | |||
1003 |
|
1003 | |||
1004 | //--- THEME ------------------// |
|
1004 | //--- THEME ------------------// | |
1005 |
|
1005 | |||
1006 | #logo { |
|
1006 | #logo { | |
1007 | float: left; |
|
1007 | float: left; | |
1008 | margin: 9px 0 0 0; |
|
1008 | margin: 9px 0 0 0; | |
1009 |
|
1009 | |||
1010 | .header { |
|
1010 | .header { | |
1011 | background-color: transparent; |
|
1011 | background-color: transparent; | |
1012 | } |
|
1012 | } | |
1013 |
|
1013 | |||
1014 | a { |
|
1014 | a { | |
1015 | display: inline-block; |
|
1015 | display: inline-block; | |
1016 | } |
|
1016 | } | |
1017 |
|
1017 | |||
1018 | img { |
|
1018 | img { | |
1019 | height:30px; |
|
1019 | height:30px; | |
1020 | } |
|
1020 | } | |
1021 | } |
|
1021 | } | |
1022 |
|
1022 | |||
1023 | .logo-wrapper { |
|
1023 | .logo-wrapper { | |
1024 | float:left; |
|
1024 | float:left; | |
1025 | } |
|
1025 | } | |
1026 |
|
1026 | |||
1027 | .branding{ |
|
1027 | .branding{ | |
1028 | float: left; |
|
1028 | float: left; | |
1029 | padding: 9px 2px; |
|
1029 | padding: 9px 2px; | |
1030 | line-height: 1em; |
|
1030 | line-height: 1em; | |
1031 | font-size: @navigation-fontsize; |
|
1031 | font-size: @navigation-fontsize; | |
1032 | } |
|
1032 | } | |
1033 |
|
1033 | |||
1034 | img { |
|
1034 | img { | |
1035 | border: none; |
|
1035 | border: none; | |
1036 | outline: none; |
|
1036 | outline: none; | |
1037 | } |
|
1037 | } | |
1038 | user-profile-header |
|
1038 | user-profile-header | |
1039 | label { |
|
1039 | label { | |
1040 |
|
1040 | |||
1041 | input[type="checkbox"] { |
|
1041 | input[type="checkbox"] { | |
1042 | margin-right: 1em; |
|
1042 | margin-right: 1em; | |
1043 | } |
|
1043 | } | |
1044 | input[type="radio"] { |
|
1044 | input[type="radio"] { | |
1045 | margin-right: 1em; |
|
1045 | margin-right: 1em; | |
1046 | } |
|
1046 | } | |
1047 | } |
|
1047 | } | |
1048 |
|
1048 | |||
1049 | .flag_status { |
|
1049 | .flag_status { | |
1050 | margin: 2px 8px 6px 2px; |
|
1050 | margin: 2px 8px 6px 2px; | |
1051 | &.under_review { |
|
1051 | &.under_review { | |
1052 | .circle(5px, @alert3); |
|
1052 | .circle(5px, @alert3); | |
1053 | } |
|
1053 | } | |
1054 | &.approved { |
|
1054 | &.approved { | |
1055 | .circle(5px, @alert1); |
|
1055 | .circle(5px, @alert1); | |
1056 | } |
|
1056 | } | |
1057 | &.rejected, |
|
1057 | &.rejected, | |
1058 | &.forced_closed{ |
|
1058 | &.forced_closed{ | |
1059 | .circle(5px, @alert2); |
|
1059 | .circle(5px, @alert2); | |
1060 | } |
|
1060 | } | |
1061 | &.not_reviewed { |
|
1061 | &.not_reviewed { | |
1062 | .circle(5px, @grey5); |
|
1062 | .circle(5px, @grey5); | |
1063 | } |
|
1063 | } | |
1064 | } |
|
1064 | } | |
1065 |
|
1065 | |||
1066 | .flag_status_comment_box { |
|
1066 | .flag_status_comment_box { | |
1067 | margin: 5px 6px 0px 2px; |
|
1067 | margin: 5px 6px 0px 2px; | |
1068 | } |
|
1068 | } | |
1069 | .test_pattern_preview { |
|
1069 | .test_pattern_preview { | |
1070 | margin: @space 0; |
|
1070 | margin: @space 0; | |
1071 |
|
1071 | |||
1072 | p { |
|
1072 | p { | |
1073 | margin-bottom: 0; |
|
1073 | margin-bottom: 0; | |
1074 | border-bottom: @border-thickness solid @border-default-color; |
|
1074 | border-bottom: @border-thickness solid @border-default-color; | |
1075 | color: @grey3; |
|
1075 | color: @grey3; | |
1076 | } |
|
1076 | } | |
1077 |
|
1077 | |||
1078 | .btn { |
|
1078 | .btn { | |
1079 | margin-bottom: @padding; |
|
1079 | margin-bottom: @padding; | |
1080 | } |
|
1080 | } | |
1081 | } |
|
1081 | } | |
1082 | #test_pattern_result { |
|
1082 | #test_pattern_result { | |
1083 | display: none; |
|
1083 | display: none; | |
1084 | &:extend(pre); |
|
1084 | &:extend(pre); | |
1085 | padding: .9em; |
|
1085 | padding: .9em; | |
1086 | color: @grey3; |
|
1086 | color: @grey3; | |
1087 | background-color: @grey7; |
|
1087 | background-color: @grey7; | |
1088 | border-right: @border-thickness solid @border-default-color; |
|
1088 | border-right: @border-thickness solid @border-default-color; | |
1089 | border-bottom: @border-thickness solid @border-default-color; |
|
1089 | border-bottom: @border-thickness solid @border-default-color; | |
1090 | border-left: @border-thickness solid @border-default-color; |
|
1090 | border-left: @border-thickness solid @border-default-color; | |
1091 | } |
|
1091 | } | |
1092 |
|
1092 | |||
1093 | #repo_vcs_settings { |
|
1093 | #repo_vcs_settings { | |
1094 | #inherit_overlay_vcs_default { |
|
1094 | #inherit_overlay_vcs_default { | |
1095 | display: none; |
|
1095 | display: none; | |
1096 | } |
|
1096 | } | |
1097 | #inherit_overlay_vcs_custom { |
|
1097 | #inherit_overlay_vcs_custom { | |
1098 | display: custom; |
|
1098 | display: custom; | |
1099 | } |
|
1099 | } | |
1100 | &.inherited { |
|
1100 | &.inherited { | |
1101 | #inherit_overlay_vcs_default { |
|
1101 | #inherit_overlay_vcs_default { | |
1102 | display: block; |
|
1102 | display: block; | |
1103 | } |
|
1103 | } | |
1104 | #inherit_overlay_vcs_custom { |
|
1104 | #inherit_overlay_vcs_custom { | |
1105 | display: none; |
|
1105 | display: none; | |
1106 | } |
|
1106 | } | |
1107 | } |
|
1107 | } | |
1108 | } |
|
1108 | } | |
1109 |
|
1109 | |||
1110 | .issue-tracker-link { |
|
1110 | .issue-tracker-link { | |
1111 | color: @rcblue; |
|
1111 | color: @rcblue; | |
1112 | } |
|
1112 | } | |
1113 |
|
1113 | |||
1114 | // Issue Tracker Table Show/Hide |
|
1114 | // Issue Tracker Table Show/Hide | |
1115 | #repo_issue_tracker { |
|
1115 | #repo_issue_tracker { | |
1116 | #inherit_overlay { |
|
1116 | #inherit_overlay { | |
1117 | display: none; |
|
1117 | display: none; | |
1118 | } |
|
1118 | } | |
1119 | #custom_overlay { |
|
1119 | #custom_overlay { | |
1120 | display: custom; |
|
1120 | display: custom; | |
1121 | } |
|
1121 | } | |
1122 | &.inherited { |
|
1122 | &.inherited { | |
1123 | #inherit_overlay { |
|
1123 | #inherit_overlay { | |
1124 | display: block; |
|
1124 | display: block; | |
1125 | } |
|
1125 | } | |
1126 | #custom_overlay { |
|
1126 | #custom_overlay { | |
1127 | display: none; |
|
1127 | display: none; | |
1128 | } |
|
1128 | } | |
1129 | } |
|
1129 | } | |
1130 | } |
|
1130 | } | |
1131 | table.issuetracker { |
|
1131 | table.issuetracker { | |
1132 | &.readonly { |
|
1132 | &.readonly { | |
1133 | tr, td { |
|
1133 | tr, td { | |
1134 | color: @grey3; |
|
1134 | color: @grey3; | |
1135 | } |
|
1135 | } | |
1136 | } |
|
1136 | } | |
1137 | .edit { |
|
1137 | .edit { | |
1138 | display: none; |
|
1138 | display: none; | |
1139 | } |
|
1139 | } | |
1140 | .editopen { |
|
1140 | .editopen { | |
1141 | .edit { |
|
1141 | .edit { | |
1142 | display: inline; |
|
1142 | display: inline; | |
1143 | } |
|
1143 | } | |
1144 | .entry { |
|
1144 | .entry { | |
1145 | display: none; |
|
1145 | display: none; | |
1146 | } |
|
1146 | } | |
1147 | } |
|
1147 | } | |
1148 | tr td.td-action { |
|
1148 | tr td.td-action { | |
1149 | min-width: 117px; |
|
1149 | min-width: 117px; | |
1150 | } |
|
1150 | } | |
1151 | td input { |
|
1151 | td input { | |
1152 | max-width: none; |
|
1152 | max-width: none; | |
1153 | min-width: 30px; |
|
1153 | min-width: 30px; | |
1154 | width: 80%; |
|
1154 | width: 80%; | |
1155 | } |
|
1155 | } | |
1156 | .issuetracker_pref input { |
|
1156 | .issuetracker_pref input { | |
1157 | width: 40%; |
|
1157 | width: 40%; | |
1158 | } |
|
1158 | } | |
1159 | input.edit_issuetracker_update { |
|
1159 | input.edit_issuetracker_update { | |
1160 | margin-right: 0; |
|
1160 | margin-right: 0; | |
1161 | width: auto; |
|
1161 | width: auto; | |
1162 | } |
|
1162 | } | |
1163 | } |
|
1163 | } | |
1164 |
|
1164 | |||
1165 | table.integrations { |
|
1165 | table.integrations { | |
1166 | .td-icon { |
|
1166 | .td-icon { | |
1167 | width: 20px; |
|
1167 | width: 20px; | |
1168 | .integration-icon { |
|
1168 | .integration-icon { | |
1169 | height: 20px; |
|
1169 | height: 20px; | |
1170 | width: 20px; |
|
1170 | width: 20px; | |
1171 | } |
|
1171 | } | |
1172 | } |
|
1172 | } | |
1173 | } |
|
1173 | } | |
1174 |
|
1174 | |||
1175 | .integrations { |
|
1175 | .integrations { | |
1176 | a.integration-box { |
|
1176 | a.integration-box { | |
1177 | color: @text-color; |
|
1177 | color: @text-color; | |
1178 | &:hover { |
|
1178 | &:hover { | |
1179 | .panel { |
|
1179 | .panel { | |
1180 | background: #fbfbfb; |
|
1180 | background: #fbfbfb; | |
1181 | } |
|
1181 | } | |
1182 | } |
|
1182 | } | |
1183 | .integration-icon { |
|
1183 | .integration-icon { | |
1184 | width: 30px; |
|
1184 | width: 30px; | |
1185 | height: 30px; |
|
1185 | height: 30px; | |
1186 | margin-right: 20px; |
|
1186 | margin-right: 20px; | |
1187 | float: left; |
|
1187 | float: left; | |
1188 | } |
|
1188 | } | |
1189 |
|
1189 | |||
1190 | .panel-body { |
|
1190 | .panel-body { | |
1191 | padding: 10px; |
|
1191 | padding: 10px; | |
1192 | } |
|
1192 | } | |
1193 | .panel { |
|
1193 | .panel { | |
1194 | margin-bottom: 10px; |
|
1194 | margin-bottom: 10px; | |
1195 | } |
|
1195 | } | |
1196 | h2 { |
|
1196 | h2 { | |
1197 | display: inline-block; |
|
1197 | display: inline-block; | |
1198 | margin: 0; |
|
1198 | margin: 0; | |
1199 | min-width: 140px; |
|
1199 | min-width: 140px; | |
1200 | } |
|
1200 | } | |
1201 | } |
|
1201 | } | |
1202 | a.integration-box.dummy-integration { |
|
1202 | a.integration-box.dummy-integration { | |
1203 | color: @grey4 |
|
1203 | color: @grey4 | |
1204 | } |
|
1204 | } | |
1205 | } |
|
1205 | } | |
1206 |
|
1206 | |||
1207 | //Permissions Settings |
|
1207 | //Permissions Settings | |
1208 | #add_perm { |
|
1208 | #add_perm { | |
1209 | margin: 0 0 @padding; |
|
1209 | margin: 0 0 @padding; | |
1210 | cursor: pointer; |
|
1210 | cursor: pointer; | |
1211 | } |
|
1211 | } | |
1212 |
|
1212 | |||
1213 | .perm_ac { |
|
1213 | .perm_ac { | |
1214 | input { |
|
1214 | input { | |
1215 | width: 95%; |
|
1215 | width: 95%; | |
1216 | } |
|
1216 | } | |
1217 | } |
|
1217 | } | |
1218 |
|
1218 | |||
1219 | .autocomplete-suggestions { |
|
1219 | .autocomplete-suggestions { | |
1220 | width: auto !important; // overrides autocomplete.js |
|
1220 | width: auto !important; // overrides autocomplete.js | |
1221 | margin: 0; |
|
1221 | margin: 0; | |
1222 | border: @border-thickness solid @rcblue; |
|
1222 | border: @border-thickness solid @rcblue; | |
1223 | border-radius: @border-radius; |
|
1223 | border-radius: @border-radius; | |
1224 | color: @rcblue; |
|
1224 | color: @rcblue; | |
1225 | background-color: white; |
|
1225 | background-color: white; | |
1226 | } |
|
1226 | } | |
1227 | .autocomplete-selected { |
|
1227 | .autocomplete-selected { | |
1228 | background: #F0F0F0; |
|
1228 | background: #F0F0F0; | |
1229 | } |
|
1229 | } | |
1230 | .ac-container-wrap { |
|
1230 | .ac-container-wrap { | |
1231 | margin: 0; |
|
1231 | margin: 0; | |
1232 | padding: 8px; |
|
1232 | padding: 8px; | |
1233 | border-bottom: @border-thickness solid @rclightblue; |
|
1233 | border-bottom: @border-thickness solid @rclightblue; | |
1234 | list-style-type: none; |
|
1234 | list-style-type: none; | |
1235 | cursor: pointer; |
|
1235 | cursor: pointer; | |
1236 |
|
1236 | |||
1237 | &:hover { |
|
1237 | &:hover { | |
1238 | background-color: @rclightblue; |
|
1238 | background-color: @rclightblue; | |
1239 | } |
|
1239 | } | |
1240 |
|
1240 | |||
1241 | img { |
|
1241 | img { | |
1242 | height: @gravatar-size; |
|
1242 | height: @gravatar-size; | |
1243 | width: @gravatar-size; |
|
1243 | width: @gravatar-size; | |
1244 | margin-right: 1em; |
|
1244 | margin-right: 1em; | |
1245 | } |
|
1245 | } | |
1246 |
|
1246 | |||
1247 | strong { |
|
1247 | strong { | |
1248 | font-weight: normal; |
|
1248 | font-weight: normal; | |
1249 | } |
|
1249 | } | |
1250 | } |
|
1250 | } | |
1251 |
|
1251 | |||
1252 | // Settings Dropdown |
|
1252 | // Settings Dropdown | |
1253 | .user-menu .container { |
|
1253 | .user-menu .container { | |
1254 | padding: 0 4px; |
|
1254 | padding: 0 4px; | |
1255 | margin: 0; |
|
1255 | margin: 0; | |
1256 | } |
|
1256 | } | |
1257 |
|
1257 | |||
1258 | .user-menu .gravatar { |
|
1258 | .user-menu .gravatar { | |
1259 | cursor: pointer; |
|
1259 | cursor: pointer; | |
1260 | } |
|
1260 | } | |
1261 |
|
1261 | |||
1262 | .codeblock { |
|
1262 | .codeblock { | |
1263 | margin-bottom: @padding; |
|
1263 | margin-bottom: @padding; | |
1264 | clear: both; |
|
1264 | clear: both; | |
1265 |
|
1265 | |||
1266 | .stats{ |
|
1266 | .stats{ | |
1267 | overflow: hidden; |
|
1267 | overflow: hidden; | |
1268 | } |
|
1268 | } | |
1269 |
|
1269 | |||
1270 | .message{ |
|
1270 | .message{ | |
1271 | textarea{ |
|
1271 | textarea{ | |
1272 | margin: 0; |
|
1272 | margin: 0; | |
1273 | } |
|
1273 | } | |
1274 | } |
|
1274 | } | |
1275 |
|
1275 | |||
1276 | .code-header { |
|
1276 | .code-header { | |
1277 | .stats { |
|
1277 | .stats { | |
1278 | line-height: 2em; |
|
1278 | line-height: 2em; | |
1279 |
|
1279 | |||
1280 | .revision_id { |
|
1280 | .revision_id { | |
1281 | margin-left: 0; |
|
1281 | margin-left: 0; | |
1282 | } |
|
1282 | } | |
1283 | .buttons { |
|
1283 | .buttons { | |
1284 | padding-right: 0; |
|
1284 | padding-right: 0; | |
1285 | } |
|
1285 | } | |
1286 | } |
|
1286 | } | |
1287 |
|
1287 | |||
1288 | .item{ |
|
1288 | .item{ | |
1289 | margin-right: 0.5em; |
|
1289 | margin-right: 0.5em; | |
1290 | } |
|
1290 | } | |
1291 | } |
|
1291 | } | |
1292 |
|
1292 | |||
1293 | #editor_container{ |
|
1293 | #editor_container{ | |
1294 | position: relative; |
|
1294 | position: relative; | |
1295 | margin: @padding; |
|
1295 | margin: @padding; | |
1296 | } |
|
1296 | } | |
1297 | } |
|
1297 | } | |
1298 |
|
1298 | |||
1299 | #file_history_container { |
|
1299 | #file_history_container { | |
1300 | display: none; |
|
1300 | display: none; | |
1301 | } |
|
1301 | } | |
1302 |
|
1302 | |||
1303 | .file-history-inner { |
|
1303 | .file-history-inner { | |
1304 | margin-bottom: 10px; |
|
1304 | margin-bottom: 10px; | |
1305 | } |
|
1305 | } | |
1306 |
|
1306 | |||
1307 | // Pull Requests |
|
1307 | // Pull Requests | |
1308 | .summary-details { |
|
1308 | .summary-details { | |
1309 | width: 72%; |
|
1309 | width: 72%; | |
1310 | } |
|
1310 | } | |
1311 | .pr-summary { |
|
1311 | .pr-summary { | |
1312 | border-bottom: @border-thickness solid @grey5; |
|
1312 | border-bottom: @border-thickness solid @grey5; | |
1313 | margin-bottom: @space; |
|
1313 | margin-bottom: @space; | |
1314 | } |
|
1314 | } | |
1315 | .reviewers-title { |
|
1315 | .reviewers-title { | |
1316 | width: 25%; |
|
1316 | width: 25%; | |
1317 | min-width: 200px; |
|
1317 | min-width: 200px; | |
1318 | } |
|
1318 | } | |
1319 | .reviewers { |
|
1319 | .reviewers { | |
1320 | width: 25%; |
|
1320 | width: 25%; | |
1321 | min-width: 200px; |
|
1321 | min-width: 200px; | |
1322 | } |
|
1322 | } | |
1323 | .reviewers ul li { |
|
1323 | .reviewers ul li { | |
1324 | position: relative; |
|
1324 | position: relative; | |
1325 | width: 100%; |
|
1325 | width: 100%; | |
1326 | padding-bottom: 8px; |
|
1326 | padding-bottom: 8px; | |
1327 | } |
|
1327 | } | |
1328 |
|
1328 | |||
1329 | .reviewer_entry { |
|
1329 | .reviewer_entry { | |
1330 | min-height: 55px; |
|
1330 | min-height: 55px; | |
1331 | } |
|
1331 | } | |
1332 |
|
1332 | |||
1333 | .reviewers_member { |
|
1333 | .reviewers_member { | |
1334 | width: 100%; |
|
1334 | width: 100%; | |
1335 | overflow: auto; |
|
1335 | overflow: auto; | |
1336 | } |
|
1336 | } | |
1337 | .reviewer_reason { |
|
1337 | .reviewer_reason { | |
1338 | padding-left: 20px; |
|
1338 | padding-left: 20px; | |
1339 | line-height: 1.5em; |
|
1339 | line-height: 1.5em; | |
1340 | } |
|
1340 | } | |
1341 | .reviewer_status { |
|
1341 | .reviewer_status { | |
1342 | display: inline-block; |
|
1342 | display: inline-block; | |
1343 | vertical-align: top; |
|
1343 | vertical-align: top; | |
1344 | width: 25px; |
|
1344 | width: 25px; | |
1345 | min-width: 25px; |
|
1345 | min-width: 25px; | |
1346 | height: 1.2em; |
|
1346 | height: 1.2em; | |
1347 | margin-top: 3px; |
|
1347 | margin-top: 3px; | |
1348 | line-height: 1em; |
|
1348 | line-height: 1em; | |
1349 | } |
|
1349 | } | |
1350 |
|
1350 | |||
1351 | .reviewer_name { |
|
1351 | .reviewer_name { | |
1352 | display: inline-block; |
|
1352 | display: inline-block; | |
1353 | max-width: 83%; |
|
1353 | max-width: 83%; | |
1354 | padding-right: 20px; |
|
1354 | padding-right: 20px; | |
1355 | vertical-align: middle; |
|
1355 | vertical-align: middle; | |
1356 | line-height: 1; |
|
1356 | line-height: 1; | |
1357 |
|
1357 | |||
1358 | .rc-user { |
|
1358 | .rc-user { | |
1359 | min-width: 0; |
|
1359 | min-width: 0; | |
1360 | margin: -2px 1em 0 0; |
|
1360 | margin: -2px 1em 0 0; | |
1361 | } |
|
1361 | } | |
1362 |
|
1362 | |||
1363 | .reviewer { |
|
1363 | .reviewer { | |
1364 | float: left; |
|
1364 | float: left; | |
1365 | } |
|
1365 | } | |
1366 | } |
|
1366 | } | |
1367 |
|
1367 | |||
1368 | .reviewer_member_mandatory { |
|
1368 | .reviewer_member_mandatory { | |
1369 | position: absolute; |
|
1369 | position: absolute; | |
1370 | left: 15px; |
|
1370 | left: 15px; | |
1371 | top: 8px; |
|
1371 | top: 8px; | |
1372 | width: 16px; |
|
1372 | width: 16px; | |
1373 | font-size: 11px; |
|
1373 | font-size: 11px; | |
1374 | margin: 0; |
|
1374 | margin: 0; | |
1375 | padding: 0; |
|
1375 | padding: 0; | |
1376 | color: black; |
|
1376 | color: black; | |
1377 | } |
|
1377 | } | |
1378 |
|
1378 | |||
1379 | .reviewer_member_mandatory_remove, |
|
1379 | .reviewer_member_mandatory_remove, | |
1380 | .reviewer_member_remove { |
|
1380 | .reviewer_member_remove { | |
1381 | position: absolute; |
|
1381 | position: absolute; | |
1382 | right: 0; |
|
1382 | right: 0; | |
1383 | top: 0; |
|
1383 | top: 0; | |
1384 | width: 16px; |
|
1384 | width: 16px; | |
1385 | margin-bottom: 10px; |
|
1385 | margin-bottom: 10px; | |
1386 | padding: 0; |
|
1386 | padding: 0; | |
1387 | color: black; |
|
1387 | color: black; | |
1388 | } |
|
1388 | } | |
1389 |
|
1389 | |||
1390 | .reviewer_member_mandatory_remove { |
|
1390 | .reviewer_member_mandatory_remove { | |
1391 | color: @grey4; |
|
1391 | color: @grey4; | |
1392 | } |
|
1392 | } | |
1393 |
|
1393 | |||
1394 | .reviewer_member_status { |
|
1394 | .reviewer_member_status { | |
1395 | margin-top: 5px; |
|
1395 | margin-top: 5px; | |
1396 | } |
|
1396 | } | |
1397 | .pr-summary #summary{ |
|
1397 | .pr-summary #summary{ | |
1398 | width: 100%; |
|
1398 | width: 100%; | |
1399 | } |
|
1399 | } | |
1400 | .pr-summary .action_button:hover { |
|
1400 | .pr-summary .action_button:hover { | |
1401 | border: 0; |
|
1401 | border: 0; | |
1402 | cursor: pointer; |
|
1402 | cursor: pointer; | |
1403 | } |
|
1403 | } | |
1404 | .pr-details-title { |
|
1404 | .pr-details-title { | |
1405 | padding-bottom: 8px; |
|
1405 | padding-bottom: 8px; | |
1406 | border-bottom: @border-thickness solid @grey5; |
|
1406 | border-bottom: @border-thickness solid @grey5; | |
1407 |
|
1407 | |||
1408 | .action_button.disabled { |
|
1408 | .action_button.disabled { | |
1409 | color: @grey4; |
|
1409 | color: @grey4; | |
1410 | cursor: inherit; |
|
1410 | cursor: inherit; | |
1411 | } |
|
1411 | } | |
1412 | .action_button { |
|
1412 | .action_button { | |
1413 | color: @rcblue; |
|
1413 | color: @rcblue; | |
1414 | } |
|
1414 | } | |
1415 | } |
|
1415 | } | |
1416 | .pr-details-content { |
|
1416 | .pr-details-content { | |
1417 | margin-top: @textmargin; |
|
1417 | margin-top: @textmargin; | |
1418 | margin-bottom: @textmargin; |
|
1418 | margin-bottom: @textmargin; | |
1419 | } |
|
1419 | } | |
1420 |
|
1420 | |||
1421 | .pr-reviewer-rules { |
|
1421 | .pr-reviewer-rules { | |
1422 | padding: 10px 0px 20px 0px; |
|
1422 | padding: 10px 0px 20px 0px; | |
1423 | } |
|
1423 | } | |
1424 |
|
1424 | |||
1425 | .group_members { |
|
1425 | .group_members { | |
1426 | margin-top: 0; |
|
1426 | margin-top: 0; | |
1427 | padding: 0; |
|
1427 | padding: 0; | |
1428 | list-style: outside none none; |
|
1428 | list-style: outside none none; | |
1429 |
|
1429 | |||
1430 | img { |
|
1430 | img { | |
1431 | height: @gravatar-size; |
|
1431 | height: @gravatar-size; | |
1432 | width: @gravatar-size; |
|
1432 | width: @gravatar-size; | |
1433 | margin-right: .5em; |
|
1433 | margin-right: .5em; | |
1434 | margin-left: 3px; |
|
1434 | margin-left: 3px; | |
1435 | } |
|
1435 | } | |
1436 |
|
1436 | |||
1437 | .to-delete { |
|
1437 | .to-delete { | |
1438 | .user { |
|
1438 | .user { | |
1439 | text-decoration: line-through; |
|
1439 | text-decoration: line-through; | |
1440 | } |
|
1440 | } | |
1441 | } |
|
1441 | } | |
1442 | } |
|
1442 | } | |
1443 |
|
1443 | |||
1444 | .compare_view_commits_title { |
|
1444 | .compare_view_commits_title { | |
1445 | .disabled { |
|
1445 | .disabled { | |
1446 | cursor: inherit; |
|
1446 | cursor: inherit; | |
1447 | &:hover{ |
|
1447 | &:hover{ | |
1448 | background-color: inherit; |
|
1448 | background-color: inherit; | |
1449 | color: inherit; |
|
1449 | color: inherit; | |
1450 | } |
|
1450 | } | |
1451 | } |
|
1451 | } | |
1452 | } |
|
1452 | } | |
1453 |
|
1453 | |||
1454 | .subtitle-compare { |
|
1454 | .subtitle-compare { | |
1455 | margin: -15px 0px 0px 0px; |
|
1455 | margin: -15px 0px 0px 0px; | |
1456 | } |
|
1456 | } | |
1457 |
|
1457 | |||
1458 | .comments-summary-td { |
|
1458 | .comments-summary-td { | |
1459 | border-top: 1px dashed @grey5; |
|
1459 | border-top: 1px dashed @grey5; | |
1460 | } |
|
1460 | } | |
1461 |
|
1461 | |||
1462 | // new entry in group_members |
|
1462 | // new entry in group_members | |
1463 | .td-author-new-entry { |
|
1463 | .td-author-new-entry { | |
1464 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); |
|
1464 | background-color: rgba(red(@alert1), green(@alert1), blue(@alert1), 0.3); | |
1465 | } |
|
1465 | } | |
1466 |
|
1466 | |||
1467 | .usergroup_member_remove { |
|
1467 | .usergroup_member_remove { | |
1468 | width: 16px; |
|
1468 | width: 16px; | |
1469 | margin-bottom: 10px; |
|
1469 | margin-bottom: 10px; | |
1470 | padding: 0; |
|
1470 | padding: 0; | |
1471 | color: black !important; |
|
1471 | color: black !important; | |
1472 | cursor: pointer; |
|
1472 | cursor: pointer; | |
1473 | } |
|
1473 | } | |
1474 |
|
1474 | |||
1475 | .reviewer_ac .ac-input { |
|
1475 | .reviewer_ac .ac-input { | |
1476 | width: 92%; |
|
1476 | width: 92%; | |
1477 | margin-bottom: 1em; |
|
1477 | margin-bottom: 1em; | |
1478 | } |
|
1478 | } | |
1479 |
|
1479 | |||
1480 | .compare_view_commits tr{ |
|
1480 | .compare_view_commits tr{ | |
1481 | height: 20px; |
|
1481 | height: 20px; | |
1482 | } |
|
1482 | } | |
1483 | .compare_view_commits td { |
|
1483 | .compare_view_commits td { | |
1484 | vertical-align: top; |
|
1484 | vertical-align: top; | |
1485 | padding-top: 10px; |
|
1485 | padding-top: 10px; | |
1486 | } |
|
1486 | } | |
1487 | .compare_view_commits .author { |
|
1487 | .compare_view_commits .author { | |
1488 | margin-left: 5px; |
|
1488 | margin-left: 5px; | |
1489 | } |
|
1489 | } | |
1490 |
|
1490 | |||
1491 | .compare_view_commits { |
|
1491 | .compare_view_commits { | |
1492 | .color-a { |
|
1492 | .color-a { | |
1493 | color: @alert1; |
|
1493 | color: @alert1; | |
1494 | } |
|
1494 | } | |
1495 |
|
1495 | |||
1496 | .color-c { |
|
1496 | .color-c { | |
1497 | color: @color3; |
|
1497 | color: @color3; | |
1498 | } |
|
1498 | } | |
1499 |
|
1499 | |||
1500 | .color-r { |
|
1500 | .color-r { | |
1501 | color: @color5; |
|
1501 | color: @color5; | |
1502 | } |
|
1502 | } | |
1503 |
|
1503 | |||
1504 | .color-a-bg { |
|
1504 | .color-a-bg { | |
1505 | background-color: @alert1; |
|
1505 | background-color: @alert1; | |
1506 | } |
|
1506 | } | |
1507 |
|
1507 | |||
1508 | .color-c-bg { |
|
1508 | .color-c-bg { | |
1509 | background-color: @alert3; |
|
1509 | background-color: @alert3; | |
1510 | } |
|
1510 | } | |
1511 |
|
1511 | |||
1512 | .color-r-bg { |
|
1512 | .color-r-bg { | |
1513 | background-color: @alert2; |
|
1513 | background-color: @alert2; | |
1514 | } |
|
1514 | } | |
1515 |
|
1515 | |||
1516 | .color-a-border { |
|
1516 | .color-a-border { | |
1517 | border: 1px solid @alert1; |
|
1517 | border: 1px solid @alert1; | |
1518 | } |
|
1518 | } | |
1519 |
|
1519 | |||
1520 | .color-c-border { |
|
1520 | .color-c-border { | |
1521 | border: 1px solid @alert3; |
|
1521 | border: 1px solid @alert3; | |
1522 | } |
|
1522 | } | |
1523 |
|
1523 | |||
1524 | .color-r-border { |
|
1524 | .color-r-border { | |
1525 | border: 1px solid @alert2; |
|
1525 | border: 1px solid @alert2; | |
1526 | } |
|
1526 | } | |
1527 |
|
1527 | |||
1528 | .commit-change-indicator { |
|
1528 | .commit-change-indicator { | |
1529 | width: 15px; |
|
1529 | width: 15px; | |
1530 | height: 15px; |
|
1530 | height: 15px; | |
1531 | position: relative; |
|
1531 | position: relative; | |
1532 | left: 15px; |
|
1532 | left: 15px; | |
1533 | } |
|
1533 | } | |
1534 |
|
1534 | |||
1535 | .commit-change-content { |
|
1535 | .commit-change-content { | |
1536 | text-align: center; |
|
1536 | text-align: center; | |
1537 | vertical-align: middle; |
|
1537 | vertical-align: middle; | |
1538 | line-height: 15px; |
|
1538 | line-height: 15px; | |
1539 | } |
|
1539 | } | |
1540 | } |
|
1540 | } | |
1541 |
|
1541 | |||
1542 | .compare_view_filepath { |
|
1542 | .compare_view_filepath { | |
1543 | color: @grey1; |
|
1543 | color: @grey1; | |
1544 | } |
|
1544 | } | |
1545 |
|
1545 | |||
1546 | .show_more { |
|
1546 | .show_more { | |
1547 | display: inline-block; |
|
1547 | display: inline-block; | |
1548 | width: 0; |
|
1548 | width: 0; | |
1549 | height: 0; |
|
1549 | height: 0; | |
1550 | vertical-align: middle; |
|
1550 | vertical-align: middle; | |
1551 | content: ""; |
|
1551 | content: ""; | |
1552 | border: 4px solid; |
|
1552 | border: 4px solid; | |
1553 | border-right-color: transparent; |
|
1553 | border-right-color: transparent; | |
1554 | border-bottom-color: transparent; |
|
1554 | border-bottom-color: transparent; | |
1555 | border-left-color: transparent; |
|
1555 | border-left-color: transparent; | |
1556 | font-size: 0; |
|
1556 | font-size: 0; | |
1557 | } |
|
1557 | } | |
1558 |
|
1558 | |||
1559 | .journal_more .show_more { |
|
1559 | .journal_more .show_more { | |
1560 | display: inline; |
|
1560 | display: inline; | |
1561 |
|
1561 | |||
1562 | &:after { |
|
1562 | &:after { | |
1563 | content: none; |
|
1563 | content: none; | |
1564 | } |
|
1564 | } | |
1565 | } |
|
1565 | } | |
1566 |
|
1566 | |||
1567 | .compare_view_commits .collapse_commit:after { |
|
1567 | .compare_view_commits .collapse_commit:after { | |
1568 | cursor: pointer; |
|
1568 | cursor: pointer; | |
1569 | content: "\00A0\25B4"; |
|
1569 | content: "\00A0\25B4"; | |
1570 | margin-left: -3px; |
|
1570 | margin-left: -3px; | |
1571 | font-size: 17px; |
|
1571 | font-size: 17px; | |
1572 | color: @grey4; |
|
1572 | color: @grey4; | |
1573 | } |
|
1573 | } | |
1574 |
|
1574 | |||
1575 | .diff_links { |
|
1575 | .diff_links { | |
1576 | margin-left: 8px; |
|
1576 | margin-left: 8px; | |
1577 | } |
|
1577 | } | |
1578 |
|
1578 | |||
1579 | div.ancestor { |
|
1579 | div.ancestor { | |
1580 | margin: -30px 0px; |
|
1580 | margin: -30px 0px; | |
1581 | } |
|
1581 | } | |
1582 |
|
1582 | |||
1583 | .cs_icon_td input[type="checkbox"] { |
|
1583 | .cs_icon_td input[type="checkbox"] { | |
1584 | display: none; |
|
1584 | display: none; | |
1585 | } |
|
1585 | } | |
1586 |
|
1586 | |||
1587 | .cs_icon_td .expand_file_icon:after { |
|
1587 | .cs_icon_td .expand_file_icon:after { | |
1588 | cursor: pointer; |
|
1588 | cursor: pointer; | |
1589 | content: "\00A0\25B6"; |
|
1589 | content: "\00A0\25B6"; | |
1590 | font-size: 12px; |
|
1590 | font-size: 12px; | |
1591 | color: @grey4; |
|
1591 | color: @grey4; | |
1592 | } |
|
1592 | } | |
1593 |
|
1593 | |||
1594 | .cs_icon_td .collapse_file_icon:after { |
|
1594 | .cs_icon_td .collapse_file_icon:after { | |
1595 | cursor: pointer; |
|
1595 | cursor: pointer; | |
1596 | content: "\00A0\25BC"; |
|
1596 | content: "\00A0\25BC"; | |
1597 | font-size: 12px; |
|
1597 | font-size: 12px; | |
1598 | color: @grey4; |
|
1598 | color: @grey4; | |
1599 | } |
|
1599 | } | |
1600 |
|
1600 | |||
1601 | /*new binary |
|
1601 | /*new binary | |
1602 | NEW_FILENODE = 1 |
|
1602 | NEW_FILENODE = 1 | |
1603 | DEL_FILENODE = 2 |
|
1603 | DEL_FILENODE = 2 | |
1604 | MOD_FILENODE = 3 |
|
1604 | MOD_FILENODE = 3 | |
1605 | RENAMED_FILENODE = 4 |
|
1605 | RENAMED_FILENODE = 4 | |
1606 | COPIED_FILENODE = 5 |
|
1606 | COPIED_FILENODE = 5 | |
1607 | CHMOD_FILENODE = 6 |
|
1607 | CHMOD_FILENODE = 6 | |
1608 | BIN_FILENODE = 7 |
|
1608 | BIN_FILENODE = 7 | |
1609 | */ |
|
1609 | */ | |
1610 | .cs_files_expand { |
|
1610 | .cs_files_expand { | |
1611 | font-size: @basefontsize + 5px; |
|
1611 | font-size: @basefontsize + 5px; | |
1612 | line-height: 1.8em; |
|
1612 | line-height: 1.8em; | |
1613 | float: right; |
|
1613 | float: right; | |
1614 | } |
|
1614 | } | |
1615 |
|
1615 | |||
1616 | .cs_files_expand span{ |
|
1616 | .cs_files_expand span{ | |
1617 | color: @rcblue; |
|
1617 | color: @rcblue; | |
1618 | cursor: pointer; |
|
1618 | cursor: pointer; | |
1619 | } |
|
1619 | } | |
1620 | .cs_files { |
|
1620 | .cs_files { | |
1621 | clear: both; |
|
1621 | clear: both; | |
1622 | padding-bottom: @padding; |
|
1622 | padding-bottom: @padding; | |
1623 |
|
1623 | |||
1624 | .cur_cs { |
|
1624 | .cur_cs { | |
1625 | margin: 10px 2px; |
|
1625 | margin: 10px 2px; | |
1626 | font-weight: bold; |
|
1626 | font-weight: bold; | |
1627 | } |
|
1627 | } | |
1628 |
|
1628 | |||
1629 | .node { |
|
1629 | .node { | |
1630 | float: left; |
|
1630 | float: left; | |
1631 | } |
|
1631 | } | |
1632 |
|
1632 | |||
1633 | .changes { |
|
1633 | .changes { | |
1634 | float: right; |
|
1634 | float: right; | |
1635 | color: white; |
|
1635 | color: white; | |
1636 | font-size: @basefontsize - 4px; |
|
1636 | font-size: @basefontsize - 4px; | |
1637 | margin-top: 4px; |
|
1637 | margin-top: 4px; | |
1638 | opacity: 0.6; |
|
1638 | opacity: 0.6; | |
1639 | filter: Alpha(opacity=60); /* IE8 and earlier */ |
|
1639 | filter: Alpha(opacity=60); /* IE8 and earlier */ | |
1640 |
|
1640 | |||
1641 | .added { |
|
1641 | .added { | |
1642 | background-color: @alert1; |
|
1642 | background-color: @alert1; | |
1643 | float: left; |
|
1643 | float: left; | |
1644 | text-align: center; |
|
1644 | text-align: center; | |
1645 | } |
|
1645 | } | |
1646 |
|
1646 | |||
1647 | .deleted { |
|
1647 | .deleted { | |
1648 | background-color: @alert2; |
|
1648 | background-color: @alert2; | |
1649 | float: left; |
|
1649 | float: left; | |
1650 | text-align: center; |
|
1650 | text-align: center; | |
1651 | } |
|
1651 | } | |
1652 |
|
1652 | |||
1653 | .bin { |
|
1653 | .bin { | |
1654 | background-color: @alert1; |
|
1654 | background-color: @alert1; | |
1655 | text-align: center; |
|
1655 | text-align: center; | |
1656 | } |
|
1656 | } | |
1657 |
|
1657 | |||
1658 | /*new binary*/ |
|
1658 | /*new binary*/ | |
1659 | .bin.bin1 { |
|
1659 | .bin.bin1 { | |
1660 | background-color: @alert1; |
|
1660 | background-color: @alert1; | |
1661 | text-align: center; |
|
1661 | text-align: center; | |
1662 | } |
|
1662 | } | |
1663 |
|
1663 | |||
1664 | /*deleted binary*/ |
|
1664 | /*deleted binary*/ | |
1665 | .bin.bin2 { |
|
1665 | .bin.bin2 { | |
1666 | background-color: @alert2; |
|
1666 | background-color: @alert2; | |
1667 | text-align: center; |
|
1667 | text-align: center; | |
1668 | } |
|
1668 | } | |
1669 |
|
1669 | |||
1670 | /*mod binary*/ |
|
1670 | /*mod binary*/ | |
1671 | .bin.bin3 { |
|
1671 | .bin.bin3 { | |
1672 | background-color: @grey2; |
|
1672 | background-color: @grey2; | |
1673 | text-align: center; |
|
1673 | text-align: center; | |
1674 | } |
|
1674 | } | |
1675 |
|
1675 | |||
1676 | /*rename file*/ |
|
1676 | /*rename file*/ | |
1677 | .bin.bin4 { |
|
1677 | .bin.bin4 { | |
1678 | background-color: @alert4; |
|
1678 | background-color: @alert4; | |
1679 | text-align: center; |
|
1679 | text-align: center; | |
1680 | } |
|
1680 | } | |
1681 |
|
1681 | |||
1682 | /*copied file*/ |
|
1682 | /*copied file*/ | |
1683 | .bin.bin5 { |
|
1683 | .bin.bin5 { | |
1684 | background-color: @alert4; |
|
1684 | background-color: @alert4; | |
1685 | text-align: center; |
|
1685 | text-align: center; | |
1686 | } |
|
1686 | } | |
1687 |
|
1687 | |||
1688 | /*chmod file*/ |
|
1688 | /*chmod file*/ | |
1689 | .bin.bin6 { |
|
1689 | .bin.bin6 { | |
1690 | background-color: @grey2; |
|
1690 | background-color: @grey2; | |
1691 | text-align: center; |
|
1691 | text-align: center; | |
1692 | } |
|
1692 | } | |
1693 | } |
|
1693 | } | |
1694 | } |
|
1694 | } | |
1695 |
|
1695 | |||
1696 | .cs_files .cs_added, .cs_files .cs_A, |
|
1696 | .cs_files .cs_added, .cs_files .cs_A, | |
1697 | .cs_files .cs_added, .cs_files .cs_M, |
|
1697 | .cs_files .cs_added, .cs_files .cs_M, | |
1698 | .cs_files .cs_added, .cs_files .cs_D { |
|
1698 | .cs_files .cs_added, .cs_files .cs_D { | |
1699 | height: 16px; |
|
1699 | height: 16px; | |
1700 | padding-right: 10px; |
|
1700 | padding-right: 10px; | |
1701 | margin-top: 7px; |
|
1701 | margin-top: 7px; | |
1702 | text-align: left; |
|
1702 | text-align: left; | |
1703 | } |
|
1703 | } | |
1704 |
|
1704 | |||
1705 | .cs_icon_td { |
|
1705 | .cs_icon_td { | |
1706 | min-width: 16px; |
|
1706 | min-width: 16px; | |
1707 | width: 16px; |
|
1707 | width: 16px; | |
1708 | } |
|
1708 | } | |
1709 |
|
1709 | |||
1710 | .pull-request-merge { |
|
1710 | .pull-request-merge { | |
1711 | border: 1px solid @grey5; |
|
1711 | border: 1px solid @grey5; | |
1712 | padding: 10px 0px 20px; |
|
1712 | padding: 10px 0px 20px; | |
1713 | margin-top: 10px; |
|
1713 | margin-top: 10px; | |
1714 | margin-bottom: 20px; |
|
1714 | margin-bottom: 20px; | |
1715 | } |
|
1715 | } | |
1716 |
|
1716 | |||
1717 | .pull-request-merge ul { |
|
1717 | .pull-request-merge ul { | |
1718 | padding: 0px 0px; |
|
1718 | padding: 0px 0px; | |
1719 | } |
|
1719 | } | |
1720 |
|
1720 | |||
1721 | .pull-request-merge li:before{ |
|
1721 | .pull-request-merge li:before{ | |
1722 | content:none; |
|
1722 | content:none; | |
1723 | } |
|
1723 | } | |
1724 |
|
1724 | |||
1725 | .pull-request-merge .pull-request-wrap { |
|
1725 | .pull-request-merge .pull-request-wrap { | |
1726 | height: auto; |
|
1726 | height: auto; | |
1727 | padding: 0px 0px; |
|
1727 | padding: 0px 0px; | |
1728 | text-align: right; |
|
1728 | text-align: right; | |
1729 | } |
|
1729 | } | |
1730 |
|
1730 | |||
1731 | .pull-request-merge span { |
|
1731 | .pull-request-merge span { | |
1732 | margin-right: 5px; |
|
1732 | margin-right: 5px; | |
1733 | } |
|
1733 | } | |
1734 |
|
1734 | |||
1735 | .pull-request-merge-actions { |
|
1735 | .pull-request-merge-actions { | |
1736 | min-height: 30px; |
|
1736 | min-height: 30px; | |
1737 | padding: 0px 0px; |
|
1737 | padding: 0px 0px; | |
1738 | } |
|
1738 | } | |
1739 |
|
1739 | |||
1740 | .pull-request-merge-info { |
|
1740 | .pull-request-merge-info { | |
1741 | padding: 0px 5px 5px 0px; |
|
1741 | padding: 0px 5px 5px 0px; | |
1742 | } |
|
1742 | } | |
1743 |
|
1743 | |||
1744 | .merge-status { |
|
1744 | .merge-status { | |
1745 | margin-right: 5px; |
|
1745 | margin-right: 5px; | |
1746 | } |
|
1746 | } | |
1747 |
|
1747 | |||
1748 | .merge-message { |
|
1748 | .merge-message { | |
1749 | font-size: 1.2em |
|
1749 | font-size: 1.2em | |
1750 | } |
|
1750 | } | |
1751 |
|
1751 | |||
1752 | .merge-message.success i, |
|
1752 | .merge-message.success i, | |
1753 | .merge-icon.success i { |
|
1753 | .merge-icon.success i { | |
1754 | color:@alert1; |
|
1754 | color:@alert1; | |
1755 | } |
|
1755 | } | |
1756 |
|
1756 | |||
1757 | .merge-message.warning i, |
|
1757 | .merge-message.warning i, | |
1758 | .merge-icon.warning i { |
|
1758 | .merge-icon.warning i { | |
1759 | color: @alert3; |
|
1759 | color: @alert3; | |
1760 | } |
|
1760 | } | |
1761 |
|
1761 | |||
1762 | .merge-message.error i, |
|
1762 | .merge-message.error i, | |
1763 | .merge-icon.error i { |
|
1763 | .merge-icon.error i { | |
1764 | color:@alert2; |
|
1764 | color:@alert2; | |
1765 | } |
|
1765 | } | |
1766 |
|
1766 | |||
1767 | .pr-versions { |
|
1767 | .pr-versions { | |
1768 | font-size: 1.1em; |
|
1768 | font-size: 1.1em; | |
1769 |
|
1769 | |||
1770 | table { |
|
1770 | table { | |
1771 | padding: 0px 5px; |
|
1771 | padding: 0px 5px; | |
1772 | } |
|
1772 | } | |
1773 |
|
1773 | |||
1774 | td { |
|
1774 | td { | |
1775 | line-height: 15px; |
|
1775 | line-height: 15px; | |
1776 | } |
|
1776 | } | |
1777 |
|
1777 | |||
1778 | .flag_status { |
|
1778 | .flag_status { | |
1779 | margin: 0; |
|
1779 | margin: 0; | |
1780 | } |
|
1780 | } | |
1781 |
|
1781 | |||
1782 | .compare-radio-button { |
|
1782 | .compare-radio-button { | |
1783 | position: relative; |
|
1783 | position: relative; | |
1784 | top: -3px; |
|
1784 | top: -3px; | |
1785 | } |
|
1785 | } | |
1786 | } |
|
1786 | } | |
1787 |
|
1787 | |||
1788 |
|
1788 | |||
1789 | #close_pull_request { |
|
1789 | #close_pull_request { | |
1790 | margin-right: 0px; |
|
1790 | margin-right: 0px; | |
1791 | } |
|
1791 | } | |
1792 |
|
1792 | |||
1793 | .empty_data { |
|
1793 | .empty_data { | |
1794 | color: @grey4; |
|
1794 | color: @grey4; | |
1795 | } |
|
1795 | } | |
1796 |
|
1796 | |||
1797 | #changeset_compare_view_content { |
|
1797 | #changeset_compare_view_content { | |
1798 | margin-bottom: @space; |
|
1798 | margin-bottom: @space; | |
1799 | clear: both; |
|
1799 | clear: both; | |
1800 | width: 100%; |
|
1800 | width: 100%; | |
1801 | box-sizing: border-box; |
|
1801 | box-sizing: border-box; | |
1802 | .border-radius(@border-radius); |
|
1802 | .border-radius(@border-radius); | |
1803 |
|
1803 | |||
1804 | .help-block { |
|
1804 | .help-block { | |
1805 | margin: @padding 0; |
|
1805 | margin: @padding 0; | |
1806 | color: @text-color; |
|
1806 | color: @text-color; | |
1807 | &.pre-formatting { |
|
1807 | &.pre-formatting { | |
1808 | white-space: pre; |
|
1808 | white-space: pre; | |
1809 | } |
|
1809 | } | |
1810 | } |
|
1810 | } | |
1811 |
|
1811 | |||
1812 | .empty_data { |
|
1812 | .empty_data { | |
1813 | margin: @padding 0; |
|
1813 | margin: @padding 0; | |
1814 | } |
|
1814 | } | |
1815 |
|
1815 | |||
1816 | .alert { |
|
1816 | .alert { | |
1817 | margin-bottom: @space; |
|
1817 | margin-bottom: @space; | |
1818 | } |
|
1818 | } | |
1819 | } |
|
1819 | } | |
1820 |
|
1820 | |||
1821 | .table_disp { |
|
1821 | .table_disp { | |
1822 | .status { |
|
1822 | .status { | |
1823 | width: auto; |
|
1823 | width: auto; | |
1824 |
|
1824 | |||
1825 | .flag_status { |
|
1825 | .flag_status { | |
1826 | float: left; |
|
1826 | float: left; | |
1827 | } |
|
1827 | } | |
1828 | } |
|
1828 | } | |
1829 | } |
|
1829 | } | |
1830 |
|
1830 | |||
1831 |
|
1831 | |||
1832 | .creation_in_progress { |
|
1832 | .creation_in_progress { | |
1833 | color: @grey4 |
|
1833 | color: @grey4 | |
1834 | } |
|
1834 | } | |
1835 |
|
1835 | |||
1836 | .status_box_menu { |
|
1836 | .status_box_menu { | |
1837 | margin: 0; |
|
1837 | margin: 0; | |
1838 | } |
|
1838 | } | |
1839 |
|
1839 | |||
1840 | .notification-table{ |
|
1840 | .notification-table{ | |
1841 | margin-bottom: @space; |
|
1841 | margin-bottom: @space; | |
1842 | display: table; |
|
1842 | display: table; | |
1843 | width: 100%; |
|
1843 | width: 100%; | |
1844 |
|
1844 | |||
1845 | .container{ |
|
1845 | .container{ | |
1846 | display: table-row; |
|
1846 | display: table-row; | |
1847 |
|
1847 | |||
1848 | .notification-header{ |
|
1848 | .notification-header{ | |
1849 | border-bottom: @border-thickness solid @border-default-color; |
|
1849 | border-bottom: @border-thickness solid @border-default-color; | |
1850 | } |
|
1850 | } | |
1851 |
|
1851 | |||
1852 | .notification-subject{ |
|
1852 | .notification-subject{ | |
1853 | display: table-cell; |
|
1853 | display: table-cell; | |
1854 | } |
|
1854 | } | |
1855 | } |
|
1855 | } | |
1856 | } |
|
1856 | } | |
1857 |
|
1857 | |||
1858 | // Notifications |
|
1858 | // Notifications | |
1859 | .notification-header{ |
|
1859 | .notification-header{ | |
1860 | display: table; |
|
1860 | display: table; | |
1861 | width: 100%; |
|
1861 | width: 100%; | |
1862 | padding: floor(@basefontsize/2) 0; |
|
1862 | padding: floor(@basefontsize/2) 0; | |
1863 | line-height: 1em; |
|
1863 | line-height: 1em; | |
1864 |
|
1864 | |||
1865 | .desc, .delete-notifications, .read-notifications{ |
|
1865 | .desc, .delete-notifications, .read-notifications{ | |
1866 | display: table-cell; |
|
1866 | display: table-cell; | |
1867 | text-align: left; |
|
1867 | text-align: left; | |
1868 | } |
|
1868 | } | |
1869 |
|
1869 | |||
1870 | .desc{ |
|
1870 | .desc{ | |
1871 | width: 1163px; |
|
1871 | width: 1163px; | |
1872 | } |
|
1872 | } | |
1873 |
|
1873 | |||
1874 | .delete-notifications, .read-notifications{ |
|
1874 | .delete-notifications, .read-notifications{ | |
1875 | width: 35px; |
|
1875 | width: 35px; | |
1876 | min-width: 35px; //fixes when only one button is displayed |
|
1876 | min-width: 35px; //fixes when only one button is displayed | |
1877 | } |
|
1877 | } | |
1878 | } |
|
1878 | } | |
1879 |
|
1879 | |||
1880 | .notification-body { |
|
1880 | .notification-body { | |
1881 | .markdown-block, |
|
1881 | .markdown-block, | |
1882 | .rst-block { |
|
1882 | .rst-block { | |
1883 | padding: @padding 0; |
|
1883 | padding: @padding 0; | |
1884 | } |
|
1884 | } | |
1885 |
|
1885 | |||
1886 | .notification-subject { |
|
1886 | .notification-subject { | |
1887 | padding: @textmargin 0; |
|
1887 | padding: @textmargin 0; | |
1888 | border-bottom: @border-thickness solid @border-default-color; |
|
1888 | border-bottom: @border-thickness solid @border-default-color; | |
1889 | } |
|
1889 | } | |
1890 | } |
|
1890 | } | |
1891 |
|
1891 | |||
1892 |
|
1892 | |||
1893 | .notifications_buttons{ |
|
1893 | .notifications_buttons{ | |
1894 | float: right; |
|
1894 | float: right; | |
1895 | } |
|
1895 | } | |
1896 |
|
1896 | |||
1897 | #notification-status{ |
|
1897 | #notification-status{ | |
1898 | display: inline; |
|
1898 | display: inline; | |
1899 | } |
|
1899 | } | |
1900 |
|
1900 | |||
1901 | // Repositories |
|
1901 | // Repositories | |
1902 |
|
1902 | |||
1903 | #summary.fields{ |
|
1903 | #summary.fields{ | |
1904 | display: table; |
|
1904 | display: table; | |
1905 |
|
1905 | |||
1906 | .field{ |
|
1906 | .field{ | |
1907 | display: table-row; |
|
1907 | display: table-row; | |
1908 |
|
1908 | |||
1909 | .label-summary{ |
|
1909 | .label-summary{ | |
1910 | display: table-cell; |
|
1910 | display: table-cell; | |
1911 | min-width: @label-summary-minwidth; |
|
1911 | min-width: @label-summary-minwidth; | |
1912 | padding-top: @padding/2; |
|
1912 | padding-top: @padding/2; | |
1913 | padding-bottom: @padding/2; |
|
1913 | padding-bottom: @padding/2; | |
1914 | padding-right: @padding/2; |
|
1914 | padding-right: @padding/2; | |
1915 | } |
|
1915 | } | |
1916 |
|
1916 | |||
1917 | .input{ |
|
1917 | .input{ | |
1918 | display: table-cell; |
|
1918 | display: table-cell; | |
1919 | padding: @padding/2; |
|
1919 | padding: @padding/2; | |
1920 |
|
1920 | |||
1921 | input{ |
|
1921 | input{ | |
1922 | min-width: 29em; |
|
1922 | min-width: 29em; | |
1923 | padding: @padding/4; |
|
1923 | padding: @padding/4; | |
1924 | } |
|
1924 | } | |
1925 | } |
|
1925 | } | |
1926 | .statistics, .downloads{ |
|
1926 | .statistics, .downloads{ | |
1927 | .disabled{ |
|
1927 | .disabled{ | |
1928 | color: @grey4; |
|
1928 | color: @grey4; | |
1929 | } |
|
1929 | } | |
1930 | } |
|
1930 | } | |
1931 | } |
|
1931 | } | |
1932 | } |
|
1932 | } | |
1933 |
|
1933 | |||
1934 | #summary{ |
|
1934 | #summary{ | |
1935 | width: 70%; |
|
1935 | width: 70%; | |
1936 | } |
|
1936 | } | |
1937 |
|
1937 | |||
1938 |
|
1938 | |||
1939 | // Journal |
|
1939 | // Journal | |
1940 | .journal.title { |
|
1940 | .journal.title { | |
1941 | h5 { |
|
1941 | h5 { | |
1942 | float: left; |
|
1942 | float: left; | |
1943 | margin: 0; |
|
1943 | margin: 0; | |
1944 | width: 70%; |
|
1944 | width: 70%; | |
1945 | } |
|
1945 | } | |
1946 |
|
1946 | |||
1947 | ul { |
|
1947 | ul { | |
1948 | float: right; |
|
1948 | float: right; | |
1949 | display: inline-block; |
|
1949 | display: inline-block; | |
1950 | margin: 0; |
|
1950 | margin: 0; | |
1951 | width: 30%; |
|
1951 | width: 30%; | |
1952 | text-align: right; |
|
1952 | text-align: right; | |
1953 |
|
1953 | |||
1954 | li { |
|
1954 | li { | |
1955 | display: inline; |
|
1955 | display: inline; | |
1956 | font-size: @journal-fontsize; |
|
1956 | font-size: @journal-fontsize; | |
1957 | line-height: 1em; |
|
1957 | line-height: 1em; | |
1958 |
|
1958 | |||
1959 | &:before { content: none; } |
|
1959 | &:before { content: none; } | |
1960 | } |
|
1960 | } | |
1961 | } |
|
1961 | } | |
1962 | } |
|
1962 | } | |
1963 |
|
1963 | |||
1964 | .filterexample { |
|
1964 | .filterexample { | |
1965 | position: absolute; |
|
1965 | position: absolute; | |
1966 | top: 95px; |
|
1966 | top: 95px; | |
1967 | left: @contentpadding; |
|
1967 | left: @contentpadding; | |
1968 | color: @rcblue; |
|
1968 | color: @rcblue; | |
1969 | font-size: 11px; |
|
1969 | font-size: 11px; | |
1970 | font-family: @text-regular; |
|
1970 | font-family: @text-regular; | |
1971 | cursor: help; |
|
1971 | cursor: help; | |
1972 |
|
1972 | |||
1973 | &:hover { |
|
1973 | &:hover { | |
1974 | color: @rcdarkblue; |
|
1974 | color: @rcdarkblue; | |
1975 | } |
|
1975 | } | |
1976 |
|
1976 | |||
1977 | @media (max-width:768px) { |
|
1977 | @media (max-width:768px) { | |
1978 | position: relative; |
|
1978 | position: relative; | |
1979 | top: auto; |
|
1979 | top: auto; | |
1980 | left: auto; |
|
1980 | left: auto; | |
1981 | display: block; |
|
1981 | display: block; | |
1982 | } |
|
1982 | } | |
1983 | } |
|
1983 | } | |
1984 |
|
1984 | |||
1985 |
|
1985 | |||
1986 | #journal{ |
|
1986 | #journal{ | |
1987 | margin-bottom: @space; |
|
1987 | margin-bottom: @space; | |
1988 |
|
1988 | |||
1989 | .journal_day{ |
|
1989 | .journal_day{ | |
1990 | margin-bottom: @textmargin/2; |
|
1990 | margin-bottom: @textmargin/2; | |
1991 | padding-bottom: @textmargin/2; |
|
1991 | padding-bottom: @textmargin/2; | |
1992 | font-size: @journal-fontsize; |
|
1992 | font-size: @journal-fontsize; | |
1993 | border-bottom: @border-thickness solid @border-default-color; |
|
1993 | border-bottom: @border-thickness solid @border-default-color; | |
1994 | } |
|
1994 | } | |
1995 |
|
1995 | |||
1996 | .journal_container{ |
|
1996 | .journal_container{ | |
1997 | margin-bottom: @space; |
|
1997 | margin-bottom: @space; | |
1998 |
|
1998 | |||
1999 | .journal_user{ |
|
1999 | .journal_user{ | |
2000 | display: inline-block; |
|
2000 | display: inline-block; | |
2001 | } |
|
2001 | } | |
2002 | .journal_action_container{ |
|
2002 | .journal_action_container{ | |
2003 | display: block; |
|
2003 | display: block; | |
2004 | margin-top: @textmargin; |
|
2004 | margin-top: @textmargin; | |
2005 |
|
2005 | |||
2006 | div{ |
|
2006 | div{ | |
2007 | display: inline; |
|
2007 | display: inline; | |
2008 | } |
|
2008 | } | |
2009 |
|
2009 | |||
2010 | div.journal_action_params{ |
|
2010 | div.journal_action_params{ | |
2011 | display: block; |
|
2011 | display: block; | |
2012 | } |
|
2012 | } | |
2013 |
|
2013 | |||
2014 | div.journal_repo:after{ |
|
2014 | div.journal_repo:after{ | |
2015 | content: "\A"; |
|
2015 | content: "\A"; | |
2016 | white-space: pre; |
|
2016 | white-space: pre; | |
2017 | } |
|
2017 | } | |
2018 |
|
2018 | |||
2019 | div.date{ |
|
2019 | div.date{ | |
2020 | display: block; |
|
2020 | display: block; | |
2021 | margin-bottom: @textmargin; |
|
2021 | margin-bottom: @textmargin; | |
2022 | } |
|
2022 | } | |
2023 | } |
|
2023 | } | |
2024 | } |
|
2024 | } | |
2025 | } |
|
2025 | } | |
2026 |
|
2026 | |||
2027 | // Files |
|
2027 | // Files | |
2028 | .edit-file-title { |
|
2028 | .edit-file-title { | |
2029 | border-bottom: @border-thickness solid @border-default-color; |
|
2029 | border-bottom: @border-thickness solid @border-default-color; | |
2030 |
|
2030 | |||
2031 | .breadcrumbs { |
|
2031 | .breadcrumbs { | |
2032 | margin-bottom: 0; |
|
2032 | margin-bottom: 0; | |
2033 | } |
|
2033 | } | |
2034 | } |
|
2034 | } | |
2035 |
|
2035 | |||
2036 | .edit-file-fieldset { |
|
2036 | .edit-file-fieldset { | |
2037 | margin-top: @sidebarpadding; |
|
2037 | margin-top: @sidebarpadding; | |
2038 |
|
2038 | |||
2039 | .fieldset { |
|
2039 | .fieldset { | |
2040 | .left-label { |
|
2040 | .left-label { | |
2041 | width: 13%; |
|
2041 | width: 13%; | |
2042 | } |
|
2042 | } | |
2043 | .right-content { |
|
2043 | .right-content { | |
2044 | width: 87%; |
|
2044 | width: 87%; | |
2045 | max-width: 100%; |
|
2045 | max-width: 100%; | |
2046 | } |
|
2046 | } | |
2047 | .filename-label { |
|
2047 | .filename-label { | |
2048 | margin-top: 13px; |
|
2048 | margin-top: 13px; | |
2049 | } |
|
2049 | } | |
2050 | .commit-message-label { |
|
2050 | .commit-message-label { | |
2051 | margin-top: 4px; |
|
2051 | margin-top: 4px; | |
2052 | } |
|
2052 | } | |
2053 | .file-upload-input { |
|
2053 | .file-upload-input { | |
2054 | input { |
|
2054 | input { | |
2055 | display: none; |
|
2055 | display: none; | |
2056 | } |
|
2056 | } | |
2057 | margin-top: 10px; |
|
2057 | margin-top: 10px; | |
2058 | } |
|
2058 | } | |
2059 | .file-upload-label { |
|
2059 | .file-upload-label { | |
2060 | margin-top: 10px; |
|
2060 | margin-top: 10px; | |
2061 | } |
|
2061 | } | |
2062 | p { |
|
2062 | p { | |
2063 | margin-top: 5px; |
|
2063 | margin-top: 5px; | |
2064 | } |
|
2064 | } | |
2065 |
|
2065 | |||
2066 | } |
|
2066 | } | |
2067 | .custom-path-link { |
|
2067 | .custom-path-link { | |
2068 | margin-left: 5px; |
|
2068 | margin-left: 5px; | |
2069 | } |
|
2069 | } | |
2070 | #commit { |
|
2070 | #commit { | |
2071 | resize: vertical; |
|
2071 | resize: vertical; | |
2072 | } |
|
2072 | } | |
2073 | } |
|
2073 | } | |
2074 |
|
2074 | |||
2075 | .delete-file-preview { |
|
2075 | .delete-file-preview { | |
2076 | max-height: 250px; |
|
2076 | max-height: 250px; | |
2077 | } |
|
2077 | } | |
2078 |
|
2078 | |||
2079 | .new-file, |
|
2079 | .new-file, | |
2080 | #filter_activate, |
|
2080 | #filter_activate, | |
2081 | #filter_deactivate { |
|
2081 | #filter_deactivate { | |
2082 | float: left; |
|
2082 | float: left; | |
2083 | margin: 0 0 0 15px; |
|
2083 | margin: 0 0 0 15px; | |
2084 | } |
|
2084 | } | |
2085 |
|
2085 | |||
2086 | h3.files_location{ |
|
2086 | h3.files_location{ | |
2087 | line-height: 2.4em; |
|
2087 | line-height: 2.4em; | |
2088 | } |
|
2088 | } | |
2089 |
|
2089 | |||
2090 | .browser-nav { |
|
2090 | .browser-nav { | |
2091 | display: table; |
|
2091 | display: table; | |
2092 | margin-bottom: @space; |
|
2092 | margin-bottom: @space; | |
2093 |
|
2093 | |||
2094 |
|
2094 | |||
2095 | .info_box { |
|
2095 | .info_box { | |
2096 | display: inline-table; |
|
2096 | display: inline-table; | |
2097 | height: 2.5em; |
|
2097 | height: 2.5em; | |
2098 |
|
2098 | |||
2099 | .browser-cur-rev, .info_box_elem { |
|
2099 | .browser-cur-rev, .info_box_elem { | |
2100 | display: table-cell; |
|
2100 | display: table-cell; | |
2101 | vertical-align: middle; |
|
2101 | vertical-align: middle; | |
2102 | } |
|
2102 | } | |
2103 |
|
2103 | |||
2104 | .info_box_elem { |
|
2104 | .info_box_elem { | |
2105 | border-top: @border-thickness solid @rcblue; |
|
2105 | border-top: @border-thickness solid @rcblue; | |
2106 | border-bottom: @border-thickness solid @rcblue; |
|
2106 | border-bottom: @border-thickness solid @rcblue; | |
2107 |
|
2107 | |||
2108 | #at_rev, a { |
|
2108 | #at_rev, a { | |
2109 | padding: 0.6em 0.9em; |
|
2109 | padding: 0.6em 0.9em; | |
2110 | margin: 0; |
|
2110 | margin: 0; | |
2111 | .box-shadow(none); |
|
2111 | .box-shadow(none); | |
2112 | border: 0; |
|
2112 | border: 0; | |
2113 | height: 12px; |
|
2113 | height: 12px; | |
2114 | } |
|
2114 | } | |
2115 |
|
2115 | |||
2116 | input#at_rev { |
|
2116 | input#at_rev { | |
2117 | max-width: 50px; |
|
2117 | max-width: 50px; | |
2118 | text-align: right; |
|
2118 | text-align: right; | |
2119 | } |
|
2119 | } | |
2120 |
|
2120 | |||
2121 | &.previous { |
|
2121 | &.previous { | |
2122 | border: @border-thickness solid @rcblue; |
|
2122 | border: @border-thickness solid @rcblue; | |
2123 | .disabled { |
|
2123 | .disabled { | |
2124 | color: @grey4; |
|
2124 | color: @grey4; | |
2125 | cursor: not-allowed; |
|
2125 | cursor: not-allowed; | |
2126 | } |
|
2126 | } | |
2127 | } |
|
2127 | } | |
2128 |
|
2128 | |||
2129 | &.next { |
|
2129 | &.next { | |
2130 | border: @border-thickness solid @rcblue; |
|
2130 | border: @border-thickness solid @rcblue; | |
2131 | .disabled { |
|
2131 | .disabled { | |
2132 | color: @grey4; |
|
2132 | color: @grey4; | |
2133 | cursor: not-allowed; |
|
2133 | cursor: not-allowed; | |
2134 | } |
|
2134 | } | |
2135 | } |
|
2135 | } | |
2136 | } |
|
2136 | } | |
2137 |
|
2137 | |||
2138 | .browser-cur-rev { |
|
2138 | .browser-cur-rev { | |
2139 |
|
2139 | |||
2140 | span{ |
|
2140 | span{ | |
2141 | margin: 0; |
|
2141 | margin: 0; | |
2142 | color: @rcblue; |
|
2142 | color: @rcblue; | |
2143 | height: 12px; |
|
2143 | height: 12px; | |
2144 | display: inline-block; |
|
2144 | display: inline-block; | |
2145 | padding: 0.7em 1em ; |
|
2145 | padding: 0.7em 1em ; | |
2146 | border: @border-thickness solid @rcblue; |
|
2146 | border: @border-thickness solid @rcblue; | |
2147 | margin-right: @padding; |
|
2147 | margin-right: @padding; | |
2148 | } |
|
2148 | } | |
2149 | } |
|
2149 | } | |
2150 | } |
|
2150 | } | |
2151 |
|
2151 | |||
2152 | .search_activate { |
|
2152 | .search_activate { | |
2153 | display: table-cell; |
|
2153 | display: table-cell; | |
2154 | vertical-align: middle; |
|
2154 | vertical-align: middle; | |
2155 |
|
2155 | |||
2156 | input, label{ |
|
2156 | input, label{ | |
2157 | margin: 0; |
|
2157 | margin: 0; | |
2158 | padding: 0; |
|
2158 | padding: 0; | |
2159 | } |
|
2159 | } | |
2160 |
|
2160 | |||
2161 | input{ |
|
2161 | input{ | |
2162 | margin-left: @textmargin; |
|
2162 | margin-left: @textmargin; | |
2163 | } |
|
2163 | } | |
2164 |
|
2164 | |||
2165 | } |
|
2165 | } | |
2166 | } |
|
2166 | } | |
2167 |
|
2167 | |||
2168 | .browser-cur-rev{ |
|
2168 | .browser-cur-rev{ | |
2169 | margin-bottom: @textmargin; |
|
2169 | margin-bottom: @textmargin; | |
2170 | } |
|
2170 | } | |
2171 |
|
2171 | |||
2172 | #node_filter_box_loading{ |
|
2172 | #node_filter_box_loading{ | |
2173 | .info_text; |
|
2173 | .info_text; | |
2174 | } |
|
2174 | } | |
2175 |
|
2175 | |||
2176 | .browser-search { |
|
2176 | .browser-search { | |
2177 | margin: -25px 0px 5px 0px; |
|
2177 | margin: -25px 0px 5px 0px; | |
2178 | } |
|
2178 | } | |
2179 |
|
2179 | |||
2180 | .node-filter { |
|
2180 | .node-filter { | |
2181 | font-size: @repo-title-fontsize; |
|
2181 | font-size: @repo-title-fontsize; | |
2182 | padding: 4px 0px 0px 0px; |
|
2182 | padding: 4px 0px 0px 0px; | |
2183 |
|
2183 | |||
2184 | .node-filter-path { |
|
2184 | .node-filter-path { | |
2185 | float: left; |
|
2185 | float: left; | |
2186 | color: @grey4; |
|
2186 | color: @grey4; | |
2187 | } |
|
2187 | } | |
2188 | .node-filter-input { |
|
2188 | .node-filter-input { | |
2189 | float: left; |
|
2189 | float: left; | |
2190 | margin: -2px 0px 0px 2px; |
|
2190 | margin: -2px 0px 0px 2px; | |
2191 | input { |
|
2191 | input { | |
2192 | padding: 2px; |
|
2192 | padding: 2px; | |
2193 | border: none; |
|
2193 | border: none; | |
2194 | font-size: @repo-title-fontsize; |
|
2194 | font-size: @repo-title-fontsize; | |
2195 | } |
|
2195 | } | |
2196 | } |
|
2196 | } | |
2197 | } |
|
2197 | } | |
2198 |
|
2198 | |||
2199 |
|
2199 | |||
2200 | .browser-result{ |
|
2200 | .browser-result{ | |
2201 | td a{ |
|
2201 | td a{ | |
2202 | margin-left: 0.5em; |
|
2202 | margin-left: 0.5em; | |
2203 | display: inline-block; |
|
2203 | display: inline-block; | |
2204 |
|
2204 | |||
2205 | em{ |
|
2205 | em{ | |
2206 | font-family: @text-bold; |
|
2206 | font-family: @text-bold; | |
2207 | } |
|
2207 | } | |
2208 | } |
|
2208 | } | |
2209 | } |
|
2209 | } | |
2210 |
|
2210 | |||
2211 | .browser-highlight{ |
|
2211 | .browser-highlight{ | |
2212 | background-color: @grey5-alpha; |
|
2212 | background-color: @grey5-alpha; | |
2213 | } |
|
2213 | } | |
2214 |
|
2214 | |||
2215 |
|
2215 | |||
2216 | // Search |
|
2216 | // Search | |
2217 |
|
2217 | |||
2218 | .search-form{ |
|
2218 | .search-form{ | |
2219 | #q { |
|
2219 | #q { | |
2220 | width: @search-form-width; |
|
2220 | width: @search-form-width; | |
2221 | } |
|
2221 | } | |
2222 | .fields{ |
|
2222 | .fields{ | |
2223 | margin: 0 0 @space; |
|
2223 | margin: 0 0 @space; | |
2224 | } |
|
2224 | } | |
2225 |
|
2225 | |||
2226 | label{ |
|
2226 | label{ | |
2227 | display: inline-block; |
|
2227 | display: inline-block; | |
2228 | margin-right: @textmargin; |
|
2228 | margin-right: @textmargin; | |
2229 | padding-top: 0.25em; |
|
2229 | padding-top: 0.25em; | |
2230 | } |
|
2230 | } | |
2231 |
|
2231 | |||
2232 |
|
2232 | |||
2233 | .results{ |
|
2233 | .results{ | |
2234 | clear: both; |
|
2234 | clear: both; | |
2235 | margin: 0 0 @padding; |
|
2235 | margin: 0 0 @padding; | |
2236 | } |
|
2236 | } | |
2237 | } |
|
2237 | } | |
2238 |
|
2238 | |||
2239 | div.search-feedback-items { |
|
2239 | div.search-feedback-items { | |
2240 | display: inline-block; |
|
2240 | display: inline-block; | |
2241 | } |
|
2241 | } | |
2242 |
|
2242 | |||
2243 | div.search-code-body { |
|
2243 | div.search-code-body { | |
2244 | background-color: #ffffff; padding: 5px 0 5px 10px; |
|
2244 | background-color: #ffffff; padding: 5px 0 5px 10px; | |
2245 | pre { |
|
2245 | pre { | |
2246 | .match { background-color: #faffa6;} |
|
2246 | .match { background-color: #faffa6;} | |
2247 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } |
|
2247 | .break { display: block; width: 100%; background-color: #DDE7EF; color: #747474; } | |
2248 | } |
|
2248 | } | |
2249 | } |
|
2249 | } | |
2250 |
|
2250 | |||
2251 | .expand_commit.search { |
|
2251 | .expand_commit.search { | |
2252 | .show_more.open { |
|
2252 | .show_more.open { | |
2253 | height: auto; |
|
2253 | height: auto; | |
2254 | max-height: none; |
|
2254 | max-height: none; | |
2255 | } |
|
2255 | } | |
2256 | } |
|
2256 | } | |
2257 |
|
2257 | |||
2258 | .search-results { |
|
2258 | .search-results { | |
2259 |
|
2259 | |||
2260 | h2 { |
|
2260 | h2 { | |
2261 | margin-bottom: 0; |
|
2261 | margin-bottom: 0; | |
2262 | } |
|
2262 | } | |
2263 | .codeblock { |
|
2263 | .codeblock { | |
2264 | border: none; |
|
2264 | border: none; | |
2265 | background: transparent; |
|
2265 | background: transparent; | |
2266 | } |
|
2266 | } | |
2267 |
|
2267 | |||
2268 | .codeblock-header { |
|
2268 | .codeblock-header { | |
2269 | border: none; |
|
2269 | border: none; | |
2270 | background: transparent; |
|
2270 | background: transparent; | |
2271 | } |
|
2271 | } | |
2272 |
|
2272 | |||
2273 | .code-body { |
|
2273 | .code-body { | |
2274 | border: @border-thickness solid @border-default-color; |
|
2274 | border: @border-thickness solid @border-default-color; | |
2275 | .border-radius(@border-radius); |
|
2275 | .border-radius(@border-radius); | |
2276 | } |
|
2276 | } | |
2277 |
|
2277 | |||
2278 | .td-commit { |
|
2278 | .td-commit { | |
2279 | &:extend(pre); |
|
2279 | &:extend(pre); | |
2280 | border-bottom: @border-thickness solid @border-default-color; |
|
2280 | border-bottom: @border-thickness solid @border-default-color; | |
2281 | } |
|
2281 | } | |
2282 |
|
2282 | |||
2283 | .message { |
|
2283 | .message { | |
2284 | height: auto; |
|
2284 | height: auto; | |
2285 | max-width: 350px; |
|
2285 | max-width: 350px; | |
2286 | white-space: normal; |
|
2286 | white-space: normal; | |
2287 | text-overflow: initial; |
|
2287 | text-overflow: initial; | |
2288 | overflow: visible; |
|
2288 | overflow: visible; | |
2289 |
|
2289 | |||
2290 | .match { background-color: #faffa6;} |
|
2290 | .match { background-color: #faffa6;} | |
2291 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } |
|
2291 | .break { background-color: #DDE7EF; width: 100%; color: #747474; display: block; } | |
2292 | } |
|
2292 | } | |
2293 |
|
2293 | |||
2294 | } |
|
2294 | } | |
2295 |
|
2295 | |||
2296 | table.rctable td.td-search-results div { |
|
2296 | table.rctable td.td-search-results div { | |
2297 | max-width: 100%; |
|
2297 | max-width: 100%; | |
2298 | } |
|
2298 | } | |
2299 |
|
2299 | |||
2300 | #tip-box, .tip-box{ |
|
2300 | #tip-box, .tip-box{ | |
2301 | padding: @menupadding/2; |
|
2301 | padding: @menupadding/2; | |
2302 | display: block; |
|
2302 | display: block; | |
2303 | border: @border-thickness solid @border-highlight-color; |
|
2303 | border: @border-thickness solid @border-highlight-color; | |
2304 | .border-radius(@border-radius); |
|
2304 | .border-radius(@border-radius); | |
2305 | background-color: white; |
|
2305 | background-color: white; | |
2306 | z-index: 99; |
|
2306 | z-index: 99; | |
2307 | white-space: pre-wrap; |
|
2307 | white-space: pre-wrap; | |
2308 | } |
|
2308 | } | |
2309 |
|
2309 | |||
2310 | #linktt { |
|
2310 | #linktt { | |
2311 | width: 79px; |
|
2311 | width: 79px; | |
2312 | } |
|
2312 | } | |
2313 |
|
2313 | |||
2314 | #help_kb .modal-content{ |
|
2314 | #help_kb .modal-content{ | |
2315 | max-width: 750px; |
|
2315 | max-width: 750px; | |
2316 | margin: 10% auto; |
|
2316 | margin: 10% auto; | |
2317 |
|
2317 | |||
2318 | table{ |
|
2318 | table{ | |
2319 | td,th{ |
|
2319 | td,th{ | |
2320 | border-bottom: none; |
|
2320 | border-bottom: none; | |
2321 | line-height: 2.5em; |
|
2321 | line-height: 2.5em; | |
2322 | } |
|
2322 | } | |
2323 | th{ |
|
2323 | th{ | |
2324 | padding-bottom: @textmargin/2; |
|
2324 | padding-bottom: @textmargin/2; | |
2325 | } |
|
2325 | } | |
2326 | td.keys{ |
|
2326 | td.keys{ | |
2327 | text-align: center; |
|
2327 | text-align: center; | |
2328 | } |
|
2328 | } | |
2329 | } |
|
2329 | } | |
2330 |
|
2330 | |||
2331 | .block-left{ |
|
2331 | .block-left{ | |
2332 | width: 45%; |
|
2332 | width: 45%; | |
2333 | margin-right: 5%; |
|
2333 | margin-right: 5%; | |
2334 | } |
|
2334 | } | |
2335 | .modal-footer{ |
|
2335 | .modal-footer{ | |
2336 | clear: both; |
|
2336 | clear: both; | |
2337 | } |
|
2337 | } | |
2338 | .key.tag{ |
|
2338 | .key.tag{ | |
2339 | padding: 0.5em; |
|
2339 | padding: 0.5em; | |
2340 | background-color: @rcblue; |
|
2340 | background-color: @rcblue; | |
2341 | color: white; |
|
2341 | color: white; | |
2342 | border-color: @rcblue; |
|
2342 | border-color: @rcblue; | |
2343 | .box-shadow(none); |
|
2343 | .box-shadow(none); | |
2344 | } |
|
2344 | } | |
2345 | } |
|
2345 | } | |
2346 |
|
2346 | |||
2347 |
|
2347 | |||
2348 |
|
2348 | |||
2349 | //--- IMPORTS FOR REFACTORED STYLES ------------------// |
|
2349 | //--- IMPORTS FOR REFACTORED STYLES ------------------// | |
2350 |
|
2350 | |||
2351 | @import 'statistics-graph'; |
|
2351 | @import 'statistics-graph'; | |
2352 | @import 'tables'; |
|
2352 | @import 'tables'; | |
2353 | @import 'forms'; |
|
2353 | @import 'forms'; | |
2354 | @import 'diff'; |
|
2354 | @import 'diff'; | |
2355 | @import 'summary'; |
|
2355 | @import 'summary'; | |
2356 | @import 'navigation'; |
|
2356 | @import 'navigation'; | |
2357 |
|
2357 | |||
2358 | //--- SHOW/HIDE SECTIONS --// |
|
2358 | //--- SHOW/HIDE SECTIONS --// | |
2359 |
|
2359 | |||
2360 | .btn-collapse { |
|
2360 | .btn-collapse { | |
2361 | float: right; |
|
2361 | float: right; | |
2362 | text-align: right; |
|
2362 | text-align: right; | |
2363 | font-family: @text-light; |
|
2363 | font-family: @text-light; | |
2364 | font-size: @basefontsize; |
|
2364 | font-size: @basefontsize; | |
2365 | cursor: pointer; |
|
2365 | cursor: pointer; | |
2366 | border: none; |
|
2366 | border: none; | |
2367 | color: @rcblue; |
|
2367 | color: @rcblue; | |
2368 | } |
|
2368 | } | |
2369 |
|
2369 | |||
2370 | table.rctable, |
|
2370 | table.rctable, | |
2371 | table.dataTable { |
|
2371 | table.dataTable { | |
2372 | .btn-collapse { |
|
2372 | .btn-collapse { | |
2373 | float: right; |
|
2373 | float: right; | |
2374 | text-align: right; |
|
2374 | text-align: right; | |
2375 | } |
|
2375 | } | |
2376 | } |
|
2376 | } | |
2377 |
|
2377 | |||
2378 |
|
2378 | |||
2379 | // TODO: johbo: Fix for IE10, this avoids that we see a border |
|
2379 | // TODO: johbo: Fix for IE10, this avoids that we see a border | |
2380 | // and padding around checkboxes and radio boxes. Move to the right place, |
|
2380 | // and padding around checkboxes and radio boxes. Move to the right place, | |
2381 | // or better: Remove this once we did the form refactoring. |
|
2381 | // or better: Remove this once we did the form refactoring. | |
2382 | input[type=checkbox], |
|
2382 | input[type=checkbox], | |
2383 | input[type=radio] { |
|
2383 | input[type=radio] { | |
2384 | padding: 0; |
|
2384 | padding: 0; | |
2385 | border: none; |
|
2385 | border: none; | |
2386 | } |
|
2386 | } | |
2387 |
|
2387 | |||
2388 | .toggle-ajax-spinner{ |
|
2388 | .toggle-ajax-spinner{ | |
2389 | height: 16px; |
|
2389 | height: 16px; | |
2390 | width: 16px; |
|
2390 | width: 16px; | |
2391 | } |
|
2391 | } | |
2392 |
|
2392 | |||
2393 |
|
2393 | |||
2394 | .markup-form .clearfix { |
|
2394 | .markup-form .clearfix { | |
2395 | .border-radius(@border-radius); |
|
2395 | .border-radius(@border-radius); | |
2396 | margin: 0px; |
|
2396 | margin: 0px; | |
2397 | } |
|
2397 | } | |
2398 |
|
2398 | |||
2399 | .markup-form-area { |
|
2399 | .markup-form-area { | |
2400 | padding: 8px 12px; |
|
2400 | padding: 8px 12px; | |
2401 | border: 1px solid @grey4; |
|
2401 | border: 1px solid @grey4; | |
2402 | .border-radius(@border-radius); |
|
2402 | .border-radius(@border-radius); | |
2403 | } |
|
2403 | } | |
2404 |
|
2404 | |||
2405 | .markup-form-area-header .nav-links { |
|
2405 | .markup-form-area-header .nav-links { | |
2406 | display: flex; |
|
2406 | display: flex; | |
2407 | flex-flow: row wrap; |
|
2407 | flex-flow: row wrap; | |
2408 | -webkit-flex-flow: row wrap; |
|
2408 | -webkit-flex-flow: row wrap; | |
2409 | width: 100%; |
|
2409 | width: 100%; | |
2410 | } |
|
2410 | } | |
2411 |
|
2411 | |||
2412 | .markup-form-area-footer { |
|
2412 | .markup-form-area-footer { | |
2413 | display: flex; |
|
2413 | display: flex; | |
2414 | } |
|
2414 | } | |
2415 |
|
2415 | |||
2416 | .markup-form-area-footer .toolbar { |
|
2416 | .markup-form-area-footer .toolbar { | |
2417 |
|
2417 | |||
2418 | } |
|
2418 | } | |
2419 |
|
2419 | |||
2420 | // markup Form |
|
2420 | // markup Form | |
2421 | div.markup-form { |
|
2421 | div.markup-form { | |
2422 | margin-top: 20px; |
|
2422 | margin-top: 20px; | |
2423 | } |
|
2423 | } | |
2424 |
|
2424 | |||
2425 | .markup-form strong { |
|
2425 | .markup-form strong { | |
2426 | display: block; |
|
2426 | display: block; | |
2427 | margin-bottom: 15px; |
|
2427 | margin-bottom: 15px; | |
2428 | } |
|
2428 | } | |
2429 |
|
2429 | |||
2430 | .markup-form textarea { |
|
2430 | .markup-form textarea { | |
2431 | width: 100%; |
|
2431 | width: 100%; | |
2432 | height: 100px; |
|
2432 | height: 100px; | |
2433 | font-family: 'Monaco', 'Courier', 'Courier New', monospace; |
|
2433 | font-family: @text-monospace; | |
2434 | } |
|
2434 | } | |
2435 |
|
2435 | |||
2436 | form.markup-form { |
|
2436 | form.markup-form { | |
2437 | margin-top: 10px; |
|
2437 | margin-top: 10px; | |
2438 | margin-left: 10px; |
|
2438 | margin-left: 10px; | |
2439 | } |
|
2439 | } | |
2440 |
|
2440 | |||
2441 | .markup-form .comment-block-ta, |
|
2441 | .markup-form .comment-block-ta, | |
2442 | .markup-form .preview-box { |
|
2442 | .markup-form .preview-box { | |
2443 | .border-radius(@border-radius); |
|
2443 | .border-radius(@border-radius); | |
2444 | .box-sizing(border-box); |
|
2444 | .box-sizing(border-box); | |
2445 | background-color: white; |
|
2445 | background-color: white; | |
2446 | } |
|
2446 | } | |
2447 |
|
2447 | |||
2448 | .markup-form .preview-box.unloaded { |
|
2448 | .markup-form .preview-box.unloaded { | |
2449 | height: 50px; |
|
2449 | height: 50px; | |
2450 | text-align: center; |
|
2450 | text-align: center; | |
2451 | padding: 20px; |
|
2451 | padding: 20px; | |
2452 | background-color: white; |
|
2452 | background-color: white; | |
2453 | } |
|
2453 | } |
@@ -1,252 +1,252 b'' | |||||
1 | /** README styling **/ |
|
1 | /** README styling **/ | |
2 | div.readme_box { |
|
2 | div.readme_box { | |
3 | clear: both; |
|
3 | clear: both; | |
4 | overflow: hidden; |
|
4 | overflow: hidden; | |
5 | margin: 0; |
|
5 | margin: 0; | |
6 | padding: 3px 15px 3px; |
|
6 | padding: 3px 15px 3px; | |
7 | } |
|
7 | } | |
8 |
|
8 | |||
9 | div.readme_box h1, |
|
9 | div.readme_box h1, | |
10 | div.readme_box h2, |
|
10 | div.readme_box h2, | |
11 | div.readme_box h3, |
|
11 | div.readme_box h3, | |
12 | div.readme_box h4, |
|
12 | div.readme_box h4, | |
13 | div.readme_box h5, |
|
13 | div.readme_box h5, | |
14 | div.readme_box h6 { |
|
14 | div.readme_box h6 { | |
15 | border-bottom: none !important; |
|
15 | border-bottom: none !important; | |
16 | padding: 0 !important; |
|
16 | padding: 0 !important; | |
17 | overflow: visible !important; |
|
17 | overflow: visible !important; | |
18 | } |
|
18 | } | |
19 |
|
19 | |||
20 | div.readme_box h1 { |
|
20 | div.readme_box h1 { | |
21 | font-size: 32px; |
|
21 | font-size: 32px; | |
22 | margin: 15px 0 15px 0 !important; |
|
22 | margin: 15px 0 15px 0 !important; | |
23 | padding-bottom: 5px !important; |
|
23 | padding-bottom: 5px !important; | |
24 | } |
|
24 | } | |
25 |
|
25 | |||
26 | div.readme_box h2 { |
|
26 | div.readme_box h2 { | |
27 | font-size: 24px !important; |
|
27 | font-size: 24px !important; | |
28 | margin: 34px 0 10px 0 !important; |
|
28 | margin: 34px 0 10px 0 !important; | |
29 | border-top: 3px #e6e5e5 solid !important; |
|
29 | border-top: 3px #e6e5e5 solid !important; | |
30 | padding-top: 15px !important; |
|
30 | padding-top: 15px !important; | |
31 | padding-bottom: 8px !important; |
|
31 | padding-bottom: 8px !important; | |
32 | } |
|
32 | } | |
33 |
|
33 | |||
34 | div.readme_box h3 { |
|
34 | div.readme_box h3 { | |
35 | font-size: 18px !important; |
|
35 | font-size: 18px !important; | |
36 | margin: 30px 0 8px 0 !important; |
|
36 | margin: 30px 0 8px 0 !important; | |
37 | padding-bottom: 2px !important; |
|
37 | padding-bottom: 2px !important; | |
38 | } |
|
38 | } | |
39 |
|
39 | |||
40 | div.readme_box h4 { |
|
40 | div.readme_box h4 { | |
41 | font-size: 13px !important; |
|
41 | font-size: 13px !important; | |
42 | margin: 18px 0 3px 0 !important; |
|
42 | margin: 18px 0 3px 0 !important; | |
43 | } |
|
43 | } | |
44 |
|
44 | |||
45 | div.readme_box h5 { |
|
45 | div.readme_box h5 { | |
46 | font-size: 12px !important; |
|
46 | font-size: 12px !important; | |
47 | margin: 15px 0 3px 0 !important; |
|
47 | margin: 15px 0 3px 0 !important; | |
48 | } |
|
48 | } | |
49 |
|
49 | |||
50 | div.readme_box h6 { |
|
50 | div.readme_box h6 { | |
51 | font-size: 12px; |
|
51 | font-size: 12px; | |
52 | color: #777777; |
|
52 | color: #777777; | |
53 | margin: 15px 0 3px 0 !important; |
|
53 | margin: 15px 0 3px 0 !important; | |
54 | } |
|
54 | } | |
55 |
|
55 | |||
56 | div.readme_box hr { |
|
56 | div.readme_box hr { | |
57 | border: 0; |
|
57 | border: 0; | |
58 | color: #e6e5e5; |
|
58 | color: #e6e5e5; | |
59 | background-color: #e6e5e5; |
|
59 | background-color: #e6e5e5; | |
60 | height: 3px; |
|
60 | height: 3px; | |
61 | margin-bottom: 13px; |
|
61 | margin-bottom: 13px; | |
62 | } |
|
62 | } | |
63 |
|
63 | |||
64 | div.readme_box ol, |
|
64 | div.readme_box ol, | |
65 | div.readme_box ul, |
|
65 | div.readme_box ul, | |
66 | div.readme_box p, |
|
66 | div.readme_box p, | |
67 | div.readme_box blockquote, |
|
67 | div.readme_box blockquote, | |
68 | div.readme_box dl, |
|
68 | div.readme_box dl, | |
69 | div.readme_box li, |
|
69 | div.readme_box li, | |
70 | div.readme_box table { |
|
70 | div.readme_box table { | |
71 | margin: 3px 0px 13px 0px !important; |
|
71 | margin: 3px 0px 13px 0px !important; | |
72 | color: #424242 !important; |
|
72 | color: #424242 !important; | |
73 | font-size: 13px !important; |
|
73 | font-size: 13px !important; | |
74 |
font-family: |
|
74 | font-family: @text-regular; | |
75 | font-weight: normal !important; |
|
75 | font-weight: normal !important; | |
76 | overflow: visible !important; |
|
76 | overflow: visible !important; | |
77 | line-height: 140% !important; |
|
77 | line-height: 140% !important; | |
78 | } |
|
78 | } | |
79 |
|
79 | |||
80 | div.readme_box pre { |
|
80 | div.readme_box pre { | |
81 | margin: 3px 0px 13px 0px !important; |
|
81 | margin: 3px 0px 13px 0px !important; | |
82 | padding: .5em; |
|
82 | padding: .5em; | |
83 | color: #424242 !important; |
|
83 | color: #424242 !important; | |
84 | font-size: 13px !important; |
|
84 | font-size: 13px !important; | |
85 | overflow: visible !important; |
|
85 | overflow: visible !important; | |
86 | line-height: 140% !important; |
|
86 | line-height: 140% !important; | |
87 | background-color: @grey7; |
|
87 | background-color: @grey7; | |
88 | } |
|
88 | } | |
89 |
|
89 | |||
90 | div.readme_box img { |
|
90 | div.readme_box img { | |
91 | border-style: none; |
|
91 | border-style: none; | |
92 | background-color: #fff; |
|
92 | background-color: #fff; | |
93 | } |
|
93 | } | |
94 |
|
94 | |||
95 |
|
95 | |||
96 | div.readme_box strong { |
|
96 | div.readme_box strong { | |
97 | font-weight: 600; |
|
97 | font-weight: 600; | |
98 | margin: 0; |
|
98 | margin: 0; | |
99 | } |
|
99 | } | |
100 |
|
100 | |||
101 | div.readme_box ul, |
|
101 | div.readme_box ul, | |
102 | div.readme_box ol { |
|
102 | div.readme_box ol { | |
103 | padding-left: 30px !important; |
|
103 | padding-left: 30px !important; | |
104 | margin-top: 0px !important; |
|
104 | margin-top: 0px !important; | |
105 | margin-bottom: 18px !important; |
|
105 | margin-bottom: 18px !important; | |
106 | } |
|
106 | } | |
107 |
|
107 | |||
108 | div.readme_box ul li, |
|
108 | div.readme_box ul li, | |
109 | div.readme_box ol li { |
|
109 | div.readme_box ol li { | |
110 | list-style: bullet !important; |
|
110 | list-style: bullet !important; | |
111 | margin: 6px !important; |
|
111 | margin: 6px !important; | |
112 | padding: 0 !important; |
|
112 | padding: 0 !important; | |
113 | } |
|
113 | } | |
114 |
|
114 | |||
115 | div.readme_box ol li { |
|
115 | div.readme_box ol li { | |
116 | list-style: decimal !important; |
|
116 | list-style: decimal !important; | |
117 | } |
|
117 | } | |
118 |
|
118 | |||
119 | /* |
|
119 | /* | |
120 | div.readme_box a, |
|
120 | div.readme_box a, | |
121 | div.readme_box a:visited { |
|
121 | div.readme_box a:visited { | |
122 | color: #4183C4 !important; |
|
122 | color: #4183C4 !important; | |
123 | background-color: inherit; |
|
123 | background-color: inherit; | |
124 | text-decoration: none; |
|
124 | text-decoration: none; | |
125 | } |
|
125 | } | |
126 | */ |
|
126 | */ | |
127 |
|
127 | |||
128 |
|
128 | |||
129 | div.readme_box button { |
|
129 | div.readme_box button { | |
130 | font-size: @basefontsize; |
|
130 | font-size: @basefontsize; | |
131 | padding: 4px 6px; |
|
131 | padding: 4px 6px; | |
132 | .border-radius(@border-radius); |
|
132 | .border-radius(@border-radius); | |
133 | border: @border-thickness solid @grey5; |
|
133 | border: @border-thickness solid @grey5; | |
134 | background-color: @grey6; |
|
134 | background-color: @grey6; | |
135 | } |
|
135 | } | |
136 |
|
136 | |||
137 | div.readme_box code, |
|
137 | div.readme_box code, | |
138 | div.readme_box pre { |
|
138 | div.readme_box pre { | |
139 |
font-family: |
|
139 | font-family: @text-monospace; | |
140 | font-size: 11px; |
|
140 | font-size: 11px; | |
141 | .border-radius(@border-radius); |
|
141 | .border-radius(@border-radius); | |
142 | background-color: white; |
|
142 | background-color: white; | |
143 | color: @grey3; |
|
143 | color: @grey3; | |
144 | } |
|
144 | } | |
145 |
|
145 | |||
146 |
|
146 | |||
147 | div.readme_box code { |
|
147 | div.readme_box code { | |
148 | border: @border-thickness solid @grey6; |
|
148 | border: @border-thickness solid @grey6; | |
149 | margin: 0 2px; |
|
149 | margin: 0 2px; | |
150 | padding: 0 5px; |
|
150 | padding: 0 5px; | |
151 | } |
|
151 | } | |
152 |
|
152 | |||
153 | div.readme_box pre { |
|
153 | div.readme_box pre { | |
154 | border: @border-thickness solid @grey5; |
|
154 | border: @border-thickness solid @grey5; | |
155 | overflow: auto; |
|
155 | overflow: auto; | |
156 | padding: .5em; |
|
156 | padding: .5em; | |
157 | background-color: @grey7; |
|
157 | background-color: @grey7; | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | div.readme_box pre > code { |
|
160 | div.readme_box pre > code { | |
161 | border: 0; |
|
161 | border: 0; | |
162 | margin: 0; |
|
162 | margin: 0; | |
163 | padding: 0; |
|
163 | padding: 0; | |
164 | } |
|
164 | } | |
165 |
|
165 | |||
166 | /** RST STYLE **/ |
|
166 | /** RST STYLE **/ | |
167 | div.rst-block { |
|
167 | div.rst-block { | |
168 | clear: both; |
|
168 | clear: both; | |
169 | overflow: hidden; |
|
169 | overflow: hidden; | |
170 | margin: 0; |
|
170 | margin: 0; | |
171 | padding: 3px 15px 3px; |
|
171 | padding: 3px 15px 3px; | |
172 | } |
|
172 | } | |
173 |
|
173 | |||
174 | div.rst-block h2 { |
|
174 | div.rst-block h2 { | |
175 | font-weight: normal; |
|
175 | font-weight: normal; | |
176 | } |
|
176 | } | |
177 |
|
177 | |||
178 | div.rst-block h1, |
|
178 | div.rst-block h1, | |
179 | div.rst-block h2, |
|
179 | div.rst-block h2, | |
180 | div.rst-block h3, |
|
180 | div.rst-block h3, | |
181 | div.rst-block h4, |
|
181 | div.rst-block h4, | |
182 | div.rst-block h5, |
|
182 | div.rst-block h5, | |
183 | div.rst-block h6 { |
|
183 | div.rst-block h6 { | |
184 | border-bottom: 0 !important; |
|
184 | border-bottom: 0 !important; | |
185 | margin: 0 !important; |
|
185 | margin: 0 !important; | |
186 | padding: 0 !important; |
|
186 | padding: 0 !important; | |
187 | line-height: 1.5em !important; |
|
187 | line-height: 1.5em !important; | |
188 | } |
|
188 | } | |
189 |
|
189 | |||
190 |
|
190 | |||
191 | div.rst-block h1:first-child { |
|
191 | div.rst-block h1:first-child { | |
192 | padding-top: .25em !important; |
|
192 | padding-top: .25em !important; | |
193 | } |
|
193 | } | |
194 |
|
194 | |||
195 | div.rst-block h2, |
|
195 | div.rst-block h2, | |
196 | div.rst-block h3 { |
|
196 | div.rst-block h3 { | |
197 | margin: 1em 0 !important; |
|
197 | margin: 1em 0 !important; | |
198 | } |
|
198 | } | |
199 |
|
199 | |||
200 | div.rst-block h2 { |
|
200 | div.rst-block h2 { | |
201 | margin-top: 1.5em !important; |
|
201 | margin-top: 1.5em !important; | |
202 | border-top: 4px solid #e0e0e0 !important; |
|
202 | border-top: 4px solid #e0e0e0 !important; | |
203 | padding-top: .5em !important; |
|
203 | padding-top: .5em !important; | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | div.rst-block p { |
|
206 | div.rst-block p { | |
207 | color: black !important; |
|
207 | color: black !important; | |
208 | margin: 1em 0 !important; |
|
208 | margin: 1em 0 !important; | |
209 | line-height: 1.5em !important; |
|
209 | line-height: 1.5em !important; | |
210 | } |
|
210 | } | |
211 |
|
211 | |||
212 | div.rst-block ul { |
|
212 | div.rst-block ul { | |
213 | list-style: disc !important; |
|
213 | list-style: disc !important; | |
214 | margin: 1em 0 1em 2em !important; |
|
214 | margin: 1em 0 1em 2em !important; | |
215 | clear: both; |
|
215 | clear: both; | |
216 | } |
|
216 | } | |
217 |
|
217 | |||
218 | div.rst-block ol { |
|
218 | div.rst-block ol { | |
219 | list-style: decimal; |
|
219 | list-style: decimal; | |
220 | margin: 1em 0 1em 2em !important; |
|
220 | margin: 1em 0 1em 2em !important; | |
221 | } |
|
221 | } | |
222 |
|
222 | |||
223 | div.rst-block pre, |
|
223 | div.rst-block pre, | |
224 | div.rst-block code { |
|
224 | div.rst-block code { | |
225 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; |
|
225 | font: 12px "Bitstream Vera Sans Mono","Courier",monospace; | |
226 | } |
|
226 | } | |
227 |
|
227 | |||
228 | div.rst-block code { |
|
228 | div.rst-block code { | |
229 | font-size: 12px !important; |
|
229 | font-size: 12px !important; | |
230 | background-color: ghostWhite !important; |
|
230 | background-color: ghostWhite !important; | |
231 | color: #444 !important; |
|
231 | color: #444 !important; | |
232 | padding: 0 .2em !important; |
|
232 | padding: 0 .2em !important; | |
233 | border: 1px solid #dedede !important; |
|
233 | border: 1px solid #dedede !important; | |
234 | } |
|
234 | } | |
235 |
|
235 | |||
236 | div.rst-block pre code { |
|
236 | div.rst-block pre code { | |
237 | padding: 0 !important; |
|
237 | padding: 0 !important; | |
238 | font-size: 12px !important; |
|
238 | font-size: 12px !important; | |
239 | background-color: #eee !important; |
|
239 | background-color: #eee !important; | |
240 | border: none !important; |
|
240 | border: none !important; | |
241 | } |
|
241 | } | |
242 |
|
242 | |||
243 | div.rst-block pre { |
|
243 | div.rst-block pre { | |
244 | margin: 1em 0; |
|
244 | margin: 1em 0; | |
245 | padding: @padding; |
|
245 | padding: @padding; | |
246 | border: 1px solid @grey6; |
|
246 | border: 1px solid @grey6; | |
247 | .border-radius(@border-radius); |
|
247 | .border-radius(@border-radius); | |
248 | overflow: auto; |
|
248 | overflow: auto; | |
249 | font-size: 12px; |
|
249 | font-size: 12px; | |
250 | color: #444; |
|
250 | color: #444; | |
251 | background-color: @grey7; |
|
251 | background-color: @grey7; | |
252 | } No newline at end of file |
|
252 | } |
@@ -1,138 +1,141 b'' | |||||
1 | // variables for use in all RhodeCode products |
|
1 | // variables for use in all RhodeCode products | |
2 |
|
2 | |||
3 | // FONTS |
|
3 | // FONTS | |
4 | //Primary Colors (brand) |
|
4 | //Primary Colors (brand) | |
5 | @rcblue: #427cc9; //RhodeCode blue |
|
5 | @rcblue: #427cc9; //RhodeCode blue | |
6 | @rcdarkblue: #305b91; //RhodeCode dark blue |
|
6 | @rcdarkblue: #305b91; //RhodeCode dark blue | |
7 | @rclightblue: lighten(@rcblue, 30%); |
|
7 | @rclightblue: lighten(@rcblue, 30%); | |
8 | @rchighlightblue: lighten(@rcblue, 35%); |
|
8 | @rchighlightblue: lighten(@rcblue, 35%); | |
9 |
|
9 | |||
10 | // Secondary Colors (greyscale) |
|
10 | // Secondary Colors (greyscale) | |
11 | @grey1: #202020; //midnight |
|
11 | @grey1: #202020; //midnight | |
12 | @grey2: #323232; //charcoal |
|
12 | @grey2: #323232; //charcoal | |
13 | @grey3: #666666; //tungsten |
|
13 | @grey3: #666666; //tungsten | |
14 | @grey4: #979797; //light grey |
|
14 | @grey4: #979797; //light grey | |
15 | @grey5: #dbd9da; //greyish |
|
15 | @grey5: #dbd9da; //greyish | |
16 | @grey6: #eeeeee; //silver |
|
16 | @grey6: #eeeeee; //silver | |
17 | @grey7: #f9f9f9; //light silver |
|
17 | @grey7: #f9f9f9; //light silver | |
18 |
|
18 | |||
19 | // special for navigation |
|
19 | // special for navigation | |
20 | @nav-grey: #CDCCCD; |
|
20 | @nav-grey: #CDCCCD; | |
21 |
|
21 | |||
22 | @grey5-alpha: rgba(219, 217, 218, 0.3); |
|
22 | @grey5-alpha: rgba(219, 217, 218, 0.3); | |
23 |
|
23 | |||
24 | // Tertiary Colors |
|
24 | // Tertiary Colors | |
25 | @color1: #879938; //olive green |
|
25 | @color1: #879938; //olive green | |
26 | @color2: #fcc93a; //bright yellow |
|
26 | @color2: #fcc93a; //bright yellow | |
27 | @color3: #ff9e07; //orange-yellow |
|
27 | @color3: #ff9e07; //orange-yellow | |
28 | @color4: #fc663a; //bright orange |
|
28 | @color4: #fc663a; //bright orange | |
29 | @color5: #d63d44; //signal red |
|
29 | @color5: #d63d44; //signal red | |
30 | @color6: #99287c; //violet |
|
30 | @color6: #99287c; //violet | |
31 | @color7: #682668; //dark purple |
|
31 | @color7: #682668; //dark purple | |
32 | @color8: #194f8e; //dark blue |
|
32 | @color8: #194f8e; //dark blue | |
33 |
|
33 | |||
34 | // Alert Colors (bright) |
|
34 | // Alert Colors (bright) | |
35 | @alert1: #0ac878; //bright green |
|
35 | @alert1: #0ac878; //bright green | |
36 | @alert2: #e85e4d; //soft red |
|
36 | @alert2: #e85e4d; //soft red | |
37 | @alert3: #ffc854; //corn yellow |
|
37 | @alert3: #ffc854; //corn yellow | |
38 | @alert4: #84a5d2; //light blue |
|
38 | @alert4: #84a5d2; //light blue | |
39 |
|
39 | |||
40 | // Alert Inner Colors |
|
40 | // Alert Inner Colors | |
41 | @alert1-inner: #daf7eb; //bright green |
|
41 | @alert1-inner: #daf7eb; //bright green | |
42 | @alert2-inner: #fbdfdb; //soft red |
|
42 | @alert2-inner: #fbdfdb; //soft red | |
43 | @alert3-inner: #fff4dd; //corn yellow |
|
43 | @alert3-inner: #fff4dd; //corn yellow | |
44 | @alert4-inner: #e6edf6; //light blue |
|
44 | @alert4-inner: #e6edf6; //light blue | |
45 |
|
45 | |||
46 | // Highlight color for lines and colors |
|
46 | // Highlight color for lines and colors | |
47 | @comment-highlight-color: #ffd887; |
|
47 | @comment-highlight-color: #ffd887; | |
48 |
|
48 | |||
49 | // FONTS |
|
49 | // FONTS | |
50 | @basefontsize: 13px; |
|
50 | @basefontsize: 13px; | |
51 | @navigation-fontsize: 14px; |
|
51 | @navigation-fontsize: 14px; | |
52 | @journal-fontsize: @basefontsize+7px; |
|
52 | @journal-fontsize: @basefontsize+7px; | |
53 | @text-color: @grey2; |
|
53 | @text-color: @grey2; | |
54 | @repo-title-fontsize: 18px; |
|
54 | @repo-title-fontsize: 18px; | |
55 |
|
55 | |||
56 | @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
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 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
59 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
58 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
60 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
59 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
61 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
60 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
62 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
61 | @text-code: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; |
|
63 | @text-code: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; | |
|
64 | ||||
62 | @text-light: @text-regular; |
|
65 | @text-light: @text-regular; | |
63 | @text-light-italic: @text-italic; |
|
66 | @text-light-italic: @text-italic; | |
64 | // Used for .close buttons |
|
67 | // Used for .close buttons | |
65 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
68 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
66 |
|
69 | |||
67 | @panel-title: @basefontsize; |
|
70 | @panel-title: @basefontsize; | |
68 | @panel-footer: @basefontsize; |
|
71 | @panel-footer: @basefontsize; | |
69 |
|
72 | |||
70 | // BORDERS |
|
73 | // BORDERS | |
71 | @border-thickness: 1px; |
|
74 | @border-thickness: 1px; | |
72 | @border-thickness-buttons: 1px; |
|
75 | @border-thickness-buttons: 1px; | |
73 | @border-thickness-tags: 1px; |
|
76 | @border-thickness-tags: 1px; | |
74 | @border-radius: 2px; |
|
77 | @border-radius: 2px; | |
75 | @border-default-color: @grey5; |
|
78 | @border-default-color: @grey5; | |
76 | @border-highlight-color: @grey4; |
|
79 | @border-highlight-color: @grey4; | |
77 |
|
80 | |||
78 | // SPACING |
|
81 | // SPACING | |
79 | @contentpadding: 15px; //padding on left and right of pages |
|
82 | @contentpadding: 15px; //padding on left and right of pages | |
80 | @pagepadding: 40px; //padding on top and bottom of pages |
|
83 | @pagepadding: 40px; //padding on top and bottom of pages | |
81 | @menupadding: 12px; //padding for sidebar and content |
|
84 | @menupadding: 12px; //padding for sidebar and content | |
82 | @sidebarpadding: 15px; //spacing between sections |
|
85 | @sidebarpadding: 15px; //spacing between sections | |
83 | @space: 40px; //spacing between sections |
|
86 | @space: 40px; //spacing between sections | |
84 | @padding: 15px; //padding inside modules |
|
87 | @padding: 15px; //padding inside modules | |
85 | @textmargin: 20px; //spacing below headers |
|
88 | @textmargin: 20px; //spacing below headers | |
86 | @header-padding: 20px; |
|
89 | @header-padding: 20px; | |
87 | @panel-padding: @padding; |
|
90 | @panel-padding: @padding; | |
88 | @gravatar-size: 16px; // height/width of gravatar w/o border |
|
91 | @gravatar-size: 16px; // height/width of gravatar w/o border | |
89 |
|
92 | |||
90 | // ADMIN |
|
93 | // ADMIN | |
91 | @form-max-width: 750px; |
|
94 | @form-max-width: 750px; | |
92 |
|
95 | |||
93 | // FORMS (new) |
|
96 | // FORMS (new) | |
94 | @border-thickness-inputs: 1px; |
|
97 | @border-thickness-inputs: 1px; | |
95 | @input-padding: @button-padding; //needs to match button padding |
|
98 | @input-padding: @button-padding; //needs to match button padding | |
96 | // TODO: johbo: Needed for working computation of paddings around labels etc. |
|
99 | // TODO: johbo: Needed for working computation of paddings around labels etc. | |
97 | // Expected to be replaced once we are done with the form refactoring. |
|
100 | // Expected to be replaced once we are done with the form refactoring. | |
98 | @input-padding-px: 12px; |
|
101 | @input-padding-px: 12px; | |
99 | @legend-width: 220px; |
|
102 | @legend-width: 220px; | |
100 | @form-vertical-margin: 20px; |
|
103 | @form-vertical-margin: 20px; | |
101 | @form-check-width: 20px; |
|
104 | @form-check-width: 20px; | |
102 | @form-radio-width: 10px; |
|
105 | @form-radio-width: 10px; | |
103 | @form-textcolor: @grey3; |
|
106 | @form-textcolor: @grey3; | |
104 |
|
107 | |||
105 | // FORMS |
|
108 | // FORMS | |
106 | @label-width: 220px; |
|
109 | @label-width: 220px; | |
107 | //TODO: lisa: Eventually we don't need both of these; remove |
|
110 | //TODO: lisa: Eventually we don't need both of these; remove | |
108 | // label-width when legend-width is no longer used |
|
111 | // label-width when legend-width is no longer used | |
109 |
|
112 | |||
110 | @input-border-thickness: @border-thickness; |
|
113 | @input-border-thickness: @border-thickness; | |
111 | @medium-inline-input-width: 115px; |
|
114 | @medium-inline-input-width: 115px; | |
112 | @input-description-minwidth: 300px; |
|
115 | @input-description-minwidth: 300px; | |
113 | @label2-width: 200px; |
|
116 | @label2-width: 200px; | |
114 | @checkboxes-width: 420px; |
|
117 | @checkboxes-width: 420px; | |
115 | @label-summary-minwidth: 80px; |
|
118 | @label-summary-minwidth: 80px; | |
116 | @search-form-width: 400px; |
|
119 | @search-form-width: 400px; | |
117 | @fields-input-m: 400px; |
|
120 | @fields-input-m: 400px; | |
118 | @fields-input-l: 800px; |
|
121 | @fields-input-l: 800px; | |
119 |
|
122 | |||
120 | // BUTTONS |
|
123 | // BUTTONS | |
121 | @button-padding: .9em; |
|
124 | @button-padding: .9em; | |
122 |
|
125 | |||
123 | // DEFAULT WIDTHS |
|
126 | // DEFAULT WIDTHS | |
124 | @wrapper-maxwidth: 1200px; |
|
127 | @wrapper-maxwidth: 1200px; | |
125 | @sidebar-width: 145px; |
|
128 | @sidebar-width: 145px; | |
126 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; |
|
129 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; | |
127 | @sidebar-small-width: 100px; |
|
130 | @sidebar-small-width: 100px; | |
128 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; |
|
131 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; | |
129 | @texteditor-width: 660px; |
|
132 | @texteditor-width: 660px; | |
130 | @maincontent-maxwidth: 940px; |
|
133 | @maincontent-maxwidth: 940px; | |
131 | @pullrequest-width: 1025px; |
|
134 | @pullrequest-width: 1025px; | |
132 | @summary-menu-stats-width: 200px; |
|
135 | @summary-menu-stats-width: 200px; | |
133 |
|
136 | |||
134 | // SCREEN WIDTHS |
|
137 | // SCREEN WIDTHS | |
135 | @screen-sm-min: 320px; |
|
138 | @screen-sm-min: 320px; | |
136 |
|
139 | |||
137 | // For Bootstrap |
|
140 | // For Bootstrap | |
138 | @panel-border-radius: @border-radius; |
|
141 | @panel-border-radius: @border-radius; |
General Comments 0
You need to be logged in to leave comments.
Login now