1
0
mirror of synced 2024-11-22 21:16:10 +03:00
Commit Graph

136 Commits

Author SHA1 Message Date
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