diff options
author | Simon Knox <psimyn@gmail.com> | 2017-06-23 12:20:40 +1000 |
---|---|---|
committer | Simon Knox <psimyn@gmail.com> | 2017-06-23 12:20:40 +1000 |
commit | 705aa3c2a00c2faec01f043c5c7211d0532efefe (patch) | |
tree | 3cbb322fc1cd9d8513027073fed79b77e5e4a697 | |
parent | 1a9317b821bc625eaad8550298d288bfc29e53d7 (diff) | |
download | gitlab-ce-mr-widget-btn.tar.gz |
consistent size, padding and margins for mr widget buttonsmr-widget-btn
-rw-r--r-- | app/assets/stylesheets/pages/merge_requests.scss | 46 |
1 files changed, 22 insertions, 24 deletions
diff --git a/app/assets/stylesheets/pages/merge_requests.scss b/app/assets/stylesheets/pages/merge_requests.scss index 2dc7f73a295..e2abe0f4087 100644 --- a/app/assets/stylesheets/pages/merge_requests.scss +++ b/app/assets/stylesheets/pages/merge_requests.scss @@ -15,15 +15,33 @@ } } + .btn { + font-size: 15px; + padding: 5px 10px; + + &.btn-xs { + line-height: 1; + padding: 4px 10px; + } + + &.dropdown-toggle { + padding: 5px 7px; + + .fa { + color: inherit; + } + } + } + + * + .btn { + margin-left: 10px; + } + .accept-merge-holder { .accept-action { display: inline-block; float: left; - .btn-success.dropdown-toggle .fa { - color: inherit; - } - .accept-merge-request { &.ci-pending, &.ci-running { @@ -216,20 +234,6 @@ } .mr-widget-body { - .btn { - font-size: 15px; - } - - .btn-group .btn { - padding: 5px 10px; - - &.dropdown-toggle { - padding: 5px 7px; - } - } - } - - .mr-widget-body { h4 { font-weight: bold; font-size: 15px; @@ -497,8 +501,6 @@ } .btn-clipboard { - @extend .pull-right; - margin-right: 20px; margin-top: 5px; position: absolute; @@ -683,10 +685,6 @@ .btn { float: left; - - &:not(:last-child) { - margin-right: 10px; - } } } |