min-width: 0 !important;
max-width: none !important;
padding: .75rem 0 !important;
- background-color: #fff;
+ background-color: $white;
background-clip: padding-box;
border: 1px solid rgba(0, 0, 0, .1);
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175);
-// stylelint-disable no-duplicate-selectors
-
//
// Brand guidelines
//
width: 100%;
margin-bottom: 1rem;
overflow: hidden;
- color: #563d7c;
+ color: $bd-purple;
background-color: #f9f9f9;
border-radius: .25rem;
+
+ .inverse {
+ color: $white;
+ background-color: $bd-purple;
+ }
}
// Individual items
.bd-brand-item {
padding: 4rem 0;
text-align: center;
-}
-.bd-brand-item + .bd-brand-item {
- border-top: 1px solid #fff;
-}
-.bd-brand-logos .inverse {
- color: #fff;
- background-color: #563d7c;
-}
-// Heading content within
-.bd-brand-item h1,
-.bd-brand-item h3 {
- margin-top: 0;
- margin-bottom: 0;
-}
-.bd-brand-item .bd-booticon {
- margin-right: auto;
- margin-left: auto;
-}
+ + .bd-brand-item {
+ border-top: 1px solid $white;
+ }
-// Make the icons stand out on what is/isn't okay
-// .bd-brand-item .glyphicon {
-// width: 30px;
-// height: 30px;
-// margin: 10px auto -10px;
-// line-height: 30px;
-// color: #fff;
-// border-radius: 50%;
-// }
-// .bd-brand-item .glyphicon-ok {
-// background-color: #5cb85c;
-// }
-// .bd-brand-item .glyphicon-remove {
-// background-color: #d9534f;
-// }
+ // Heading content within
+ h1,
+ h3 {
+ margin-top: 0;
+ margin-bottom: 0;
+ }
-@media (min-width: 768px) {
- .bd-brand-item {
+ @include media-breakpoint-up(md) {
display: table-cell;
width: 1%;
- }
- .bd-brand-item + .bd-brand-item {
- border-top: 0;
- border-left: 1px solid #fff;
- }
- .bd-brand-item h1 {
- font-size: 4rem;
+
+ + .bd-brand-item {
+ border-top: 0;
+ border-left: 1px solid $white;
+ }
+
+ h1 {
+ font-size: 4rem;
+ }
}
}
.color-swatches {
margin: 0 -5px;
overflow: hidden; // clearfix
-}
-.color-swatch {
- float: left;
- width: 4rem;
- height: 4rem;
- margin-right: .25rem;
- margin-left: .25rem;
- border-radius: .25rem;
-
- @media (min-width: 768px) {
- width: 6rem;
- height: 6rem;
- }
-}
-
-// Docs colors
-.color-swatches {
+ // Docs colors
.bd-purple {
background-color: $bd-purple;
}
background-color: #f9f9f9;
}
}
+
+.color-swatch {
+ float: left;
+ width: 4rem;
+ height: 4rem;
+ margin-right: .25rem;
+ margin-left: .25rem;
+ border-radius: .25rem;
+
+ @include media-breakpoint-up(md) {
+ width: 6rem;
+ height: 6rem;
+ }
+}