[MPP-1] put plains style into css and customize them with primary-color

This commit is contained in:
Nicolas Hislaire 2021-03-26 15:25:32 +01:00
parent 84f9171c37
commit 392ea18e56
7 changed files with 27 additions and 25 deletions

View File

@ -17,5 +17,6 @@
@import '../imio/share';
@import '../imio/cells';
@import '../imio/responsive';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -18,5 +18,6 @@
@import '../imio/share';
@import '../imio/cells';
@import '../imio/responsive';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -0,0 +1,21 @@
@charset "UTF-8";
#imio_plaine_weeks {
display: flex;
}
.activity {
border: 1px solid $primary-color;
margin: 2px;
padding: 2px 4px;
cursor: pointer;
}
.activity:hover {
box-shadow: 0 0 10px $primary-color;
color: $primary-color;
}
.activity.selected {
background-color: $primary-color;
font-weight: bold;
color: #FFF;
}

View File

@ -19,5 +19,6 @@
@import '../imio/cells';
@import '../imio/responsive';
@import '../includes/pp';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -17,5 +17,6 @@
@import '../imio/share';
@import '../imio/cells';
@import '../imio/responsive';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -17,5 +17,6 @@
@import '../imio/share';
@import '../imio/cells';
@import '../imio/responsive';
@import '../imio/parent-portal';
@import 'custom';

View File

@ -53,28 +53,4 @@ $(function(){
}
})
</script>
<style>
#imio_plaine_weeks {
display: flex;
}
.activity {
border: 1px solid #bd1f68;
margin: 2px;
padding: 2px 4px;
cursor: pointer;
}
.activity:hover {
box-shadow: 0 0 10px #bd1f68;
color: #bd1f68;
}
.activity.selected {
background-color: rgba(189, 31, 104, 1);
font-weight: bold;
color: #FFF;
}
</style>
{% endblock %}
{% endblock %}