Show More
@@ -1,326 +1,323 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 | 201 | right: 0!important; |
|
202 | 202 | left: auto!important; |
|
203 | 203 | min-width: 290px; |
|
204 | 204 | } |
|
205 | 205 | |
|
206 | 206 | .user-menu { |
|
207 | 207 | .bookmark-items { |
|
208 | 208 | border-top: @border-thickness solid @grey6; |
|
209 | 209 | margin-top: 1em; |
|
210 | 210 | padding: 1em .5em; |
|
211 | 211 | color: @grey3; |
|
212 | 212 | border-bottom: @grey3; |
|
213 | 213 | |
|
214 | 214 | a { |
|
215 | 215 | padding: 0 !important; |
|
216 | color: @rcblue !important; | |
|
217 | 216 | } |
|
218 | 217 | } |
|
219 | a.bookmark-item { | |
|
220 | color: @rcblue !important; | |
|
221 | } | |
|
218 | ||
|
222 | 219 | } |
|
223 | 220 | |
|
224 | 221 | |
|
225 | 222 | #quick_login { |
|
226 | 223 | left: auto; |
|
227 | 224 | right: 0; |
|
228 | 225 | padding: @menupadding; |
|
229 | 226 | z-index: 999; |
|
230 | 227 | overflow: hidden; |
|
231 | 228 | background-color: @white; |
|
232 | 229 | border: 1px solid @grey5; |
|
233 | 230 | color: @grey2; |
|
234 | 231 | box-shadow: @dropdown-shadow; |
|
235 | 232 | |
|
236 | 233 | h4 { |
|
237 | 234 | margin-bottom: 12px; |
|
238 | 235 | } |
|
239 | 236 | |
|
240 | 237 | .form { |
|
241 | 238 | width: auto; |
|
242 | 239 | } |
|
243 | 240 | |
|
244 | 241 | label, .field { |
|
245 | 242 | margin-bottom: 0; |
|
246 | 243 | } |
|
247 | 244 | |
|
248 | 245 | .label { |
|
249 | 246 | padding-top: 0; |
|
250 | 247 | } |
|
251 | 248 | |
|
252 | 249 | input { |
|
253 | 250 | min-width: 215px; |
|
254 | 251 | margin: 8px 0 @padding; |
|
255 | 252 | } |
|
256 | 253 | |
|
257 | 254 | input[type="submit"] { |
|
258 | 255 | &:extend(.btn-primary); |
|
259 | 256 | width:100%; |
|
260 | 257 | min-width: 0; |
|
261 | 258 | } |
|
262 | 259 | |
|
263 | 260 | .forgot_password, |
|
264 | 261 | .buttons .register { |
|
265 | 262 | a { |
|
266 | 263 | color: @rcblue; |
|
267 | 264 | |
|
268 | 265 | &:hover { |
|
269 | 266 | color: @rcdarkblue; |
|
270 | 267 | } |
|
271 | 268 | } |
|
272 | 269 | } |
|
273 | 270 | |
|
274 | 271 | .buttons { |
|
275 | 272 | margin: 0; |
|
276 | 273 | } |
|
277 | 274 | |
|
278 | 275 | .buttons a { |
|
279 | 276 | padding: 8px 0; |
|
280 | 277 | line-height: 1.4em; |
|
281 | 278 | color: @grey4; |
|
282 | 279 | |
|
283 | 280 | &:hover { |
|
284 |
color: @ |
|
|
281 | color: @rcblue; | |
|
285 | 282 | } |
|
286 | 283 | } |
|
287 | 284 | |
|
288 | 285 | #sign_in { |
|
289 | 286 | margin-bottom: 0 |
|
290 | 287 | } |
|
291 | 288 | |
|
292 | 289 | .big_gravatar { |
|
293 | 290 | float: left; |
|
294 | 291 | display: block; |
|
295 | 292 | padding: .5em; |
|
296 | 293 | } |
|
297 | 294 | |
|
298 | 295 | .full_name { |
|
299 | 296 | margin: 0 0 0 70px; |
|
300 | 297 | padding-top: 1em; |
|
301 | 298 | } |
|
302 | 299 | |
|
303 | 300 | .email { |
|
304 | 301 | margin: 0 0 0 70px; |
|
305 | 302 | font-family: @text-light; |
|
306 | 303 | } |
|
307 | 304 | |
|
308 | 305 | ol.links { |
|
309 | 306 | clear:both; |
|
310 | 307 | margin: 0; |
|
311 | 308 | padding: @padding 0 0 0; |
|
312 | 309 | |
|
313 | 310 | li { |
|
314 | 311 | input { |
|
315 | 312 | margin: @padding 0 0 0; |
|
316 | 313 | } |
|
317 | 314 | } |
|
318 | 315 | } |
|
319 | 316 | } |
|
320 | 317 | .submenu #quick_login li:hover { |
|
321 | 318 | background-color: transparent; |
|
322 | 319 | } |
|
323 | 320 | |
|
324 | 321 | #quick_login_link:hover + #quick_login { |
|
325 | 322 | display: block; |
|
326 | 323 | } |
@@ -1,816 +1,816 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 | .menulink-counter { |
|
132 | 132 | border: 1px solid @grey2; |
|
133 | 133 | border-radius: @border-radius; |
|
134 | 134 | background: @grey7; |
|
135 | 135 | display: inline-block; |
|
136 | 136 | padding: 0px 4px; |
|
137 | 137 | text-align: center; |
|
138 | 138 | font-size: 12px; |
|
139 | 139 | } |
|
140 | 140 | |
|
141 | 141 | .pr_notifications { |
|
142 | 142 | padding-left: .5em; |
|
143 | 143 | } |
|
144 | 144 | |
|
145 | 145 | .pr_notifications + .menulabel { |
|
146 | 146 | display:inline; |
|
147 | 147 | padding-left: 0; |
|
148 | 148 | } |
|
149 | 149 | |
|
150 | 150 | &:hover, |
|
151 | 151 | &.open, |
|
152 | 152 | &.active { |
|
153 | 153 | a { |
|
154 | 154 | color: @rcblue; |
|
155 | 155 | } |
|
156 | 156 | } |
|
157 | 157 | } |
|
158 | 158 | |
|
159 | 159 | pre { |
|
160 | 160 | margin: 0; |
|
161 | 161 | padding: 0; |
|
162 | 162 | } |
|
163 | 163 | |
|
164 | 164 | .select2-container, |
|
165 | 165 | .menulink.childs { |
|
166 | 166 | position: relative; |
|
167 | 167 | } |
|
168 | 168 | |
|
169 | 169 | .menulink { |
|
170 | 170 | &.disabled { |
|
171 | 171 | color: @grey3; |
|
172 | 172 | cursor: default; |
|
173 | 173 | opacity: 0.5; |
|
174 | 174 | } |
|
175 | 175 | } |
|
176 | 176 | |
|
177 | 177 | #quick_login { |
|
178 | 178 | |
|
179 | 179 | li a { |
|
180 | 180 | padding: .5em 0; |
|
181 | 181 | border-bottom: none; |
|
182 | 182 | color: @grey2; |
|
183 | 183 | |
|
184 |
&:hover { color: @ |
|
|
184 | &:hover { color: @rcblue; } | |
|
185 | 185 | } |
|
186 | 186 | } |
|
187 | 187 | |
|
188 | 188 | #quick_login_link { |
|
189 | 189 | display: inline-block; |
|
190 | 190 | |
|
191 | 191 | .gravatar { |
|
192 | 192 | border: 1px solid @grey5; |
|
193 | 193 | } |
|
194 | 194 | |
|
195 | 195 | .gravatar-login { |
|
196 | 196 | height: 20px; |
|
197 | 197 | width: 20px; |
|
198 | 198 | margin: -8px 0; |
|
199 | 199 | padding: 0; |
|
200 | 200 | } |
|
201 | 201 | |
|
202 | 202 | &:hover .user { |
|
203 | 203 | color: @grey6; |
|
204 | 204 | } |
|
205 | 205 | } |
|
206 | 206 | } |
|
207 | 207 | .header .horizontal-list { |
|
208 | 208 | |
|
209 | 209 | li { |
|
210 | 210 | |
|
211 | 211 | &#quick_login_li { |
|
212 | 212 | padding-left: .5em; |
|
213 | 213 | margin-right: 0px; |
|
214 | 214 | |
|
215 | 215 | &:hover #quick_login_link { |
|
216 | 216 | color: inherit; |
|
217 | 217 | } |
|
218 | 218 | |
|
219 | 219 | .menu_link_user { |
|
220 | 220 | padding: 0 2px; |
|
221 | 221 | } |
|
222 | 222 | } |
|
223 | 223 | list-style-type: none; |
|
224 | 224 | } |
|
225 | 225 | |
|
226 | 226 | > li { |
|
227 | 227 | |
|
228 | 228 | a { |
|
229 | 229 | padding: 18px 0 12px 0; |
|
230 | 230 | color: @nav-grey; |
|
231 | 231 | |
|
232 | 232 | &.menu_link_notifications { |
|
233 | 233 | padding: 1px 8px; |
|
234 | 234 | } |
|
235 | 235 | } |
|
236 | 236 | |
|
237 | 237 | &:hover, |
|
238 | 238 | &.open, |
|
239 | 239 | &.active { |
|
240 | 240 | .pill_container a { |
|
241 | 241 | // don't select text for the pill container, it has it' own |
|
242 | 242 | // hover behaviour |
|
243 | 243 | color: @nav-grey; |
|
244 | 244 | } |
|
245 | 245 | } |
|
246 | 246 | |
|
247 | 247 | &:hover, |
|
248 | 248 | &.open, |
|
249 | 249 | &.active { |
|
250 | 250 | a { |
|
251 | 251 | color: @grey6; |
|
252 | 252 | } |
|
253 | 253 | } |
|
254 | 254 | |
|
255 | 255 | .select2-dropdown-open a { |
|
256 | 256 | color: @grey6; |
|
257 | 257 | } |
|
258 | 258 | |
|
259 | 259 | .repo-switcher { |
|
260 | 260 | padding-left: 0; |
|
261 | 261 | |
|
262 | 262 | .menulabel { |
|
263 | 263 | padding-left: 0; |
|
264 | 264 | } |
|
265 | 265 | } |
|
266 | 266 | } |
|
267 | 267 | |
|
268 | 268 | li ul li { |
|
269 | 269 | background-color:@grey2; |
|
270 | 270 | |
|
271 | 271 | a { |
|
272 | 272 | padding: .5em 0; |
|
273 | 273 | border-bottom: @border-thickness solid @border-default-color; |
|
274 | 274 | color: @grey6; |
|
275 | 275 | } |
|
276 | 276 | |
|
277 | 277 | &:last-child a, &.last a{ |
|
278 | 278 | border-bottom: none; |
|
279 | 279 | } |
|
280 | 280 | |
|
281 | 281 | &:hover { |
|
282 | 282 | background-color: @grey3; |
|
283 | 283 | } |
|
284 | 284 | } |
|
285 | 285 | |
|
286 | 286 | .submenu { |
|
287 | 287 | margin-top: 5px; |
|
288 | 288 | } |
|
289 | 289 | } |
|
290 | 290 | |
|
291 | 291 | // SUBMENUS |
|
292 | 292 | .navigation .submenu { |
|
293 | 293 | display: none; |
|
294 | 294 | } |
|
295 | 295 | |
|
296 | 296 | .navigation li.open { |
|
297 | 297 | .submenu { |
|
298 | 298 | display: block; |
|
299 | 299 | } |
|
300 | 300 | } |
|
301 | 301 | |
|
302 | 302 | .navigation li:last-child .submenu { |
|
303 | 303 | right: auto; |
|
304 | 304 | left: 0; |
|
305 | 305 | border: 1px solid @grey5; |
|
306 | 306 | background: @white; |
|
307 | 307 | box-shadow: @dropdown-shadow; |
|
308 | 308 | } |
|
309 | 309 | |
|
310 | 310 | .submenu { |
|
311 | 311 | position: absolute; |
|
312 | 312 | top: 100%; |
|
313 | 313 | left: 0; |
|
314 | 314 | min-width: 180px; |
|
315 | 315 | margin: 2px 0 0; |
|
316 | 316 | padding: 0; |
|
317 | 317 | text-align: left; |
|
318 | 318 | font-family: @text-light; |
|
319 | 319 | border-radius: @border-radius; |
|
320 | 320 | z-index: 20; |
|
321 | 321 | |
|
322 | 322 | li { |
|
323 | 323 | display: block; |
|
324 | 324 | margin: 0; |
|
325 | 325 | padding: 0 .5em; |
|
326 | 326 | line-height: 1em; |
|
327 | 327 | color: @grey3; |
|
328 | 328 | background-color: @white; |
|
329 | 329 | list-style-type: none; |
|
330 | 330 | |
|
331 | 331 | a { |
|
332 | 332 | display: block; |
|
333 | 333 | width: 100%; |
|
334 | 334 | padding: .5em 0; |
|
335 | 335 | border-right: none; |
|
336 | 336 | border-bottom: @border-thickness solid white; |
|
337 | 337 | color: @grey3; |
|
338 | 338 | } |
|
339 | 339 | |
|
340 | 340 | ul { |
|
341 | 341 | display: none; |
|
342 | 342 | position: absolute; |
|
343 | 343 | top: 0; |
|
344 | 344 | right: 100%; |
|
345 | 345 | padding: 0; |
|
346 | 346 | z-index: 30; |
|
347 | 347 | } |
|
348 | 348 | &:hover { |
|
349 | 349 | background-color: @grey7; |
|
350 | 350 | -webkit-transition: background .3s; |
|
351 | 351 | -moz-transition: background .3s; |
|
352 | 352 | -o-transition: background .3s; |
|
353 | 353 | transition: background .3s; |
|
354 | 354 | |
|
355 | 355 | ul { |
|
356 | 356 | display: block; |
|
357 | 357 | } |
|
358 | 358 | } |
|
359 | 359 | } |
|
360 | 360 | |
|
361 | 361 | } |
|
362 | 362 | |
|
363 | 363 | |
|
364 | 364 | |
|
365 | 365 | |
|
366 | 366 | // repo dropdown |
|
367 | 367 | .quick_repo_menu { |
|
368 | 368 | width: 15px; |
|
369 | 369 | text-align: center; |
|
370 | 370 | position: relative; |
|
371 | 371 | cursor: pointer; |
|
372 | 372 | |
|
373 | 373 | div { |
|
374 | 374 | overflow: visible !important; |
|
375 | 375 | } |
|
376 | 376 | |
|
377 | 377 | &.sorting { |
|
378 | 378 | cursor: auto; |
|
379 | 379 | } |
|
380 | 380 | |
|
381 | 381 | &:hover { |
|
382 | 382 | .menu_items_container { |
|
383 | 383 | position: absolute; |
|
384 | 384 | display: block; |
|
385 | 385 | } |
|
386 | 386 | .menu_items { |
|
387 | 387 | display: block; |
|
388 | 388 | } |
|
389 | 389 | } |
|
390 | 390 | |
|
391 | 391 | i { |
|
392 | 392 | margin: 0; |
|
393 | 393 | color: @grey4; |
|
394 | 394 | } |
|
395 | 395 | |
|
396 | 396 | .menu_items_container { |
|
397 | 397 | position: absolute; |
|
398 | 398 | top: 0; |
|
399 | 399 | left: 100%; |
|
400 | 400 | margin: 0; |
|
401 | 401 | padding: 0; |
|
402 | 402 | list-style: none; |
|
403 | 403 | background-color: @grey6; |
|
404 | 404 | z-index: 999; |
|
405 | 405 | text-align: left; |
|
406 | 406 | |
|
407 | 407 | a { |
|
408 | 408 | color: @grey2; |
|
409 | 409 | } |
|
410 | 410 | |
|
411 | 411 | ul.menu_items { |
|
412 | 412 | margin: 0; |
|
413 | 413 | padding: 0; |
|
414 | 414 | } |
|
415 | 415 | |
|
416 | 416 | li { |
|
417 | 417 | margin: 0; |
|
418 | 418 | padding: 0; |
|
419 | 419 | line-height: 1em; |
|
420 | 420 | list-style-type: none; |
|
421 | 421 | |
|
422 | 422 | a { |
|
423 | 423 | display: block; |
|
424 | 424 | height: 16px; |
|
425 | 425 | padding: 8px; //must add up to td height (28px) |
|
426 | 426 | width: 120px; // set width |
|
427 | 427 | |
|
428 | 428 | &:hover { |
|
429 | 429 | background-color: @grey5; |
|
430 | 430 | -webkit-transition: background .3s; |
|
431 | 431 | -moz-transition: background .3s; |
|
432 | 432 | -o-transition: background .3s; |
|
433 | 433 | transition: background .3s; |
|
434 | 434 | } |
|
435 | 435 | } |
|
436 | 436 | } |
|
437 | 437 | } |
|
438 | 438 | } |
|
439 | 439 | |
|
440 | 440 | |
|
441 | 441 | // new objects main action |
|
442 | 442 | .action-menu { |
|
443 | 443 | left: auto; |
|
444 | 444 | right: 0; |
|
445 | 445 | padding: 12px; |
|
446 | 446 | z-index: 999; |
|
447 | 447 | overflow: hidden; |
|
448 | 448 | background-color: #fff; |
|
449 | 449 | border: 1px solid @grey5; |
|
450 | 450 | color: @grey2; |
|
451 | 451 | box-shadow: @dropdown-shadow; |
|
452 | 452 | |
|
453 | 453 | .submenu-title { |
|
454 | 454 | font-weight: bold; |
|
455 | 455 | } |
|
456 | 456 | |
|
457 | 457 | .submenu-title:not(:first-of-type) { |
|
458 | 458 | padding-top: 10px; |
|
459 | 459 | } |
|
460 | 460 | |
|
461 | 461 | &.submenu { |
|
462 | 462 | min-width: 200px; |
|
463 | 463 | |
|
464 | 464 | ol { |
|
465 | 465 | padding:0; |
|
466 | 466 | } |
|
467 | 467 | |
|
468 | 468 | li { |
|
469 | 469 | display: block; |
|
470 | 470 | margin: 0; |
|
471 | 471 | padding: .2em .5em; |
|
472 | 472 | line-height: 1em; |
|
473 | 473 | |
|
474 | 474 | background-color: #fff; |
|
475 | 475 | list-style-type: none; |
|
476 | 476 | |
|
477 | 477 | a { |
|
478 | 478 | padding: 4px; |
|
479 | 479 | color: @grey4 !important; |
|
480 | 480 | border-bottom: none; |
|
481 | 481 | } |
|
482 | 482 | } |
|
483 | 483 | li:not(.submenu-title) a:hover{ |
|
484 | 484 | color: @grey2 !important; |
|
485 | 485 | } |
|
486 | 486 | } |
|
487 | 487 | } |
|
488 | 488 | |
|
489 | 489 | |
|
490 | 490 | // Header Repository Switcher |
|
491 | 491 | // Select2 Dropdown |
|
492 | 492 | #select2-drop.select2-drop.repo-switcher-dropdown { |
|
493 | 493 | width: auto !important; |
|
494 | 494 | margin-top: 5px; |
|
495 | 495 | padding: 1em 0; |
|
496 | 496 | text-align: left; |
|
497 | 497 | .border-radius-bottom(@border-radius); |
|
498 | 498 | border-color: transparent; |
|
499 | 499 | color: @grey6; |
|
500 | 500 | background-color: @grey2; |
|
501 | 501 | |
|
502 | 502 | input { |
|
503 | 503 | min-width: 90%; |
|
504 | 504 | } |
|
505 | 505 | |
|
506 | 506 | ul.select2-result-sub { |
|
507 | 507 | |
|
508 | 508 | li { |
|
509 | 509 | line-height: 1em; |
|
510 | 510 | |
|
511 | 511 | &:hover, |
|
512 | 512 | &.select2-highlighted { |
|
513 | 513 | background-color: @grey3; |
|
514 | 514 | } |
|
515 | 515 | } |
|
516 | 516 | |
|
517 | 517 | &:before { content: none; } |
|
518 | 518 | } |
|
519 | 519 | |
|
520 | 520 | ul.select2-results { |
|
521 | 521 | min-width: 200px; |
|
522 | 522 | margin: 0; |
|
523 | 523 | padding: 0; |
|
524 | 524 | list-style-type: none; |
|
525 | 525 | overflow-x: visible; |
|
526 | 526 | overflow-y: scroll; |
|
527 | 527 | |
|
528 | 528 | li { |
|
529 | 529 | padding: 0 8px; |
|
530 | 530 | line-height: 1em; |
|
531 | 531 | color: @grey6; |
|
532 | 532 | |
|
533 | 533 | &>.select2-result-label { |
|
534 | 534 | padding: 8px 0; |
|
535 | 535 | border-bottom: @border-thickness solid @grey3; |
|
536 | 536 | white-space: nowrap; |
|
537 | 537 | color: @grey5; |
|
538 | 538 | cursor: pointer; |
|
539 | 539 | } |
|
540 | 540 | |
|
541 | 541 | &.select2-result-with-children { |
|
542 | 542 | margin: 0; |
|
543 | 543 | padding: 0; |
|
544 | 544 | } |
|
545 | 545 | |
|
546 | 546 | &.select2-result-unselectable > .select2-result-label { |
|
547 | 547 | margin: 0 8px; |
|
548 | 548 | } |
|
549 | 549 | |
|
550 | 550 | } |
|
551 | 551 | } |
|
552 | 552 | |
|
553 | 553 | ul.select2-result-sub { |
|
554 | 554 | margin: 0; |
|
555 | 555 | padding: 0; |
|
556 | 556 | |
|
557 | 557 | li { |
|
558 | 558 | display: block; |
|
559 | 559 | margin: 0; |
|
560 | 560 | border-right: none; |
|
561 | 561 | line-height: 1em; |
|
562 | 562 | font-family: @text-light; |
|
563 | 563 | color: @grey2; |
|
564 | 564 | list-style-type: none; |
|
565 | 565 | |
|
566 | 566 | &:hover { |
|
567 | 567 | background-color: @grey3; |
|
568 | 568 | } |
|
569 | 569 | } |
|
570 | 570 | } |
|
571 | 571 | } |
|
572 | 572 | |
|
573 | 573 | |
|
574 | 574 | #context-bar { |
|
575 | 575 | display: block; |
|
576 | 576 | margin: 0 auto 20px 0; |
|
577 | 577 | padding: 0 @header-padding; |
|
578 | 578 | background-color: @grey7; |
|
579 | 579 | border-bottom: 1px solid @grey5; |
|
580 | 580 | |
|
581 | 581 | .clear { |
|
582 | 582 | clear: both; |
|
583 | 583 | } |
|
584 | 584 | } |
|
585 | 585 | |
|
586 | 586 | ul#context-pages { |
|
587 | 587 | li { |
|
588 | 588 | list-style-type: none; |
|
589 | 589 | |
|
590 | 590 | a { |
|
591 | 591 | color: @grey2; |
|
592 | 592 | |
|
593 | 593 | &:hover { |
|
594 | 594 | color: @grey1; |
|
595 | 595 | } |
|
596 | 596 | } |
|
597 | 597 | |
|
598 | 598 | &.active { |
|
599 | 599 | // special case, non-variable color |
|
600 | 600 | border-bottom: 2px solid @rcblue; |
|
601 | 601 | |
|
602 | 602 | a { |
|
603 | 603 | color: @rcblue; |
|
604 | 604 | } |
|
605 | 605 | } |
|
606 | 606 | } |
|
607 | 607 | } |
|
608 | 608 | |
|
609 | 609 | // PAGINATION |
|
610 | 610 | |
|
611 | 611 | .pagination { |
|
612 | 612 | border: @border-thickness solid @grey5; |
|
613 | 613 | color: @grey2; |
|
614 | 614 | box-shadow: @button-shadow; |
|
615 | 615 | |
|
616 | 616 | .current { |
|
617 | 617 | color: @grey4; |
|
618 | 618 | } |
|
619 | 619 | } |
|
620 | 620 | |
|
621 | 621 | .dataTables_processing { |
|
622 | 622 | text-align: center; |
|
623 | 623 | font-size: 1.1em; |
|
624 | 624 | position: relative; |
|
625 | 625 | top: 95px; |
|
626 | 626 | } |
|
627 | 627 | |
|
628 | 628 | .dataTables_paginate, .pagination-wh { |
|
629 | 629 | text-align: left; |
|
630 | 630 | display: inline-block; |
|
631 | 631 | border-left: 1px solid @grey5; |
|
632 | 632 | float: none; |
|
633 | 633 | overflow: hidden; |
|
634 | 634 | box-shadow: @button-shadow; |
|
635 | 635 | |
|
636 | 636 | .paginate_button, .pager_curpage, |
|
637 | 637 | .pager_link, .pg-previous, .pg-next, .pager_dotdot { |
|
638 | 638 | display: inline-block; |
|
639 | 639 | padding: @menupadding/4 @menupadding; |
|
640 | 640 | border: 1px solid @grey5; |
|
641 | 641 | border-left: 0; |
|
642 | 642 | color: @grey2; |
|
643 | 643 | cursor: pointer; |
|
644 | 644 | float: left; |
|
645 | 645 | |
|
646 | 646 | &:hover { |
|
647 | 647 | color: @rcdarkblue; |
|
648 | 648 | } |
|
649 | 649 | } |
|
650 | 650 | |
|
651 | 651 | .paginate_button.disabled, |
|
652 | 652 | .disabled { |
|
653 | 653 | color: @grey3; |
|
654 | 654 | cursor: default; |
|
655 | 655 | opacity: 0.5; |
|
656 | 656 | } |
|
657 | 657 | |
|
658 | 658 | .paginate_button.current, .pager_curpage { |
|
659 | 659 | background: @rcblue; |
|
660 | 660 | border-color: @rcblue; |
|
661 | 661 | color: @white; |
|
662 | 662 | } |
|
663 | 663 | |
|
664 | 664 | .ellipsis { |
|
665 | 665 | display: inline-block; |
|
666 | 666 | text-align: left; |
|
667 | 667 | padding: @menupadding/4 @menupadding; |
|
668 | 668 | border: 1px solid @grey5; |
|
669 | 669 | border-left: 0; |
|
670 | 670 | float: left; |
|
671 | 671 | } |
|
672 | 672 | } |
|
673 | 673 | |
|
674 | 674 | // SIDEBAR |
|
675 | 675 | |
|
676 | 676 | .sidebar { |
|
677 | 677 | .block-left; |
|
678 | 678 | clear: left; |
|
679 | 679 | max-width: @sidebar-width; |
|
680 | 680 | margin-right: @sidebarpadding; |
|
681 | 681 | padding-right: @sidebarpadding; |
|
682 | 682 | font-family: @text-regular; |
|
683 | 683 | color: @grey1; |
|
684 | 684 | |
|
685 | 685 | .nav-pills { |
|
686 | 686 | margin: 0; |
|
687 | 687 | } |
|
688 | 688 | |
|
689 | 689 | .nav { |
|
690 | 690 | list-style: none; |
|
691 | 691 | padding: 0; |
|
692 | 692 | |
|
693 | 693 | li { |
|
694 | 694 | padding-bottom: @menupadding; |
|
695 | 695 | line-height: 1em; |
|
696 | 696 | color: @grey4; |
|
697 | 697 | list-style-type: none; |
|
698 | 698 | |
|
699 | 699 | &.active a { |
|
700 | 700 | color: @grey2; |
|
701 | 701 | } |
|
702 | 702 | |
|
703 | 703 | a { |
|
704 | 704 | color: @grey4; |
|
705 | 705 | } |
|
706 | 706 | } |
|
707 | 707 | |
|
708 | 708 | } |
|
709 | 709 | } |
|
710 | 710 | |
|
711 | 711 | .main_filter_help_box { |
|
712 | 712 | padding: 7px 7px; |
|
713 | 713 | display: inline-block; |
|
714 | 714 | vertical-align: top; |
|
715 | 715 | background: inherit; |
|
716 | 716 | position: absolute; |
|
717 | 717 | right: 0; |
|
718 | 718 | top: 9px; |
|
719 | 719 | } |
|
720 | 720 | |
|
721 | 721 | .main_filter_input_box { |
|
722 | 722 | display: inline-block; |
|
723 | 723 | |
|
724 | 724 | .searchItems { |
|
725 | 725 | display:flex; |
|
726 | 726 | background: @black; |
|
727 | 727 | padding: 0px; |
|
728 | 728 | border-radius: 3px; |
|
729 | 729 | border: 1px solid @black; |
|
730 | 730 | |
|
731 | 731 | a { |
|
732 | 732 | border: none !important; |
|
733 | 733 | } |
|
734 | 734 | } |
|
735 | 735 | |
|
736 | 736 | .searchTag { |
|
737 | 737 | line-height: 28px; |
|
738 | 738 | padding: 0 5px; |
|
739 | 739 | |
|
740 | 740 | .tag { |
|
741 | 741 | color: @grey5; |
|
742 | 742 | border-color: @grey2; |
|
743 | 743 | background: @grey1; |
|
744 | 744 | } |
|
745 | 745 | } |
|
746 | 746 | |
|
747 | 747 | .searchTagFilter { |
|
748 | 748 | background-color: @black !important; |
|
749 | 749 | margin-right: 0; |
|
750 | 750 | } |
|
751 | 751 | |
|
752 | 752 | .searchTagHelp { |
|
753 | 753 | background-color: @grey1 !important; |
|
754 | 754 | margin: 0; |
|
755 | 755 | } |
|
756 | 756 | .searchTagHelp:hover { |
|
757 | 757 | background-color: @grey1 !important; |
|
758 | 758 | } |
|
759 | 759 | .searchTagInput { |
|
760 | 760 | background-color: @grey1 !important; |
|
761 | 761 | margin-right: 0; |
|
762 | 762 | } |
|
763 | 763 | } |
|
764 | 764 | |
|
765 | 765 | .main_filter_box { |
|
766 | 766 | margin: 9px 0 0 0; |
|
767 | 767 | } |
|
768 | 768 | |
|
769 | 769 | #main_filter_help { |
|
770 | 770 | background: @grey1; |
|
771 | 771 | border: 1px solid black; |
|
772 | 772 | position: absolute; |
|
773 | 773 | white-space: pre; |
|
774 | 774 | z-index: 9999; |
|
775 | 775 | color: @nav-grey; |
|
776 | 776 | padding: 0 10px; |
|
777 | 777 | } |
|
778 | 778 | |
|
779 | 779 | input { |
|
780 | 780 | |
|
781 | 781 | &.main_filter_input { |
|
782 | 782 | padding: 5px 10px; |
|
783 | 783 | min-width: 340px; |
|
784 | 784 | color: @grey7; |
|
785 | 785 | background: @black; |
|
786 | 786 | min-height: 18px; |
|
787 | 787 | border: 0; |
|
788 | 788 | |
|
789 | 789 | &:active { |
|
790 | 790 | color: @grey2 !important; |
|
791 | 791 | background: white !important; |
|
792 | 792 | } |
|
793 | 793 | &:focus { |
|
794 | 794 | color: @grey2 !important; |
|
795 | 795 | background: white !important; |
|
796 | 796 | } |
|
797 | 797 | } |
|
798 | 798 | } |
|
799 | 799 | |
|
800 | 800 | |
|
801 | 801 | |
|
802 | 802 | .main_filter_input::placeholder { |
|
803 | 803 | color: @nav-grey; |
|
804 | 804 | opacity: 1; |
|
805 | 805 | } |
|
806 | 806 | |
|
807 | 807 | .notice-box { |
|
808 | 808 | display:block !important; |
|
809 | 809 | padding: 9px 0 !important; |
|
810 | 810 | } |
|
811 | 811 | |
|
812 | 812 | .menulabel-notice { |
|
813 | 813 | border: 1px solid @color5; |
|
814 | 814 | padding:7px 10px; |
|
815 | 815 | color: @color5; |
|
816 | 816 | } |
General Comments 0
You need to be logged in to leave comments.
Login now