Commit f0d07183 authored by Mark Otto's avatar Mark Otto
Browse files

Merge branch '3.0.0-wip' into bs3_remove_examples

Conflicts:
	docs/_includes/nav-getting-started.html
	docs/examples/navbar-fixed-top.html
	docs/examples/navbar-static-top.html
	docs/examples/navbar.html
	docs/getting-started.html
parents c5fb401a bfebf0e4
Showing with 490 additions and 674 deletions
+490 -674
...@@ -12,15 +12,12 @@ ...@@ -12,15 +12,12 @@
> li { > li {
display: inline-block; display: inline-block;
text-shadow: 0 1px 0 #fff; text-shadow: 0 1px 0 #fff;
&:after { &+li:before {
display: inline-block; display: inline-block;
content: "\00a0 /"; // Unicode space added since inline-block means non-collapsing white-space content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px; padding: 0 5px;
color: #ccc; color: #ccc;
} }
&:last-child:after {
display: none; // No divider after last element
}
} }
> .active { > .active {
color: @gray-light; color: @gray-light;
......
...@@ -72,9 +72,11 @@ ...@@ -72,9 +72,11 @@
.btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn {
border-radius: 0; border-radius: 0;
} }
.btn-group > .btn-group:first-child > .btn:last-child, .btn-group > .btn-group:first-child {
.btn-group > .btn-group:first-child > .dropdown-toggle { > .btn:last-child,
.border-right-radius(0); > .dropdown-toggle {
.border-right-radius(0);
}
} }
.btn-group > .btn-group:last-child > .btn:first-child { .btn-group > .btn-group:last-child > .btn:first-child {
.border-left-radius(0); .border-left-radius(0);
...@@ -96,10 +98,6 @@ ...@@ -96,10 +98,6 @@
padding-left: 8px; padding-left: 8px;
padding-right: 8px; padding-right: 8px;
} }
.btn-group > .btn-mini + .dropdown-toggle {
padding-left: 5px;
padding-right: 5px;
}
.btn-group > .btn-large + .dropdown-toggle { .btn-group > .btn-large + .dropdown-toggle {
padding-left: 12px; padding-left: 12px;
padding-right: 12px; padding-right: 12px;
...@@ -138,14 +136,16 @@ ...@@ -138,14 +136,16 @@
margin-top: -1px; margin-top: -1px;
} }
} }
.btn-group-vertical .btn:not(:first-child):not(:last-child) { .btn-group-vertical .btn {
border-radius: 0; &:not(:first-child):not(:last-child) {
} border-radius: 0;
.btn-group-vertical .btn:first-child { }
.border-bottom-radius(0); &:first-child {
} .border-bottom-radius(0);
.btn-group-vertical .btn:last-child { }
.border-top-radius(0); &:last-child {
.border-top-radius(0);
}
} }
......
...@@ -81,33 +81,32 @@ ...@@ -81,33 +81,32 @@
// ------------------------- // -------------------------
// Make a button look and behave like a link // Make a button look and behave like a link
.btn-link,
.btn-link:active,
.btn-link[disabled],
fieldset[disabled] .btn-link {
background-color: transparent;
background-image: none;
.box-shadow(none);
}
.btn-link,
.btn-link:hover,
.btn-link:focus,
.btn-link:active {
border-color: transparent;
}
.btn-link { .btn-link {
color: @link-color; color: @link-color;
font-weight: normal; font-weight: normal;
cursor: pointer; cursor: pointer;
border-radius: 0; border-radius: 0;
}
.btn-link:hover, &,
.btn-link:focus { &:active,
color: @link-hover-color; &[disabled],
text-decoration: underline; fieldset[disabled] & {
background-color: transparent; background-color: transparent;
} background-image: none;
.btn-link { .box-shadow(none);
}
&,
&:hover,
&:focus,
&:active {
border-color: transparent;
}
&:hover,
&:focus {
color: @link-hover-color;
text-decoration: underline;
background-color: transparent;
}
&[disabled], &[disabled],
fieldset[disabled] & { fieldset[disabled] & {
&:hover, &:hover,
......
This diff is collapsed.
...@@ -19,15 +19,15 @@ ...@@ -19,15 +19,15 @@
cursor: pointer; cursor: pointer;
.opacity(.5); .opacity(.5);
} }
}
// Additional properties for button version // Additional properties for button version
// iOS requires the button element instead of an anchor tag. // iOS requires the button element instead of an anchor tag.
// If you want the anchor version, it requires `href="#"`. // If you want the anchor version, it requires `href="#"`.
button.close { button& {
padding: 0; padding: 0;
cursor: pointer; cursor: pointer;
background: transparent; background: transparent;
border: 0; border: 0;
-webkit-appearance: none; -webkit-appearance: none;
}
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -18,13 +18,10 @@ ...@@ -18,13 +18,10 @@
p { p {
line-height: 1.4; line-height: 1.4;
} }
}
@media screen and (min-width: @screen-tablet) { @media screen and (min-width: @screen-tablet) {
.jumbotron {
padding: 50px 60px; padding: 50px 60px;
border-radius: @border-radius-large; // Only round corners at higher resolutions border-radius: @border-radius-large; // Only round corners at higher resolutions
h1 { h1 {
font-size: (@font-size-base * 4.5); font-size: (@font-size-base * 4.5);
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
bottom: 0; bottom: 0;
left: 0; left: 0;
z-index: @zindex-modal-background; z-index: @zindex-modal-background;
-webkit-overflow-scrolling: touch;
// When fading in the modal, animate it to slide down // When fading in the modal, animate it to slide down
&.fade { &.fade {
......
This diff is collapsed.
This diff is collapsed.
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
.pager { .pager {
padding-left: 0;
margin: @line-height-computed 0; margin: @line-height-computed 0;
list-style: none; list-style: none;
text-align: center; text-align: center;
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment