Permalink
Browse files

Merge branch 'tags_autosuggest' of github.com:amitamb/n2 into tags_au…

…tosuggest
  • Loading branch information...
2 parents dc34ce1 + 8d7cb68 commit e3f578d3a1c7a7b39e3f9c09bb4198ac17232ef1 @amitamb committed Mar 30, 2012
Showing with 49 additions and 0 deletions.
  1. +49 −0 app/assets/stylesheets/tags_input.css
@@ -0,0 +1,49 @@
+ul.tags_input{
+ width:100%;
+ background-color:White;
+ border:1px inset;
+ list-style:none;
+ padding:2px;
+ cursor:text;
+}
+
+ul.tags_input>li{
+ display:inline-block;
+ float:left;
+ margin:0px 0 !important;
+}
+
+ul.tags_input>li.tag{
+ padding:4px;
+ background-color:#ddd;
+ margin:1px 1px !important;
+ margin-right:4px !important;
+ border:1px solid #ccc;
+ -webkit-border-radius: 2px;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+ cursor:default;
+}
+
+ul.tags_input>li.tag>img, ul.tags_input>li.tag>span {
+ float:left;
+}
+
+ul.tags_input>li.tag>img {
+ cursor:pointer;
+ height:8px;width:8px;padding:2px;float:left;
+ margin-left:2px;
+}
+
+ul.tags_input>li.tag>img:hover{
+ background-color:White;
+}
+
+ul.tags_input>li>input{
+ width:160px !important;
+ border:0 !important;
+ padding:0 !important;
+ margin:0 !important;
+ background-color:#FFF;
+ outline: none;
+}

0 comments on commit e3f578d

Please sign in to comment.