aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2012-10-03 09:36:45 -0700
committerMark Otto <[email protected]>2012-10-03 09:36:45 -0700
commit11ee1633b459352de9831a507c20e78f4f1fd5c3 (patch)
tree65107d8c261c56e621c437fe233bb66f203b96eb
parentdd8b745b883a900aa637a7b8142be5691ebc3913 (diff)
downloadbootstrap-11ee1633b459352de9831a507c20e78f4f1fd5c3.tar.xz
bootstrap-11ee1633b459352de9831a507c20e78f4f1fd5c3.zip
fixes #5257: add data-original-title attribute selector to abbr element
-rw-r--r--docs/assets/css/bootstrap.css3
-rw-r--r--less/type.less4
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index b7621054e..2155b91cd 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -800,7 +800,8 @@ hr {
border-bottom: 1px solid #ffffff;
}
-abbr[title] {
+abbr[title],
+abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted #999999;
}
diff --git a/less/type.less b/less/type.less
index 2d913dde3..3b428e79d 100644
--- a/less/type.less
+++ b/less/type.less
@@ -159,7 +159,9 @@ hr {
}
// Abbreviations and acronyms
-abbr[title] {
+abbr[title],
+// Added data-* attribute to help out our tooltip plugin, per https://github.com/twitter/bootstrap/issues/5257
+abbr[data-original-title] {
cursor: help;
border-bottom: 1px dotted @grayLight;
}