Sha256: 6854ebbf22bc29c4e542aaa0ca7b3b21ade287404e92a2d401169aa6e5d551cc
Contents?: true
Size: 1.13 KB
Versions: 1
Compression:
Stored size: 1.13 KB
Contents
// ************************************* // // Button // -> Clickable control // // ************************************* // ------------------------------------- // Base // ------------------------------------- %btn { @include appearance(none); @include linear-gradient(lighten($matisse, 20), $matisse); background-color: $matisse; border: 1px solid $matisse; border-radius: 5px; box-shadow: 0 -2px 0 0 rgba(#fff, .15) inset; color: #fff; cursor: pointer; display: inline-block; font-size: 1em; font-weight: 600; line-height: 1; padding: .5em 1.5em; text-decoration: none; user-select: none; vertical-align: middle; white-space: nowrap; &:hover, &:focus { color: #fff; opacity: .95; } &:disabled { cursor: not-allowed; opacity: .5; } } // ------------------------------------- // Modifiers // ------------------------------------- // ----- Hierarchy ----- // // Primary .btn--a { @extend %btn; } // ----- Sizes ----- // // Small .btn--s { @extend %btn; font-size: .9em; padding: .45em 1em; } // Large .btn--l { @extend %btn; font-size: 1.1em; padding: .65em 2em; }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
psique-1.0.0 | app/assets/stylesheets/psique/components/_button.scss |