misc: move timetable table style to css file (#50035)
This commit is contained in:
parent
b8f9e437a7
commit
00f3ed46c4
|
@ -2047,3 +2047,34 @@ div.form-validation form {
|
|||
div.buttons > div.widget {
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
div.timetable-widget {
|
||||
margin-top: 1ex;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
> div {
|
||||
flex: 0 1 auto;
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
div span {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
padding: 0.3ex 0;
|
||||
&.disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
&.selectable.on {
|
||||
background: #215D9C;
|
||||
color: white;
|
||||
}
|
||||
}
|
||||
|
||||
div.head {
|
||||
padding-bottom: 1ex;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -162,42 +162,6 @@ $(function() {
|
|||
$select.trigger('wcs:options-change');
|
||||
});
|
||||
</script>
|
||||
{% if request.quixote_request.is_in_backoffice %}
|
||||
<style>
|
||||
div.meetings_table {
|
||||
margin-top: 1ex;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
div.meetings_table > div {
|
||||
flex: 0 1 auto;
|
||||
width: 20%;
|
||||
text-align: center;
|
||||
display: none;
|
||||
}
|
||||
|
||||
div.meetings_table div span {
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
padding: 0.3ex 0;
|
||||
}
|
||||
|
||||
div.meetings_table div span.disabled {
|
||||
opacity: 0.3;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
div.meetings_table div span.selectable.on {
|
||||
background: #215D9C;
|
||||
color: white;
|
||||
}
|
||||
|
||||
div.meetings_table div.head {
|
||||
padding-bottom: 1ex;
|
||||
}
|
||||
</style>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block widget-hint %}
|
||||
|
|
Loading…
Reference in New Issue