diff options
| author | mo k <mo@mokhan.ca> | 2013-02-09 21:30:05 -0700 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2013-02-09 21:30:05 -0700 |
| commit | 0cb52f17a9ef9d0aca763c713d16c8bb65f0862b (patch) | |
| tree | 8d2135ca9e043d8b43b1cefb63f61937b75b2479 /vendor | |
| parent | 1f12e5f7c7e946f0306b7a7047aefb8f02ecf54a (diff) | |
try to improve the tagit css
Diffstat (limited to 'vendor')
| -rw-r--r-- | vendor/assets/stylesheets/jquery.tagit.css | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/vendor/assets/stylesheets/jquery.tagit.css b/vendor/assets/stylesheets/jquery.tagit.css new file mode 100644 index 00000000..1620ba5e --- /dev/null +++ b/vendor/assets/stylesheets/jquery.tagit.css @@ -0,0 +1,67 @@ +ul.tagit { + padding: 1px 5px; + overflow: auto; + margin-left: inherit; /* usually we don't want the regular ul margins. */ + margin-right: inherit; +} +ul.tagit li { + display: block; + float: left; + margin: 2px 5px 2px 0; +} +ul.tagit li.tagit-choice { + position: relative; + line-height: inherit; +} + +ul.tagit li.tagit-choice-read-only { + padding: .2em .5em .2em .5em; +} + +ul.tagit li.tagit-choice-editable { + padding: .2em 18px .2em .5em; +} + +ul.tagit li.tagit-new { + padding: .25em 4px .25em 0; +} + +ul.tagit li.tagit-choice a.tagit-label { + cursor: pointer; + text-decoration: none; +} +ul.tagit li.tagit-choice .tagit-close { + cursor: pointer; + position: absolute; + right: .1em; + top: 50%; + margin-top: -8px; + line-height: 17px; +} + +/* used for some custom themes that don't need image icons */ +ul.tagit li.tagit-choice .tagit-close .text-icon { + display: none; +} + +ul.tagit li.tagit-choice input { + display: block; + float: left; + margin: 2px 5px 2px 0; +} +ul.tagit input[type="text"] { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; + + -moz-box-shadow: none; + -webkit-box-shadow: none; + box-shadow: none; + + border: none; + margin: 0; + padding: 0; + width: inherit; + background-color: inherit; + outline: none; +} |
