diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/navbar.less | 4 | ||||
| -rw-r--r-- | less/tables.less | 23 |
2 files changed, 20 insertions, 7 deletions
diff --git a/less/navbar.less b/less/navbar.less index 433ebe024..fa2a0e3c5 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -368,6 +368,10 @@ } } + .brand { + color: @navbarInverseBrandColor; + } + .navbar-text { color: @navbarInverseText; } diff --git a/less/tables.less b/less/tables.less index 44c3909b7..9671be9bc 100644 --- a/less/tables.less +++ b/less/tables.less @@ -90,36 +90,45 @@ table { // For first th or td in the first row in the first thead or tbody thead:first-child tr:first-child th:first-child, tbody:first-child tr:first-child td:first-child { - .border-top-left-radius(4px); + .border-top-left-radius(@baseBorderRadius); } thead:first-child tr:first-child th:last-child, tbody:first-child tr:first-child td:last-child { - .border-top-right-radius(4px); + .border-top-right-radius(@baseBorderRadius); } - // For first th or td in the first row in the first thead or tbody + // For first th or td in the last row in the last thead or tbody thead:last-child tr:last-child th:first-child, tbody:last-child tr:last-child td:first-child, tfoot:last-child tr:last-child td:first-child { - .border-bottom-left-radius(4px); + .border-bottom-left-radius(@baseBorderRadius); } thead:last-child tr:last-child th:last-child, tbody:last-child tr:last-child td:last-child, tfoot:last-child tr:last-child td:last-child { - .border-bottom-right-radius(4px); + .border-bottom-right-radius(@baseBorderRadius); + } + + // Clear border-radius for first and last td in the last row in the last tbody for table with tfoot + tfoot + tbody:last-child tr:last-child td:first-child { + .border-bottom-left-radius(0); } + tfoot + tbody:last-child tr:last-child td:last-child { + .border-bottom-right-radius(0); + } + // Special fixes to round the left border on the first td/th caption + thead tr:first-child th:first-child, caption + tbody tr:first-child td:first-child, colgroup + thead tr:first-child th:first-child, colgroup + tbody tr:first-child td:first-child { - .border-top-left-radius(4px); + .border-top-left-radius(@baseBorderRadius); } caption + thead tr:first-child th:last-child, caption + tbody tr:first-child td:last-child, colgroup + thead tr:first-child th:last-child, colgroup + tbody tr:first-child td:last-child { - .border-top-right-radius(4px); + .border-top-right-radius(@baseBorderRadius); } } |
