N°1455 - obsolescence: show hint in the search bar

This commit is contained in:
bruno DA SILVA
2019-09-10 15:44:20 +02:00
parent cb1488c17f
commit d71b3b1893
6 changed files with 78 additions and 7 deletions

View File

@@ -757,7 +757,7 @@ input.dp-applied {
.search_form_handler:not(.closed) .sf_title .sft_short {
display: none;
}
.search_form_handler:not(.closed) .sf_title .sft_hint, .search_form_handler:not(.closed) .sf_title .sft_toggler {
.search_form_handler:not(.closed) .sf_title .sft_hint, .search_form_handler:not(.closed) .sf_title .sfobs_hint, .search_form_handler:not(.closed) .sf_title .sft_toggler {
margin-top: 4px;
}
.search_form_handler:not(.closed) .sf_title .sft_toggler {
@@ -784,7 +784,7 @@ input.dp-applied {
.search_form_handler.closed .sf_title .sft_long {
display: none;
}
.search_form_handler.closed .sf_title .sft_hint {
.search_form_handler.closed .sf_title .sft_hint, .search_form_handler.closed .sf_title .sfobs_hint {
display: none;
}
.search_form_handler:not(.no_auto_submit) .sft_hint {
@@ -796,6 +796,18 @@ input.dp-applied {
.search_form_handler.no_auto_submit .sfc_fg_search {
display: none;
}
.search_form_handler.no_auto_submit .sft_hint {
display: inline-block;
}
.search_form_handler:not(.hide_obsolete_data) .sfobs_hint {
display: none;
}
.search_form_handler.hide_obsolete_data .sfobs_hint {
display: inline-block;
}
.search_form_handler.hide_obsolete_data.no_auto_submit .sfobs_hint {
margin-left: 30px;
}
.search_form_handler .sf_title {
transition: opacity 0.3s, background-color 0.3s, color 0.3s linear;
padding: 8px 10px;
@@ -804,7 +816,7 @@ input.dp-applied {
background-color: #1c94c4;
cursor: pointer;
}
.search_form_handler .sf_title .sft_hint {
.search_form_handler .sf_title .sft_hint, .search_form_handler .sf_title .sfobs_hint {
font-size: 8pt;
font-style: italic;
}
@@ -3189,3 +3201,13 @@ input:checked + .slider:before {
font-size: 12px;
margin-bottom: 0.5em;
}
.clearboth {
clear: both;
}
/* font-awesome 4 to 5 BC fix */
.pull-right {
float: right;
}
.pull-left {
float: left;
}

View File

@@ -855,6 +855,7 @@ input.dp-applied {
}
.sft_hint,
.sfobs_hint,
.sft_toggler{
margin-top: 4px;
}
@@ -884,7 +885,8 @@ input.dp-applied {
.sft_long{
display: none;
}
.sft_hint{
.sft_hint,
.sfobs_hint{
display: none;
}
}
@@ -902,6 +904,27 @@ input.dp-applied {
.sfc_fg_search{
display: none;
}
.sft_hint{
display: inline-block;
}
}
&:not(.hide_obsolete_data){
.sfobs_hint{
display: none;
}
}
&.hide_obsolete_data{
.sfobs_hint{
display: inline-block;
}
}
&.hide_obsolete_data.no_auto_submit{
.sfobs_hint{
margin-left: 30px;
}
}
.sf_title{
@@ -911,7 +934,8 @@ input.dp-applied {
color: #ffffff;
background-color: $complement-color;
cursor: pointer;
.sft_hint{
.sft_hint,
.sfobs_hint{
font-size: 8pt;
font-style: italic;
}
@@ -3684,3 +3708,11 @@ input:checked + .slider:before {
font-size: 12px;
margin-bottom: 0.5em;
}
.clearboth {
clear: both;
}
/* font-awesome 4 to 5 BC fix */
.pull-right { float: right; }
.pull-left { float: left; }