Changeset 10244
- Timestamp:
- 10/11/2015 01:28:40 PM (9 years ago)
- Location:
- trunk/src/bp-templates/bp-legacy/css
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-legacy/css/twentysixteen-rtl.css
r10225 r10244 87 87 margin: 0; 88 88 } 89 .buddypress #primary .entry-content { 89 .buddypress #primary .entry-content, 90 .buddypress #primary .content-bottom-widgets { 90 91 margin-right: 7.6923%; 91 92 margin-left: 7.6923%; … … 105 106 width: 70%; 106 107 } 107 .buddypress #primary .entry-header { 108 margin: 0 7.6923%; 108 .buddypress #primary .entry-content, 109 .buddypress #primary .content-bottom-widgets { 110 margin-right: 0; 111 margin-left: 0; 109 112 } 110 113 .buddypress .sidebar { … … 161 164 } 162 165 166 @media screen and (max-width: 38.75em) { 167 #buddypress #object-nav ul li:not(:last-child) { 168 border-bottom: 1px solid #eaeaea; 169 } 170 } 171 163 172 #buddypress #object-nav ul li:not(.selected) a { 164 173 opacity: 0.7; 174 } 175 176 @media screen and (max-width: 38.75em) { 177 #buddypress #object-nav ul li:not(.selected):focus, 178 #buddypress #object-nav ul li:not(.selected):hover { 179 background: #f4f2df; 180 } 165 181 } 166 182 … … 222 238 /*__ Vertical menu User Account / Group single screens __*/ 223 239 @media screen and (min-width: 55em) { 224 body :not(.sidebar)#buddypress #item-header,225 body :not(.sidebar)#buddypress #item-body {240 body.no-sidebar #buddypress #item-header, 241 body.no-sidebar #buddypress #item-body { 226 242 background: #fff; 227 243 } 228 body :not(.sidebar)#buddypress #object-nav {244 body.no-sidebar #buddypress #object-nav { 229 245 border-left: 1px solid #ddd; 230 246 float: right; … … 232 248 width: 200px; 233 249 } 234 body :not(.sidebar)#buddypress #object-nav ul {250 body.no-sidebar #buddypress #object-nav ul { 235 251 background: none; 236 252 border-bottom: 0; 237 253 padding: 0; 238 254 } 239 body :not(.sidebar)#buddypress #object-nav ul li {255 body.no-sidebar #buddypress #object-nav ul li { 240 256 float: none; 241 257 overflow: hidden; 242 258 } 243 body :not(.sidebar)#buddypress #object-nav ul li span {259 body.no-sidebar #buddypress #object-nav ul li span { 244 260 background: #fff; 245 261 border-radius: 10%; … … 247 263 margin-left: 2px; 248 264 } 249 body :not(.sidebar)#buddypress #item-body {265 body.no-sidebar #buddypress #item-body { 250 266 border-right: 1px solid #ddd; 251 267 overflow: hidden; … … 253 269 width: auto; 254 270 } 255 body :not(.sidebar)#buddypress #item-body #subnav {271 body.no-sidebar #buddypress #item-body #subnav { 256 272 margin: 0 -20px 0 0; 257 273 } 258 body :not(.sidebar)#buddypress #item-body #subnav ul {274 body.no-sidebar #buddypress #item-body #subnav ul { 259 275 margin-top: 0; 260 276 } -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.css
r10225 r10244 87 87 margin: 0; 88 88 } 89 .buddypress #primary .entry-content { 89 .buddypress #primary .entry-content, 90 .buddypress #primary .content-bottom-widgets { 90 91 margin-left: 7.6923%; 91 92 margin-right: 7.6923%; … … 105 106 width: 70%; 106 107 } 107 .buddypress #primary .entry-header { 108 margin: 0 7.6923%; 108 .buddypress #primary .entry-content, 109 .buddypress #primary .content-bottom-widgets { 110 margin-left: 0; 111 margin-right: 0; 109 112 } 110 113 .buddypress .sidebar { … … 161 164 } 162 165 166 @media screen and (max-width: 38.75em) { 167 #buddypress #object-nav ul li:not(:last-child) { 168 border-bottom: 1px solid #eaeaea; 169 } 170 } 171 163 172 #buddypress #object-nav ul li:not(.selected) a { 164 173 opacity: 0.7; 174 } 175 176 @media screen and (max-width: 38.75em) { 177 #buddypress #object-nav ul li:not(.selected):focus, 178 #buddypress #object-nav ul li:not(.selected):hover { 179 background: #f4f2df; 180 } 165 181 } 166 182 … … 222 238 /*__ Vertical menu User Account / Group single screens __*/ 223 239 @media screen and (min-width: 55em) { 224 body :not(.sidebar)#buddypress #item-header,225 body :not(.sidebar)#buddypress #item-body {240 body.no-sidebar #buddypress #item-header, 241 body.no-sidebar #buddypress #item-body { 226 242 background: #fff; 227 243 } 228 body :not(.sidebar)#buddypress #object-nav {244 body.no-sidebar #buddypress #object-nav { 229 245 border-right: 1px solid #ddd; 230 246 float: left; … … 232 248 width: 200px; 233 249 } 234 body :not(.sidebar)#buddypress #object-nav ul {250 body.no-sidebar #buddypress #object-nav ul { 235 251 background: none; 236 252 border-bottom: 0; 237 253 padding: 0; 238 254 } 239 body :not(.sidebar)#buddypress #object-nav ul li {255 body.no-sidebar #buddypress #object-nav ul li { 240 256 float: none; 241 257 overflow: hidden; 242 258 } 243 body :not(.sidebar)#buddypress #object-nav ul li span {259 body.no-sidebar #buddypress #object-nav ul li span { 244 260 background: #fff; 245 261 border-radius: 10%; … … 247 263 margin-right: 2px; 248 264 } 249 body :not(.sidebar)#buddypress #item-body {265 body.no-sidebar #buddypress #item-body { 250 266 border-left: 1px solid #ddd; 251 267 overflow: hidden; … … 253 269 width: auto; 254 270 } 255 body :not(.sidebar)#buddypress #item-body #subnav {271 body.no-sidebar #buddypress #item-body #subnav { 256 272 margin: 0 0 0 -20px; 257 273 } 258 body :not(.sidebar)#buddypress #item-body #subnav ul {274 body.no-sidebar #buddypress #item-body #subnav ul { 259 275 margin-top: 0; 260 276 } -
trunk/src/bp-templates/bp-legacy/css/twentysixteen.scss
r10225 r10244 256 256 257 257 // The breakpoint for main & sidebar could cut in earlier, elements wrap to blocks/columns 258 // but margins & padding still in effect style.css L:2781.258 // but margins & padding still in effect for sidebar style.css L:2781. 259 259 260 260 @include small-up { … … 268 268 } 269 269 270 .entry-content { 270 .entry-content, 271 .content-bottom-widgets { 271 272 margin-left: 7.6923%; 272 273 margin-right: 7.6923%; … … 288 289 width: 70%; 289 290 290 .entry-header { 291 margin: 0 7.6923%; 291 .entry-content, 292 .content-bottom-widgets { 293 margin-left: 0; 294 margin-right: 0; 292 295 } 293 296 } … … 376 379 ul { 377 380 overflow: hidden; 378 li {float: none;} 381 382 li { 383 float: none; 384 } 385 386 @media screen and (max-width: 38.75em) { 387 li:not(:last-child) { 388 border-bottom: 1px solid $border-light; 389 } 390 } 391 379 392 li:not(.selected) { 380 393 a {opacity: 0.7;} 394 395 @media screen and (max-width: 38.75em) { 396 &:focus, 397 &:hover { 398 background: darken($cream-background, 2%); 399 } 400 } 381 401 } 382 402 … … 454 474 // This block contains rules to re-factor the item-body structural element 455 475 // to sit alongside the vert menu 456 // As 2016 has an inner sidebar which if active can narrow screen too far457 // for a columner nav we'll only use these rules if no sidebar.476 // 2016 right sidebar is displayed if the widget sidebar has widgets; 477 // we'll only display object nav as a vert menu if sidebar not present. 458 478 459 479 @media screen and (min-width: 55em) { 460 480 461 .bp-user #buddypress, 462 .single-item.groups #buddypress { 463 // background: $light-background; 464 } 465 466 body:not(.sidebar) { 481 body.no-sidebar { 467 482 #buddypress { 468 483
Note: See TracChangeset
for help on using the changeset viewer.