From 512956ab7f18be5ec8ad292edd010b03ffb42cb7 Mon Sep 17 00:00:00 2001 From: Devin Stallings Date: Sat, 16 Nov 2013 16:28:19 -0500 Subject: [PATCH 1/2] Update for Bootstrap 3 Support --- typeahead.js-bootstrap.css | 41 ++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) diff --git a/typeahead.js-bootstrap.css b/typeahead.js-bootstrap.css index e44b673..a0842e7 100644 --- a/typeahead.js-bootstrap.css +++ b/typeahead.js-bootstrap.css @@ -3,6 +3,35 @@ margin-bottom: 0; } +.twitter-typeahead .tt-hint +{ + display: block; + height: 34px; + padding: 6px 12px; + font-size: 14px; + line-height: 1.428571429; + border: 1px solid transparent; + border-radius:4px; +} + +.twitter-typeahead .hint-small +{ + height: 30px; + padding: 5px 10px; + font-size: 12px; + border-radius: 3px; + line-height: 1.5; +} + +.twitter-typeahead .hint-large +{ + height: 45px; + padding: 10px 16px; + font-size: 18px; + border-radius: 6px; + line-height: 1.33; +} + .tt-dropdown-menu { min-width: 160px; margin-top: 2px; @@ -13,13 +42,13 @@ *border-right-width: 2px; *border-bottom-width: 2px; -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); - -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); - box-shadow: 0 5px 10px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); + box-shadow: 0 5px 10px rgba(0,0,0,.2); -webkit-background-clip: padding-box; - -moz-background-clip: padding; + -moz-background-clip: padding; background-clip: padding-box; } @@ -46,4 +75,4 @@ .tt-suggestion p { margin: 0; -} +} \ No newline at end of file From 85c1a4e64dfc733fc363ab7b75dfeb102ee586aa Mon Sep 17 00:00:00 2001 From: Devin Stallings Date: Sat, 16 Nov 2013 16:36:28 -0500 Subject: [PATCH 2/2] Update for Bootstrap 3 Support --- typeahead.js-bootstrap.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/typeahead.js-bootstrap.css b/typeahead.js-bootstrap.css index a0842e7..78bef39 100644 --- a/typeahead.js-bootstrap.css +++ b/typeahead.js-bootstrap.css @@ -42,13 +42,13 @@ *border-right-width: 2px; *border-bottom-width: 2px; -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; + -moz-border-radius: 6px; + border-radius: 6px; -webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2); - -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); - box-shadow: 0 5px 10px rgba(0,0,0,.2); + -moz-box-shadow: 0 5px 10px rgba(0,0,0,.2); + box-shadow: 0 5px 10px rgba(0,0,0,.2); -webkit-background-clip: padding-box; - -moz-background-clip: padding; + -moz-background-clip: padding; background-clip: padding-box; }