summaryrefslogtreecommitdiffstats
path: root/public/stylesheets
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-09-09 21:49:48 +0000
committerGo MAEDA <maeda@farend.jp>2019-09-09 21:49:48 +0000
commit5ca458864ed043642bc693de608ec8a0be40d1b1 (patch)
treecd4cf36ea0525a2e16fb4147d1c16d7fcb42989a /public/stylesheets
parent89739876d170875e1e12d84bfb1b43f342daf818 (diff)
downloadredmine-5ca458864ed043642bc693de608ec8a0be40d1b1.tar.gz
redmine-5ca458864ed043642bc693de608ec8a0be40d1b1.zip
Inline auto complete for issue (#) in wiki-edit fields (#31989).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18444 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'public/stylesheets')
-rw-r--r--public/stylesheets/application.css8
-rw-r--r--public/stylesheets/tribute-3.7.3.css27
2 files changed, 35 insertions, 0 deletions
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index d5f1762e3..76363d9a3 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1597,6 +1597,14 @@ img.filecontent.image {background-image: url(../images/transparent.png);}
.ui-menu .ui-menu-item:hover {font-weight:normal; color:#555; background:#759FCF; color:#fff !important; border:1px solid #759FCF;}
.ui-menu .ui-menu-item.ui-state-focus {font-weight:normal; color:#555; border-color:#759FCF;}
+/* Custom tribute styles */
+.tribute-container ul {
+ background-color: #fff;
+ border: 1px solid #ccc;
+ border-radius: 2px;
+}
+.tribute-container li.highlight {background-color: #759FCF; color:#fff;}
+
/************* Rouge styles *************/
/* generated by: pygmentize -f html -a .syntaxhl -S colorful */
.syntaxhl .hll { background-color: #ffffcc }
diff --git a/public/stylesheets/tribute-3.7.3.css b/public/stylesheets/tribute-3.7.3.css
new file mode 100644
index 000000000..06a876ff4
--- /dev/null
+++ b/public/stylesheets/tribute-3.7.3.css
@@ -0,0 +1,27 @@
+.tribute-container {
+ position: absolute;
+ top: 0;
+ left: 0;
+ height: auto;
+ max-height: 300px;
+ max-width: 500px;
+ overflow: auto;
+ display: block;
+ z-index: 999999; }
+.tribute-container ul {
+ margin: 0;
+ margin-top: 2px;
+ padding: 0;
+ list-style: none;
+ background: #efefef; }
+.tribute-container li {
+ padding: 5px 5px;
+ cursor: pointer; }
+.tribute-container li.highlight {
+ background: #ddd; }
+.tribute-container li span {
+ font-weight: bold; }
+.tribute-container li.no-match {
+ cursor: default; }
+.tribute-container .menu-highlighted {
+ font-weight: bold; }