From dc495fe9d94f693591dd0c4023c4ac8b7d96e2ec Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 14 Oct 2013 22:08:23 -0700 Subject: nuke commented out docs css --- docs-assets/css/docs.css | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 80784d97e..224cc60d6 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -553,20 +553,10 @@ h1[id] { /* Common styles for all types */ .bs-callout { - /*position: relative;*/ margin: 20px 0; padding: 20px; border-left: 3px solid #eee; - /*border-width: 1px 1px 1px 10px;*/ } -/*.bs-callout:before { - position: absolute; - top: 0; - left: -20px; - color: #fff; - width: 20px; - height: 20px; -}*/ .bs-callout h4 { margin-top: 0; margin-bottom: 5px; @@ -574,10 +564,6 @@ h1[id] { .bs-callout p:last-child { margin-bottom: 0; } -.bs-callout code, -.bs-callout .highlight { - /*background-color: #fff;*/ -} /* Variations */ .bs-callout-danger { -- cgit v1.2.3 From 8ac1495c63c0996a2d22013a3c70fa1f3107a927 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Wed, 16 Oct 2013 10:43:56 -0700 Subject: redo the glyphicons icons list to make icons not blurry on edges /cc @jankovarik --- docs-assets/css/docs.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 224cc60d6..c5185c248 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1047,10 +1047,14 @@ h1[id] { border: 1px solid #ddd; } .bs-glyphicons .glyphicon { - display: block; - margin: 5px auto 10px; + margin-top: 5px; + margin-bottom: 10px; font-size: 24px; } +.bs-glyphicons .glyphicon-class { + display: block; + text-align: center; +} .bs-glyphicons li:hover { background-color: rgba(86,61,124,.1); } -- cgit v1.2.3 From c88cd1cd95dc4bef63697124f795fe7e60308a99 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Thu, 17 Oct 2013 11:33:04 -0700 Subject: add explicit copyright header to docs CSS & JS files; fixes #11112 --- docs-assets/css/docs.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index c5185c248..8867470e2 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1,3 +1,9 @@ +/*! + * Copyright 2013 Twitter, Inc. + * This work is licensed under the Creative Commons Attribution 3.0 Unported License. + * You should have received a copy of this license along with this work. + * If not, visit http://creativecommons.org/licenses/by/3.0/ . + */ /* * Bootstrap Documentation * Special styles for presenting Bootstrap's documentation and code examples. -- cgit v1.2.3 From 1f33dc8033b2b8245df98a79ebe8800c6c0b992e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 17 Oct 2013 14:11:40 -0700 Subject: even shorter banner; remove space between slash and period --- docs-assets/css/docs.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 8867470e2..7abf6ed09 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1,9 +1,11 @@ /*! * Copyright 2013 Twitter, Inc. - * This work is licensed under the Creative Commons Attribution 3.0 Unported License. - * You should have received a copy of this license along with this work. - * If not, visit http://creativecommons.org/licenses/by/3.0/ . + * + * Licensed under the Creative Commons Attribution 3.0 Unported License. For + * details, see http://creativecommons.org/licenses/by/3.0/. */ + + /* * Bootstrap Documentation * Special styles for presenting Bootstrap's documentation and code examples. -- cgit v1.2.3 From 03c161f0c445dbe55c57edabee70d816d19ba096 Mon Sep 17 00:00:00 2001 From: Brian Surowiec Date: Fri, 8 Nov 2013 02:03:37 -0500 Subject: Fix glyphicon class name wrapping in IE --- docs-assets/css/docs.css | 1 + 1 file changed, 1 insertion(+) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 7abf6ed09..6d3f615a9 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1062,6 +1062,7 @@ h1[id] { .bs-glyphicons .glyphicon-class { display: block; text-align: center; + word-wrap: break-word; } .bs-glyphicons li:hover { background-color: rgba(86,61,124,.1); -- cgit v1.2.3 From 4386650e60efea3fe8ecaab0e0e14b303eea4cac Mon Sep 17 00:00:00 2001 From: Mario Bonito Date: Sat, 9 Nov 2013 13:03:21 -0500 Subject: Corrected color contrast to WCAG 2.0 AA --- docs-assets/css/docs.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 7abf6ed09..4b3bd0c47 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -586,14 +586,14 @@ 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; } -- cgit v1.2.3 From 37e46ec2b8feb2132c27ed443aba0a2973eba0d9 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 1 Dec 2013 20:27:09 -0800 Subject: add comment --- docs-assets/css/docs.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 6d3f615a9..3b1aadd0e 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1062,7 +1062,7 @@ h1[id] { .bs-glyphicons .glyphicon-class { display: block; text-align: center; - word-wrap: break-word; + word-wrap: break-word; /* Help out IE10+ with class names */ } .bs-glyphicons li:hover { background-color: rgba(86,61,124,.1); -- cgit v1.2.3 From 0bf5202b92d12ee19f65c7aa3bcf25c64835f459 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 16:21:46 -0800 Subject: Fixes #11729: Show code snippets on mobile views --- docs-assets/css/docs.css | 8 -------- 1 file changed, 8 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index ecf740818..642b2ba7a 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -921,7 +921,6 @@ h1[id] { */ .highlight { - display: none; /* hidden by default, until >480px */ padding: 9px 14px; margin-bottom: 14px; background-color: #f7f7f9; @@ -949,13 +948,6 @@ h1[id] { color: #bebec5; } -/* Show code snippets when we have the space */ -@media (min-width: 481px) { - .highlight { - display: block; - } -} - /* * Responsive tests -- cgit v1.2.3 From 5fdd917918b9470ae3b0ec30ee89c8e20a14c157 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 7 Dec 2013 16:28:29 -0800 Subject: improve icon display on narrow devices --- docs-assets/css/docs.css | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 642b2ba7a..15b533dd9 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -1029,11 +1029,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; @@ -1041,7 +1042,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; @@ -1061,8 +1062,13 @@ h1[id] { } @media (min-width: 768px) { + .bs-glyphicons { + margin-left: 0; + margin-right: 0; + } .bs-glyphicons li { width: 12.5%; + font-size: 12px; } } -- cgit v1.2.3 From f1869771bc8b8e8a6c7a98385ec58e0bf0d2d98e Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 14 Dec 2013 14:18:43 -0800 Subject: Fixes #10505: Document more of LESS vars and mixins --- docs-assets/css/docs.css | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'docs-assets/css/docs.css') diff --git a/docs-assets/css/docs.css b/docs-assets/css/docs.css index 15b533dd9..28d93e4e9 100644 --- a/docs-assets/css/docs.css +++ b/docs-assets/css/docs.css @@ -597,6 +597,35 @@ h1[id] { } +/* + * 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 * -- cgit v1.2.3