diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-12 15:00:04 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-10-12 15:00:04 +0200 |
commit | bdd477a0f800328a527f2fad92d1303441689341 (patch) | |
tree | 11ca099bfb89ce81cd6cf88e8a92dd874b79b55d /app/assets/stylesheets/framework/issue_box.scss | |
parent | cba6d62323eba2286f78e8aea12a5ecd26903728 (diff) | |
download | gitlab-ce-bdd477a0f800328a527f2fad92d1303441689341.tar.gz |
Re-organize GitLab css into 2 directories: framework and page specific css
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/assets/stylesheets/framework/issue_box.scss')
-rw-r--r-- | app/assets/stylesheets/framework/issue_box.scss | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/issue_box.scss b/app/assets/stylesheets/framework/issue_box.scss new file mode 100644 index 00000000000..93377e45e70 --- /dev/null +++ b/app/assets/stylesheets/framework/issue_box.scss @@ -0,0 +1,35 @@ +/** + * Issue box for showing Open/Closed state: + * Used for Issue#show page, MergeRequest#show page etc + * + */ + +.issue-box { + @include border-radius(2px); + + display: inline-block; + padding: 10px $gl-padding; + font-weight: normal; + margin-right: 10px; + font-size: $gl-font-size; + + &.issue-box-closed { + background-color: $gl-danger; + color: #FFF; + } + + &.issue-box-merged { + background-color: $gl-primary; + color: #FFF; + } + + &.issue-box-open { + background-color: #019875; + color: #FFF; + } + + &.issue-box-expired { + background: #cea61b; + color: #FFF; + } +} |