From 901da1b2b4727e3d00990dcf66ea3d31703b4edc Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Tue, 27 Aug 2013 17:13:07 -0700 Subject: use direct-child selector more in table styles to better support nested tables; fixes #10231 --- less/tables.less | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) (limited to 'less') diff --git a/less/tables.less b/less/tables.less index bd86db2e4..79a53c724 100644 --- a/less/tables.less +++ b/less/tables.less @@ -18,9 +18,9 @@ th { width: 100%; margin-bottom: @line-height-computed; // Cells - thead, - tbody, - tfoot { + > thead, + > tbody, + > tfoot { > tr { > th, > td { @@ -32,22 +32,23 @@ th { } } // Bottom align for column headings - thead > tr > th { + > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid @table-border-color; } // Remove top border from thead by default - caption + thead, - colgroup + thead, - thead:first-child { - tr:first-child { - th, td { + > caption + thead, + > colgroup + thead, + > thead:first-child { + > tr:first-child { + > th, + > td { border-top: 0; } } } // Account for multiple tbody instances - tbody + tbody { + > tbody + tbody { border-top: 2px solid @table-border-color; } @@ -61,9 +62,9 @@ th { // Condensed table w/ half padding .table-condensed { - thead, - tbody, - tfoot { + > thead, + > tbody, + > tfoot { > tr { > th, > td { -- cgit v1.2.3 From a19ff2f50fae73df3c80b104647260c13b1a8c00 Mon Sep 17 00:00:00 2001 From: Hannu Hartikainen Date: Wed, 28 Aug 2013 12:17:46 +0300 Subject: Parameterize @breadcrumb-separator --- less/breadcrumbs.less | 2 +- less/variables.less | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'less') diff --git a/less/breadcrumbs.less b/less/breadcrumbs.less index 92643d167..aded518ce 100644 --- a/less/breadcrumbs.less +++ b/less/breadcrumbs.less @@ -12,7 +12,7 @@ > li { display: inline-block; &+li:before { - content: "/\00a0"; // Unicode space added since inline-block means non-collapsing white-space + content: "@{breadcrumb-separator}\00a0"; // Unicode space added since inline-block means non-collapsing white-space padding: 0 5px; color: @breadcrumb-color; } diff --git a/less/variables.less b/less/variables.less index caa7630f6..cfe768ccb 100644 --- a/less/variables.less +++ b/less/variables.less @@ -561,6 +561,7 @@ @breadcrumb-bg: #f5f5f5; @breadcrumb-color: #ccc; @breadcrumb-active-color: @gray-light; +@breadcrumb-separator: "/"; // Carousel -- cgit v1.2.3 From 794d7845199d46b89f45026d47091e6f30de73a2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 1 Sep 2013 09:49:28 +0200 Subject: fixes #10153: restore headings-color variable --- less/type.less | 1 + less/variables.less | 2 ++ 2 files changed, 3 insertions(+) (limited to 'less') diff --git a/less/type.less b/less/type.less index 6e0b74e13..d921bf0ac 100644 --- a/less/type.less +++ b/less/type.less @@ -53,6 +53,7 @@ h1, h2, h3, h4, h5, h6, font-family: @headings-font-family; font-weight: @headings-font-weight; line-height: @headings-line-height; + color: inherit; small { font-weight: normal; diff --git a/less/variables.less b/less/variables.less index caa7630f6..39c78ff2e 100644 --- a/less/variables.less +++ b/less/variables.less @@ -61,6 +61,8 @@ @headings-font-family: @font-family-base; @headings-font-weight: 500; @headings-line-height: 1.1; +@headings-color: inherit; + // Iconography // ------------------------- -- cgit v1.2.3 From 4b53ea52e9cc27ab27dde2695400fd6c95a0b6c2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 1 Sep 2013 09:53:41 +0200 Subject: fixes #10223: adds color to input addon --- less/input-groups.less | 1 + 1 file changed, 1 insertion(+) (limited to 'less') diff --git a/less/input-groups.less b/less/input-groups.less index 570f03f90..3c05a458f 100644 --- a/less/input-groups.less +++ b/less/input-groups.less @@ -61,6 +61,7 @@ font-size: @font-size-base; font-weight: normal; line-height: 1; + color: @input-color; text-align: center; background-color: @input-group-addon-bg; border: 1px solid @input-group-addon-border-color; -- cgit v1.2.3