mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-18 15:54:26 +01:00
adding new tabble stuff, still a huge work in progress
This commit is contained in:
parent
12af75eef4
commit
e2a0ce2062
59
bootstrap.css
vendored
59
bootstrap.css
vendored
@ -6,7 +6,7 @@
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Designed and built with all the love in the world @twitter by @mdo and @fat.
|
||||
* Date: Tue Oct 11 21:49:21 PDT 2011
|
||||
* Date: Tue Oct 11 23:12:13 PDT 2011
|
||||
*/
|
||||
/* Reset.less
|
||||
* Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
|
||||
@ -1616,7 +1616,7 @@ a.menu:after, .dropdown-toggle:after {
|
||||
display: block;
|
||||
}
|
||||
.tabs, .pills {
|
||||
margin: 0 0 20px;
|
||||
margin: 0 0 18px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
zoom: 1;
|
||||
@ -1640,13 +1640,13 @@ a.menu:after, .dropdown-toggle:after {
|
||||
display: block;
|
||||
}
|
||||
.tabs {
|
||||
float: left;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-color: #ddd;
|
||||
border-style: solid;
|
||||
border-width: 0 0 1px;
|
||||
}
|
||||
.tabs > li {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
margin-bottom: -1px;
|
||||
}
|
||||
.tabs > li > a {
|
||||
padding: 0 15px;
|
||||
@ -1662,11 +1662,51 @@ a.menu:after, .dropdown-toggle:after {
|
||||
background-color: #eee;
|
||||
border-color: #eee #eee #ddd;
|
||||
}
|
||||
.tabs > li.active > a {
|
||||
.tabs .active > a, .tabs .active > a:hover {
|
||||
color: #808080;
|
||||
background-color: #ffffff;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
.tabbable {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
.tabbable .tabs {
|
||||
margin-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.tabbable .tab-content {
|
||||
padding: 19px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
.tabbable.tabs-bottom .tabs > li {
|
||||
margin-top: -1px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.tabbable.tabs-bottom .tabs > li > a {
|
||||
-webkit-border-radius: 0 0 4px 4px;
|
||||
-moz-border-radius: 0 0 4px 4px;
|
||||
border-radius: 0 0 4px 4px;
|
||||
}
|
||||
.tabbable.tabs-bottom .tabs > li > a:hover {
|
||||
border-bottom-color: transparent;
|
||||
border-top-color: #ddd;
|
||||
}
|
||||
.tabbable.tabs-bottom .tabs > .active > a, .tabbable.tabs-bottom .tabs > .active > a:hover {
|
||||
border-color: transparent #ddd #ddd #ddd;
|
||||
}
|
||||
.tabbable.tabs-left .tabs {
|
||||
float: left;
|
||||
}
|
||||
.tabbable.tabs-left .tabs > li {
|
||||
float: none;
|
||||
}
|
||||
.tabbable.tabs-right .tabs {
|
||||
float: right;
|
||||
}
|
||||
.tabbable.tabs-right .tabs > li {
|
||||
float: none;
|
||||
}
|
||||
.tabs .menu-dropdown, .tabs .dropdown-menu {
|
||||
top: 35px;
|
||||
@ -1709,10 +1749,7 @@ a.menu:after, .dropdown-toggle:after {
|
||||
.pills-vertical > li {
|
||||
float: none;
|
||||
}
|
||||
.tab-content, .pill-content {
|
||||
clear: both;
|
||||
}
|
||||
.tab-content > *, .pill-content > * {
|
||||
.tab-content > .tab-pane, .pill-content > .pill-pane {
|
||||
display: none;
|
||||
}
|
||||
.tab-content > .active, .pill-content > .active {
|
||||
|
18
bootstrap.min.css
vendored
18
bootstrap.min.css
vendored
@ -262,11 +262,20 @@ a.menu:after,.dropdown-toggle:after{width:0;height:0;display:inline-block;conten
|
||||
.topbar .dropdown-menu a,.dropdown-menu a{display:block;padding:4px 15px;clear:both;font-weight:normal;line-height:18px;color:#808080;text-shadow:0 1px 0 #ffffff;}.topbar .dropdown-menu a:hover,.dropdown-menu a:hover,.topbar .dropdown-menu a.hover,.dropdown-menu a.hover{background-color:#dddddd;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#eeeeee), to(#dddddd));background-image:-moz-linear-gradient(top, #eeeeee, #dddddd);background-image:-ms-linear-gradient(top, #eeeeee, #dddddd);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #eeeeee), color-stop(100%, #dddddd));background-image:-webkit-linear-gradient(top, #eeeeee, #dddddd);background-image:-o-linear-gradient(top, #eeeeee, #dddddd);background-image:linear-gradient(top, #eeeeee, #dddddd);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#dddddd', GradientType=0);color:#404040;text-decoration:none;-webkit-box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);-moz-box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);box-shadow:inset 0 1px 0 rgba(0, 0, 0, 0.025),inset 0 -1px rgba(0, 0, 0, 0.025);}
|
||||
.open .menu,.dropdown.open .menu,.open .dropdown-toggle,.dropdown.open .dropdown-toggle{color:#ffffff;background:#ccc;background:rgba(0, 0, 0, 0.3);}
|
||||
.open .menu-dropdown,.dropdown.open .menu-dropdown,.open .dropdown-menu,.dropdown.open .dropdown-menu{display:block;}
|
||||
.tabs,.pills{margin:0 0 20px;padding:0;list-style:none;zoom:1;}.tabs:before,.pills:before,.tabs:after,.pills:after{display:table;content:"";zoom:1;*display:inline;}
|
||||
.tabs,.pills{margin:0 0 18px;padding:0;list-style:none;zoom:1;}.tabs:before,.pills:before,.tabs:after,.pills:after{display:table;content:"";zoom:1;*display:inline;}
|
||||
.tabs:after,.pills:after{clear:both;}
|
||||
.tabs>li,.pills>li{float:left;}.tabs>li>a,.pills>li>a{display:block;}
|
||||
.tabs{float:left;width:100%;border-bottom:1px solid #ddd;}.tabs>li{position:relative;top:1px;}.tabs>li>a{padding:0 15px;margin-right:2px;line-height:36px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.tabs>li>a:hover{text-decoration:none;background-color:#eee;border-color:#eee #eee #ddd;}
|
||||
.tabs>li.active>a{color:#808080;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;}
|
||||
.tabs{border-color:#ddd;border-style:solid;border-width:0 0 1px;}.tabs>li{position:relative;margin-bottom:-1px;}.tabs>li>a{padding:0 15px;margin-right:2px;line-height:36px;border:1px solid transparent;-webkit-border-radius:4px 4px 0 0;-moz-border-radius:4px 4px 0 0;border-radius:4px 4px 0 0;}.tabs>li>a:hover{text-decoration:none;background-color:#eee;border-color:#eee #eee #ddd;}
|
||||
.tabs .active>a,.tabs .active>a:hover{color:#808080;background-color:#ffffff;border:1px solid #ddd;border-bottom-color:transparent;cursor:default;}
|
||||
.tabbable{margin-bottom:18px;}.tabbable .tabs{margin-bottom:0;border-bottom:0;}
|
||||
.tabbable .tab-content{padding:19px;border:1px solid #ddd;}
|
||||
.tabbable.tabs-bottom .tabs>li{margin-top:-1px;margin-bottom:0;}
|
||||
.tabbable.tabs-bottom .tabs>li>a{-webkit-border-radius:0 0 4px 4px;-moz-border-radius:0 0 4px 4px;border-radius:0 0 4px 4px;}.tabbable.tabs-bottom .tabs>li>a:hover{border-bottom-color:transparent;border-top-color:#ddd;}
|
||||
.tabbable.tabs-bottom .tabs>.active>a,.tabbable.tabs-bottom .tabs>.active>a:hover{border-color:transparent #ddd #ddd #ddd;}
|
||||
.tabbable.tabs-left .tabs{float:left;}
|
||||
.tabbable.tabs-left .tabs>li{float:none;}
|
||||
.tabbable.tabs-right .tabs{float:right;}
|
||||
.tabbable.tabs-right .tabs>li{float:none;}
|
||||
.tabs .menu-dropdown,.tabs .dropdown-menu{top:35px;border-width:1px;-webkit-border-radius:0 6px 6px 6px;-moz-border-radius:0 6px 6px 6px;border-radius:0 6px 6px 6px;}
|
||||
.tabs a.menu:after,.tabs .dropdown-toggle:after{border-top-color:#999;margin-top:15px;margin-left:5px;}
|
||||
.tabs li.open.menu .menu,.tabs .open.dropdown .dropdown-toggle{border-color:#999;}
|
||||
@ -274,8 +283,7 @@ a.menu:after,.dropdown-toggle:after{width:0;height:0;display:inline-block;conten
|
||||
.pills a{margin:5px 3px 5px 0;padding:0 15px;line-height:30px;text-shadow:0 1px 1px #ffffff;-webkit-border-radius:15px;-moz-border-radius:15px;border-radius:15px;}.pills a:hover{color:#ffffff;text-decoration:none;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);background-color:#00438a;}
|
||||
.pills .active a{color:#ffffff;text-shadow:0 1px 1px rgba(0, 0, 0, 0.25);background-color:#0069d6;}
|
||||
.pills-vertical>li{float:none;}
|
||||
.tab-content,.pill-content{clear:both;}
|
||||
.tab-content>*,.pill-content>*{display:none;}
|
||||
.tab-content>.tab-pane,.pill-content>.pill-pane{display:none;}
|
||||
.tab-content>.active,.pill-content>.active{display:block;}
|
||||
.breadcrumb{padding:7px 14px;margin:0 0 18px;background-color:#f5f5f5;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#ffffff), to(#f5f5f5));background-image:-moz-linear-gradient(top, #ffffff, #f5f5f5);background-image:-ms-linear-gradient(top, #ffffff, #f5f5f5);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f5f5f5));background-image:-webkit-linear-gradient(top, #ffffff, #f5f5f5);background-image:-o-linear-gradient(top, #ffffff, #f5f5f5);background-image:linear-gradient(top, #ffffff, #f5f5f5);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f5f5f5', GradientType=0);border:1px solid #ddd;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;-webkit-box-shadow:inset 0 1px 0 #ffffff;-moz-box-shadow:inset 0 1px 0 #ffffff;box-shadow:inset 0 1px 0 #ffffff;}.breadcrumb li{display:inline;text-shadow:0 1px 0 #ffffff;}
|
||||
.breadcrumb .divider{padding:0 5px;color:#bfbfbf;}
|
||||
|
149
docs/index.html
149
docs/index.html
@ -1448,6 +1448,7 @@
|
||||
</div>
|
||||
<div class="span12">
|
||||
<h3>Basic tabs example</h3>
|
||||
<p>Tabs can be used as regular navigation (loading external pages in the same tab) or as tabbable content areas for swapping out panes of content. We have a <a href="./javascript.html#tabs">tabs plugin</a> that can be used to integrate the latter.</p>
|
||||
<ul class="tabs">
|
||||
<li class="active"><a href="#">Home</a></li>
|
||||
<li><a href="#">Profile</a></li>
|
||||
@ -1475,24 +1476,136 @@
|
||||
</pre>
|
||||
<h3>Alternate tabs</h3>
|
||||
<p>You can also use tabs that are stacked on either side of an element, or on the bottom.</p>
|
||||
<ul class="tabs tabs-left">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
<li><a href="#">What up link</a></li>
|
||||
</ul>
|
||||
<ul class="tabs tabs-right">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
<li><a href="#">What up link</a></li>
|
||||
</ul>
|
||||
<ul class="tabs tabs-bottom">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
<li><a href="#">What up link</a></li>
|
||||
</ul>
|
||||
<div class="row">
|
||||
<div class="span3">
|
||||
<div class="clearfix">
|
||||
<ul class="tabs tabs-left">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
<li><a href="#">What up link</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span3">
|
||||
<div class="clearfix">
|
||||
<ul class="tabs tabs-right">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
<li><a href="#">What up link</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="clearfix">
|
||||
<ul class="tabs tabs-bottom">
|
||||
<li class="active"><a href="#">Active link</a></li>
|
||||
<li><a href="#">Link</a></li>
|
||||
<li><a href="#">Linky link</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<h3>Tabbable tabs</h3>
|
||||
<p>As mentioned above, you can bring your tabs to life with a simple plugin. Here we have integrated all four variations of the tabs—default (top), right, bottom, left—with example tab areas.</p>
|
||||
|
||||
<div class="tabbable">
|
||||
<ul class="tabs" data-tabs="tabs">
|
||||
<li class="active"><a href="#1">Section 1</a></li>
|
||||
<li><a href="#2">Section 2</a></li>
|
||||
<li><a href="#3">Section 3</a></li>
|
||||
<li><a href="#4">Section 4</a></li>
|
||||
</ul>
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="1">
|
||||
<p>Oh hai #1!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="2">
|
||||
<p>Oh hai #2!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="3">
|
||||
<p>Oh hai #3!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="4">
|
||||
<p>Oh hai #4!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="span6">
|
||||
<div class="tabbable tabs-left">
|
||||
<ul class="tabs" data-tabs="tabs">
|
||||
<li class="active"><a href="#1">Section 1</a></li>
|
||||
<li><a href="#2">Section 2</a></li>
|
||||
<li><a href="#3">Section 3</a></li>
|
||||
</ul>
|
||||
<div class="tab-content" id="myTabContent2">
|
||||
<div class="tab-pane active" id="1">
|
||||
<h4>Section 1</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="2">
|
||||
<h4>Section 2</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="3">
|
||||
<h4>Section 3</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="span6">
|
||||
<div class="tabbable tabs-right">
|
||||
<ul class="tabs" data-tabs="tabs">
|
||||
<li class="active"><a href="#1">Section 1</a></li>
|
||||
<li><a href="#2">Section 2</a></li>
|
||||
<li><a href="#3">Section 3</a></li>
|
||||
</ul>
|
||||
<div class="tab-content" id="myTabContent3">
|
||||
<div class="tab-pane active" id="1">
|
||||
<h4>Section 1</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="2">
|
||||
<h4>Section 2</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="3">
|
||||
<h4>Section 3</h4>
|
||||
<p>Oh hai!</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tabbable tabs-bottom">
|
||||
<div class="tab-content">
|
||||
<div class="tab-pane active" id="1">
|
||||
<p>Oh hai #1!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="2">
|
||||
<p>Oh hai #2!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="3">
|
||||
<p>Oh hai #3!</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="4">
|
||||
<p>Oh hai #4!</p>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="tabs" data-tabs="tabs">
|
||||
<li class="active"><a href="#1">Section 1</a></li>
|
||||
<li><a href="#2">Section 2</a></li>
|
||||
<li><a href="#3">Section 3</a></li>
|
||||
<li><a href="#4">Section 4</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<p>In addition to tabs, we have pills! Though a bit more limited in functionality, they share much of the same markup.</p>
|
||||
<hr>
|
||||
<h3>Basic pills example</h3>
|
||||
|
@ -379,24 +379,26 @@ $('#.tabs').bind('change', function (e) {
|
||||
e.relatedTarget // previous tab
|
||||
})</pre>
|
||||
<h3>Demo</h3>
|
||||
<ul class="tabs" data-tabs="tabs" >
|
||||
<li class="active"><a href="#home">Home</a></li>
|
||||
<li><a href="#profile">Profile</a></li>
|
||||
<li><a href="#messages">Messages</a></li>
|
||||
<li><a href="#settings">Settings</a></li>
|
||||
</ul>
|
||||
<div id="my-tab-content" class="tab-content">
|
||||
<div class="active" id="home">
|
||||
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
|
||||
</div>
|
||||
<div id="profile">
|
||||
<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
|
||||
</div>
|
||||
<div id="messages">
|
||||
<p>Banksy do proident, brooklyn photo booth delectus sunt artisan sed organic exercitation eiusmod four loko. Quis tattooed iphone esse aliqua. Master cleanse vero fixie mcsweeney's. Ethical portland aute, irony food truck pitchfork lomo eu anim. Aesthetic blog DIY, ethical beard leggings tofu consequat whatever cardigan nostrud. Helvetica you probably haven't heard of them carles, marfa veniam occaecat lomo before they sold out in shoreditch scenester sustainable thundercats. Consectetur tofu craft beer, mollit brunch fap echo park pitchfork mustache dolor.</p>
|
||||
</div>
|
||||
<div id="settings">
|
||||
<p>Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seitan squid ad wolf bicycle rights blog. Et aute readymade farm-to-table carles 8-bit, nesciunt nulla etsy adipisicing organic ea. Master cleanse mollit high life, next level Austin nesciunt american apparel twee mustache adipisicing reprehenderit hoodie portland irony. Aliqua tofu quinoa +1 commodo eiusmod. High life williamsburg cupidatat twee homo leggings. Four loko vinyl DIY consectetur nisi, marfa retro keffiyeh vegan. Fanny pack viral retro consectetur gentrify fap.</p>
|
||||
<div class="tabbable">
|
||||
<ul class="tabs" data-tabs="tabs">
|
||||
<li class="active"><a href="#home">Home</a></li>
|
||||
<li><a href="#profile">Profile</a></li>
|
||||
<li><a href="#messages">Messages</a></li>
|
||||
<li><a href="#settings">Settings</a></li>
|
||||
</ul>
|
||||
<div class="tab-content" id="myTabContent">
|
||||
<div class="tab-pane active" id="home">
|
||||
<p>Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="profile">
|
||||
<p>Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="messages">
|
||||
<p>Banksy do proident, brooklyn photo booth delectus sunt artisan sed organic exercitation eiusmod four loko. Quis tattooed iphone esse aliqua. Master cleanse vero fixie mcsweeney's. Ethical portland aute, irony food truck pitchfork lomo eu anim. Aesthetic blog DIY, ethical beard leggings tofu consequat whatever cardigan nostrud. Helvetica you probably haven't heard of them carles, marfa veniam occaecat lomo before they sold out in shoreditch scenester sustainable thundercats. Consectetur tofu craft beer, mollit brunch fap echo park pitchfork mustache dolor.</p>
|
||||
</div>
|
||||
<div class="tab-pane" id="settings">
|
||||
<p>Sunt qui biodiesel mollit officia, fanny pack put a bird on it thundercats seitan squid ad wolf bicycle rights blog. Et aute readymade farm-to-table carles 8-bit, nesciunt nulla etsy adipisicing organic ea. Master cleanse mollit high life, next level Austin nesciunt american apparel twee mustache adipisicing reprehenderit hoodie portland irony. Aliqua tofu quinoa +1 commodo eiusmod. High life williamsburg cupidatat twee homo leggings. Four loko vinyl DIY consectetur nisi, marfa retro keffiyeh vegan. Fanny pack viral retro consectetur gentrify fap.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -320,10 +320,13 @@ a.menu:after,
|
||||
}
|
||||
|
||||
|
||||
// Tabs and Pills
|
||||
// TABS AND PILLS
|
||||
// --------------
|
||||
|
||||
// Common styles
|
||||
.tabs,
|
||||
.pills {
|
||||
margin: 0 0 20px;
|
||||
margin: 0 0 @baseline;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
.clearfix();
|
||||
@ -335,14 +338,14 @@ a.menu:after,
|
||||
}
|
||||
}
|
||||
|
||||
// Basic Tabs
|
||||
// Tabs
|
||||
.tabs {
|
||||
float: left;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid #ddd;
|
||||
border-color: #ddd;
|
||||
border-style: solid;
|
||||
border-width: 0 0 1px;
|
||||
> li {
|
||||
position: relative; // For the dropdowns mostly
|
||||
top: 1px;
|
||||
margin-bottom: -1px;
|
||||
> a {
|
||||
padding: 0 15px;
|
||||
margin-right: 2px;
|
||||
@ -355,14 +358,66 @@ a.menu:after,
|
||||
border-color: #eee #eee #ddd;
|
||||
}
|
||||
}
|
||||
&.active > a {
|
||||
color: @gray;
|
||||
background-color: @white;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
}
|
||||
// Active state, and it's :hover to override normal :hover
|
||||
.active > a,
|
||||
.active > a:hover {
|
||||
color: @gray;
|
||||
background-color: @white;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: transparent;
|
||||
cursor: default;
|
||||
}
|
||||
}
|
||||
|
||||
.tabbable {
|
||||
margin-bottom: @baseline;
|
||||
|
||||
// Tabs on top
|
||||
.tabs {
|
||||
margin-bottom: 0;
|
||||
border-bottom: 0;
|
||||
}
|
||||
.tab-content {
|
||||
padding: 19px;
|
||||
border: 1px solid #ddd;
|
||||
}
|
||||
|
||||
// Tabs on bottom
|
||||
&.tabs-bottom .tabs > li {
|
||||
margin-top: -1px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
&.tabs-bottom .tabs > li > a {
|
||||
.border-radius(0 0 4px 4px);
|
||||
&:hover {
|
||||
border-bottom-color: transparent;
|
||||
border-top-color: #ddd;
|
||||
}
|
||||
}
|
||||
&.tabs-bottom .tabs > .active > a,
|
||||
&.tabs-bottom .tabs > .active > a:hover {
|
||||
border-color: transparent #ddd #ddd #ddd;
|
||||
}
|
||||
|
||||
// Tabs on left
|
||||
&.tabs-left .tabs {
|
||||
float: left;
|
||||
}
|
||||
&.tabs-left .tabs > li {
|
||||
float: none;
|
||||
}
|
||||
|
||||
// Tabs on right
|
||||
&.tabs-right .tabs {
|
||||
float: right;
|
||||
}
|
||||
&.tabs-right .tabs > li {
|
||||
float: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Dropdowns in tabs
|
||||
.tabs {
|
||||
// first one for backwards compatibility
|
||||
@ -391,7 +446,7 @@ a.menu:after,
|
||||
}
|
||||
}
|
||||
|
||||
// Basic pill nav
|
||||
// Pills
|
||||
.pills {
|
||||
a {
|
||||
margin: 5px 3px 5px 0;
|
||||
@ -412,26 +467,23 @@ a.menu:after,
|
||||
background-color: @linkColor;
|
||||
}
|
||||
}
|
||||
|
||||
// Stacked pills
|
||||
.pills-vertical {
|
||||
> li {
|
||||
float: none;
|
||||
}
|
||||
.pills-vertical > li {
|
||||
float: none;
|
||||
}
|
||||
|
||||
|
||||
// For js-enabled tabbed areas
|
||||
// Tabbable areas
|
||||
.tab-content,
|
||||
.pill-content {
|
||||
clear: both;
|
||||
}
|
||||
.tab-content > *,
|
||||
.pill-content > * {
|
||||
.tab-content > .tab-pane,
|
||||
.pill-content > .pill-pane {
|
||||
display: none;
|
||||
}
|
||||
.tab-content > .active,
|
||||
.pill-content > .active {
|
||||
display:block;
|
||||
display: block;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user