Revision 7a245cde
b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.css | ||
---|---|---|
1 |
/*! |
|
2 |
* Bootstrap @VERSION |
|
3 |
* |
|
4 |
* Copyright 2011 Twitter, Inc |
|
5 |
* Licensed under the Apache License v2.0 |
|
6 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
7 |
* |
|
8 |
* Designed and built with all the love in the world @twitter by @mdo and @fat. |
|
9 |
* Date: @DATE |
|
10 |
*/ |
|
11 | 1 |
/* Variables.less |
12 | 2 |
* Variables to customize the look and feel of Bootstrap |
13 | 3 |
* ----------------------------------------------------- */ |
... | ... | |
60 | 50 |
font-weight: bold; |
61 | 51 |
background-color: #333; |
62 | 52 |
} |
53 |
.servicesbar a img { |
|
54 |
border: none; |
|
55 |
margin: 1px; |
|
56 |
margin-bottom: 2px; |
|
57 |
} |
|
63 | 58 |
.servicesbar .services { |
64 | 59 |
zoom: 1; |
65 | 60 |
} |
... | ... | |
76 | 71 |
zoom: 1; |
77 | 72 |
text-align: right; |
78 | 73 |
min-width: 200px; |
74 |
width: 200px; |
|
79 | 75 |
background-color: #000000; |
80 | 76 |
zoom: 1; |
81 | 77 |
position: absolute; |
... | ... | |
105 | 101 |
float: none; |
106 | 102 |
display: block; |
107 | 103 |
} |
108 |
.servicesbar .profile:hover { |
|
104 |
.servicesbar .profile:hover, .servicesbar .profile.hover {
|
|
109 | 105 |
background-color: #222; |
110 | 106 |
} |
111 |
.servicesbar .profile:hover ul { |
|
107 |
.servicesbar .profile:hover ul, .servicesbar .profile.hover ul {
|
|
112 | 108 |
display: block; |
113 | 109 |
} |
114 | 110 |
.servicesbar .profile:before, .servicesbar .profile:after { |
b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.js | ||
---|---|---|
90 | 90 |
root.prepend(bar); |
91 | 91 |
var firstlink = profile.find("ul li:first-child a").attr("href"); |
92 | 92 |
profile.find(".user > a").attr("href", firstlink); |
93 |
|
|
94 |
// ie fix |
|
95 |
user.hover(function(){$(this).addClass("hover")}, function(){$(this).removeClass("hover")}); |
|
93 | 96 |
}); |
b/snf-astakos-app/astakos/im/static/im/cloudbar/cloudbar.less | ||
---|---|---|
1 |
@import "less/bootstrap.less"; |
|
1 |
@import "less/variables.less"; |
|
2 |
@import "less/mixins.less"; |
|
2 | 3 |
|
3 | 4 |
@toolbarBg: #222; |
4 | 5 |
@toolbarColor: darken(@white, 10%); |
... | ... | |
36 | 37 |
font-weight: bold; |
37 | 38 |
background-color: #333; |
38 | 39 |
} |
40 |
|
|
41 |
img { |
|
42 |
border: none; |
|
43 |
margin: 1px; |
|
44 |
margin-bottom: 2px; |
|
45 |
} |
|
39 | 46 |
} |
40 | 47 |
|
41 | 48 |
.services { |
... | ... | |
49 | 56 |
.clearfix(); |
50 | 57 |
text-align: right; |
51 | 58 |
min-width: 200px; |
59 |
width: 200px; |
|
52 | 60 |
a { |
53 | 61 |
float: none; |
54 | 62 |
} |
... | ... | |
64 | 72 |
} |
65 | 73 |
} |
66 | 74 |
} |
67 |
&:hover { |
|
75 |
&:hover, &.hover {
|
|
68 | 76 |
background-color: #222; |
69 | 77 |
ul { |
70 | 78 |
display: block; |
Also available in: Unified diff