"share_notes"
Bootstrap 3.3.0 Snippet by devlopereswar

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">Collapsible Group 1 <span class="pull-right"> Mar/2/2017 </span> </a> </h4> </div> <div id="collapse1" class="panel-collapse collapse in"> <div class="panel-body"> <div class="notes_body_header"> <div class="notes_header_username"> Lorem Impus User Name </div> <div class="notes_header_button"> <button class="btn-login btn-xs btn-primary">Click</button> </div> </div> <div class="notes"> <div class="note_head"> <span>Symptom</span> </div> <div class="notes_content"> This works perfectly, but in addition I'm adding "active" class to my #title link and I can't get rid of it, </div> </div> <div class="notes"> <div class="note_head"> <span>Past History</span> </div> <div class="notes_content"> Lorem ipsum dolor </div> </div> <div class="notes"> <div class="note_head"> <span>Consultation / Advise</span> </div> <div class="notes_content"> <span>Symptoms</span> </div> </div> <div class="notes"> <div class="note_head"> <span>Pharmacy Details</span> </div> <div class="notes_content"> Lorem ipsum dolor </div> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Collapsible Group 2</a> </h4> </div> <div id="collapse2" class="panel-collapse collapse"> <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> </div> </div> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">Collapsible Group 3</a> </h4> </div> <div id="collapse3" class="panel-collapse collapse"> <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> </div> </div> <div class="container"> <div class="row"> <br/> <br/> <div class="center-box"> <div class="panel-group" id="accordion"> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse1">Collapsible Group 1 <span class="pull-right"> Mar/2/2017 </span> </a> </h4> </div> <div id="collapse1" class="panel-collapse collapse in"> <div class="panel-body"> <div class="notes_body_header"> <div class="notes_header_username"> Lorem Impus User Name </div> <div class="notes_header_button"> <button class="btn-login btn-xs btn-primary">Click</button> </div> </div> <div class="notes"> <div class="note_head"> <span>Symptom</span> </div> <div class="notes_content"> This works perfectly, but in addition I'm adding "active" class to my #title link and I can't get rid of it, </div> </div> <div class="notes"> <div class="note_head"> <span>Past History</span> </div> <div class="notes_content"> Lorem ipsum dolor </div> </div> <div class="notes"> <div class="note_head"> <span>Consultation / Advise</span> </div> <div class="notes_content"> <span>Symptoms</span> </div> </div> <div class="notes"> <div class="note_head"> <span>Pharmacy Details</span> </div> <div class="notes_content"> Lorem ipsum dolor </div> </div> </div> </div> </div> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse2">Collapsible Group 2</a> </h4> </div> <div id="collapse2" class="panel-collapse collapse"> <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> </div> </div> <div class="panel panel-default"> <div class="panel-heading share_note-panel_box"> <h4 class="panel-title"> <a data-toggle="collapse" data-parent="#accordion" href="#collapse3">Collapsible Group 3</a> </h4> </div> <div id="collapse3" class="panel-collapse collapse"> <div class="panel-body">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</div> </div> </div> </div> </div> </div>
.center-box{width:70%; margin:auto; } .share_note-panel_box.active{background:#fff !important; } .share_note-panel_box {background:rgb(199, 238, 252) !important;box-shadow:0 0 3px #aaa;} .share_note-panel_box .panel-title a{color:#666; font-weight:400;} .share_note-panel_box .panel-title a:hover{text-decoration:none;} .share_note-panel_box .panel-title a:focus{text-decoration:none;} .notes{ width:100%;display:flex;} .note_head{flex-basis:20%; width:20%; padding:5px; text-align:center; margin:10px;} .note_head span{ color:#fff; background:#15B7E4; width:100%; float:left; padding:6px; border-radius:0; font-size:11px;} .notes_content{flex-basis:100%;flex:2;padding:0 12px; text-align:left; margin:10px;} .notetext{width:100%; height:100%; border:none; text-align:left; padding:6px;} .notetext:focus{outline:none; box-shadow:0 0 1px rgba(0,0,0,0.3);border:1px solid rgba(0,0,0,0.1);} .notes_body_header{width:100%; float:left;border-bottom:1px solid rgba(0,0,0,0.2);} .notes_header_username{width:70%;float:left;text-align:center;padding:10px;} .notes_header_button{width:30%;float:left;padding:10px; text-align:right;}

Related: See More


Questions / Comments: