Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
xwiki-skin-barrierefrei
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
M4D
xwiki-skin-barrierefrei
Commits
ca99a4a8
Commit
ca99a4a8
authored
4 years ago
by
Tobias Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Enable Notifications in the tabulator order
parent
8ad0bad0
No related branches found
No related tags found
2 merge requests
!4
Finally merge all improvements
,
!3
Add notification in order
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
flamingo.js
+8
-0
8 additions, 0 deletions
flamingo.js
flamingo.min.js
+1
-1
1 addition, 1 deletion
flamingo.min.js
less.bootstrap.theme.less
+4
-1
4 additions, 1 deletion
less.bootstrap.theme.less
with
13 additions
and
2 deletions
flamingo.js
+
8
−
0
View file @
ca99a4a8
...
@@ -24,6 +24,14 @@ require(['jquery', 'bootstrap'], function ($) {
...
@@ -24,6 +24,14 @@ require(['jquery', 'bootstrap'], function ($) {
input
.
focusout
(
function
()
{
input
.
focusout
(
function
()
{
$
(
'
#globalsearch
'
).
addClass
(
"
globalsearch-close
"
);
$
(
'
#globalsearch
'
).
addClass
(
"
globalsearch-close
"
);
});
});
// Enable notifications in the taborder
var
notification
=
$
(
'
a.icon-navbar.dropdown-toggle
'
);
notification
.
attr
(
'
tabindex
'
,
0
);
notification
.
keypress
(
function
(
event
)
{
if
(
event
.
which
===
13
)
{
$
(
'
a.icon-navbar.dropdown-toggle
'
).
click
();
}
});
// Fix the bad location of the dropdown menu when the trigger is close to the end of the screen.
// Fix the bad location of the dropdown menu when the trigger is close to the end of the screen.
// See: http://jira.xwiki.org/browse/XWIKI-12609
// See: http://jira.xwiki.org/browse/XWIKI-12609
$
(
document
).
on
(
'
shown.bs.dropdown
'
,
function
(
event
)
{
$
(
document
).
on
(
'
shown.bs.dropdown
'
,
function
(
event
)
{
...
...
This diff is collapsed.
Click to expand it.
flamingo.min.js
+
1
−
1
View file @
ca99a4a8
require
([
"
jquery
"
,
"
bootstrap
"
],
function
(
e
){
e
(
document
).
ready
(
function
(){
var
o
=!
1
,
r
=
0
;
e
(
"
.drawer-toggle
"
).
on
(
"
click
"
,
function
(){
!
0
===
(
o
=!
o
)
&&
(
e
(
"
#tmDrawer
"
).
show
(),
0
===
r
&&
(
r
++
,
e
(
"
.drawer-overlay-upper
"
).
on
(
"
click
"
,
function
(){
o
=!
o
,
e
(
"
#tmDrawer
"
).
hide
()})))}),
e
(
"
#headerglobalsearchinput
"
).
focus
(
function
(){
e
(
"
#globalsearch
"
).
removeClass
(
"
globalsearch-close
"
)}),
e
(
"
#headerglobalsearchinput
"
).
focusout
(
function
(){
e
(
"
#globalsearch
"
).
addClass
(
"
globalsearch-close
"
)}),
e
(
document
).
on
(
"
shown.bs.dropdown
"
,
function
(
o
){
var
r
=
e
(
o
.
relatedTarget
),
a
=
r
.
next
(
"
.dropdown-menu
"
);
if
(
a
.
length
>
0
){
var
t
=
a
.
outerWidth
();
if
(
a
.
offset
().
left
+
t
>
e
(
document
.
body
).
outerWidth
()){
var
n
=
r
.
offset
().
left
+
r
.
outerWidth
()
-
t
;
n
<
0
&&
(
n
=
0
),
a
.
offset
({
left
:
n
})}}}),
e
(
body
).
on
(
"
drawer.closed
"
,
function
(){
e
(
"
.drawer-menu-sub-item
"
).
removeClass
(
"
in
"
).
attr
(
"
aria-expanded
"
,
"
false
"
)})})});
require
([
"
jquery
"
,
"
bootstrap
"
],
function
(
o
){
o
(
document
).
ready
(
function
(){
var
e
=!
1
,
r
=
0
;
o
(
"
.drawer-toggle
"
).
on
(
"
click
"
,
function
(){
!
0
===
(
e
=!
e
)
&&
(
o
(
"
#tmDrawer
"
).
show
(),
0
===
r
&&
(
r
++
,
o
(
"
.drawer-overlay-upper
"
).
on
(
"
click
"
,
function
(){
e
=!
e
,
o
(
"
#tmDrawer
"
).
hide
()})))});
var
a
=
o
(
"
#headerglobalsearchinput
"
);
a
.
focus
(
function
(){
o
(
"
#globalsearch
"
).
removeClass
(
"
globalsearch-close
"
)}),
a
.
focusout
(
function
(){
o
(
"
#globalsearch
"
).
addClass
(
"
globalsearch-close
"
)}),
o
(
"
a.icon-navbar.dropdown-toggle
"
).
attr
(
"
tabindex
"
,
0
),
o
(
"
a.icon-navbar.dropdown-toggle
"
).
keypress
(
function
(
e
){
13
===
e
.
which
&&
o
(
"
a.icon-navbar.dropdown-toggle
"
).
click
()}),
o
(
document
).
on
(
"
shown.bs.dropdown
"
,
function
(
e
){
var
r
=
o
(
e
.
relatedTarget
),
a
=
r
.
next
(
"
.dropdown-menu
"
);
if
(
a
.
length
>
0
){
var
n
=
a
.
outerWidth
();
if
(
a
.
offset
().
left
+
n
>
o
(
document
.
body
).
outerWidth
()){
var
t
=
r
.
offset
().
left
+
r
.
outerWidth
()
-
n
;
t
<
0
&&
(
t
=
0
),
a
.
offset
({
left
:
t
})}}}),
o
(
body
).
on
(
"
drawer.closed
"
,
function
(){
o
(
"
.drawer-menu-sub-item
"
).
removeClass
(
"
in
"
).
attr
(
"
aria-expanded
"
,
"
false
"
)})})});
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
less.bootstrap.theme.less
+
4
−
1
View file @
ca99a4a8
...
@@ -145,7 +145,10 @@
...
@@ -145,7 +145,10 @@
.navbar-nav > li > a {
.navbar-nav > li > a {
text-shadow: 0 1px 0 rgba(255,255,255,.25);
text-shadow: 0 1px 0 rgba(255,255,255,.25);
}
}
.navbar-nav > li > a:focus{
background-color: rgba(155, 155, 155, 0.07);
border: 1px;
}
// Inverted navbar
// Inverted navbar
.navbar-inverse {
.navbar-inverse {
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
#gradient > .vertical(@start-color: lighten(@navbar-inverse-bg, 10%); @end-color: @navbar-inverse-bg);
...
...
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