mirror of https://github.com/twbs/bootstrap.git
				
				
				
			Merge branch 'master' of http://git.local.twitter.com/bootstrap
This commit is contained in:
		
						commit
						1561b20f7c
					
				| 
						 | 
					@ -328,6 +328,9 @@ a:hover {
 | 
				
			||||||
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
					  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
					  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
					  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
 | 
					  -webkit-transition: 0.1s linear all;
 | 
				
			||||||
 | 
					  -moz-transition: 0.1s linear all;
 | 
				
			||||||
 | 
					  transition: 0.1s linear all;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
.btn:hover {
 | 
					.btn:hover {
 | 
				
			||||||
  background-position: 0 -15px;
 | 
					  background-position: 0 -15px;
 | 
				
			||||||
| 
						 | 
					@ -390,6 +393,11 @@ a:hover {
 | 
				
			||||||
  opacity: 0.65;
 | 
					  opacity: 0.65;
 | 
				
			||||||
  cursor: default;
 | 
					  cursor: default;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					.btn:active {
 | 
				
			||||||
 | 
					  -webkit-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
 | 
					  -moz-box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
 | 
					  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.05);
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
 | 
					button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
 | 
				
			||||||
  padding: 0;
 | 
					  padding: 0;
 | 
				
			||||||
  border: 0;
 | 
					  border: 0;
 | 
				
			||||||
| 
						 | 
					@ -793,7 +801,7 @@ div.input-prepend .add-on, div.input-append .add-on {
 | 
				
			||||||
  display: block;
 | 
					  display: block;
 | 
				
			||||||
  width: auto;
 | 
					  width: auto;
 | 
				
			||||||
  min-width: 16px;
 | 
					  min-width: 16px;
 | 
				
			||||||
  padding: 5px 4px 5px 5px;
 | 
					  padding: 4px 4px 4px 5px;
 | 
				
			||||||
  color: #b3b3b3;
 | 
					  color: #b3b3b3;
 | 
				
			||||||
  font-weight: normal;
 | 
					  font-weight: normal;
 | 
				
			||||||
  line-height: 18px;
 | 
					  line-height: 18px;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -31,11 +31,12 @@ div.container-fluid{padding:20px;zoom:1;}div.container-fluid:after{display:block
 | 
				
			||||||
div.container-fluid div.sidebar{float:left;width:220px;}
 | 
					div.container-fluid div.sidebar{float:left;width:220px;}
 | 
				
			||||||
div.container-fluid div.content{min-width:700px;max-width:1180px;margin-left:240px;}
 | 
					div.container-fluid div.content{min-width:700px;max-width:1180px;margin-left:240px;}
 | 
				
			||||||
a{color:#0069d6;text-decoration:none;line-height:inherit;}a:hover{color:#0050a3;text-decoration:underline;}
 | 
					a{color:#0069d6;text-decoration:none;line-height:inherit;}a:hover{color:#0050a3;text-decoration:underline;}
 | 
				
			||||||
.btn{display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, color-stop(0.25, #ffffff), #e6e6e6);background-image:-moz-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);padding:4px 14px;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);color:#333333;font-size:13px;line-height:18px;border:1px solid rgba(0, 0, 0, 0.1);border-bottom-color:rgba(0, 0, 0, 0.25);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);}.btn:hover{background-position:0 -15px;color:#333333;text-decoration:none;}
 | 
					.btn{display:inline-block;background-color:#e6e6e6;background-repeat:no-repeat;background-image:-webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(0.25, #ffffff), to(#e6e6e6));background-image:-webkit-linear-gradient(#ffffff, color-stop(0.25, #ffffff), #e6e6e6);background-image:-moz-linear-gradient(#ffffff, color-stop(#ffffff, 0.25), #e6e6e6);padding:4px 14px;text-shadow:0 1px 1px rgba(255, 255, 255, 0.75);color:#333333;font-size:13px;line-height:18px;border:1px solid rgba(0, 0, 0, 0.1);border-bottom-color:rgba(0, 0, 0, 0.25);-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.2),0 1px 2px rgba(0, 0, 0, 0.05);-webkit-transition:0.1s linear all;-moz-transition:0.1s linear all;transition:0.1s linear all;}.btn:hover{background-position:0 -15px;color:#333333;text-decoration:none;}
 | 
				
			||||||
.btn.primary{background-color:#0069d6;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#08b5fb), to(#0069d6));background-image:-moz-linear-gradient(#08b5fb, #0069d6);background-image:-ms-linear-gradient(#08b5fb, #0069d6);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #08b5fb), color-stop(100%, #0069d6));background-image:-webkit-linear-gradient(#08b5fb, #0069d6);background-image:-o-linear-gradient(#08b5fb, #0069d6);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0);background-image:linear-gradient(#08b5fb, #0069d6);color:#fff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}.btn.primary:hover{color:#fff;}
 | 
					.btn.primary{background-color:#0069d6;background-repeat:repeat-x;background-image:-khtml-gradient(linear, left top, left bottom, from(#08b5fb), to(#0069d6));background-image:-moz-linear-gradient(#08b5fb, #0069d6);background-image:-ms-linear-gradient(#08b5fb, #0069d6);background-image:-webkit-gradient(linear, left top, left bottom, color-stop(0%, #08b5fb), color-stop(100%, #0069d6));background-image:-webkit-linear-gradient(#08b5fb, #0069d6);background-image:-o-linear-gradient(#08b5fb, #0069d6);-ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0)";filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#08b5fb', endColorstr='#0069d6', GradientType=0);background-image:linear-gradient(#08b5fb, #0069d6);color:#fff;text-shadow:0 -1px 0 rgba(0, 0, 0, 0.25);}.btn.primary:hover{color:#fff;}
 | 
				
			||||||
.btn.large{font-size:16px;line-height:28px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
 | 
					.btn.large{font-size:16px;line-height:28px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
 | 
				
			||||||
.btn.small{padding-right:9px;padding-left:9px;font-size:11px;}
 | 
					.btn.small{padding-right:9px;padding-left:9px;font-size:11px;}
 | 
				
			||||||
.btn:disabled,.btn.disabled{background-image:none;filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;cursor:default;}
 | 
					.btn:disabled,.btn.disabled{background-image:none;filter:alpha(opacity=65);-khtml-opacity:0.65;-moz-opacity:0.65;opacity:0.65;cursor:default;}
 | 
				
			||||||
 | 
					.btn:active{-webkit-box-shadow:inset 0 3px 7px rgba(0, 0, 0, 0.1),0 1px 2px rgba(0, 0, 0, 0.05);-moz-box-shadow:inset 0 3px 7px rgba(0, 0, 0, 0.1),0 1px 2px rgba(0, 0, 0, 0.05);box-shadow:inset 0 3px 7px rgba(0, 0, 0, 0.1),0 1px 2px rgba(0, 0, 0, 0.05);}
 | 
				
			||||||
button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0;}
 | 
					button.btn::-moz-focus-inner,input[type=submit].btn::-moz-focus-inner{padding:0;border:0;}
 | 
				
			||||||
p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:18px;}p small{font-size:12px;color:#b3b3b3;}
 | 
					p{font-size:13px;font-weight:normal;line-height:18px;margin-bottom:18px;}p small{font-size:12px;color:#b3b3b3;}
 | 
				
			||||||
h1,h2,h3,h4,h5,h6{font-weight:500;color:#404040;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#b3b3b3;}
 | 
					h1,h2,h3,h4,h5,h6{font-weight:500;color:#404040;}h1 small,h2 small,h3 small,h4 small,h5 small,h6 small{color:#b3b3b3;}
 | 
				
			||||||
| 
						 | 
					@ -97,7 +98,7 @@ div.inline-inputs input.mini{width:60px;}
 | 
				
			||||||
div.inline-inputs input.small{width:90px;}
 | 
					div.inline-inputs input.small{width:90px;}
 | 
				
			||||||
div.inline-inputs span{padding:0 2px 0 1px;}
 | 
					div.inline-inputs span{padding:0 2px 0 1px;}
 | 
				
			||||||
div.input-prepend input[type=text],div.input-append input[type=text]{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
 | 
					div.input-prepend input[type=text],div.input-append input[type=text]{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;}
 | 
				
			||||||
div.input-prepend .add-on,div.input-append .add-on{background:#f5f5f5;float:left;display:block;width:auto;min-width:16px;padding:5px 4px 5px 5px;color:#b3b3b3;font-weight:normal;line-height:18px;height:18px;text-align:center;text-shadow:0 1px 0 #fff;border:1px solid #bbb;border-right-width:0;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
 | 
					div.input-prepend .add-on,div.input-append .add-on{background:#f5f5f5;float:left;display:block;width:auto;min-width:16px;padding:4px 4px 4px 5px;color:#b3b3b3;font-weight:normal;line-height:18px;height:18px;text-align:center;text-shadow:0 1px 0 #fff;border:1px solid #bbb;border-right-width:0;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
 | 
				
			||||||
div.input-prepend .active,div.input-append .active{background:#a9dba9;border-color:#46a546;}
 | 
					div.input-prepend .active,div.input-append .active{background:#a9dba9;border-color:#46a546;}
 | 
				
			||||||
div.input-append input[type=text]{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
 | 
					div.input-append input[type=text]{float:left;-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px;}
 | 
				
			||||||
div.input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;border-right-width:1px;border-left-width:0;}
 | 
					div.input-append .add-on{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0;border-right-width:1px;border-left-width:0;}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -977,7 +977,7 @@
 | 
				
			||||||
    <h1>Navigation</h1>
 | 
					    <h1>Navigation</h1>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
  <h2>Fixed topbar</h2>
 | 
					  <h2>Fixed topbar</h2>
 | 
				
			||||||
  <div class="topbar-wrapper">
 | 
					  <div class="topbar-wrapper" style="z-index: 5;">
 | 
				
			||||||
    <div class="topbar">
 | 
					    <div class="topbar">
 | 
				
			||||||
      <div class="container fixed">
 | 
					      <div class="container fixed">
 | 
				
			||||||
        <h3><a class="logo" href="">Project Name</a></h3>
 | 
					        <h3><a class="logo" href="">Project Name</a></h3>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -218,7 +218,7 @@ div.input-append {
 | 
				
			||||||
    display: block;
 | 
					    display: block;
 | 
				
			||||||
    width: auto;
 | 
					    width: auto;
 | 
				
			||||||
    min-width: 16px;
 | 
					    min-width: 16px;
 | 
				
			||||||
    padding: 5px 4px 5px 5px;
 | 
					    padding: 4px 4px 4px 5px;
 | 
				
			||||||
    color: @grayLight;
 | 
					    color: @grayLight;
 | 
				
			||||||
    font-weight: normal;
 | 
					    font-weight: normal;
 | 
				
			||||||
    line-height: 18px;
 | 
					    line-height: 18px;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -78,6 +78,7 @@ a {
 | 
				
			||||||
// Buttons
 | 
					// Buttons
 | 
				
			||||||
.btn {
 | 
					.btn {
 | 
				
			||||||
  .button();
 | 
					  .button();
 | 
				
			||||||
 | 
					  .transition(.1s linear all);
 | 
				
			||||||
  &.primary {
 | 
					  &.primary {
 | 
				
			||||||
    #gradient > .vertical(@blue, @blueDark);
 | 
					    #gradient > .vertical(@blue, @blueDark);
 | 
				
			||||||
    color: #fff;
 | 
					    color: #fff;
 | 
				
			||||||
| 
						 | 
					@ -102,6 +103,13 @@ a {
 | 
				
			||||||
    .opacity(65);
 | 
					    .opacity(65);
 | 
				
			||||||
    cursor: default;
 | 
					    cursor: default;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					  &:focus {
 | 
				
			||||||
 | 
					    
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					  &:active {
 | 
				
			||||||
 | 
					    @shadow: inset 0 3px 7px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.05);
 | 
				
			||||||
 | 
					    .box-shadow(@shadow);
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
// Help Firefox not be a douche about adding extra padding to buttons
 | 
					// Help Firefox not be a douche about adding extra padding to buttons
 | 
				
			||||||
button.btn,
 | 
					button.btn,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue