123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192 |
- //
- // User Profile
- // --------------------------------------------------
- // Profile header
- //
- //==
- .user-profile {
- .profile-header {
- padding: 0px;
- padding-top: @line-height-computed;
- border-bottom-width: 1px;
- h1 {
- &>small {
- &>a, &>a:link, &>a:visited, &>span {
- background-color: fadeOut(@text-muted, 50%);
- border-radius: @border-radius-base;
- display: inline-block;
- padding: @padding-small-vertical @padding-small-horizontal;
- position: relative;
- top: -4px;
- color: @body-bg;
- }
- &>a {
- &:hover {
- background-color: fadeOut(@text-muted, 15%);
- text-decoration: none;
- }
- &:active {
- background-color: @state-clicked;
- text-decoration: none;
- }
- }
- }
- }
- .page-actions {
- .btn {
- .btn-sm();
- &.btn-follow {
- color: @brand-follow;
- &.active {
- .misago-button-active-flavour(#fff, @brand-follow, darken(@brand-follow, 13%));
- }
- }
- &.btn-ban {
- color: @brand-danger;
- &.active {
- .misago-button-active-flavour(#fff, @brand-danger, darken(@brand-danger, 13%));
- }
- }
- }
- }
- }
- }
- // Avatar
- //
- //==
- .user-profile {
- .profile-side {
- .user-avatar {
- background-color: #fff;
- border-radius: @border-radius-large;
- .box-shadow(0px 0px 0px 2px darken(@body-bg, 5%));
- padding: 4px;
- margin-top: @line-height-computed;
- margin-bottom: @line-height-computed;
- }
- }
- }
- /* Big displays */
- @media (min-width: @screen-sm-min) {
- .user-profile {
- .profile-side {
- .user-avatar {
- margin-top: (@line-height-computed * 4.75) * -1;
- }
- }
- }
- }
- // Username
- //
- //==
- /* Big displays */
- @media (min-width: @screen-sm-min) {
- .user-profile {
- .profile-header {
- .user-name {
- float: left;
- }
- }
- }
- }
- // Details
- //
- //==
- .user-profile {
- .profile-header {
- .user-details {
- padding-top: @line-height-computed / 3;
- clear: both;
- ul {
- overflow: auto;
- li {
- margin-right: @line-height-computed;
- color: fadeOut(@text-color, 40%);
- a:link, a:visited {
- color: fadeOut(@text-color, 40%);
- }
- a:hover {
- color: @state-hover;
- text-decoration: none;
- }
- a:active {
- color: @state-clicked;
- }
- }
- }
- }
- }
- }
- // Username history
- //
- //==
- .user-profile {
- .username-history {
- p {
- margin: 0px;
- margin-top: 3px;
- a {
- &:link, &:visited {
- color: @state-hover;
- font-weight: bold;
- }
- &:hover {
- color: @state-hover;
- text-decoration: underline;
- }
- &:active {
- color: @state-clicked;
- }
- }
- img {
- border-radius: @border-radius-small;
- margin-top: -1px;
- margin-right: @line-height-computed / 5;
- height: 22px;
- width: 22px;
- }
- abbr {
- text-decoration: none;
- border-bottom: none;
- }
- }
- hr {
- margin: (@line-height-computed / 2) 0px;
- }
- }
- }
|