Changeset 13790
- Timestamp:
- 04/11/2024 06:18:21 PM (14 months ago)
- Location:
- branches/12.0/src/bp-core
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/12.0/src/bp-core/admin/css/hello-rtl.css
r13710 r13790 34 34 } 35 35 36 .bp-hello-content p.has-white-color.has-text-color.has-background.has-medium-font-size { 37 color: #fff; 38 padding: 1.25em 2.375em !important; 39 } 40 41 .bp-hello-content p a { 42 text-decoration: none; 43 } 44 45 .bp-hello-content p a:hover { 46 color: #dd823b; 47 text-decoration: underline; 48 } 49 50 .bp-hello-content p a mark.has-inline-color.has-white-color { 51 color: #fff; 52 } 53 36 54 .bp-hello-content ul, 37 55 .bp-hello-content ol { … … 46 64 font-size: 1.1em; 47 65 font-weight: 500; 66 } 67 68 .bp-hello-content .wp-container-core-buttons-is-layout-1 { 69 display: flex; 70 justify-content: center; 71 } 72 73 .bp-hello-content .has-vivid-red-background-color { 74 background-color: #be3631; 75 } 76 77 .bp-hello-content .wp-block-button.is-style-fill a:hover { 78 text-decoration: underline; 79 } 80 81 .bp-hello-content .wp-block-button__link { 82 color: #fff; 83 box-shadow: none; 84 text-decoration: none; 85 padding: calc(0.667em + 2px) calc(1.333em + 2px); 86 font-size: 1.125em; 48 87 } 49 88 -
branches/12.0/src/bp-core/admin/css/hello.css
r13710 r13790 34 34 } 35 35 36 .bp-hello-content p.has-white-color.has-text-color.has-background.has-medium-font-size { 37 color: #fff; 38 padding: 1.25em 2.375em !important; 39 } 40 41 .bp-hello-content p a { 42 text-decoration: none; 43 } 44 45 .bp-hello-content p a:hover { 46 color: #dd823b; 47 text-decoration: underline; 48 } 49 50 .bp-hello-content p a mark.has-inline-color.has-white-color { 51 color: #fff; 52 } 53 36 54 .bp-hello-content ul, 37 55 .bp-hello-content ol { … … 46 64 font-size: 1.1em; 47 65 font-weight: 500; 66 } 67 68 .bp-hello-content .wp-container-core-buttons-is-layout-1 { 69 display: flex; 70 justify-content: center; 71 } 72 73 .bp-hello-content .has-vivid-red-background-color { 74 background-color: #be3631; 75 } 76 77 .bp-hello-content .wp-block-button.is-style-fill a:hover { 78 text-decoration: underline; 79 } 80 81 .bp-hello-content .wp-block-button__link { 82 color: #fff; 83 box-shadow: none; 84 text-decoration: none; 85 padding: calc(0.667em + 2px) calc(1.333em + 2px); 86 font-size: 1.125em; 48 87 } 49 88 -
branches/12.0/src/bp-core/admin/sass/hello.scss
r13710 r13790 35 35 p { 36 36 font-size: 16px; 37 38 &.has-white-color.has-text-color.has-background.has-medium-font-size { 39 color: #fff; 40 padding: 1.25em 2.375em !important; 41 } 42 43 a { 44 text-decoration: none; 45 46 &:hover { 47 color: #dd823b; 48 text-decoration: underline; 49 } 50 51 mark { 52 53 &.has-inline-color.has-white-color { 54 color: #fff; 55 } 56 } 57 } 37 58 } 38 59 … … 49 70 font-size: 1.1em; 50 71 font-weight: 500; 72 } 73 74 .wp-container-core-buttons-is-layout-1 { 75 display: flex; 76 justify-content: center; 77 } 78 79 .has-vivid-red-background-color { 80 background-color: #be3631; 81 } 82 83 .wp-block-button.is-style-fill a:hover { 84 text-decoration: underline; 85 } 86 87 .wp-block-button__link { 88 color: #fff; 89 box-shadow: none; 90 text-decoration: none; 91 padding: calc(0.667em + 2px) calc(1.333em + 2px); 92 font-size: 1.125em; 51 93 } 52 94 } -
branches/12.0/src/bp-core/classes/class-bp-admin.php
r13710 r13790 186 186 187 187 // Add a link to BuddyPress Hello in the admin bar. 188 add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ), 100 ); 188 if ( bp_current_user_can( 'bp_moderate' ) ) { 189 add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ), 100 ); 190 } 189 191 190 192 // Add a description of BuddyPress tools in the available tools page.
Note: See TracChangeset
for help on using the changeset viewer.