Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-12 16:00:04 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-10-12 16:00:04 +0300
commitbdd477a0f800328a527f2fad92d1303441689341 (patch)
tree11ca099bfb89ce81cd6cf88e8a92dd874b79b55d /app/assets/stylesheets/framework/issue_box.scss
parentcba6d62323eba2286f78e8aea12a5ecd26903728 (diff)
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.scss35
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;
+ }
+}