Skip to content

Commit

Permalink
Updated Bootstrap to 3.3.6 for docs
Browse files Browse the repository at this point in the history
This allows us to custom build it without Glyphicons so we don't have
any errors about it not being found.
  • Loading branch information
kevin-brown committed Feb 14, 2016
1 parent e3f9466 commit a5e539b
Show file tree
Hide file tree
Showing 73 changed files with 8,313 additions and 9 deletions.
73 changes: 73 additions & 0 deletions docs/_sass/vendor/bootstrap/_alerts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
//
// Alerts
// --------------------------------------------------


// Base styles
// -------------------------

.alert {
padding: $alert-padding;
margin-bottom: $line-height-computed;
border: 1px solid transparent;
border-radius: $alert-border-radius;

// Headings for larger alerts
h4 {
margin-top: 0;
// Specified for the h4 to prevent conflicts of changing $headings-color
color: inherit;
}

// Provide class for links that match alerts
.alert-link {
font-weight: $alert-link-font-weight;
}

// Improve alignment and spacing of inner content
> p,
> ul {
margin-bottom: 0;
}

> p + p {
margin-top: 5px;
}
}

// Dismissible alerts
//
// Expand the right padding and account for the close button's positioning.

.alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
.alert-dismissible {
padding-right: ($alert-padding + 20);

// Adjust close link position
.close {
position: relative;
top: -2px;
right: -21px;
color: inherit;
}
}

// Alternate styles
//
// Generate contextual modifier classes for colorizing the alert.

.alert-success {
@include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
}

.alert-info {
@include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
}

.alert-warning {
@include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
}

.alert-danger {
@include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
}
68 changes: 68 additions & 0 deletions docs/_sass/vendor/bootstrap/_badges.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// Badges
// --------------------------------------------------


// Base class
.badge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: $font-size-small;
font-weight: $badge-font-weight;
color: $badge-color;
line-height: $badge-line-height;
vertical-align: middle;
white-space: nowrap;
text-align: center;
background-color: $badge-bg;
border-radius: $badge-border-radius;

// Empty badges collapse automatically (not available in IE8)
&:empty {
display: none;
}

// Quick fix for badges in buttons
.btn & {
position: relative;
top: -1px;
}

.btn-xs &,
.btn-group-xs > .btn & {
top: 0;
padding: 1px 5px;
}

// [converter] extracted a& to a.badge

// Account for badges in navs
.list-group-item.active > &,
.nav-pills > .active > a > & {
color: $badge-active-color;
background-color: $badge-active-bg;
}

.list-group-item > & {
float: right;
}

.list-group-item > & + & {
margin-right: 5px;
}

.nav-pills > li > a > & {
margin-left: 3px;
}
}

// Hover state, but only for links
a.badge {
&:hover,
&:focus {
color: $badge-link-hover-color;
text-decoration: none;
cursor: pointer;
}
}
28 changes: 28 additions & 0 deletions docs/_sass/vendor/bootstrap/_breadcrumbs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
// Breadcrumbs
// --------------------------------------------------


.breadcrumb {
padding: $breadcrumb-padding-vertical $breadcrumb-padding-horizontal;
margin-bottom: $line-height-computed;
list-style: none;
background-color: $breadcrumb-bg;
border-radius: $border-radius-base;

> li {
display: inline-block;

+ li:before {
// [converter] Workaround for https://github.com/sass/libsass/issues/1115
$nbsp: "\00a0";
content: "#{$breadcrumb-separator}#{$nbsp}"; // Unicode space added since inline-block means non-collapsing white-space
padding: 0 5px;
color: $breadcrumb-color;
}
}

> .active {
color: $breadcrumb-active-color;
}
}
Loading

0 comments on commit a5e539b

Please sign in to comment.