aboutsummaryrefslogtreecommitdiff
path: root/docs-assets/css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 16:29:47 -0800
committerMark Otto <[email protected]>2013-12-14 16:29:47 -0800
commit323a40cc53dabf0561c588c8f8ccd690c5bb0a03 (patch)
tree0f4ab3c35f65a6f88a8b4a8a28001650cdf4ae7a /docs-assets/css
parent89e0f1669f2b4166051affa4eec819475660ed72 (diff)
parent83c60ef3eec234b3dac94c841fd1f13f94aab36f (diff)
downloadbootstrap-323a40cc53dabf0561c588c8f8ccd690c5bb0a03.tar.xz
bootstrap-323a40cc53dabf0561c588c8f8ccd690c5bb0a03.zip
Merge branch 'master' into pr/11162
Conflicts: less/modals.less
Diffstat (limited to 'docs-assets/css')
-rw-r--r--docs-assets/css/docs.css56
1 files changed, 42 insertions, 14 deletions
diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css
index 7abf6ed09..28d93e4e9 100644
--- a/docs-assets/css/docs.css
+++ b/docs-assets/css/docs.css
@@ -586,18 +586,47 @@ h1[id] {
border-color: #faebcc;
}
.bs-callout-warning h4 {
- color: #c09853;
+ color: #8a6d3b;
}
.bs-callout-info {
background-color: #f4f8fa;
border-color: #bce8f1;
}
.bs-callout-info h4 {
- color: #3a87ad;
+ color: #34789a;
}
/*
+ * Color swatches
+ *
+ * Color swatches and associated values for our grayscale and brand colors.
+ */
+
+.color-swatches {
+ margin: 0 -5px;
+ overflow: hidden; /* clearfix */
+}
+.color-swatch {
+ float: left;
+ width: 100px;
+ height: 100px;
+ margin: 0 5px;
+ border-radius: 3px;
+}
+.color-swatches .gray-darker { background-color: #222; }
+.color-swatches .gray-dark { background-color: #333; }
+.color-swatches .gray { background-color: #555; }
+.color-swatches .gray-light { background-color: #999; }
+.color-swatches .gray-lighter { background-color: #eee; }
+.color-swatches .brand-primary { background-color: #428bca; }
+.color-swatches .brand-success { background-color: #5cb85c; }
+.color-swatches .brand-warning { background-color: #f0ad4e; }
+.color-swatches .brand-danger { background-color: #d9534f; }
+.color-swatches .brand-info { background-color: #5bc0de; }
+
+
+/*
* Team members
*
* Avatars, names, and usernames for core team.
@@ -921,7 +950,6 @@ h1[id] {
*/
.highlight {
- display: none; /* hidden by default, until >480px */
padding: 9px 14px;
margin-bottom: 14px;
background-color: #f7f7f9;
@@ -949,13 +977,6 @@ h1[id] {
color: #bebec5;
}
-/* Show code snippets when we have the space */
-@media (min-width: 481px) {
- .highlight {
- display: block;
- }
-}
-
/*
* Responsive tests
@@ -1037,11 +1058,12 @@ h1[id] {
*/
.bs-glyphicons {
+ margin: 0 -19px 20px -16px;
+ overflow: hidden;
+}
+.bs-glyphicons-list {
padding-left: 0;
- padding-bottom: 1px;
- margin-bottom: 20px;
list-style: none;
- overflow: hidden;
}
.bs-glyphicons li {
float: left;
@@ -1049,7 +1071,7 @@ h1[id] {
height: 115px;
padding: 10px;
margin: 0 -1px -1px 0;
- font-size: 12px;
+ font-size: 10px;
line-height: 1.4;
text-align: center;
border: 1px solid #ddd;
@@ -1062,14 +1084,20 @@ h1[id] {
.bs-glyphicons .glyphicon-class {
display: block;
text-align: center;
+ word-wrap: break-word; /* Help out IE10+ with class names */
}
.bs-glyphicons li:hover {
background-color: rgba(86,61,124,.1);
}
@media (min-width: 768px) {
+ .bs-glyphicons {
+ margin-left: 0;
+ margin-right: 0;
+ }
.bs-glyphicons li {
width: 12.5%;
+ font-size: 12px;
}
}