You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by he...@apache.org on 2015/09/17 21:23:41 UTC
[04/21] allura git commit: [#7955] make code sections more apparent;
links go blue
[#7955] make code sections more apparent; links go blue
We can't style backgrounds because the CSS classes only cover part of a line.
Even if we added our own CSS classes to cover the whole line (via addLineClass)
blank lines would be difficult to detect since they aren't "code"
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/9277995e
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/9277995e
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/9277995e
Branch: refs/heads/master
Commit: 9277995e8dd6d0ca129901b4ca543d4e980e21d9
Parents: 072381a
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Wed Sep 2 16:03:20 2015 +0000
Committer: Heith Seewald <hs...@hsmb.local>
Committed: Thu Sep 17 15:22:37 2015 -0400
----------------------------------------------------------------------
Allura/allura/lib/widgets/resources/css/markitup_sf.css | 12 ++++++++++++
1 file changed, 12 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/9277995e/Allura/allura/lib/widgets/resources/css/markitup_sf.css
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/widgets/resources/css/markitup_sf.css b/Allura/allura/lib/widgets/resources/css/markitup_sf.css
index c8b388f..5682ffd 100644
--- a/Allura/allura/lib/widgets/resources/css/markitup_sf.css
+++ b/Allura/allura/lib/widgets/resources/css/markitup_sf.css
@@ -71,3 +71,15 @@ span.arw.preview-active {
.markdown_edit.preview-active .editor-toolbar.disabled-for-preview a {
background-color: transparent;
}
+
+.CodeMirror .CodeMirror-code .cm-comment {
+ font-family: monospace;
+ background: inherit;
+ color: #888;
+}
+.CodeMirror .CodeMirror-code .cm-link {
+ color: #33a;
+}
+.CodeMirror .CodeMirror-code .cm-url {
+ color: #33d;
+}
\ No newline at end of file