Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
02/17/2018 05:34:00 PM (7 years ago)
Author:
hnla
Message:

Nouveau: Refactor activity comments 'Show All' link

Changes the anchor to button element.

Adds span for icon support plus dashicon class.

Updates styles to better display as a link than simply a text line, adding an underline, hover color change for the icon and text size reduction.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-nouveau/common-styles/_bp_activity_comments.scss

    r11686 r11860  
    9999        }
    100100
     101        .show-all {
     102
     103            button {
     104
     105                @include font-size(14);
     106                text-decoration: underline;
     107                padding-left: $pad-sml;
     108
     109                span {
     110                    text-decoration: none;
     111                }
     112
     113                &:hover,
     114                &:focus {
     115
     116                    span {
     117                        color: $blue;
     118                    }
     119                }
     120            }
     121        }
     122
    101123    } // close .activity-comments
    102124
     
    113135
    114136} // close .buddypress-wrap
    115 
    116 @include medium-up() {
    117 
    118     .buddypress-wrap {
    119 
    120         .activity-comments {
    121             margin-left: 17%;
    122 
    123             ul {
    124                 //  margin: $marg-med 0 0;
    125             }
    126         }
    127     }
    128 }
    129137
    130138// Single Activity Comment Entry View
Note: See TracChangeset for help on using the changeset viewer.