Show More
@@ -1,324 +1,327 b'' | |||
|
1 | 1 | //LOGIN |
|
2 | 2 | |
|
3 | 3 | |
|
4 | 4 | .loginbox { |
|
5 | 5 | max-width: 65%; |
|
6 | 6 | margin: @pagepadding auto; |
|
7 | 7 | font-family: @text-light; |
|
8 | 8 | border: @border-thickness solid @grey5; |
|
9 | 9 | box-sizing: border-box; |
|
10 | 10 | |
|
11 | 11 | @media (max-width:1200px) { |
|
12 | 12 | max-width: 85%; |
|
13 | 13 | } |
|
14 | 14 | |
|
15 | 15 | @media (max-width:768px) { |
|
16 | 16 | max-width: 100%; |
|
17 | 17 | width: 100%; |
|
18 | 18 | margin: 0; |
|
19 | 19 | } |
|
20 | 20 | |
|
21 | 21 | .title { |
|
22 | 22 | float: none; |
|
23 | 23 | } |
|
24 | 24 | |
|
25 | 25 | .header { |
|
26 | 26 | width: 100%; |
|
27 | 27 | padding: 0 35px; |
|
28 | 28 | box-sizing: border-box; |
|
29 | 29 | |
|
30 | 30 | .title { |
|
31 | 31 | padding: 0; |
|
32 | 32 | } |
|
33 | 33 | } |
|
34 | 34 | |
|
35 | 35 | .loginwrapper { |
|
36 | 36 | float: left; |
|
37 | 37 | height: 100%; |
|
38 | 38 | width: 100%; |
|
39 | 39 | padding: 35px 55px 35px 35px; |
|
40 | 40 | background-color: white; |
|
41 | 41 | box-sizing: border-box; |
|
42 | 42 | |
|
43 | 43 | @media (max-width:414px) { |
|
44 | 44 | padding: 35px; |
|
45 | 45 | } |
|
46 | 46 | } |
|
47 | 47 | |
|
48 | 48 | .left-column { |
|
49 | 49 | float: left; |
|
50 | 50 | position: relative; |
|
51 | 51 | width: 50%; |
|
52 | 52 | height: 100%; |
|
53 | 53 | |
|
54 | 54 | @media (max-width:414px) { |
|
55 | 55 | display:none; |
|
56 | 56 | } |
|
57 | 57 | } |
|
58 | 58 | |
|
59 | 59 | .right-column { |
|
60 | 60 | float: right; |
|
61 | 61 | position: relative; |
|
62 | 62 | width: 50%; |
|
63 | 63 | |
|
64 | 64 | @media (max-width:414px) { |
|
65 | 65 | width: 100%; |
|
66 | 66 | } |
|
67 | 67 | } |
|
68 | 68 | |
|
69 | 69 | .sign-in-image { |
|
70 | 70 | display: block; |
|
71 | 71 | width: 65%; |
|
72 | 72 | margin: 5% auto; |
|
73 | 73 | } |
|
74 | 74 | |
|
75 | 75 | .sign-in-title { |
|
76 | 76 | |
|
77 | 77 | h4 { |
|
78 | 78 | margin: @padding*2 0; |
|
79 | 79 | } |
|
80 | 80 | } |
|
81 | 81 | |
|
82 | 82 | .form { |
|
83 | 83 | label { |
|
84 | 84 | display: block; |
|
85 | 85 | } |
|
86 | 86 | |
|
87 | 87 | input { |
|
88 | 88 | width: 100%; |
|
89 | 89 | margin: 0 10% @padding 0; |
|
90 | 90 | .box-sizing(border-box) ; |
|
91 | 91 | |
|
92 | 92 | &[type="checkbox"] { |
|
93 | 93 | clear: both; |
|
94 | 94 | width: auto; |
|
95 | 95 | margin: 0 1em @padding 0; |
|
96 | 96 | } |
|
97 | 97 | } |
|
98 | ||
|
98 | ||
|
99 | 99 | .checkbox { |
|
100 | 100 | display: inline; |
|
101 | 101 | width: auto; |
|
102 | 102 | } |
|
103 | 103 | |
|
104 | 104 | .sign-in { |
|
105 | 105 | clear: both; |
|
106 | 106 | width: 100%; |
|
107 | 107 | margin: @padding 0; |
|
108 | 108 | } |
|
109 | 109 | .pwd_reset { |
|
110 | 110 | font-weight: normal; |
|
111 | 111 | } |
|
112 | 112 | .new_account { |
|
113 | 113 | font-weight: bold; |
|
114 | 114 | } |
|
115 | 115 | } |
|
116 | 116 | .register_message, |
|
117 | 117 | .activation_msg { |
|
118 | 118 | padding: 0 0 @padding; |
|
119 | 119 | } |
|
120 | 120 | |
|
121 | 121 | .buttons, |
|
122 | 122 | .links { |
|
123 | 123 | padding: 0; |
|
124 | 124 | } |
|
125 | 125 | |
|
126 | 126 | .buttons { |
|
127 | 127 | input { |
|
128 | 128 | margin-right: 0; |
|
129 | 129 | .box-sizing(border-box); |
|
130 | 130 | } |
|
131 | 131 | |
|
132 | 132 | #sign_up, #send { |
|
133 | 133 | width: 100%; |
|
134 | 134 | } |
|
135 | 135 | } |
|
136 | 136 | |
|
137 | 137 | .fields { |
|
138 | 138 | .field.field-compact { |
|
139 | 139 | margin-bottom: 0px; |
|
140 | 140 | } |
|
141 | 141 | |
|
142 | 142 | .buttons { |
|
143 | 143 | margin: 0; |
|
144 | 144 | } |
|
145 | 145 | |
|
146 | 146 | .field { |
|
147 | 147 | margin-bottom: 15px; |
|
148 | 148 | |
|
149 | 149 | input { |
|
150 | 150 | width: 100%; |
|
151 | 151 | .box-sizing(border-box); |
|
152 | 152 | } |
|
153 | 153 | |
|
154 | 154 | .input { |
|
155 | 155 | margin-left: 0; |
|
156 | 156 | } |
|
157 | 157 | |
|
158 | 158 | .label { |
|
159 | 159 | padding-top: 0; |
|
160 | 160 | } |
|
161 | 161 | } |
|
162 | 162 | } |
|
163 | 163 | |
|
164 | 164 | .checkbox { |
|
165 | 165 | margin: 0 0 @textmargin 0; |
|
166 | 166 | |
|
167 | 167 | input[type="checkbox"] { |
|
168 | 168 | width: auto; |
|
169 | 169 | } |
|
170 | 170 | |
|
171 | 171 | label { |
|
172 | 172 | padding: 0; |
|
173 | 173 | min-height: 0; |
|
174 | 174 | } |
|
175 | 175 | } |
|
176 | 176 | |
|
177 | 177 | .activation_msg { |
|
178 | 178 | padding: @padding 0 0; |
|
179 | 179 | color: @grey4; |
|
180 | 180 | } |
|
181 | 181 | |
|
182 | 182 | .links { |
|
183 | 183 | float: right; |
|
184 | 184 | margin: 0; |
|
185 | 185 | padding: 0; |
|
186 | 186 | line-height: 1; |
|
187 | 187 | |
|
188 | 188 | p { |
|
189 | 189 | float: right; |
|
190 | 190 | margin: 0; |
|
191 | 191 | line-height: 1.5em; |
|
192 | 192 | } |
|
193 | 193 | } |
|
194 | 194 | |
|
195 | 195 | p.help-block { |
|
196 | 196 | margin-left: 0; |
|
197 | 197 | } |
|
198 | 198 | } |
|
199 | 199 | |
|
200 | 200 | .user-menu.submenu { |
|
201 |
right: 0; |
|
|
201 | right: 0; | |
|
202 | 202 | left: auto; |
|
203 | 203 | min-width: 290px; |
|
204 | 204 | } |
|
205 | 205 | |
|
206 | 206 | |
|
207 | 207 | .user-menu { |
|
208 | 208 | .bookmark-items { |
|
209 | padding: 4px 2px; | |
|
209 | border-top: @border-thickness solid @grey6; | |
|
210 | margin-top: 1em; | |
|
211 | padding: 1em .5em; | |
|
210 | 212 | color: @grey3; |
|
211 | 213 | border-bottom: @grey3; |
|
212 | 214 | |
|
213 | 215 | a { |
|
214 | 216 | padding: 0 !important; |
|
215 | 217 | color: @rcblue !important; |
|
216 | 218 | } |
|
217 | 219 | } |
|
218 | 220 | a.bookmark-item { |
|
219 | 221 | color: @rcblue !important; |
|
220 | 222 | } |
|
221 | 223 | } |
|
222 | 224 | |
|
223 | 225 | |
|
224 | 226 | #quick_login { |
|
225 | 227 | left: auto; |
|
226 | 228 | right: 0; |
|
227 | 229 | padding: @menupadding; |
|
228 | 230 | z-index: 999; |
|
229 | 231 | overflow: hidden; |
|
230 |
background-color: @ |
|
|
232 | background-color: @white; | |
|
233 | border: 1px solid @grey5; | |
|
231 | 234 | color: @grey2; |
|
235 | box-shadow: @dropdown-shadow; | |
|
232 | 236 | |
|
233 | 237 | h4 { |
|
234 | 238 | margin-bottom: 12px; |
|
235 | 239 | } |
|
236 | 240 | |
|
237 | 241 | .form { |
|
238 | 242 | width: auto; |
|
239 | 243 | } |
|
240 | 244 | |
|
241 | 245 | label, .field { |
|
242 | 246 | margin-bottom: 0; |
|
243 | 247 | } |
|
244 | 248 | |
|
245 | 249 | .label { |
|
246 | 250 | padding-top: 0; |
|
247 | 251 | } |
|
248 | 252 | |
|
249 | 253 | input { |
|
250 | 254 | min-width: 215px; |
|
251 | 255 | margin: 8px 0 @padding; |
|
252 | 256 | } |
|
253 | 257 | |
|
254 | 258 | input[type="submit"] { |
|
255 | 259 | &:extend(.btn-primary); |
|
256 | 260 | width:100%; |
|
257 | 261 | min-width: 0; |
|
258 | 262 | } |
|
259 | 263 | |
|
260 | 264 | .forgot_password, |
|
261 | 265 | .buttons .register { |
|
262 | 266 | a { |
|
263 | 267 | color: @rcblue; |
|
264 | ||
|
268 | ||
|
265 | 269 | &:hover { |
|
266 | 270 | color: @rcdarkblue; |
|
267 | 271 | } |
|
268 | 272 | } |
|
269 | 273 | } |
|
270 | 274 | |
|
271 | 275 | .buttons { |
|
272 | 276 | margin: 0; |
|
273 | 277 | } |
|
274 | 278 | |
|
275 | 279 | .buttons a { |
|
276 | 280 | padding: 8px 0; |
|
277 | 281 | line-height: 1.4em; |
|
278 | 282 | color: @grey4; |
|
279 | 283 | |
|
280 | 284 | &:hover { |
|
281 | 285 | color: @grey2; |
|
282 | 286 | } |
|
283 | 287 | } |
|
284 | 288 | |
|
285 | 289 | #sign_in { |
|
286 | 290 | margin-bottom: 0 |
|
287 | 291 | } |
|
288 | 292 | |
|
289 | 293 | .big_gravatar { |
|
290 | 294 | float: left; |
|
291 | 295 | display: block; |
|
292 |
|
|
|
296 | padding: .5em; | |
|
293 | 297 | } |
|
294 | 298 | |
|
295 |
.full_name |
|
|
296 | .email { | |
|
297 | margin: 0 0 0 65px; | |
|
299 | .full_name { | |
|
300 | margin: 0 0 0 70px; | |
|
301 | padding-top: 1em; | |
|
298 | 302 | } |
|
299 | 303 | |
|
300 | 304 | .email { |
|
305 | margin: 0 0 0 70px; | |
|
301 | 306 | font-family: @text-light; |
|
302 | 307 | } |
|
303 | 308 | |
|
304 | 309 | ol.links { |
|
305 | 310 | clear:both; |
|
306 | 311 | margin: 0; |
|
307 | 312 | padding: @padding 0 0 0; |
|
308 | 313 | |
|
309 | 314 | li { |
|
310 | border-top: @border-thickness solid @grey5; | |
|
311 | ||
|
312 | 315 | input { |
|
313 | 316 | margin: @padding 0 0 0; |
|
314 | 317 | } |
|
315 | 318 | } |
|
316 | 319 | } |
|
317 | 320 | } |
|
318 | 321 | .submenu #quick_login li:hover { |
|
319 | 322 | background-color: transparent; |
|
320 | 323 | } |
|
321 | 324 | |
|
322 | 325 | #quick_login_link:hover + #quick_login { |
|
323 | 326 | display: block; |
|
324 | 327 | } |
@@ -1,753 +1,756 b'' | |||
|
1 | 1 | // navigation.less |
|
2 | 2 | // For use in RhodeCode applications; |
|
3 | 3 | // see style guide documentation for guidelines. |
|
4 | 4 | |
|
5 | 5 | // TOP MAIN DARK NAVIGATION |
|
6 | 6 | |
|
7 | 7 | .header .main_nav.horizontal-list { |
|
8 | 8 | float: right; |
|
9 | 9 | color: @grey4; |
|
10 | 10 | > li { |
|
11 | 11 | a { |
|
12 | 12 | color: @grey4; |
|
13 | 13 | } |
|
14 | 14 | } |
|
15 | 15 | } |
|
16 | 16 | |
|
17 | 17 | // HEADER NAVIGATION |
|
18 | 18 | |
|
19 | 19 | .horizontal-list { |
|
20 | 20 | display: block; |
|
21 | 21 | margin: 0; |
|
22 | 22 | padding: 0; |
|
23 | 23 | -webkit-padding-start: 0; |
|
24 | 24 | text-align: left; |
|
25 | 25 | font-size: @navigation-fontsize; |
|
26 | 26 | color: @grey6; |
|
27 | 27 | z-index:10; |
|
28 | 28 | |
|
29 | 29 | li { |
|
30 | 30 | line-height: 1em; |
|
31 | 31 | list-style-type: none; |
|
32 | 32 | margin: 0 20px 0 0; |
|
33 | 33 | |
|
34 | 34 | a { |
|
35 | 35 | padding: 0 .5em; |
|
36 | 36 | |
|
37 | 37 | &.menu_link_notifications { |
|
38 | 38 | .pill(7px,@rcblue); |
|
39 | 39 | display: inline; |
|
40 | 40 | margin: 0 7px 0 .7em; |
|
41 | 41 | font-size: @basefontsize; |
|
42 | 42 | color: white; |
|
43 | 43 | |
|
44 | 44 | &.empty { |
|
45 | 45 | background-color: @grey4; |
|
46 | 46 | } |
|
47 | 47 | |
|
48 | 48 | &:hover { |
|
49 | 49 | background-color: @rcdarkblue; |
|
50 | 50 | } |
|
51 | 51 | } |
|
52 | 52 | } |
|
53 | 53 | .pill_container { |
|
54 | 54 | margin: 1.25em 0px 0px 0px; |
|
55 | 55 | float: right; |
|
56 | 56 | } |
|
57 | 57 | |
|
58 | 58 | &#quick_login_li { |
|
59 | 59 | &:hover { |
|
60 | 60 | color: @grey5; |
|
61 | 61 | } |
|
62 | 62 | |
|
63 | 63 | a.menu_link_notifications { |
|
64 | 64 | color: white; |
|
65 | 65 | } |
|
66 | 66 | |
|
67 | 67 | .user { |
|
68 | 68 | padding-bottom: 10px; |
|
69 | 69 | } |
|
70 | 70 | } |
|
71 | 71 | |
|
72 | 72 | &:before { content: none; } |
|
73 | 73 | |
|
74 | 74 | &:last-child { |
|
75 | 75 | .menulabel { |
|
76 | 76 | padding-right: 0; |
|
77 | 77 | border-right: none; |
|
78 | 78 | |
|
79 | 79 | .show_more { |
|
80 | 80 | padding-right: 0; |
|
81 | 81 | } |
|
82 | 82 | } |
|
83 | 83 | |
|
84 | 84 | &> a { |
|
85 | 85 | border-bottom: none; |
|
86 | 86 | } |
|
87 | 87 | } |
|
88 | 88 | |
|
89 | 89 | &.open { |
|
90 | 90 | |
|
91 | 91 | a { |
|
92 | 92 | color: white; |
|
93 | 93 | } |
|
94 | 94 | } |
|
95 | 95 | |
|
96 | 96 | &:focus { |
|
97 | 97 | outline: none; |
|
98 | 98 | } |
|
99 | 99 | |
|
100 | 100 | ul li { |
|
101 | 101 | display: block; |
|
102 | 102 | |
|
103 | 103 | &:last-child> a { |
|
104 | 104 | border-bottom: none; |
|
105 | 105 | } |
|
106 | 106 | |
|
107 | 107 | ul li:last-child a { |
|
108 | 108 | /* we don't expect more then 3 levels of submenu and the third |
|
109 | 109 | level can have different html structure */ |
|
110 | 110 | border-bottom: none; |
|
111 | 111 | } |
|
112 | 112 | } |
|
113 | 113 | } |
|
114 | 114 | |
|
115 | 115 | > li { |
|
116 | 116 | float: left; |
|
117 | 117 | display: block; |
|
118 | 118 | padding: 0; |
|
119 | 119 | |
|
120 | 120 | > a, |
|
121 | 121 | &.has_select2 a { |
|
122 | 122 | display: block; |
|
123 | 123 | padding: 10px 0; |
|
124 | 124 | } |
|
125 | 125 | |
|
126 | 126 | .menulabel { |
|
127 | 127 | line-height: 1em; |
|
128 | 128 | // for this specifically we do not use a variable |
|
129 | 129 | } |
|
130 | 130 | |
|
131 | 131 | .pr_notifications { |
|
132 | 132 | padding-left: .5em; |
|
133 | 133 | } |
|
134 | 134 | |
|
135 | 135 | .pr_notifications + .menulabel { |
|
136 | 136 | display:inline; |
|
137 | 137 | padding-left: 0; |
|
138 | 138 | } |
|
139 | 139 | |
|
140 | 140 | &:hover, |
|
141 | 141 | &.open, |
|
142 | 142 | &.active { |
|
143 | 143 | a { |
|
144 | 144 | color: @rcblue; |
|
145 | 145 | } |
|
146 | 146 | } |
|
147 | 147 | } |
|
148 | 148 | |
|
149 | 149 | pre { |
|
150 | 150 | margin: 0; |
|
151 | 151 | padding: 0; |
|
152 | 152 | } |
|
153 | 153 | |
|
154 | 154 | .select2-container, |
|
155 | 155 | .menulink.childs { |
|
156 | 156 | position: relative; |
|
157 | 157 | } |
|
158 | 158 | |
|
159 | 159 | #quick_login { |
|
160 | 160 | |
|
161 | 161 | li a { |
|
162 | 162 | padding: .5em 0; |
|
163 | 163 | border-bottom: none; |
|
164 | 164 | color: @grey2; |
|
165 | 165 | |
|
166 | 166 | &:hover { color: @grey1; } |
|
167 | 167 | } |
|
168 | 168 | } |
|
169 | 169 | |
|
170 | 170 | #quick_login_link { |
|
171 | 171 | display: inline-block; |
|
172 | 172 | |
|
173 | 173 | .gravatar { |
|
174 | 174 | border: 1px solid @grey5; |
|
175 | 175 | } |
|
176 | 176 | |
|
177 | 177 | .gravatar-login { |
|
178 | 178 | height: 20px; |
|
179 | 179 | width: 20px; |
|
180 | 180 | margin: -8px 0; |
|
181 | 181 | padding: 0; |
|
182 | 182 | } |
|
183 | 183 | |
|
184 | 184 | &:hover .user { |
|
185 | 185 | color: @grey6; |
|
186 | 186 | } |
|
187 | 187 | } |
|
188 | 188 | } |
|
189 | 189 | .header .horizontal-list { |
|
190 | 190 | |
|
191 | 191 | li { |
|
192 | 192 | |
|
193 | 193 | &#quick_login_li { |
|
194 | 194 | padding-left: .5em; |
|
195 | 195 | |
|
196 | 196 | &:hover #quick_login_link { |
|
197 | 197 | color: inherit; |
|
198 | 198 | } |
|
199 | 199 | |
|
200 | 200 | .menu_link_user { |
|
201 | 201 | padding: 0 2px; |
|
202 | 202 | } |
|
203 | 203 | } |
|
204 | 204 | list-style-type: none; |
|
205 | 205 | } |
|
206 | 206 | |
|
207 | 207 | > li { |
|
208 | 208 | |
|
209 | 209 | a { |
|
210 | 210 | padding: 18px 0 12px 0; |
|
211 | 211 | color: @nav-grey; |
|
212 | 212 | |
|
213 | 213 | &.menu_link_notifications { |
|
214 | 214 | padding: 1px 8px; |
|
215 | 215 | } |
|
216 | 216 | } |
|
217 | 217 | |
|
218 | 218 | &:hover, |
|
219 | 219 | &.open, |
|
220 | 220 | &.active { |
|
221 | 221 | .pill_container a { |
|
222 | 222 | // don't select text for the pill container, it has it' own |
|
223 | 223 | // hover behaviour |
|
224 | 224 | color: @nav-grey; |
|
225 | 225 | } |
|
226 | 226 | } |
|
227 | 227 | |
|
228 | 228 | &:hover, |
|
229 | 229 | &.open, |
|
230 | 230 | &.active { |
|
231 | 231 | a { |
|
232 | 232 | color: @grey6; |
|
233 | 233 | } |
|
234 | 234 | } |
|
235 | 235 | |
|
236 | 236 | .select2-dropdown-open a { |
|
237 | 237 | color: @grey6; |
|
238 | 238 | } |
|
239 | 239 | |
|
240 | 240 | .repo-switcher { |
|
241 | 241 | padding-left: 0; |
|
242 | 242 | |
|
243 | 243 | .menulabel { |
|
244 | 244 | padding-left: 0; |
|
245 | 245 | } |
|
246 | 246 | } |
|
247 | 247 | } |
|
248 | 248 | |
|
249 | 249 | li ul li { |
|
250 | 250 | background-color:@grey2; |
|
251 | 251 | |
|
252 | 252 | a { |
|
253 | 253 | padding: .5em 0; |
|
254 | 254 | border-bottom: @border-thickness solid @border-default-color; |
|
255 | 255 | color: @grey6; |
|
256 | 256 | } |
|
257 | 257 | |
|
258 | 258 | &:last-child a, &.last a{ |
|
259 | 259 | border-bottom: none; |
|
260 | 260 | } |
|
261 | 261 | |
|
262 | 262 | &:hover { |
|
263 | 263 | background-color: @grey3; |
|
264 | 264 | } |
|
265 | 265 | } |
|
266 | 266 | |
|
267 | 267 | .submenu { |
|
268 | 268 | margin-top: 5px; |
|
269 | 269 | } |
|
270 | 270 | } |
|
271 | 271 | |
|
272 | 272 | // SUBMENUS |
|
273 | 273 | .navigation .submenu { |
|
274 | 274 | display: none; |
|
275 | 275 | } |
|
276 | 276 | |
|
277 | 277 | .navigation li.open { |
|
278 | 278 | .submenu { |
|
279 | 279 | display: block; |
|
280 | 280 | } |
|
281 | 281 | } |
|
282 | 282 | |
|
283 | 283 | .navigation li:last-child .submenu { |
|
284 |
right: |
|
|
285 |
left: |
|
|
284 | right: auto; | |
|
285 | left: 0; | |
|
286 | border: 1px solid @grey5; | |
|
287 | background: @white; | |
|
288 | box-shadow: @dropdown-shadow; | |
|
286 | 289 | } |
|
287 | 290 | |
|
288 | 291 | .submenu { |
|
289 | 292 | position: absolute; |
|
290 | 293 | top: 100%; |
|
291 | 294 | left: 0; |
|
292 | 295 | min-width: 150px; |
|
293 |
margin: |
|
|
296 | margin: 2px 0 0; | |
|
294 | 297 | padding: 0; |
|
295 | 298 | text-align: left; |
|
296 | 299 | font-family: @text-light; |
|
297 | 300 | border-radius: @border-radius; |
|
298 | 301 | z-index: 20; |
|
299 | 302 | |
|
300 | 303 | li { |
|
301 | 304 | display: block; |
|
302 | 305 | margin: 0; |
|
303 | 306 | padding: 0 .5em; |
|
304 | 307 | line-height: 1em; |
|
305 | 308 | color: @grey3; |
|
306 |
background-color: @ |
|
|
309 | background-color: @white; | |
|
307 | 310 | list-style-type: none; |
|
308 | 311 | |
|
309 | 312 | a { |
|
310 | 313 | display: block; |
|
311 | 314 | width: 100%; |
|
312 | 315 | padding: .5em 0; |
|
313 | 316 | border-right: none; |
|
314 | 317 | border-bottom: @border-thickness solid white; |
|
315 | 318 | color: @grey3; |
|
316 | 319 | } |
|
317 | 320 | |
|
318 | 321 | ul { |
|
319 | 322 | display: none; |
|
320 | 323 | position: absolute; |
|
321 | 324 | top: 0; |
|
322 | 325 | right: 100%; |
|
323 | 326 | padding: 0; |
|
324 | 327 | z-index: 30; |
|
325 | 328 | } |
|
326 | 329 | &:hover { |
|
327 |
background-color: @grey |
|
|
330 | background-color: @grey7; | |
|
328 | 331 | -webkit-transition: background .3s; |
|
329 | 332 | -moz-transition: background .3s; |
|
330 | 333 | -o-transition: background .3s; |
|
331 | 334 | transition: background .3s; |
|
332 | 335 | |
|
333 | 336 | ul { |
|
334 | 337 | display: block; |
|
335 | 338 | } |
|
336 | 339 | } |
|
337 | 340 | } |
|
338 | 341 | |
|
339 | 342 | } |
|
340 | 343 | |
|
341 | 344 | |
|
342 | 345 | |
|
343 | 346 | |
|
344 | 347 | // repo dropdown |
|
345 | 348 | .quick_repo_menu { |
|
346 | 349 | width: 15px; |
|
347 | 350 | text-align: center; |
|
348 | 351 | position: relative; |
|
349 | 352 | cursor: pointer; |
|
350 | 353 | |
|
351 | 354 | div { |
|
352 | 355 | overflow: visible !important; |
|
353 | 356 | } |
|
354 | 357 | |
|
355 | 358 | &.sorting { |
|
356 | 359 | cursor: auto; |
|
357 | 360 | } |
|
358 | 361 | |
|
359 | 362 | &:hover { |
|
360 | 363 | .menu_items_container { |
|
361 | 364 | position: absolute; |
|
362 | 365 | display: block; |
|
363 | 366 | } |
|
364 | 367 | .menu_items { |
|
365 | 368 | display: block; |
|
366 | 369 | } |
|
367 | 370 | } |
|
368 | 371 | |
|
369 | 372 | i { |
|
370 | 373 | margin: 0; |
|
371 | 374 | color: @grey4; |
|
372 | 375 | } |
|
373 | 376 | |
|
374 | 377 | .menu_items_container { |
|
375 | 378 | position: absolute; |
|
376 | 379 | top: 0; |
|
377 | 380 | left: 100%; |
|
378 | 381 | margin: 0; |
|
379 | 382 | padding: 0; |
|
380 | 383 | list-style: none; |
|
381 | 384 | background-color: @grey6; |
|
382 | 385 | z-index: 999; |
|
383 | 386 | text-align: left; |
|
384 | 387 | |
|
385 | 388 | a { |
|
386 | 389 | color: @grey2; |
|
387 | 390 | } |
|
388 | 391 | |
|
389 | 392 | ul.menu_items { |
|
390 | 393 | margin: 0; |
|
391 | 394 | padding: 0; |
|
392 | 395 | } |
|
393 | 396 | |
|
394 | 397 | li { |
|
395 | 398 | margin: 0; |
|
396 | 399 | padding: 0; |
|
397 | 400 | line-height: 1em; |
|
398 | 401 | list-style-type: none; |
|
399 | 402 | |
|
400 | 403 | a { |
|
401 | 404 | display: block; |
|
402 | 405 | height: 16px; |
|
403 | 406 | padding: 8px; //must add up to td height (28px) |
|
404 | 407 | width: 120px; // set width |
|
405 | 408 | |
|
406 | 409 | &:hover { |
|
407 | 410 | background-color: @grey5; |
|
408 | 411 | -webkit-transition: background .3s; |
|
409 | 412 | -moz-transition: background .3s; |
|
410 | 413 | -o-transition: background .3s; |
|
411 | 414 | transition: background .3s; |
|
412 | 415 | } |
|
413 | 416 | } |
|
414 | 417 | } |
|
415 | 418 | } |
|
416 | 419 | } |
|
417 | 420 | |
|
418 | 421 | // Header Repository Switcher |
|
419 | 422 | // Select2 Dropdown |
|
420 | 423 | #select2-drop.select2-drop.repo-switcher-dropdown { |
|
421 | 424 | width: auto !important; |
|
422 | 425 | margin-top: 5px; |
|
423 | 426 | padding: 1em 0; |
|
424 | 427 | text-align: left; |
|
425 | 428 | .border-radius-bottom(@border-radius); |
|
426 | 429 | border-color: transparent; |
|
427 | 430 | color: @grey6; |
|
428 | 431 | background-color: @grey2; |
|
429 | 432 | |
|
430 | 433 | input { |
|
431 | 434 | min-width: 90%; |
|
432 | 435 | } |
|
433 | 436 | |
|
434 | 437 | ul.select2-result-sub { |
|
435 | 438 | |
|
436 | 439 | li { |
|
437 | 440 | line-height: 1em; |
|
438 | 441 | |
|
439 | 442 | &:hover, |
|
440 | 443 | &.select2-highlighted { |
|
441 | 444 | background-color: @grey3; |
|
442 | 445 | } |
|
443 | 446 | } |
|
444 | 447 | |
|
445 | 448 | &:before { content: none; } |
|
446 | 449 | } |
|
447 | 450 | |
|
448 | 451 | ul.select2-results { |
|
449 | 452 | min-width: 200px; |
|
450 | 453 | margin: 0; |
|
451 | 454 | padding: 0; |
|
452 | 455 | list-style-type: none; |
|
453 | 456 | overflow-x: visible; |
|
454 | 457 | overflow-y: scroll; |
|
455 | 458 | |
|
456 | 459 | li { |
|
457 | 460 | padding: 0 8px; |
|
458 | 461 | line-height: 1em; |
|
459 | 462 | color: @grey6; |
|
460 | 463 | |
|
461 | 464 | &>.select2-result-label { |
|
462 | 465 | padding: 8px 0; |
|
463 | 466 | border-bottom: @border-thickness solid @grey3; |
|
464 | 467 | white-space: nowrap; |
|
465 | 468 | color: @grey5; |
|
466 | 469 | cursor: pointer; |
|
467 | 470 | } |
|
468 | 471 | |
|
469 | 472 | &.select2-result-with-children { |
|
470 | 473 | margin: 0; |
|
471 | 474 | padding: 0; |
|
472 | 475 | } |
|
473 | 476 | |
|
474 | 477 | &.select2-result-unselectable > .select2-result-label { |
|
475 | 478 | margin: 0 8px; |
|
476 | 479 | } |
|
477 | 480 | |
|
478 | 481 | } |
|
479 | 482 | } |
|
480 | 483 | |
|
481 | 484 | ul.select2-result-sub { |
|
482 | 485 | margin: 0; |
|
483 | 486 | padding: 0; |
|
484 | 487 | |
|
485 | 488 | li { |
|
486 | 489 | display: block; |
|
487 | 490 | margin: 0; |
|
488 | 491 | border-right: none; |
|
489 | 492 | line-height: 1em; |
|
490 | 493 | font-family: @text-light; |
|
491 | 494 | color: @grey2; |
|
492 | 495 | list-style-type: none; |
|
493 | 496 | |
|
494 | 497 | &:hover { |
|
495 | 498 | background-color: @grey3; |
|
496 | 499 | } |
|
497 | 500 | } |
|
498 | 501 | } |
|
499 | 502 | } |
|
500 | 503 | |
|
501 | 504 | |
|
502 | 505 | #context-bar { |
|
503 | 506 | display: block; |
|
504 | 507 | margin: 0 auto 20px 0; |
|
505 | 508 | padding: 0 @header-padding; |
|
506 | 509 | background-color: @grey7; |
|
507 | 510 | border-bottom: 1px solid @grey5; |
|
508 | 511 | |
|
509 | 512 | .clear { |
|
510 | 513 | clear: both; |
|
511 | 514 | } |
|
512 | 515 | } |
|
513 | 516 | |
|
514 | 517 | ul#context-pages { |
|
515 | 518 | li { |
|
516 | 519 | list-style-type: none; |
|
517 | 520 | |
|
518 | 521 | a { |
|
519 | 522 | color: @grey2; |
|
520 | 523 | |
|
521 | 524 | &:hover { |
|
522 | 525 | color: @grey1; |
|
523 | 526 | } |
|
524 | 527 | } |
|
525 | 528 | |
|
526 | 529 | &.active { |
|
527 | 530 | // special case, non-variable color |
|
528 | 531 | border-bottom: 2px solid @rcblue; |
|
529 | 532 | |
|
530 | 533 | a { |
|
531 | 534 | color: @rcblue; |
|
532 | 535 | } |
|
533 | 536 | } |
|
534 | 537 | } |
|
535 | 538 | } |
|
536 | 539 | |
|
537 | 540 | // PAGINATION |
|
538 | 541 | |
|
539 | 542 | .pagination { |
|
540 | 543 | border: @border-thickness solid @grey5; |
|
541 | 544 | color: @grey2; |
|
542 | 545 | box-shadow: @button-shadow; |
|
543 | 546 | |
|
544 | 547 | .current { |
|
545 | 548 | color: @grey4; |
|
546 | 549 | } |
|
547 | 550 | } |
|
548 | 551 | |
|
549 | 552 | .dataTables_processing { |
|
550 | 553 | text-align: center; |
|
551 | 554 | font-size: 1.1em; |
|
552 | 555 | position: relative; |
|
553 | 556 | top: 95px; |
|
554 | 557 | } |
|
555 | 558 | |
|
556 | 559 | .dataTables_paginate, .pagination-wh { |
|
557 | 560 | text-align: left; |
|
558 | 561 | display: inline-block; |
|
559 | 562 | border-left: 1px solid @grey5; |
|
560 | 563 | float: none; |
|
561 | 564 | overflow: hidden; |
|
562 | 565 | box-shadow: @button-shadow; |
|
563 | 566 | |
|
564 | 567 | .paginate_button, .pager_curpage, |
|
565 | 568 | .pager_link, .pg-previous, .pg-next, .pager_dotdot { |
|
566 | 569 | display: inline-block; |
|
567 | 570 | padding: @menupadding/4 @menupadding; |
|
568 | 571 | border: 1px solid @grey5; |
|
569 | 572 | border-left: 0; |
|
570 | 573 | color: @grey2; |
|
571 | 574 | cursor: pointer; |
|
572 | 575 | float: left; |
|
573 | 576 | |
|
574 | 577 | &:hover { |
|
575 | 578 | color: @rcdarkblue; |
|
576 | 579 | } |
|
577 | 580 | } |
|
578 | 581 | |
|
579 | 582 | .paginate_button.disabled, |
|
580 | 583 | .disabled { |
|
581 | 584 | color: @grey3; |
|
582 | 585 | cursor: default; |
|
583 | 586 | opacity: 0.5; |
|
584 | 587 | } |
|
585 | 588 | |
|
586 | 589 | .paginate_button.current, .pager_curpage { |
|
587 | 590 | background: @rcblue; |
|
588 | 591 | border-color: @rcblue; |
|
589 | 592 | color: @white; |
|
590 | 593 | } |
|
591 | 594 | |
|
592 | 595 | .ellipsis { |
|
593 | 596 | display: inline-block; |
|
594 | 597 | text-align: left; |
|
595 | 598 | padding: @menupadding/4 @menupadding; |
|
596 | 599 | border: 1px solid @grey5; |
|
597 | 600 | border-left: 0; |
|
598 | 601 | float: left; |
|
599 | 602 | } |
|
600 | 603 | } |
|
601 | 604 | |
|
602 | 605 | // SIDEBAR |
|
603 | 606 | |
|
604 | 607 | .sidebar { |
|
605 | 608 | .block-left; |
|
606 | 609 | clear: left; |
|
607 | 610 | max-width: @sidebar-width; |
|
608 | 611 | margin-right: @sidebarpadding; |
|
609 | 612 | padding-right: @sidebarpadding; |
|
610 | 613 | font-family: @text-regular; |
|
611 | 614 | color: @grey1; |
|
612 | 615 | |
|
613 | 616 | &#graph_nodes { |
|
614 | 617 | clear:both; |
|
615 | 618 | width: auto; |
|
616 | 619 | margin-left: -100px; |
|
617 | 620 | padding: 0; |
|
618 | 621 | border: none; |
|
619 | 622 | } |
|
620 | 623 | |
|
621 | 624 | .nav-pills { |
|
622 | 625 | margin: 0; |
|
623 | 626 | } |
|
624 | 627 | |
|
625 | 628 | .nav { |
|
626 | 629 | list-style: none; |
|
627 | 630 | padding: 0; |
|
628 | 631 | |
|
629 | 632 | li { |
|
630 | 633 | padding-bottom: @menupadding; |
|
631 | 634 | line-height: 1em; |
|
632 | 635 | color: @grey4; |
|
633 | 636 | list-style-type: none; |
|
634 | 637 | |
|
635 | 638 | &.active a { |
|
636 | 639 | color: @grey2; |
|
637 | 640 | } |
|
638 | 641 | |
|
639 | 642 | a { |
|
640 | 643 | color: @grey4; |
|
641 | 644 | } |
|
642 | 645 | } |
|
643 | 646 | |
|
644 | 647 | } |
|
645 | 648 | } |
|
646 | 649 | |
|
647 | 650 | .main_filter_help_box { |
|
648 | 651 | padding: 7px 7px; |
|
649 | 652 | display: inline-block; |
|
650 | 653 | vertical-align: top; |
|
651 | 654 | background: inherit; |
|
652 | 655 | position: absolute; |
|
653 | 656 | right: 0; |
|
654 | 657 | top: 9px; |
|
655 | 658 | } |
|
656 | 659 | |
|
657 | 660 | .main_filter_input_box { |
|
658 | 661 | display: inline-block; |
|
659 | 662 | |
|
660 | 663 | .searchItems { |
|
661 | 664 | display:flex; |
|
662 | 665 | background: @black; |
|
663 | 666 | padding: 0px; |
|
664 | 667 | border-radius: 3px; |
|
665 | 668 | border: 1px solid @black; |
|
666 | 669 | |
|
667 | 670 | a { |
|
668 | 671 | border: none !important; |
|
669 | 672 | } |
|
670 | 673 | } |
|
671 | 674 | |
|
672 | 675 | .searchTag { |
|
673 | 676 | line-height: 28px; |
|
674 | 677 | padding: 0 5px; |
|
675 | 678 | |
|
676 | 679 | .tag { |
|
677 | 680 | color: @grey5; |
|
678 | 681 | border-color: @grey2; |
|
679 | 682 | background: @grey1; |
|
680 | 683 | } |
|
681 | 684 | } |
|
682 | 685 | |
|
683 | 686 | .searchTagFilter { |
|
684 | 687 | background-color: @black !important; |
|
685 | 688 | margin-right: 0; |
|
686 | 689 | } |
|
687 | 690 | |
|
688 | 691 | .searchTagHelp { |
|
689 | 692 | background-color: @grey1 !important; |
|
690 | 693 | margin: 0; |
|
691 | 694 | } |
|
692 | 695 | .searchTagHelp:hover { |
|
693 | 696 | background-color: @grey1 !important; |
|
694 | 697 | } |
|
695 | 698 | .searchTagInput { |
|
696 | 699 | background-color: @grey1 !important; |
|
697 | 700 | margin-right: 0; |
|
698 | 701 | } |
|
699 | 702 | } |
|
700 | 703 | |
|
701 | 704 | .main_filter_box { |
|
702 | 705 | margin: 9px 0 0 0; |
|
703 | 706 | } |
|
704 | 707 | |
|
705 | 708 | #main_filter_help { |
|
706 | 709 | background: @grey3; |
|
707 | 710 | border: 1px solid black; |
|
708 | 711 | position: absolute; |
|
709 | 712 | white-space: pre; |
|
710 | 713 | z-index: 9999; |
|
711 | 714 | color: @nav-grey; |
|
712 | 715 | margin: 1px 7px; |
|
713 | 716 | padding: 0 10px; |
|
714 | 717 | } |
|
715 | 718 | |
|
716 | 719 | input { |
|
717 | 720 | |
|
718 | 721 | &.main_filter_input { |
|
719 | 722 | padding: 5px 10px; |
|
720 | 723 | min-width: 260px; |
|
721 | 724 | color: @grey7; |
|
722 | 725 | background: @black; |
|
723 | 726 | min-height: 18px; |
|
724 | 727 | border: 0; |
|
725 | 728 | |
|
726 | 729 | &:active { |
|
727 | 730 | color: @grey2 !important; |
|
728 | 731 | background: white !important; |
|
729 | 732 | } |
|
730 | 733 | &:focus { |
|
731 | 734 | color: @grey2 !important; |
|
732 | 735 | background: white !important; |
|
733 | 736 | } |
|
734 | 737 | } |
|
735 | 738 | } |
|
736 | 739 | |
|
737 | 740 | |
|
738 | 741 | |
|
739 | 742 | .main_filter_input::placeholder { |
|
740 | 743 | color: @nav-grey; |
|
741 | 744 | opacity: 1; |
|
742 | 745 | } |
|
743 | 746 | |
|
744 | 747 | .notice-box { |
|
745 | 748 | display:block !important; |
|
746 | 749 | padding: 9px 0 !important; |
|
747 | 750 | } |
|
748 | 751 | |
|
749 | 752 | .menulabel-notice { |
|
750 | 753 | border: 1px solid @color5; |
|
751 | 754 | padding:7px 10px; |
|
752 | 755 | color: @color5; |
|
753 | 756 | } |
@@ -1,244 +1,240 b'' | |||
|
1 | 1 | // select2.less |
|
2 | 2 | // For use in RhodeCode application drop down select boxes; |
|
3 | 3 | // see style guide documentation for guidelines. |
|
4 | 4 | |
|
5 | 5 | |
|
6 | 6 | // SELECT2 DROPDOWN MENUS |
|
7 | 7 | |
|
8 | 8 | //Select2 Dropdown |
|
9 | 9 | .select2-results{ |
|
10 | 10 | .box-sizing(border-box); |
|
11 | 11 | overflow-y: scroll; |
|
12 | 12 | } |
|
13 | 13 | |
|
14 | 14 | .select2-container{margin: 0; position: relative; display: inline-block; zoom: 1;} |
|
15 | 15 | .select2-container, |
|
16 | 16 | .select2-drop, |
|
17 | 17 | .select2-search, |
|
18 | 18 | .select2-search input {.box-sizing(border-box);} |
|
19 | 19 | .select2-container .select2-choice{display:block; line-height:1em; -webkit-touch-callout:none;-moz-user-select:none;-ms-user-select:none;user-select:none; } |
|
20 | 20 | .main .select2-container .select2-choice { background-color: white; box-shadow: @button-shadow;} |
|
21 | 21 | .select2-container .select2-choice abbr { display: none; width: 12px; height: 12px; position: absolute; right: 24px; top: 8px; font-size: 1px; text-decoration: none; border: 0; background: url('../images/select2.png') right top no-repeat; cursor: pointer; outline: 0; } |
|
22 | 22 | .select2-container.select2-allowclear .select2-choice abbr {display: inline-block;} |
|
23 | 23 | .select2-container .select2-choice abbr:hover { background-position: right -11px; cursor: pointer; } |
|
24 | 24 | .select2-drop-mask { border: 0; margin: 0; padding: 0; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 998; background-color: #fff; filter: alpha(opacity=0); } |
|
25 | 25 | .select2-drop { width: 100%; margin-top: -1px; position: absolute; z-index: 999; top: 100%; background: #fff; color: #000; border: @border-thickness solid @rcblue; border-top: 0; border-radius: 0 0 @border-radius @border-radius; } |
|
26 | 26 | .select2-drop.select2-drop-above { margin-top: 1px; border-top: @border-thickness solid @rclightblue; border-bottom: 0; border-radius: @border-radius @border-radius 0 0; } |
|
27 | 27 | .select2-drop-active { border: @border-thickness solid #5897fb; border-top: none; } |
|
28 | 28 | .select2-drop.select2-drop-above.select2-drop-active {border-top: @border-thickness solid #5897fb;} |
|
29 | 29 | .select2-drop-auto-width { border-top: @border-thickness solid #aaa; width: auto; } |
|
30 | 30 | .select2-drop-auto-width .select2-search {padding-top: 4px;} |
|
31 | 31 | html[dir="rtl"] .select2-container .select2-choice .select2-arrow { left: 0; right: auto; border-left: none; border-right: @border-thickness solid @grey5; border-radius: @border-radius 0 0 @border-radius; } |
|
32 | 32 | html[dir="rtl"] .select2-container .select2-choice .select2-arrow b {background-position: 2px 1px;} |
|
33 | 33 | .select2-search { display: inline-block; width: 100%; min-height: 26px; margin: 0; padding-left: 4px; padding-right: 4px; position: relative; z-index: 1000; white-space: nowrap; } |
|
34 | 34 | .select2-search input { width: 100%; height: auto !important; min-height: 26px; padding: 4px 20px 4px 5px; margin: 0; outline: 0; } |
|
35 | 35 | html[dir="rtl"] .select2-search input { padding: 4px 5px 4px 20px; background: #fff url('../images/select2.png') no-repeat -37px -22px; } |
|
36 | 36 | .select2-drop.select2-drop-above .select2-search input {margin-top: 4px;} |
|
37 | 37 | .select2-dropdown-open .select2-choice .select2-arrow { background: transparent; border-left: none; filter: none; } |
|
38 | 38 | html[dir="rtl"] .select2-dropdown-open .select2-choice .select2-arrow {border-right: none;} |
|
39 | 39 | .select2-hidden-accessible { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; } |
|
40 | 40 | /* results */ |
|
41 | 41 | .select2-results { max-height: 200px; padding: 0 0 0 4px; margin: 4px 4px 4px 0; position: relative; overflow-x: hidden; overflow-y: auto; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } |
|
42 | 42 | html[dir="rtl"] .select2-results { padding: 0 4px 0 0; margin: 4px 0 4px 4px; } |
|
43 | 43 | .select2-results .select2-disabled{background:@grey6;display:list-item;cursor:default} |
|
44 | 44 | .select2-results .select2-selected{display:none} |
|
45 | 45 | .select2-more-results.select2-active{background:#f4f4f4 url('../images/select2-spinner.gif') no-repeat 100%} |
|
46 | 46 | .select2-container.select2-container-disabled .select2-choice abbr{display:none} |
|
47 | 47 | .select2-container.select2-container-disabled {background:@grey6;cursor:default} |
|
48 | 48 | .select2-container.select2-container-disabled .select2-choice {background:@grey6;cursor:default} |
|
49 | 49 | .select2-container-multi .select2-choices li{float:left;list-style:none} |
|
50 | 50 | .select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap} |
|
51 | 51 | .select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default} |
|
52 | 52 | .select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:none;background:url('../images/select2.png') right top no-repeat} |
|
53 | 53 | .select2-container-multi .select2-search-choice-close{left:3px} |
|
54 | 54 | .select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover{background-position:right -11px} |
|
55 | 55 | .select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px} |
|
56 | 56 | .select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:none} |
|
57 | 57 | .select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0) !important;width:1px !important;height:1px !important; |
|
58 | 58 | border:0 !important;margin:0 !important;padding:0 !important;overflow:hidden !important; |
|
59 | 59 | position: absolute !important;outline:0 !important;left:0 !important;top:0 !important} |
|
60 | 60 | .select2-display-none, |
|
61 | 61 | .select2-search-hidden {display:none} |
|
62 | 62 | .select2-search input { border-color: @rclightblue; } |
|
63 | 63 | |
|
64 | 64 | .select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll} |
|
65 | 65 | @media only screen and (-webkit-min-device-pixel-ratio:1.5), |
|
66 | 66 | only screen and (min-resolution:144dpi){ |
|
67 | 67 | .select2-search input, |
|
68 | 68 | .select2-search-choice-close, |
|
69 | 69 | .select2-container .select2-choice abbr, |
|
70 | 70 | .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;} |
|
71 | 71 | .select2-search input{background-position:100% -21px} |
|
72 | 72 | } |
|
73 | 73 | [class^="input-"] [class^="select2-choice"]>div{display:none} |
|
74 | 74 | [class^="input-"] .select2-offscreen{position:absolute} |
|
75 | 75 | select.select2{height:28px;visibility:hidden} |
|
76 | 76 | .autocomplete-suggestions{overflow:auto} |
|
77 | 77 | .autocomplete-suggestion{white-space:nowrap;overflow:hidden} |
|
78 | 78 | |
|
79 | 79 | /* Retina-ize icons */ |
|
80 | 80 | @media only screen and (-webkit-min-device-pixel-ratio:1.5), |
|
81 | 81 | only screen and (min-resolution:144dpi){ |
|
82 | 82 | .select2-search input, |
|
83 | 83 | .select2-search-choice-close, |
|
84 | 84 | .select2-container .select2-choice abbr, |
|
85 | 85 | .select2-container .select2-choice .select2-arrow b{background-image:url('../images/select2x2.png');background-repeat:no-repeat;background-size:60px 40px;} |
|
86 | 86 | .select2-search input{background-position:100% -21px} |
|
87 | 87 | } |
|
88 | 88 | |
|
89 | 89 | //Internal Select2 Dropdown Menus |
|
90 | 90 | |
|
91 | 91 | .drop-menu-core { |
|
92 | 92 | min-width: 160px; |
|
93 | 93 | margin: 0 @padding 0 0; |
|
94 | 94 | padding: 0; |
|
95 | 95 | border: @border-thickness solid @grey5; |
|
96 | 96 | border-radius: @border-radius; |
|
97 | 97 | color: @grey2; |
|
98 | 98 | background-color: white; |
|
99 | 99 | |
|
100 | 100 | a { |
|
101 | 101 | color: @grey2; |
|
102 | 102 | |
|
103 | 103 | &:hover { |
|
104 | 104 | color: @rcdarkblue; |
|
105 | 105 | } |
|
106 | 106 | } |
|
107 | ||
|
108 | &:hover { | |
|
109 | border-color: @grey4; | |
|
110 | } | |
|
111 | 107 | } |
|
112 | 108 | |
|
113 | 109 | .drop-menu-dropdown { |
|
114 | 110 | .drop-menu-core; |
|
115 | 111 | |
|
116 | 112 | .flag_status { |
|
117 | 113 | margin-top: 0; |
|
118 | 114 | } |
|
119 | 115 | } |
|
120 | 116 | |
|
121 | 117 | .drop-menu-base { |
|
122 | 118 | .drop-menu-core; |
|
123 | 119 | position: relative; |
|
124 | 120 | display: inline-block; |
|
125 | 121 | line-height: 1em; |
|
126 | 122 | z-index: 2; |
|
127 | 123 | cursor: pointer; |
|
128 | 124 | |
|
129 | 125 | .flag_status { |
|
130 | 126 | margin-top: 0; |
|
131 | 127 | } |
|
132 | 128 | |
|
133 | 129 | a { |
|
134 | 130 | display:block; |
|
135 | 131 | padding: .7em; |
|
136 | 132 | padding-right: 2em; |
|
137 | 133 | position: relative; |
|
138 | 134 | |
|
139 | 135 | &:after { |
|
140 | 136 | position: absolute; |
|
141 | 137 | content: "\00A0\25BE"; |
|
142 | 138 | right: .1em; |
|
143 | 139 | line-height: 1em; |
|
144 | 140 | top: 0.2em; |
|
145 | 141 | width: 1em; |
|
146 | 142 | font-size: 20px; |
|
147 | 143 | } |
|
148 | 144 | } |
|
149 | 145 | } |
|
150 | 146 | |
|
151 | 147 | .drop-menu { |
|
152 | 148 | .drop-menu-base; |
|
153 | 149 | width: auto !important; |
|
154 | 150 | } |
|
155 | 151 | |
|
156 | 152 | .drop-menu-no-width { |
|
157 | 153 | .drop-menu-base; |
|
158 | 154 | width: auto; |
|
159 | 155 | } |
|
160 | 156 | |
|
161 | 157 | .field-sm .drop-menu { |
|
162 | 158 | padding: 1px 0 0 0; |
|
163 | 159 | a { |
|
164 | 160 | padding: 6px; |
|
165 | 161 | }; |
|
166 | 162 | } |
|
167 | 163 | |
|
168 | 164 | .select2-search input { |
|
169 | 165 | width: 100%; |
|
170 | 166 | margin: .5em 0; |
|
171 | 167 | padding: .5em; |
|
172 | 168 | border-color: @grey4; |
|
173 | 169 | |
|
174 | 170 | &:focus, &:hover { |
|
175 | 171 | border-color: @rcblue; |
|
176 | 172 | box-shadow: @button-shadow; |
|
177 | 173 | } |
|
178 | 174 | } |
|
179 | 175 | |
|
180 | 176 | .select2-no-results { |
|
181 | 177 | padding: .5em; |
|
182 | 178 | } |
|
183 | 179 | |
|
184 | 180 | .drop-menu-dropdown ul { |
|
185 | 181 | width: auto; |
|
186 | 182 | margin: 0; |
|
187 | 183 | padding: 0; |
|
188 | 184 | z-index: 50; |
|
189 | 185 | |
|
190 | 186 | li { |
|
191 | 187 | margin: 0; |
|
192 | 188 | line-height: 1em; |
|
193 | 189 | list-style-type: none; |
|
194 | 190 | |
|
195 | 191 | &:hover, |
|
196 | 192 | &.select2-highlighted { |
|
197 | 193 | background-color: @grey7; |
|
198 | 194 | |
|
199 | 195 | .select2-result-label { |
|
200 | 196 | &:hover { |
|
201 | 197 | color: @grey1!important; |
|
202 | 198 | } |
|
203 | 199 | } |
|
204 | 200 | } |
|
205 | 201 | |
|
206 | 202 | &.select2-result-with-children { |
|
207 | 203 | &:hover { |
|
208 | 204 | background-color: white; |
|
209 | 205 | } |
|
210 | 206 | } |
|
211 | 207 | |
|
212 | 208 | .select2-result-label { |
|
213 | 209 | display:block; |
|
214 | 210 | padding: 8px; |
|
215 | 211 | font-family: @text-regular; |
|
216 | 212 | color: @grey2; |
|
217 | 213 | cursor: pointer; |
|
218 | 214 | } |
|
219 | 215 | &.select2-result-with-children { |
|
220 | 216 | |
|
221 | 217 | .select2-result-label { |
|
222 | 218 | color: @rcdarkblue; |
|
223 | 219 | cursor: default; |
|
224 | 220 | font-weight: @text-semibold-weight; |
|
225 | 221 | font-family: @text-semibold; |
|
226 | 222 | } |
|
227 | 223 | |
|
228 | 224 | ul.select2-result-sub li .select2-result-label { |
|
229 | 225 | padding-left: 16px; |
|
230 | 226 | font-family: @text-regular; |
|
231 | 227 | color: @grey2; |
|
232 | 228 | cursor: pointer; |
|
233 | 229 | } |
|
234 | 230 | } |
|
235 | 231 | } |
|
236 | 232 | } |
|
237 | 233 | |
|
238 | 234 | .side-by-side-selector { |
|
239 | 235 | .left-group, |
|
240 | 236 | .middle-group, |
|
241 | 237 | .right-group { |
|
242 | 238 | margin-bottom: @padding; |
|
243 | 239 | } |
|
244 | 240 | } |
@@ -1,152 +1,154 b'' | |||
|
1 | 1 | // variables for use in all RhodeCode products |
|
2 | 2 | |
|
3 | 3 | // FONTS |
|
4 | 4 | //Primary Colors (brand) |
|
5 | 5 | @rcblue: #427cc9; //RhodeCode blue |
|
6 | 6 | @rcdarkblue: #305b91; //RhodeCode dark blue |
|
7 | 7 | @rclightblue: lighten(@rcblue, 30%); |
|
8 | 8 | @rchighlightblue: lighten(@rcblue, 35%); |
|
9 | 9 | |
|
10 | 10 | // Secondary Colors (greyscale) |
|
11 | 11 | @black: #000; |
|
12 | 12 | @white: #fff; |
|
13 | 13 | @grey1: #2B2B2D; //midnight |
|
14 | 14 | @grey2: #5C5C5C; //charcoal |
|
15 | 15 | @grey3: #7E7F7F; //tungsten |
|
16 | 16 | @grey4: #949494; //light grey |
|
17 | 17 | @grey5: #dbd9da; //greyish |
|
18 | 18 | @grey6: #eeeeee; //silver |
|
19 | 19 | @grey7: #F5F5F5; //light silver |
|
20 | 20 | |
|
21 | 21 | // special for navigation |
|
22 | 22 | @nav-grey: #CDCCCD; |
|
23 | 23 | |
|
24 | 24 | @grey5-alpha: rgba(219, 217, 218, 0.3); |
|
25 | 25 | |
|
26 | 26 | // Tertiary Colors |
|
27 | 27 | @color1: #879938; //olive green |
|
28 | 28 | @color2: #fcc93a; //bright yellow |
|
29 | 29 | @color3: #ff9e07; //orange-yellow |
|
30 | 30 | @color4: #fc663a; //bright orange |
|
31 | 31 | @color5: #d63d44; //signal red |
|
32 | 32 | @color6: #99287c; //violet |
|
33 | 33 | @color7: #682668; //dark purple |
|
34 | 34 | @color8: #194f8e; //dark blue |
|
35 | 35 | |
|
36 | 36 | // Alert Colors (bright) |
|
37 | 37 | @alert1: #0ac878; //bright green |
|
38 | 38 | @alert2: #e85e4d; //soft red |
|
39 | 39 | @alert3: #ffc854; //corn yellow |
|
40 | 40 | @alert4: #84a5d2; //light blue |
|
41 | 41 | |
|
42 | 42 | // Alert Inner Colors |
|
43 | 43 | @alert1-inner: #daf7eb; //bright green |
|
44 | 44 | @alert2-inner: #fbdfdb; //soft red |
|
45 | 45 | @alert3-inner: #fff4dd; //corn yellow |
|
46 | 46 | @alert4-inner: #e6edf6; //light blue |
|
47 | 47 | |
|
48 | 48 | // Highlight color for lines and colors |
|
49 | 49 | @comment-highlight-color: #ffd887; |
|
50 | 50 | |
|
51 | 51 | // FONTS |
|
52 | 52 | @basefontsize: 13px; |
|
53 | 53 | @navigation-fontsize: 14px; |
|
54 | 54 | @journal-fontsize: @basefontsize+7px; |
|
55 | 55 | @text-color: @grey2; |
|
56 | 56 | @repo-title-fontsize: 18px; |
|
57 | 57 | |
|
58 | 58 | @text-regular: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
59 | 59 | @text-monospace: 'Menlo', 'Liberation Mono', 'Consolas', 'DejaVu Sans Mono', 'Ubuntu Mono', 'Courier New', 'andale mono', 'lucida console', monospace; |
|
60 | 60 | |
|
61 | 61 | @text-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
62 | 62 | |
|
63 | 63 | @text-bold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
64 | 64 | @text-bold-weight: 600; |
|
65 | 65 | |
|
66 | 66 | @text-semibold: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
67 | 67 | @text-semibold-weight: 500; |
|
68 | 68 | |
|
69 | 69 | @text-bold-italic: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
70 | 70 | @text-bold-italic-weight: 600; |
|
71 | 71 | |
|
72 | 72 | @text-code: @text-monospace; |
|
73 | 73 | @text-light: @text-regular; |
|
74 | 74 | |
|
75 | 75 | |
|
76 | 76 | // Used for .close buttons |
|
77 | 77 | @text-bootstrap: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
|
78 | 78 | |
|
79 | 79 | @panel-title: @basefontsize; |
|
80 | 80 | @panel-footer: @basefontsize; |
|
81 | 81 | |
|
82 | 82 | // BORDERS |
|
83 | 83 | @border-thickness: 1px; |
|
84 | 84 | @border-thickness-buttons: 1px; |
|
85 | 85 | @border-thickness-tags: 1px; |
|
86 | 86 | @border-radius: 2px; |
|
87 | 87 | @border-default-color: @grey5; |
|
88 | 88 | @border-highlight-color: @grey4; |
|
89 | 89 | |
|
90 | 90 | // SPACING |
|
91 | 91 | @contentpadding: 15px; //padding on left and right of pages |
|
92 | 92 | @pagepadding: 40px; //padding on top and bottom of pages |
|
93 | 93 | @menupadding: 12px; //padding for sidebar and content |
|
94 | 94 | @sidebarpadding: 15px; //spacing between sections |
|
95 | 95 | @space: 40px; //spacing between sections |
|
96 | 96 | @padding: 15px; //padding inside modules |
|
97 | 97 | @textmargin: 20px; //spacing below headers |
|
98 | 98 | @header-padding: 20px; |
|
99 | 99 | @panel-padding: @padding; |
|
100 | 100 | @gravatar-size: 16px; // height/width of gravatar w/o border |
|
101 | 101 | |
|
102 | 102 | // ADMIN |
|
103 | 103 | @form-max-width: 750px; |
|
104 | 104 | |
|
105 | 105 | // FORMS (new) |
|
106 | 106 | @border-thickness-inputs: 1px; |
|
107 | 107 | @input-padding: .6em; //needs to match button padding |
|
108 | 108 | // TODO: johbo: Needed for working computation of paddings around labels etc. |
|
109 | 109 | // Expected to be replaced once we are done with the form refactoring. |
|
110 | 110 | @input-padding-px: 12px; |
|
111 | 111 | @legend-width: 220px; |
|
112 | 112 | @form-vertical-margin: 20px; |
|
113 | 113 | @form-check-width: 20px; |
|
114 | 114 | @form-radio-width: 10px; |
|
115 | 115 | @form-textcolor: @grey3; |
|
116 | 116 | |
|
117 | 117 | // FORMS |
|
118 | 118 | @label-width: 220px; |
|
119 | 119 | //TODO: lisa: Eventually we don't need both of these; remove |
|
120 | 120 | // label-width when legend-width is no longer used |
|
121 | 121 | |
|
122 | 122 | @input-border-thickness: @border-thickness; |
|
123 | 123 | @medium-inline-input-width: 115px; |
|
124 | 124 | @input-description-minwidth: 300px; |
|
125 | 125 | @label2-width: 200px; |
|
126 | 126 | @checkboxes-width: 420px; |
|
127 | 127 | @label-summary-minwidth: 80px; |
|
128 | 128 | @search-form-width: 400px; |
|
129 | 129 | @fields-input-m: 400px; |
|
130 | 130 | @fields-input-l: 720px; |
|
131 | 131 | |
|
132 | 132 | // BUTTONS |
|
133 | 133 | @button-padding: .7em; |
|
134 | 134 | @button-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.07); |
|
135 | 135 | |
|
136 | // DROPDOWNS | |
|
137 | @dropdown-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.07); | |
|
136 | 138 | |
|
137 | 139 | // DEFAULT WIDTHS |
|
138 | 140 | @wrapper-maxwidth: 1600px; |
|
139 | 141 | @sidebar-width: 145px; |
|
140 | 142 | @sidebar-all-width: @sidebar-width + 2 * @sidebarpadding; |
|
141 | 143 | @sidebar-small-width: 100px; |
|
142 | 144 | @sidebar-small-all-width: @sidebar-small-width + 2 * @sidebarpadding; |
|
143 | 145 | @texteditor-width: 660px; |
|
144 | 146 | @maincontent-maxwidth: 940px; |
|
145 | 147 | @pullrequest-width: 1025px; |
|
146 | 148 | @summary-menu-stats-width: 200px; |
|
147 | 149 | |
|
148 | 150 | // SCREEN WIDTHS |
|
149 | 151 | @screen-sm-min: 320px; |
|
150 | 152 | |
|
151 | 153 | // For Bootstrap |
|
152 | 154 | @panel-border-radius: @border-radius; |
General Comments 0
You need to be logged in to leave comments.
Login now