Convert Arcana files from DOS to UNIX line endings
Switch all the Arcana text/HTML/CSS/JS files which used CR+LF line endings to plain LF like other files in the repository, for consistency and ease of maintenance. Some files had mixed line endings, so fix them as well. Also clean up a handful of mixed tab+space indents in www/index.html along with one line which had only whitespace characters on it. This change makes no edits to file content other than whitespace. Change-Id: I5f1b9269112a7147bf682658f4884171bad13d72
This commit is contained in:
parent
c3f36f3d6f
commit
98ed431f6c
126
LICENSE.txt
126
LICENSE.txt
@ -1,63 +1,63 @@
|
|||||||
Creative Commons Attribution 3.0 Unported
|
Creative Commons Attribution 3.0 Unported
|
||||||
http://creativecommons.org/licenses/by/3.0/
|
http://creativecommons.org/licenses/by/3.0/
|
||||||
|
|
||||||
License
|
License
|
||||||
|
|
||||||
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
|
||||||
|
|
||||||
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
|
||||||
|
|
||||||
1. Definitions
|
1. Definitions
|
||||||
|
|
||||||
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
|
1. "Adaptation" means a work based upon the Work, or upon the Work and other pre-existing works, such as a translation, adaptation, derivative work, arrangement of music or other alterations of a literary or artistic work, or phonogram or performance and includes cinematographic adaptations or any other form in which the Work may be recast, transformed, or adapted including in any form recognizably derived from the original, except that a work that constitutes a Collection will not be considered an Adaptation for the purpose of this License. For the avoidance of doubt, where the Work is a musical work, performance or phonogram, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered an Adaptation for the purpose of this License.
|
||||||
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
|
2. "Collection" means a collection of literary or artistic works, such as encyclopedias and anthologies, or performances, phonograms or broadcasts, or other works or subject matter other than works listed in Section 1(f) below, which, by reason of the selection and arrangement of their contents, constitute intellectual creations, in which the Work is included in its entirety in unmodified form along with one or more other contributions, each constituting separate and independent works in themselves, which together are assembled into a collective whole. A work that constitutes a Collection will not be considered an Adaptation (as defined above) for the purposes of this License.
|
||||||
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
|
3. "Distribute" means to make available to the public the original and copies of the Work or Adaptation, as appropriate, through sale or other transfer of ownership.
|
||||||
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
|
4. "Licensor" means the individual, individuals, entity or entities that offer(s) the Work under the terms of this License.
|
||||||
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
|
5. "Original Author" means, in the case of a literary or artistic work, the individual, individuals, entity or entities who created the Work or if no individual or entity can be identified, the publisher; and in addition (i) in the case of a performance the actors, singers, musicians, dancers, and other persons who act, sing, deliver, declaim, play in, interpret or otherwise perform literary or artistic works or expressions of folklore; (ii) in the case of a phonogram the producer being the person or legal entity who first fixes the sounds of a performance or other sounds; and, (iii) in the case of broadcasts, the organization that transmits the broadcast.
|
||||||
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
|
6. "Work" means the literary and/or artistic work offered under the terms of this License including without limitation any production in the literary, scientific and artistic domain, whatever may be the mode or form of its expression including digital form, such as a book, pamphlet and other writing; a lecture, address, sermon or other work of the same nature; a dramatic or dramatico-musical work; a choreographic work or entertainment in dumb show; a musical composition with or without words; a cinematographic work to which are assimilated works expressed by a process analogous to cinematography; a work of drawing, painting, architecture, sculpture, engraving or lithography; a photographic work to which are assimilated works expressed by a process analogous to photography; a work of applied art; an illustration, map, plan, sketch or three-dimensional work relative to geography, topography, architecture or science; a performance; a broadcast; a phonogram; a compilation of data to the extent it is protected as a copyrightable work; or a work performed by a variety or circus performer to the extent it is not otherwise considered a literary or artistic work.
|
||||||
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
|
7. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
|
||||||
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
|
8. "Publicly Perform" means to perform public recitations of the Work and to communicate to the public those public recitations, by any means or process, including by wire or wireless means or public digital performances; to make available to the public Works in such a way that members of the public may access these Works from a place and at a place individually chosen by them; to perform the Work to the public by any means or process and the communication to the public of the performances of the Work, including by public digital performance; to broadcast and rebroadcast the Work by any means including signs, sounds or images.
|
||||||
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
|
9. "Reproduce" means to make copies of the Work by any means including without limitation by sound or visual recordings and the right of fixation and reproducing fixations of the Work, including storage of a protected performance or phonogram in digital form or other electronic medium.
|
||||||
|
|
||||||
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
|
2. Fair Dealing Rights. Nothing in this License is intended to reduce, limit, or restrict any uses free from copyright or rights arising from limitations or exceptions that are provided for in connection with the copyright protection under copyright law or other applicable laws.
|
||||||
|
|
||||||
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
|
3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
|
||||||
|
|
||||||
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
|
1. to Reproduce the Work, to incorporate the Work into one or more Collections, and to Reproduce the Work as incorporated in the Collections;
|
||||||
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
|
2. to create and Reproduce Adaptations provided that any such Adaptation, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";
|
||||||
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
|
3. to Distribute and Publicly Perform the Work including as incorporated in Collections; and,
|
||||||
4. to Distribute and Publicly Perform Adaptations.
|
4. to Distribute and Publicly Perform Adaptations.
|
||||||
5.
|
5.
|
||||||
|
|
||||||
For the avoidance of doubt:
|
For the avoidance of doubt:
|
||||||
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
|
1. Non-waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme cannot be waived, the Licensor reserves the exclusive right to collect such royalties for any exercise by You of the rights granted under this License;
|
||||||
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
|
2. Waivable Compulsory License Schemes. In those jurisdictions in which the right to collect royalties through any statutory or compulsory licensing scheme can be waived, the Licensor waives the exclusive right to collect such royalties for any exercise by You of the rights granted under this License; and,
|
||||||
3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
|
3. Voluntary License Schemes. The Licensor waives the right to collect royalties, whether individually or, in the event that the Licensor is a member of a collecting society that administers voluntary licensing schemes, via that society, from any exercise by You of the rights granted under this License.
|
||||||
|
|
||||||
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
|
The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. Subject to Section 8(f), all rights not expressly granted by Licensor are hereby reserved.
|
||||||
|
|
||||||
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
|
4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
|
||||||
|
|
||||||
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
|
1. You may Distribute or Publicly Perform the Work only under the terms of this License. You must include a copy of, or the Uniform Resource Identifier (URI) for, this License with every copy of the Work You Distribute or Publicly Perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of the recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties with every copy of the Work You Distribute or Publicly Perform. When You Distribute or Publicly Perform the Work, You may not impose any effective technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collection, but this does not require the Collection apart from the Work itself to be made subject to the terms of this License. If You create a Collection, upon notice from any Licensor You must, to the extent practicable, remove from the Collection any credit as required by Section 4(b), as requested. If You create an Adaptation, upon notice from any Licensor You must, to the extent practicable, remove from the Adaptation any credit as required by Section 4(b), as requested.
|
||||||
2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
|
2. If You Distribute, or Publicly Perform the Work or any Adaptations or Collections, You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or if the Original Author and/or Licensor designate another party or parties (e.g., a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; (ii) the title of the Work if supplied; (iii) to the extent reasonably practicable, the URI, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and (iv) , consistent with Section 3(b), in the case of an Adaptation, a credit identifying the use of the Work in the Adaptation (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4 (b) may be implemented in any reasonable manner; provided, however, that in the case of a Adaptation or Collection, at a minimum such credit will appear, if a credit for all contributing authors of the Adaptation or Collection appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
|
||||||
3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
|
3. Except as otherwise agreed in writing by the Licensor or as may be otherwise permitted by applicable law, if You Reproduce, Distribute or Publicly Perform the Work either by itself or as part of any Adaptations or Collections, You must not distort, mutilate, modify or take other derogatory action in relation to the Work which would be prejudicial to the Original Author's honor or reputation. Licensor agrees that in those jurisdictions (e.g. Japan), in which any exercise of the right granted in Section 3(b) of this License (the right to make Adaptations) would be deemed to be a distortion, mutilation, modification or other derogatory action prejudicial to the Original Author's honor and reputation, the Licensor will waive or not assert, as appropriate, this Section, to the fullest extent permitted by the applicable national law, to enable You to reasonably exercise Your right under Section 3(b) of this License (right to make Adaptations) but not otherwise.
|
||||||
|
|
||||||
5. Representations, Warranties and Disclaimer
|
5. Representations, Warranties and Disclaimer
|
||||||
|
|
||||||
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
|
||||||
|
|
||||||
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
7. Termination
|
7. Termination
|
||||||
|
|
||||||
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
|
1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Adaptations or Collections from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
|
||||||
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
|
2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
|
||||||
|
|
||||||
8. Miscellaneous
|
8. Miscellaneous
|
||||||
|
|
||||||
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
|
1. Each time You Distribute or Publicly Perform the Work or a Collection, the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
|
||||||
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
|
2. Each time You Distribute or Publicly Perform an Adaptation, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
|
||||||
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
|
||||||
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
|
4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
|
||||||
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
|
5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
|
||||||
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
|
6. The rights granted under, and the subject matter referenced, in this License were drafted utilizing the terminology of the Berne Convention for the Protection of Literary and Artistic Works (as amended on September 28, 1979), the Rome Convention of 1961, the WIPO Copyright Treaty of 1996, the WIPO Performances and Phonograms Treaty of 1996 and the Universal Copyright Convention (as revised on July 24, 1971). These rights and subject matter take effect in the relevant jurisdiction in which the License terms are sought to be enforced according to the corresponding provisions of the implementation of those treaty provisions in the applicable national law. If the standard suite of rights granted under applicable copyright law includes additional rights not granted under this License, such additional rights are deemed to be included in the License; this License is not intended to restrict the license of any rights under applicable law.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<component lightWeight="true">
|
<component lightWeight="true">
|
||||||
<attach event="onpropertychange" onevent="handlePropertychange()" />
|
<attach event="onpropertychange" onevent="handlePropertychange()" />
|
||||||
<attach event="ondetach" onevent="restore()" />
|
<attach event="ondetach" onevent="restore()" />
|
||||||
<attach event="onresize" for="window" onevent="handleResize()" />
|
<attach event="onresize" for="window" onevent="handleResize()" />
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var rsrc=/url\(["']?(.*?)["']?\)/,positions={top:0,left:0,bottom:1,right:1,center:0.5},doc=element.document;init(); function init(){var b=doc.createElement("div"),a=doc.createElement("img"),c,d;b.style.position="absolute";b.style.zIndex=-1;b.style.top=0;b.style.right=0;b.style.left=0;b.style.bottom=0;b.style.overflow="hidden";a.style.position="absolute";a.style.width=a.style.width="auto";b.appendChild(a);element.insertBefore(b,element.firstChild);d=[element.currentStyle.backgroundPositionX,element.currentStyle.backgroundPositionY];element.bgsExpando=c={wrapper:b,img:a,backgroundSize:element.currentStyle["background-size"], backgroundPositionX:positions[d[0]]||parseFloat(d[0])/100,backgroundPositionY:positions[d[1]]||parseFloat(d[1])/100};"auto"==element.currentStyle.zIndex&&(element.style.zIndex=0);"static"==element.currentStyle.position&&(element.style.position="relative");refreshDisplay(element,c)&&(refreshDimensions(element,c),refreshBackgroundImage(element,c,function(){updateBackground(element,c)}))} function refreshDisplay(b,a){var c=b.currentStyle.display;c!=a.display&&(a.display=c,a.somethingChanged=!0);return"none"!=c}function refreshDimensions(b,a){var c=b.offsetWidth-(parseFloat(b.currentStyle.borderLeftWidth)||0)-(parseFloat(b.currentStyle.borderRightWidth)||0),d=b.offsetHeight-(parseFloat(b.currentStyle.borderTopWidth)||0)-(parseFloat(b.currentStyle.borderBottomWidth)||0);if(c!=a.innerWidth||d!=a.innerHeight)a.innerWidth=c,a.innerHeight=d,a.somethingChanged=!0} function refreshBackgroundImage(b,a,c){var d=a.img,e=(rsrc.exec(b.currentStyle.backgroundImage)||[])[1];if(e&&e!=a.backgroundSrc){a.backgroundSrc=e;a.somethingChanged=!0;d.onload=function(){var b=d.width,e=d.height;1==b&&1==e||(a.imgWidth=b,a.imgHeight=e,a.constrain=!1,c(),d.style.visibility="visible",d.onload=null)};d.style.visibility="hidden";d.src=a.backgroundSrc;if(d.readyState||d.complete)d.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",d.src=a.backgroundSrc;a.ignoreNextPropertyChange= !0;b.style.backgroundImage="none"}else c()} function updateBackground(b,a){if(a.somethingChanged){var c=a.img,d=a.innerWidth/a.innerHeight,e=a.imgWidth/a.imgHeight,f=a.constrain;"contain"==a.backgroundSize?e>d?(a.constrain=d="width",e=Math.floor((a.innerHeight-a.innerWidth/e)*a.backgroundPositionY),c.style.top=e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)):(a.constrain=d="height",e=Math.floor((a.innerWidth-a.innerHeight*e)*a.backgroundPositionX),c.style.left=e+"px",d!=f&&(c.style.width="auto",c.style.height="100%", c.style.top=0)):"cover"==a.backgroundSize&&(e>d?(a.constrain=d="height",e=Math.floor((a.innerHeight*e-a.innerWidth)*a.backgroundPositionX),c.style.left=-e+"px",d!=f&&(c.style.width="auto",c.style.height="100%",c.style.top=0)):(a.constrain=d="width",e=Math.floor((a.innerWidth/e-a.innerHeight)*a.backgroundPositionY),c.style.top=-e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)));a.somethingChanged=!1}} function handlePropertychange(){var b=element.bgsExpando;b.ignoreNextPropertyChange?b.ignoreNextPropertyChange=!1:refreshDisplay(element,b)&&(refreshDimensions(element,b),refreshBackgroundImage(element,b,function(){updateBackground(element,b)}))}function handleResize(){var b=element.bgsExpando;"none"!=b.display&&(refreshDimensions(element,b),updateBackground(element,b))} function restore(){var b=element.bgsExpando;try{element.style.backgroundImage="url('"+b.backgroundSrc+"')",element.removeChild(b.wrapper),element.bgsExpando=null}catch(a){}};
|
var rsrc=/url\(["']?(.*?)["']?\)/,positions={top:0,left:0,bottom:1,right:1,center:0.5},doc=element.document;init(); function init(){var b=doc.createElement("div"),a=doc.createElement("img"),c,d;b.style.position="absolute";b.style.zIndex=-1;b.style.top=0;b.style.right=0;b.style.left=0;b.style.bottom=0;b.style.overflow="hidden";a.style.position="absolute";a.style.width=a.style.width="auto";b.appendChild(a);element.insertBefore(b,element.firstChild);d=[element.currentStyle.backgroundPositionX,element.currentStyle.backgroundPositionY];element.bgsExpando=c={wrapper:b,img:a,backgroundSize:element.currentStyle["background-size"], backgroundPositionX:positions[d[0]]||parseFloat(d[0])/100,backgroundPositionY:positions[d[1]]||parseFloat(d[1])/100};"auto"==element.currentStyle.zIndex&&(element.style.zIndex=0);"static"==element.currentStyle.position&&(element.style.position="relative");refreshDisplay(element,c)&&(refreshDimensions(element,c),refreshBackgroundImage(element,c,function(){updateBackground(element,c)}))} function refreshDisplay(b,a){var c=b.currentStyle.display;c!=a.display&&(a.display=c,a.somethingChanged=!0);return"none"!=c}function refreshDimensions(b,a){var c=b.offsetWidth-(parseFloat(b.currentStyle.borderLeftWidth)||0)-(parseFloat(b.currentStyle.borderRightWidth)||0),d=b.offsetHeight-(parseFloat(b.currentStyle.borderTopWidth)||0)-(parseFloat(b.currentStyle.borderBottomWidth)||0);if(c!=a.innerWidth||d!=a.innerHeight)a.innerWidth=c,a.innerHeight=d,a.somethingChanged=!0} function refreshBackgroundImage(b,a,c){var d=a.img,e=(rsrc.exec(b.currentStyle.backgroundImage)||[])[1];if(e&&e!=a.backgroundSrc){a.backgroundSrc=e;a.somethingChanged=!0;d.onload=function(){var b=d.width,e=d.height;1==b&&1==e||(a.imgWidth=b,a.imgHeight=e,a.constrain=!1,c(),d.style.visibility="visible",d.onload=null)};d.style.visibility="hidden";d.src=a.backgroundSrc;if(d.readyState||d.complete)d.src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==",d.src=a.backgroundSrc;a.ignoreNextPropertyChange= !0;b.style.backgroundImage="none"}else c()} function updateBackground(b,a){if(a.somethingChanged){var c=a.img,d=a.innerWidth/a.innerHeight,e=a.imgWidth/a.imgHeight,f=a.constrain;"contain"==a.backgroundSize?e>d?(a.constrain=d="width",e=Math.floor((a.innerHeight-a.innerWidth/e)*a.backgroundPositionY),c.style.top=e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)):(a.constrain=d="height",e=Math.floor((a.innerWidth-a.innerHeight*e)*a.backgroundPositionX),c.style.left=e+"px",d!=f&&(c.style.width="auto",c.style.height="100%", c.style.top=0)):"cover"==a.backgroundSize&&(e>d?(a.constrain=d="height",e=Math.floor((a.innerHeight*e-a.innerWidth)*a.backgroundPositionX),c.style.left=-e+"px",d!=f&&(c.style.width="auto",c.style.height="100%",c.style.top=0)):(a.constrain=d="width",e=Math.floor((a.innerWidth/e-a.innerHeight)*a.backgroundPositionY),c.style.top=-e+"px",d!=f&&(c.style.width="100%",c.style.height="auto",c.style.left=0)));a.somethingChanged=!1}} function handlePropertychange(){var b=element.bgsExpando;b.ignoreNextPropertyChange?b.ignoreNextPropertyChange=!1:refreshDisplay(element,b)&&(refreshDimensions(element,b),refreshBackgroundImage(element,b,function(){updateBackground(element,b)}))}function handleResize(){var b=element.bgsExpando;"none"!=b.display&&(refreshDimensions(element,b),updateBackground(element,b))} function restore(){var b=element.bgsExpando;try{element.style.backgroundImage="url('"+b.backgroundSrc+"')",element.removeChild(b.wrapper),element.bgsExpando=null}catch(a){}};
|
||||||
</script>
|
</script>
|
2
www/assets/js/jquery.dropotron.min.js
vendored
2
www/assets/js/jquery.dropotron.min.js
vendored
File diff suppressed because one or more lines are too long
@ -1,86 +1,86 @@
|
|||||||
/*
|
/*
|
||||||
Arcana by HTML5 UP
|
Arcana by HTML5 UP
|
||||||
html5up.net | @ajlkn
|
html5up.net | @ajlkn
|
||||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function($) {
|
(function($) {
|
||||||
|
|
||||||
skel.breakpoints({
|
skel.breakpoints({
|
||||||
wide: '(max-width: 1680px)',
|
wide: '(max-width: 1680px)',
|
||||||
normal: '(max-width: 1280px)',
|
normal: '(max-width: 1280px)',
|
||||||
narrow: '(max-width: 980px)',
|
narrow: '(max-width: 980px)',
|
||||||
narrower: '(max-width: 840px)',
|
narrower: '(max-width: 840px)',
|
||||||
mobile: '(max-width: 736px)',
|
mobile: '(max-width: 736px)',
|
||||||
mobilep: '(max-width: 480px)'
|
mobilep: '(max-width: 480px)'
|
||||||
});
|
});
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
|
|
||||||
var $window = $(window),
|
var $window = $(window),
|
||||||
$body = $('body');
|
$body = $('body');
|
||||||
|
|
||||||
// Disable animations/transitions until the page has loaded.
|
// Disable animations/transitions until the page has loaded.
|
||||||
$body.addClass('is-loading');
|
$body.addClass('is-loading');
|
||||||
|
|
||||||
$window.on('load', function() {
|
$window.on('load', function() {
|
||||||
$body.removeClass('is-loading');
|
$body.removeClass('is-loading');
|
||||||
});
|
});
|
||||||
|
|
||||||
// Fix: Placeholder polyfill.
|
// Fix: Placeholder polyfill.
|
||||||
$('form').placeholder();
|
$('form').placeholder();
|
||||||
|
|
||||||
// Prioritize "important" elements on narrower.
|
// Prioritize "important" elements on narrower.
|
||||||
skel.on('+narrower -narrower', function() {
|
skel.on('+narrower -narrower', function() {
|
||||||
$.prioritize(
|
$.prioritize(
|
||||||
'.important\\28 narrower\\29',
|
'.important\\28 narrower\\29',
|
||||||
skel.breakpoint('narrower').active
|
skel.breakpoint('narrower').active
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
// Dropdowns.
|
// Dropdowns.
|
||||||
$('#nav > ul').dropotron({
|
$('#nav > ul').dropotron({
|
||||||
offsetY: -15,
|
offsetY: -15,
|
||||||
hoverDelay: 0,
|
hoverDelay: 0,
|
||||||
alignment: 'center'
|
alignment: 'center'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Off-Canvas Navigation.
|
// Off-Canvas Navigation.
|
||||||
|
|
||||||
// Title Bar.
|
// Title Bar.
|
||||||
$(
|
$(
|
||||||
'<div id="titleBar">' +
|
'<div id="titleBar">' +
|
||||||
'<a href="#navPanel" class="toggle"></a>' +
|
'<a href="#navPanel" class="toggle"></a>' +
|
||||||
'<span class="title">' + $('#logo').html() + '</span>' +
|
'<span class="title">' + $('#logo').html() + '</span>' +
|
||||||
'</div>'
|
'</div>'
|
||||||
)
|
)
|
||||||
.appendTo($body);
|
.appendTo($body);
|
||||||
|
|
||||||
// Navigation Panel.
|
// Navigation Panel.
|
||||||
$(
|
$(
|
||||||
'<div id="navPanel">' +
|
'<div id="navPanel">' +
|
||||||
'<nav>' +
|
'<nav>' +
|
||||||
$('#nav').navList() +
|
$('#nav').navList() +
|
||||||
'</nav>' +
|
'</nav>' +
|
||||||
'</div>'
|
'</div>'
|
||||||
)
|
)
|
||||||
.appendTo($body)
|
.appendTo($body)
|
||||||
.panel({
|
.panel({
|
||||||
delay: 500,
|
delay: 500,
|
||||||
hideOnClick: true,
|
hideOnClick: true,
|
||||||
hideOnSwipe: true,
|
hideOnSwipe: true,
|
||||||
resetScroll: true,
|
resetScroll: true,
|
||||||
resetForms: true,
|
resetForms: true,
|
||||||
side: 'left',
|
side: 'left',
|
||||||
target: $body,
|
target: $body,
|
||||||
visibleClass: 'navPanel-visible'
|
visibleClass: 'navPanel-visible'
|
||||||
});
|
});
|
||||||
|
|
||||||
// Fix: Remove navPanel transitions on WP<10 (poor/buggy performance).
|
// Fix: Remove navPanel transitions on WP<10 (poor/buggy performance).
|
||||||
if (skel.vars.os == 'wp' && skel.vars.osVersion < 10)
|
if (skel.vars.os == 'wp' && skel.vars.osVersion < 10)
|
||||||
$('#titleBar, #navPanel, #page-wrapper')
|
$('#titleBar, #navPanel, #page-wrapper')
|
||||||
.css('transition', 'none');
|
.css('transition', 'none');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
})(jQuery);
|
})(jQuery);
|
2
www/assets/js/skel.min.js
vendored
2
www/assets/js/skel.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@ -1,23 +1,23 @@
|
|||||||
@import 'libs/vars';
|
@import 'libs/vars';
|
||||||
@import 'libs/functions';
|
@import 'libs/functions';
|
||||||
@import 'libs/mixins';
|
@import 'libs/mixins';
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Arcana by HTML5 UP
|
Arcana by HTML5 UP
|
||||||
html5up.net | @ajlkn
|
html5up.net | @ajlkn
|
||||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Header */
|
/* Header */
|
||||||
|
|
||||||
#nav {
|
#nav {
|
||||||
> ul {
|
> ul {
|
||||||
> li {
|
> li {
|
||||||
&.current {
|
&.current {
|
||||||
&:before {
|
&:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,34 +1,34 @@
|
|||||||
/// Gets a duration value.
|
/// Gets a duration value.
|
||||||
/// @param {string} $keys Key(s).
|
/// @param {string} $keys Key(s).
|
||||||
/// @return {string} Value.
|
/// @return {string} Value.
|
||||||
@function _duration($keys...) {
|
@function _duration($keys...) {
|
||||||
@return val($duration, $keys...);
|
@return val($duration, $keys...);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets a font value.
|
/// Gets a font value.
|
||||||
/// @param {string} $keys Key(s).
|
/// @param {string} $keys Key(s).
|
||||||
/// @return {string} Value.
|
/// @return {string} Value.
|
||||||
@function _font($keys...) {
|
@function _font($keys...) {
|
||||||
@return val($font, $keys...);
|
@return val($font, $keys...);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets a misc value.
|
/// Gets a misc value.
|
||||||
/// @param {string} $keys Key(s).
|
/// @param {string} $keys Key(s).
|
||||||
/// @return {string} Value.
|
/// @return {string} Value.
|
||||||
@function _misc($keys...) {
|
@function _misc($keys...) {
|
||||||
@return val($misc, $keys...);
|
@return val($misc, $keys...);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets a palette value.
|
/// Gets a palette value.
|
||||||
/// @param {string} $keys Key(s).
|
/// @param {string} $keys Key(s).
|
||||||
/// @return {string} Value.
|
/// @return {string} Value.
|
||||||
@function _palette($keys...) {
|
@function _palette($keys...) {
|
||||||
@return val($palette, $keys...);
|
@return val($palette, $keys...);
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Gets a size value.
|
/// Gets a size value.
|
||||||
/// @param {string} $keys Key(s).
|
/// @param {string} $keys Key(s).
|
||||||
/// @return {string} Value.
|
/// @return {string} Value.
|
||||||
@function _size($keys...) {
|
@function _size($keys...) {
|
||||||
@return val($size, $keys...);
|
@return val($size, $keys...);
|
||||||
}
|
}
|
@ -1,398 +1,398 @@
|
|||||||
/// Makes an element's :before pseudoelement a FontAwesome icon.
|
/// Makes an element's :before pseudoelement a FontAwesome icon.
|
||||||
/// @param {string} $content Optional content value to use.
|
/// @param {string} $content Optional content value to use.
|
||||||
/// @param {string} $where Optional pseudoelement to target (before or after).
|
/// @param {string} $where Optional pseudoelement to target (before or after).
|
||||||
@mixin icon($content: false, $where: before) {
|
@mixin icon($content: false, $where: before) {
|
||||||
|
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:#{$where} {
|
&:#{$where} {
|
||||||
|
|
||||||
@if $content {
|
@if $content {
|
||||||
content: $content;
|
content: $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
text-transform: none !important;
|
text-transform: none !important;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Applies padding to an element, taking the current element-margin value into account.
|
/// Applies padding to an element, taking the current element-margin value into account.
|
||||||
/// @param {mixed} $tb Top/bottom padding.
|
/// @param {mixed} $tb Top/bottom padding.
|
||||||
/// @param {mixed} $lr Left/right padding.
|
/// @param {mixed} $lr Left/right padding.
|
||||||
/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
|
/// @param {list} $pad Optional extra padding (in the following order top, right, bottom, left)
|
||||||
/// @param {bool} $important If true, adds !important.
|
/// @param {bool} $important If true, adds !important.
|
||||||
@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
|
@mixin padding($tb, $lr, $pad: (0,0,0,0), $important: null) {
|
||||||
|
|
||||||
@if $important {
|
@if $important {
|
||||||
$important: '!important';
|
$important: '!important';
|
||||||
}
|
}
|
||||||
|
|
||||||
$x: 0.1em;
|
$x: 0.1em;
|
||||||
|
|
||||||
@if unit(_size(element-margin)) == 'rem' {
|
@if unit(_size(element-margin)) == 'rem' {
|
||||||
$x: 0.1rem;
|
$x: 0.1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
|
padding: ($tb + nth($pad,1)) ($lr + nth($pad,2)) max($x, $tb - _size(element-margin) + nth($pad,3)) ($lr + nth($pad,4)) #{$important};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
|
/// Encodes a SVG data URL so IE doesn't choke (via codepen.io/jakob-e/pen/YXXBrp).
|
||||||
/// @param {string} $svg SVG data URL.
|
/// @param {string} $svg SVG data URL.
|
||||||
/// @return {string} Encoded SVG data URL.
|
/// @return {string} Encoded SVG data URL.
|
||||||
@function svg-url($svg) {
|
@function svg-url($svg) {
|
||||||
|
|
||||||
$svg: str-replace($svg, '"', '\'');
|
$svg: str-replace($svg, '"', '\'');
|
||||||
$svg: str-replace($svg, '%', '%25');
|
$svg: str-replace($svg, '%', '%25');
|
||||||
$svg: str-replace($svg, '<', '%3C');
|
$svg: str-replace($svg, '<', '%3C');
|
||||||
$svg: str-replace($svg, '>', '%3E');
|
$svg: str-replace($svg, '>', '%3E');
|
||||||
$svg: str-replace($svg, '&', '%26');
|
$svg: str-replace($svg, '&', '%26');
|
||||||
$svg: str-replace($svg, '#', '%23');
|
$svg: str-replace($svg, '#', '%23');
|
||||||
$svg: str-replace($svg, '{', '%7B');
|
$svg: str-replace($svg, '{', '%7B');
|
||||||
$svg: str-replace($svg, '}', '%7D');
|
$svg: str-replace($svg, '}', '%7D');
|
||||||
$svg: str-replace($svg, ';', '%3B');
|
$svg: str-replace($svg, ';', '%3B');
|
||||||
|
|
||||||
@return url("data:image/svg+xml;charset=utf8,#{$svg}");
|
@return url("data:image/svg+xml;charset=utf8,#{$svg}");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Initializes base flexgrid classes.
|
/// Initializes base flexgrid classes.
|
||||||
/// @param {string} $vertical-align Vertical alignment of cells.
|
/// @param {string} $vertical-align Vertical alignment of cells.
|
||||||
/// @param {string} $horizontal-align Horizontal alignment of cells.
|
/// @param {string} $horizontal-align Horizontal alignment of cells.
|
||||||
@mixin flexgrid-base($vertical-align: null, $horizontal-align: null) {
|
@mixin flexgrid-base($vertical-align: null, $horizontal-align: null) {
|
||||||
|
|
||||||
// Grid.
|
// Grid.
|
||||||
@include vendor('display', 'flex');
|
@include vendor('display', 'flex');
|
||||||
@include vendor('flex-wrap', 'wrap');
|
@include vendor('flex-wrap', 'wrap');
|
||||||
|
|
||||||
// Vertical alignment.
|
// Vertical alignment.
|
||||||
@if ($vertical-align == top) {
|
@if ($vertical-align == top) {
|
||||||
@include vendor('align-items', 'flex-start');
|
@include vendor('align-items', 'flex-start');
|
||||||
}
|
}
|
||||||
@else if ($vertical-align == bottom) {
|
@else if ($vertical-align == bottom) {
|
||||||
@include vendor('align-items', 'flex-end');
|
@include vendor('align-items', 'flex-end');
|
||||||
}
|
}
|
||||||
@else if ($vertical-align == center) {
|
@else if ($vertical-align == center) {
|
||||||
@include vendor('align-items', 'center');
|
@include vendor('align-items', 'center');
|
||||||
}
|
}
|
||||||
@else {
|
@else {
|
||||||
@include vendor('align-items', 'stretch');
|
@include vendor('align-items', 'stretch');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Horizontal alignment.
|
// Horizontal alignment.
|
||||||
@if ($horizontal-align != null) {
|
@if ($horizontal-align != null) {
|
||||||
text-align: $horizontal-align;
|
text-align: $horizontal-align;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cells.
|
// Cells.
|
||||||
> * {
|
> * {
|
||||||
@include vendor('flex-shrink', '1');
|
@include vendor('flex-shrink', '1');
|
||||||
@include vendor('flex-grow', '0');
|
@include vendor('flex-grow', '0');
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets up flexgrid columns.
|
/// Sets up flexgrid columns.
|
||||||
/// @param {integer} $columns Columns.
|
/// @param {integer} $columns Columns.
|
||||||
@mixin flexgrid-columns($columns) {
|
@mixin flexgrid-columns($columns) {
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
$cell-width: 100% / $columns;
|
$cell-width: 100% / $columns;
|
||||||
width: #{$cell-width};
|
width: #{$cell-width};
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets up flexgrid gutters.
|
/// Sets up flexgrid gutters.
|
||||||
/// @param {integer} $columns Columns.
|
/// @param {integer} $columns Columns.
|
||||||
/// @param {number} $gutters Gutters.
|
/// @param {number} $gutters Gutters.
|
||||||
@mixin flexgrid-gutters($columns, $gutters) {
|
@mixin flexgrid-gutters($columns, $gutters) {
|
||||||
|
|
||||||
// Apply padding.
|
// Apply padding.
|
||||||
> * {
|
> * {
|
||||||
$cell-width: 100% / $columns;
|
$cell-width: 100% / $columns;
|
||||||
|
|
||||||
padding: ($gutters * 0.5);
|
padding: ($gutters * 0.5);
|
||||||
width: $cell-width;
|
width: $cell-width;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Sets up flexgrid gutters (flush).
|
/// Sets up flexgrid gutters (flush).
|
||||||
/// @param {integer} $columns Columns.
|
/// @param {integer} $columns Columns.
|
||||||
/// @param {number} $gutters Gutters.
|
/// @param {number} $gutters Gutters.
|
||||||
@mixin flexgrid-gutters-flush($columns, $gutters) {
|
@mixin flexgrid-gutters-flush($columns, $gutters) {
|
||||||
|
|
||||||
// Apply padding.
|
// Apply padding.
|
||||||
> * {
|
> * {
|
||||||
$cell-width: 100% / $columns;
|
$cell-width: 100% / $columns;
|
||||||
$cell-width-pad: $gutters / $columns;
|
$cell-width-pad: $gutters / $columns;
|
||||||
|
|
||||||
padding: ($gutters * 0.5);
|
padding: ($gutters * 0.5);
|
||||||
width: calc(#{$cell-width} + #{$cell-width-pad});
|
width: calc(#{$cell-width} + #{$cell-width-pad});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear top/bottom gutters.
|
// Clear top/bottom gutters.
|
||||||
> :nth-child(-n + #{$columns}) {
|
> :nth-child(-n + #{$columns}) {
|
||||||
padding-top: 0;
|
padding-top: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> :nth-last-child(-n + #{$columns}) {
|
> :nth-last-child(-n + #{$columns}) {
|
||||||
padding-bottom: 0;
|
padding-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear left/right gutters.
|
// Clear left/right gutters.
|
||||||
> :nth-child(#{$columns}n + 1) {
|
> :nth-child(#{$columns}n + 1) {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
> :nth-child(#{$columns}n) {
|
> :nth-child(#{$columns}n) {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust widths of leftmost and rightmost cells.
|
// Adjust widths of leftmost and rightmost cells.
|
||||||
> :nth-child(#{$columns}n + 1),
|
> :nth-child(#{$columns}n + 1),
|
||||||
> :nth-child(#{$columns}n) {
|
> :nth-child(#{$columns}n) {
|
||||||
$cell-width: 100% / $columns;
|
$cell-width: 100% / $columns;
|
||||||
$cell-width-pad: ($gutters / $columns) - ($gutters / 2);
|
$cell-width-pad: ($gutters / $columns) - ($gutters / 2);
|
||||||
|
|
||||||
width: calc(#{$cell-width} + #{$cell-width-pad});
|
width: calc(#{$cell-width} + #{$cell-width-pad});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Reset flexgrid gutters (flush only).
|
/// Reset flexgrid gutters (flush only).
|
||||||
/// Used to override a previous set of flexgrid gutter classes.
|
/// Used to override a previous set of flexgrid gutter classes.
|
||||||
/// @param {integer} $columns Columns.
|
/// @param {integer} $columns Columns.
|
||||||
/// @param {number} $gutters Gutters.
|
/// @param {number} $gutters Gutters.
|
||||||
/// @param {integer} $prev-columns Previous columns.
|
/// @param {integer} $prev-columns Previous columns.
|
||||||
@mixin flexgrid-gutters-flush-reset($columns, $gutters, $prev-columns) {
|
@mixin flexgrid-gutters-flush-reset($columns, $gutters, $prev-columns) {
|
||||||
|
|
||||||
// Apply padding.
|
// Apply padding.
|
||||||
> * {
|
> * {
|
||||||
$cell-width: 100% / $prev-columns;
|
$cell-width: 100% / $prev-columns;
|
||||||
$cell-width-pad: $gutters / $prev-columns;
|
$cell-width-pad: $gutters / $prev-columns;
|
||||||
|
|
||||||
padding: ($gutters * 0.5);
|
padding: ($gutters * 0.5);
|
||||||
width: calc(#{$cell-width} + #{$cell-width-pad});
|
width: calc(#{$cell-width} + #{$cell-width-pad});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear top/bottom gutters.
|
// Clear top/bottom gutters.
|
||||||
> :nth-child(-n + #{$prev-columns}) {
|
> :nth-child(-n + #{$prev-columns}) {
|
||||||
padding-top: ($gutters * 0.5);
|
padding-top: ($gutters * 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
> :nth-last-child(-n + #{$prev-columns}) {
|
> :nth-last-child(-n + #{$prev-columns}) {
|
||||||
padding-bottom: ($gutters * 0.5);
|
padding-bottom: ($gutters * 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Clear left/right gutters.
|
// Clear left/right gutters.
|
||||||
> :nth-child(#{$prev-columns}n + 1) {
|
> :nth-child(#{$prev-columns}n + 1) {
|
||||||
padding-left: ($gutters * 0.5);
|
padding-left: ($gutters * 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
> :nth-child(#{$prev-columns}n) {
|
> :nth-child(#{$prev-columns}n) {
|
||||||
padding-right: ($gutters * 0.5);
|
padding-right: ($gutters * 0.5);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust widths of leftmost and rightmost cells.
|
// Adjust widths of leftmost and rightmost cells.
|
||||||
> :nth-child(#{$prev-columns}n + 1),
|
> :nth-child(#{$prev-columns}n + 1),
|
||||||
> :nth-child(#{$prev-columns}n) {
|
> :nth-child(#{$prev-columns}n) {
|
||||||
$cell-width: 100% / $columns;
|
$cell-width: 100% / $columns;
|
||||||
$cell-width-pad: $gutters / $columns;
|
$cell-width-pad: $gutters / $columns;
|
||||||
|
|
||||||
padding: ($gutters * 0.5);
|
padding: ($gutters * 0.5);
|
||||||
width: calc(#{$cell-width} + #{$cell-width-pad});
|
width: calc(#{$cell-width} + #{$cell-width-pad});
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Adds debug styles to current flexgrid element.
|
/// Adds debug styles to current flexgrid element.
|
||||||
@mixin flexgrid-debug() {
|
@mixin flexgrid-debug() {
|
||||||
|
|
||||||
box-shadow: 0 0 0 1px red;
|
box-shadow: 0 0 0 1px red;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
box-shadow: inset 0 0 0 1px blue;
|
box-shadow: inset 0 0 0 1px blue;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
> * {
|
> * {
|
||||||
position: relative;
|
position: relative;
|
||||||
box-shadow: inset 0 0 0 1px green;
|
box-shadow: inset 0 0 0 1px green;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Initializes the current element as a flexgrid.
|
/// Initializes the current element as a flexgrid.
|
||||||
/// @param {integer} $columns Columns (optional).
|
/// @param {integer} $columns Columns (optional).
|
||||||
/// @param {number} $gutters Gutters (optional).
|
/// @param {number} $gutters Gutters (optional).
|
||||||
/// @param {bool} $flush If true, clears padding around the very edge of the grid.
|
/// @param {bool} $flush If true, clears padding around the very edge of the grid.
|
||||||
@mixin flexgrid($settings: ()) {
|
@mixin flexgrid($settings: ()) {
|
||||||
|
|
||||||
// Settings.
|
// Settings.
|
||||||
|
|
||||||
// Debug.
|
// Debug.
|
||||||
$debug: false;
|
$debug: false;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'debug')) {
|
@if (map-has-key($settings, 'debug')) {
|
||||||
$debug: map-get($settings, 'debug');
|
$debug: map-get($settings, 'debug');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vertical align.
|
// Vertical align.
|
||||||
$vertical-align: null;
|
$vertical-align: null;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'vertical-align')) {
|
@if (map-has-key($settings, 'vertical-align')) {
|
||||||
$vertical-align: map-get($settings, 'vertical-align');
|
$vertical-align: map-get($settings, 'vertical-align');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Horizontal align.
|
// Horizontal align.
|
||||||
$horizontal-align: null;
|
$horizontal-align: null;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'horizontal-align')) {
|
@if (map-has-key($settings, 'horizontal-align')) {
|
||||||
$horizontal-align: map-get($settings, 'horizontal-align');
|
$horizontal-align: map-get($settings, 'horizontal-align');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Columns.
|
// Columns.
|
||||||
$columns: null;
|
$columns: null;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'columns')) {
|
@if (map-has-key($settings, 'columns')) {
|
||||||
$columns: map-get($settings, 'columns');
|
$columns: map-get($settings, 'columns');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gutters.
|
// Gutters.
|
||||||
$gutters: 0;
|
$gutters: 0;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'gutters')) {
|
@if (map-has-key($settings, 'gutters')) {
|
||||||
$gutters: map-get($settings, 'gutters');
|
$gutters: map-get($settings, 'gutters');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flush.
|
// Flush.
|
||||||
$flush: true;
|
$flush: true;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'flush')) {
|
@if (map-has-key($settings, 'flush')) {
|
||||||
$flush: map-get($settings, 'flush');
|
$flush: map-get($settings, 'flush');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize base grid.
|
// Initialize base grid.
|
||||||
@include flexgrid-base($vertical-align, $horizontal-align);
|
@include flexgrid-base($vertical-align, $horizontal-align);
|
||||||
|
|
||||||
// Debug?
|
// Debug?
|
||||||
@if ($debug) {
|
@if ($debug) {
|
||||||
@include flexgrid-debug;
|
@include flexgrid-debug;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Columns specified?
|
// Columns specified?
|
||||||
@if ($columns != null) {
|
@if ($columns != null) {
|
||||||
|
|
||||||
// Initialize columns.
|
// Initialize columns.
|
||||||
@include flexgrid-columns($columns);
|
@include flexgrid-columns($columns);
|
||||||
|
|
||||||
// Gutters specified?
|
// Gutters specified?
|
||||||
@if ($gutters > 0) {
|
@if ($gutters > 0) {
|
||||||
|
|
||||||
// Flush gutters?
|
// Flush gutters?
|
||||||
@if ($flush) {
|
@if ($flush) {
|
||||||
|
|
||||||
// Initialize gutters (flush).
|
// Initialize gutters (flush).
|
||||||
@include flexgrid-gutters-flush($columns, $gutters);
|
@include flexgrid-gutters-flush($columns, $gutters);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise ...
|
// Otherwise ...
|
||||||
@else {
|
@else {
|
||||||
|
|
||||||
// Initialize gutters.
|
// Initialize gutters.
|
||||||
@include flexgrid-gutters($columns, $gutters);
|
@include flexgrid-gutters($columns, $gutters);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Resizes a previously-initialized grid.
|
/// Resizes a previously-initialized grid.
|
||||||
/// @param {integer} $columns Columns.
|
/// @param {integer} $columns Columns.
|
||||||
/// @param {number} $gutters Gutters (optional).
|
/// @param {number} $gutters Gutters (optional).
|
||||||
/// @param {list} $reset A list of previously-initialized grid columns (only if $flush is true).
|
/// @param {list} $reset A list of previously-initialized grid columns (only if $flush is true).
|
||||||
/// @param {bool} $flush If true, clears padding around the very edge of the grid.
|
/// @param {bool} $flush If true, clears padding around the very edge of the grid.
|
||||||
@mixin flexgrid-resize($settings: ()) {
|
@mixin flexgrid-resize($settings: ()) {
|
||||||
|
|
||||||
// Settings.
|
// Settings.
|
||||||
|
|
||||||
// Columns.
|
// Columns.
|
||||||
$columns: 1;
|
$columns: 1;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'columns')) {
|
@if (map-has-key($settings, 'columns')) {
|
||||||
$columns: map-get($settings, 'columns');
|
$columns: map-get($settings, 'columns');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Gutters.
|
// Gutters.
|
||||||
$gutters: 0;
|
$gutters: 0;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'gutters')) {
|
@if (map-has-key($settings, 'gutters')) {
|
||||||
$gutters: map-get($settings, 'gutters');
|
$gutters: map-get($settings, 'gutters');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Previous columns.
|
// Previous columns.
|
||||||
$prev-columns: false;
|
$prev-columns: false;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'prev-columns')) {
|
@if (map-has-key($settings, 'prev-columns')) {
|
||||||
$prev-columns: map-get($settings, 'prev-columns');
|
$prev-columns: map-get($settings, 'prev-columns');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Flush.
|
// Flush.
|
||||||
$flush: true;
|
$flush: true;
|
||||||
|
|
||||||
@if (map-has-key($settings, 'flush')) {
|
@if (map-has-key($settings, 'flush')) {
|
||||||
$flush: map-get($settings, 'flush');
|
$flush: map-get($settings, 'flush');
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resize columns.
|
// Resize columns.
|
||||||
@include flexgrid-columns($columns);
|
@include flexgrid-columns($columns);
|
||||||
|
|
||||||
// Gutters specified?
|
// Gutters specified?
|
||||||
@if ($gutters > 0) {
|
@if ($gutters > 0) {
|
||||||
|
|
||||||
// Flush gutters?
|
// Flush gutters?
|
||||||
@if ($flush) {
|
@if ($flush) {
|
||||||
|
|
||||||
// Previous columns specified?
|
// Previous columns specified?
|
||||||
@if ($prev-columns) {
|
@if ($prev-columns) {
|
||||||
|
|
||||||
// Convert to list if it isn't one already.
|
// Convert to list if it isn't one already.
|
||||||
@if (type-of($prev-columns) != list) {
|
@if (type-of($prev-columns) != list) {
|
||||||
$prev-columns: ($prev-columns);
|
$prev-columns: ($prev-columns);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Step through list of previous columns and reset them.
|
// Step through list of previous columns and reset them.
|
||||||
@each $x in $prev-columns {
|
@each $x in $prev-columns {
|
||||||
@include flexgrid-gutters-flush-reset($columns, $gutters, $x);
|
@include flexgrid-gutters-flush-reset($columns, $gutters, $x);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Resize gutters (flush).
|
// Resize gutters (flush).
|
||||||
@include flexgrid-gutters-flush($columns, $gutters);
|
@include flexgrid-gutters-flush($columns, $gutters);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Otherwise ...
|
// Otherwise ...
|
||||||
@else {
|
@else {
|
||||||
|
|
||||||
// Resize gutters.
|
// Resize gutters.
|
||||||
@include flexgrid-gutters($columns, $gutters);
|
@include flexgrid-gutters($columns, $gutters);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
File diff suppressed because it is too large
Load Diff
@ -1,33 +1,33 @@
|
|||||||
// Misc.
|
// Misc.
|
||||||
$misc: (
|
$misc: (
|
||||||
z-index-base: 10000
|
z-index-base: 10000
|
||||||
);
|
);
|
||||||
|
|
||||||
// Duration.
|
// Duration.
|
||||||
$duration: (
|
$duration: (
|
||||||
navPanel: 0.5s
|
navPanel: 0.5s
|
||||||
);
|
);
|
||||||
|
|
||||||
// Size.
|
// Size.
|
||||||
$size: (
|
$size: (
|
||||||
navPanel: 275px,
|
navPanel: 275px,
|
||||||
radius: 5px
|
radius: 5px
|
||||||
);
|
);
|
||||||
|
|
||||||
// Font.
|
// Font.
|
||||||
$font: (
|
$font: (
|
||||||
);
|
);
|
||||||
|
|
||||||
// Palette.
|
// Palette.
|
||||||
$palette: (
|
$palette: (
|
||||||
bg: #f7f7f7,
|
bg: #f7f7f7,
|
||||||
fg: #474747,
|
fg: #474747,
|
||||||
fg-bold: #4c4c4c,
|
fg-bold: #4c4c4c,
|
||||||
fg-light: #999,
|
fg-light: #999,
|
||||||
border: #e0e0e0,
|
border: #e0e0e0,
|
||||||
|
|
||||||
accent: (
|
accent: (
|
||||||
bg: #37c0fb,
|
bg: #37c0fb,
|
||||||
fg: #fff
|
fg: #fff
|
||||||
)
|
)
|
||||||
);
|
);
|
388
www/index.html
388
www/index.html
@ -1,194 +1,194 @@
|
|||||||
<!DOCTYPE HTML>
|
<!DOCTYPE HTML>
|
||||||
<!--
|
<!--
|
||||||
Arcana by HTML5 UP
|
Arcana by HTML5 UP
|
||||||
html5up.net | @ajlkn
|
html5up.net | @ajlkn
|
||||||
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
||||||
-->
|
-->
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Zuul: Cross-Project CI/CD with Ansible</title>
|
<title>Zuul: Cross-Project CI/CD with Ansible</title>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||||
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
|
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
|
||||||
<link rel="stylesheet" href="assets/css/main.css" />
|
<link rel="stylesheet" href="assets/css/main.css" />
|
||||||
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
|
<!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
|
||||||
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
|
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="page-wrapper">
|
<div id="page-wrapper">
|
||||||
|
|
||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div id="header">
|
<div id="header">
|
||||||
|
|
||||||
<!-- Logo -->
|
<!-- Logo -->
|
||||||
<h1><a href="index.html" id="logo">Zuul</a></h1>
|
<h1><a href="index.html" id="logo">Zuul</a></h1>
|
||||||
|
|
||||||
<!-- Nav
|
<!-- Nav
|
||||||
<nav id="nav">
|
<nav id="nav">
|
||||||
<ul>
|
<ul>
|
||||||
<li class="current"><a href="index.html">Home</a></li>
|
<li class="current"><a href="index.html">Home</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Dropdown</a>
|
<a href="#">Dropdown</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Lorem dolor</a></li>
|
<li><a href="#">Lorem dolor</a></li>
|
||||||
<li><a href="#">Magna phasellus</a></li>
|
<li><a href="#">Magna phasellus</a></li>
|
||||||
<li><a href="#">Etiam sed tempus</a></li>
|
<li><a href="#">Etiam sed tempus</a></li>
|
||||||
<li>
|
<li>
|
||||||
<a href="#">Submenu</a>
|
<a href="#">Submenu</a>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="#">Lorem dolor</a></li>
|
<li><a href="#">Lorem dolor</a></li>
|
||||||
<li><a href="#">Phasellus magna</a></li>
|
<li><a href="#">Phasellus magna</a></li>
|
||||||
<li><a href="#">Magna phasellus</a></li>
|
<li><a href="#">Magna phasellus</a></li>
|
||||||
<li><a href="#">Etiam nisl</a></li>
|
<li><a href="#">Etiam nisl</a></li>
|
||||||
<li><a href="#">Veroeros feugiat</a></li>
|
<li><a href="#">Veroeros feugiat</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="#">Veroeros feugiat</a></li>
|
<li><a href="#">Veroeros feugiat</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="left-sidebar.html">Left Sidebar</a></li>
|
<li><a href="left-sidebar.html">Left Sidebar</a></li>
|
||||||
<li><a href="right-sidebar.html">Right Sidebar</a></li>
|
<li><a href="right-sidebar.html">Right Sidebar</a></li>
|
||||||
<li><a href="two-sidebar.html">Two Sidebar</a></li>
|
<li><a href="two-sidebar.html">Two Sidebar</a></li>
|
||||||
<li><a href="no-sidebar.html">No Sidebar</a></li>
|
<li><a href="no-sidebar.html">No Sidebar</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
-->
|
-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Banner -->
|
<!-- Banner -->
|
||||||
<section id="banner">
|
<section id="banner">
|
||||||
<header>
|
<header>
|
||||||
<h2>Cross-Project CI/CD with Ansible</h2>
|
<h2>Cross-Project CI/CD with Ansible</h2>
|
||||||
</header>
|
</header>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Highlights -->
|
<!-- Highlights -->
|
||||||
<section class="wrapper style1">
|
<section class="wrapper style1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row 200%">
|
<div class="row 200%">
|
||||||
<section class="4u 12u(narrower)">
|
<section class="4u 12u(narrower)">
|
||||||
<div class="box highlight">
|
<div class="box highlight">
|
||||||
<i class="icon major fa-gears"></i>
|
<i class="icon major fa-gears"></i>
|
||||||
<h3>Project Gating</h3>
|
<h3>Project Gating</h3>
|
||||||
<p>Keep your builds evergreen by automatically merging changes only if they pass tests.</p>
|
<p>Keep your builds evergreen by automatically merging changes only if they pass tests.</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="4u 12u(narrower)">
|
<section class="4u 12u(narrower)">
|
||||||
<div class="box highlight">
|
<div class="box highlight">
|
||||||
<i class="icon major fa-pencil"></i>
|
<i class="icon major fa-pencil"></i>
|
||||||
<h3>CI/CD with Ansible</h3>
|
<h3>CI/CD with Ansible</h3>
|
||||||
<p>Use the same Ansible to deploy your system and run your tests.</p>
|
<p>Use the same Ansible to deploy your system and run your tests.</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="4u 12u(narrower)">
|
<section class="4u 12u(narrower)">
|
||||||
<div class="box highlight">
|
<div class="box highlight">
|
||||||
<i class="icon major fa-wrench"></i>
|
<i class="icon major fa-wrench"></i>
|
||||||
<h3>Cross-Project Dependencies</h3>
|
<h3>Cross-Project Dependencies</h3>
|
||||||
<p>Easily test changes to multiple systems together before landing a single patch.</p>
|
<p>Easily test changes to multiple systems together before landing a single patch.</p>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Gigantic Heading -->
|
<!-- Gigantic Heading -->
|
||||||
<section class="wrapper style2">
|
<section class="wrapper style2">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header class="major">
|
<header class="major">
|
||||||
<h2>Tested at scale</h2>
|
<h2>Tested at scale</h2>
|
||||||
<p>Zuul powers some of the largest Open Source development efforts</p>
|
<p>Zuul powers some of the largest Open Source development efforts</p>
|
||||||
</header>
|
</header>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Posts -->
|
<!-- Posts -->
|
||||||
<section class="wrapper style1">
|
<section class="wrapper style1">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<section class="6u 12u(narrower)">
|
<section class="6u 12u(narrower)">
|
||||||
<div class="box post">
|
<div class="box post">
|
||||||
<a href="https://git.openstack.org/cgit/openstack-infra/zuul/tree/" class="image left"><img src="images/code.png" alt="" /></a>
|
<a href="https://git.openstack.org/cgit/openstack-infra/zuul/tree/" class="image left"><img src="images/code.png" alt="" /></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>Get the Source</h3>
|
<h3>Get the Source</h3>
|
||||||
<p>Zuul is Free and Open Source Software. Download the source from <a href="https://git.openstack.org/cgit/openstack-infra/zuul/tree/">git.openstack.org</a> or install it from <a href="https://pypi.python.org/pypi/zuul/">PyPI</a></p>
|
<p>Zuul is Free and Open Source Software. Download the source from <a href="https://git.openstack.org/cgit/openstack-infra/zuul/tree/">git.openstack.org</a> or install it from <a href="https://pypi.python.org/pypi/zuul/">PyPI</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="6u 12u(narrower)">
|
<section class="6u 12u(narrower)">
|
||||||
<div class="box post">
|
<div class="box post">
|
||||||
<a href="#" class="image left"><img src="images/docs.png" alt="" /></a>
|
<a href="#" class="image left"><img src="images/docs.png" alt="" /></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>Read the Docs</h3>
|
<h3>Read the Docs</h3>
|
||||||
<p>Zuul has extensive <a href="https://docs.openstack.org/infra/zuul/">documentation</a>.</p>
|
<p>Zuul has extensive <a href="https://docs.openstack.org/infra/zuul/">documentation</a>.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<section class="6u 12u(narrower)">
|
<section class="6u 12u(narrower)">
|
||||||
<div class="box post">
|
<div class="box post">
|
||||||
<a href="#" class="image left"><img src="images/lists.png" alt="" /></a>
|
<a href="#" class="image left"><img src="images/lists.png" alt="" /></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>Join the Mailing List</h3>
|
<h3>Join the Mailing List</h3>
|
||||||
<p>Zuul has <a href="http://lists.zuul-ci.org/cgi-bin/mailman/listinfo">mailing lists</a> for announcements and discussions.</p>
|
<p>Zuul has <a href="http://lists.zuul-ci.org/cgi-bin/mailman/listinfo">mailing lists</a> for announcements and discussions.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<section class="6u 12u(narrower)">
|
<section class="6u 12u(narrower)">
|
||||||
<div class="box post">
|
<div class="box post">
|
||||||
<a href="#" class="image left"><img src="images/irc.png" alt="" /></a>
|
<a href="#" class="image left"><img src="images/irc.png" alt="" /></a>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h3>Chat on IRC</h3>
|
<h3>Chat on IRC</h3>
|
||||||
<p>Join <a href="http://webchat.freenode.net/?channels=%23zuul">#zuul</a> on FreeNode</p>
|
<p>Join <a href="http://webchat.freenode.net/?channels=%23zuul">#zuul</a> on FreeNode</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<!-- Footer -->
|
<!-- Footer -->
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<section class="3u 6u(narrower) 12u$(mobilep)">
|
<section class="3u 6u(narrower) 12u$(mobilep)">
|
||||||
<h3>Get Zuul</h3>
|
<h3>Get Zuul</h3>
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
<li><a href="https://git.openstack.org/cgit/openstack-infra/zuul">Source</a></li>
|
<li><a href="https://git.openstack.org/cgit/openstack-infra/zuul">Source</a></li>
|
||||||
<li><a href="https://pypi.python.org/pypi/zuul/">Install</a></li>
|
<li><a href="https://pypi.python.org/pypi/zuul/">Install</a></li>
|
||||||
<li><a href="https://docs.openstack.org/infra/zuul/">Documentation</a></li>
|
<li><a href="https://docs.openstack.org/infra/zuul/">Documentation</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
<section class="3u 6u$(narrower) 12u$(mobilep)">
|
<section class="3u 6u$(narrower) 12u$(mobilep)">
|
||||||
<h3>Get Involved</h3>
|
<h3>Get Involved</h3>
|
||||||
<ul class="links">
|
<ul class="links">
|
||||||
<li><a href="http://lists.zuul-ci.org/cgi-bin/mailman/listinfo">Mailing lists</a></li>
|
<li><a href="http://lists.zuul-ci.org/cgi-bin/mailman/listinfo">Mailing lists</a></li>
|
||||||
<li><a href="http://webchat.freenode.net/?channels=%23zuul">IRC</a> #zuul on Freenode</li>
|
<li><a href="http://webchat.freenode.net/?channels=%23zuul">IRC</a> #zuul on Freenode</li>
|
||||||
<li><a href="https://storyboard.openstack.org/#!/project/679">Bugs</a></li>
|
<li><a href="https://storyboard.openstack.org/#!/project/679">Bugs</a></li>
|
||||||
<li><a href="https://review.openstack.org/#/q/status:open+project:openstack-infra/zuul">Code Review</a></li>
|
<li><a href="https://review.openstack.org/#/q/status:open+project:openstack-infra/zuul">Code Review</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Copyright -->
|
<!-- Copyright -->
|
||||||
<div class="copyright">
|
<div class="copyright">
|
||||||
<ul class="menu">
|
<ul class="menu">
|
||||||
<li>© Zuul Contributors. Licensed under Creative Commons Attribution 3.0</li><li>Title image by James E. Blair</li><li>Design based on Arcana from: <a href="http://html5up.net">HTML5 UP</a></li>
|
<li>© Zuul Contributors. Licensed under Creative Commons Attribution 3.0</li><li>Title image by James E. Blair</li><li>Design based on Arcana from: <a href="http://html5up.net">HTML5 UP</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="assets/js/jquery.min.js"></script>
|
<script src="assets/js/jquery.min.js"></script>
|
||||||
<script src="assets/js/jquery.dropotron.min.js"></script>
|
<script src="assets/js/jquery.dropotron.min.js"></script>
|
||||||
<script src="assets/js/skel.min.js"></script>
|
<script src="assets/js/skel.min.js"></script>
|
||||||
<script src="assets/js/util.js"></script>
|
<script src="assets/js/util.js"></script>
|
||||||
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
|
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
|
||||||
<script src="assets/js/main.js"></script>
|
<script src="assets/js/main.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user