diff options
author | Han Loong Liauw <hanloongliauw@gmail.com> | 2015-10-12 18:38:34 +1100 |
---|---|---|
committer | Han Loong Liauw <hanloongliauw@gmail.com> | 2015-10-12 18:38:34 +1100 |
commit | 857cc388e1a93760e37145cd32514dc4026d0775 (patch) | |
tree | 63530310ef25ee238b93adcd4a34f96ea083ee8f /app/assets | |
parent | 42603af3267bd1be0dcd18927d74bfc19a894c04 (diff) | |
download | gitlab-ce-857cc388e1a93760e37145cd32514dc4026d0775.tar.gz |
Adds modified date to snippets#show #1767
- Fixed a bug with .btn-sm padding.
- Changed created_at to modified_at for snippets#index as it seems to
be more relevant.
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/stylesheets/generic/buttons.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/buttons.scss b/app/assets/stylesheets/generic/buttons.scss index 11acbe3adfa..da69fc8f51c 100644 --- a/app/assets/stylesheets/generic/buttons.scss +++ b/app/assets/stylesheets/generic/buttons.scss @@ -22,6 +22,12 @@ padding: 11px 24px; } +@mixin btn-sm { + @include btn-default; + @include border-radius(2px); + padding: 5px 10px; +} + @mixin btn-color($light, $border-light, $normal, $border-normal, $dark, $border-dark, $color) { background-color: $light; border-color: $border-light; @@ -71,6 +77,10 @@ @include btn-default; @include btn-white; + &.btn-sm { + @include btn-sm; + } + &.btn-success, &.btn-new, &.btn-create, |