From 5ca458864ed043642bc693de608ec8a0be40d1b1 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 9 Sep 2019 21:49:48 +0000 Subject: 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 --- public/stylesheets/application.css | 8 ++++++++ public/stylesheets/tribute-3.7.3.css | 27 +++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 public/stylesheets/tribute-3.7.3.css (limited to 'public/stylesheets') 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; } -- cgit v1.2.3