chore: normalize all line endings to LF and enforce via .gitattributes
All text files in the theme (config.xml, sass, css, js, twig, md) used mixed CRLF/LF. Normalize everything to LF (Unix), matching the LimeSurvey core themes. .gitattributes (* text=auto eol=lf, binary images/fonts) keeps it that way; config.xml documents the convention in its header comment. Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
parent
0508dc1f6f
commit
7fdf23d196
1 changed files with 1183 additions and 1166 deletions
|
|
@ -1,40 +1,40 @@
|
|||
/******************
|
||||
User custom JS
|
||||
---------------
|
||||
|
||||
Put JS-functions for your template here.
|
||||
If possible use a closure, or add them to the general Template Object "Template"
|
||||
*/
|
||||
|
||||
|
||||
$(document).on('ready pjax:scriptcomplete',function(){
|
||||
/**
|
||||
* Code included inside this will only run once the page Document Object Model (DOM) is ready for JavaScript code to execute
|
||||
* @see https://learn.jquery.com/using-jquery-core/document-ready/
|
||||
*/
|
||||
|
||||
// Replace classes
|
||||
$('.container-fluid').addClass('container');
|
||||
$('.container-fluid').removeClass('container-fluid');
|
||||
|
||||
// Remove classes
|
||||
$('.survey-name.text-center').removeClass('text-center');
|
||||
$('.survey-description.text-center').removeClass('text-center');
|
||||
$('.survey-welcome.h5.text-primary').removeClass('text-primary');
|
||||
$('.survey-welcome.h5').removeClass('h5');
|
||||
$('.ls-privacy-head.h4.text-primary').removeClass('text-primary');
|
||||
$('.ls-privacy-head.h4').removeClass('h4');
|
||||
$('.space-col').removeClass('space-col'); //The presence of .space-col is one of the greatest mistakes in the Vanilla theme IMHO
|
||||
$('.group-title.text-center.h3').removeClass('h3');
|
||||
$('.group-title.text-center').removeClass('text-center');
|
||||
$('.text-info').removeClass('text-info');
|
||||
$('.text-muted').removeClass('text-muted');
|
||||
$('.limit-text-window').removeClass('limit-text-window');
|
||||
$('.save-message.card').removeClass('card');
|
||||
$('.save-message.bg-light').removeClass('bg-light');
|
||||
$('.save-survey-form.col-lg-8.offset-lg-2').removeClass('offset-lg-2');
|
||||
$('.save-survey-form.col-lg-8').removeClass('col-lg-8');
|
||||
$('.save-message .card-body').removeClass('card-body');
|
||||
$('.navbar-light.bg-light').removeClass('bg-light');
|
||||
$('.privacy.row').removeClass('row');
|
||||
});
|
||||
/******************
|
||||
User custom JS
|
||||
---------------
|
||||
|
||||
Put JS-functions for your template here.
|
||||
If possible use a closure, or add them to the general Template Object "Template"
|
||||
*/
|
||||
|
||||
|
||||
$(document).on('ready pjax:scriptcomplete',function(){
|
||||
/**
|
||||
* Code included inside this will only run once the page Document Object Model (DOM) is ready for JavaScript code to execute
|
||||
* @see https://learn.jquery.com/using-jquery-core/document-ready/
|
||||
*/
|
||||
|
||||
// Replace classes
|
||||
$('.container-fluid').addClass('container');
|
||||
$('.container-fluid').removeClass('container-fluid');
|
||||
|
||||
// Remove classes
|
||||
$('.survey-name.text-center').removeClass('text-center');
|
||||
$('.survey-description.text-center').removeClass('text-center');
|
||||
$('.survey-welcome.h5.text-primary').removeClass('text-primary');
|
||||
$('.survey-welcome.h5').removeClass('h5');
|
||||
$('.ls-privacy-head.h4.text-primary').removeClass('text-primary');
|
||||
$('.ls-privacy-head.h4').removeClass('h4');
|
||||
$('.space-col').removeClass('space-col'); //The presence of .space-col is one of the greatest mistakes in the Vanilla theme IMHO
|
||||
$('.group-title.text-center.h3').removeClass('h3');
|
||||
$('.group-title.text-center').removeClass('text-center');
|
||||
$('.text-info').removeClass('text-info');
|
||||
$('.text-muted').removeClass('text-muted');
|
||||
$('.limit-text-window').removeClass('limit-text-window');
|
||||
$('.save-message.card').removeClass('card');
|
||||
$('.save-message.bg-light').removeClass('bg-light');
|
||||
$('.save-survey-form.col-lg-8.offset-lg-2').removeClass('offset-lg-2');
|
||||
$('.save-survey-form.col-lg-8').removeClass('col-lg-8');
|
||||
$('.save-message .card-body').removeClass('card-body');
|
||||
$('.navbar-light.bg-light').removeClass('bg-light');
|
||||
$('.privacy.row').removeClass('row');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue