This commit is contained in:
parent
584649ec22
commit
707a7c93a1
@ -2147,63 +2147,6 @@ pre {
|
|||||||
[v-cloak] {
|
[v-cloak] {
|
||||||
display: none; }
|
display: none; }
|
||||||
|
|
||||||
.list-group {
|
|
||||||
display: -ms-flexbox;
|
|
||||||
display: -webkit-box;
|
|
||||||
display: flex;
|
|
||||||
-ms-flex-direction: column;
|
|
||||||
-webkit-box-orient: vertical;
|
|
||||||
-webkit-box-direction: normal;
|
|
||||||
flex-direction: column;
|
|
||||||
padding-left: 0;
|
|
||||||
margin-bottom: 0;
|
|
||||||
min-height: 100%; }
|
|
||||||
|
|
||||||
.list-group-item-action {
|
|
||||||
width: 100%;
|
|
||||||
color: #495057;
|
|
||||||
text-align: inherit; }
|
|
||||||
|
|
||||||
.list-group-item-action:focus,
|
|
||||||
.list-group-item-action:hover {
|
|
||||||
z-index: 1;
|
|
||||||
color: #495057;
|
|
||||||
text-decoration: none;
|
|
||||||
background-color: #f8f9fa; }
|
|
||||||
|
|
||||||
.list-group-item-action:active {
|
|
||||||
color: #212529;
|
|
||||||
background-color: #e9ecef; }
|
|
||||||
|
|
||||||
.list-group-item {
|
|
||||||
position: relative;
|
|
||||||
display: block;
|
|
||||||
padding: .75rem 1.25rem;
|
|
||||||
margin-bottom: -1px;
|
|
||||||
background-color: #fff;
|
|
||||||
border: 1px solid rgba(0, 0, 0, 0.125); }
|
|
||||||
|
|
||||||
.list-group-item:first-child {
|
|
||||||
border-top-left-radius: .25rem;
|
|
||||||
border-top-right-radius: .25rem; }
|
|
||||||
|
|
||||||
.list-group-item:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
border-bottom-right-radius: .25rem;
|
|
||||||
border-bottom-left-radius: .25rem; }
|
|
||||||
|
|
||||||
.list-group-item.disabled,
|
|
||||||
.list-group-item:disabled {
|
|
||||||
color: #6c757d;
|
|
||||||
pointer-events: none;
|
|
||||||
background-color: #fff; }
|
|
||||||
|
|
||||||
.list-group-item.active {
|
|
||||||
z-index: 2;
|
|
||||||
color: #fff;
|
|
||||||
background-color: #007bff;
|
|
||||||
border-color: #007bff; }
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Reset
|
* Reset
|
||||||
*/
|
*/
|
||||||
@ -4016,5 +3959,20 @@ input:-webkit-autofill {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-group {
|
.list-group {
|
||||||
margin-top: 16px;
|
overflow: auto;
|
||||||
|
white-space: nowrap;
|
||||||
|
scrollbar-width: none;
|
||||||
|
padding: 1rem 0rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-group-item {
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid rgba(0, 0, 0, 0.125);
|
||||||
|
display: inline-block;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
|
||||||
|
.list-group-item div {
|
||||||
|
display: block;
|
||||||
|
padding: 0.5rem 1.5rem;
|
||||||
}
|
}
|
@ -280,9 +280,9 @@ const app = new Vue({
|
|||||||
e.flight = undefined;
|
e.flight = undefined;
|
||||||
e.step_title = e.step_title || [];
|
e.step_title = e.step_title || [];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
this.debounceSave = _.debounce(this.save_data, 500)
|
this.debounceSave = _.debounce(this.save_data, 500)
|
||||||
this.debounceSearch = {"hotel":_.debounce((q)=>{this.querying.hotel=true;this.search_nominatim(q,(r)=>(r.type=="hotel" || r.type=="hostel")).then((r)=>{this.querying.hotel=false});}, 500),
|
this.debounceSearch = {"hotel":_.debounce((q)=>{this.querying.hotel=true;this.search_nominatim(q,(r)=>(r.type=="hotel" || r.type=="hostel")).then((r)=>{this.querying.hotel=false});}, 500),
|
||||||
"restaurants":_.debounce((q)=>{this.querying.food=true;this.search_nominatim(q,(r)=>(is_restauration_type(r))).then((r)=>{this.querying.food=false});}, 500),
|
"restaurants":_.debounce((q)=>{this.querying.food=true;this.search_nominatim(q,(r)=>(is_restauration_type(r))).then((r)=>{this.querying.food=false});}, 500),
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
draggable(tag='ul' :list='journey_data.main' class='col-1 list-group p-abs' handle='.handle')
|
draggable(tag='ul' :list='journey_data.main' class='list-group bg-dark' handle='.handle')
|
||||||
div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :style='journey_step_data.section==idx?"left:10px":""')
|
div.list-group-item.handle(v-for='(element, idx) in journey_data.main' :key='idx' @click='sel_section(idx)' :style='journey_step_data.section==idx?"background:red":""')
|
||||||
span.text {{element.title}}
|
div.text {{element.title}}
|
||||||
//- input.col-12.input(disabled='' :value='element.title' style='display:block;margin:0;')
|
|
||||||
i.fa.fa-times.close.fright(style='top:2px;right:2px;position:absolute;' @click='rm_section(idx)')
|
i.fa.fa-times.close.fright(style='top:2px;right:2px;position:absolute;' @click='rm_section(idx)')
|
||||||
|
|
||||||
div.list-group-item()
|
div.list-group-item()
|
||||||
span.text Add Section
|
div.text Add Section
|
||||||
i.fa.fa-plus.add(@click='add_section()')
|
i.fa.fa-plus.add(style='top:12px;right:5px;position:absolute;' @click='add_section()')
|
Loading…
x
Reference in New Issue
Block a user