-
Notifications
You must be signed in to change notification settings - Fork 826
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added onTagClicked callback and updated the readme
- Loading branch information
Showing
3 changed files
with
112 additions
and
84 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
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,81 +1,86 @@ | |||
.ui-autocomplete { | .ui-autocomplete { | ||
background-color: #eee; | background-color: #eee; | ||
position: absolute; | position: absolute; | ||
cursor: default; | cursor: default; | ||
} | } | ||
.ui-autocomplete .ui-menu-item { | .ui-autocomplete .ui-menu-item { | ||
} | } | ||
.ui-autocomplete .ui-menu-item a { | .ui-autocomplete .ui-menu-item a { | ||
display:block; | display:block; | ||
padding:4px 6px; | padding:4px 6px; | ||
text-decoration:none; | text-decoration:none; | ||
line-height:12px; | line-height:12px; | ||
} | } | ||
.ui-autocomplete .ui-menu-item a.ui-state-hover, | .ui-autocomplete .ui-menu-item a.ui-state-hover, | ||
.ui-autocomplete .ui-menu-item a.ui-state-active { | .ui-autocomplete .ui-menu-item a.ui-state-active { | ||
background-color:#78959D; | background-color:#78959D; | ||
color:#fff; | color:#fff; | ||
margin:0; | margin:0; | ||
} | } | ||
.ui-autocomplete-loading { | .ui-autocomplete-loading { | ||
background: white url(images/ui-anim_basic_16x16.gif) right center no-repeat; | background: white url(images/ui-anim_basic_16x16.gif) right center no-repeat; | ||
} | } | ||
|
|
||
ul.tagit { | ul.tagit { | ||
padding:1px 5px; | padding:1px 5px; | ||
border-style:solid; | border-style:solid; | ||
border-width:1px; | border-width:1px; | ||
border-color:#C6C6C6; | border-color:#C6C6C6; | ||
overflow:auto; | overflow:auto; | ||
} | } | ||
ul.tagit li { | ul.tagit li { | ||
-moz-border-radius:5px 5px 5px 5px; | -moz-border-radius:5px 5px 5px 5px; | ||
border-radius:5px 5px 5px 5px; | border-radius:5px 5px 5px 5px; | ||
-webkit-border-radius:5px 5px 5px 5px; | -webkit-border-radius:5px 5px 5px 5px; | ||
display: block; | display: block; | ||
float: left; | float: left; | ||
margin:2px 5px 2px 0; | margin:2px 5px 2px 0; | ||
} | } | ||
ul.tagit li.tagit-choice { | ul.tagit li.tagit-choice { | ||
background-color:#DEE7F8; | background-color:#DEE7F8; | ||
border:1px solid #CAD8F3; | border:1px solid #CAD8F3; | ||
padding:2px 4px 3px; | padding:2px 4px 3px; | ||
} | } | ||
ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove { | ul.tagit li.tagit-choice:hover, ul.tagit li.tagit-choice.remove { | ||
background-color:#bbcef1; | background-color:#bbcef1; | ||
border-color:#6d95e0; | border-color:#6d95e0; | ||
} | } | ||
ul.tagit li.tagit-new { | ul.tagit li.tagit-new { | ||
padding:2px 4px 3px; | padding:2px 4px 3px; | ||
padding:2px 4px 1px; | padding:2px 4px 1px; | ||
padding:2px 4px 1px 0; | padding:2px 4px 1px 0; | ||
} | } | ||
|
|
||
ul.tagit li.tagit-choice input { | ul.tagit li.tagit-choice input { | ||
display:block; | display:block; | ||
float:left; | float:left; | ||
margin:2px 5px 2px 0; | margin:2px 5px 2px 0; | ||
} | } | ||
ul.tagit li.tagit-choice a.close { | ul.tagit li.tagit-choice a.tagLabel { | ||
color:#777777; | cursor:pointer; | ||
cursor:pointer; | text-decoration:none; | ||
font-weight:bold; | } | ||
outline:medium none; | ul.tagit li.tagit-choice a.close { | ||
padding:2px 0 2px 3px; | color:#777777; | ||
text-decoration:none; | cursor:pointer; | ||
} | font-weight:bold; | ||
ul.tagit li.tagit-choice a.close:hover { | outline:medium none; | ||
color:#222; | padding:2px 0 2px 3px; | ||
} | text-decoration:none; | ||
ul.tagit input[type="text"] { | } | ||
-moz-box-sizing: border-box; | ul.tagit li.tagit-choice a.tagLabel:hover | ||
-webkit-box-sizing: border-box; | ul.tagit li.tagit-choice a.close:hover { | ||
box-sizing: border-box; | color:#222; | ||
border:none; | } | ||
margin:0; | ul.tagit input[type="text"] { | ||
padding:0; | -moz-box-sizing: border-box; | ||
width:inherit; | -webkit-box-sizing: border-box; | ||
border-color:#C6C6C6; | box-sizing: border-box; | ||
background-color:#FFFFFF; | border:none; | ||
color:#333333; | margin:0; | ||
} | padding:0; | ||
width:inherit; | |||
border-color:#C6C6C6; | |||
background-color:#FFFFFF; | |||
color:#333333; | |||
} |
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