mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
fix stylesheets locations, in chill-bundles or in project files
This commit is contained in:
parent
425d51649f
commit
9566ea89b1
@ -21,6 +21,7 @@ global.chill = chill;
|
|||||||
/*
|
/*
|
||||||
* load requirements in chill entrypoint
|
* load requirements in chill entrypoint
|
||||||
*/
|
*/
|
||||||
|
require('./scss/chillmain.scss');
|
||||||
require('./css/chillmain.css');
|
require('./css/chillmain.css');
|
||||||
require('./css/pikaday.css');
|
require('./css/pikaday.css');
|
||||||
|
|
||||||
@ -34,10 +35,11 @@ require('./modules/download-report/index.js');
|
|||||||
require('./modules/select_interactive_loading/index.js');
|
require('./modules/select_interactive_loading/index.js');
|
||||||
require('./modules/export-list/export-list.scss');
|
require('./modules/export-list/export-list.scss');
|
||||||
require('./modules/entity/index.js');
|
require('./modules/entity/index.js');
|
||||||
|
require('./modules/tabs/index.js');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* load img
|
* load img
|
||||||
*/
|
*/
|
||||||
require('./img/favicon.ico');
|
require('./img/favicon.ico');
|
||||||
require('./img/logo-chill-sans-slogan_white.png');
|
require('./img/logo-chill-sans-slogan_white.png');
|
||||||
require('./img/logo-chill-outil-accompagnement_white.png');
|
require('./img/logo-chill-outil-accompagnement_white.png');
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
/*
|
||||||
|
* NOTE 2021.04
|
||||||
|
* scss/chill.scss is the main sass file for the new chill.2
|
||||||
|
* scratch will be replaced by bootstrap, please avoid to edit in modules/scratch/_custom.scss
|
||||||
|
*/
|
||||||
|
|
||||||
// YOUR CUSTOM SCSS
|
// YOUR CUSTOM SCSS
|
||||||
@import 'custom/config/colors';
|
@import 'custom/config/colors';
|
||||||
@import 'custom/config/variables';
|
@import 'custom/config/variables';
|
||||||
@ -156,7 +162,6 @@ dl.chill_view_data {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
blockquote.chill-user-quote,
|
blockquote.chill-user-quote,
|
||||||
div.chill-user-quote {
|
div.chill-user-quote {
|
||||||
border-left: 10px solid $chill-yellow;
|
border-left: 10px solid $chill-yellow;
|
||||||
@ -164,12 +169,12 @@ div.chill-user-quote {
|
|||||||
padding: 0.5em 10px;
|
padding: 0.5em 10px;
|
||||||
quotes: "\201C""\201D""\2018""\2019";
|
quotes: "\201C""\201D""\2018""\2019";
|
||||||
background-color: $chill-llight-gray;
|
background-color: $chill-llight-gray;
|
||||||
|
|
||||||
blockquote {
|
blockquote {
|
||||||
margin: 1.5em 10px;
|
margin: 1.5em 10px;
|
||||||
padding: 0.5em 10px;
|
padding: 0.5em 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
blockquote:before {
|
blockquote:before {
|
||||||
color: #ccc;
|
color: #ccc;
|
||||||
content: open-quote;
|
content: open-quote;
|
||||||
@ -182,5 +187,4 @@ div.chill-user-quote {
|
|||||||
|
|
||||||
.chill-no-data-statement {
|
.chill-no-data-statement {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -0,0 +1,41 @@
|
|||||||
|
/*
|
||||||
|
* NOTE 2021.04
|
||||||
|
* scss/chill.scss is the main sass file for the new chill.2
|
||||||
|
* scratch will be replaced by bootstrap, please avoid to edit in modules/scratch/_custom.scss
|
||||||
|
*
|
||||||
|
* when possible, try to use bootstrap class naming
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Header custom for Accompanying Course
|
||||||
|
*/
|
||||||
|
|
||||||
|
div#header-accompanying_course-name {
|
||||||
|
background: none repeat scroll 0 0 #718596;
|
||||||
|
color: #FFF;
|
||||||
|
padding-top: 1em;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
|
||||||
|
span {
|
||||||
|
a {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
div#header-accompanying_course-details {
|
||||||
|
background: none repeat scroll 0 0 #718596ab;
|
||||||
|
color: #FFF;
|
||||||
|
padding-top: 1em;
|
||||||
|
padding-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* /!\ Contourne le positionnement problématique du div#content_conainter suivant,
|
||||||
|
* car sa position: relative le place au-dessus du bandeau et les liens sont incliquables */
|
||||||
|
|
||||||
|
div.subheader {
|
||||||
|
height: 130px;
|
||||||
|
}
|
@ -42,19 +42,16 @@ module.exports = function(encore, entries)
|
|||||||
// Push into "chill" entrypoint
|
// Push into "chill" entrypoint
|
||||||
entries.push(__dirname + '/Resources/public/main.js');
|
entries.push(__dirname + '/Resources/public/main.js');
|
||||||
|
|
||||||
// Add new separate entrypoints
|
|
||||||
encore
|
|
||||||
.addEntry('scratch', __dirname + '/Resources/public/modules/scratch/index.js')
|
|
||||||
.addEntry('login', __dirname + '/Resources/public/modules/login_page/index.js')
|
|
||||||
.addEntry('tabs', __dirname + '/Resources/public/modules/tabs/index.js')
|
|
||||||
;
|
|
||||||
|
|
||||||
// Aliases are used when webpack is trying to resolve modules path
|
// Aliases are used when webpack is trying to resolve modules path
|
||||||
encore.addAliases({
|
encore.addAliases({
|
||||||
ChillMainSass: __dirname + '/Resources/public/modules/scratch',
|
ChillMainSass: __dirname + '/Resources/public/modules/scratch',
|
||||||
ShowHide: __dirname + '/Resources/public/modules/show_hide'
|
ShowHide: __dirname + '/Resources/public/modules/show_hide'
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Add separate entrypoints
|
||||||
|
encore.addEntry('login', __dirname + '/Resources/public/modules/login_page/index.js');
|
||||||
|
encore.addEntry('scratch', __dirname + '/Resources/public/modules/scratch/index.js');
|
||||||
|
|
||||||
// Chill2 new assets
|
// Chill2 new assets
|
||||||
encore.addEntry('forkawesome', __dirname + '/Resources/public/modules/forkawesome/index.js');
|
encore.addEntry('forkawesome', __dirname + '/Resources/public/modules/forkawesome/index.js');
|
||||||
encore.addEntry('bootstrap', __dirname + '/Resources/public/modules/bootstrap/index.js');
|
encore.addEntry('bootstrap', __dirname + '/Resources/public/modules/bootstrap/index.js');
|
||||||
|
@ -16,31 +16,6 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block css %}
|
{% block css %}
|
||||||
<style>
|
|
||||||
div#header-accompanying_course-name {
|
|
||||||
background: none repeat scroll 0 0 #718596; /*#DF6D6D;*/
|
|
||||||
color: #FFF;
|
|
||||||
padding-top: 1em;
|
|
||||||
padding-bottom: 1em;
|
|
||||||
}
|
|
||||||
div#header-accompanying_course-name span a {
|
|
||||||
color: white;
|
|
||||||
}
|
|
||||||
div#header-accompanying_course-name span a:hover {
|
|
||||||
text-decoration: underline;
|
|
||||||
}
|
|
||||||
div#header-accompanying_course-details {
|
|
||||||
background: none repeat scroll 0 0 #718596ab; /*#DF8C8A;*/
|
|
||||||
color: #FFF;
|
|
||||||
padding-top: 1em;
|
|
||||||
padding-bottom: 1em;
|
|
||||||
}
|
|
||||||
/* /!\ Contourne le positionnement problématique du div#content_conainter suivant,
|
|
||||||
* car sa position: relative le place au-dessus du bandeau et les liens sont incliquables */
|
|
||||||
div.subheader {
|
|
||||||
height: 130px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block js %}
|
{% block js %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user