Sha256: b766861648ae861cc3b72b705ab5200a095eb61f6886d18077f1c7f30beb9aee

Contents?: true

Size: 618 Bytes

Versions: 6

Compression:

Stored size: 618 Bytes

Contents

@import "trestle/support";

.userbox {
  margin-top: 2px;
  margin-bottom: 2px;

  > a {
    color: $text-color;

    display: block;
    padding: 2px 0;

    font-size: 14px;
    font-weight: normal;
    line-height: 40px;

    &:hover, &:focus {
      text-decoration: none;
    }
  }

  .avatar {
    vertical-align: top;
    margin-left: 6px;
  }

  .name {
    color: $text-color;
  }
}

@include mobile {
  .userbox {
    position: relative;
    z-index: 5;

    > a, .name {
      color: white;
    }

    .name {
      display: none;
    }

    .avatar {
      border: 1px solid rgba(white, 0.25);
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trestle-auth-0.2.5 app/assets/stylesheets/trestle/auth/userbox.scss
trestle-auth-0.2.4 app/assets/stylesheets/trestle/auth/userbox.scss
trestle-auth-0.2.3 app/assets/stylesheets/trestle/auth/userbox.scss
trestle-auth-0.2.2 app/assets/stylesheets/trestle/auth/userbox.scss
trestle-auth-0.2.1 app/assets/stylesheets/trestle/auth/userbox.scss
trestle-auth-0.2.0 app/assets/stylesheets/trestle/auth/userbox.scss