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:
authorAndrew Fontaine <afontaine@gitlab.com>2019-02-21 17:21:14 +0300
committerAndrew Fontaine <afontaine@gitlab.com>2019-02-21 17:34:42 +0300
commita0fbfb5a5343269849cbaaff8b62c0698b254bd6 (patch)
treec08cdc30b38242532a80e65fc87f11505fc6f916 /app/assets
parent37b9173bd55ad9642df1e63075a078c282b31b28 (diff)
Add `.text-underline` Utility Class
Style status box links using bootstrap and other utility classes instead of styling all `a` tags in the status-box.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/stylesheets/framework/common.scss5
-rw-r--r--app/assets/stylesheets/framework/issue_box.scss5
2 files changed, 5 insertions, 5 deletions
diff --git a/app/assets/stylesheets/framework/common.scss b/app/assets/stylesheets/framework/common.scss
index c1f2f5f8c6a..fa424532879 100644
--- a/app/assets/stylesheets/framework/common.scss
+++ b/app/assets/stylesheets/framework/common.scss
@@ -52,6 +52,11 @@
word-break: break-all;
}
+.text-underline,
+.text-underline:hover {
+ text-decoration: underline;
+}
+
.hint { font-style: italic; color: $gl-gray-400; }
.light { color: $gl-text-color; }
diff --git a/app/assets/stylesheets/framework/issue_box.scss b/app/assets/stylesheets/framework/issue_box.scss
index 8c77634edd7..e51f230a680 100644
--- a/app/assets/stylesheets/framework/issue_box.scss
+++ b/app/assets/stylesheets/framework/issue_box.scss
@@ -32,11 +32,6 @@
&.status-box-issue-closed,
&.status-box-mr-merged {
background-color: $blue-500;
-
- a {
- color: inherit;
- text-decoration: underline;
- }
}
&.status-box-open {