// // // Twenty Twenty-Two companion stylesheet source. // // // This file compiles to twentytwentytwo.css. // Import our partials mixins & variables files @import "../common-styles/_bp-variables"; @import "../common-styles/_bp-mixins"; /*-------------------------------------------------------------- Hello, this is the BP Nouveau's Twenty Twenty-Two companion stylesheet. @since 10.0.0 @version 10.0.0 ---------------------------------------------------------------- >>> TABLE OF CONTENTS: ---------------------------------------------------------------- 1.0 - BP Generic, Typography & Imagery 2.0 - Navigation - General 2.1 - Navs - Object Nav / Sub Nav (item-list-tabs) 2.2 - Pagination 3.0 - BP Lists / Loops Generic & filters 3.1 - Activity Loop 3.1.1 Whats New Activity 3.1.2 - Activity Entries 3.1.3 - Activity Comments 3.2 - Blogs Loop 3.3 - Groups Loop 3.4 - Members Loop 4.0 - Directories - Members, Groups, Blogs, Register, Activation 4.1 - Groups Creation Steps Screens 5.0 - Single Item screens: User Account & Single Group Screens 5.1 - Item Headers: Global 5.1.1 - item-header: Groups 5.1.2 - item-header: User Accounts 5.2 - Item Body: Global 5.2.1 - item-body: Groups 5.2.1.1 - Management settings screens 5.2.1.2 - Group Members list 5.2.1.3 - Group Invite list 5.2.1.4 - Group Activity 5.2.2 - item-body: User Accounts 5.2.2.1 - classes, pag, filters 5.2.2.2 - Extended Profiles 5.2.2.3 - Groups 5.2.2.4 - friends 5.2.2.5 - Private Messaging Threads 5.2.2.6 - Settings 5.2.2.7 - Notifications 6.0 - Forms - General 6.1 - Dir Search 6.2 - Registration 7.0 - Tables - General 7.0.1 - Group - Manage Members 8.0 - Classes - Messages, Ajax, Widgets, Buttons, Tooltips 9.0 - Layout Classes. --------------------------------------------------------------*/ /** *------------------------------------------------------------------------------- * @section 1.0 - BP Generic, Typography & Imagery *------------------------------------------------------------------------------- */ /** *------------------------------------------------------------------------------- * @section 2.0 - Navigation - General *------------------------------------------------------------------------------- */ /** *---------------------------------------------------------- * @section 2.1 - Navs Object Nav / Sub Nav (bp-list) * * The main navigational elements for all BP screens *---------------------------------------------------------- */ #buddypress.twentytwentytwo { &:not(.bp-single-vert-nav) { @include medium-max { .bp-navs { li { background: transparent; } } } } .bp-navs { li { .count { background-color: var(--wp--preset--color--primary); border: 1px solid var(--wp--preset--color--primary); border-radius: 50%; color: var(--wp--preset--color--background); } } &:not(.tabbed-links) { li.selected, li.current, li a:hover { a { .count { background-color: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--background); color: var(--wp--preset--color--foreground); } } } } li:not(.current):not(.selected) { a:focus, a:hover { background: var(--wp--preset--color--background); color: var(--wp--preset--color--primary); outline-offset: -0.25ch; outline: 2px dashed currentColor; } } li.selected, li.current { a, a:focus, a:hover { color: var(--wp--preset--color--background); background-color: var(--wp--preset--color--primary); } } &.tabbed-links ul, &.tabbed-links ol { border-bottom: 1px solid var(--wp--preset--color--primary); li.current { border-color: var(--wp--preset--color--primary) var(--wp--preset--color--primary) var(--wp--preset--color--background); border-style: solid; border-top-left-radius: 4px; border-top-right-radius: 4px; a { color: var(--wp--preset--color--primary); background-color: var(--wp--preset--color--background); } } } } #group-invites-container { .bp-invites-nav { border-bottom: none; li { .count { margin-left: 10px; border-radius: 10%; vertical-align: 10%; } } } #send-invites-editor { ul { padding-left: 0; } } } &.bp-dir-hori-nav:not(.bp-vertical-navs) { nav:not(.tabbed-links) { border: none; border-bottom: 1px solid var(--wp--preset--color--primary); box-shadow: none; } } } #buddypress.twentytwentytwo { .subnav-filters { > ul { padding-left: 0; } } } /** *---------------------------------------------------------- * @section 2.2 - Pagination *---------------------------------------------------------- */ #buddypress.twentytwentytwo { .bp-pagination { color: var(--wp--preset--color--foreground); } } /** *------------------------------------------------------------------------------- * @section 3.0 - BP Lists / Loops Generic *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { .bp-list { border-top: 1px dotted var(--wp--preset--color--primary); > li { border-bottom: 1px dotted var(--wp--preset--color--primary); } } .bp-list { li { &:not(.mini) { .item-avatar { img.avatar { display: block; margin: 0 auto; margin-bottom: 1em; max-width: 80%; } @include medium-up() { max-width: 128px; max-height: 128px; margin: auto; margin-right: 5%; } } } &.mini { .item-avatar { img.avatar { display: block; margin: 0 auto; max-width: 50px; max-height: 50px; margin-bottom: 1em; } @include medium-up() { width: 5%; margin: auto; margin-right: 2%; } } .activity-meta { &.action { clear: none; } } } .meta, .item-meta { color: var(--wp--preset--color--foreground); } } } } /** *---------------------------------------------------------- * @section 3.1 - Activity Loop *---------------------------------------------------------- */ #buddypress.twentytwentytwo { .activity-list.bp-list { background: inherit; border-left: none; border-right: none; border-top: none; border-bottom: 1px dotted var(--wp--preset--color--primary); padding: 0; .activity-item { background: inherit; border: none; border-radius: 0; border-top: 1px dotted var(--wp--preset--color--primary); box-shadow: none; &:not(:first-child) { margin-top: 1.5em; } .activity-header { .time-since, .time-since:hover { color: var(--wp--preset--color--foreground); } } } } } /** *----------------------------------------------------- * @section 3.1.1 - Activity Whats New *----------------------------------------------------- */ #buddypress.twentytwentytwo { .activity-update-form { border: none; box-shadow: none; #whats-new-textarea { textarea { border: solid 1px var(--wp--preset--color--foreground); border-radius: 0; &:focus { box-shadow: none; } } } #whats-new-post-in-box { select, #activity-autocomplete { border: solid 1px var(--wp--preset--color--foreground); padding: 0.5em; font-size: var(--wp--preset--font-size--medium); } select { width: fit-content; } #whats-new-post-in-box-items { li { margin-bottom: 0; #activity-autocomplete { width: 98%; } &.bp-activity-object { padding: 0.5em; border-radius: 0; border-style: dotted; border-width: 0; border-left-width: 1px; border-right-width: 1px; &:not(.selected) { background: var(--wp--preset--color--background); color: var(--wp--preset--color--foreground); border-color: var(--wp--preset--color--foreground); &:last-child { border-bottom: dotted 1px; } &:hover { background: var(--wp--preset--color--secondary); } } &.selected { border: none; background-color: transparent; } } } } } #whats-new-submit { margin-bottom: calc(32px + var(--wp--style--block-gap)); } } #activity-rss-feed { line-height: 40px; } } /** *----------------------------------------------------- * @section 3.1.2 - Activity Entries *----------------------------------------------------- */ body { .wp-site-blocks { #buddypress.twentytwentytwo { .activity-list { .load-more, .load-newest { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--primary); a { color: var(--wp--preset--color--background); &:focus { color: var(--wp--preset--color--foreground); background: transparent; outline-offset: -0.25ch; outline: 2px dashed currentColor; } } &:hover, &:focus { color: var(--wp--preset--color--foreground); background: transparent; a { color: var(--wp--preset--color--foreground); background: transparent; } } } .activity-content { .activity-header, .comment-header { color: var(--wp--preset--color--foreground); a { font-weight: 600; &:hover { text-decoration: underline; } } } .activity-inner, blockquote { background: inherit; border: 1px dotted var(--wp--preset--color--primary); } .activity-meta.action { background: inherit; margin-left: calc(128px + 5%); .icons:before { height: auto; width: auto; display: inline; } .button:before { content: ""; } .button { background-color: var(--wp--preset--color--tertiary); padding: 0.7em 0.7em 0.5em; .bp-screen-reader-text { border: 0; clip: inherit; height: auto; margin: auto; overflow: auto; position: inherit; width: auto; font-size: var(--wp--preset--font-size--small); font-weight: 600; } span:not(.bp-screen-reader-text) { background-color: var(--wp--preset--color--foreground); color: var(--wp--preset--color--tertiary); padding: 0.1em 0.3em; border-radius: 50%; font-size: var(--wp--preset--font-size--small); vertical-align: text-bottom; } &:not(.delete-activity) { color: var(--wp--preset--color--foreground); } &:hover { background-color: var(--wp--preset--color--foreground); color: var(--wp--preset--color--background); span { color: var(--wp--preset--color--background); } span:not(.bp-screen-reader-text) { background-color: var(--wp--preset--color--tertiary); color: var(--wp--preset--color--foreground); } } &.delete-activity { color: var(--wp--preset--color--vivid-red); border: solid 1px var(--wp--preset--color--vivid-red); span.bp-screen-reader-text { color: var(--wp--preset--color--vivid-red); } &:hover { background-color: var(--wp--preset--color--vivid-red); color: var(--wp--preset--color--background); span.bp-screen-reader-text { color: var(--wp--preset--color--background); } } } } } } li.mini { .activity-meta.action { margin-left: calc(50px + 2%); } } } } #buddypress.twentytwentytwo:not(.alignwide) { .activity-list { .activity-avatar { margin-left: 0; margin-right: 1em; width: auto; img.avatar { max-width: 25px; max-height: 25px; margin-bottom: 0; } } .activity-content { .activity-meta.action { margin-left: 0; } } } } } &.activity-permalink { #buddypress.twentytwentytwo { .activity-list { border: none; .activity-item { border: none; .activity-avatar { img.avatar { background: var(--wp--preset--color--white); } } } } } } } /** *----------------------------------------------------- * @section 3.1.3 - Activity Comments *----------------------------------------------------- */ #buddypress.twentytwentytwo { .bp-list { li { .activity-comments { .show-all { button { text-decoration: none; .icon { display: none; } } } .acomment-avatar { width: auto; margin-right: 0; img.avatar { max-width: none; } } .acomment-meta { color: var(--wp--preset--color--foreground); a { font-weight: 600; &:hover { text-decoration: underline; } } } .activity-meta.action { .generic-button a { color: var(--wp--preset--color--foreground); display: inline-block; font-size: var(--wp--preset--font-size--small); &.bp-primary-action { background-color: var(--wp--preset--color--secondary); } &.bp-secondary-action { background-color: var(--wp--preset--color--tertiary); } } } .acomment-content { border-left: 1px solid var(--wp--preset--color--foreground); margin: 15px 0 0 5%; } .ac-form { .ac-reply-content { .ac-textarea { textarea { width: 98%; border-radius: 0; &:focus { box-shadow: none; } } } [type="submit"], [type="button"] { color: var(--wp--preset--color--foreground); display: inline-block; font-size: var(--wp--preset--font-size--small); } [type="submit"] { margin-left: calc(50px - 0.5em); background-color: var(--wp--preset--color--secondary); } [type="button"] { background-color: var(--wp--preset--color--tertiary); } } } } } } } /** *---------------------------------------------------------- * @section 3.2 - Blogs Loop *---------------------------------------------------------- */ /** *---------------------------------------------------------- * @section 3.3 - Groups Loop *---------------------------------------------------------- */ #buddypress.twentytwentytwo { .groups-list { // ul li { .group-desc { color: var(--wp--preset--color--foreground); border: 1px dotted var(--wp--preset--color--primary); } } } #groups-dir-list { .current-group-type { text-align: center; } } } /** *---------------------------------------------------------- * @section 3.4 - Members Loop *---------------------------------------------------------- */ #buddypress.twentytwentytwo { body:not(.logged-in) & { .members-list { .user-update { width: inherit; } } } .members-list { // ul li { .user-update { border: 1px dotted var(--wp--preset--color--primary); color: var(--wp--preset--color--foreground); margin: 0 auto 15px; } } } #members-dir-list { .current-member-type { text-align: center; } } } /** *------------------------------------------------------------------------------- * @section 4.0 - Directories *------------------------------------------------------------------------------- */ // Nothing special for Registration index screen (directory) so far. /** *---------------------------------------------------------- * @section 4.1 - Groups Creation Steps *---------------------------------------------------------- */ #buddypress.twentytwentytwo { #group-create-body { nav.group-create-links { &:not(.tabbed-links) { background: transparent; clear: both; overflow: hidden; border: none; border-bottom: 1px solid var(--wp--preset--color--primary); box-shadow: none; li { a, span { padding: 0.5em calc(0.5em + 2px); display: block; } } } } } } /** *------------------------------------------------------------------------------- * @section 5.0 - Single Item screens: Groups, Users *------------------------------------------------------------------------------- */ body.single-item, body.bp-user { #buddypress.twentytwentytwo { .item-body { h2.bp-screen-title, h2.screen-heading { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; } } } } /** *----------------------------------------------------------- * @subsection 5.1 - Item Header Global *----------------------------------------------------------- */ #buddypress.twentytwentytwo { .single-headers { #item-header-cover-image { h2 { font-weight: 900; } } .group-status, .item-meta, .bp-group-type-list, .bp-member-type-list { color: var(--wp--preset--color--foreground); } a:hover { text-decoration: underline; } } } /** *----------------------------------------------------- * @subsection 5.1.1 - item-header Groups * * Group Specific Item Header *----------------------------------------------------- */ #buddypress.twentytwentytwo { .groups-header { .desc-wrap { background: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--primary); .group-description { background: none; box-shadow: none; } } } } /** *----------------------------------------------------- * @subsection 5.1.2 - Item Header User Accounts * * User Accounts Specific Item Header *----------------------------------------------------- */ // Nothing specific for the Single User specific header rules so far. /** *----------------------------------------------------------- * @subsection 5.2 - Item Body: Global *----------------------------------------------------------- */ #buddypress.twentytwentytwo { .item-body { h2.screen-heading, h2.creation-step-name { font-size: var(--wp--custom--typography--font-size--huge); } h3.screen-heading, h3.creation-step-name { font-size: var(--wp--preset--font-size--large); } h4.screen-heading, h4.creation-step-name { font-size: var(--wp--preset--font-size--medium); } .bp-avatar { #avatar-crop-pane { margin-bottom: 1em; } } .bp-avatar-nav { ul.avatar-nav-items { border-bottom: 1px solid var(--wp--preset--color--primary); li { &.current { border: 1px solid var(--wp--preset--color--primary); border-bottom: 1px solid var(--wp--preset--color--background); } } } } #drag-drop-area { border: 4px dashed var(--wp--preset--color--foreground); .drag-drop-info { color: var(--wp--preset--color--foreground); } #bp-browse-button { margin: 50px auto 0; } } .drag-over { #drag-drop-area { border: 4px dashed var(--wp--preset--color--vivid-cyan-blue); } } .bp-avatar-status, .bp-cover-image-status, .avatar-history-actions { .warning, .success { background-color: var(--wp--preset--color--tertiary); border: none; border-left-width: 4px; border-left-style: solid; color: var(--wp--preset--color--primary); } .warning { border-left-color: var(--wp--preset--color--luminous-vivid-orange); } .success { border-left-color: var(--wp--preset--color--vivid-green-cyan); } .error { border-left-color: var(--wp--preset--color--vivid-red); } } .avatar-history-action.delete { background-color: var(--wp--preset--color--vivid-red); color: var(--wp--preset--color--background); border: solid 1px var(--wp--preset--color--vivid-red); &:hover { background-color: var(--wp--preset--color--background); color: var(--wp--preset--color--vivid-red); } } } } /** *---------------------------------------------------- * @subsection 5.2.1 - Item Body Groups * * Groups specific item body rules - screens *---------------------------------------------------- */ // Nothing specific for the single screen item-body so far. /** *----------------------------------------- * @subsection 5.2.1.1 - Management Settings Screens *----------------------------------------- */ #buddypress.twentytwentytwo { .group-settings & { .group-settings-selections { margin-bottom: 1em; } } #group-manage-members-ui { .bp-pagination { padding: 0.4em 0 0.4em 0.5em; } #group-members-search-form { input[type="search"] { font-size: 16px; &:focus { outline-offset: -7px; outline: 2px dotted var(--wp--preset--color--foreground); } } button[type="submit"] { border-width: 1px; border-style: solid; background-clip: border-box; &:hover { border-color: var(--wp--preset--color--primary); } } } #group-roles-filter, #group-members-list-table .group-member-edit { label { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; } } #group-members-role-filter, #group-members-list-table .group-member-edit select { font-size: 16px; padding: 6px 25px 6px 10px; &:focus { outline-offset: 2px; outline: 2px dotted var(--wp--preset--color--foreground); } } } #delete-group-button { border-color: var(--wp--preset--color--vivid-red); color: var(--wp--preset--color--background); background: var(--wp--preset--color--vivid-red); &:hover { color: var(--wp--preset--color--vivid-red); background: var(--wp--preset--color--background); } } } /** *----------------------------------------- * @subsection 5.2.1.2 - Group Members List *----------------------------------------- */ /* *----------------------------------------- * @subsection 5.2.1.3 - Group Invites List *----------------------------------------- */ #buddypress.twentytwentytwo { .bp-invites-content { ul { border-top: none; li { border: 1px dotted var(--wp--preset--color--primary); &.selected { box-shadow: none; border-style: solid; } button.invite-button { border: none; background: none; top: -5px; right: 0; .icons:before { border-radius: 50%; width: 32px; height: 32px; color: var(--wp--preset--color--primary); background: var(--wp--preset--color--background); } &:hover { .icons:before { color: var(--wp--preset--color--background); background: var(--wp--preset--color--primary); width: 32px; height: 32px; } } &.group-remove-invite-button { .icons:before { color: var(--wp--preset--color--vivid-red); background: var(--wp--preset--color--background); } &:hover { .icons:before { color: var(--wp--preset--color--background); background: var(--wp--preset--color--vivid-red); } } } } ul.group-inviters { li { border: none; } } } } } } /* *----------------------------------------- * @subsection 5.2.1.4 - Group Activity *----------------------------------------- */ // Nothing particular for the Group's activity. /** *----------------------------------------------------- * @subsection 5.2.2 - Item Body User Accounts * * User Account specific item body rules *----------------------------------------------------- */ /** *-------------------------------------------- * @subsection 5.2.2.1 - classes, pag, filters *-------------------------------------------- */ /** *------------------------------------------- * @subsection 5.2.2.2 - Extended Profiles *------------------------------------------- */ #buddypress.twentytwentytwo { .profile { table.profile-fields, table.bp-tables-user { tr.alt, tr { td { background: transparent; &.label { border-right-color: var(--wp--preset--color--primary); } } } } &.edit { .editfield { background: var(--wp--preset--color--background); border: 1px solid var(--wp--preset--color--primary); p.field-visibility-settings-toggle { margin-top: 1em; } .field-visibility-settings { .radio { label { margin-bottom: 0.5em; } } } } .wp-editor-container { .mce-toolbar { button { color: var(--wp--preset--color--primary); background: var(--wp--preset--color--background); border-color: var(--wp--preset--color--primary); } } } .button-tabs { li { border: solid 2px var(--wp--preset--color--primary); overflow: hidden; a { text-decoration: none; } &.current { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); a { color: var(--wp--preset--color--background); } } &:hover { outline-offset: 10px; border-style: dotted; } } } .clear-value { text-decoration: underline; } legend { padding: 0; } } } .field-visibility-settings, .field-visibility-settings-header { color: var(--wp--preset--color--foreground); } } /** *------------------------------------------- * @subsection 5.2.2.3 - Groups *------------------------------------------- */ #buddypress.twentytwentytwo { #group-list { &.invites { h2.list-title { float: none; } .accept { margin-left: 0; } } } } /** *------------------------------------------- * @subsection 5.2.2.5 - Private Messaging *------------------------------------------- */ #buddypress.twentytwentytwo { #user_messages_select_all { vertical-align: -5px; } #user_messages_select_all:checked { vertical-align: -3px; } #message-threads { border-top: 1px dotted var(--wp--preset--color--primary); > li { border-bottom: 1px dotted var(--wp--preset--color--primary); &.selected { border: 1px solid var(--wp--preset--color--primary); } &.unread { border-left: 8px solid var(--wp--preset--color--secondary); } } li { .thread-cb { padding-left: 15px; } &.unread { .thread-cb { padding-left: 7px; } } .thread-from, .thread-to { img.avatar { width: 32px; height: 32px; } .num-recipients { color: var(--wp--preset--color--primary); } } .thread-content { .excerpt { color: var(--wp--preset--color--primary); } } .thread-date { time { color: var(--wp--preset--color--primary); } } } li.selected { background: transparent; font-weight: bolder; color: var(--wp--preset--color--primary); .thread-subject { .subject { color: var(--wp--preset--color--primary); } } } li:not(.selected) { color: var(--wp--preset--color--foreground); } } .bp-messages-content { #thread-preview h2:first-child, #bp-message-thread-header h2:first-child { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); } #bp-message-thread-list { border-top: none; } #thread-preview { border-color: var(--wp--preset--color--primary); dd, .participants-list { padding-left: 0; } .preview-pane-header { border-bottom-style: dotted; border-bottom-color: var(--wp--preset--color--primary); } .preview-content { .preview-message { background: transparent; } } } .single-message-thread-header { dd, .participants-list { padding-left: 0; } } .actions { button.bp-tooltip { border: none; background: none; &.message-action-delete, &.message-action-exit { &:before { width: 32px; height: 32px; color: var(--wp--preset--color--vivid-red); background: var(--wp--preset--color--background); } &:hover { &:before { border-radius: 50%; color: var(--wp--preset--color--background); background: var(--wp--preset--color--vivid-red); } } } } .message-action-unstar:before, .message-action-star:before { color: var(--wp--preset--color--foreground); } } #bp-message-thread-list { li { padding-left: 0; .message-metadata { background: transparent; border: 1px solid var(--wp--preset--color--primary); box-shadow: none; * { line-height: 1.6; vertical-align: middle; } .user-link { margin-top: 3px; margin-bottom: 3px; strong { display: inline-block; margin-top: 2px; } &:hover { strong { text-decoration: underline; } } } time { color: var(--wp--preset--color--foreground); } } .message-content { background: transparent; margin: 0; width: 100%; padding: 0.5em 0.2em; * { padding-left: 0.8em; padding-right: 0.8em; } } &:first-child { .message-content { border: 1px dotted var(--wp--preset--color--primary); border-top: none; } } } } #send-reply { .avatar-box { img.avatar { display: inline-block; vertical-align: -7px; } } } .wp-editor-container { .mce-toolbar { button { color: var(--wp--preset--color--primary); background: var(--wp--preset--color--background); border-color: var(--wp--preset--color--primary); } } } #bp-messages-reset { border-width: 0; font-size: inherit; } #send-to-input { width: 100% !important; } } .subnav-filters { button#user_messages_search_submit { padding: 3px 0.7em; background-color: var(--wp--preset--color--background); color: var(--wp--preset--color--foreground); border-color: var(--wp--preset--color--background); border-left-color: var(--wp--preset--color--primary); &:hover { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); border-color: var(--wp--preset--color--primary); } } .user-messages-bulk-actions { .bulk-apply { line-height: 1.5; margin: 0 0 0 10px; padding: 3px 5px; background-color: var(--wp--preset--color--background); color: var(--wp--preset--color--foreground); &:hover { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); } span { vertical-align: middle; } } } } } /** *------------------------------------------ * @subsection 5.2.2.6 - Settings *------------------------------------------ */ #buddypress.twentytwentytwo { &.buddypress-wrap .bp-tables-user tr.alt td, &.buddypress-wrap table.wp-profile-fields tr.alt td { background: transparent; } .bp-tables-user.profile-settings { border: solid 1px currentColor; margin-bottom: 1em; thead { tr { border: none; th { text-align: left; border-bottom: dotted 1px currentColor; } } } } #delete-account-button { border-color: var(--wp--preset--color--vivid-red); color: var(--wp--preset--color--background); background: var(--wp--preset--color--vivid-red); &:hover { color: var(--wp--preset--color--vivid-red); background: var(--wp--preset--color--background); } } } /** *------------------------------------------ * @subsection 5.2.2.7 - Notifications *------------------------------------------ */ #buddypress.twentytwentytwo { .notifications-options-nav, .invitations-options-nav { margin-top: 1em; } .notifications-options-nav input#notification-bulk-manage, .invitations-options-nav input#invitation-bulk-manage { line-height: 1.2; } .bp-tables-user.notifications { th { text-align: left; } td.notification-actions { a.delete { color: var(--wp--preset--color--vivid-red); } } } } /** *------------------------------------------------------------------------------- * @section 6.0 - Forms - General *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { fieldset { padding-top: 0; margin-top: 1em; legend { padding: 0 1em; display: inline-block; } } .select-wrap { border: 1px solid var(--wp--preset--color--primary); background: var(--wp--preset--color--background); select { background: transparent; width: 98%; text-indent: 0; } span.select-arrow { background: transparent; &:before { font-family: dashicons; content: "\f140"; color: var(--wp--preset--color--foreground); vertical-align: -10%; } } &:focus, &:hover { .select-arrow:before { color: var(--wp--preset--color--foreground); } } } input[type="checkbox"], input[type="radio"] { width: 25px; height: 25px; vertical-align: top; } textarea, input[type="text"], input[type="color"], input[type="date"], input[type="datetime"], input[type="datetime-local"], input[type="email"], input[type="month"], input[type="number"], input[type="range"], input[type="tel"], input[type="time"], input[type="url"], input[type="week"], input[type="password"], input[type="search"], .groups-members-search input[type="text"] { color: var(--wp--preset--color--foreground); background: var(--wp--preset--color--background); } .subnav-filters { input[type="search"] { font-size: 16px; background: transparent; } } .bp-dir-search-form, form#group-members-search, form#group_invites_search_form { button { background-color: var(--wp--preset--color--background); color: var(--wp--preset--color--foreground); border-color: var(--wp--preset--color--background); border-left-color: var(--wp--preset--color--primary); &:hover { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); border-color: var(--wp--preset--color--primary); } } } .standard-form { p.description { color: var(--wp--preset--color--primary); background-color: var(--wp--preset--color--background); } .datebox-selects { label, span.label { display: inline; } } } } body.bp-user.settings.general { #buddypress.twentytwentytwo { .wp-pwd { &:not(.is-open) { display: none; } } } } /** *---------------------------------------------------------- * @section 6.1 - Directory Search * * The Search form & controls in directory pages *---------------------------------------------------------- */ #buddypress.twentytwentytwo { .bp-user & { [data-bp-search] { form { #user_messages_search { padding: 3px 10px; } } } } form.bp-dir-search-form, form.bp-messages-search-form, form[data-bp-search].bp-invites-search-form, form#group-members-search { border: 1px solid var(--wp--preset--color--primary); background-color: var(--wp--preset--color--background); button { padding: 5px 0.8em 6px; } } } /** *---------------------------------------------------------- * @section 6.2 - Registration *---------------------------------------------------------- */ #buddypress.twentytwentytwo { &.extended-default-reg { .register-page { .default-profile { min-width: 45%; } } } } /** *------------------------------------------------------------------------------- * @section 7.0 - Tables - General *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { .bp-tables-user, table.wp-profile-fields, table.forum { tbody { tr, tr.alt { background: transparent; } } } } /** *------------------------------------------------------------------------------- * @subsection 7.0.1 - Group - Manage Members *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { table#group-members-list-table { border-collapse: collapse; width: 100%; a:hover, a:focus { text-decoration: underline; text-decoration-style: dashed; text-decoration-thickness: 1px; text-underline-offset: 0.25ch; } .row-actions a { font-size: 90%; } th, td { padding: 0.5em; border: 1px solid var(--wp--preset--color--primary); word-break: break-all; &.uname-column { width: 60%; } } td { img { &.avatar { display: block; height: calc(2.25 * 1rem); min-height: inherit; width: calc(2.25 * 1rem); } &.alignleft { float: left; @media screen and (min-width: 46.8em) { margin-right: calc(2 * 1rem); } } } } } } /** *------------------------------------------------------------------------------- * @section 8.0 - Classes - Messages, Ajax, Widgets, Buttons *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { button, a.button, input[type="submit"], input[type="button"], ul.button-nav:not(.button-tabs) li a, .generic-button a, .comment-reply-link, a.bp-title-button, .activity-read-more a { background: var(--wp--preset--color--primary); border: 1px solid var(--wp--preset--color--primary); border-radius: 0; color: var(--wp--preset--color--background); } button:hover, button:focus, a.button:focus, a.button:hover, input[type="submit"]:focus, input[type="submit"]:hover, input[type="button"]:focus, input[type="button"]:hover, input[type="reset"], #bp-messages-reset, .button-nav li a:focus, .button-nav li a:hover, .button-nav li.current a, .generic-button a:focus, .generic-button a:hover, .comment-reply-link:focus, .comment-reply-link:hover, .activity-read-more a:focus, .activity-read-more a:hover { background: transparent; border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--foreground); outline: none; text-decoration: none; } input[type="reset"]:focus, input[type="reset"]:hover, #bp-messages-reset:focus, #bp-messages-reset:hover { outline-offset: -0.25ch; outline: 2px dashed currentColor; } input[type="submit"].pending, input[type="button"].pending, input[type="reset"].pending, input[type="button"].disabled, input[type="reset"].disabled, input[type="submit"][disabled="disabled"], input[type="submit"]:disabled, input[type="submit"]:hover.pending, input[type="button"]:hover.pending, input[type="reset"]:hover.pending, input[type="submit"]:hover.disabled, input[type="button"]:hover.disabled, input[type="reset"]:hover.disabled, button.pending:hover, button.disabled:hover, div.pending a:hover, a.disabled:hover button.pending, button.disabled, div.pending a, a.disabled { opacity: 0.6; cursor: not-allowed; } .blog-button { &:after, &:before { display: none; } } .create-button { a:focus, a:hover { text-decoration: none; } } &.bp-dir-vert-nav { .create-button { a { box-shadow: none; color: var(--wp--preset--color--background); background-color: var(--wp--preset--color--primary); border-radius: 0; border: 1px solid var(--wp--preset--color--primary); background-clip: border-box; } } } } #buddypress.twentytwentytwo { .warn { color: var(--wp--preset--color--primary); font-weight: 600; } .bp-feedback { color: var(--wp--preset--color--primary); background: var(--wp--preset--color--background); box-shadow: none; &:not(.custom-homepage-info) { margin-top: 1.5em; margin-bottom: 1.5em; border: solid 1px var(--wp--preset--color--primary); } .bp-icon { background-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--background); } a { border-bottom: solid 1px var(--wp--preset--color--primary); } button.bp-tooltip, a.bp-tooltip { border: none; background: none; top: -5px; right: 0; .dashicons-dismiss { border-radius: 50%; width: 32px; height: 32px; color: var(--wp--preset--color--primary); background: var(--wp--preset--color--background); } &:hover { .dashicons-dismiss { color: var(--wp--preset--color--background); background: var(--wp--preset--color--primary); } } } &.bp-sitewide-notice { button.bp-tooltip, a.bp-tooltip { top: 5px; right: 5px; } .bp-icon:before { content: "\f16d"; } } } #group-create-body { .bp-cover-image-status { p.warning { background-color: var(--wp--preset--color--tertiary); border: none; border-left-width: 4px; border-left-style: solid; border-left-color: var(--wp--preset--color--luminous-vivid-orange); color: var(--wp--preset--color--primary); box-shadow: none; } } } } body.buddypress { .site { #buddypress.twentytwentytwo { .button { &.bp-tooltip { &:after { content: attr(data-bp-tooltip); word-wrap: break-word; height: auto; width: auto; } } } } } } /** *------------------------------------------------------------------------------- * @section 9.0 - Layout classes *------------------------------------------------------------------------------- */ #buddypress.twentytwentytwo { &.bp-single-vert-nav { .bp-navs { &.vertical { li { span { background-color: var(--wp--preset--color--primary); border-radius: 10%; display: inline-block; margin: 3px 0; } &.selected, &.current { span { background-color: var(--wp--preset--color--background); } } } } } .item-body:not(#group-create-body) { background: var(--wp--preset--color--background); border-left: 1px solid var(--wp--preset--color--primary); #subnav:not(.tabbed-links) { background: transparent; border-bottom: 1px solid var(--wp--preset--color--primary); li { a { border: none; text-decoration: none; } &.current, &.selected { background-color: var(--wp--preset--color--primary); margin: 0; padding: 10px 0; border-radius: 0; } } } } } .grid { &.bp-list { border-top: none; } > li { border: none; .list-wrap { border: 1px solid var(--wp--preset--color--primary); background: transparent; } &:not(.mini) .item-avatar, .item-avatar { margin-right: auto; } } } }