1
0
mirror of synced 2024-11-25 22:36:03 +03:00
Commit Graph

124 Commits

Author SHA1 Message Date
Matthias Kurz
a6d7ecc273 Css dept-* rules should start with 1 no 0 2014-04-06 17:29:45 +02:00
Jesper Rønn-Jensen
7390721038 Reduced 10 level deep nesting of CSS rules. Instead, using the simpler depth-0,-1,-2,etc for adding padding to the result when nested.
Greatly simplifies complexity of expressions and reduces (hopefully) rendering time.

From https://developers.google.com/speed/docs/best-practices/rendering#UseEfficientCSSSelectors
Descendant selectors are inefficient because, for each element that matches the key, the browser must also traverse up the DOM tree, evaluating every ancestor element until it finds a match or reaches the root element.
2014-03-23 21:50:35 +01:00
djarnis73
b7695ec6a9 Update select2.css 2014-02-26 13:01:10 +01:00
Kevin Brown
2244365790 Merge pull request #2056 from mkurz/fix_2042
Reset background position for multiple backgrounds [Fixes #2042]
2014-01-20 06:22:47 -08:00
Matthias Kurz
05efcaf160 Use dppx instead of non-existing ppx resolution unit 2014-01-20 11:50:46 +01:00
Matthias Kurz
6a3ec3f5de Fix for #2042 Chrome bug: Reset the background position for multiple backgrounds 2014-01-20 11:46:39 +01:00
Tim Robertson
eaf09c7f76 Accessibility updates based on jQuery UI Autocomplete 2014-01-19 18:52:56 -05:00
Kevin Brown
4f4d77d36e Fixed dpi warning [Fixes #1964] 2014-01-12 11:10:51 -05:00
Kevin Brown
79ee2084dc Gradients are all set now 2014-01-11 21:01:16 -05:00
Kevin Brown
e2cccc9988 Fixed reversed gradients, again
The gradients that were fixed in #2002 had the wrong target value.
Most of them were targetting the bottom, though not all of them,
and the code set them to target the top.
2014-01-11 18:48:53 -05:00
Kevin Brown
aab3381494 Fixed reversed gradient 2014-01-09 14:58:33 -05:00
Kevin Brown
f83ca8ec2c Merge pull request #2000 from leods92/patch-1
Added padding to searching/no-results messages.
2014-01-06 17:56:18 -08:00
Justin Beasley
8a560453b1 Fix CSS linear-gradient syntax
the first argument to linear-gradient is required to either be an angle, or expressed as "to [side]". Omitting the "to" keyword causes gradients to not render in IE10.
2013-12-31 00:05:23 -08:00
Leonardo D. Schlossmacher
23b2574d4b Added padding to searching/no-results messages.
It feels just weird without paddings.
2013-12-28 11:55:29 -02:00
Jake
ef9f1dea90 Fix for drop-auto-width collision detection and css border top
- collision detection was not moving the drop left based on the
difference between viewport and relative location of box (dropleft +
dropwidth)
- .select2-drop-active was overriding the .select2-drop-auto-width
making the shifted dropbox look a bit wierd
2013-11-07 16:21:52 -05:00
Khaled Hosny
39f9fc79a5 Styling fixes for RTL direction
* Align the selects to the right
* Place the close button on the left to not cover parts of the label.
2013-11-04 08:07:39 +02:00
Rouven Weßling
299f87440e Remove duplicate property. 2013-08-18 14:35:04 +02:00
Rouven Weßling
e7649880cb Remove -khtml-user-select. It's not supported by KHTML anyways and their marketshare is incredibly minor. 2013-08-18 14:35:04 +02:00
Rouven Weßling
488526ccf5 Remove -o-linear-gradient used by Opera 11.1 - 12.0. These versions are now very rarely used. 2013-08-18 14:35:01 +02:00
Rouven Weßling
bba1eb04c7 Remove -ms-linear-gradient that was only used by IE 10 preview releases. 2013-08-18 14:34:58 +02:00
Igor Vaynberg
dcee289874 Merge pull request #1578 from yuripc/colors-2
Colors to shorthand hexadecimal
2013-07-31 21:44:35 -07:00
Igor Vaynberg
e162a4802c tweak how mask is created to remove jitter. fixes #1574 2013-07-31 21:41:37 -07:00
Yuri Pereira
7fd8a9f6e7 Colors to shorthand hexadecimal/2 2013-07-27 14:28:45 -03:00
Yuri Pereira
4ea4246c44 Colors to shorthand hexadecimal 2013-07-27 14:25:24 -03:00
Igor Vaynberg
f886f716e2 Revert "Colors to shorthand hexadecimal"
This reverts commit fe307f6f15.
2013-07-27 09:53:49 -07:00
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