1
0
mirror of synced 2024-11-27 07:16:03 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Julen Ruiz Aizpuru
66e06acde8 Removed BOM. 2013-05-14 11:41:31 +02:00
Igor Vaynberg
26751cb157 small css tweak. #929 2013-05-10 00:34:49 -07:00
Igor Vaynberg
828d7a5052 better way to remove outlines 2013-05-09 21:21:37 -07:00
Igor Vaynberg
43e6b86f75 prevent scrollback left on opening. fixes #467 2013-05-06 23:40:31 -07:00
Igor Vaynberg
e21018147c fixes #1263 2013-05-06 20:26:30 -07:00
Igor Vaynberg
18c2bc5cb9 need at least 1x1 px space to receive focus 2013-05-06 19:11:13 -07:00
Igor Vaynberg
5c709bac15 improve offscreen element positioning. fixes #1217. fixes #1218. fixes #1074 2013-05-06 15:23:46 -07:00
Igor Vaynberg
c33b9d5e98 Merge pull request #1219 from alexhaas/master
select2-drop-mask background and transparency
2013-05-06 15:16:42 -07:00
Igor Vaynberg
adb126edc6 Merge pull request #1239 from NielsKuhnel/master
Keyboard navigation in choices (whitespace preserved)
2013-05-06 13:41:06 -07:00
Igor Vaynberg
c02ea3a030 add margin:0 to select2-cotnainer. fixes #1254 2013-05-06 09:58:49 -07:00
19Gerhard85
0d67130d62 Closes #1228 2013-05-06 17:10:08 +03:00
Niels Kühnel
870b1b7165 Less aggresive keyboard deletes and carret stays 2013-05-03 11:51:41 +02:00
Niels Kühnel
877c1d90c5 Keyboard navigation in choices (tags) 2013-05-03 00:41:55 +02:00
alexhaas
bf65a2ab25 Update select2.css
Removing select2-drop-mask background and transparency to help out corporate-modified IE 8 and IE 7 browsers that disable the "filter" property in CSS.
2013-04-25 16:35:43 -03:00
Julen Ruiz Aizpuru
8cb3698820 Fix #1172 -- Properly set width when allowClear is being used.
Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2013-04-12 07:58:31 -07:00
Igor Vaynberg
25549c787b Revert "applied fix for #1172 - Clear button overlaps text"
This reverts commit fd07c11484.
2013-04-12 07:58:13 -07:00
Alex Rice
a0f35aba3f Remove inline styles 2013-04-12 02:57:03 +00:00
Igor Vaynberg
fd07c11484 applied fix for #1172 - Clear button overlaps text 2013-04-11 15:00:17 -07:00
Igor Vaynberg
fffba0d1d2 fixes #1110 2013-04-09 20:36:23 -07:00
Igor Vaynberg
931862c6ef reverse selection gradient when opened up to have better separation. fixes #1040 2013-04-09 19:44:24 -07:00
jfoster
7956d7aee3 Add option to automatically size dropdown width 2013-03-18 19:56:38 -04:00
Jens Rantil
eac267b11f Bugfix: Avoid implosion of empty <option>s
When using select2 on

<select>
  <option value="empty"></option>
  <option>Val 1</option>
  <option>Val 2</option>
</select>

The top option will not have the correct height.
2013-03-15 11:15:03 +01:00
Jens Rantil
518cdf8600 Centering select2 vertically
This makes Select2 behave much more sane when it's put inline inbetween
text.
2013-03-14 15:00:09 +01:00
Igor Vaynberg
fb158ed0c8 change how offscreen css is defined. finxes #1011 2013-03-11 16:28:27 -07:00
Igor Vaynberg
8609bee8f1 fix bug in css 2013-03-05 19:30:54 -08:00
Igor Vaynberg
27f6c0198a fix dropdown mask in ie7/8. fixes #926 2013-03-01 08:48:17 -08:00
Mircea Pricop
f5b018dd09 Remove -o-box-shadow since it is not needed.
Opera implements box-shadow without a vendor prefix, so -o-box-shadow
is invalid.

See https://developer.mozilla.org/en-US/docs/CSS/box-shadow
2013-02-20 17:31:24 +01:00
Kevin Brown
940d1f2d67 Better imitate native touch experience 2013-02-11 20:31:18 -05:00
Igor Vaynberg
52c8a9e2cb remove input height css. fixes #587 2013-02-09 23:15:05 -08:00
Igor Vaynberg
a9741f9998 prevent user from selecting text in choices. fixes #551 2013-02-09 20:35:55 -08:00
Igor Vaynberg
ef364d2118 better handling of first character typed. fixes #196 2013-02-08 09:33:18 -08:00
Igor Vaynberg
8332d6a7e9 fix more hierarchical selection bugs. fixes #775 2013-02-01 15:21:07 -08:00
Igor Vaynberg
7a006a7259 fix scroll event handling since it doesnt bubble. also add a shim behind the dropdown, this allows it to properly close even when used inside modals. sometimes modals will place their own shim that closes the modal and aborts the default mousedown event. in such cases the modal would close but the dropdown element would still float on the screen now detached and the only way to close it would be to make a selection 2013-01-31 10:52:18 -08:00
Igor Vaynberg
434827d22c Merge pull request #747 from Kollibri/master
Fix issue with disabled options (Issue #733)
2013-01-24 08:42:06 -08:00
Igor Vaynberg
dc8fbba511 fixes #742 2013-01-24 08:20:46 -08:00
Amanda Myer
795bd884a6 Update select2.css 2013-01-24 11:11:44 -05:00
Amanda Myer
1949f4ce31 Update select2.css
Made disabled results show up disabled, and added a class "selected" for elements that have already been selected (by default, these elements are hidden).
2013-01-24 09:04:05 -05:00
Kevin Brown
66ca10815a Fixes #533: IE Gradients Reversed
Reverses the arguments of the IE filter properties
and removes the gradient on the arrow when the
drop-down is open

Signed-off-by: Igor Vaynberg <igor.vaynberg@gmail.com>
2012-11-02 08:52:07 -07:00
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