JSFiddle - React, Tailwind, and code Playground
by joaoManolo
HTML
<div class="col-sm-8">
<div class="nest text margin-bottom">
<div class="title-alt">
<h6><a href="#" rel="destino-solicitado" class="toggle-box">Destino Solicitado pelo Passageiro</a></h6>
<a href="#" rel="destino-solicitado" class="icon-chevron-down toggle-box"></a>
</div>
<div class="body-nest" id="destino-solicitado">
<div class="aling-form">
<div class="box03">
<select id="multi-select" name="cars" multiple>
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="opel">Opel</option>
<option value="audi">Audi</option>
</select>
</div>
<div class="box03">
<button id="mostrar" type="button" class="btn btn-info pull-right">Filtrar</button>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4 pull-right">
<div class="nest text margin-bottom">
<div class="title-alt">
<h6><a href="#" rel="destino-negociado" class="toggle-box">Destinos Negociado</a></h6>
<a href="#" rel="destino-negociado" class="icon-chevron-down toggle-box"></a>
</div>
<div class="body-nest" id="destino-negociado">
<div id="divId" class="aling-form">
<div class="box03"> <a href="#" class="btn btn-info pull-right">Adicionar Destino</a>
</div>
</div>
</div>
</div>
</div>
<!-- Status de Negociações -->
<div class="col-sm-8">
<div class="nest text margin-bottom">
<div class="title-alt">
<h6><a href="#" rel="status-negociacoes" class="toggle-box">Status de Negociações</a></h6>
<a href="#" rel="status-negociacoes" class="icon-chevron-down toggle-box"></a>
</div>
<div class="body-nest" id="status-negociacoes">
<div...
CSS
/* maki */
[class*="maki-"]:before {
font-family:'maki', sans-serif;
}
/* entypo */
[class*="entypo-"]:before {
font-family:'entypo', sans-serif;
}
/* fontawesome */
[class*="fontawesome-"]:before {
font-family:'FontAwesome', sans-serif;
}
body {
color: #9ea7b3!important;
font-family:"Open Sans", Arial, sans-serif!important;
font-size: 13px!important;
line-height: 20px;
overflow-x: hidden!important;
min-height: 100%;
z-index: -2;
margin: 0px !important;
background: url('../img/bg.jpg') no-repeat top center fixed;
-moz-background-size: cover;
-webkit-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
/*
PREALOADER
*/
a:hover {
text-decoration: none!important;
}
#preloader {
background: transparent;
\9;
/* IE 8 and below */
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(37, 45, 59, 0.8);
/* change if the mask should have another color then white */
z-index: 2000;
/* makes sure it stays on top */
/* background-image: url("../img/overlays/06.png");
background-repeat: repeat; */
}
#mapContainer {
font-family: sans-serif;
background: #fff;
color: #444;
height: 100%;
padding: 0;
margin: 0;
}
#logo {
left: 19px;
position: relative;
top: -34px;
max-width: 191px;
}
#logo-mobile {
left: -33px;
position: absolute;
top: -14px;
z-index: 0;
}
#logo h1, #logo-mobile h1 {
font-size: 30px;
font-weight: 200;
letter-spacing: -1px;
text-decoration: inherit;
text-transform: uppercase;
color: #fff;
}
#logo h1 span, #logo-mobile h1 span {
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.2);
border-radius: 3px;
font-size: 11px;
margin-left: 0;
padding: 0 5px;
position: relative;
top: -3px;
}
/**
* BOOTSRAP COUSTOM
*/
.container-fluid {
padding-left: 0!important;
padding-right:...
JavaScript
$('#show-destination').click(function () {
$('.ms-selection ul.ms-list li').each(function () {
if ($(this).hasClass('ms-selected')) {
$('#divId').prepend('<h5 id="destination-title">' + $(this).text() + '<a href="#" class="btn btn-danger pull-right btn-fechar"><span class="entypo-cancel-squared"></span></a></h5>');
$('#destination-title').after('<div id="div-departure" class="box03"></div>');
$('#div-departure').append('<div id="div-input-departure" class="input-group "></div');
$('#div-input-departure').append('<span id="span-departure" class="input-group-addon btn-success"><i class="fa fa-calendar"></i></span>');
$('#span-departure').after('<input id="input-departure" type="text" class="form-control" id="data4" placeholder="Data de Ida">');
$('#div-departure').after('<div id="div-arrive" class="box03"></div>');
$('#div-arrive').append('<div id="div-input-arrive" class="input-group "></div');
$('#div-input-arrive').append('<span id="span-arrive" class="input-group-addon btn-success"><i class="fa fa-calendar"></i></span>');
$('#span-arrive').after('<input id="input-arrive" type="text" class="form-control" id="data4" placeholder="Data de Volta">');
$('#negotiation-status').prepend('<div id="xpto" class="box01"></div>');
$('#xpto').prepend('<label>' + $(this).text() + '</label>');
}
});
});