1
0
mirror of synced 2024-11-26 06:46:04 +03:00
Commit Graph

99 Commits

Author SHA1 Message Date
Igor Vaynberg
86fe603082 Merge pull request #1548 from yuripc/colors
Colors to shorthand hexadecimal
2013-07-26 23:47:35 -07:00
Igor Vaynberg
0ce22d5b80 make sure offscreen doesnt cause vertical shift. fixes #829 2013-07-26 22:51:36 -07:00
cmfcmf
2be293ab4a Added !important to select2-offscreen to make sure that it is definitly hidden. 2013-07-19 21:29:35 +02:00
Yuri Pereira
fe307f6f15 Colors to shorthand hexadecimal 2013-07-19 13:16:39 -03:00
Yuri Pereira
f9b1e150e5 Add missing space 2013-07-19 10:09:44 -03:00
Yuri Pereira
95634b830d Add space after comma 2013-07-19 09:54:48 -03:00
Yuri Pereira
2fc63f264f Add space before { 2013-07-19 09:50:47 -03:00
Igor Vaynberg
81b98e7567 fix typo from #1477 2013-07-03 22:45:50 -07:00
Ugoku
b7b292bc3b Update select2.css
-ms-box-sizing does not exist, Konqueror does not need prefix.
-ms-text-overflow does not exist, Opera does not need prefix.
-moz-border-radius and -webkit-border-radius not needed anymore.
-moz-background-clip and -webkit-background-clip not needed anymore.
-moz-box-shadow not needed anymore (-webkit still used for Android 2.3)
2013-06-29 17:16:51 +02:00
Cyrille Jouineau
7303852862 replaces a <div> inside a <a> with a <span>
and minor code cleaning
2013-06-26 16:32:07 +02:00
daniele panza
161dbb4281 Updated CSS rule to avoid unwanted styling of <span> tags used in options templates 2013-06-20 17:50:41 +02:00
fitnr
9062267ffa Add border to select2-drop-active
This creates a blue border around an entire active select2 element
2013-06-19 11:58:45 -04:00
easy2luv
2e9ae91d6c add styles to .select2-drop-mask needed for mask to work in IE 2013-06-13 10:47:14 -07:00
Igor Vaynberg
a4a3eedd51 component stays open after clicking on a native select in IE. fixes #1356 2013-05-31 17:57:21 -07:00
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