From 0da527f169dbf20a30db2a6ae57b479ac867fa6c Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Thu, 30 Jan 2014 14:55:19 +0100 Subject: fixed first element padding of list-inline --- less/type.less | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index a55730dfe..d7a7d5800 100644 --- a/less/type.less +++ b/less/type.less @@ -165,15 +165,12 @@ ol { // Inline turns list items into inline-block .list-inline { .list-unstyled(); + margin-left: -5px; > li { display: inline-block; padding-left: 5px; padding-right: 5px; - - &:first-child { - padding-left: 0; - } } } -- cgit v1.2.3 From 4c163600364243fd710b5e69ef3ba5365b16fc6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Sat, 8 Feb 2014 22:11:49 +0100 Subject: Fix #12656: add @blockquote-font-size --- less/type.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index a55730dfe..ca574edc8 100644 --- a/less/type.less +++ b/less/type.less @@ -233,7 +233,7 @@ abbr[data-original-title] { blockquote { padding: (@line-height-computed / 2) @line-height-computed; margin: 0 0 @line-height-computed; - font-size: (@font-size-base * 1.25); + font-size: @blockquote-font-size; border-left: 5px solid @blockquote-border-color; p, -- cgit v1.2.3 From b99be29f32f3db208b47bd33fbef1f63405ccfdc Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 22 Feb 2014 12:13:11 -0800 Subject: Fixes #12756: Ensure horizontal dls are cleared by moving the clearfix out of the media query --- less/type.less | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index 5e2a21905..c63e5d9f2 100644 --- a/less/type.less +++ b/less/type.less @@ -141,7 +141,7 @@ cite { font-style: normal; } // Lists -// -------------------------------------------------- +// ------------------------- // Unordered and Ordered lists ul, @@ -195,8 +195,12 @@ dd { // Defaults to being stacked without any of the below styles applied, until the // grid breakpoint is reached (default of ~768px). -@media (min-width: @grid-float-breakpoint) { - .dl-horizontal { +.dl-horizontal { + dd { + &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present + } + + @media (min-width: @grid-float-breakpoint) { dt { float: left; width: (@component-offset-horizontal - 20); @@ -206,13 +210,13 @@ dd { } dd { margin-left: @component-offset-horizontal; - &:extend(.clearfix all); // Clear the floated `dt` if an empty `dd` is present } } } -// MISC -// ---- + +// Misc +// ------------------------- // Abbreviations and acronyms abbr[title], -- cgit v1.2.3 From d1d5d9041365c92b5e5577d2133a26fe509223e8 Mon Sep 17 00:00:00 2001 From: mrmrs Date: Fri, 7 Mar 2014 00:10:46 -0800 Subject: Fixes #12748 --- less/type.less | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'less/type.less') diff --git a/less/type.less b/less/type.less index c63e5d9f2..91298f1c0 100644 --- a/less/type.less +++ b/less/type.less @@ -81,6 +81,12 @@ small, // Undo browser default styling cite { font-style: normal; } +mark, +.mark { + background-color: @state-warning-bg; + padding: .2em; +} + // Alignment .text-left { text-align: left; } .text-right { text-align: right; } -- cgit v1.2.3