Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dokuwiki
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
BRIC
dokuwiki
Commits
1d918893
Commit
1d918893
authored
6 years ago
by
Andreas Gohr
Browse files
Options
Downloads
Patches
Plain Diff
more styling and RTL support
parent
0fc38806
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
inc/Ui/Search.php
+1
-1
1 addition, 1 deletion
inc/Ui/Search.php
lib/tpl/dokuwiki/css/_search.less
+29
-12
29 additions, 12 deletions
lib/tpl/dokuwiki/css/_search.less
with
30 additions
and
13 deletions
inc/Ui/Search.php
+
1
−
1
View file @
1d918893
...
...
@@ -344,7 +344,7 @@ class Search extends Ui
foreach
(
$extraNS
as
$ns
=>
$count
)
{
$listItem
=
$searchForm
->
addTagOpen
(
'li'
);
$label
=
$ns
.
(
$count
?
" (
$count
)"
:
''
);
$label
=
$ns
.
(
$count
?
"
<bdi>
(
$count
)
</bdi>
"
:
''
);
if
(
$ns
===
$baseNS
)
{
$listItem
->
addClass
(
'active'
);
...
...
This diff is collapsed.
Click to expand it.
lib/tpl/dokuwiki/css/_search.less
+
29
−
12
View file @
1d918893
...
...
@@ -21,8 +21,9 @@
********************************************************************/
/*____________ advanced search form ____________*/
.search-results-form fieldset.search-form {
.dokuwiki
.search-results-form fieldset.search-form {
width: 100%;
margin: 1em 0;
input[name="q"] {
width: 50%;
...
...
@@ -35,21 +36,26 @@
.advancedOptions {
padding: 1em 0;
div {
>
div {
display: inline-block;
position: relative;
margin: 0
0.25em 0
0.5em;
margin: 0 0.5em;
}
div.toggle {
// default closed toggle state
&::after {
content: '▼';
font-size: smaller;
color: @ini_text_alt;
}
div.current {
cursor: pointer;
max-width: 10em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
&::after {
content: '▼';
font-size: smaller;
color: @ini_text_alt;
}
}
div.changed {
font-weight: bold;
...
...
@@ -59,11 +65,15 @@
position: absolute;
border: 1px solid @ini_border;
background-color: @ini_background;
padding: 0.2em;
padding: 0.2
5em 0.5
em;
text-align: left;
width: 10em;
min-width: 10em;
max-width: 15em;
max-height: 50vh;
overflow: auto;
z-index: 100;
li {
margin: 0.2em 0;
margin: 0.2
5
em 0;
list-style: none;
a {
...
...
@@ -74,7 +84,7 @@
// open toggle state
&.open {
&
::after {
div.current
::after {
content: '▲';
}
...
...
@@ -86,6 +96,13 @@
}
}
[dir=rtl] .search-results-form fieldset.search-form .advancedOptions {
div.toggle ul {
text-align: right;
}
}
/*____________ matching pagenames ____________*/
.dokuwiki div.search_quickresult {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment