Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MACAO Hugo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
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
MACAO
MACAO Hugo
Commits
264d7121
Commit
264d7121
authored
5 months ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Comment work (popover)
parent
f791fcd8
Branches
Branches containing commit
No related tags found
1 merge request
!4
Resolve "Démo/Réunion du 16/01 avec Laurence et Sheridan"
Pipeline
#2039
passed
5 months ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
macao/assets/_custom.scss
+19
-0
19 additions, 0 deletions
macao/assets/_custom.scss
macao/assets/custom.js
+9
-0
9 additions, 0 deletions
macao/assets/custom.js
with
28 additions
and
0 deletions
macao/assets/_custom.scss
+
19
−
0
View file @
264d7121
...
...
@@ -95,3 +95,22 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
padding
:
0px
5px
;
background-color
:
var
(
--
secondary-background-color
);
}
// ***********************************
// Comment on page
// ***********************************
.comment-trigger
{
cursor
:
pointer
;
color
:
var
(
--
macao-primary-color
);
text-decoration
:
underline
;
}
.commentaireInfo
{
padding
:
10px
;
border-radius
:
10px
;
background-color
:
var
(
--
secondary-background-color
);
border
:
1px
solid
var
(
--
macao-primary-color
);
color
:
black
;
max-width
:
500px
;
}
This diff is collapsed.
Click to expand it.
macao/assets/custom.js
+
9
−
0
View file @
264d7121
...
...
@@ -6,4 +6,13 @@ $(document).ready(function() {
// Add Title on top of the page
$
(
'
.book-header
'
).
show
();
$
(
'
.commentaireInfo
'
).
hide
();
$
(
'
.commentaireInfo
'
).
prop
(
'
popover
'
,
'
true
'
);
$
(
'
.commentaireInfoGroup
'
).
show
();
$
(
'
[spanid]
'
).
addClass
(
'
comment-trigger
'
).
on
(
'
click
'
,
function
()
{
let
spanid
=
$
(
this
).
attr
(
'
spanid
'
);
$
(
"
[commentaireid=
"
+
spanid
+
"
]
"
).
toggle
();
});
});
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