Skip to content
Snippets Groups Projects
Commit e0f5a239 authored by Anthony's avatar Anthony
Browse files

Global look and feel

parent f466eba5
Branches
No related tags found
1 merge request!4Resolve "Démo/Réunion du 16/01 avec Laurence et Sheridan"
body { body {
--accent-quiz: #2aa198;
// Defined but not used for now
--quizz-backgourd-color: #00000; --quizz-backgourd-color: #00000;
--feedback-sucess-color: lightgreen; --feedback-sucess-color: lightgreen;
--feedback-error-color: #ef5d5d; --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 HUGO theme colors see macao/themes/macao-hugo-theme/assets/themes/_tetras.scss
// To edit SurveyJs colors see TODO create custom theme for SurveyJs
} }
// *********************************** // ***********************************
// Gloabl // Global
// *********************************** // ***********************************
.btn-play{
#sv-nav-complete { cursor: pointer;
display: none; background-color: var(--macao-primary-color);
border-radius: 5px;
border: none;
padding: 5px 10px;
} }
p#gapfill-container { p#gapfill-container {
...@@ -41,7 +46,6 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input { ...@@ -41,7 +46,6 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
} }
#correct-indic { #correct-indic {
//border: 2px solid var(--accent-quiz);
border-radius: 8px; border-radius: 8px;
padding: 16px; padding: 16px;
...@@ -78,7 +82,16 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input { ...@@ -78,7 +82,16 @@ select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
// General look and feel // General look and feel
// *********************************** // ***********************************
.book-page > article{ .book-page > article{
background-color: white; background-color: var(--secondary-background-color);
border-radius: 15px;
}
.book-page > article {
padding: 16px; padding: 16px;
border-radius: 20px; margin-top: 16px;
}
.book-search {
border-radius: 10px;
padding: 0px 5px;
background-color: var(--secondary-background-color);
} }
...@@ -2,7 +2,7 @@ console.log('Custom JS loaded'); ...@@ -2,7 +2,7 @@ console.log('Custom JS loaded');
$(document).ready(function() { $(document).ready(function() {
console.log('Custom JS executed'); console.log('Custom JS executed');
// Add specific classes to play buttons // 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 // Add Title on top of the page
$('.book-header').show(); $('.book-header').show();
......
Subproject commit b4bd21625c8a5d0a1d3a2c1aaafb10102b262578 Subproject commit 37c5cd01ed787d99267a8b09eb1f942649df09b8
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment