Show More
@@ -1,287 +1,285 b'' | |||
|
1 | 1 | // summary.less |
|
2 | 2 | // For use in RhodeCode applications; |
|
3 | 3 | // Used for headers and file detail summary screens. |
|
4 | 4 | |
|
5 | 5 | .summary { |
|
6 | 6 | float: left; |
|
7 | 7 | position: relative; |
|
8 | 8 | width: 100%; |
|
9 | 9 | margin: 0; |
|
10 | 10 | padding: 0; |
|
11 | 11 | |
|
12 | 12 | .summary-detail-header { |
|
13 | 13 | float: left; |
|
14 | 14 | display: block; |
|
15 | 15 | width: 100%; |
|
16 | 16 | margin-bottom: @textmargin; |
|
17 | 17 | padding: 0 0 .5em 0; |
|
18 | 18 | border-bottom: @border-thickness solid @border-default-color; |
|
19 | 19 | |
|
20 | 20 | .breadcrumbs { |
|
21 | 21 | float: left; |
|
22 | 22 | display: inline; |
|
23 | 23 | margin: 0; |
|
24 | 24 | padding: 0; |
|
25 | 25 | } |
|
26 | 26 | h4 { |
|
27 | 27 | float: left; |
|
28 | 28 | margin: 0 1em 0 0; |
|
29 | 29 | padding: 0; |
|
30 | 30 | line-height: 1.2em; |
|
31 | 31 | font-size: @basefontsize; |
|
32 | 32 | } |
|
33 | 33 | |
|
34 | 34 | .action_link { |
|
35 | 35 | float: right; |
|
36 | 36 | } |
|
37 | 37 | |
|
38 | 38 | .new-file { |
|
39 | 39 | float: right; |
|
40 | 40 | margin-top: -1.5em; |
|
41 | 41 | } |
|
42 | 42 | } |
|
43 | 43 | |
|
44 | 44 | .summary-detail { |
|
45 | 45 | float: left; |
|
46 | 46 | position: relative; |
|
47 | 47 | width: 73%; |
|
48 | 48 | margin: 0 3% @space 0; |
|
49 | 49 | padding: 0; |
|
50 | 50 | |
|
51 | 51 | .file_diff_buttons { |
|
52 | 52 | margin-top: @space; |
|
53 | 53 | } |
|
54 | 54 | |
|
55 | 55 | // commit message |
|
56 | 56 | .commit { |
|
57 | 57 | white-space: pre-wrap; |
|
58 | 58 | } |
|
59 | 59 | |
|
60 | 60 | .left-clone { |
|
61 | 61 | float: left; |
|
62 | 62 | height: 30px; |
|
63 | 63 | margin: 0; |
|
64 | 64 | padding: 0; |
|
65 | 65 | font-weight: @text-semibold-weight; |
|
66 | 66 | font-family: @text-semibold; |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | .right-clone { |
|
70 | 70 | float: right; |
|
71 | 71 | width: 83%; |
|
72 | 72 | } |
|
73 | 73 | |
|
74 | 74 | .clone_url_input { |
|
75 | 75 | width: ~"calc(100% - 35px)"; |
|
76 | 76 | padding: 5px; |
|
77 | 77 | } |
|
78 | 78 | |
|
79 | 79 | &.directory { |
|
80 | 80 | margin-bottom: 0; |
|
81 | 81 | } |
|
82 | 82 | |
|
83 | 83 | .desc { |
|
84 | 84 | white-space: pre-wrap; |
|
85 | 85 | } |
|
86 | 86 | .disabled { |
|
87 | 87 | opacity: .5; |
|
88 | 88 | cursor: inherit; |
|
89 | 89 | } |
|
90 | 90 | .help-block { |
|
91 | 91 | color: inherit; |
|
92 | 92 | margin: 0; |
|
93 | 93 | } |
|
94 | 94 | } |
|
95 | 95 | |
|
96 | 96 | .sidebar-right { |
|
97 | 97 | float: left; |
|
98 | 98 | width: 24%; |
|
99 | 99 | margin: 0; |
|
100 | 100 | padding: 0; |
|
101 | 101 | |
|
102 | 102 | ul { |
|
103 | 103 | margin-left: 0; |
|
104 | 104 | padding-left: 0; |
|
105 | 105 | |
|
106 | 106 | li { |
|
107 | 107 | list-style-type: none; |
|
108 | 108 | } |
|
109 | 109 | } |
|
110 | 110 | } |
|
111 | 111 | |
|
112 | 112 | #clone_by_name, #clone_by_id{ |
|
113 | 113 | display: inline-block; |
|
114 | 114 | margin-left: 0px; |
|
115 | 115 | } |
|
116 | 116 | |
|
117 | 117 | .codeblock { |
|
118 | 118 | border: none; |
|
119 | 119 | background-color: transparent; |
|
120 | 120 | } |
|
121 | 121 | |
|
122 | 122 | .code-body { |
|
123 | 123 | border: @border-thickness solid @border-default-color; |
|
124 | 124 | .border-radius(@border-radius); |
|
125 | 125 | } |
|
126 | 126 | } |
|
127 | 127 | |
|
128 | 128 | // this is used outside of just the summary |
|
129 | 129 | .fieldset, // similar to form fieldset |
|
130 | 130 | .summary .sidebar-right-content { // these have to match |
|
131 | 131 | clear: both; |
|
132 | 132 | float: left; |
|
133 | 133 | position: relative; |
|
134 | 134 | display:block; |
|
135 | 135 | width: 100%; |
|
136 | 136 | min-height: 1em; |
|
137 | 137 | margin-bottom: @textmargin; |
|
138 | 138 | padding: 0; |
|
139 | 139 | line-height: 1.2em; |
|
140 | 140 | |
|
141 | 141 | &:after { // clearfix |
|
142 | 142 | content: ""; |
|
143 | 143 | clear: both; |
|
144 | 144 | width: 100%; |
|
145 | 145 | height: 1em; |
|
146 | 146 | } |
|
147 | 147 | } |
|
148 | 148 | |
|
149 | 149 | .summary .sidebar-right-content { |
|
150 | 150 | margin-bottom: @space; |
|
151 | 151 | |
|
152 | 152 | .rc-user { |
|
153 | 153 | min-width: 0; |
|
154 | 154 | } |
|
155 | 155 | } |
|
156 | 156 | |
|
157 | 157 | .fieldset { |
|
158 | 158 | |
|
159 | 159 | .left-label { // similar to form legend |
|
160 | 160 | float: left; |
|
161 | 161 | display: block; |
|
162 | 162 | width: 25%; |
|
163 | 163 | margin: 0; |
|
164 | 164 | padding: 0; |
|
165 | 165 | font-weight: @text-semibold-weight; |
|
166 | 166 | font-family: @text-semibold; |
|
167 | 167 | } |
|
168 | 168 | |
|
169 | 169 | .left-label-summary { |
|
170 | 170 | .left-label; |
|
171 | 171 | width: 150px; |
|
172 | 172 | } |
|
173 | 173 | |
|
174 | 174 | .right-content { // similar to form fields |
|
175 | 175 | float: left; |
|
176 | 176 | display: block; |
|
177 | 177 | width: 75%; |
|
178 | 178 | margin: 0 0 0 -15%; |
|
179 | 179 | padding: 0 0 0 15%; |
|
180 | 180 | |
|
181 | 181 | .truncate-wrap, |
|
182 | 182 | .truncate { |
|
183 | 183 | max-width: 100%; |
|
184 | 184 | width: 100%; |
|
185 | 185 | } |
|
186 | 186 | |
|
187 | 187 | .commit-long { |
|
188 | 188 | overflow-x: auto; |
|
189 | 189 | } |
|
190 | 190 | } |
|
191 | 191 | .commit.truncate-wrap { |
|
192 | 192 | overflow:hidden; |
|
193 | 193 | text-overflow: ellipsis; |
|
194 | 194 | } |
|
195 | 195 | } |
|
196 | 196 | |
|
197 | 197 | // expand commit message |
|
198 | 198 | #message_expand { |
|
199 | 199 | clear: both; |
|
200 | 200 | display: block; |
|
201 | 201 | color: @rcblue; |
|
202 | 202 | cursor: pointer; |
|
203 | 203 | } |
|
204 | 204 | |
|
205 | 205 | #trimmed_message_box { |
|
206 | 206 | max-height: floor(2 * @basefontsize * 1.2); // 2 lines * line-height |
|
207 | 207 | overflow: hidden; |
|
208 | 208 | } |
|
209 | 209 | |
|
210 | 210 | // show/hide comments button |
|
211 | 211 | .show-inline-comments { |
|
212 | 212 | display: inline; |
|
213 | 213 | cursor: pointer; |
|
214 | 214 | |
|
215 | 215 | .comments-show { display: inline; } |
|
216 | 216 | .comments-hide { display: none; } |
|
217 | 217 | |
|
218 | 218 | &.comments-visible { |
|
219 | 219 | .comments-show { display: none; } |
|
220 | 220 | .comments-hide { display: inline; } |
|
221 | 221 | } |
|
222 | 222 | } |
|
223 | 223 | |
|
224 | 224 | // Quick Start section |
|
225 | 225 | .quick_start { |
|
226 | 226 | float: left; |
|
227 | 227 | display: block; |
|
228 | 228 | position: relative; |
|
229 | 229 | width: 100%; |
|
230 | 230 | |
|
231 | 231 | // adds some space to make copy and paste easier |
|
232 | 232 | .left-label, |
|
233 | 233 | .right-content { |
|
234 | 234 | line-height: 1.6em; |
|
235 | 235 | } |
|
236 | 236 | } |
|
237 | 237 | |
|
238 | 238 | .submodule { |
|
239 | 239 | .summary-detail { |
|
240 | 240 | width: 100%; |
|
241 | 241 | |
|
242 | 242 | .btn-collapse { |
|
243 | 243 | display: none; |
|
244 | 244 | } |
|
245 | 245 | } |
|
246 | 246 | } |
|
247 | 247 | |
|
248 | 248 | .codeblock-header { |
|
249 | 249 | float: left; |
|
250 | 250 | display: block; |
|
251 | 251 | width: 100%; |
|
252 | 252 | margin: 0; |
|
253 | 253 | padding: @space 0 10px 0; |
|
254 | 254 | border-top: @border-thickness solid @border-default-color; |
|
255 | 255 | |
|
256 | 256 | .stats { |
|
257 | 257 | float: left; |
|
258 | width: 50%; | |
|
259 | 258 | } |
|
260 | 259 | .stats-filename { |
|
261 | 260 | font-size: 120%; |
|
262 | 261 | } |
|
263 | 262 | .stats-first-item { |
|
264 | 263 | padding: 0px 0px 0px 3px; |
|
265 | 264 | } |
|
266 | 265 | |
|
267 | 266 | .buttons { |
|
268 | 267 | float: right; |
|
269 | width: 50%; | |
|
270 | 268 | text-align: right; |
|
271 | 269 | color: @grey4; |
|
272 | 270 | } |
|
273 | 271 | } |
|
274 | 272 | |
|
275 | 273 | #summary-menu-stats { |
|
276 | 274 | |
|
277 | 275 | .stats-bullet { |
|
278 | 276 | color: @grey3; |
|
279 | 277 | min-width: 3em; |
|
280 | 278 | } |
|
281 | 279 | |
|
282 | 280 | .repo-size { |
|
283 | 281 | margin-bottom: .5em; |
|
284 | 282 | } |
|
285 | 283 | |
|
286 | 284 | } |
|
287 | 285 |
General Comments 0
You need to be logged in to leave comments.
Login now