-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8924d67
commit a28fcfe
Showing
1 changed file
with
55 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,56 @@ | ||
.twitter-typeahead { | ||
width: 100%; | ||
position: relative; | ||
} | ||
|
||
.twitter-typeahead .tt-query, | ||
.twitter-typeahead .tt-hint { | ||
margin-bottom: 0; | ||
width: 100%; | ||
height: 34px; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
} | ||
|
||
.twitter-typeahead .tt-hint { | ||
color: #a1a1a1; | ||
z-index: 1; | ||
padding: 4px; /*6px 12px;*/ | ||
border: 1px solid transparent; | ||
} | ||
|
||
.twitter-typeahead .tt-query { | ||
z-index: 2; | ||
border-radius: 4px; | ||
} | ||
|
||
.input-group-addon + .twitter-typeahead > .tt-query { | ||
border-radius: 0!important; | ||
} | ||
|
||
.input-group-appended > .twitter-typeahead > .tt-query { | ||
border-top-right-radius: 0!important; | ||
border-bottom-right-radius: 0!important; | ||
} | ||
|
||
.tt-dropdown-menu { | ||
min-width: 160px; | ||
margin-top: 2px; | ||
padding: 5px 0; | ||
background-color: #fff; | ||
border: 1px solid #ccc; | ||
border: 1px solid rgba(0, 0, 0, .2); | ||
*border-right-width: 2px; | ||
*border-bottom-width: 2px; | ||
-webkit-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); | ||
-webkit-background-clip: padding-box; | ||
-moz-background-clip: padding; | ||
background-clip: padding-box; | ||
} | ||
|
||
.tt-suggestion { | ||
display: block; | ||
padding: 4px;/*3px 20px;*/ | ||
} | ||
|
||
.tt-suggestion.tt-is-under-cursor { | ||
color: #fff; | ||
background-color: #0081c2; | ||
background-image: -moz-linear-gradient(top, #0088cc, #0077b3); | ||
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0077b3)); | ||
background-image: -webkit-linear-gradient(top, #0088cc, #0077b3); | ||
background-image: -o-linear-gradient(top, #0088cc, #0077b3); | ||
background-image: linear-gradient(to bottom, #0088cc, #0077b3); | ||
background-repeat: repeat-x; | ||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0077b3', GradientType=0) | ||
} | ||
|
||
.tt-suggestion.tt-is-under-cursor a { | ||
color: #fff; | ||
} | ||
|
||
.tt-suggestion p { | ||
margin: 0; | ||
span.twitter-typeahead .tt-dropdown-menu { | ||
position: absolute; | ||
top: 100%; | ||
left: 0; | ||
z-index: 1000; | ||
display: none; | ||
float: left; | ||
min-width: 160px; | ||
padding: 5px 0; | ||
margin: 2px 0 0; | ||
list-style: none; | ||
font-size: 14px; | ||
text-align: left; | ||
background-color: #ffffff; | ||
border: 1px solid #cccccc; | ||
border: 1px solid rgba(0, 0, 0, 0.15); | ||
border-radius: 4px; | ||
-webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); | ||
background-clip: padding-box; | ||
} | ||
span.twitter-typeahead .tt-suggestion > p { | ||
display: block; | ||
padding: 3px 20px; | ||
clear: both; | ||
font-weight: normal; | ||
line-height: 1.42857143; | ||
color: #333333; | ||
white-space: nowrap; | ||
} | ||
span.twitter-typeahead .tt-suggestion > p:hover, | ||
span.twitter-typeahead .tt-suggestion > p:focus { | ||
color: #ffffff; | ||
text-decoration: none; | ||
outline: 0; | ||
background-color: #428bca; | ||
} | ||
span.twitter-typeahead .tt-suggestion.tt-cursor { | ||
color: #ffffff; | ||
background-color: #428bca; | ||
} | ||
span.twitter-typeahead { | ||
width: 100%; | ||
} | ||
.input-group span.twitter-typeahead { | ||
display: block !important; | ||
} | ||
.input-group span.twitter-typeahead .tt-dropdown-menu { | ||
top: 32px !important; | ||
} | ||
.input-group.input-group-lg span.twitter-typeahead .tt-dropdown-menu { | ||
top: 44px !important; | ||
} | ||
.input-group.input-group-sm span.twitter-typeahead .tt-dropdown-menu { | ||
top: 28px !important; | ||
} |