Changeset 3587
- Timestamp:
- 12/27/2010 05:27:43 PM (15 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 3 edited
-
_inc/css/default.css (modified) (8 diffs)
-
_inc/global.js (modified) (1 diff)
-
rtl.css (modified) (24 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/css/default.css
r3535 r3587 144 144 145 145 #header { 146 position: relative;147 color: #fff;148 146 -moz-border-radius-bottomleft: 6px; 149 147 -webkit-border-bottom-left-radius: 6px; 150 148 -moz-border-radius-bottomright: 6px; 151 149 -webkit-border-bottom-right-radius: 6px; 150 color: #fff; 151 height: 100px; 152 152 margin-bottom: 20px; 153 height: 100px;154 153 padding-top: 25px; 154 position: relative; 155 155 } 156 156 … … 161 161 width: 100%; 162 162 text-align: right; 163 }164 165 #header h1 {166 line-height: 230%;167 163 } 168 164 … … 187 183 188 184 #header h1 { 185 bottom: 30px; 186 line-height: 230%; 187 left: 20px; 188 margin-bottom: 0; 189 189 position: absolute; 190 bottom: 0;191 left: 20px;192 190 width: 44%; 193 margin: 0 0 -5px 0;194 191 } 195 192 … … 204 201 -------------------------------------------------------------- */ 205 202 206 ul#nav {203 #nav { 207 204 margin: 0; 208 205 padding: 0; … … 211 208 list-style: none; 212 209 bottom: 0; 213 max-width: 65%; 214 } 215 216 ul#nav li { 210 max-width: 95%; 211 } 212 213 #nav li a { 214 background: url( ../images/60pc_black.png ); 215 color: #fff; 216 display: block; 217 padding: 5px 15px; 218 text-decoration: none; 219 } 220 221 #nav > li { 222 margin-left: 5px; 217 223 float: left; 218 margin: 0 5px 0 0; 219 } 220 221 ul#nav li a { 222 display: block; 223 color: #fff; 224 text-decoration: none; 225 padding: 5px 15px; 226 background: url( ../images/60pc_black.png ); 224 } 225 226 #nav > li > a { 227 227 -moz-border-radius-topleft: 3px; 228 228 -webkit-border-top-left-radius: 3px; … … 230 230 -webkit-border-top-right-radius: 3px; 231 231 } 232 233 ul#nav li.selected a, 234 ul#navli.current_page_item a {232 233 #nav li.selected a, 234 #nav > li.current_page_item a { 235 235 background: #f5f5f5; 236 236 color: #555; 237 237 } 238 239 ul#nav a:focus { 240 outline: none; 241 } 238 239 #nav > li > ul { 240 border-top-width: 0; 241 } 242 243 #nav > ul li.sfhover a, 244 #nav > ul li:hover a { 245 background: #333; 246 color: #fff; 247 } 248 249 #nav li.sfhover, 250 #nav li:hover { 251 position: relative; 252 z-index: 1000; 253 } 254 255 #nav ul { 256 border: 1px solid #222; 257 -moz-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 258 -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 259 -moz-border-radius: 3px; 260 -webkit-border-radius: 3px; 261 -moz-border-radius-topleft: 0; 262 -webkit-border-top-left-radius: 0; 263 -moz-border-radius-topright: 0; 264 -webkit-border-top-right-radius: 0; 265 } 266 267 #nav ul li ul { 268 -moz-border-radius: 3px; 269 -webkit-border-radius: 3px; 270 } 271 272 #nav ul, 273 #nav .sfhover ul ul, 274 #nav :hover ul ul { 275 right: -9999px; 276 position: absolute; 277 } 278 279 #nav .sfhover ul, 280 #nav :hover ul { 281 right: 0; 282 top: 100%; 283 width: 128px; 284 } 285 286 #nav .sfhover ul li > a, 287 #nav :hover ul li > a { 288 background: #333; 289 color: #fff; 290 } 291 292 #nav .sfhover ul .sfhover > ul, 293 #nav :hover ul :hover > ul { 294 right: 125px; 295 top: -1px; 296 width: 128px; 297 z-index: 1000; 298 } 299 300 #nav ul li.sfhover > a, 301 #nav ul li:hover > a { 302 background-color: #222; 303 color: #fff; 304 } 305 306 #nav .sfhover ul li, 307 #nav :hover ul li { 308 height: 30px; 309 line-height: 30px; 310 text-indent: 10px; 311 width: 128px; 312 } 313 314 #nav .sfhover ul li a, 315 #nav :hover ul li a { 316 padding: 0 0; 317 } 318 242 319 243 320 /* > Container 244 321 -------------------------------------------------------------- */ 322 245 323 div#container { 246 324 position: relative; … … 368 446 } 369 447 448 370 449 /* > Content 371 450 -------------------------------------------------------------- */ 451 372 452 div#content { 373 453 float: left; … … 2174 2254 margin-left: 15px; /* border is 4px */ 2175 2255 } 2176 2177 2178 /* Menu2179 -------------------------------------------------------------- */2180 2181 #nav ul {2182 display: none;2183 position: absolute;2184 z-index: 99999;2185 right: 0;2186 }2187 2188 #nav li:hover > ul {2189 display: block;2190 }2191 2192 #nav ul li {2193 margin-right: 0;2194 min-width: 186px;2195 } -
trunk/bp-themes/bp-default/_inc/global.js
r3498 r3587 1035 1035 1036 1036 /* Admin Bar & wp_list_pages Javascript IE6 hover class */ 1037 jq("#wp-admin-bar ul.main-nav li, #nav li .page_item").mouseover( function() {1037 jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover( function() { 1038 1038 jq(this).addClass('sfhover'); 1039 1039 }); 1040 1040 1041 jq("#wp-admin-bar ul.main-nav li, #nav li .page_item").mouseout( function() {1041 jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout( function() { 1042 1042 jq(this).removeClass('sfhover'); 1043 1043 }); -
trunk/bp-themes/bp-default/rtl.css
r3586 r3587 57 57 -------------------------------------------------------------- */ 58 58 59 ul#nav {59 #nav { 60 60 left: 15px; 61 61 right: auto; 62 62 } 63 ul#nav li { 64 float: right; 65 margin: 0 0 0 5px; 63 64 #nav > li { 65 margin-right: 5px; 66 float: right; 67 } 68 69 #nav ul, 70 #nav .sfhover ul ul, 71 #nav :hover ul ul { 72 left: -9999px; 73 position: absolute; 74 } 75 76 #nav .sfhover ul, 77 #nav :hover ul { 78 left: 0; 79 top: 100%; 80 width: 128px; 81 } 82 83 #nav .sfhover ul .sfhover > ul, 84 #nav :hover ul :hover > ul { 85 left: 125px; 86 top: -1px; 87 width: 128px; 88 z-index: 1000; 66 89 } 67 90 … … 91 114 background: url( _inc/images/sidebar_back.gif ) top right repeat-x; 92 115 } 116 93 117 div#sidebar div#sidebar-me img.avatar { 94 118 float: right; … … 117 141 } 118 142 119 #footer-widget-area div.item-meta, #footer-widget-area div.item-content, 120 div#sidebar div.item-meta, div#sidebar div.item-content { 143 #footer-widget-area div.item-meta, 144 #footer-widget-area div.item-content, 145 div#sidebar div.item-meta, 146 div#sidebar div.item-content { 121 147 margin-right: 38px; 122 148 margin-left: 0; … … 153 179 -webkit-border-bottom-left-radius: 0; 154 180 } 181 155 182 div#content .left-menu { 156 183 float: right; … … 184 211 } 185 212 186 div#item-header div.generic-button, div#item-header a.button { 213 div#item-header div.generic-button, 214 div#item-header a.button { 187 215 float: right; 188 216 margin: 10px 0 0 10px; … … 215 243 clear: right; 216 244 } 245 217 246 div.item-list-tabs ul li { 218 247 float: right; 219 248 margin: 5px 5px 0 0; 220 249 } 250 221 251 div.item-list-tabs ul li:first-child { 222 252 margin-left: 0; … … 234 264 padding-right: 0 !important; 235 265 } 266 236 267 div#item-nav ul li.loading a { 237 268 background-position: 12% 50%; … … 248 279 -------------------------------------------------------------- */ 249 280 250 span.activity, div#message p { 281 span.activity, 282 div#message p { 251 283 border-left: 1px solid #FFE8C4; 252 284 border-right: 0; … … 277 309 -------------------------------------------------------------- */ 278 310 279 a.button, input[type=submit], input[type=button], 280 ul.button-nav li a, div.generic-button a { 311 a.button, 312 input[type=submit], 313 input[type=button], 314 ul.button-nav li a, 315 div.generic-button a { 281 316 background-position: right top; 282 317 } … … 313 348 float: left; 314 349 } 350 315 351 form.standard-form#signup_form div.signup-avatar { 316 352 margin-left: 15px; … … 327 363 } 328 364 329 form.standard-form #basic-details-section, form.standard-form #blog-details-section, 365 form.standard-form #basic-details-section, 366 form.standard-form #blog-details-section, 330 367 form.standard-form #profile-details-section { 331 368 float: right; 332 369 } 370 333 371 form.standard-form #profile-details-section { 334 372 float: left; 335 373 } 374 336 375 form.standard-form #blog-details-section { 337 376 clear: right; … … 352 391 } 353 392 354 table.forum tr > td:first-child, table.forum tr > th:first-child { 393 table.forum tr > td:first-child, 394 table.forum tr > th:first-child { 355 395 padding-right: 15px; 356 396 padding-left: 0; 357 397 } 358 398 359 table.forum tr > td:last-child, table.forum tr > th:last-child { 399 table.forum tr > td:last-child, 400 table.forum tr > th:last-child { 360 401 padding-left: 15px; 361 402 padding-right: 0; 362 403 } 363 404 364 table.forum tr th#th-title, table.forum tr th#th-poster, 365 table.forum tr th#th-group, table.forum td.td-poster, 366 table.forum td.td-group, table.forum td.td-title { 405 table.forum tr th#th-title, 406 table.forum tr th#th-poster, 407 table.forum tr th#th-group, 408 table.forum td.td-poster, 409 table.forum td.td-group, 410 table.forum td.td-title { 367 411 text-align: right; 368 412 } … … 404 448 margin-left: 0; 405 449 } 450 406 451 .activity-list li.activity_comment .activity-avatar img.avatar, 407 452 .activity-list li.activity_comment .activity-avatar img.FB_profile_pic { … … 428 473 right: auto; 429 474 } 475 430 476 body.activity-permalink .activity-list li.mini .activity-meta { 431 477 left: 15px; … … 449 495 margin-left: 0; 450 496 } 497 451 498 body.activity-permalink .activity-list li .activity-content { 452 499 border-left: 1px solid #ddd; … … 455 502 margin-left: 0; 456 503 } 504 457 505 body.activity-permalink .activity-list li .activity-content > p { 458 506 background-position: top right; … … 462 510 } 463 511 464 .activity-list .activity-content > p > a:first-child, span.highlight, 512 .activity-list .activity-content > p > a:first-child, 513 span.highlight, 465 514 .activity-list .activity-content > .comment-header > a:first-child { 466 515 border-left: 1px solid #a1dcfa; … … 625 674 -------------------------------------------------------------- */ 626 675 627 .navigation, .paged-navigation, .comment-navigation { 676 .navigation, 677 .paged-navigation, 678 .comment-navigation { 628 679 font-family: sans-serif; 629 680 } … … 637 688 } 638 689 639 div.post ul, div.post ol, div.post dl { 690 div.post ul, 691 div.post ol, 692 div.post dl { 640 693 margin: 0 1.5em 18px 0; 641 694 } … … 657 710 } 658 711 659 div.post div.author-box, div.comment-avatar-box { 712 div.post div.author-box, 713 div.comment-avatar-box { 660 714 float: right; 661 715 margin: 0 0 15px 15px; … … 663 717 } 664 718 665 div.post div.post-content, div.comment-content { 719 div.post div.post-content, 720 div.comment-content { 666 721 margin-right: 105px; 667 722 margin-left: 0; 668 723 } 669 724 670 div.post p.date, div.post p.postmetadata, div.comment-meta, div.comment-options { 725 div.post p.date, 726 div.post p.postmetadata, 727 div.comment-meta, 728 div.comment-options { 671 729 font-family: sans-serif; 672 730 } … … 683 741 } 684 742 685 div.post dd.wp-caption p.wp-caption-text, div.post .wp-caption p.wp-caption-text { 743 div.post dd.wp-caption p.wp-caption-text, 744 div.post .wp-caption p.wp-caption-text { 686 745 padding: 0 0 5px 4px; 687 746 } … … 774 833 } 775 834 776 #wp-admin-bar ul li:hover ul, #wp-admin-bar ul li li:hover ul, #wp-admin-bar ul li.sfhover ul, #wp-admin-bar ul li ul li.sfhover ul {/* lists nested under hovered list items */ 835 #wp-admin-bar ul li:hover ul, 836 #wp-admin-bar ul li li:hover ul, 837 #wp-admin-bar ul li.sfhover ul, 838 #wp-admin-bar ul li ul li.sfhover ul {/* lists nested under hovered list items */ 777 839 right: auto; 778 840 } … … 783 845 } 784 846 785 #wp-admin-bar ul li:hover ul ul, #wp-admin-bar li.sfhover ul li ul { 847 #wp-admin-bar ul li:hover ul ul, 848 #wp-admin-bar li.sfhover ul li ul { 786 849 right: -999em; 787 850 left: auto;
Note: See TracChangeset
for help on using the changeset viewer.