##// END OF EJS Templates
reduce the size of repo in contextbar, it was too big and looked awkward.
marcink -
r3661:2487fc74 beta
parent child Browse files
Show More
@@ -1,342 +1,342 b''
1 1 /**
2 2 * Stylesheets for the context bar
3 3 */
4 4
5 5 #quick .repo_switcher { background-image: url("../images/icons/database.png"); }
6 6 #quick .journal { background-image: url("../images/icons/book.png"); }
7 7 #quick .search { background-image: url("../images/icons/search_16.png"); }
8 8 #quick .admin { background-image: url("../images/icons/cog_edit.png"); }
9 9
10 10 #context-bar a.follow { background-image: url("../images/icons/heart.png"); }
11 11 #context-bar a.following { background-image: url("../images/icons/heart_delete.png"); }
12 12 #context-bar a.fork { background-image: url("../images/icons/arrow_divide.png"); }
13 13 #context-bar a.summary { background-image: url("../images/icons/clipboard_16.png"); }
14 14 #context-bar a.changelogs { background-image: url("../images/icons/time.png"); }
15 15 #context-bar a.files { background-image: url("../images/icons/file.png"); }
16 16 #context-bar a.switch-to { background-image: url("../images/icons/arrow_switch.png"); }
17 17 #context-bar a.options { background-image: url("../images/icons/table_gear.png"); }
18 18 #context-bar a.forks { background-image: url("../images/icons/arrow_divide.png"); }
19 19 #context-bar a.pull-request { background-image: url("../images/icons/arrow_join.png"); }
20 20 #context-bar a.branches { background-image: url("../images/icons/arrow_branch.png"); }
21 21 #context-bar a.tags { background-image: url("../images/icons/tag_blue.png"); }
22 22 #context-bar a.bookmarks { background-image: url("../images/icons/tag_green.png"); }
23 23 #context-bar a.settings { background-image: url("../images/icons/cog.png"); }
24 24 #context-bar a.shortlog { background-image: url("../images/icons/time.png"); }
25 25 #context-bar a.search { background-image: url("../images/icons/search_16.png"); }
26 26 #context-bar a.admin { background-image: url("../images/icons/cog_edit.png"); }
27 27
28 28 #context-bar a.journal { background-image: url("../images/icons/book.png"); }
29 29 #context-bar a.repos { background-image: url("../images/icons/database_edit.png"); }
30 30 #context-bar a.repos_groups { background-image: url("../images/icons/database_link.png"); }
31 31 #context-bar a.users { background-image: url("../images/icons/user_edit.png"); }
32 32 #context-bar a.groups { background-image: url("../images/icons/group_edit.png"); }
33 33 #context-bar a.permissions { background-image: url("../images/icons/key.png"); }
34 34 #context-bar a.ldap { background-image: url("../images/icons/server_key.png"); }
35 35 #context-bar a.defaults { background-image: url("../images/icons/wrench.png"); }
36 36 #context-bar a.settings { background-image: url("../images/icons/cog_edit.png"); }
37 37 #context-bar a.compare_request { background-image: url('../images/icons/arrow_inout.png')}
38 38 #context-bar a.locking_del { background-image: url('../images/icons/lock_delete.png')}
39 39 #context-bar a.locking_add { background-image: url('../images/icons/lock_add.png')}
40 40
41 41 #content #context-bar {
42 42 position: relative;
43 43 overflow: visible;
44 44 background-color: #336699;
45 45 border-top: 1px solid #517da8;
46 46 border-bottom: 1px solid #003162;
47 47 padding: 0 5px;
48 48 min-height: 36px;
49 49 }
50 50
51 51 #header #header-inner #quick a,
52 52 #content #context-bar,
53 53 #content #context-bar a {
54 54 color: #FFFFFF;
55 55 }
56 56
57 57 #header #header-inner #quick a:hover,
58 58 #content #context-bar a:hover {
59 59 text-decoration: none;
60 60 }
61 61
62 62 #content #context-bar .icon {
63 63 display: inline-block;
64 64 width: 16px;
65 65 height: 16px;
66 66 vertical-align: text-bottom;
67 67 }
68 68
69 69 ul.horizontal-list {
70 70 display: block;
71 71 }
72 72
73 73 ul.horizontal-list > li {
74 74 float: left;
75 75 position: relative;
76 76 }
77 77
78 78 #header #header-inner #quick ul,
79 79 ul.horizontal-list > li ul {
80 80 position: absolute;
81 81 display: none;
82 82 right: 0;
83 83 z-index: 999;
84 84 }
85 85
86 86 #header #header-inner #quick li:hover > ul,
87 87 ul.horizontal-list li:hover > ul {
88 88 display: block;
89 89 }
90 90
91 91 #header #header-inner #quick li ul li,
92 92 ul.horizontal-list ul li {
93 93 position: relative;
94 94 border-bottom: 1px solid rgba(0,0,0,0.1);
95 95 border-top: 1px solid rgba(255,255,255,0.1);
96 96 }
97 97
98 98 ul.horizontal-list > li ul ul {
99 99 position: absolute;
100 100 right: 100%;
101 101 top: -1px;
102 102 min-width: 200px;
103 103 max-height: 400px;
104 104 overflow-x: hidden;
105 105 overflow-y: auto;
106 106 }
107 107
108 108 #header #header-inner #quick ul a,
109 109 ul.horizontal-list li a {
110 110 white-space: nowrap;
111 111 }
112 112
113 113 #breadcrumbs {
114 114 float: left;
115 padding: 3px 0 5px 0;
115 padding: 6px 0 5px 0;
116 116 padding-left: 5px;
117 117 font-weight: bold;
118 118 font-size: 14px;
119 119 }
120 120
121 121 #breadcrumbs span {
122 122 font-weight: bold;
123 font-size: 1.8em;
123 font-size: 1.4em;
124 124 }
125 125
126 126 #header #header-inner #quick ul,
127 127 #revision-changer,
128 128 #context-pages,
129 129 #context-pages ul {
130 130 background: #3b6998; /* Old browsers */
131 131 background: -moz-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* FF3.6+ */
132 132 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4574a2), color-stop(100%,#2f5d8b)); /* Chrome,Safari4+ */
133 133 background: -webkit-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Chrome10+,Safari5.1+ */
134 134 background: -o-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* Opera 11.10+ */
135 135 background: -ms-linear-gradient(top, #4574a2 0%, #2f5d8b 100%); /* IE10+ */
136 136 background: linear-gradient(to bottom, #4574a2 0%, #2f5d8b 100%); /* W3C */
137 137 /*Filter on IE will also use overflow:hidden implicitly, and that would clip our inner menus.*/
138 138 /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4574a2', endColorstr='#2f5d8b',GradientType=0 ); /* IE6-9 */*/
139 139 }
140 140
141 141 #header #header-inner #quick a,
142 142 #context-actions a,
143 143 #context-pages a {
144 144 background-repeat: no-repeat;
145 145 background-position: 10px 50%;
146 146 padding-left: 30px;
147 147 }
148 148
149 149 #quick a,
150 150 #context-pages ul ul a {
151 151 padding-left: 10px;
152 152 }
153 153
154 154 ul#context-actions {
155 155 display: inline-block;
156 156 float: right;
157 157 border-radius: 4px;
158 158 background-image: linear-gradient(top, #4574a2 0%, #2f5d8b 100%);
159 159 }
160 160
161 161 #content ul#context-actions li {
162 162 padding: 0px;
163 163 border-right: 1px solid rgba(0,0,0,0.1);
164 164 border-left: 1px solid rgba(255,255,255,0.1);
165 165 }
166 166
167 167 #context-actions a {
168 168 display: block;
169 169 cursor: pointer;
170 170 background: none;
171 171 border: none;
172 172 margin: 0px;
173 173 height: auto;
174 174 padding: 10px 10px 10px 30px;
175 175 background-repeat: no-repeat;
176 176 background-position: 10px 50%;
177 177 font-size: 1em;
178 178 }
179 179
180 180 #context-actions a {
181 181 padding: 11px 10px 12px 30px;
182 182 }
183 183
184 184 #header #header-inner #quick li:hover,
185 185 #revision-changer:hover,
186 186 #context-pages li:hover,
187 187 #context-actions li:hover,
188 188 #content #context-actions li:hover,
189 189 #header #header-inner #quick li.current,
190 190 #context-pages li.current {
191 191 background: #6388ad; /* Old browsers */
192 192 background: -moz-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* FF3.6+ */
193 193 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0.1)), color-stop(100%,rgba(255,255,255,0))); /* Chrome,Safari4+ */
194 194 background: -webkit-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Chrome10+,Safari5.1+ */
195 195 background: -o-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* Opera 11.10+ */
196 196 background: -ms-linear-gradient(top, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* IE10+ */
197 197 background: linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%); /* W3C */
198 198 /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#88bfe8', endColorstr='#70b0e0',GradientType=0 ); /* IE6-9 */*/
199 199 }
200 200
201 201
202 202 #content #context-actions li:first-child {
203 203 border-left: none;
204 204 border-radius: 4px 0 0px 4px;
205 205 }
206 206
207 207 #content #context-actions li:last-child {
208 208 border-right: none;
209 209 border-radius: 0 4px 4px 0;
210 210 }
211 211
212 212 #content #context-actions .icon {
213 213 margin: auto;
214 214 margin-bottom: 5px;
215 215 display: block;
216 216 clear: both;
217 217 float: none;
218 218 }
219 219
220 220 #content #context-pages .follow .show-following,
221 221 #content #context-pages .following .show-follow {
222 222 display: none;
223 223 }
224 224
225 225 #context-pages {
226 226 float: right;
227 227 border-left: 1px solid rgba(0,0,0,0.1);
228 228 }
229 229
230 230 #context-pages li.current {
231 231 background: #535353; /* Old browsers */
232 232 background: -moz-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* FF3.6+ */
233 233 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5d5d5d), color-stop(100%,#484848)); /* Chrome,Safari4+ */
234 234 background: -webkit-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Chrome10+,Safari5.1+ */
235 235 background: -o-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* Opera 11.10+ */
236 236 background: -ms-linear-gradient(top, #5d5d5d 0%, #484848 100%); /* IE10+ */
237 237 background: linear-gradient(to bottom, #5d5d5d 0%, #484848 100%); /* W3C */
238 238 }
239 239
240 240 #content #context-pages .icon {
241 241 margin-right: 5px;
242 242 }
243 243
244 244 #header #header-inner #quick li,
245 245 #content #context-pages li {
246 246 border-right: 1px solid rgba(0,0,0,0.1);
247 247 border-left: 1px solid rgba(255,255,255,0.1);
248 248 padding: 0;
249 249 }
250 250 #header #header-inner #quick li:last-child,
251 251 #content #context-pages li:last-child {
252 252 border-right: none;
253 253 }
254 254
255 255 #header #header-inner #quick > li:first-child {
256 256 border-left: none;
257 257 }
258 258
259 259 #header #header-inner #quick > li:first-child > a {
260 260 border-radius: 4px 0 0 4px;
261 261 }
262 262
263 263 #header #header-inner #quick a,
264 264 #context-pages a,
265 265 #context-pages .admin_menu a {
266 266 display: block;
267 267 padding: 0px 10px 1px 30px;
268 268 padding-left: 30px;
269 269 line-height: 35px;
270 270 }
271 271
272 272 #header #header-inner #quick a.thin,
273 273 #context-pages a.thin,
274 274 #context-pages .admin_menu a.thin {
275 275 line-height: 28px !important;
276 276 }
277 277
278 278 #header #header-inner #quick a#quick_login_link {
279 279 padding-left: 0px;
280 280 }
281 281
282 282 #header #header-inner #quick a {
283 283 overflow: hidden;
284 284 }
285 285 #quick a.childs:after,
286 286 #revision-changer:before,
287 287 #context-pages a.childs:after,
288 288 #context-pages a.dropdown:after {
289 289 content: ' \25BE';
290 290 }
291 291 #context-pages a.childs {
292 292 padding-right: 30px;
293 293 }
294 294 #context-pages a.childs:after {
295 295 position: absolute;
296 296 float: right;
297 297 padding-left: 5px;
298 298 padding-right: 5px;
299 299 }
300 300
301 301 #revision-changer:before {
302 302 position: absolute;
303 303 top: 0px;
304 304 right: 0px;
305 305 border-right: 1px solid rgba(0,0,0,0.1);
306 306 height: 25px;
307 307 padding-top: 10px;
308 308 padding-right: 10px;
309 309 }
310 310
311 311 #context-pages li:last-child a {
312 312 padding-right: 10px;
313 313 }
314 314
315 315 #context-bar #revision-changer {
316 316 position: relative;
317 317 cursor: pointer;
318 318 border: none;
319 319 padding: 0;
320 320 margin: 0;
321 321 color: #FFFFFF;
322 322 font-size: 0.85em;
323 323 padding: 2px 15px;
324 324 padding-bottom: 3px;
325 325 padding-right: 30px;
326 326 border-right: 1px solid rgba(255,255,255,0.1);
327 327 }
328 328
329 329 #revision-changer .branch-name,
330 330 #revision-changer .revision {
331 331 display: block;
332 332 text-align: center;
333 333 line-height: 1.5em;
334 334 }
335 335
336 336 #revision-changer .branch-name {
337 337 font-weight: bold;
338 338 }
339 339
340 340 #revision-changer .revision {
341 341 text-transform: uppercase;
342 342 }
General Comments 0
You need to be logged in to leave comments. Login now