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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MACAO
MACAO Hugo
Commits
e0f5a239
Commit
e0f5a239
authored
5 months ago
by
Anthony
Browse files
Options
Downloads
Patches
Plain Diff
Global look and feel
parent
f466eba5
No related branches found
No related tags found
1 merge request
!4
Resolve "Démo/Réunion du 16/01 avec Laurence et Sheridan"
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
macao/assets/_custom.scss
+22
-9
22 additions, 9 deletions
macao/assets/_custom.scss
macao/assets/custom.js
+1
-1
1 addition, 1 deletion
macao/assets/custom.js
macao/themes/macao-hugo-theme
+1
-1
1 addition, 1 deletion
macao/themes/macao-hugo-theme
with
24 additions
and
11 deletions
macao/assets/_custom.scss
+
22
−
9
View file @
e0f5a239
body
{
--accent-quiz
:
#2aa198
;
// Defined but not used for now
--quizz-backgourd-color
:
#00000
;
--feedback-sucess-color
:
lightgreen
;
--feedback-error-color
:
#ef5d5d
;
--secondary-background-color
:
white
;
--macao-primary-color
:
#2aa198
;
--macao-secondary-color
:
#268bd2
;
// To edit HUGO theme colors see macao/themes/macao-hugo-theme/assets/themes/_tetras.scss
// To edit SurveyJs colors see TODO create custom theme for SurveyJs
}
// ***********************************
// Glo
a
bl
// Glob
a
l
// ***********************************
#sv-nav-complete
{
display
:
none
;
.btn-play
{
cursor
:
pointer
;
background-color
:
var
(
--
macao-primary-color
);
border-radius
:
5px
;
border
:
none
;
padding
:
5px
10px
;
}
p
#gapfill-container
{
...
...
@@ -41,7 +46,6 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
}
#correct-indic
{
//border: 2px solid var(--accent-quiz);
border-radius
:
8px
;
padding
:
16px
;
...
...
@@ -78,7 +82,16 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
// General look and feel
// ***********************************
.book-page
>
article
{
background-color
:
white
;
background-color
:
var
(
--
secondary-background-color
);
border-radius
:
15px
;
}
.book-page
>
article
{
padding
:
16px
;
border-radius
:
20px
;
margin-top
:
16px
;
}
.book-search
{
border-radius
:
10px
;
padding
:
0px
5px
;
background-color
:
var
(
--
secondary-background-color
);
}
This diff is collapsed.
Click to expand it.
macao/assets/custom.js
+
1
−
1
View file @
e0f5a239
...
...
@@ -2,7 +2,7 @@ console.log('Custom JS loaded');
$
(
document
).
ready
(
function
()
{
console
.
log
(
'
Custom JS executed
'
);
// Add specific classes to play buttons
$
(
'
button:contains("Play")
'
).
html
(
'
<i class="fa-solid fa-play"></i>
'
);
$
(
'
button:contains("Play")
'
).
html
(
'
<i class="fa-solid fa-play"></i>
Écouter
'
).
addClass
(
'
btn-play
'
).
prop
(
'
title
'
,
'
Écouter
'
);
// Add Title on top of the page
$
(
'
.book-header
'
).
show
();
...
...
This diff is collapsed.
Click to expand it.
macao-hugo-theme
@
37c5cd01
Compare
b4bd2162
...
37c5cd01
Subproject commit
b4bd21625c8a5d0a1d3a2c1aaafb10102b26257
8
Subproject commit
37c5cd01ed787d99267a8b09eb1f942649df09b
8
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