Igor Vaynberg
4a363c4b30
Merge pull request #503 from todd-givainc/master
...
Feature: Locked Items
2012-10-24 13:48:46 -07:00
Igor Vaynberg
6e64336af1
fix typo in css
2012-10-16 11:56:18 -07:00
Todd Rafferty
d382f3cdb5
Added .select2-locked
2012-10-16 14:34:55 -03:00
Igor Vaynberg
6e3b7097a3
Merge pull request #495 from swhitt/master
...
Rename spinner.gif
2012-10-16 10:23:34 -07:00
Inkdpixels
e17f349bf7
Future friendly retina-mq
...
Using 'dpi' as a unit should be the way to go in the future
2012-10-16 18:34:20 +02:00
Inkdpixels
977ea92d66
Style consistency and proper intendation
2012-10-16 18:28:28 +02:00
Steve Whittaker
7beac3e27c
Rename spinner.gif to select2-spinner.gif to prevent collisions with very common filename.
2012-10-13 12:31:25 -05:00
Pedro Nascimento
65d68628b8
Use single quotes for retina image url
...
This is how all the other images are being referenced.
2012-09-24 14:17:47 -03:00
gladmon
b96ee3fc88
Fix z-index on input text box for single selects.
...
Using the select2 control in a jquery dialog works fine except for you cannot click on the input box when doing a single select select box. The containing div was given a z-index, but not a position attribute, so the z-index was ignored.
2012-09-19 18:27:18 -03:00
Igor Vaynberg
7ee6446bc5
hide the x when the single select is disabled. fixes #401
2012-09-13 17:16:33 -07:00
Igor Vaynberg
b4371aa253
remove executable permission from files
2012-09-10 10:40:44 -07:00
James Koster
668c49bb21
Retina-ize icons
2012-08-20 16:26:18 +01:00
Igor Vaynberg
92cd1a9037
add vertial align top to select 2 container. fixes #266
2012-08-07 21:50:08 -07:00
Igor Vaynberg
921bf06434
fix and clean the new formatSearching() method. closes #301
2012-08-06 20:35:59 -07:00
Kevin Brown
4344fa054e
Added support for limiting selection
...
Fixes #59
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-07-27 16:04:24 +03:00
bho
63fc044915
Added text-color that contrasts with the selected background-color
2012-07-17 14:57:51 +02:00
Igor Vaynberg
5d2bcd4007
hide things off screen at -10000 px instead of -1000. fixes #220
2012-07-16 11:41:16 +03:00
Igor Vaynberg
482cc409ea
dropdown can now open above or below control depending on available screens pace. fixes #120 . based on #197
2012-07-11 12:33:38 +03:00
Igor Vaynberg
12d2604ff2
boost z-index so select2 shows over dialogs. fixes #200
2012-07-09 23:16:29 +03:00
Igor Vaynberg
95a144d85e
highlighting and keyboard navigation improvements to result list that has optgroups
2012-06-29 20:15:45 -07:00
Igor Vaynberg
0f473423eb
remove lineheight from choice label. fixes #147
2012-06-21 21:42:45 -07:00
Igor Vaynberg
16c3d31e06
full tabbing support for the mac. closes #132
2012-06-21 21:18:13 -07:00
Igor Vaynberg
2343572a25
add spinner to search field in multiselect. fixes #130
2012-06-19 22:09:37 -07:00
Igor Vaynberg
8f6513969e
when using default formatResult the matching substring is now wrapped in span with class select2-match. fixes issue #137
2012-06-19 21:31:56 -07:00
Ben Walding
437be2d632
Use consistent CSS for image URLs
2012-06-18 14:08:16 +10:00
Christopher Nadeau
b18db15f1e
Tweak sub-item css a bit to make blue go full width
...
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:19:07 -07:00
Christopher Nadeau
6151ddbb0d
Add support for hierarchies and unselectable items. issue #58
...
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:54 -07:00
Christopher Nadeau
efccc62510
Few tweaks to multi style
...
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:53 -07:00
Christopher Nadeau
2f3262d39e
Absolutely position dropdown. fixes #84 .
...
Changes to detach dropdown and append to body, and absolutely position
dropdown. Fixes clipping problems with overflowing.
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-12 22:18:40 -07:00
Igor Vaynberg
588d9a5ce9
force a min height on multi containers, closes #96
2012-06-08 14:32:17 -07:00
Igor Vaynberg
47064b2483
tweak to issue #85 do not highlight items based on keypresses
2012-06-07 23:09:51 -07:00
Adam Solove
ec759ac809
When not showing search box, up/down arrows and searching still work.
...
- The hidden search box is displayed off-screen instead of taken off the dom.
- User can type a search, but instead of filtering the results, just highlight the first matching result.
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-06-07 21:56:22 -07:00
Igor Vaynberg
98903a4621
css stylying for disabled mode, issue #76
2012-06-06 23:04:14 -07:00
Igor Vaynberg
af6031039a
build script
2012-05-16 10:36:28 -07:00
Dean Sofer
37ddcb64a3
Fixed #43
...
Made the dropdown menu positioned via pure css instead of using
javascript to constantly adjust its position. YAY PERFORMANCE!
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-04-26 19:31:08 -07:00
Igor Vaynberg
b9c79344cd
hide selected choices from the results by default. issue #1
2012-04-10 00:42:44 -07:00
Jean Jacques Warmerdam
dca2130d2c
Don't remove border, make it transparent to prevent jumping of the page.
2012-04-04 14:34:02 +03:00
Justin DuJardin
fa41027264
Set min-height to 26px for proper input sizing in Opera.
2012-03-31 10:06:34 -07:00
Justin DuJardin
dd0d80532c
Fix spinner.gif input jumpiness.
...
Apply default outline and height properties on the input, to override site-specific CSS input styles.
2012-03-31 10:02:29 -07:00
Justin DuJardin
a28ea4fb98
Cleanup sizable implementation
...
- Remove absolute positioning from search input, and use inline-block with width 100% and padding.
- Remove hardcoded search results margin (space is consumed by non-absolute, inline-block search wrapper)
2012-03-29 13:39:53 -07:00
Justin DuJardin
26baca110b
Remove close button outline.
2012-03-29 13:39:10 -07:00
Justin DuJardin
b2c6ced65f
Rework select2 and styles to support styled width's (rather than just fixed pixel widths)
...
- Will not work with styles specified in remote CSS, because there's no easy way to retrieve the original css value.
- Will work with styles specified inline on the element (regex parse out width value with specified units intact, from the element style attribute)
Tested in Firefox,Chrome,Safari,Opera
2012-03-29 13:38:57 -07:00
Igor Vaynberg
b30b455505
Fix CRLF
2012-03-29 11:08:14 -07:00
Igor Vaynberg
2dc46c4bfa
move the [x] icon back to the right in single selection mode. issue #3
2012-03-26 23:52:31 -07:00
Igor Vaynberg
339c7a850e
moving [x] button to the left so its easier to remove multiple sequential selections. closes #3
2012-03-26 14:24:30 -07:00
Igor Vaynberg
b5c4817149
initial support for multiselect mode, issue #1
2012-03-25 20:30:57 -07:00
Igor Vaynberg
53e214d32f
initial checkin
2012-03-04 10:58:26 -08:00