1
0
mirror of synced 2024-11-23 21:36:09 +03:00
Commit Graph

2068 Commits

Author SHA1 Message Date
Florian Kissling
a9beac83c3 Update Sass vertical gradient mixin to latest version from Bootstrap.
As described in https://github.com/select2/select2/issues/3304#issuecomment-98395238, this updates the mixin to the latest stable version from Bootstrap Sass which adds Sass' http://sass-lang.com/documentation/Sass/Script/Functions.html#ie_hex_str-instance_method to ensure that colors are converted "into the format understood by IE filters".
2015-05-02 22:38:18 +02:00
Florian Kissling
ba61678358 Group diacritics, RTL and l10n examples.
Just an example – very unsure what goes with what.
2015-05-02 20:53:51 +02:00
Florian Kissling
bf7d273f89 Add sidebar anchor navigation to the "Examples" page. 2015-05-02 14:10:31 +02:00
Florian Kissling
3ed07a6fda Stop anchorjs from suffixing its links for "Placeholders" and "Templating" headlines.
Cosmetic changes for the homepage 3.x docs notice.
2015-05-01 04:30:52 +02:00
Florian Kissling
54d2b347b0 Merge remote-tracking branch 'upstream/master' into docs-improvements 2015-05-01 03:49:23 +02:00
Kevin Brown
197384342b Merge pull request #3301 from fk/master
Add `!important` to `.select2-hidden-accessible`.
2015-04-30 14:03:11 -04:00
Florian Kissling
31830c7b32 Add !important to .select2-hidden-accessible.
`.select2-hidden-accessible` is the CSS class that is added to the original `<select>` element (that Select2 is initialized on) to hide it.
In cases where the original `<select>` has other style declarations assigned which conflict with those of `.select2-hidden-accessible`, the latter styles may be overridden, possibly resulting in the original `<select>` element not being properly hidden.

Similar to what https://github.com/select2/select2/pull/1549 did for Select2 v3's CSS, this adds the `!important` rule to all style declarations for `.select2-hidden-accessible` to make it exponentially harder to override them.
2015-04-30 19:09:18 +02:00
Florian Kissling
365ec579b7 Typography. 2015-04-30 00:59:06 +02:00
Florian Kissling
fb40644c42 Add <code> tags. 2015-04-28 04:01:33 +02:00
Florian Kissling
445c48236d Merge branch 'master' into docs-improvements
Conflicts:
	docs/announcements-4.0.html
	docs/index.html
2015-04-28 03:11:24 +02:00
Florian Kissling
b34e5b3925 Tidy. 2015-04-28 02:57:58 +02:00
Florian Kissling
9d85d7fb41 Move 3.x docs notice to partial. 2015-04-28 02:50:05 +02:00
Florian Kissling
082dda4830 Improve headline. 2015-04-28 02:49:27 +02:00
Florian Kissling
4b34dc7063 Calmer "Example Code" headlines. 2015-04-28 02:42:18 +02:00
Florian Kissling
c57a6fea90 Change "Loading remote data" formatRepo() markup.
Now fits the styles in docs/_sass/_s2-result-repository.
2015-04-28 02:41:52 +02:00
Florian Kissling
4ab6567f1d Calmer "Version". 2015-04-28 02:40:04 +02:00
Florian Kissling
58eadd5718 Fix border colors. 2015-04-28 02:36:57 +02:00
Florian Kissling
f061ada2e1 Simplify. 2015-04-28 02:08:53 +02:00
Florian Kissling
f033428742 Center text. 2015-04-28 02:08:20 +02:00
Florian Kissling
d430ff998e Add logo to .navbar-brand. 2015-04-28 02:08:06 +02:00
Florian Kissling
8ddd29ff41 Add paragraphs. 2015-04-28 02:07:23 +02:00
Florian Kissling
f26cc14874 Whitespace. 2015-04-28 02:00:22 +02:00
Florian Kissling
2cd6e864f7 Include new Sass partials. 2015-04-28 01:52:55 +02:00
Florian Kissling
eb3f4c180b Move vendor/prettify.css to _sass/_prettify.scss. 2015-04-28 01:52:35 +02:00
Florian Kissling
041c7ee8ec wrap "initSelection" in <code>. 2015-04-28 01:47:25 +02:00
Florian Kissling
eef50c9b94 Add .s2-docs-home to "home" layout, add partial for homepage CSS. 2015-04-28 01:43:31 +02:00
Florian Kissling
e0e79dbc4e Make "Topics" menu item .active when "announcements-4.0" is the current page. 2015-04-28 01:36:23 +02:00
Florian Kissling
49b7c312e0 gitignore .sass-cache. 2015-04-28 01:35:14 +02:00
Florian Kissling
80dbd692db Don't show line numbers for one line code examples. 2015-04-28 01:17:01 +02:00
Florian Kissling
33b637dbf9 Ditch wrong .lead copy. 2015-04-28 01:16:18 +02:00
Florian Kissling
f73dc290fd Move most of the default CSS to partials/Sass. 2015-04-28 01:15:49 +02:00
Kevin Brown
b1a6d357f9 Merge pull request #3291 from aitor/patch-1
Swap inputTooLong and inputTooShort error messages
2015-04-27 15:06:54 -04:00
Aitor García Rey
42075c6233 Swap inputTooLong and inputTooShort error messages
"Engada"  in galician is "to add" and therefore should be the base text used for the inputTooShort method, asking the use to add more chars. It seems to be mistakenly defined exactly the opposite it should be (as inputTooLong was containing the right text).
2015-04-27 17:20:03 +00:00
Paul Mohr
d4b1247640 Improved Zurb Foundation compatibility
The input fields have a slight box shadow which we want to remove here.
2015-04-27 16:40:41 +02:00
Paul Mohr
6a551dfe74 Improved Zurb Foundation compatibility
The input fields have a slight box shadow which we want to remove here.
2015-04-27 16:38:43 +02:00
Florian Kissling
a2b31e2240 Add animation to the "hamburger icon".
Courtesy of Julien Melissas, ref. http://codepen.io/JulienMelissas/pen/LEBGLj
2015-04-27 09:35:29 +02:00
Florian Kissling
7b62c7d444 Remove icon. 2015-04-27 09:31:42 +02:00
Florian Kissling
25a69716ac Add sidebar anchor navigation. 2015-04-27 09:31:28 +02:00
Kevin Brown
80eb44bec7 Bump version numbers for 4.0.0 release 2015-04-26 17:02:52 -04:00
nath
e416e47356 Added back dropdownAutoWidth option
This adds back the `dropdownAutoWidth` option, so the dropdown can
have a width that is automatically determined by the browser. This
works best for smaller dropdowns that contain options with large
amounts of text.

This closes https://github.com/select2/select2/issues/3103.
This closes https://github.com/select2/select2/pull/3113.

Signed-off-by: Kevin Brown <kevin@kevin-brown.com>
2015-04-26 16:55:22 -04:00
Kevin Brown
86bf6dc272 Removed pre-release note
This removes the pre-release note from the 4.0.0 announcement and
also adds an example for the `matcher` option.
2015-04-26 16:27:22 -04:00
Florian Kissling
b68a7b38a0 Remove explicit "Home" link. 2015-04-25 04:35:55 +02:00
Florian Kissling
25ba1ef1f3 Prettify <pre> on homepage. 2015-04-25 04:34:15 +02:00
Florian Kissling
8a1a35aa15 Make "Download" button stand out a little more. 2015-04-24 03:41:08 +02:00
Florian Kissling
d813feaa7b Simplify homepage .jumbotron. 2015-04-24 03:38:00 +02:00
Florian Kissling
0474e69e6e Add .s2-docs-container to enable anchor.js. 2015-04-24 03:37:20 +02:00
Florian Kissling
15f9922437 Add .navbar-default. 2015-04-24 03:36:45 +02:00
Florian Kissling
481a2f89c9 Add ID. 2015-04-24 03:17:34 +02:00
Florian Kissling
69d8ac4485 Whitespace. 2015-04-24 03:10:54 +02:00
Florian Kissling
96cb7f56ae Move Google Analytics script to include. 2015-04-24 03:09:41 +02:00