Changeset 11813
- Timestamp:
- 01/20/2018 08:35:16 PM (7 years ago)
- Location:
- trunk/src/bp-templates/bp-nouveau
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-templates/bp-nouveau/common-styles/_bp_buttons.scss
r11714 r11813 230 230 #buddypress { 231 231 232 // Style the create link as a button - this would be better served 233 // as a modifier class but we need to be able to allow user selection 234 // between button style & plain text. For the moment we'll force a 235 // choice, vert dir navs get button style, horizontal dir navs a text link. 236 232 237 .create-button { // the parent, i.e li element. 233 238 background: none; … … 236 241 float: right; 237 242 } 238 //padding-top: $pad-med;239 243 text-align: center; 240 244 … … 274 278 } 275 279 280 &.bp-dir-hori-nav { 281 282 .create-button { 283 float: left; 284 285 a, 286 a:hover { 287 background: none; 288 border: 0; 289 290 @include box-shadow-none(); 291 margin: 0; 292 } 293 } 294 } 276 295 } // close #buddypress 277 296 -
trunk/src/bp-templates/bp-nouveau/common-styles/_bp_navigation.scss
r11686 r11813 140 140 } 141 141 142 .main-navs.vertical { 142 .main-navs.vertical { // single screen navs 143 143 144 144 li.selected, … … 153 153 } 154 154 155 &.bp-dir-hori-nav { 156 157 nav { 158 border-bottom: 1px solid $bp-border-color; 159 border-top: 1px solid $bp-border-color; 160 161 @include box-shadow( 0 2px 12px 0 $off-white); 162 } 163 } 155 164 } // close @media 156 165 -
trunk/src/bp-templates/bp-nouveau/css/buddypress-rtl.css
r11811 r11813 376 376 color: #fafafa; 377 377 text-decoration: none; 378 } 379 .buddypress-wrap.bp-dir-hori-nav nav { 380 border-bottom: 1px solid #eee; 381 border-top: 1px solid #eee; 382 -webkit-box-shadow: 0 2px 12px 0 #fafafa; 383 -moz-box-shadow: 0 2px 12px 0 #fafafa; 384 box-shadow: 0 2px 12px 0 #fafafa; 378 385 } 379 386 } … … 4030 4037 } 4031 4038 4039 .buddypress #buddypress.bp-dir-hori-nav .create-button { 4040 float: right; 4041 } 4042 4043 .buddypress #buddypress.bp-dir-hori-nav .create-button a, 4044 .buddypress #buddypress.bp-dir-hori-nav .create-button a:hover { 4045 background: none; 4046 border: 0; 4047 -moz-box-shadow: none; 4048 -webkit-box-shadow: none; 4049 box-shadow: none; 4050 margin: 0; 4051 } 4052 4032 4053 .buddypress-wrap button.bp-icons, .buddypress-wrap button.ac-reply-cancel { 4033 4054 background: none; -
trunk/src/bp-templates/bp-nouveau/css/buddypress.css
r11811 r11813 376 376 color: #fafafa; 377 377 text-decoration: none; 378 } 379 .buddypress-wrap.bp-dir-hori-nav nav { 380 border-bottom: 1px solid #eee; 381 border-top: 1px solid #eee; 382 -webkit-box-shadow: 0 2px 12px 0 #fafafa; 383 -moz-box-shadow: 0 2px 12px 0 #fafafa; 384 box-shadow: 0 2px 12px 0 #fafafa; 378 385 } 379 386 } … … 4030 4037 } 4031 4038 4039 .buddypress #buddypress.bp-dir-hori-nav .create-button { 4040 float: left; 4041 } 4042 4043 .buddypress #buddypress.bp-dir-hori-nav .create-button a, 4044 .buddypress #buddypress.bp-dir-hori-nav .create-button a:hover { 4045 background: none; 4046 border: 0; 4047 -moz-box-shadow: none; 4048 -webkit-box-shadow: none; 4049 box-shadow: none; 4050 margin: 0; 4051 } 4052 4032 4053 .buddypress-wrap button.bp-icons, .buddypress-wrap button.ac-reply-cancel { 4033 4054 background: none; -
trunk/src/bp-templates/bp-nouveau/includes/template-tags.php
r11797 r11813 1423 1423 $classes[] = 'bp-vertical-navs'; 1424 1424 $bp_nouveau->{$component}->directory_vertical_layout = $layout_prefs; 1425 } else { 1426 $classes[] = 'bp-dir-hori-nav'; 1425 1427 } 1426 1428 } … … 1486 1488 if ( 1 === $layout_prefs ) { 1487 1489 $classes[] = 'vertical'; 1490 } else { 1491 $classes[] = 'horizontal'; 1488 1492 } 1489 1493
Note: See TracChangeset
for help on using the changeset viewer.