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

Global look and feel

parent f466eba5
No related branches found
No related tags found
No related merge requests found
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
}
// ***********************************
// Gloabl
// Global
// ***********************************
#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);
}
......@@ -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();
......
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