Initial public release.

logins
Thomas Hintz 5 years ago
commit de7cf70319

@ -0,0 +1,25 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
{
"presets": [
"@babel/preset-env",
"@babel/preset-react"
],
"plugins": [["@babel/plugin-proposal-decorators", { "legacy": true }],
"@babel/plugin-proposal-class-properties"]
}

4
.gitignore vendored

@ -0,0 +1,4 @@
node_modules/
dist/
*~
src/server/farm

@ -0,0 +1,701 @@
The Alpha Centauri Farming project, except for assets/,
src/scss/foundation, and src/scss/_vendor is released under the GNU
GPL version 3 or later. See asssets/License for the license governing
assets. src/scss/foundation and src/scss/_vendor are licensed under
MIT. The MIT and GPLv3 license follows.
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

@ -0,0 +1,54 @@
# Copyright 2020 Thomas Hintz
#
# This file is part of the Alpha Centauri Farming project.
#
# The Alpha Centauri Farming project is free software: you can
# redistribute it and/or modify it under the terms of the GNU
# General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# The Alpha Centauri Farming project is distributed in the hope that
# it will be useful, but WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with the Alpha Centauri Farming project. If not, see
# <https://www.gnu.org/licenses/>.
.PHONY: clean install interactive
assets := assets/game/acf/
dev:
npx webpack --config webpack.dev.js --env.assets ./$(assets)
rundev:
make interactive
prod: src/server/farm
npx webpack --config webpack.prod.js --env.assets ./$(assets)
install:
npm init -y
npm install
interactive:
cd dist/ && csi -include-path $(assets) -s farm.scm
src/server/farm: src/server/farm.scm
cd src/server/ && csc -include-path ../../$(assets) -O3 farm.scm
farm:
make src/server/farm
runprod:
cd dist/ && chmod +x farm && ./farm
upload:
rsync -rtvz dist/ $(SERVER):~/farm
clean:
rm -f *~ res/js/app.js

@ -0,0 +1,38 @@
img/tractor.svg
Copyright Nick Roach
GPL http://www.gnu.org/copyleft/gpl.html
img/tractor-offset.svg
img/tractor-icon.svg
Copyright Nick Roach, Thomas Hintz
GPL http://www.gnu.org/copyleft/gpl.html
img/mars-texture.*
Copyright Thomas Hintz
GPLv3+ see ../LICENSE for GPLv3 license
img/corn.svg
img/fruit.svg
Copyright Made https://madexmade.com/
Creative Commons CCBY
https://creativecommons.org/licenses/by/3.0/us/legalcode
img/cow.svg
Copyright rivercon https://thenounproject.com/rivercon/
Creative Commons CCBY
https://creativecommons.org/licenses/by/3.0/us/legalcode
img/hay.svg
Copyright Maxicons https://thenounproject.com/maxicons/
Creative Commons CCBY
https://creativecommons.org/licenses/by/3.0/us/legalcode
img/wheat.svg
Copyright P Thanga Vignesh https://thenounproject.com/amoghdesign/
Creative Commons CCBY
https://creativecommons.org/licenses/by/3.0/us/legalcode
img/harvester.svg
Copyright Andrejs Kirma https://andrejskirma.com/
Creative Commons CCBY
https://creativecommons.org/licenses/by/3.0/us/legalcode

@ -0,0 +1,82 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
export const ridgeNames = ['Peridier', 'Cassini', 'Marineris', 'Tharsis'];
export const corners = [
'Christmas',
'Spring Celebration',
'Midsummer',
'Harvest Moons'];
export const itemCard = 'Item For Sale';
export const itemCardShort = 'I.F.S.';
export const fateCard = 'Farmer\'s Luck';
export const spaceContent =
['COLLECT $1000 Minerals Bonus.',
'PAY 10% interest on loans.',
`Day off. Draw ${itemCardShort}`,
'Nasty wind chill. If you have cows pay $500.',
'Perfect weather! Hay Harvests are doubled this year.',
'Balmy out, you get a early start. COLLECT $1,000.',
`Mired in a sand drift. Draw ${fateCard}.`,
`Thaw comes early. Go directly to ${corners[1]}.`,
`Windy day. Draw ${itemCardShort}`,
'Your wheat shows signs of winter radiation sickness. PAY $2000 to replant.',
'Get a late start. PAY $500.',
'License expired. Head back to the second week in January.',
'Frugivore swarm forces you to cover fruit. PAY $2000 if you own fruit.',
`Finished plowing. Time for Apple pie. Draw ${itemCardShort}`,
'Corn in without major solar flare. Yield is doubled this year.',
'Winds continue. Work halts. PAY $500.',
'AI malfunction. PAY $1000.',
'Dust storms head south. COLLECT $500.',
'Anemic corn needs replanting. PAY $500.',
'Perfect hay cutting. COLLECT $1000 bonus.',
`Holiday break. Draw ${itemCardShort}`,
'Seasonal acid rain part way through harvest. Cut check in half.',
'Everything going right. COLLECT $500 bonus.',
'Proxima b Waxwing eats your cherries. Cut check in half.',
`Large solar flare. Draw ${fateCard}.`,
'',
'Skies are clear. Hay harvest check is doubled.',
`Dry! Wish you could swim in the river. Draw ${itemCardShort}`,
`Parched! Humidity 15%. Gulp down some ice water, harvest your Hay, and go to ${corners[3]}.`,
'Wheat developing nicely. Gain $50 per acre bonus on your harvest check.',
`The suns align and you're feeding the colonists. Transit to the fourth week of February and collect your yearly wage.`,
'Solar flare predicted. COLLECT $1000, if you have a harvester.',
'Wheat harvested without issues. COLLECT $500.',
'Solar flares come. Take $50 per acre loss on your harvest check.',
'If you own a tractor: harvest your Hay, then travel to the third week of November.',
`Nicely mild weather. Draw ${itemCardShort}`,
'Vegans stage blockade. Reduce livestock harvest check by half.',
'More moons the merrier. COLLECT $500.',
'Waxwing visits apples. PAY $2000 if you own fruit.',
'Second Summer. COLLECT $500.',
`Native Mountain Goats spotted on the mountain. Draw ${fateCard}.`,
`Equipment winterized. Draw ${itemCardShort}`,
`Planetary AI gets an upgrade. Draw ${fateCard}.`,
`Winter wind blocks go up. Draw ${itemCardShort}`,
'Wind holds back. COLLECT $500.',
'Weather crisp but not unpleasant. COLLECT $1000.',
'Fruit buds suffer early freeze. PAY $1000 if you have fruit.',
'Excellent Corn Harvesting; no dust, no wind. COLLECT $500',
`First Winter Winds. Draw ${fateCard}`
];

@ -0,0 +1,94 @@
;;; Copyright 2020 Thomas Hintz
;;;
;;; This file is part of the Alpha Centauri Farming project.
;;;
;;; The Alpha Centauri Farming project is free software: you can
;;; redistribute it and/or modify it under the terms of the GNU
;;; General Public License as published by the Free Software
;;; Foundation, either version 3 of the License, or (at your option)
;;; any later version.
;;;
;;; The Alpha Centauri Farming project is distributed in the hope that
;;; it will be useful, but WITHOUT ANY WARRANTY; without even the
;;; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;; PURPOSE. See the GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with the Alpha Centauri Farming project. If not, see
;;; <https://www.gnu.org/licenses/>.
(define *otb-text*
'((fruit . (((p "NEWLY TERRAFORMED") (p (b "5 acres of Fruit"))
(p "at $5,000 per acre"))
"5 acres Fruit"))
(hay . (((p "RECENTLY UNBURIED") (p (b "10 acres of Hay"))
(p "at $2,000 per acre"))
"10 acres Hay"))
(grain . (((p "RECENTLY CONVERTED") (p (b "10 acres of Grain"))
(p "at $2,000 per acre"))
"10 acres Grain"))
(cows . (((p "LIVESTOCK AUCTION") (p (b "10 pregnant cows")) (p "at $500 each"))
"10 pregnant Cows"))
(harvester . (((p "EQUIPMENT SALE") (p "retrofitted and working " (b "HARVESTER")))
"1 Harvester"))
(tractor . (((p "EQUIPMENT SALE") (p "retrofitted and working " (b "TRACTOR")))
"1 Tractor"))
(ridge4 . (((p "LEASE Tharsis Ridge") (p "for 30 years at $25,000")
(p (b "and buy 50 pregnant cows to graze it")) (p "at $500 each"))
"50 Cows on Tharsis Ridge"))
(ridge3 . (((p "LEASE Marineris Ridge") (p "for 30 years at $20,000")
(p (b "and buy 40 pregnant cows to graze it")) (p "at $500 each"))
"40 Cows on Marineris Ridge"))
(ridge2 . (((p "LEASE Cassini Ridge") (p "for 30 years at $15,000")
(p (b "and buy 30 pregnant cows to graze it")) (p "at $500 each"))
"30 Cows on Cassini Ridge"))
(ridge1 . (((p "LEASE Peridier Ridge") (p "for 30 years at $10,000")
(p (b "and buy 20 pregnant cows to graze it")) (p "at $500 each"))
"20 Cows on Peridier Ridge"))))
(define *ff-text*
'(((p "Natural Disaster--The Solar Winds break through the atmosphere. You are luckily shielded by Mt Proctor. Your hay survives and jumps in price. " (b "COLLECT $500 per Hay acre") ". To see if they escaped, other players must roll. Odd: escaped, Even: hit. " (b "Wind hit players must clean up all acres at $100 per acre.")))
((p "Planetary Disaster Fund comes through." (p (b "COLLECT $100 per Grain acre."))))
((p "Another high wind spring and your wheat didn't get sprayed. Weeds take over and cut your harvest in half. Hold this card through Wheat Harvest for this year."))
((p "Kept back some of your cows and Proxima B steak goes viral.") (p (b "COLLECT $2,000 if you have cows.")))
((p "The planetary governor buys the farm next door and pays extra for your organic hay for their show sheep.") (p (b "COLLECT $100 per Hay Acre.")))
((p "Next shipment from Earth gets delayed. Prices jump.") (p (b "COLLECT $1,000.")))
((p "Tax time.") (p (b "PAY $7,000.")))
((p "Found in your insect traps is The Centauri AppleFly, relative of the dreaded Earth Medfly. The governor quarantines your orchard and you lose a valuable contract with the terraformers.") (p (b "PAY $500 per Fruit acre.")))
((p "Proxima b is loaded with minerals and the Metals company pays you $100 per acre for underground mineral rights on your farm."))
((p "Extreme solar winds! Take a trip to the 2nd week of January.") (p "You must forgo your $5,000 year's wages."))
((p "Weedle worms get in to sprouting Fruit buds. Little you can do.") (p (b "PAY $300 per Fruit acre.")))
((p "Tractor rental bill due. If you don't have a Tractor") (p (b "PAY $3,000.")))
((p "Rent out your Harvester.") (p (b "If you have your own Harvester you COLLECT $2,000 from every player you doesn't.")))
((p "You should have paid for a tax person. Planetary Tax Services found errors on your tax return and garnishes your income. For the remainder of the year draw OPERATING EXPENSE cards at Harvest time but do not collect Harvest wages."))
((p "Your best friend needs cash quick and offers you 10 acres of Hay for just $10,000. It's yours if you can raise the cash."))
((p "The Planetary Agricultural Council adds a massive tax on Grain to encourage growth of native crops while you are waiting for the rented harvester to trek down the plateau. You take a big hit.") (p (b "If you haven't bought a harvester yet PAY $2,500.")))
((p "A new AI and careful planning cause your calf weaning weights to skyrocket.") (p "For the next two years RECEIVE a 50% bonus on your Livestock Harvest check."))
((p "Paleo popularity tanks boosting wheat prices.") (p (b "COLLECT $2,000.")))
((p "The University AI sounds the alarm on an allegedly toxic pesticide you use on your cherries. Even though no scientists will corroborate its claim the planetary cherry market is in collapse. Your cherry crop is cut in half this year."))
((p "Native Mercury at the Feed Mill leaks into the feed again and ends up in your load. PAC requires you to slaughter the cows on your farm without any reimbursement (not cows on ridges)."))
((p "A bug in the transportation AI delays Fruit already in transit with lots going bad.") (p (b "PAY $1,000 per Fruit acre.")))
((p "Planetary Finance Office raises prime rate.") (p (b "PAY 10% on loan balance to remain in good standing.")))))
(define *oe-text*
`(((p "Property taxes due") (p (b "Pay $100 per acre")))
((p "Rental fee due") (p (b "Pay $2,000 if you do not own a Harvester")))
((p "Rental fee due") (p (b "Pay $2,000 if you do not own a Tractor")))
((p "Cow Vitamin Bill due") (p (b "Pay $100 per cow.")))
((p "IT bill due") (p (b "Pay $500")))
((p "Annual AI reprogramming fee due") (p (b "Pay $1,500")))
((p "Magnetic field fluctates. Equipment stops working.")
(p "The delay costs") (p (b "Pay $1,000")))
((p "PFO periodic interest due") (p (b "Pay 10% on Bank Notes on hand")))
((p "Electric bill due") (p (b "Pay $1,000")))
((p "Ground stabilizer breaks") (p (b "Pay $500")))
((p "Grain barely grows") (p (b "Pay $100 per Grain acre to revitalize")))
((p "Fusion generator repair") (p (b "Pay $3,000")))
((p "Fence repair") (p (b "Pay $500")))
((p "AI vet makes a visit") (p (b "Pay $500 if you own cows")))
((p "PFO insurance due") (p (b "Pay $1,500")))))
(define *item-card* "Item for Sale")
(define *item-card-short* "I.F.S.")
(define *fate-card* "Farmer's Luck")
(define *fate-card-short* "F.L.")

@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
viewBox="0 0 42.099998 76.5"
xml:space="preserve"
id="svg4894"
sodipodi:docname="corn.svg"
width="42.099998"
height="76.5"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4900"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs4898" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4896"
showgrid="false"
inkscape:zoom="6.464"
inkscape:cx="21.045297"
inkscape:cy="25.2"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4894" /><style
type="text/css"
id="style4886">
.st0{fill:none;stroke:#000000;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}
</style><path
d="m 18.2,76.1 c 0.9,0.3 1.8,0.4 2.7,0.4 0.9,0 1.8,-0.1 2.7,-0.4 0,0 0,0 0,0 0,0 0,0 0.1,0 0.1,0 0.2,-0.1 0.3,-0.1 3.3,-1.2 8,-4.2 12.6,-12.2 4.6,-7.9 5.5,-17.7 5.5,-24.6 0,-7.4 -1.1,-12.8 -1.2,-13.1 -0.1,-0.3 -0.3,-0.6 -0.6,-0.7 -0.3,-0.1 -0.6,-0.1 -0.9,0 -0.2,0.1 -2.2,1.2 -5,3.2 l -1,-17.3 C 33,5 27.7,0 21.4,0 15,0 9.8,5 9.4,11.3 L 8,28.8 C 5,26.6 2.8,25.4 2.7,25.4 2.4,25.2 2.1,25.2 1.8,25.4 1.5,25.5 1.3,25.8 1.2,26.1 1.2,26.3 0,31.8 0,39.2 0,46 0.9,55.9 5.5,63.8 c 5,8.4 9.7,11.3 12.7,12.3 z M 35,62.8 c -1.7,2.9 -3.4,5.1 -5,6.7 0.9,-3.2 1.2,-8.3 -1.5,-16.1 -1.4,-4 -3.6,-7.7 -6.1,-11 C 28.5,35 36.3,29.8 39.2,28 40.1,33 42.1,50.5 35,62.8 Z M 17.1,36.5 c -1.1,-1.1 -2.2,-2.1 -3.2,-3 h 3.2 z m 2,-3 h 4.8 v 4.2 c -0.9,1 -1.9,2 -2.8,3.1 -0.7,-0.8 -1.3,-1.6 -2,-2.3 z m -7.7,-22 c 0.1,-0.9 0.3,-1.8 0.5,-2.7 H 17 V 13 h -5.8 z m 14.5,3.6 h 5.8 l 0.2,4.1 h -6.1 v -4.1 z m -2,4.1 h -4.8 v -4.1 h 4.8 z m 8.2,2 0.2,4.1 h -6.4 v -4.1 z m -0.6,-9.7 0.1,1.6 H 25.9 V 8.9 H 31 c 0.3,0.8 0.5,1.7 0.5,2.6 z m -7.6,1.6 H 19.1 V 8.9 h 4.8 z m -6.8,2 v 4.1 h -6.3 l 0.3,-4.1 z m -6.4,6.1 h 6.4 v 4.1 h -6.8 z m 8.4,0 h 4.8 v 4.1 h -4.8 z m 4.8,6.2 v 4.1 h -4.8 v -4.1 z m 2,6.1 h 2.5 c -0.8,0.7 -1.6,1.4 -2.5,2.2 z m 4.9,-2 h -4.9 v -4.1 h 6.5 l 0.2,2.7 c 0,0 0,0 0,0 -0.6,0.4 -1.2,0.9 -1.8,1.4 z M 30,6.9 H 25.9 V 3.2 C 27.6,4 29,5.3 30,6.9 Z M 23.9,2.4 c 0,0 0,0 0,0 V 6.8 H 19.1 V 2.4 c 0,0 0,0 0,0 0.8,-0.2 1.6,-0.3 2.4,-0.3 0.8,0 1.6,0.1 2.4,0.3 z M 17.1,3.1 V 6.8 H 12.9 C 14,5.2 15.4,4 17.1,3.1 Z m -6.9,24.3 c 0,0 0,0 0,0 h 6.9 v 4.1 h -5.6 c 0,0 0,0 0,0 C 11,31.1 10.5,30.7 10,30.3 Z M 3,28 c 4.3,2.7 19,12.6 23.6,26.1 2.9,8.6 2.1,13.5 1,16.2 -0.7,1.6 -2,2.9 -3.6,3.6 -0.2,0.1 -0.3,0.1 -0.5,0.2 -0.1,0 -0.2,0.1 -0.3,0.1 -1.4,0.5 -2.9,0.5 -4.3,0 C 16.2,73.3 11.9,70.6 7.4,62.8 0.2,50.5 2.2,33 3,28 Z"
id="path4888"
inkscape:connector-curvature="0" /></svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
viewBox="0 0 50 49.811523"
enable-background="new 0 0 56 56"
xml:space="preserve"
id="svg9561"
sodipodi:docname="cow.svg"
width="50"
height="49.811523"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata9567"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs9565" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview9563"
showgrid="false"
inkscape:zoom="3.3714286"
inkscape:cx="25"
inkscape:cy="17.905762"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg9561" /><path
d="m 40.955566,25.565796 v -4.262085 c 0,-3.448486 -1.102722,-6.719848 -3.113342,-9.443603 C 39.807922,10.76001 41.103516,8.6590577 41.103516,6.3300781 41.103516,2.8398437 38.259277,0 34.762695,0 31.46521,0 28.748108,2.5169678 28.440491,5.7236328 27.323242,5.4787598 26.17511,5.3413086 25.004395,5.3413086 c -1.184632,0 -2.335755,0.1394043 -3.44751,0.3852539 C 21.251831,2.5185547 18.544373,0 15.257812,0 11.748535,0 8.893555,2.8398438 8.893555,6.3300781 c 0,2.3637696 1.275512,4.4374999 3.266662,5.5360109 -1.950439,2.647095 -3.118225,5.904663 -3.118225,9.437622 v 4.257935 C 3.7850952,27.270752 0,31.893311 0,37.328614 c 0,6.8833 6.059082,12.48291 13.506348,12.48291 H 36.47168 C 43.931152,49.811524 50,44.211914 50,37.328614 50,31.897461 46.214661,27.278198 40.955566,25.565796 Z M 34.762695,2 c 2.393555,0 4.340821,1.9423828 4.340821,4.3300781 0,1.7294926 -1.034729,3.2800296 -2.571228,3.9653319 -0.08685,-0.09094 -0.163269,-0.189087 -0.252503,-0.27832 C 34.593079,8.3300777 32.589905,7.0849607 30.412781,6.2996826 30.429621,3.9262695 32.372742,2 34.762695,2 Z M 10.893555,6.3300781 C 10.893555,3.9423828 12.851563,2 15.257812,2 17.637695,2 19.573303,3.9309082 19.585205,6.3085938 17.244995,7.1572267 15.159363,8.5302737 13.472534,10.296875 11.911438,9.6069337 10.893555,8.0822757 10.893555,6.3300781 Z m 0.148437,14.9736329 c 0,-7.69873 6.263672,-13.9624023 13.962402,-13.9624023 3.722168,0 7.224122,1.452637 9.861329,4.0898443 2.637207,2.637207 4.089843,6.143066 4.089843,9.872558 v 3.762696 c -0.806396,-0.138794 -1.634521,-0.220215 -2.483886,-0.220215 -3.225098,0 -6.34668,1.063476 -8.790039,2.99414 -1.58545,1.251465 -3.799317,1.252442 -5.384766,0 -2.443359,-1.930664 -5.564941,-2.99414 -8.790527,-2.99414 -0.842591,0 -1.664063,0.08105 -2.464356,0.218017 z M 36.47168,47.811524 H 13.506348 C 7.161621,47.811524 2,43.108887 2,37.328614 2,31.54834 7.161621,26.846192 13.506348,26.846192 c 2.777343,0 5.458984,0.910156 7.550781,2.563476 2.31543,1.830078 5.549805,1.829102 7.864258,0 2.091797,-1.65332 4.773437,-2.563476 7.550293,-2.563476 6.356933,0 11.52832,4.702148 11.52832,10.482422 0,5.780273 -5.171387,10.48291 -11.52832,10.48291 z"
id="path9547"
inkscape:connector-curvature="0" /><path
d="m 37.239746,31.687989 c -2.053223,0 -3.723633,1.67041 -3.723633,3.723632 0,2.053223 1.67041,3.723633 3.723633,3.723633 2.053223,0 3.723633,-1.67041 3.723633,-3.723633 0,-2.053222 -1.67041,-3.723632 -3.723633,-3.723632 z m 0,5.447265 c -0.950195,0 -1.723633,-0.773437 -1.723633,-1.723633 0,-0.950195 0.773438,-1.723632 1.723633,-1.723632 0.950195,0 1.723633,0.773437 1.723633,1.723632 0,0.950196 -0.773438,1.723633 -1.723633,1.723633 z"
id="path9549"
inkscape:connector-curvature="0" /><path
d="m 12.760254,31.687989 c -2.053223,0 -3.723633,1.67041 -3.723633,3.723632 0,2.053223 1.67041,3.723633 3.723633,3.723633 2.053223,0 3.723633,-1.67041 3.723633,-3.723633 0,-2.053222 -1.67041,-3.723632 -3.723633,-3.723632 z m 0,5.447265 c -0.950195,0 -1.723633,-0.773437 -1.723633,-1.723633 0,-0.950195 0.773438,-1.723632 1.723633,-1.723632 0.950195,0 1.723633,0.773437 1.723633,1.723632 0,0.950196 -0.773438,1.723633 -1.723633,1.723633 z"
id="path9551"
inkscape:connector-curvature="0" /><path
d="m 31.198731,21.508301 c 1.524902,0 2.765136,-1.240234 2.765136,-2.765137 0,-1.536621 -1.240234,-2.786621 -2.765136,-2.786621 -1.524415,0 -2.764649,1.25 -2.764649,2.786621 0,1.524903 1.240234,2.765137 2.764649,2.765137 z m 0,-3.551758 c 0.421875,0 0.765136,0.353027 0.765136,0.786621 0,0.414551 -0.350586,0.765137 -0.765136,0.765137 -0.414551,0 -0.764649,-0.350586 -0.764649,-0.765137 0,-0.433593 0.342774,-0.786621 0.764649,-0.786621 z"
id="path9553"
inkscape:connector-curvature="0" /><path
d="m 18.986328,21.508301 c 1.524902,0 2.765137,-1.240234 2.765137,-2.765137 0,-1.536621 -1.240235,-2.786621 -2.765137,-2.786621 -1.524414,0 -2.764648,1.25 -2.764648,2.786621 0,1.524903 1.240234,2.765137 2.764648,2.765137 z m 0,-3.551758 c 0.421875,0 0.765137,0.353027 0.765137,0.786621 0,0.414551 -0.350586,0.765137 -0.765137,0.765137 -0.414551,0 -0.764648,-0.350586 -0.764648,-0.765137 0,-0.433593 0.343261,-0.786621 0.764648,-0.786621 z"
id="path9555"
inkscape:connector-curvature="0" /></svg>

After

Width:  |  Height:  |  Size: 5.6 KiB

@ -0,0 +1,69 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
version="1.1"
x="0px"
y="0px"
viewBox="0 0 80.019997 80"
xml:space="preserve"
id="svg4998"
sodipodi:docname="fruit.svg"
width="80.019997"
height="80"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata5004"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata><defs
id="defs5002" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview5000"
showgrid="false"
inkscape:zoom="3.8"
inkscape:cx="40"
inkscape:cy="27.5"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg4998" /><path
d="M 79.02,78 H 61.471 c 1.268,-0.904 2.103,-2.378 2.103,-4.05 0,-2.746 -2.234,-4.979 -4.979,-4.979 -2.745,0 -4.979,2.233 -4.979,4.979 0,1.672 0.835,3.147 2.103,4.05 H 41.097 V 54.044 c 2.382,1.918 5.358,2.986 8.454,2.986 5.747,0 10.761,-3.543 12.694,-8.892 7.105,-0.384 12.77,-6.289 12.77,-13.487 0,-2.172 -0.533,-4.323 -1.545,-6.254 1.013,-1.931 1.545,-4.082 1.545,-6.254 0,-7.211 -5.68,-13.121 -12.861,-13.486 C 60.156,3.45 55.178,0 49.551,0 46.004,0 42.616,1.4 40.097,3.874 37.577,1.4 34.189,0 30.643,0 25.018,0 20.04,3.448 18.041,8.653 10.917,9.02 5.235,14.93 5.235,22.143 c 0,2.172 0.533,4.323 1.545,6.254 -1.013,1.931 -1.545,4.082 -1.545,6.254 0,7.164 5.638,13.066 12.711,13.481 1.932,5.352 6.947,8.897 12.696,8.897 3.096,0 6.072,-1.068 8.454,-2.986 V 78 H 1 c -0.552,0 -1,0.448 -1,1 0,0.552 0.448,1 1,1 h 78.02 c 0.552,0 1,-0.448 1,-1 0,-0.552 -0.448,-1 -1,-1 z M 58.595,70.971 c 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.642 1.336,-2.979 2.979,-2.979 z M 30.643,55.03 c -5.105,0 -9.529,-3.281 -11.01,-8.165 -0.127,-0.42 -0.513,-0.708 -0.952,-0.71 C 12.37,46.121 7.235,40.961 7.235,34.651 c 0,-2.011 0.537,-4 1.552,-5.752 0.18,-0.31 0.18,-0.693 0,-1.003 -1.016,-1.752 -1.552,-3.742 -1.552,-5.752 0,-6.335 5.145,-11.491 11.476,-11.508 0.453,0.015 0.854,-0.265 0.993,-0.689 C 21.251,5.193 25.647,2 30.643,2 c 3.334,0 6.504,1.454 8.698,3.988 0.38,0.439 1.133,0.439 1.513,0 C 43.046,3.454 46.217,2 49.551,2 c 4.997,0 9.394,3.194 10.939,7.948 0.134,0.412 0.584,0.688 1.017,0.688 6.345,0 11.508,5.163 11.508,11.508 0,2.011 -0.537,4 -1.552,5.752 -0.18,0.31 -0.18,0.693 0,1.003 1.016,1.752 1.552,3.742 1.552,5.752 0,6.34 -5.158,11.502 -11.499,11.507 -0.44,0 -0.828,0.289 -0.956,0.709 -1.481,4.882 -5.906,8.162 -11.01,8.162 -3.334,0 -6.504,-1.454 -8.698,-3.989 -0.008,-0.009 -0.02,-0.012 -0.028,-0.021 -0.066,-0.071 -0.147,-0.124 -0.232,-0.174 -0.033,-0.02 -0.059,-0.048 -0.095,-0.064 -0.124,-0.055 -0.259,-0.088 -0.402,-0.088 -0.144,0 -0.279,0.033 -0.403,0.088 -0.035,0.015 -0.06,0.044 -0.093,0.063 -0.085,0.05 -0.166,0.103 -0.233,0.175 -0.008,0.009 -0.02,0.012 -0.028,0.021 -2.191,2.536 -5.361,3.99 -8.695,3.99 z"
id="path4976"
inkscape:connector-curvature="0" /><path
d="m 31.488,38.167 c -2.746,0 -4.979,2.234 -4.979,4.979 0,2.745 2.233,4.979 4.979,4.979 2.746,0 4.979,-2.233 4.979,-4.979 0,-2.746 -2.233,-4.979 -4.979,-4.979 z m 0,7.958 c -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.336,-2.979 2.979,-2.979 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 z"
id="path4978"
inkscape:connector-curvature="0" /><path
d="m 44.426,25.845 c 0,-2.746 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.234 -4.979,4.979 0,2.745 2.234,4.979 4.979,4.979 2.745,0 4.979,-2.234 4.979,-4.979 z m -7.959,0 c 0,-1.643 1.336,-2.979 2.979,-2.979 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.642,0 -2.979,-1.337 -2.979,-2.979 z"
id="path4980"
inkscape:connector-curvature="0" /><path
d="m 20.812,26.655 c -2.746,0 -4.979,2.233 -4.979,4.979 0,2.746 2.233,4.979 4.979,4.979 2.746,0 4.979,-2.233 4.979,-4.979 0,-2.746 -2.233,-4.979 -4.979,-4.979 z m 0,7.958 c -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.336,-2.979 2.979,-2.979 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.335,2.979 -2.979,2.979 z"
id="path4982"
inkscape:connector-curvature="0" /><path
d="m 28.384,17.792 c 2.746,0 4.979,-2.233 4.979,-4.979 0,-2.746 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.233 -4.979,4.979 0,2.746 2.234,4.979 4.979,4.979 z m 0,-7.959 c 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.336,-2.979 2.979,-2.979 z"
id="path4984"
inkscape:connector-curvature="0" /><path
d="m 50.616,19.455 c 2.746,0 4.979,-2.234 4.979,-4.979 0,-2.745 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.233 -4.979,4.979 0,2.746 2.233,4.979 4.979,4.979 z m 0,-7.958 c 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.336,-2.979 2.979,-2.979 z"
id="path4986"
inkscape:connector-curvature="0" /><path
d="m 62.189,30.259 c 2.746,0 4.979,-2.233 4.979,-4.979 0,-2.746 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.233 -4.979,4.979 0,2.746 2.234,4.979 4.979,4.979 z m 0,-7.958 c 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.337,-2.979 2.979,-2.979 z"
id="path4988"
inkscape:connector-curvature="0" /><path
d="m 47.425,39.167 c 0,2.746 2.233,4.979 4.979,4.979 2.746,0 4.979,-2.234 4.979,-4.979 0,-2.745 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.233 -4.979,4.979 z m 7.958,0 c 0,1.643 -1.336,2.979 -2.979,2.979 -1.643,0 -2.979,-1.336 -2.979,-2.979 0,-1.643 1.336,-2.979 2.979,-2.979 1.643,0 2.979,1.336 2.979,2.979 z"
id="path4990"
inkscape:connector-curvature="0" /><path
d="m 23.973,65.098 c 0,-2.746 -2.233,-4.979 -4.979,-4.979 -2.746,0 -4.979,2.233 -4.979,4.979 0,2.746 2.234,4.979 4.979,4.979 2.745,0 4.979,-2.234 4.979,-4.979 z m -7.959,0 c 0,-1.643 1.336,-2.979 2.979,-2.979 1.643,0 2.979,1.336 2.979,2.979 0,1.643 -1.336,2.979 -2.979,2.979 -1.642,0 -2.979,-1.336 -2.979,-2.979 z"
id="path4992"
inkscape:connector-curvature="0" /></svg>

After

Width:  |  Height:  |  Size: 6.6 KiB

@ -0,0 +1,94 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 68.001396 44"
version="1.1"
x="0px"
y="0px"
id="svg23378"
sodipodi:docname="harvester.svg"
width="68.001396"
height="44"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata23384">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs23382" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview23380"
showgrid="false"
inkscape:zoom="4.1764706"
inkscape:cx="34.001394"
inkscape:cy="16.5"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg23378" />
<title
id="title23352">harvester</title>
<desc
id="desc23354">Created with Sketch.</desc>
<g
id="g23372"
style="fill:none;fill-rule:evenodd;stroke:none;stroke-width:1"
transform="translate(0.00139444)">
<g
transform="translate(-656,-190)"
id="g23370"
style="fill:#000000">
<g
transform="translate(655,190)"
id="g23368">
<path
d="m 65,37 c 0,-3.865993 -3.134007,-7 -7,-7 -3.865993,0 -7,3.134007 -7,7 0,3.865993 3.134007,7 7,7 3.865993,0 7,-3.134007 7,-7 z m -10,0 c 0,-1.656854 1.343146,-3 3,-3 1.656854,0 3,1.343146 3,3 0,1.656854 -1.343146,3 -3,3 -1.656854,0 -3,-1.343146 -3,-3 z"
id="path23356"
inkscape:connector-curvature="0" />
<path
d="m 37,32 c 0,-6.627417 -5.372583,-12 -12,-12 -6.627417,0 -12,5.372583 -12,12 0,6.627417 5.372583,12 12,12 6.627417,0 12,-5.372583 12,-12 z m -20,0 c 0,-4.418278 3.581722,-8 8,-8 4.418278,0 8,3.581722 8,8 0,4.418278 -3.581722,8 -8,8 -4.418278,0 -8,-3.581722 -8,-8 z"
id="path23358"
inkscape:connector-curvature="0" />
<path
d="M 17.954027,26 H 9.4819336 L 5.7117275,38 H 11 c 1.614736,0 3.123387,-0.638105 4.242641,-1.757359 0.781048,-0.781049 2.047378,-0.781049 2.828427,0 0.781048,0.781048 0.781048,2.047378 0,2.828427 C 16.209105,40.933031 13.686506,42 11,42 H 3 C 1.6507195,42 0.68858339,40.691311 1.09104,39.40345 l 5,-16 C 6.351962,22.5685 7.12523,22 8,22 h 7.368718 L 11.479829,8 H 11 C 9.8954305,8 9,7.1045695 9,6 9,4.8954305 9.8954305,4 11,4 h 1.956239 c 0.02999,-6.781e-4 0.05991,-6.744e-4 0.08973,0 H 27 c 1.104569,0 2,0.8954305 2,2 0,1.1045695 -0.895431,2 -2,2 H 15.631282 v 0 l 4.283449,15.420417 c 0.03025,0.100058 0.05287,0.203427 0.06718,0.309432 0.0321,0.233332 0.02199,0.465131 -0.02531,0.686504 -0.06245,0.294937 -0.189906,0.565875 -0.366663,0.797118 -0.169376,0.224746 -0.396861,0.420798 -0.665102,0.560315 -0.200638,0.104825 -0.421274,0.176607 -0.654686,0.208124 -0.105968,0.01458 -0.21162,0.02045 -0.316123,0.01809 z"
id="path23360"
inkscape:connector-curvature="0" />
<path
d="m 35,33 c -1.104569,0 -2,0.895431 -2,2 0,1.104569 0.895431,2 2,2 h 18 c 1.104569,0 2,-0.895431 2,-2 0,-1.104569 -0.895431,-2 -2,-2 z"
id="path23362"
inkscape:connector-curvature="0" />
<path
d="m 57,22 v 1 c 0,1.104569 0.895431,2 2,2 1.104569,0 2,-0.895431 2,-2 v -3 c 0,-1.10457 -0.895431,-2 -2,-2 H 39 c -1.104569,0 -2,0.89543 -2,2 0,1.104569 0.895431,2 2,2 z"
id="path23364"
inkscape:connector-curvature="0" />
<path
d="m 29,4 h 18.850266 l 5.434748,9.028992 c 0.301488,0.502479 0.808174,0.84746 1.386188,0.943796 L 65,15.699997 V 33 h -2 c -1.104569,0 -2,0.895431 -2,2 0,1.104569 0.895431,2 2,2 h 4 c 1.104569,0 2,-0.895431 2,-2 V 14 c 0,-0.977678 -0.706826,-1.812058 -1.671202,-1.972788 L 56.240064,10.179472 50.714986,0.97100849 C 50.353539,0.36859767 49.702526,0 49,0 H 27 c -1.10457,0 -2,0.8954305 -2,2 v 19 c 0,1.104569 0.89543,2 2,2 1.104569,0 2,-0.895431 2,-2 z"
id="path23366"
inkscape:connector-curvature="0" />
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.6 KiB

@ -0,0 +1,150 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 317.40268 301.11169"
x="0px"
y="0px"
version="1.1"
id="svg14204"
sodipodi:docname="hay.svg"
width="317.40268"
height="301.11169"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata14210">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs14208" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview14206"
showgrid="false"
inkscape:zoom="1.72"
inkscape:cx="158.69088"
inkscape:cy="108.05303"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg14204" />
<title
id="title14150">hay bale</title>
<path
d="m 18.490879,272.84468 6.6,2.489 a 56.112,56.112 0 0 0 23.12,14.549 c 1.836,0.57 3.634,1.216 5.537,1.9 l 0.715,0.256 a 83.9,83.9 0 0 0 28.361,5.28 c 24.987001,0 42.675001,-13.373 54.034001,-26.547 a 81.472,81.472 0 0 0 19.873,-58.113 73.072,73.072 0 0 0 -11.592,-36.029 12.42,12.42 0 0 0 -10.473,-5.658 4,4 0 0 0 0,8 4.451,4.451 0 0 1 3.76,2.01 65.18,65.18 0 0 1 10.319,32.136 74.516,74.516 0 0 1 -17.95,52.433 c -13.623,15.8 -37.458001,31.916 -73.639001,18.96 l -0.709,-0.255 c -1.9,-0.682 -3.865,-1.387 -5.868,-2.009 a 48.831,48.831 0 0 1 -20.327,-13.088 4.006,4.006 0 0 0 -1.5,-1 l -7.444,-2.8 a 4,4 0 1 0 -2.822,7.485 z"
id="path14152"
inkscape:connector-curvature="0" />
<path
d="m 35.453879,165.94368 c 0.056,-0.049 0.11,-0.1 0.163,-0.15 0.227,-0.22 23.061,-21.928 56.932,-15.113 a 45.82,45.82 0 0 0 9.000001,0.941 h 0.081 l 9.323,-0.021 a 4.0000025,4.0000025 0 0 0 -0.009,-8 h -0.009 l -9.322,0.021 h -0.065 a 37.871,37.871 0 0 1 -7.420001,-0.784 c -37.232,-7.491 -62.063,15.291 -64,17.133 -20.3159995,17.695 -24.1119995,36.213 -25.1999995,48.609 a 4.145,4.145 0 0 0 -0.013,0.473 c 0.016,0.523 0.5,12.9 9.2119995,20.432 a 4,4 0 1 0 5.228,-6.054 c -5.536,-4.782 -6.337,-13.066 -6.432,-14.432 1.004,-11.027 4.49,-27.375 22.531,-43.055 z"
id="path14154"
inkscape:connector-curvature="0" />
<path
d="m 80.079879,266.47868 a 47.171,47.171 0 0 0 26.375001,-86.277 4,4 0 1 0 -4.479,6.628 39.164,39.164 0 1 1 -41.300001,-1.551 4,4 0 0 0 -3.969,-6.945 47.173,47.173 0 0 0 23.373,88.145 z"
id="path14156"
inkscape:connector-curvature="0" />
<path
d="m 85.800879,180.55868 a 4.139,4.139 0 0 0 0.584,0.042 4,4 0 0 0 0.575,-7.959 47.641,47.641 0 0 0 -5.382,-0.475 4.0019526,4.0019526 0 1 0 -0.25,8 39.5,39.5 0 0 1 4.473,0.392 z"
id="path14158"
inkscape:connector-curvature="0" />
<path
d="m 59.004879,219.31068 a 21.075,21.075 0 1 0 21.075,-21.075 21.1,21.1 0 0 0 -21.075,21.075 z m 21.075,-13.075 a 13.076,13.076 0 1 1 -13.075,13.075 13.09,13.09 0 0 1 13.075,-13.075 z"
id="path14160"
inkscape:connector-curvature="0" />
<path
d="m 10.334879,258.14168 c 0.309,0.16 7.655,3.923 14.318,4.189 h 0.163 a 4.0007702,4.0007702 0 0 0 0.157,-8 c -4.041,-0.162 -9.287,-2.44 -10.967,-3.3 a 4,4 0 0 0 -3.671,7.108 z"
id="path14162"
inkscape:connector-curvature="0" />
<path
d="m 18.890879,247.69168 a 4.0001088,4.0001088 0 1 0 2.02,-7.741 c -8.86,-2.311 -13.3619995,-10.122 -13.4319995,-10.246 a 4,4 0 0 0 -7.00000002,3.872 c 0.239,0.443 6.11200002,10.908 18.41199952,14.115 z"
id="path14164"
inkscape:connector-curvature="0" />
<path
d="m 134.58188,162.50368 a 4,4 0 0 0 -2.941,-4.832 c -10.765,-2.617 -18.521,0 -18.846,0.107 a 4.0000715,4.0000715 0 1 0 2.617,7.56 c 0.057,-0.02 5.97,-1.929 14.338,0.107 a 4,4 0 0 0 4.832,-2.942 z"
id="path14166"
inkscape:connector-curvature="0" />
<path
d="m 190.41288,279.39168 a 73.072,73.072 0 0 0 33.678,17.279 12.4,12.4 0 0 0 11.406,-3.405 4.0001031,4.0001031 0 0 0 -5.657,-5.657 4.45,4.45 0 0 1 -4.08,1.238 65.159,65.159 0 0 1 -30.02,-15.428 74.513,74.513 0 0 1 -24.384,-49.768 c -1.54,-20.805 3.918,-49.054 38.664,-65.476 l 0.685,-0.324 c 1.824,-0.86 3.711,-1.75 5.566,-2.726 a 48.8,48.8 0 0 1 23.623,-5.125 4.045,4.045 0 0 0 1.761,-0.354 l 7.252,-3.281 a 4.00061,4.00061 0 0 0 -3.3,-7.289 l -6.428,2.908 a 55.993,55.993 0 0 0 -26.636,6.061 c -1.7,0.9 -3.428,1.709 -5.255,2.571 l -0.69,0.326 c -38.85,18.362 -44.949,50 -43.224,73.3 a 81.475,81.475 0 0 0 27.039,55.15 z"
id="path14168"
inkscape:connector-curvature="0" />
<path
d="m 300.63288,174.93368 a 3.911,3.911 0 0 0 -0.325,-0.344 c -0.381,-0.359 -9.466,-8.779 -20.961,-7.934 a 4.0001718,4.0001718 0 1 0 0.584,7.979 c 7.286,-0.533 13.719,4.757 14.753,5.655 7.09,8.506 16.184,22.531 14.515,46.375 0,0.068 -0.008,0.145 -0.009,0.213 -0.006,0.317 -0.928,31.907 -29.571,50.952 a 45.818,45.818 0 0 0 -7.087,5.755 l -6.577,6.607 a 4.0004664,4.0004664 0 1 0 5.67,5.645 l 6.577,-6.607 a 37.663,37.663 0 0 1 5.847,-4.738 c 31.623,-21.027 33.073,-54.7 33.137,-57.368 1.853,-26.876 -8.557,-42.655 -16.553,-52.19 z"
id="path14170"
inkscape:connector-curvature="0" />
<path
d="m 280.49788,235.73868 a 4,4 0 0 0 4.912,-2.807 47.166,47.166 0 1 0 -36.5,33.857 4.000452,4.000452 0 0 0 -1.521,-7.855 39.165,39.165 0 1 1 30.302,-28.106 4,4 0 0 0 2.807,4.911 z"
id="path14172"
inkscape:connector-curvature="0" />
<path
d="m 266.70588,249.04768 a 39.327,39.327 0 0 1 -3.443,2.885 4.0004205,4.0004205 0 0 0 4.78,6.416 47.6,47.6 0 0 0 4.141,-3.47 4.0002826,4.0002826 0 0 0 -5.478,-5.831 z"
id="path14174"
inkscape:connector-curvature="0" />
<path
d="m 254.80888,205.58068 a 21.076,21.076 0 1 0 6.173,14.9 21.1,21.1 0 0 0 -6.173,-14.9 z m -5.657,24.148 a 13.087,13.087 0 0 1 -18.491,0 v 0 a 13.076,13.076 0 1 1 18.491,0 z"
id="path14176"
inkscape:connector-curvature="0" />
<path
d="m 248.45288,156.52368 a 4,4 0 0 0 5.653,0.226 c 2.971,-2.743 8.291,-4.841 10.09,-5.419 a 4,4 0 0 0 -2.429,-7.622 c -0.332,0.106 -8.187,2.639 -13.087,7.163 a 4,4 0 0 0 -0.227,5.652 z"
id="path14178"
inkscape:connector-curvature="0" />
<path
d="m 283.89088,161.79468 a 4,4 0 0 0 2.214,-7.687 c -0.487,-0.142 -12.042,-3.387 -23,3.039 a 4,4 0 1 0 4.046,6.9 c 7.877,-4.615 16.557,-2.303 16.74,-2.252 z"
id="path14180"
inkscape:connector-curvature="0" />
<path
d="m 253.09088,283.63168 c -0.026,0.054 -2.857,5.585 -10.213,10.063 a 4.0000262,4.0000262 0 0 0 4.159,6.834 c 9.462,-5.76 13.1,-13.093 13.251,-13.4 a 4.0028115,4.0028115 0 0 0 -7.2,-3.5 z"
id="path14182"
inkscape:connector-curvature="0" />
<path
d="m 243.25688,87.786678 a 4,4 0 0 0 2,-5.293 l -2.908,-6.427 a 56.117,56.117 0 0 0 -6.061,-26.637 c -0.893,-1.7 -1.707,-3.422 -2.568,-5.248 l -0.329,-0.7 c -18.362,-38.8479996 -50,-44.9459996 -73.3,-43.22399962 a 81.479,81.479 0 0 0 -55.15,27.03999962 73.074,73.074 0 0 0 -17.283001,33.676 12.42,12.42 0 0 0 3.406,11.407 4.0001031,4.0001031 0 1 0 5.657,-5.657 4.448,4.448 0 0 1 -1.238,-4.081 65.157,65.157 0 0 1 15.427001,-30.02 74.512,74.512 0 0 1 49.768,-24.3829996 c 20.808,-1.538 49.054,3.9189996 65.476,38.6639996 l 0.327,0.691 c 0.859,1.823 1.749,3.708 2.723,5.56 a 48.829,48.829 0 0 1 5.125,23.623 4,4 0 0 0 0.354,1.761 l 3.281,7.252 a 4,4 0 0 0 5.293,2 z"
id="path14184"
inkscape:connector-curvature="0" />
<path
d="m 163.39088,154.28968 c 23.149,0 37.223,-9.408 46,-16.769 a 4.066,4.066 0 0 0 0.344,-0.325 c 0.359,-0.382 8.775,-9.474 7.934,-20.962 a 4.0001718,4.0001718 0 0 0 -7.979,0.584 c 0.534,7.3 -4.757,13.72 -5.655,14.753 -8.506,7.09 -22.528,16.186 -46.375,14.515 -0.068,0 -0.145,-0.007 -0.213,-0.009 -0.317,-0.006 -31.906,-0.927 -50.952,-29.57 a 45.693,45.693 0 0 0 -5.755,-7.086 l -6.607001,-6.578 a 4.0001121,4.0001121 0 1 0 -5.645,5.669 l 6.607,6.578 a 37.748,37.748 0 0 1 4.738,5.846 c 21.029001,31.625 54.700001,33.074 57.368001,33.138 q 3.203,0.221 6.19,0.216 z"
id="path14186"
inkscape:connector-curvature="0" />
<path
d="m 151.39688,122.29668 a 47.171,47.171 0 1 0 -33.856,-36.500002 4,4 0 1 0 7.854,-1.52 39.165,39.165 0 1 1 28.107,30.300002 4,4 0 1 0 -2.105,7.718 z"
id="path14188"
inkscape:connector-curvature="0" />
<path
d="m 132.39688,100.15068 a 4.0001218,4.0001218 0 1 0 -6.416,4.779 47.409,47.409 0 0 0 3.469,4.141 4,4 0 1 0 5.831,-5.477 39.435,39.435 0 0 1 -2.884,-3.443 z"
id="path14190"
inkscape:connector-curvature="0" />
<path
d="m 163.84488,97.858678 a 21.057,21.057 0 1 0 -14.9,-6.163 21.016,21.016 0 0 0 14.9,6.163 z m -9.245,-30.31 a 13.075,13.075 0 1 1 0,18.491 13.03,13.03 0 0 1 0,-18.491 z"
id="path14192"
inkscape:connector-curvature="0" />
<path
d="m 236.80688,103.86768 a 4,4 0 0 0 3.813,-5.214002 c -0.106,-0.332 -2.639,-8.186 -7.163,-13.086 a 4,4 0 1 0 -5.878,5.426 c 2.742,2.971 4.841,8.29 5.419,10.089002 a 4,4 0 0 0 3.809,2.785 z"
id="path14194"
inkscape:connector-curvature="0" />
<path
d="m 225.26488,125.72268 a 3.994,3.994 0 0 0 4.956,-2.726 c 0.141,-0.486 3.386,-12.042 -3.039,-23.000002 a 4,4 0 1 0 -6.9,4.046002 c 4.617,7.875 2.3,16.554 2.253,16.74 a 4,4 0 0 0 2.73,4.94 z"
id="path14196"
inkscape:connector-curvature="0" />
<path
d="m 83.800879,83.920678 c 5.759,9.462 13.092,13.1 13.4,13.25 a 3.982,3.982 0 0 0 5.321001,-1.832 4.012,4.012 0 0 0 -1.8,-5.352 c -0.056,-0.028 -5.618001,-2.884 -10.087001,-10.225 a 4.0000262,4.0000262 0 1 0 -6.834,4.159 z"
id="path14198"
inkscape:connector-curvature="0" />
</svg>

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 1.1 MiB

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="36"
id="Layer_1"
version="1.1"
viewBox="0 0 44 36"
width="44"
xml:space="preserve"
sodipodi:docname="tractor-icon.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="12.625"
inkscape:cx="4.0198019"
inkscape:cy="17"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><g
id="g4921"
style="fill:#000000;fill-opacity:1"
transform="translate(-10,-13)"><path
d="m 30.384,17 c 0.663,2.505 2.228,8.104 3.635,13.101 L 22.158416,26.341525 22,17 h 8.384 M 32,13 H 20 c -1.105,0 -2,0.895 -2,2 V 26.012258 L 39.188,33.687 c 0,0 -5,-17.688 -5.188,-18.688 C 34,13.895 33.105,13 32,13 Z"
id="path4919"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1"
sodipodi:nodetypes="cccccssscccs" /></g><path
d="m 42,26 c 0,2.209 -3.599019,0.04855 -5.675552,0.514851 L 20.804265,30 C 18.727732,30.466298 22.04922,21.708329 20.673267,19.980198 L 19.009901,17.891089 C 17.633948,16.162958 18.676021,15 20.804265,15 H 38.14623 C 40.274474,15 42,16.791 42,19 Z"
id="path4923"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1;stroke-width:0.98155105"
sodipodi:nodetypes="sssssssss" /><path
d="M 12,12 C 5.373,12 0,17.373 0,24 0,30.627 5.373,36 12,36 18.627,36 24,30.627 24,24 24,17.373 18.627,12 12,12 Z m 0,20 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4933"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1" /><path
d="M 37.5,23 C 33.91,23 31,25.91 31,29.5 31,33.09 33.91,36 37.5,36 41.09,36 44,33.09 44,29.5 44,25.91 41.09,23 37.5,23 Z m 0,9 C 36.122,32 35,30.878 35,29.5 35,28.121 36.122,27 37.5,27 c 1.378,0 2.5,1.121 2.5,2.5 0,1.378 -1.122,2.5 -2.5,2.5 z"
id="path4935"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1" /><path
d="m 26,2 c 0,1.105 -0.895,2 -2,2 H 10 C 8.895,4 8,3.105 8,2 V 2 C 8,0.895 8.895,0 10,0 h 14 c 1.105,0 2,0.895 2,2 z"
id="path4939"
inkscape:connector-curvature="0"
style="fill:#000000;fill-opacity:1" /><rect
style="fill:#000000;fill-opacity:1"
id="rect23253"
width="10.693069"
height="3.0891089"
x="21.920792"
y="26.920792" /></svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

@ -0,0 +1,251 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="55"
id="Layer_1"
version="1.1"
viewBox="0 0 55 55"
width="55"
xml:space="preserve"
sodipodi:docname="tractor-offset-and-spikes.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="9.59"
inkscape:cx="48.26794"
inkscape:cy="15.366382"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer5"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><g
inkscape:groupmode="layer"
id="layer4"
inkscape:label="tractor"
sodipodi:insensitive="true"><circle
cx="32"
cy="31.90909"
id="circle4909"
style="fill:#c75c5c"
r="32" /><g
id="g4917"
style="opacity:0.2"
transform="translate(-1.8181818e-7,-0.09090908)"><path
d="m 47.5,38 c 1.748,0 3.332,0.694 4.5,1.816 V 34 c 0,-2.209 -1.791,-4 -4,-4 H 37.585 C 36.105,24.734 34.117,17.624 34,17 34,15.895 33.105,15 32,15 H 20 c -1.105,0 -2,0.895 -2,2 0,0.555 0,5.706 0,10.697 C 19.253,27.254 20.595,27 22,27 v -8 h 8.384 c 0.571,2.158 1.812,6.612 3.045,11 H 30 c -0.025,0 -0.048,0.007 -0.073,0.007 C 32.419,32.206 34,35.415 34,39 c 0,2.188 -0.595,4.234 -1.618,6 h 8.644 C 41.013,44.834 41,44.669 41,44.5 41,40.91 43.91,38 47.5,38 Z"
id="path4911"
inkscape:connector-curvature="0"
style="fill:#231f20" /><circle
cx="22"
cy="39"
r="8"
id="circle4913"
style="fill:#231f20" /><circle
cx="47.5"
cy="44.5"
r="2.5"
id="circle4915"
style="fill:#231f20" /></g><g
id="g4921"
transform="translate(-1.8181818e-7,-0.09090908)"><path
d="m 30.384,17 c 0.663,2.505 2.228,8.104 3.635,13.101 L 22,31.094 V 17 h 8.384 M 32,13 H 20 c -1.105,0 -2,0.895 -2,2 0,1.105 0,20.438 0,20.438 l 21.188,-1.751 c 0,0 -5,-17.688 -5.188,-18.688 C 34,13.895 33.105,13 32,13 Z"
id="path4919"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><path
d="m 52,38.909091 c 0,2.209 -1.791,4 -4,4 H 30 c -2.209,0 -4,-1.791 -4,-4 v -7 c 0,-2.209 1.791,-4 4,-4 h 18 c 2.209,0 4,1.791 4,4 z"
id="path4923"
inkscape:connector-curvature="0"
style="fill:#76c2af" /><circle
cx="22.000002"
cy="36.909088"
id="circle4925"
style="fill:#f5cf87"
r="8" /><circle
cx="47.5"
cy="42.409088"
id="circle4927"
style="fill:#f5cf87"
r="2.5" /><path
d="m 29.927,29.916091 c -2.115,-1.866 -4.885,-3.007 -7.927,-3.007 -1.405,0 -2.747,0.254 -4,0.697 -4.658,1.649 -8.0000002,6.08 -8.0000002,11.303 0,6.627 5.3730002,12 12.0000002,12 4.439,0 8.306,-2.417 10.382,-6 1.023,-1.766 1.618,-3.812 1.618,-6 0,-3.585 -1.581,-6.794 -4.073,-8.993 z M 22,46.909091 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4929"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 52,39.725091 c -1.168,-1.122 -2.752,-1.816 -4.5,-1.816 -3.59,0 -6.5,2.91 -6.5,6.5 0,0.169 0.013,0.334 0.025,0.5 0.256,3.355 3.054,6 6.475,6 3.59,0 6.5,-2.91 6.5,-6.5 0,-1.842 -0.769,-3.501 -2,-4.684 z m -2,4.684 c 0,1.378 -1.122,2.5 -2.5,2.5 -1.378,0 -2.5,-1.122 -2.5,-2.5 0,-1.379 1.122,-2.5 2.5,-2.5 1.378,0 2.5,1.121 2.5,2.5 z"
id="path4931"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 22,24.909091 c -6.627,0 -12.0000002,5.373 -12.0000002,12 0,6.627 5.3730002,12 12.0000002,12 6.627,0 12,-5.373 12,-12 0,-6.627 -5.373,-12 -12,-12 z m 0,20 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4933"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 47.5,35.909091 c -3.59,0 -6.5,2.91 -6.5,6.5 0,3.59 2.91,6.5 6.5,6.5 3.59,0 6.5,-2.91 6.5,-6.5 0,-3.59 -2.91,-6.5 -6.5,-6.5 z m 0,9 c -1.378,0 -2.5,-1.122 -2.5,-2.5 0,-1.379 1.122,-2.5 2.5,-2.5 1.378,0 2.5,1.121 2.5,2.5 0,1.378 -1.122,2.5 -2.5,2.5 z"
id="path4935"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 34,14.909091 -3.609,2 c 0,0 0.531,2.078 0.531,2 H 34 c 1.105,0 2,-0.895 2,-2 0,-1.105 -0.895,-2 -2,-2 z"
id="path4937"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 36,14.909091 c 0,1.105 -0.895,2 -2,2 H 20 c -1.105,0 -2,-0.895 -2,-2 v 0 c 0,-1.105 0.895,-2 2,-2 h 14 c 1.105,0 2,0.895 2,2 z"
id="path4939"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="spikes"><g
transform="translate(0,-0.090909)"
style="display:inline"
id="g37247"><path
inkscape:connector-curvature="0"
id="path37047"
d="m 7.5050916,24.042892 h 1.8912831 l 0.03002,-0.660448 -1.9513238,0.03002 z"
style="fill:none;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /><path
inkscape:transform-center-y="-13.405146"
inkscape:transform-center-x="0.0063248869"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37127"
d="M 21,24.653417 20.9952,25.033664 22,25 22.9952,25.033664 23,24.653417 c 0,0 -0.371887,-2.500415 -0.998003,-2.499057 C 21.377591,22.155714 21,24.653417 21,24.653417 Z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.838052,25.741319 0.125542,0.358957 0.932689,-0.375296 0.946696,-0.308744 -0.125542,-0.358957 c 0,0 -1.204651,-2.222429 -1.792544,-2.007009 -0.586286,0.214832 -0.08684,2.691049 -0.08684,2.691049 z"
id="path37164"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="4.2625696"
inkscape:transform-center-y="-12.431238" /><path
inkscape:transform-center-y="-9.9754639"
inkscape:transform-center-x="8.2898816"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37196"
d="m 13.299185,28.187082 0.240741,0.294372 0.748082,-0.671662 0.784007,-0.613913 -0.240742,-0.294372 c 0,0 -1.892117,-1.676385 -2.370877,-1.272885 -0.477452,0.402398 0.83879,2.55846 0.838789,2.55846 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.810238,31.695712 0.326903,0.194281 0.473246,-0.887015 0.526754,-0.845036 -0.326904,-0.194281 c 0,0 -2.351366,-0.928144 -2.6632481,-0.385233 -0.3110299,0.541429 1.6632501,2.117283 1.6632491,2.117284 z"
id="path37198"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="11.378479"
inkscape:transform-center-y="-6.350138" /><path
inkscape:transform-center-y="-2.1056781"
inkscape:transform-center-x="13.117337"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37200"
d="m 9.6714147,35.844015 0.3736363,0.07076 0.141329,-0.995381 0.205967,-0.974234 -0.373637,-0.07076 c 0,0 -2.5270052,-0.06796 -2.634392,0.548884 -0.1070929,0.615155 2.2870973,1.42073 2.2870967,1.420731 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.020074,40.131646 0.375305,-0.0613 -0.207635,-0.983689 -0.139662,-0.985926 -0.3753052,0.0613 c 0,0 -2.3978518,0.800425 -2.2877893,1.416797 0.109761,0.614685 2.6350865,0.552817 2.6350865,0.552818 z"
id="path37202"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="13.11558"
inkscape:transform-center-y="2.1178991" /><path
inkscape:transform-center-y="6.3590136"
inkscape:transform-center-x="11.373439"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37204"
d="m 11.814163,44.041452 0.331705,-0.185965 -0.531554,-0.85335 -0.468446,-0.8787 -0.331706,0.185965 c 0,0 -1.9794821,1.572267 -1.6652455,2.113824 0.3133762,0.540074 2.6652455,-0.381775 2.6652465,-0.381774 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 14.837287,47.101854 0.248097,-0.2882 -0.79136,-0.620085 -0.740728,-0.66549 -0.248098,0.2882 c 0,0 -1.322358,2.154471 -0.841849,2.555893 0.479194,0.400322 2.373937,-1.270319 2.373938,-1.270318 z"
id="path37206"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="8.2821282"
inkscape:transform-center-y="9.9819455" /><path
inkscape:transform-center-y="12.434689"
inkscape:transform-center-x="4.2525406"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37208"
d="m 18.724814,48.943721 0.134564,-0.355673 -0.955716,-0.312028 -0.923668,-0.372013 -0.134566,0.355674 c 0,0 -0.505737,2.476814 0.08309,2.689684 0.587213,0.212285 1.796296,-2.005644 1.796298,-2.005644 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 23.00785,49.344898 0.0048,-0.380247 -1.004799,0.03366 -0.9952,-0.03366 -0.0048,0.380248 c 0,0 0.371883,2.500416 0.998005,2.499058 0.624406,-0.0014 1.001996,-2.499058 1.001998,-2.499059 z"
id="path37210"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-0.0063253793"
inkscape:transform-center-y="13.405147" /><path
inkscape:transform-center-y="12.431239"
inkscape:transform-center-x="-4.2625683"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37212"
d="m 27.169798,48.256996 -0.125542,-0.358957 -0.932689,0.375292 -0.946695,0.308748 0.125542,0.358958 c 0,0 1.204648,2.222431 1.792546,2.007009 0.586271,-0.214875 0.08684,-2.69105 0.08684,-2.691051 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 30.708666,45.811233 -0.240742,-0.294372 -0.748083,0.671658 -0.784005,0.613917 0.240742,0.294372 c 0,0 1.892115,1.676388 2.37088,1.272885 0.477423,-0.402433 -0.838791,-2.558461 -0.838791,-2.558462 z"
id="path37214"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-8.2898792"
inkscape:transform-center-y="9.9754646" /><path
inkscape:transform-center-y="6.3501384"
inkscape:transform-center-x="-11.378477"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37216"
d="m 33.197613,42.302603 -0.326904,-0.194281 -0.473248,0.887012 -0.526751,0.845039 0.326904,0.19428 c 0,0 2.351365,0.928148 2.663251,0.385232 0.310991,-0.541451 -1.663251,-2.117283 -1.663251,-2.117284 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.336436,38.154299 -0.373637,-0.07076 -0.141332,0.995379 -0.205963,0.974236 0.373637,0.07076 c 0,0 2.527005,0.06796 2.634394,-0.548886 0.107049,-0.615163 -2.287098,-1.42073 -2.287098,-1.420731 z"
id="path37218"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-13.117337"
inkscape:transform-center-y="2.1056774" /><path
inkscape:transform-center-y="-2.1179006"
inkscape:transform-center-x="-13.11558"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37220"
d="m 33.987776,33.866668 -0.375305,0.0613 0.207631,0.983689 0.139667,0.985926 0.375305,-0.0613 c 0,0 2.397852,-0.800425 2.28779,-1.4168 -0.109805,-0.614677 -2.635087,-0.552816 -2.635087,-0.552817 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 32.193687,29.956862 -0.331705,0.185965 0.53155,0.853351 0.468451,0.878699 0.331705,-0.185965 c 0,0 1.979483,-1.572267 1.665246,-2.113827 -0.313415,-0.540052 -2.665246,0.381776 -2.665247,0.381775 z"
id="path37222"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-11.373439"
inkscape:transform-center-y="-6.3590113" /><path
inkscape:transform-center-y="-9.9819439"
inkscape:transform-center-x="-8.2821273"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37224"
d="m 29.170562,26.896461 -0.248097,0.288199 0.791357,0.620087 0.740733,0.665487 0.248097,-0.288199 c 0,0 1.322359,-2.154471 0.841848,-2.555896 -0.479222,-0.400288 -2.373937,1.27032 -2.373938,1.27032 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 25.283035,25.054594 -0.134565,0.355673 0.955715,0.312031 0.923671,0.372007 0.134565,-0.355672 c 0,0 0.505739,-2.476814 -0.08309,-2.689686 -0.587228,-0.212244 -1.796296,2.005645 -1.796297,2.005645 z"
id="path37226"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-4.2525393"
inkscape:transform-center-y="-12.434689" /></g></g></svg>

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,111 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="55"
id="Layer_1"
version="1.1"
viewBox="0 0 55 55"
width="55"
xml:space="preserve"
sodipodi:docname="tractor-offset.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="5.5"
inkscape:cx="31.920792"
inkscape:cy="68.363636"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><circle
cx="32"
cy="31.90909"
id="circle4909"
style="fill:#c75c5c"
r="32" /><g
id="g4917"
style="opacity:0.2"
transform="translate(-1.8181818e-7,-0.09090908)"><path
d="m 47.5,38 c 1.748,0 3.332,0.694 4.5,1.816 V 34 c 0,-2.209 -1.791,-4 -4,-4 H 37.585 C 36.105,24.734 34.117,17.624 34,17 34,15.895 33.105,15 32,15 H 20 c -1.105,0 -2,0.895 -2,2 0,0.555 0,5.706 0,10.697 C 19.253,27.254 20.595,27 22,27 v -8 h 8.384 c 0.571,2.158 1.812,6.612 3.045,11 H 30 c -0.025,0 -0.048,0.007 -0.073,0.007 C 32.419,32.206 34,35.415 34,39 c 0,2.188 -0.595,4.234 -1.618,6 h 8.644 C 41.013,44.834 41,44.669 41,44.5 41,40.91 43.91,38 47.5,38 Z"
id="path4911"
inkscape:connector-curvature="0"
style="fill:#231f20" /><circle
cx="22"
cy="39"
r="8"
id="circle4913"
style="fill:#231f20" /><circle
cx="47.5"
cy="44.5"
r="2.5"
id="circle4915"
style="fill:#231f20" /></g><g
id="g4921"
transform="translate(-1.8181818e-7,-0.09090908)"><path
d="m 30.384,17 c 0.663,2.505 2.228,8.104 3.635,13.101 L 22,31.094 V 17 h 8.384 M 32,13 H 20 c -1.105,0 -2,0.895 -2,2 0,1.105 0,20.438 0,20.438 l 21.188,-1.751 c 0,0 -5,-17.688 -5.188,-18.688 C 34,13.895 33.105,13 32,13 Z"
id="path4919"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><path
d="m 52,38.909091 c 0,2.209 -1.791,4 -4,4 H 30 c -2.209,0 -4,-1.791 -4,-4 v -7 c 0,-2.209 1.791,-4 4,-4 h 18 c 2.209,0 4,1.791 4,4 z"
id="path4923"
inkscape:connector-curvature="0"
style="fill:#76c2af" /><circle
cx="22.000002"
cy="36.909088"
id="circle4925"
style="fill:#f5cf87"
r="8" /><circle
cx="47.5"
cy="42.409088"
id="circle4927"
style="fill:#f5cf87"
r="2.5" /><path
d="m 29.927,29.916091 c -2.115,-1.866 -4.885,-3.007 -7.927,-3.007 -1.405,0 -2.747,0.254 -4,0.697 -4.658,1.649 -8.0000002,6.08 -8.0000002,11.303 0,6.627 5.3730002,12 12.0000002,12 4.439,0 8.306,-2.417 10.382,-6 1.023,-1.766 1.618,-3.812 1.618,-6 0,-3.585 -1.581,-6.794 -4.073,-8.993 z M 22,46.909091 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4929"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 52,39.725091 c -1.168,-1.122 -2.752,-1.816 -4.5,-1.816 -3.59,0 -6.5,2.91 -6.5,6.5 0,0.169 0.013,0.334 0.025,0.5 0.256,3.355 3.054,6 6.475,6 3.59,0 6.5,-2.91 6.5,-6.5 0,-1.842 -0.769,-3.501 -2,-4.684 z m -2,4.684 c 0,1.378 -1.122,2.5 -2.5,2.5 -1.378,0 -2.5,-1.122 -2.5,-2.5 0,-1.379 1.122,-2.5 2.5,-2.5 1.378,0 2.5,1.121 2.5,2.5 z"
id="path4931"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 22,24.909091 c -6.627,0 -12.0000002,5.373 -12.0000002,12 0,6.627 5.3730002,12 12.0000002,12 6.627,0 12,-5.373 12,-12 0,-6.627 -5.373,-12 -12,-12 z m 0,20 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4933"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 47.5,35.909091 c -3.59,0 -6.5,2.91 -6.5,6.5 0,3.59 2.91,6.5 6.5,6.5 3.59,0 6.5,-2.91 6.5,-6.5 0,-3.59 -2.91,-6.5 -6.5,-6.5 z m 0,9 c -1.378,0 -2.5,-1.122 -2.5,-2.5 0,-1.379 1.122,-2.5 2.5,-2.5 1.378,0 2.5,1.121 2.5,2.5 0,1.378 -1.122,2.5 -2.5,2.5 z"
id="path4935"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 34,14.909091 -3.609,2 c 0,0 0.531,2.078 0.531,2 H 34 c 1.105,0 2,-0.895 2,-2 0,-1.105 -0.895,-2 -2,-2 z"
id="path4937"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 36,14.909091 c 0,1.105 -0.895,2 -2,2 H 20 c -1.105,0 -2,-0.895 -2,-2 v 0 c 0,-1.105 0.895,-2 2,-2 h 14 c 1.105,0 2,0.895 2,2 z"
id="path4939"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></svg>

After

Width:  |  Height:  |  Size: 5.4 KiB

@ -0,0 +1,221 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="64"
id="Layer_1"
version="1.1"
viewBox="0 0 64 64"
width="64"
xml:space="preserve"
sodipodi:docname="tractor-only-spikes.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944"><inkscape:path-effect
effect="bspline"
id="path-effect37070"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="bspline"
id="path-effect37064"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="attach_path"
id="path-effect37060" /><inkscape:path-effect
effect="bspline"
id="path-effect37070-3"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="bspline"
id="path-effect37070-7"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="true"
inkscape:zoom="11.31"
inkscape:cx="21.441484"
inkscape:cy="33.347979"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showguides="false"><inkscape:grid
type="xygrid"
id="grid37066" /></sodipodi:namedview><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="spikes"
style="display:inline"><g
id="g37247"><path
inkscape:connector-curvature="0"
id="path37047"
d="m 7.5050916,24.042892 h 1.8912831 l 0.03002,-0.660448 -1.9513238,0.03002 z"
style="fill:none;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" /><path
inkscape:transform-center-y="-13.405146"
inkscape:transform-center-x="0.0063248869"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37127"
d="M 21,24.653417 20.9952,25.033664 22,25 22.9952,25.033664 23,24.653417 c 0,0 -0.371887,-2.500415 -0.998003,-2.499057 C 21.377591,22.155714 21,24.653417 21,24.653417 Z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.838052,25.741319 0.125542,0.358957 0.932689,-0.375296 0.946696,-0.308744 -0.125542,-0.358957 c 0,0 -1.204651,-2.222429 -1.792544,-2.007009 -0.586286,0.214832 -0.08684,2.691049 -0.08684,2.691049 z"
id="path37164"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="4.2625696"
inkscape:transform-center-y="-12.431238" /><path
inkscape:transform-center-y="-9.9754639"
inkscape:transform-center-x="8.2898816"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37196"
d="m 13.299185,28.187082 0.240741,0.294372 0.748082,-0.671662 0.784007,-0.613913 -0.240742,-0.294372 c 0,0 -1.892117,-1.676385 -2.370877,-1.272885 -0.477452,0.402398 0.83879,2.55846 0.838789,2.55846 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.810238,31.695712 0.326903,0.194281 0.473246,-0.887015 0.526754,-0.845036 -0.326904,-0.194281 c 0,0 -2.351366,-0.928144 -2.6632481,-0.385233 -0.3110299,0.541429 1.6632501,2.117283 1.6632491,2.117284 z"
id="path37198"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="11.378479"
inkscape:transform-center-y="-6.350138" /><path
inkscape:transform-center-y="-2.1056781"
inkscape:transform-center-x="13.117337"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37200"
d="m 9.6714147,35.844015 0.3736363,0.07076 0.141329,-0.995381 0.205967,-0.974234 -0.373637,-0.07076 c 0,0 -2.5270052,-0.06796 -2.634392,0.548884 -0.1070929,0.615155 2.2870973,1.42073 2.2870967,1.420731 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.020074,40.131646 0.375305,-0.0613 -0.207635,-0.983689 -0.139662,-0.985926 -0.3753052,0.0613 c 0,0 -2.3978518,0.800425 -2.2877893,1.416797 0.109761,0.614685 2.6350865,0.552817 2.6350865,0.552818 z"
id="path37202"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="13.11558"
inkscape:transform-center-y="2.1178991" /><path
inkscape:transform-center-y="6.3590136"
inkscape:transform-center-x="11.373439"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37204"
d="m 11.814163,44.041452 0.331705,-0.185965 -0.531554,-0.85335 -0.468446,-0.8787 -0.331706,0.185965 c 0,0 -1.9794821,1.572267 -1.6652455,2.113824 0.3133762,0.540074 2.6652455,-0.381775 2.6652465,-0.381774 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 14.837287,47.101854 0.248097,-0.2882 -0.79136,-0.620085 -0.740728,-0.66549 -0.248098,0.2882 c 0,0 -1.322358,2.154471 -0.841849,2.555893 0.479194,0.400322 2.373937,-1.270319 2.373938,-1.270318 z"
id="path37206"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="8.2821282"
inkscape:transform-center-y="9.9819455" /><path
inkscape:transform-center-y="12.434689"
inkscape:transform-center-x="4.2525406"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37208"
d="m 18.724814,48.943721 0.134564,-0.355673 -0.955716,-0.312028 -0.923668,-0.372013 -0.134566,0.355674 c 0,0 -0.505737,2.476814 0.08309,2.689684 0.587213,0.212285 1.796296,-2.005644 1.796298,-2.005644 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 23.00785,49.344898 0.0048,-0.380247 -1.004799,0.03366 -0.9952,-0.03366 -0.0048,0.380248 c 0,0 0.371883,2.500416 0.998005,2.499058 0.624406,-0.0014 1.001996,-2.499058 1.001998,-2.499059 z"
id="path37210"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-0.0063253793"
inkscape:transform-center-y="13.405147" /><path
inkscape:transform-center-y="12.431239"
inkscape:transform-center-x="-4.2625683"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37212"
d="m 27.169798,48.256996 -0.125542,-0.358957 -0.932689,0.375292 -0.946695,0.308748 0.125542,0.358958 c 0,0 1.204648,2.222431 1.792546,2.007009 0.586271,-0.214875 0.08684,-2.69105 0.08684,-2.691051 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 30.708666,45.811233 -0.240742,-0.294372 -0.748083,0.671658 -0.784005,0.613917 0.240742,0.294372 c 0,0 1.892115,1.676388 2.37088,1.272885 0.477423,-0.402433 -0.838791,-2.558461 -0.838791,-2.558462 z"
id="path37214"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-8.2898792"
inkscape:transform-center-y="9.9754646" /><path
inkscape:transform-center-y="6.3501384"
inkscape:transform-center-x="-11.378477"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37216"
d="m 33.197613,42.302603 -0.326904,-0.194281 -0.473248,0.887012 -0.526751,0.845039 0.326904,0.19428 c 0,0 2.351365,0.928148 2.663251,0.385232 0.310991,-0.541451 -1.663251,-2.117283 -1.663251,-2.117284 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.336436,38.154299 -0.373637,-0.07076 -0.141332,0.995379 -0.205963,0.974236 0.373637,0.07076 c 0,0 2.527005,0.06796 2.634394,-0.548886 0.107049,-0.615163 -2.287098,-1.42073 -2.287098,-1.420731 z"
id="path37218"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-13.117337"
inkscape:transform-center-y="2.1056774" /><path
inkscape:transform-center-y="-2.1179006"
inkscape:transform-center-x="-13.11558"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37220"
d="m 33.987776,33.866668 -0.375305,0.0613 0.207631,0.983689 0.139667,0.985926 0.375305,-0.0613 c 0,0 2.397852,-0.800425 2.28779,-1.4168 -0.109805,-0.614677 -2.635087,-0.552816 -2.635087,-0.552817 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 32.193687,29.956862 -0.331705,0.185965 0.53155,0.853351 0.468451,0.878699 0.331705,-0.185965 c 0,0 1.979483,-1.572267 1.665246,-2.113827 -0.313415,-0.540052 -2.665246,0.381776 -2.665247,0.381775 z"
id="path37222"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-11.373439"
inkscape:transform-center-y="-6.3590113" /><path
inkscape:transform-center-y="-9.9819439"
inkscape:transform-center-x="-8.2821273"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37224"
d="m 29.170562,26.896461 -0.248097,0.288199 0.791357,0.620087 0.740733,0.665487 0.248097,-0.288199 c 0,0 1.322359,-2.154471 0.841848,-2.555896 -0.479222,-0.400288 -2.373937,1.27032 -2.373938,1.27032 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 25.283035,25.054594 -0.134565,0.355673 0.955715,0.312031 0.923671,0.372007 0.134565,-0.355672 c 0,0 0.505739,-2.476814 -0.08309,-2.689686 -0.587228,-0.212244 -1.796296,2.005645 -1.796297,2.005645 z"
id="path37226"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-4.2525393"
inkscape:transform-center-y="-12.434689" /></g></g></svg>

After

Width:  |  Height:  |  Size: 13 KiB

@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="55"
id="Layer_1"
version="1.1"
viewBox="0 0 55 55"
width="55"
xml:space="preserve"
sodipodi:docname="tractor-spikes-offset.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="25.32"
inkscape:cx="17.673637"
inkscape:cy="18.613333"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer5"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="spikes"><g
transform="translate(0,-0.090909)"
style="display:inline"
id="g37247"><path
inkscape:connector-curvature="0"
id="path37047"
d="m 7.5050916,24.042892 h 1.8912831 l 0.03002,-0.660448 -1.9513238,0.03002 z"
style="fill:none;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /><path
inkscape:transform-center-y="-13.405146"
inkscape:transform-center-x="0.0063248869"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37127"
d="M 21,24.653417 20.9952,25.033664 22,25 22.9952,25.033664 23,24.653417 c 0,0 -0.371887,-2.500415 -0.998003,-2.499057 C 21.377591,22.155714 21,24.653417 21,24.653417 Z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.838052,25.741319 0.125542,0.358957 0.932689,-0.375296 0.946696,-0.308744 -0.125542,-0.358957 c 0,0 -1.204651,-2.222429 -1.792544,-2.007009 -0.586286,0.214832 -0.08684,2.691049 -0.08684,2.691049 z"
id="path37164"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="4.2625696"
inkscape:transform-center-y="-12.431238" /><path
inkscape:transform-center-y="-9.9754639"
inkscape:transform-center-x="8.2898816"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37196"
d="m 13.299185,28.187082 0.240741,0.294372 0.748082,-0.671662 0.784007,-0.613913 -0.240742,-0.294372 c 0,0 -1.892117,-1.676385 -2.370877,-1.272885 -0.477452,0.402398 0.83879,2.55846 0.838789,2.55846 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.810238,31.695712 0.326903,0.194281 0.473246,-0.887015 0.526754,-0.845036 -0.326904,-0.194281 c 0,0 -2.351366,-0.928144 -2.6632481,-0.385233 -0.3110299,0.541429 1.6632501,2.117283 1.6632491,2.117284 z"
id="path37198"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="11.378479"
inkscape:transform-center-y="-6.350138" /><path
inkscape:transform-center-y="-2.1056781"
inkscape:transform-center-x="13.117337"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37200"
d="m 9.6714147,35.844015 0.3736363,0.07076 0.141329,-0.995381 0.205967,-0.974234 -0.373637,-0.07076 c 0,0 -2.5270052,-0.06796 -2.634392,0.548884 -0.1070929,0.615155 2.2870973,1.42073 2.2870967,1.420731 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.020074,40.131646 0.375305,-0.0613 -0.207635,-0.983689 -0.139662,-0.985926 -0.3753052,0.0613 c 0,0 -2.3978518,0.800425 -2.2877893,1.416797 0.109761,0.614685 2.6350865,0.552817 2.6350865,0.552818 z"
id="path37202"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="13.11558"
inkscape:transform-center-y="2.1178991" /><path
inkscape:transform-center-y="6.3590136"
inkscape:transform-center-x="11.373439"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37204"
d="m 11.814163,44.041452 0.331705,-0.185965 -0.531554,-0.85335 -0.468446,-0.8787 -0.331706,0.185965 c 0,0 -1.9794821,1.572267 -1.6652455,2.113824 0.3133762,0.540074 2.6652455,-0.381775 2.6652465,-0.381774 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 14.837287,47.101854 0.248097,-0.2882 -0.79136,-0.620085 -0.740728,-0.66549 -0.248098,0.2882 c 0,0 -1.322358,2.154471 -0.841849,2.555893 0.479194,0.400322 2.373937,-1.270319 2.373938,-1.270318 z"
id="path37206"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="8.2821282"
inkscape:transform-center-y="9.9819455" /><path
inkscape:transform-center-y="12.434689"
inkscape:transform-center-x="4.2525406"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37208"
d="m 18.724814,48.943721 0.134564,-0.355673 -0.955716,-0.312028 -0.923668,-0.372013 -0.134566,0.355674 c 0,0 -0.505737,2.476814 0.08309,2.689684 0.587213,0.212285 1.796296,-2.005644 1.796298,-2.005644 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 23.00785,49.344898 0.0048,-0.380247 -1.004799,0.03366 -0.9952,-0.03366 -0.0048,0.380248 c 0,0 0.371883,2.500416 0.998005,2.499058 0.624406,-0.0014 1.001996,-2.499058 1.001998,-2.499059 z"
id="path37210"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-0.0063253793"
inkscape:transform-center-y="13.405147" /><path
inkscape:transform-center-y="12.431239"
inkscape:transform-center-x="-4.2625683"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37212"
d="m 27.169798,48.256996 -0.125542,-0.358957 -0.932689,0.375292 -0.946695,0.308748 0.125542,0.358958 c 0,0 1.204648,2.222431 1.792546,2.007009 0.586271,-0.214875 0.08684,-2.69105 0.08684,-2.691051 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 30.708666,45.811233 -0.240742,-0.294372 -0.748083,0.671658 -0.784005,0.613917 0.240742,0.294372 c 0,0 1.892115,1.676388 2.37088,1.272885 0.477423,-0.402433 -0.838791,-2.558461 -0.838791,-2.558462 z"
id="path37214"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-8.2898792"
inkscape:transform-center-y="9.9754646" /><path
inkscape:transform-center-y="6.3501384"
inkscape:transform-center-x="-11.378477"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37216"
d="m 33.197613,42.302603 -0.326904,-0.194281 -0.473248,0.887012 -0.526751,0.845039 0.326904,0.19428 c 0,0 2.351365,0.928148 2.663251,0.385232 0.310991,-0.541451 -1.663251,-2.117283 -1.663251,-2.117284 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.336436,38.154299 -0.373637,-0.07076 -0.141332,0.995379 -0.205963,0.974236 0.373637,0.07076 c 0,0 2.527005,0.06796 2.634394,-0.548886 0.107049,-0.615163 -2.287098,-1.42073 -2.287098,-1.420731 z"
id="path37218"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-13.117337"
inkscape:transform-center-y="2.1056774" /><path
inkscape:transform-center-y="-2.1179006"
inkscape:transform-center-x="-13.11558"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37220"
d="m 33.987776,33.866668 -0.375305,0.0613 0.207631,0.983689 0.139667,0.985926 0.375305,-0.0613 c 0,0 2.397852,-0.800425 2.28779,-1.4168 -0.109805,-0.614677 -2.635087,-0.552816 -2.635087,-0.552817 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 32.193687,29.956862 -0.331705,0.185965 0.53155,0.853351 0.468451,0.878699 0.331705,-0.185965 c 0,0 1.979483,-1.572267 1.665246,-2.113827 -0.313415,-0.540052 -2.665246,0.381776 -2.665247,0.381775 z"
id="path37222"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-11.373439"
inkscape:transform-center-y="-6.3590113" /><path
inkscape:transform-center-y="-9.9819439"
inkscape:transform-center-x="-8.2821273"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37224"
d="m 29.170562,26.896461 -0.248097,0.288199 0.791357,0.620087 0.740733,0.665487 0.248097,-0.288199 c 0,0 1.322359,-2.154471 0.841848,-2.555896 -0.479222,-0.400288 -2.373937,1.27032 -2.373938,1.27032 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 25.283035,25.054594 -0.134565,0.355673 0.955715,0.312031 0.923671,0.372007 0.134565,-0.355672 c 0,0 0.505739,-2.476814 -0.08309,-2.689686 -0.587228,-0.212244 -1.796296,2.005645 -1.796297,2.005645 z"
id="path37226"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-4.2525393"
inkscape:transform-center-y="-12.434689" /></g></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,182 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="29.689598"
id="Layer_1"
version="1.1"
viewBox="0 0 29.246191 29.689598"
width="29.246191"
xml:space="preserve"
sodipodi:docname="tractor-spikes-only.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="25.32"
inkscape:cx="10.292808"
inkscape:cy="15.366382"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer5"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><g
inkscape:groupmode="layer"
id="layer5"
inkscape:label="spikes"
transform="translate(-7.3808295,-22.06345)"><g
transform="translate(0,-0.090909)"
style="display:inline"
id="g37247"><path
inkscape:connector-curvature="0"
id="path37047"
d="m 7.5050916,24.042892 h 1.8912831 l 0.03002,-0.660448 -1.9513238,0.03002 z"
style="fill:none;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /><path
inkscape:transform-center-y="-13.405146"
inkscape:transform-center-x="0.0063248869"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37127"
d="M 21,24.653417 20.9952,25.033664 22,25 22.9952,25.033664 23,24.653417 c 0,0 -0.371887,-2.500415 -0.998003,-2.499057 C 21.377591,22.155714 21,24.653417 21,24.653417 Z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.838052,25.741319 0.125542,0.358957 0.932689,-0.375296 0.946696,-0.308744 -0.125542,-0.358957 c 0,0 -1.204651,-2.222429 -1.792544,-2.007009 -0.586286,0.214832 -0.08684,2.691049 -0.08684,2.691049 z"
id="path37164"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="4.2625696"
inkscape:transform-center-y="-12.431238" /><path
inkscape:transform-center-y="-9.9754639"
inkscape:transform-center-x="8.2898816"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37196"
d="m 13.299185,28.187082 0.240741,0.294372 0.748082,-0.671662 0.784007,-0.613913 -0.240742,-0.294372 c 0,0 -1.892117,-1.676385 -2.370877,-1.272885 -0.477452,0.402398 0.83879,2.55846 0.838789,2.55846 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.810238,31.695712 0.326903,0.194281 0.473246,-0.887015 0.526754,-0.845036 -0.326904,-0.194281 c 0,0 -2.351366,-0.928144 -2.6632481,-0.385233 -0.3110299,0.541429 1.6632501,2.117283 1.6632491,2.117284 z"
id="path37198"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="11.378479"
inkscape:transform-center-y="-6.350138" /><path
inkscape:transform-center-y="-2.1056781"
inkscape:transform-center-x="13.117337"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37200"
d="m 9.6714147,35.844015 0.3736363,0.07076 0.141329,-0.995381 0.205967,-0.974234 -0.373637,-0.07076 c 0,0 -2.5270052,-0.06796 -2.634392,0.548884 -0.1070929,0.615155 2.2870973,1.42073 2.2870967,1.420731 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 10.020074,40.131646 0.375305,-0.0613 -0.207635,-0.983689 -0.139662,-0.985926 -0.3753052,0.0613 c 0,0 -2.3978518,0.800425 -2.2877893,1.416797 0.109761,0.614685 2.6350865,0.552817 2.6350865,0.552818 z"
id="path37202"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="13.11558"
inkscape:transform-center-y="2.1178991" /><path
inkscape:transform-center-y="6.3590136"
inkscape:transform-center-x="11.373439"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37204"
d="m 11.814163,44.041452 0.331705,-0.185965 -0.531554,-0.85335 -0.468446,-0.8787 -0.331706,0.185965 c 0,0 -1.9794821,1.572267 -1.6652455,2.113824 0.3133762,0.540074 2.6652455,-0.381775 2.6652465,-0.381774 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 14.837287,47.101854 0.248097,-0.2882 -0.79136,-0.620085 -0.740728,-0.66549 -0.248098,0.2882 c 0,0 -1.322358,2.154471 -0.841849,2.555893 0.479194,0.400322 2.373937,-1.270319 2.373938,-1.270318 z"
id="path37206"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="8.2821282"
inkscape:transform-center-y="9.9819455" /><path
inkscape:transform-center-y="12.434689"
inkscape:transform-center-x="4.2525406"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37208"
d="m 18.724814,48.943721 0.134564,-0.355673 -0.955716,-0.312028 -0.923668,-0.372013 -0.134566,0.355674 c 0,0 -0.505737,2.476814 0.08309,2.689684 0.587213,0.212285 1.796296,-2.005644 1.796298,-2.005644 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 23.00785,49.344898 0.0048,-0.380247 -1.004799,0.03366 -0.9952,-0.03366 -0.0048,0.380248 c 0,0 0.371883,2.500416 0.998005,2.499058 0.624406,-0.0014 1.001996,-2.499058 1.001998,-2.499059 z"
id="path37210"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-0.0063253793"
inkscape:transform-center-y="13.405147" /><path
inkscape:transform-center-y="12.431239"
inkscape:transform-center-x="-4.2625683"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37212"
d="m 27.169798,48.256996 -0.125542,-0.358957 -0.932689,0.375292 -0.946695,0.308748 0.125542,0.358958 c 0,0 1.204648,2.222431 1.792546,2.007009 0.586271,-0.214875 0.08684,-2.69105 0.08684,-2.691051 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 30.708666,45.811233 -0.240742,-0.294372 -0.748083,0.671658 -0.784005,0.613917 0.240742,0.294372 c 0,0 1.892115,1.676388 2.37088,1.272885 0.477423,-0.402433 -0.838791,-2.558461 -0.838791,-2.558462 z"
id="path37214"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-8.2898792"
inkscape:transform-center-y="9.9754646" /><path
inkscape:transform-center-y="6.3501384"
inkscape:transform-center-x="-11.378477"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37216"
d="m 33.197613,42.302603 -0.326904,-0.194281 -0.473248,0.887012 -0.526751,0.845039 0.326904,0.19428 c 0,0 2.351365,0.928148 2.663251,0.385232 0.310991,-0.541451 -1.663251,-2.117283 -1.663251,-2.117284 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 34.336436,38.154299 -0.373637,-0.07076 -0.141332,0.995379 -0.205963,0.974236 0.373637,0.07076 c 0,0 2.527005,0.06796 2.634394,-0.548886 0.107049,-0.615163 -2.287098,-1.42073 -2.287098,-1.420731 z"
id="path37218"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-13.117337"
inkscape:transform-center-y="2.1056774" /><path
inkscape:transform-center-y="-2.1179006"
inkscape:transform-center-x="-13.11558"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37220"
d="m 33.987776,33.866668 -0.375305,0.0613 0.207631,0.983689 0.139667,0.985926 0.375305,-0.0613 c 0,0 2.397852,-0.800425 2.28779,-1.4168 -0.109805,-0.614677 -2.635087,-0.552816 -2.635087,-0.552817 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 32.193687,29.956862 -0.331705,0.185965 0.53155,0.853351 0.468451,0.878699 0.331705,-0.185965 c 0,0 1.979483,-1.572267 1.665246,-2.113827 -0.313415,-0.540052 -2.665246,0.381776 -2.665247,0.381775 z"
id="path37222"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-11.373439"
inkscape:transform-center-y="-6.3590113" /><path
inkscape:transform-center-y="-9.9819439"
inkscape:transform-center-x="-8.2821273"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37224"
d="m 29.170562,26.896461 -0.248097,0.288199 0.791357,0.620087 0.740733,0.665487 0.248097,-0.288199 c 0,0 1.322359,-2.154471 0.841848,-2.555896 -0.479222,-0.400288 -2.373937,1.27032 -2.373938,1.27032 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 25.283035,25.054594 -0.134565,0.355673 0.955715,0.312031 0.923671,0.372007 0.134565,-0.355672 c 0,0 0.505739,-2.476814 -0.08309,-2.689686 -0.587228,-0.212244 -1.796296,2.005645 -1.796297,2.005645 z"
id="path37226"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-4.2525393"
inkscape:transform-center-y="-12.434689" /></g></g></svg>

After

Width:  |  Height:  |  Size: 12 KiB

@ -0,0 +1,289 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="64"
id="Layer_1"
version="1.1"
viewBox="0 0 64 64"
width="64"
xml:space="preserve"
sodipodi:docname="tractor-with-spikes.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title /></cc:Work></rdf:RDF></metadata><defs
id="defs4944"><inkscape:path-effect
effect="bspline"
id="path-effect37070"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="bspline"
id="path-effect37064"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="attach_path"
id="path-effect37060" /><inkscape:path-effect
effect="bspline"
id="path-effect37070-3"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /><inkscape:path-effect
effect="bspline"
id="path-effect37070-7"
is_visible="true"
weight="33.333333"
steps="2"
helper_size="0"
apply_no_weight="true"
apply_with_weight="true"
only_selected="false" /></defs><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="true"
inkscape:zoom="11.31"
inkscape:cx="21.441484"
inkscape:cy="33.347979"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
showguides="false"><inkscape:grid
type="xygrid"
id="grid37066" /></sodipodi:namedview><g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="tractor"
style="display:inline"
sodipodi:insensitive="true"><circle
cx="32"
cy="32"
r="32"
id="circle4909"
style="fill:#c75c5c" /><g
id="g4917"
style="opacity:0.2"><path
d="m 47.5,38 c 1.748,0 3.332,0.694 4.5,1.816 V 34 c 0,-2.209 -1.791,-4 -4,-4 H 37.585 C 36.105,24.734 34.117,17.624 34,17 34,15.895 33.105,15 32,15 H 20 c -1.105,0 -2,0.895 -2,2 0,0.555 0,5.706 0,10.697 C 19.253,27.254 20.595,27 22,27 v -8 h 8.384 c 0.571,2.158 1.812,6.612 3.045,11 H 30 c -0.025,0 -0.048,0.007 -0.073,0.007 C 32.419,32.206 34,35.415 34,39 c 0,2.188 -0.595,4.234 -1.618,6 h 8.644 C 41.013,44.834 41,44.669 41,44.5 41,40.91 43.91,38 47.5,38 Z"
id="path4911"
inkscape:connector-curvature="0"
style="fill:#231f20" /><circle
cx="22"
cy="39"
r="8"
id="circle4913"
style="fill:#231f20" /><circle
cx="47.5"
cy="44.5"
r="2.5"
id="circle4915"
style="fill:#231f20" /></g><g
id="g4921"><path
d="m 30.384,17 c 0.663,2.505 2.228,8.104 3.635,13.101 L 22,31.094 V 17 h 8.384 M 32,13 H 20 c -1.105,0 -2,0.895 -2,2 0,1.105 0,20.438 0,20.438 l 21.188,-1.751 c 0,0 -5,-17.688 -5.188,-18.688 C 34,13.895 33.105,13 32,13 Z"
id="path4919"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><path
d="m 52,39 c 0,2.209 -1.791,4 -4,4 H 30 c -2.209,0 -4,-1.791 -4,-4 v -7 c 0,-2.209 1.791,-4 4,-4 h 18 c 2.209,0 4,1.791 4,4 z"
id="path4923"
inkscape:connector-curvature="0"
style="fill:#76c2af" /><circle
cx="22"
cy="37"
r="8"
id="circle4925"
style="fill:#f5cf87" /><circle
cx="47.5"
cy="42.5"
r="2.5"
id="circle4927"
style="fill:#f5cf87" /><path
d="M 29.927,30.007 C 27.812,28.141 25.042,27 22,27 c -1.405,0 -2.747,0.254 -4,0.697 -4.658,1.649 -8,6.08 -8,11.303 0,6.627 5.373,12 12,12 4.439,0 8.306,-2.417 10.382,-6 C 33.405,43.234 34,41.188 34,39 34,35.415 32.419,32.206 29.927,30.007 Z M 22,47 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4929"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="M 52,39.816 C 50.832,38.694 49.248,38 47.5,38 43.91,38 41,40.91 41,44.5 c 0,0.169 0.013,0.334 0.025,0.5 0.256,3.355 3.054,6 6.475,6 3.59,0 6.5,-2.91 6.5,-6.5 0,-1.842 -0.769,-3.501 -2,-4.684 z M 50,44.5 C 50,45.878 48.878,47 47.5,47 46.122,47 45,45.878 45,44.5 45,43.121 46.122,42 47.5,42 c 1.378,0 2.5,1.121 2.5,2.5 z"
id="path4931"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 22,25 c -6.627,0 -12,5.373 -12,12 0,6.627 5.373,12 12,12 6.627,0 12,-5.373 12,-12 0,-6.627 -5.373,-12 -12,-12 z m 0,20 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4933"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="M 47.5,36 C 43.91,36 41,38.91 41,42.5 41,46.09 43.91,49 47.5,49 51.09,49 54,46.09 54,42.5 54,38.91 51.09,36 47.5,36 Z m 0,9 C 46.122,45 45,43.878 45,42.5 45,41.121 46.122,40 47.5,40 c 1.378,0 2.5,1.121 2.5,2.5 0,1.378 -1.122,2.5 -2.5,2.5 z"
id="path4935"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 34,15 -3.609,2 c 0,0 0.531,2.078 0.531,2 H 34 c 1.105,0 2,-0.895 2,-2 0,-1.105 -0.895,-2 -2,-2 z"
id="path4937"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 36,15 c 0,1.105 -0.895,2 -2,2 H 20 c -1.105,0 -2,-0.895 -2,-2 v 0 c 0,-1.105 0.895,-2 2,-2 h 14 c 1.105,0 2,0.895 2,2 z"
id="path4939"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><g
inkscape:groupmode="layer"
id="layer1"
inkscape:label="spikes"
style="display:inline"><path
style="fill:none;stroke:#000000;stroke-width:0;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none"
d="m 7.5050916,24.042892 h 1.8912831 l 0.03002,-0.660448 -1.9513238,0.03002 z"
id="path37047"
inkscape:connector-curvature="0" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="M 21,24.653417 20.9952,25.033664 22,25 22.9952,25.033664 23,24.653417 c 0,0 -0.371887,-2.500415 -0.998003,-2.499057 C 21.377591,22.155714 21,24.653417 21,24.653417 Z"
id="path37127"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="0.0063248869"
inkscape:transform-center-y="-13.405146" /><path
inkscape:transform-center-y="-12.431238"
inkscape:transform-center-x="4.2625696"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37164"
d="m 16.838052,25.741319 0.125542,0.358957 0.932689,-0.375296 0.946696,-0.308744 -0.125542,-0.358957 c 0,0 -1.204651,-2.222429 -1.792544,-2.007009 -0.586286,0.214832 -0.08684,2.691049 -0.08684,2.691049 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 13.299185,28.187082 0.240741,0.294372 0.748082,-0.671662 0.784007,-0.613913 -0.240742,-0.294372 c 0,0 -1.892117,-1.676385 -2.370877,-1.272885 -0.477452,0.402398 0.83879,2.55846 0.838789,2.55846 z"
id="path37196"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="8.2898816"
inkscape:transform-center-y="-9.9754639" /><path
inkscape:transform-center-y="-6.350138"
inkscape:transform-center-x="11.378479"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37198"
d="m 10.810238,31.695712 0.326903,0.194281 0.473246,-0.887015 0.526754,-0.845036 -0.326904,-0.194281 c 0,0 -2.351366,-0.928144 -2.6632481,-0.385233 -0.3110299,0.541429 1.6632501,2.117283 1.6632491,2.117284 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 9.6714147,35.844015 0.3736363,0.07076 0.141329,-0.995381 0.205967,-0.974234 -0.373637,-0.07076 c 0,0 -2.5270052,-0.06796 -2.634392,0.548884 -0.1070929,0.615155 2.2870973,1.42073 2.2870967,1.420731 z"
id="path37200"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="13.117337"
inkscape:transform-center-y="-2.1056781" /><path
inkscape:transform-center-y="2.1178991"
inkscape:transform-center-x="13.11558"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37202"
d="m 10.020074,40.131646 0.375305,-0.0613 -0.207635,-0.983689 -0.139662,-0.985926 -0.3753052,0.0613 c 0,0 -2.3978518,0.800425 -2.2877893,1.416797 0.109761,0.614685 2.6350865,0.552817 2.6350865,0.552818 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 11.814163,44.041452 0.331705,-0.185965 -0.531554,-0.85335 -0.468446,-0.8787 -0.331706,0.185965 c 0,0 -1.9794821,1.572267 -1.6652455,2.113824 0.3133762,0.540074 2.6652455,-0.381775 2.6652465,-0.381774 z"
id="path37204"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="11.373439"
inkscape:transform-center-y="6.3590136" /><path
inkscape:transform-center-y="9.9819455"
inkscape:transform-center-x="8.2821282"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37206"
d="m 14.837287,47.101854 0.248097,-0.2882 -0.79136,-0.620085 -0.740728,-0.66549 -0.248098,0.2882 c 0,0 -1.322358,2.154471 -0.841849,2.555893 0.479194,0.400322 2.373937,-1.270319 2.373938,-1.270318 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 18.724814,48.943721 0.134564,-0.355673 -0.955716,-0.312028 -0.923668,-0.372013 -0.134566,0.355674 c 0,0 -0.505737,2.476814 0.08309,2.689684 0.587213,0.212285 1.796296,-2.005644 1.796298,-2.005644 z"
id="path37208"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="4.2525406"
inkscape:transform-center-y="12.434689" /><path
inkscape:transform-center-y="13.405147"
inkscape:transform-center-x="-0.0063253793"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37210"
d="m 23.00785,49.344898 0.0048,-0.380247 -1.004799,0.03366 -0.9952,-0.03366 -0.0048,0.380248 c 0,0 0.371883,2.500416 0.998005,2.499058 0.624406,-0.0014 1.001996,-2.499058 1.001998,-2.499059 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 27.169798,48.256996 -0.125542,-0.358957 -0.932689,0.375292 -0.946695,0.308748 0.125542,0.358958 c 0,0 1.204648,2.222431 1.792546,2.007009 0.586271,-0.214875 0.08684,-2.69105 0.08684,-2.691051 z"
id="path37212"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-4.2625683"
inkscape:transform-center-y="12.431239" /><path
inkscape:transform-center-y="9.9754646"
inkscape:transform-center-x="-8.2898792"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37214"
d="m 30.708666,45.811233 -0.240742,-0.294372 -0.748083,0.671658 -0.784005,0.613917 0.240742,0.294372 c 0,0 1.892115,1.676388 2.37088,1.272885 0.477423,-0.402433 -0.838791,-2.558461 -0.838791,-2.558462 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 33.197613,42.302603 -0.326904,-0.194281 -0.473248,0.887012 -0.526751,0.845039 0.326904,0.19428 c 0,0 2.351365,0.928148 2.663251,0.385232 0.310991,-0.541451 -1.663251,-2.117283 -1.663251,-2.117284 z"
id="path37216"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-11.378477"
inkscape:transform-center-y="6.3501384" /><path
inkscape:transform-center-y="2.1056774"
inkscape:transform-center-x="-13.117337"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37218"
d="m 34.336436,38.154299 -0.373637,-0.07076 -0.141332,0.995379 -0.205963,0.974236 0.373637,0.07076 c 0,0 2.527005,0.06796 2.634394,-0.548886 0.107049,-0.615163 -2.287098,-1.42073 -2.287098,-1.420731 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 33.987776,33.866668 -0.375305,0.0613 0.207631,0.983689 0.139667,0.985926 0.375305,-0.0613 c 0,0 2.397852,-0.800425 2.28779,-1.4168 -0.109805,-0.614677 -2.635087,-0.552816 -2.635087,-0.552817 z"
id="path37220"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-13.11558"
inkscape:transform-center-y="-2.1179006" /><path
inkscape:transform-center-y="-6.3590113"
inkscape:transform-center-x="-11.373439"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37222"
d="m 32.193687,29.956862 -0.331705,0.185965 0.53155,0.853351 0.468451,0.878699 0.331705,-0.185965 c 0,0 1.979483,-1.572267 1.665246,-2.113827 -0.313415,-0.540052 -2.665246,0.381776 -2.665247,0.381775 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /><path
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 29.170562,26.896461 -0.248097,0.288199 0.791357,0.620087 0.740733,0.665487 0.248097,-0.288199 c 0,0 1.322359,-2.154471 0.841848,-2.555896 -0.479222,-0.400288 -2.373937,1.27032 -2.373938,1.27032 z"
id="path37224"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccsc"
inkscape:transform-center-x="-8.2821273"
inkscape:transform-center-y="-9.9819439" /><path
inkscape:transform-center-y="-12.434689"
inkscape:transform-center-x="-4.2525393"
sodipodi:nodetypes="cccccsc"
inkscape:connector-curvature="0"
id="path37226"
d="m 25.283035,25.054594 -0.134565,0.355673 0.955715,0.312031 0.923671,0.372007 0.134565,-0.355672 c 0,0 0.505739,-2.476814 -0.08309,-2.689686 -0.587228,-0.212244 -1.796296,2.005645 -1.796297,2.005645 z"
style="fill:#7185a5;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" /></g></svg>

After

Width:  |  Height:  |  Size: 16 KiB

@ -0,0 +1,109 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
enable-background="new 0 0 64 64"
height="64"
id="Layer_1"
version="1.1"
viewBox="0 0 64 64"
width="64"
xml:space="preserve"
sodipodi:docname="tractor.svg"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
id="metadata4946"><rdf:RDF><cc:Work
rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
id="defs4944" /><sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview4942"
showgrid="false"
inkscape:zoom="12.625"
inkscape:cx="31.920792"
inkscape:cy="32"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Layer_1"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" /><circle
cx="32"
cy="32"
r="32"
id="circle4909"
style="fill:#c75c5c" /><g
id="g4917"
style="opacity:0.2"><path
d="m 47.5,38 c 1.748,0 3.332,0.694 4.5,1.816 V 34 c 0,-2.209 -1.791,-4 -4,-4 H 37.585 C 36.105,24.734 34.117,17.624 34,17 34,15.895 33.105,15 32,15 H 20 c -1.105,0 -2,0.895 -2,2 0,0.555 0,5.706 0,10.697 C 19.253,27.254 20.595,27 22,27 v -8 h 8.384 c 0.571,2.158 1.812,6.612 3.045,11 H 30 c -0.025,0 -0.048,0.007 -0.073,0.007 C 32.419,32.206 34,35.415 34,39 c 0,2.188 -0.595,4.234 -1.618,6 h 8.644 C 41.013,44.834 41,44.669 41,44.5 41,40.91 43.91,38 47.5,38 Z"
id="path4911"
inkscape:connector-curvature="0"
style="fill:#231f20" /><circle
cx="22"
cy="39"
r="8"
id="circle4913"
style="fill:#231f20" /><circle
cx="47.5"
cy="44.5"
r="2.5"
id="circle4915"
style="fill:#231f20" /></g><g
id="g4921"><path
d="m 30.384,17 c 0.663,2.505 2.228,8.104 3.635,13.101 L 22,31.094 V 17 h 8.384 M 32,13 H 20 c -1.105,0 -2,0.895 -2,2 0,1.105 0,20.438 0,20.438 l 21.188,-1.751 c 0,0 -5,-17.688 -5.188,-18.688 C 34,13.895 33.105,13 32,13 Z"
id="path4919"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></g><path
d="m 52,39 c 0,2.209 -1.791,4 -4,4 H 30 c -2.209,0 -4,-1.791 -4,-4 v -7 c 0,-2.209 1.791,-4 4,-4 h 18 c 2.209,0 4,1.791 4,4 z"
id="path4923"
inkscape:connector-curvature="0"
style="fill:#76c2af" /><circle
cx="22"
cy="37"
r="8"
id="circle4925"
style="fill:#f5cf87" /><circle
cx="47.5"
cy="42.5"
r="2.5"
id="circle4927"
style="fill:#f5cf87" /><path
d="M 29.927,30.007 C 27.812,28.141 25.042,27 22,27 c -1.405,0 -2.747,0.254 -4,0.697 -4.658,1.649 -8,6.08 -8,11.303 0,6.627 5.373,12 12,12 4.439,0 8.306,-2.417 10.382,-6 C 33.405,43.234 34,41.188 34,39 34,35.415 32.419,32.206 29.927,30.007 Z M 22,47 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4929"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="M 52,39.816 C 50.832,38.694 49.248,38 47.5,38 43.91,38 41,40.91 41,44.5 c 0,0.169 0.013,0.334 0.025,0.5 0.256,3.355 3.054,6 6.475,6 3.59,0 6.5,-2.91 6.5,-6.5 0,-1.842 -0.769,-3.501 -2,-4.684 z M 50,44.5 C 50,45.878 48.878,47 47.5,47 46.122,47 45,45.878 45,44.5 45,43.121 46.122,42 47.5,42 c 1.378,0 2.5,1.121 2.5,2.5 z"
id="path4931"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 22,25 c -6.627,0 -12,5.373 -12,12 0,6.627 5.373,12 12,12 6.627,0 12,-5.373 12,-12 0,-6.627 -5.373,-12 -12,-12 z m 0,20 c -4.411,0 -8,-3.589 -8,-8 0,-4.411 3.589,-8 8,-8 4.411,0 8,3.589 8,8 0,4.411 -3.589,8 -8,8 z"
id="path4933"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="M 47.5,36 C 43.91,36 41,38.91 41,42.5 41,46.09 43.91,49 47.5,49 51.09,49 54,46.09 54,42.5 54,38.91 51.09,36 47.5,36 Z m 0,9 C 46.122,45 45,43.878 45,42.5 45,41.121 46.122,40 47.5,40 c 1.378,0 2.5,1.121 2.5,2.5 0,1.378 -1.122,2.5 -2.5,2.5 z"
id="path4935"
inkscape:connector-curvature="0"
style="fill:#4f5d73" /><path
d="m 34,15 -3.609,2 c 0,0 0.531,2.078 0.531,2 H 34 c 1.105,0 2,-0.895 2,-2 0,-1.105 -0.895,-2 -2,-2 z"
id="path4937"
inkscape:connector-curvature="0"
style="opacity:0.2;fill:#231f20" /><path
d="m 36,15 c 0,1.105 -0.895,2 -2,2 H 20 c -1.105,0 -2,-0.895 -2,-2 v 0 c 0,-1.105 0.895,-2 2,-2 h 14 c 1.105,0 2,0.895 2,2 z"
id="path4939"
inkscape:connector-curvature="0"
style="fill:#76c2af" /></svg>

After

Width:  |  Height:  |  Size: 5.1 KiB

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
viewBox="0 0 24.000011 31.499734"
version="1.1"
x="0px"
y="0px"
id="svg28050"
sodipodi:docname="wheat.svg"
width="24.000011"
height="31.499733"
inkscape:version="0.92.4 (5da689c313, 2019-01-14)">
<metadata
id="metadata28056">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs28054" />
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="1015"
id="namedview28052"
showgrid="false"
inkscape:zoom="5.9"
inkscape:cx="12.000007"
inkscape:cy="12.000021"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg28050" />
<g
transform="translate(-3.9999932,-1020.8625)"
id="g28044">
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 12.97266,1025.1051 a 0.50004997,0.50004997 0 0 0 -0.47266,0.502 l 0.006,1.5761 c 0.004,0.9389 0.4486,1.8228 1.19922,2.3868 l 1.24414,0.9355 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4023 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9356 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5039 0.4414,0.3301 c 0.50103,0.3764 0.79627,0.9651 0.79883,1.5918 l 0.002,0.5703 -0.4414,-0.332 c -0.50103,-0.3764 -0.79627,-0.9632 -0.79883,-1.5899 z"
id="path27972"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18.98633,1025.1051 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9356 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4023 l 1.24414,-0.9355 c 0.75063,-0.564 1.19538,-1.4479 1.19922,-2.3868 l 0.006,-1.5761 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.502 z m -0.49024,1.5039 -0.002,0.5703 c -0.003,0.6267 -0.2978,1.2135 -0.79883,1.5899 l -0.4414,0.332 0.002,-0.5703 c 0.003,-0.6267 0.2978,-1.2154 0.79883,-1.5918 z"
id="path27974"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 12.97266,1029.6051 a 0.50004997,0.50004997 0 0 0 -0.47266,0.502 l 0.006,1.5761 c 0.004,0.9389 0.4486,1.8228 1.19922,2.3868 l 1.24414,0.9355 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4023 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9356 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5039 0.4414,0.3301 c 0.50103,0.3764 0.79627,0.9651 0.79883,1.5918 l 0.002,0.5703 -0.4414,-0.332 c -0.50103,-0.3764 -0.79627,-0.9632 -0.79883,-1.5899 z"
id="path27976"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18.98633,1029.6051 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9356 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4023 l 1.24414,-0.9355 c 0.75063,-0.564 1.19538,-1.4479 1.19922,-2.3868 l 0.006,-1.5761 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.502 z m -0.49024,1.5039 -0.002,0.5703 c -0.003,0.6267 -0.2978,1.2135 -0.79883,1.5899 l -0.4414,0.332 0.002,-0.5703 c 0.003,-0.6267 0.2978,-1.2154 0.79883,-1.5918 z"
id="path27978"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 12.97266,1034.1051 a 0.50004997,0.50004997 0 0 0 -0.47266,0.502 l 0.006,1.5761 c 0.004,0.9389 0.4486,1.8228 1.19922,2.3868 l 1.24414,0.9355 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4023 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9356 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5039 0.4414,0.3301 c 0.50103,0.3764 0.79627,0.9651 0.79883,1.5918 l 0.002,0.5703 -0.4414,-0.332 c -0.50103,-0.3764 -0.79627,-0.9632 -0.79883,-1.5899 z"
id="path27980"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18.98633,1034.1051 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9356 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4023 l 1.24414,-0.9355 c 0.75063,-0.564 1.19538,-1.4479 1.19922,-2.3868 l 0.006,-1.5761 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.502 z m -0.49024,1.5039 -0.002,0.5703 c -0.003,0.6267 -0.2978,1.2135 -0.79883,1.5899 l -0.4414,0.332 0.002,-0.5703 c 0.003,-0.6267 0.2978,-1.2154 0.79883,-1.5918 z"
id="path27982"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 12.97266,1038.6051 a 0.50004997,0.50004997 0 0 0 -0.47266,0.502 l 0.006,1.5761 c 0.004,0.9389 0.44859,1.8228 1.19922,2.3868 l 1.24414,0.9355 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4023 l -0.006,-1.5762 c -0.004,-0.9388 -0.44859,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9356 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5039 0.4414,0.3301 c 0.50103,0.3764 0.79627,0.9651 0.79883,1.5918 l 0.002,0.5703 -0.4414,-0.332 c -0.50103,-0.3764 -0.79626,-0.9632 -0.79883,-1.5899 z"
id="path27984"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18.98633,1038.6051 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9356 c -0.75062,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4023 l 1.24414,-0.9355 c 0.75062,-0.564 1.19538,-1.4479 1.19922,-2.3868 l 0.006,-1.5761 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.502 z m -0.49024,1.5039 -0.002,0.5703 c -0.003,0.6267 -0.2978,1.2135 -0.79883,1.5899 l -0.4414,0.332 0.002,-0.5703 c 0.003,-0.6267 0.2978,-1.2154 0.79883,-1.5918 z"
id="path27986"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 15.99219,1044.611 A 0.50005,0.50005 0 0 0 15.5,1045.1188 v 6.7363 a 0.50005,0.50005 0 1 0 1,0 v -6.7363 a 0.50005,0.50005 0 0 0 -0.50781,-0.5078 z"
id="path27988"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 15.95313,1020.8629 a 0.50005,0.50005 0 0 0 -0.44922,0.2852 l -0.66992,1.4062 c -0.40337,0.8478 -0.3861,1.836 0.0449,2.67 l 0.70703,1.3671 a 0.50005,0.50005 0 0 0 0.89453,-0.014 l 0.66992,-1.4082 c 0.40337,-0.8477 0.38805,-1.836 -0.043,-2.6699 l -0.70703,-1.3672 a 0.50005,0.50005 0 0 0 -0.44726,-0.2696 z m 0.0215,1.6231 0.24414,0.4726 c 0.28789,0.5571 0.29872,1.2151 0.0293,1.7813 l -0.23633,0.498 -0.24414,-0.4726 c -0.28789,-0.5571 -0.29872,-1.2151 -0.0293,-1.7813 z"
id="path27990"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 12.5,1020.8629 v 4.75 h 1 v -4.75 z"
id="path27992"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 18.5,1021.1129 v 4.5 h 1 v -4.5 z"
id="path27994"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 4.47266,1027.2868 A 0.50004997,0.50004997 0 0 0 4,1027.7887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path27996"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10.48633,1027.2868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75062,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75063,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 11,1027.7911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2153 0.79883,-1.5918 z"
id="path27998"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 4.47266,1031.7868 A 0.50004997,0.50004997 0 0 0 4,1032.2887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28000"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10.48633,1031.7868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75062,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75063,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 11,1032.2911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2153 0.79883,-1.5918 z"
id="path28002"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 4.47266,1036.2868 A 0.50004997,0.50004997 0 0 0 4,1036.7887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28004"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10.48633,1036.2868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75062,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75063,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 11,1036.7911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2153 0.79883,-1.5918 z"
id="path28006"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 4.47266,1040.7868 A 0.50004997,0.50004997 0 0 0 4,1041.2887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.44859,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3764 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28008"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10.48633,1040.7868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75062,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 11,1041.2911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2154 0.79883,-1.5918 z"
id="path28010"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 7.49219,1046.8629 A 0.50005,0.50005 0 0 0 7,1047.3688 v 4.4863 a 0.50005,0.50005 0 1 0 1,0 v -4.4863 a 0.50005,0.50005 0 0 0 -0.50781,-0.5059 z"
id="path28012"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 7.45313,1023.0426 a 0.50005,0.50005 0 0 0 -0.44922,0.2852 l -0.66992,1.4082 c -0.40341,0.8477 -0.38606,1.8359 0.0449,2.6699 l 0.70703,1.3672 a 0.50005,0.50005 0 0 0 0.89453,-0.016 l 0.66992,-1.4063 c 0.40341,-0.8477 0.38801,-1.8359 -0.043,-2.6699 l -0.70703,-1.3672 a 0.50005,0.50005 0 0 0 -0.44726,-0.2715 z m 0.0215,1.625 0.24414,0.4727 c 0.28787,0.557 0.29875,1.215 0.0293,1.7812 l -0.23633,0.4961 -0.24414,-0.4707 c -0.28787,-0.5571 -0.29875,-1.215 -0.0293,-1.7812 z"
id="path28014"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 4,1023.0426 v 4.75 h 1 v -4.75 z"
id="path28016"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 10,1023.2926 v 4.5 h 1 v -4.5 z"
id="path28018"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 21.47266,1027.2868 A 0.50004997,0.50004997 0 0 0 21,1027.7887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28020"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 27.48633,1027.2868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75062,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 28,1027.7911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2154 0.79883,-1.5918 z"
id="path28022"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 21.47266,1031.7868 A 0.50004997,0.50004997 0 0 0 21,1032.2887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28024"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 27.48633,1031.7868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75062,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 28,1032.2911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2154 0.79883,-1.5918 z"
id="path28026"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 21.47266,1036.2868 A 0.50004997,0.50004997 0 0 0 21,1036.7887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.4486,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3765 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28028"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 27.48633,1036.2868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75063,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75062,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 28,1036.7911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2154 0.79883,-1.5918 z"
id="path28030"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 21.47266,1040.7868 A 0.50004997,0.50004997 0 0 0 21,1041.2887 l 0.006,1.5742 c 0.004,0.9388 0.4486,1.8228 1.19922,2.3867 l 1.24414,0.9336 a 0.50004997,0.50004997 0 0 0 0.80078,-0.4004 l -0.006,-1.5762 c -0.004,-0.9388 -0.44859,-1.8228 -1.19922,-2.3867 l -1.24414,-0.9355 a 0.50004997,0.50004997 0 0 0 -0.32812,-0.1 z m 0.53125,1.5019 0.4414,0.332 c 0.50103,0.3764 0.79627,0.9652 0.79883,1.5918 l 0.002,0.5704 -0.4414,-0.3321 c -0.50054,-0.376 -0.7957,-0.9638 -0.79883,-1.5898 z"
id="path28032"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:0.99999994px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 27.48633,1040.7868 a 0.50004997,0.50004997 0 0 0 -0.28711,0.1 l -1.24414,0.9355 c -0.75062,0.5639 -1.19538,1.4479 -1.19922,2.3867 l -0.006,1.5762 a 0.50004997,0.50004997 0 0 0 0.80078,0.4004 l 1.24414,-0.9336 c 0.75062,-0.5639 1.19538,-1.4479 1.19922,-2.3867 L 28,1041.2911 a 0.50004997,0.50004997 0 0 0 -0.51367,-0.5019 z m -0.49024,1.5019 -0.002,0.5723 c -0.003,0.626 -0.29829,1.2138 -0.79883,1.5898 l -0.4414,0.3321 0.002,-0.5704 c 0.003,-0.6266 0.2978,-1.2153 0.79883,-1.5918 z"
id="path28034"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="M 24.49219,1046.8629 A 0.50005,0.50005 0 0 0 24,1047.3688 v 4.4863 a 0.50005,0.50005 0 1 0 1,0 v -4.4863 a 0.50005,0.50005 0 0 0 -0.50781,-0.5059 z"
id="path28036"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 24.45313,1023.0426 a 0.50005,0.50005 0 0 0 -0.44922,0.2852 l -0.66016,1.3886 a 0.50005,0.50005 0 0 0 -0.01,0.02 c -0.40337,0.8477 -0.3861,1.8359 0.0449,2.6699 l 0.70703,1.3672 a 0.50005,0.50005 0 0 0 0.89453,-0.016 l 0.66992,-1.4063 c 0.40341,-0.8477 0.38801,-1.8359 -0.043,-2.6699 l -0.70703,-1.3672 a 0.50005,0.50005 0 0 0 -0.44726,-0.2715 z m 0.0215,1.625 0.24414,0.4727 c 0.28787,0.557 0.29875,1.215 0.0293,1.7812 l -0.23633,0.4961 -0.24414,-0.4707 c -0.28789,-0.557 -0.29872,-1.215 -0.0293,-1.7812 z"
id="path28038"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 21,1023.0426 v 4.75 h 1 v -4.75 z"
id="path28040"
inkscape:connector-curvature="0" />
<path
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;baseline-shift:baseline;text-anchor:start;white-space:normal;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;fill:#000000;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
d="m 27,1023.2926 v 4.5 h 1 v -4.5 z"
id="path28042"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 53 KiB

@ -0,0 +1,30 @@
;;; farm.meta -*- scheme -*-
;;; Copyright 2020 Thomas Hintz
;;;
;;; This file is part of the Alpha Centauri Farming project.
;;;
;;; The Alpha Centauri Farming project is free software: you can
;;; redistribute it and/or modify it under the terms of the GNU
;;; General Public License as published by the Free Software
;;; Foundation, either version 3 of the License, or (at your option)
;;; any later version.
;;;
;;; The Alpha Centauri Farming project is distributed in the hope that
;;; it will be useful, but WITHOUT ANY WARRANTY; without even the
;;; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;; PURPOSE. See the GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with the Alpha Centauri Farming project. If not, see
;;; <https://www.gnu.org/licenses/>.
((egg "farm.egg")
(synopsis "farm")
(license "BSD")
(category web)
(author "Thomas Hintz")
(depends http-session srfi-69 coops uri-common
srfi-18 medea numbers spiffy spiffy-cookies
intarweb pll sxml-transforms websockets miscmacros)
(files "farm.setup" "farm.meta"))

@ -0,0 +1,27 @@
;;; farm.setup -*- scheme -*-
;;; Copyright 2020 Thomas Hintz
;;;
;;; This file is part of the Alpha Centauri Farming project.
;;;
;;; The Alpha Centauri Farming project is free software: you can
;;; redistribute it and/or modify it under the terms of the GNU
;;; General Public License as published by the Free Software
;;; Foundation, either version 3 of the License, or (at your option)
;;; any later version.
;;;
;;; The Alpha Centauri Farming project is distributed in the hope that
;;; it will be useful, but WITHOUT ANY WARRANTY; without even the
;;; implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
;;; PURPOSE. See the GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with the Alpha Centauri Farming project. If not, see
;;; <https://www.gnu.org/licenses/>.
(install-extension
'farm
; Files to install for your extension:
'()
; Assoc list with properties for your extension:
'())

10974
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -0,0 +1,55 @@
{
"name": "farm",
"sideEffects": [
"*.css",
"*.woff",
"*.woff2"
],
"version": "1.0.0",
"description": "",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack --config webpack.dev.js",
"prod": "webpack --config webpack.prod.js"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.8.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"autoprefixer": "^9.7.4",
"babel-loader": "^8.0.6",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"css-loader": "^3.4.2",
"favicons-webpack-plugin": "^2.1.0",
"file-loader": "^4.3.0",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.8.2",
"node-sass": "^4.13.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"postcss-loader": "^3.0.0",
"sass-loader": "^8.0.2",
"style-loader": "^1.1.3",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.26",
"@fortawesome/free-solid-svg-icons": "^5.12.0",
"@fortawesome/react-fontawesome": "^0.1.8",
"mobx": "^5.15.3",
"mobx-react": "^6.1.4",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-redux": "^7.1.3",
"redux": "^4.0.5"
}
}

@ -0,0 +1,5 @@
module.exports = {
plugins: {
"autoprefixer": {}
}
}

@ -0,0 +1,31 @@
///
/// Returns whether `$list` contains `$value`.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-contain
///
/// @param {List} $list - list to check
/// @param {*} $value - value to look for
///
/// @example
/// sl-contain(a b c, a)
/// // true
///
/// @example
/// sl-contain(a b c, z)
/// // false
///
/// @return {Bool}
///
@function sl-contain($list, $value) {
@return not not index($list, $value);
}
///
/// @requires sl-contain
/// @alias sl-contain
///
@function sl-include($list, $value) {
@return sl-contain($list, $value);
}

@ -0,0 +1,38 @@
/// Removes all false and null values from `$list`.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-purge
///
/// @requires sl-is-true
/// @requires sl-to-list
///
/// @param {List} $list - list to purge
///
/// @example
/// sl-purge(null a false b)
/// // a b
///
/// @return {List}
///
@function sl-purge($list) {
$_: sl-missing-dependencies('sl-is-true', 'sl-to-list');
$result: ();
@each $item in $list {
@if sl-is-true($item) {
$result: append($result, $item, list-separator($list));
}
}
@return sl-to-list($result);
}
///
/// @requires sl-purge
/// @alias sl-purge
///
@function sl-clean($list) {
@return sl-purge($list);
}

@ -0,0 +1,31 @@
///
/// Removes value(s) `$value` from `$list`.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-remove
///
/// @requires sl-replace
///
/// @param {List} $list - list to update
/// @param {*} $value - value to remove
///
/// @example
/// sl-remove(a b c, a)
/// // b c
///
/// @return {List}
///
@function sl-remove($list, $value) {
$_: sl-missing-dependencies('sl-replace');
@return sl-replace($list, $value, null);
}
///
/// @requires sl-remove
/// @alias sl-remove
///
@function sl-without($list, $value) {
@return sl-remove($list, $value);
}

@ -0,0 +1,46 @@
///
/// Replaces `$old` by `$new` in `$list`.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-replace
///
/// @requires sl-is-true
/// @requires sl-purge
/// @requires sl-to-list
///
/// @param {List} $list - list to update
/// @param {*} $old - value to replace
/// @param {*} $value - new value for $old
///
/// @example
/// sl-replace(a b c, b, z)
/// // a z c
///
/// @example
/// sl-replace(a b c, y, z)
/// // a b c
///
/// @return {List}
///
@function sl-replace($list, $old, $value) {
$_: sl-missing-dependencies('sl-is-true', 'sl-purge', 'sl-to-list');
$running: true;
@while $running {
$index: index($list, $old);
@if not $index {
$running: false;
}
@else {
$list: set-nth($list, $index, $value);
}
}
$list: if(sl-is-true($value), $list, sl-purge($list));
@return sl-to-list($list);
}

@ -0,0 +1,27 @@
///
/// Casts `$value` into a list.
///
/// @ignore Documentation: http://at-import.github.io/SassyLists/documentation/#function-sl-to-list
///
/// @param {*} $value - value to cast to list
/// @param {String} $separator [space] - separator to use
///
/// @example
/// sl-to-list(a b c, comma)
/// // a, b, c
///
/// @return {List}
///
@function sl-to-list($value, $separator: list-separator($value)) {
@return join((), $value, $separator);
}
///
/// @requires sl-to-list
/// @alias sl-to-list
///
@function sl-listify($value) {
@return sl-to-list($value);
}

@ -0,0 +1,25 @@
///
/// Checks whether `$functions` exist in global scope.
///
/// @access private
///
/// @param {ArgList} $functions - list of functions to check for
///
/// @return {Bool} Whether or not there are missing dependencies
///
@function sl-missing-dependencies($functions...) {
$missing-dependencies: ();
@each $function in $functions {
@if not function-exists($function) {
$missing-dependencies: append($missing-dependencies, $function, comma);
}
}
@if length($missing-dependencies) > 0 {
@error 'Unmet dependencies! The following functions are required: #{$missing-dependencies}.';
}
@return length($missing-dependencies) > 0;
}

@ -0,0 +1,13 @@
///
/// Returns truthiness of `$value`.
///
/// @access private
///
/// @param {*} $value - value to check
///
/// @return {Bool}
///
@function sl-is-true($value) {
@return if($value == null, false, $value and $value != null and $value != '' and $value != ());
}

@ -0,0 +1,86 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import Board from '../farm/Board.jsx'
import MessagePanel from '../farm/MessagePanel.jsx'
import CreateOrJoin from '../create-or-join/CreateOrJoin.jsx'
import NewGame from '../new-game/NewGame.jsx'
import JoinGame from '../join-game/JoinGame.jsx'
import Welcome from '../welcome/Welcome.jsx'
import Tractor from '../tractor/Tractor.jsx'
import { SCREENS, messagePanelId } from '../../constants.js'
import { play } from './actions.js'
class Chrome extends React.Component {
render() {
return (
<div className='flex-fullcenter'>
<div className='background-heading'><h1>Alpha Centauri Farming</h1></div>
{this.props.children}
<Tractor spikes={this.props.spikes} className={this.props.tractorClass} />
</div>
);
}
}
class App extends React.Component {
render() {
let view;
switch (this.props.screen) {
case SCREENS.intro:
view = (<Chrome spikes={true} tractorClass='intro'><Welcome /></Chrome>);
break;
case SCREENS.start:
view = (<Chrome><CreateOrJoin /></Chrome>);
break;
case SCREENS.newGame:
view = (<Chrome>
<div className='view-container'>
<NewGame colors={['green', 'red', 'blue', 'yellow', 'black']}
button={'Start'}
title={'New Game'}
type={'new-game'}
showGameName={true} />
</div>
</Chrome>);
break;
case SCREENS.joinGame:
view = (<Chrome><div className='view-container'><JoinGame /></div></Chrome>);
break;
case SCREENS.play:
view = (<Board />);
break;
}
return (
<Fragment>
{view}
<div id={messagePanelId}><MessagePanel /></div>
</Fragment>
);
}
}
export default connect(
state => state.app,
null
)(App);

@ -0,0 +1,22 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
export const START = 'start';
export const PLAY = 'play';
export const SHOW_NEW_GAME = 'show-new-game';
export const SHOW_JOIN_GAME = 'show-join-game';

@ -0,0 +1,37 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { START, PLAY, SHOW_NEW_GAME, SHOW_JOIN_GAME } from './actionTypes.js'
export { start, play, showNewGame, showJoinGame }
function start() {
return { type: START };
}
function play() {
return { type: PLAY };
}
function showNewGame() {
return { type: SHOW_NEW_GAME };
}
function showJoinGame() {
return { type: SHOW_JOIN_GAME };
}

@ -0,0 +1,40 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { PLAY, SHOW_NEW_GAME, SHOW_JOIN_GAME, START } from './actionTypes.js'
import { SCREENS } from '../../constants.js'
const initialState = {
screen: SCREENS.intro
};
export default function(state = initialState, action) {
switch (action.type) {
case START:
return { ...state, screen: SCREENS.start };
case PLAY:
return { ...state, screen: SCREENS.play };
case SHOW_NEW_GAME:
return { ...state, screen: SCREENS.newGame };
case SHOW_JOIN_GAME:
return { ...state, screen: SCREENS.joinGame };
default:
return state;
}
}

@ -0,0 +1,45 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import { GroupBox, Row, Col, Button } from '../widgets.jsx'
import { showNewGame, showJoinGame } from '../app/actions.js'
class CreateOrJoin extends React.Component {
render() {
return (
<Fragment>
<Button size='large' className='shadow' onClick={this.props.showNewGame}>
New Game
</Button>
<Button size='large' className='shadow' onClick={this.props.showJoinGame}>
Join Game
</Button>
</Fragment>
);
}
}
export default connect(
state => state,
{ showNewGame,
showJoinGame
}
)(CreateOrJoin)

File diff suppressed because it is too large Load Diff

@ -0,0 +1,50 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React from 'react'
import { connect } from 'react-redux'
import SpaceNode from './SpaceNode.jsx'
import { setMessagePanelSpace, mpMouse } from './actions.js'
class MessagePanel extends React.Component {
render () {
if (this.props.space !== null) {
const panel = document.getElementById('message-panel'),
mpDims = this.props.mpDims;
panel.style.top =
(Math.min(Math.max(mpDims.mouseY, mpDims.minHeight + mpDims.padding),
mpDims.maxHeight)) + 'px';
panel.style.left =
(Math.min(Math.max(mpDims.mouseX, mpDims.minWidth + mpDims.padding),
mpDims.maxWidth)) + 'px';
return (
<SpaceNode space={this.props.space} height='210px'
showtitle={true} orientation={''} />
);
} else {
return null;
}
}
}
export default connect(
state => state.farm,
null
)(MessagePanel);

@ -0,0 +1,30 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React from 'react'
export default class PlayerIcon extends React.Component {
render() {
return (
<center>
{this.props.colors
.map(c => (<div key={c} className={'player player-' + c}></div>))}
</center>
);
}
}

@ -0,0 +1,69 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React from 'react'
import { connect } from 'react-redux'
import PlayerIcon from './PlayerIcon.jsx'
import { setMessagePanelSpace, mpMouse } from './actions.js'
class SpaceNode extends React.Component {
render() {
const space = this.props.space;
let title = '';
if (this.props.showtitle) {
switch (this.props.space.type) {
case 'hay': title = 'Hay Cutting'; break;
case 'cherry': title = 'Cherry Harvest'; break;
case 'wheat': title = 'Wheat Harvest'; break;
case 'cows': title = 'Livestock Sales'; break;
case 'apple': title = 'Apple Harvest'; break;
case 'corn': title = 'Corn Harvest'; break;
case 'buy': title = 'Purchasing'; break;
}
}
return (
<div className={'space space-type-' + this.props.space.type +
' space-orientation-' + this.props.orientation}
onMouseOver={evt => {
const clientRects = evt.target.getClientRects()[0];
this.props.setMessagePanelSpace(space);
this.props.mpMouse(clientRects.left, clientRects.top);
return false; } }>
<div style={this.props.height ? {height: this.props.height} : {}}>
<center>{this.props.space.month}</center>
{ this.props.showtitle ? (
<div className='space-title'>
{title}
</div>)
: (null)}
{ this.props.space.players.length ? <PlayerIcon colors={this.props.space.players} /> : ''}
<div className='space-description'>
{this.props.space.description}
</div>
</div>
</div>
);
}
}
export default connect(
null,
{ setMessagePanelSpace, mpMouse }
)(SpaceNode)

@ -0,0 +1,36 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
export const UPDATE_GAME = 'update-game';
export const UPDATE_PLAYER = 'update-player';
export const GAME_STATE = 'game-state';
export const SET_SELECTED_CARD = 'set-selected-card';
export const SET_CARDS = 'set-cards';
export const SPACE_PUSH_PLAYER = 'space-push-player';
export const SPACE_CLEAR_PLAYERS = 'space-clear-players';
export const SET_OLD_MESSAGES = 'set-old-messages';
export const MESSAGE_PANEL_SPACE = 'message-panel-space';
export const MP_MOUSE = 'mp-mouse';
export const SET_MP_DIMS = 'set-mp-dims';
export const MOVE_PLAYER = 'move-player'
export const SET_NEXT_ACTION = 'set-next-action'
export const NEXT_UI_ACTION = 'next-ui-action'
export const NEXT_UI_ACTION_SILENT = 'next-ui-action-silent'
export const MARK_ACTION_CHANGE_HANDLED = 'mark-action-change-handled'
export const ALERT = 'alert'
export const ALERT_HANDLED = 'alert-handled'

@ -0,0 +1,115 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { UPDATE_GAME, UPDATE_PLAYER, GAME_STATE, SET_SELECTED_CARD, SET_CARDS,
SPACE_PUSH_PLAYER, SPACE_CLEAR_PLAYERS, SET_OLD_MESSAGES, MESSAGE_PANEL_SPACE,
MP_MOUSE, SET_MP_DIMS, MARK_ACTION_CHANGE_HANDLED, SET_NEXT_ACTION,
MOVE_PLAYER, NEXT_UI_ACTION, NEXT_UI_ACTION_SILENT, ALERT, ALERT_HANDLED
} from './actionTypes.js'
export { updateGame, updatePlayer, gameState, setSelectedCard, setCards,
spacePushPlayer, spaceClearPlayers, setOldMessages, setMessagePanelSpace,
mpMouse, setMPDims, movePlayer, setNextAction, nextUIAction,
markActionChangeHandled, nextUIActionSilent, alert, alertHandled }
function updateGame(update) {
return { type: UPDATE_GAME,
update };
}
function updatePlayer(update) {
return { type: UPDATE_PLAYER,
update };
}
function gameState(state) {
return { type: GAME_STATE,
state };
}
function setSelectedCard(card) {
return { type: SET_SELECTED_CARD,
// TODO share with initialState ui.card
card: card ? card : { type: 'no-card', contents: '', total: 0 } }
}
function setCards(cards) {
return { type: SET_CARDS,
cards };
}
function spacePushPlayer(id, player) {
return { type: SPACE_PUSH_PLAYER,
id,
player };
}
function spaceClearPlayers(id) {
return { type: SPACE_CLEAR_PLAYERS,
id };
}
function setOldMessages(messages) {
return { type: SET_OLD_MESSAGES,
messages };
}
function setMessagePanelSpace(space) {
return { type: MESSAGE_PANEL_SPACE,
space };
}
function mpMouse(mouseX, mouseY) {
return { type: MP_MOUSE,
mouseX, mouseY };
}
function setMPDims(minWidth, minHeight, maxWidth, maxHeight) {
return { type: SET_MP_DIMS,
minWidth, minHeight, maxWidth, maxHeight };
}
function movePlayer(newSpace, oldSpace, player) {
return { type: MOVE_PLAYER,
newSpace, oldSpace, player };
}
function nextUIAction() {
return { type: NEXT_UI_ACTION };
}
function nextUIActionSilent() {
return { type: NEXT_UI_ACTION_SILENT };
}
function setNextAction(action, value) {
return { type: SET_NEXT_ACTION,
action, value };
}
function markActionChangeHandled() {
return { type: MARK_ACTION_CHANGE_HANDLED };
}
function alert(value) {
return { type: ALERT, value };
}
function alertHandled() {
return { type: ALERT_HANDLED };
}

@ -0,0 +1,177 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { GAME_STATES, ALERTS } from '../../constants.js'
import { batch } from 'react-redux'
import * as websocket from '../../websocket.js'
import { updateGame, updatePlayer, gameState, setSelectedCard, setCards,
movePlayer, setOldMessages, markActionChangeHandled,
mpMouse, rolled, setNextAction, nextUIAction, nextUIActionSilent, alert
} from './actions.js'
export { initialize, buy, roll, endTurn, loan, trade, submitTradeAccept,
submitTradeDeny, submitTradeCancel, audit, handleMessage,
nextAction, buyUncleBert, actionsFinished }
let store;
let spacesWithPlayers = [];
let loop = 0;
function handleMessage(evt) {
const data = JSON.parse(evt.data),
type = data.event;
if (data.event === 'error') {
console.log('error:' + data.exn);
return;
}
batch(() => {
if (data.player.state === GAME_STATES.preTurn &&
data.game.otherPlayers.length > 0 &&
store.getState().farm.player.state !== GAME_STATES.preTurn) {
store.dispatch(alert(ALERTS.beginTurn));
} else if (data.game.otherPlayers.length > 0 &&
data.game.currentPlayer !== store.getState().farm.game.currentPlayer) {
store.dispatch(alert(ALERTS.otherPlayersTurn));
}
store.dispatch(updatePlayer(data.player));
if (data.event === 'init') {
store.dispatch(movePlayer(data.player.space, 0, data.player.color));
}
// new player(s) added to game, put them on the board
if (data.game.otherPlayers.length !== store.getState().farm.game.otherPlayers.length) {
const otherPlayers = store.getState().farm.game.otherPlayers;
const newPlayers = data.game.otherPlayers.filter(
x => !otherPlayers.find(y => y.player.name === x.player.name));
for (const p of newPlayers) {
store.dispatch(movePlayer(p.player.space, 0, p.player.color));
}
}
const oldMessages = store.getState().farm.game.messages.slice(0, 20);
store.dispatch(updateGame(data.game));
store.dispatch(setOldMessages(oldMessages));
if (data.player.cards.length > 0) {
store.dispatch(setSelectedCard(data.player.cards[0]));
} else {
store.dispatch(setSelectedCard());
}
store.dispatch(setCards(data.player.cards));
if (data.event === 'action') {
if (data.player.name !== data.game.currentPlayer &&
data.action !== 'roll') {
store.dispatch(nextUIAction());
}
store.dispatch(setNextAction(data.action, data.value));
if (data.action === 'roll') {
store.dispatch(nextUIAction());
}
}
if (data.player.state === GAME_STATES.midTurn &&
data.player.cash < 0 &&
!store.getState().farm.ui.nextAction) {
store.dispatch(alert(ALERTS.raiseMoney));
}
});
};
let sendCommand;
function buy(id, cash) {
sendCommand({ type: 'buy', id: id, cash: cash });
}
function roll() {
store.dispatch(setNextAction('pre-rolling', false));
store.dispatch(nextUIActionSilent());
sendCommand({ type: 'roll' });
}
function endTurn() {
store.dispatch(gameState(GAME_STATES.turnEnded));
sendCommand({ type: 'turn-ended' });
}
function loan(amount) {
sendCommand({ type: 'loan', amount: amount });
}
function trade(parameters) {
sendCommand({ type: 'trade',
parameters: parameters });
}
function submitTradeAccept() {
sendCommand({ type: 'trade-accept' });
}
function submitTradeDeny() {
sendCommand({ type: 'trade-deny' });
}
function submitTradeCancel() {
sendCommand({ type: 'trade-cancel' });
}
function audit() {
sendCommand({ type: 'audit' });
}
function nextAction() {
sendCommand({ type: 'next-action' });
}
function buyUncleBert() {
sendCommand({ type: 'buy-uncle-bert' });
}
function actionsFinished() {
sendCommand({ type: 'actions-finished' });
}
function initialize(st, sc) {
store = st;
sendCommand = sc;
const unsubscribe = store.subscribe(
() => {
const state = store.getState();
if (state.farm.player.name === state.farm.game.currentPlayer
&& !state.farm.ui.actionChangeHandled) {
store.dispatch(markActionChangeHandled());
nextAction();
}
});
// mpDims.mouseX = e.clientX
// window.onmousemove = e => store.
// dispatch(mpMouse(e.clientX, store.getState().farm.mpDims.mouseY));
// document.addEventListener('keydown', keydown);
}
function keydown(e) {
switch (e.key) {
case 'r':
roll();
break;
case 'e':
endTurn();
break;
}
}

@ -0,0 +1,182 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { UPDATE_GAME, UPDATE_PLAYER, GAME_STATE, SET_SELECTED_CARD, SET_CARDS,
SPACE_PUSH_PLAYER, SPACE_CLEAR_PLAYERS,
SET_OLD_MESSAGES, MESSAGE_PANEL_SPACE, MP_MOUSE,
SET_MP_DIMS, MOVE_PLAYER, SET_NEXT_ACTION, NEXT_UI_ACTION,
MARK_ACTION_CHANGE_HANDLED, NEXT_UI_ACTION_SILENT, ALERT, ALERT_HANDLED
} from './actionTypes.js'
import { GAME_STATES } from '../../constants.js'
import { spaceContent, corners } from 'game.js'
const spaces =
[[corners[0], 'buy'],
['January', 'buy'],
['January', 'buy'],
['January', 'buy'],
['January', 'buy'],
['February','buy'],
['February', 'buy'],
['February', 'buy'],
['February', 'buy'],
['March', 'buy'],
['March', 'buy'],
['March', 'buy'],
['March', 'buy'],
['April', 'buy'],
[corners[1], 'buy'],
['April', 'none'],
['April', 'none'],
['May', 'none'],
['May', 'none'],
['May', 'hay'],
['May', 'hay'],
['June', 'hay'],
['June', 'hay'],
['June', 'cherry'],
['June', 'cherry'],
[corners[2], 'cherry'],
['July', 'hay'],
['July', 'hay'],
['July', 'hay'],
['July', 'wheat'],
['August', 'wheat'],
['August', 'wheat'],
['August', 'wheat'],
['August', 'wheat'],
['September', 'hay'],
['September', 'hay'],
['September', 'cows'],
[corners[3], 'cows'],
['September', 'cows'],
['October', 'cows'],
['October', 'hay'],
['October', 'hay'],
['October', 'apple'],
['November', 'apple'],
['November', 'apple'],
['November', 'apple'],
['November', 'corn'],
['December', 'corn'],
['December', 'corn']]
.map((s, i) => {
return { month: s[0], description: spaceContent[i],
type: s[1], key: i, players: [] }});
const initialState = {
player: { cash: 5000,
lastCash: 5000,
debt: 5000,
spaces,
state: GAME_STATES.turnEnded,
assets: { hay: 10, grain: 10, fruit: 0, cows: 0, harvester: 0, tractor: 0 },
color: '',
name: '',
ridges: { ridge1: 0, ridge2: 0, ridge3: 0, ridge4: 0 },
space: 0,
trade: {}
},
game: { auditThreshold: 250000,
calledAudit: false,
currentPlayer: '',
messages: [],
otherPlayers: [],
state: GAME_STATES.preTurn,
turn: 0,
oldMessages: [] },
ui: { card: { type: 'no-card', contents: '', total: 0 },
cards: [],
action: false,
actionValue: null,
nextAction: false,
nextActionValue: null,
actionChangeHandled: true,
alert: false,
alertHandled: false },
spaces: spaces,
space: null,
// message panel dimenions
mpDims: { mouseX: 0, mouseY: 0,
minWidth: 0, minHeight: 0, maxWidth: 0, maxHeight: 0,
padding: 8 },
profile: false,
profileTurns: 500
}
export default function(state = initialState, action) {
switch (action.type) {
case UPDATE_GAME:
return { ...state, game: { ...state.game, ...action.update }};
case UPDATE_PLAYER:
return { ...state, player: action.update };
case GAME_STATE:
return { ...state, game: { ...state.game, state: action.state } };
case SET_SELECTED_CARD:
return { ...state, ui: { ...state.ui, card: action.card }};
case SET_CARDS:
return { ...state, ui: { ...state.ui, cards: action.cards }};
case MOVE_PLAYER:
return { ...state, spaces: state.spaces
.map((item, index) => {
if (index === action.newSpace &&
item.players.indexOf(action.player) === -1) {
return { ...item, players: [...item.players, action.player]};
} else if (index === action.oldSpace) {
return { ...item,
players: item.players
.filter(x => x !== action.player) };
}
return item;
})
};
case SET_OLD_MESSAGES:
return { ...state, oldMessages: action.messages };
case MESSAGE_PANEL_SPACE:
return { ...state, space: action.space };
case MP_MOUSE:
return { ...state, mpDims: { ...state.mpDims,
mouseX: action.mouseX, mouseY: action.mouseY }};
case SET_MP_DIMS:
return { ...state, mpDims: { ...state.mpDims,
minWidth: action.minWidth,
minHeight: action.minHeight,
maxWidth: action.maxWidth,
maxHeight: action.maxHeight }};
case SET_NEXT_ACTION:
return { ...state, ui: { ...state.ui, nextAction: action.action,
nextActionValue: action.value }};
case NEXT_UI_ACTION:
return { ...state, ui: { ...state.ui, action: state.ui.nextAction,
actionValue: state.ui.nextActionValue,
actionChangeHandled: !state.ui.nextAction }};
case NEXT_UI_ACTION_SILENT: // don't set actionChangeHandled
return { ...state, ui: { ...state.ui, action: state.ui.nextAction,
actionValue: state.ui.nextActionValue }};
case MARK_ACTION_CHANGE_HANDLED:
return { ...state, ui: { ...state.ui, actionChangeHandled: true }};
case ALERT:
return { ...state, ui: { ...state.ui,
alert: action.value,
alertHandled: action.value === false ? true : false }};
case ALERT_HANDLED:
return { ...state, ui: { ...state.ui, alertHandled: true }};
default:
return state;
}
}

@ -0,0 +1,97 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import { GroupBox, Row, Col, Button } from '../widgets.jsx'
import { startOrJoinGame } from '../start/actions.js'
import NewGame from '../new-game/NewGame.jsx'
const JoinGameScreens = { list: 'list', details: 'details' };
class JoinGame extends React.Component {
constructor(props) {
super(props);
this.state = {
screen: JoinGameScreens.list,
game: null
};
}
handleClickGame = game => {
this.setState({ screen: JoinGameScreens.details,
game: game
});
}
handleBack = e => {
this.setState({ screen: JoinGameScreens.list });
}
handleJoinAsExisting = e => {
this.props.startOrJoinGame({ type: 'join-as-existing',
playerName: e.target.text,
gameName: this.state.game.name });
}
render() {
return (
<GroupBox title='Join Game'>
<Row>
<Col width='12'>
{this.state.screen === JoinGameScreens.list ?
(<ul>
{this.props.games
.map((g, i) =>
(<li key={i}>
<a href='#' onClick={() => this.handleClickGame(g)}>{g.name}</a>
</li>))}
</ul>)
: (<Fragment>
<p><a href="#" onClick={this.handleBack}>back to games</a></p>
<h3><b>Game:</b> {this.state.game.name}</h3>
<h4>Join as existing player:</h4>
<ul>
{this.state.game.players.map((p, i) =>
(<li key={i}>
<a href='#' onClick={this.handleJoinAsExisting}>
{p}
</a>
</li>))}
</ul>
<NewGame colors={this.state.game.colors}
button={'Join'}
showGameName={false}
gameName={this.state.game.name}
type={'join-game'}
title={'Join as New Player'} />
</Fragment>)}
</Col>
</Row>
</GroupBox>
);
}
}
export default connect(
state => state.start.start,
{ startOrJoinGame }
)(JoinGame)

@ -0,0 +1,104 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import { GroupBox, Row, Col, Button } from '../widgets.jsx'
import { startOrJoinGame } from '../start/actions.js'
class NewGame extends React.Component {
constructor(props) {
super(props);
this.state = {
playerName: '',
checkedColor: props.colors[0],
gameName: props.gameName || ''
};
}
handleInputChange = e => {
const target = e.target,
value = target.type === 'checkbox' ? target.name : target.value,
name = target.type === 'checkbox' ? 'checkedColor' : target.name;
this.setState({
[name]: value
});
}
handleSubmit = e => {
e.preventDefault();
this.props.startOrJoinGame(Object.assign({ type: this.props.type }, this.state));
}
render() {
let playerNameInput;
return (
<GroupBox title={this.props.title}>
<form onSubmit={this.handleSubmit}>
<Row>
<Col width='12'>
<label>Your Name
<input type='text' name='playerName'
value={this.state.playerName}
onChange={this.handleInputChange} />
</label>
</Col>
</Row>
<Row>
<Col width='12'>
<label>Your Color</label>
{this.props.colors
.map(c =>
(<label key={c} className={'player player-selectable player-' + c + (this.state.checkedColor === c ? ' player-selected' : '')}>
<input type='checkbox'
checked={this.state.checkedColor === c}
onChange={this.handleInputChange}
name={c} />
</label>))
}
<br /><br />
</Col>
</Row>
{this.props.showGameName && (
<Row>
<Col width='12'>
<label>Game Name
<input type='text' name='gameName' value={this.state.gameName}
onChange={this.handleInputChange} />
</label>
</Col>
</Row>
)}
<Row>
<Col width='12'>
<Button type='submit'>{this.props.button} Game</Button>
</Col>
</Row>
</form>
</GroupBox>
);
}
}
export default connect(
null,
{ startOrJoinGame }
)(NewGame)

@ -0,0 +1,94 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import { GroupBox, Row, Col } from '../widgets.jsx'
import { startOrJoinGame } from './actions.js'
const JoinGameScreens = { list: 'list', details: 'details' };
class JoinGameComp extends React.Component {
constructor(props) {
super(props);
this.state = {
screen: JoinGameScreens.list,
game: null
};
}
handleClickGame = game => {
this.setState({ screen: JoinGameScreens.details,
game: game
});
}
handleBack = e => {
this.setState({ screen: JoinGameScreens.list });
}
handleJoinAsExisting = e => {
this.props.startOrJoinGame({ type: 'join-as-existing',
playerName: e.target.text,
gameName: this.state.game.name });
}
render() {
return (
<GroupBox title='Join Game'>
<Row>
<Col width='12'>
{this.state.screen === JoinGameScreens.list ?
(<ul>
{this.props.games
.map((g, i) =>
(<li key={i}>
<a href='#' onClick={() => this.handleClickGame(g)}>{g.name}</a>
</li>))}
</ul>)
: (<Fragment>
<p><a href="#" onClick={this.handleBack}>back to games</a></p>
<h3><b>Game:</b> {this.state.game.name}</h3>
<h4>Join as existing player:</h4>
<ul>
{this.state.game.players.map((p, i) =>
(<li key={i}>
<a href='#' onClick={this.handleJoinAsExisting}>
{p}
</a>
</li>))}
</ul>
<NewGame colors={this.state.game.colors}
button={'Join'}
showGameName={false}
gameName={this.state.game.name}
type={'join-game'}
title={'Join as New Player'} />
</Fragment>)}
</Col>
</Row>
</GroupBox>
);
}
}
const JoinGame = connect(
null,
{ startOrJoinGame }
)(JoinGameComp)

@ -0,0 +1,20 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
export const SET_START_GAMES = 'set-start-games';
export const START_OR_JOIN_GAME = 'start-or-join-game';

@ -0,0 +1,31 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { SET_START_GAMES, START_OR_JOIN_GAME } from './actionTypes.js'
export { setStartGames, startOrJoinGame }
function setStartGames(games) {
return { type: SET_START_GAMES,
games };
}
function startOrJoinGame(msg) {
return { type: START_OR_JOIN_GAME,
msg };
}

@ -0,0 +1,37 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import { SET_START_GAMES, START_OR_JOIN_GAME } from './actionTypes.js'
import { SCREENS } from '../../constants.js'
const initialState = {
start: { games: [] },
msg: null
};
export default function(state = initialState, action) {
switch (action.type) {
case SET_START_GAMES:
return { ...state, start: { ...state.start, games: action.games }};
case START_OR_JOIN_GAME:
return { ...state, msg: action.msg };
default:
return state;
}
}

@ -0,0 +1,40 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import TractorImg from './../../../assets/img/tractor-offset.svg'
import TractorAndSpikesImg from './../../../assets/img/tractor-offset-and-spikes.svg'
import TractorSpikesImg from './../../../assets/img/tractor-spikes-offset.svg'
import React, { Fragment } from 'react'
export default class Tractor extends React.Component {
render() {
return (
<Fragment>
<div className={'tractor ' + (this.props.className ? this.props.className : '')}>
<img src={this.props.spikes ? TractorImg : TractorAndSpikesImg} />
</div>
{this.props.spikes ? (
<div className='tractor spikes'>
<img src={TractorSpikesImg} />
</div>
) : (<Fragment />)}
</Fragment>
);
}
}

@ -0,0 +1,46 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
import { connect } from 'react-redux'
import { GroupBox, Row, Col, Button } from '../widgets.jsx'
import { start } from '../app/actions.js'
class Welcome extends React.Component {
render() {
return (
<Fragment>
<div className='intro-text'>
<div className='game-card'>
Your ancestors were farmers on one of the first transports to Alpha Centuari{`'`}s Proxima b. The growing season is short and harsh but the colonists depend on you for their food. Are you up to the challenge?
</div>
</div>
<Button size='large' className='shadow intro' onClick={this.props.start}>
Begin
</Button>
</Fragment>
);
}
}
export default connect(
state => state,
{ start }
)(Welcome)

@ -0,0 +1,69 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
import React, { Fragment } from 'react'
export { GroupBox, Row, Col, Button }
class GroupBox extends React.Component {
render() {
return (
<div className='panel card'>
{this.props.title ?
(<div className='card-divider'>
{this.props.title}
</div>) : (<Fragment />)}
<div className={'card-section ' + this.props.className ? this.props.className : ''}>
{this.props.children}
</div>
</div>
);
}
}
class Row extends React.Component {
render() {
return (<div className={'grid-x full-width ' +
(this.props.collapse ? 'collapse' : '') + ' ' +
(this.props.className ? this.props.className : '')} >
{this.props.children}</div>);
}
}
class Col extends React.Component {
render() {
return (
<div className={'cell small-' + this.props.width}>
{this.props.children}
</div>
);
}
}
class Button extends React.Component {
render() {
return (
<button className={'button ' + (this.props.size ? this.props.size : '') +
' ' + (this.props.className ? this.props.className : '')}
type={this.props.type || 'button'}
onClick={this.props.onClick} >
{this.props.children}
</button>
);
}
}

@ -0,0 +1,34 @@
// Copyright 2020 Thomas Hintz
//
// This file is part of the Alpha Centauri Farming project.
//
// The Alpha Centauri Farming project is free software: you can
// redistribute it and/or modify it under the terms of the GNU General
// Public License as published by the Free Software Foundation, either
// version 3 of the License, or (at your option) any later version.
//
// The Alpha Centauri Farming project is distributed in the hope that
// it will be useful, but WITHOUT ANY WARRANTY; without even the
// implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
// PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with the Alpha Centauri Farming project. If not, see
// <https://www.gnu.org/licenses/>.
export const SCREENS = {
intro: 'intro',
start: 'start',
play: 'play',
newGame: 'new-game',
joinGame: 'join-game'
};
export const GAME_STATES = { preTurn: 'pre-turn',
midTurn: 'mid-turn',
turnEnded: 'turn-ended' };
export const rootId = 'initial-element';
export const messagePanelId = 'message-panel';
export const ALERTS = { beginTurn: 'begin-turn',
otherPlayersTurn: 'other-players-turn',
raiseMoney: 'raise-money' }

@ -0,0 +1,244 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
// sass-lint:disable no-color-literals, no-qualifying-elements
////
/// @group global
////
@import 'util/util';
/// Font size attribute applied to `<html>` and `<body>`. We use 100% by default so the value is inherited from the user's browser settings.
/// @type Number
$global-font-size: 100% !default;
/// Global width of your site. Used by the grid to determine row width.
/// @type Number
$global-width: rem-calc(1200) !default;
/// Default line height for all type. `$global-lineheight` is 24px while `$global-font-size` is 16px
/// @type Number
$global-lineheight: 1.5 !default;
/// Colors used for buttons, callouts, links, etc. There must always be a color called `primary`.
/// @type Map
$foundation-palette: (
primary: #1779ba,
secondary: #767676,
success: #3adb76,
warning: #ffae00,
alert: #cc4b37,
) !default;
/// Color used for light gray UI items.
/// @type Color
$light-gray: #e6e6e6 !default;
/// Color used for medium gray UI items.
/// @type Color
$medium-gray: #cacaca !default;
/// Color used for dark gray UI items.
/// @type Color
$dark-gray: #8a8a8a !default;
/// Color used for black ui items.
/// @type Color
$black: #0a0a0a !default;
/// Color used for white ui items.
/// @type Color
$white: #fefefe !default;
/// Background color of the body.
/// @type Color
$body-background: $white !default;
/// Text color of the body.
/// @type Color
$body-font-color: $black !default;
/// Font stack of the body.
/// @type List
$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif !default;
/// Set to `true` to enable antialiased type, using the `-webkit-font-smoothing` and `-moz-osx-font-smoothing` CSS properties.
/// @type Boolean
$body-antialiased: true !default;
/// Global value used for margin on components.
/// @type Number
$global-margin: 1rem !default;
/// Global value used for padding on components.
/// @type Number
$global-padding: 1rem !default;
/// Global value used for positioning on components.
/// @type Number
$global-position: 1rem !default;
/// Global font weight used for normal type.
/// @type Keyword | Number
$global-weight-normal: normal !default;
/// Global font weight used for bold type.
/// @type Keyword | Number
$global-weight-bold: bold !default;
/// Global value used for all elements that have a border radius.
/// @type Number
$global-radius: 0 !default;
/// Global value used for all menu styles. Can be overwritten at individual menu component level.
/// @type Number
$global-menu-padding: 0.7rem 1rem !default;
/// Global value used for all menu styles. Nested margin for submenu.
$global-menu-nested-margin: 1rem !default;
/// Sets the text direction of the CSS. Can be either `ltr` or `rtl`.
/// @type Keyword
$global-text-direction: ltr !default;
/// Enables flexbox for components that support it.
/// @type Boolean
$global-flexbox: true !default;
/// Enabled responsive breakpoints for prototypes if applicable
/// @type Boolean
$global-prototype-breakpoints: false !default;
/// Button cursor's value, `auto` by default
/// @type Keyword
$global-button-cursor: auto !default;
@if not map-has-key($foundation-palette, primary) {
@error 'In $foundation-palette, you must have a color named "primary".';
}
// Internal variables used for text direction
$global-left: if($global-text-direction == rtl, right, left);
$global-right: if($global-text-direction == rtl, left, right);
// Internal variable that contains the flex justifying options
$-zf-flex-justify: -zf-flex-justify($global-text-direction);
/// Global tolerance for color pick contrast.
/// @type Number
$global-color-pick-contrast-tolerance: 0 !default;
// Internal variables used for colors
@include add-foundation-colors;
@mixin foundation-global-styles {
@include foundation-normalize;
// These styles are applied to a <meta> tag, which is read by the Foundation JavaScript
.foundation-mq {
font-family: '#{-zf-bp-serialize($breakpoints)}';
}
html {
box-sizing: border-box;
font-size: $global-font-size;
}
// Set box-sizing globally to handle padding and border widths
*,
*::before,
*::after {
box-sizing: inherit;
}
// Default body styles
body {
margin: 0;
padding: 0;
background: $body-background;
font-family: $body-font-family;
font-weight: $global-weight-normal;
line-height: $global-lineheight;
color: $body-font-color;
@if ($body-antialiased) {
-webkit-font-smoothing: antialiased; // sass-lint:disable-line no-vendor-prefixes
-moz-osx-font-smoothing: grayscale; // sass-lint:disable-line no-vendor-prefixes
}
}
img {
// Get rid of gap under images by making them display: inline-block; by default
display: inline-block;
vertical-align: middle;
// Grid defaults to get images and embeds to work properly
max-width: 100%;
height: auto;
-ms-interpolation-mode: bicubic;
}
// Make sure textarea takes on height automatically
textarea {
height: auto;
min-height: 50px;
border-radius: $global-radius;
}
// Make select elements are 100% width by default
select {
box-sizing: border-box;
width: 100%;
border-radius: $global-radius;
}
// Styles Google Maps and MapQuest embeds properly
// sass-lint:disable-line no-ids
.map_canvas,
.mqa-display {
img,
embed,
object {
max-width: none !important;
}
}
// Reset <button> styles created by most browsers
button {
@include disable-mouse-outline;
padding: 0;
appearance: none;
border: 0;
border-radius: $global-radius;
background: transparent;
line-height: 1;
cursor: $global-button-cursor;
}
// Prevent text overflow on pre
pre {
overflow: auto;
}
// Make reset inherit font-family instead of settings sans-serif
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
}
// Internal classes to show/hide elements in JavaScript
.is-visible {
display: block !important;
}
.is-hidden {
display: none !important;
}
}

@ -0,0 +1,896 @@
// Foundation for Sites Settings
// -----------------------------
//
// Table of Contents:
//
// 1. Global
// 2. Breakpoints
// 3. The Grid
// 4. Base Typography
// 5. Typography Helpers
// 6. Abide
// 7. Accordion
// 8. Accordion Menu
// 9. Badge
// 10. Breadcrumbs
// 11. Button
// 12. Button Group
// 13. Callout
// 14. Card
// 15. Close Button
// 16. Drilldown
// 17. Dropdown
// 18. Dropdown Menu
// 19. Flexbox Utilities
// 20. Forms
// 21. Label
// 22. Media Object
// 23. Menu
// 24. Meter
// 25. Off-canvas
// 26. Orbit
// 27. Pagination
// 28. Progress Bar
// 29. Prototype Arrow
// 30. Prototype Border-Box
// 31. Prototype Border-None
// 32. Prototype Bordered
// 33. Prototype Display
// 34. Prototype Font-Styling
// 35. Prototype List-Style-Type
// 36. Prototype Overflow
// 37. Prototype Position
// 38. Prototype Rounded
// 39. Prototype Separator
// 40. Prototype Shadow
// 41. Prototype Sizing
// 42. Prototype Spacing
// 43. Prototype Text-Decoration
// 44. Prototype Text-Transformation
// 45. Prototype Text-Utilities
// 46. Responsive Embed
// 47. Reveal
// 48. Slider
// 49. Switch
// 50. Table
// 51. Tabs
// 52. Thumbnail
// 53. Title Bar
// 54. Tooltip
// 55. Top Bar
// 56. Xy Grid
@import 'util/util';
// 1. Global
// ---------
$global-font-size: 100%;
$global-width: rem-calc(1200);
$global-lineheight: 1.5;
$foundation-palette: (
primary: #B34534, // #1779ba
secondary: #BF7B71, // #767676
success: #3adb76,
warning: #ffae00,
alert: #cc4b37,
);
// other colors: #FF624A, #FFA496, #7F3125
$light-gray: #e6e6e6;
$medium-gray: #cacaca;
$dark-gray: #8a8a8a;
$black: #0a0a0a;
$white: #fefefe;
$body-background: $white;
$body-font-color: $black;
$body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
$body-antialiased: true;
$global-margin: 1rem;
$global-padding: 1rem;
$global-position: 1rem;
$global-weight-normal: normal;
$global-weight-bold: bold;
$global-radius: 0;
$global-menu-padding: 0.7rem 1rem;
$global-menu-nested-margin: 1rem;
$global-text-direction: ltr;
$global-flexbox: true;
$global-prototype-breakpoints: false;
$global-button-cursor: auto;
$global-color-pick-contrast-tolerance: 0;
$print-transparent-backgrounds: true;
$print-hrefs: true;
@include add-foundation-colors;
// 2. Breakpoints
// --------------
$breakpoints: (
small: 0,
medium: 640px,
large: 1024px,
xlarge: 1200px,
xxlarge: 1440px,
);
$breakpoints-hidpi: (
hidpi-1: 1,
hidpi-1-5: 1.5,
hidpi-2: 2,
retina: 2,
hidpi-3: 3
);
$print-breakpoint: large;
$breakpoint-classes: (small medium large);
// 3. The Grid
// -----------
$grid-row-width: $global-width;
$grid-column-count: 12;
$grid-column-gutter: (
small: 20px,
medium: 30px,
);
$grid-column-align-edge: true;
$grid-column-alias: 'columns';
$block-grid-max: 8;
// 4. Base Typography
// ------------------
$header-font-family: $body-font-family;
$header-font-weight: $global-weight-normal;
$header-font-style: normal;
$font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
$header-color: inherit;
$header-lineheight: 1.4;
$header-margin-bottom: 0.5rem;
$header-styles: (
small: (
'h1': ('font-size': 24),
'h2': ('font-size': 20),
'h3': ('font-size': 19),
'h4': ('font-size': 18),
'h5': ('font-size': 17),
'h6': ('font-size': 16),
),
medium: (
'h1': ('font-size': 48),
'h2': ('font-size': 40),
'h3': ('font-size': 31),
'h4': ('font-size': 25),
'h5': ('font-size': 20),
'h6': ('font-size': 16),
),
);
$header-text-rendering: optimizeLegibility;
$small-font-size: 80%;
$header-small-font-color: $medium-gray;
$paragraph-lineheight: 1.6;
$paragraph-margin-bottom: 1rem;
$paragraph-text-rendering: optimizeLegibility;
$enable-code-inline: true;
$anchor-color: $primary-color;
$anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
$anchor-text-decoration: none;
$anchor-text-decoration-hover: none;
$hr-width: $global-width;
$hr-border: 1px solid $medium-gray;
$hr-margin: rem-calc(20) auto;
$list-lineheight: $paragraph-lineheight;
$list-margin-bottom: $paragraph-margin-bottom;
$list-style-type: disc;
$list-style-position: outside;
$list-side-margin: 1.25rem;
$list-nested-side-margin: 1.25rem;
$defnlist-margin-bottom: 1rem;
$defnlist-term-weight: $global-weight-bold;
$defnlist-term-margin-bottom: 0.3rem;
$blockquote-color: $dark-gray;
$blockquote-padding: rem-calc(9 20 0 19);
$blockquote-border: 1px solid $medium-gray;
$enable-cite-block: true;
$keystroke-font: $font-family-monospace;
$keystroke-color: $black;
$keystroke-background: $light-gray;
$keystroke-padding: rem-calc(2 4 0);
$keystroke-radius: $global-radius;
$abbr-underline: 1px dotted $black;
// 5. Typography Helpers
// ---------------------
$lead-font-size: $global-font-size * 1.25;
$lead-lineheight: 1.6;
$subheader-lineheight: 1.4;
$subheader-color: $dark-gray;
$subheader-font-weight: $global-weight-normal;
$subheader-margin-top: 0.2rem;
$subheader-margin-bottom: 0.5rem;
$stat-font-size: 2.5rem;
$cite-color: $dark-gray;
$cite-font-size: rem-calc(13);
$cite-pseudo-content: '\2014 \0020';
$code-color: $black;
$code-font-family: $font-family-monospace;
$code-font-weight: $global-weight-normal;
$code-background: $light-gray;
$code-border: 1px solid $medium-gray;
$code-padding: rem-calc(2 5 1);
$code-block-padding: 1rem;
$code-block-margin-bottom: 1.5rem;
// 6. Abide
// --------
$abide-inputs: true;
$abide-labels: true;
$input-background-invalid: get-color(alert);
$form-label-color-invalid: get-color(alert);
$input-error-color: get-color(alert);
$input-error-font-size: rem-calc(12);
$input-error-font-weight: $global-weight-bold;
// 7. Accordion
// ------------
$accordion-background: $white;
$accordion-plusminus: true;
$accordion-plus-content: '\002B';
$accordion-minus-content: '\2013';
$accordion-title-font-size: rem-calc(12);
$accordion-item-color: $primary-color;
$accordion-item-background-hover: $light-gray;
$accordion-item-padding: 1.25rem 1rem;
$accordion-content-background: $white;
$accordion-content-border: 1px solid $light-gray;
$accordion-content-color: $body-font-color;
$accordion-content-padding: 1rem;
// 8. Accordion Menu
// -----------------
$accordionmenu-padding: $global-menu-padding;
$accordionmenu-nested-margin: $global-menu-nested-margin;
$accordionmenu-submenu-padding: $accordionmenu-padding;
$accordionmenu-arrows: true;
$accordionmenu-arrow-color: $primary-color;
$accordionmenu-item-background: null;
$accordionmenu-border: null;
$accordionmenu-submenu-toggle-background: null;
$accordion-submenu-toggle-border: $accordionmenu-border;
$accordionmenu-submenu-toggle-width: 40px;
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
$accordionmenu-arrow-size: 6px;
// 9. Badge
// --------
$badge-background: $primary-color;
$badge-color: $white;
$badge-color-alt: $black;
$badge-palette: $foundation-palette;
$badge-padding: 0.3em;
$badge-minwidth: 2.1em;
$badge-font-size: 0.6rem;
// 10. Breadcrumbs
// ---------------
$breadcrumbs-margin: 0 0 $global-margin 0;
$breadcrumbs-item-font-size: rem-calc(11);
$breadcrumbs-item-color: $primary-color;
$breadcrumbs-item-color-current: $black;
$breadcrumbs-item-color-disabled: $medium-gray;
$breadcrumbs-item-margin: 0.75rem;
$breadcrumbs-item-uppercase: true;
$breadcrumbs-item-separator: true;
$breadcrumbs-item-separator-item: '/';
$breadcrumbs-item-separator-item-rtl: '\\';
$breadcrumbs-item-separator-color: $medium-gray;
// 11. Button
// ----------
$button-font-family: inherit;
$button-font-weight: null;
$button-padding: 0.85em 1em;
$button-margin: 0 0 $global-margin 0;
$button-fill: solid;
$button-background: $primary-color;
$button-background-hover: scale-color($button-background, $lightness: -15%);
$button-color: $white;
$button-color-alt: $black;
$button-radius: $global-radius;
$button-border: 1px solid transparent;
$button-hollow-border-width: 1px;
$button-sizes: (
tiny: 0.6rem,
small: 0.75rem,
default: 0.9rem,
large: 1.25rem,
);
$button-palette: $foundation-palette;
$button-opacity-disabled: 0.25;
$button-background-hover-lightness: -20%;
$button-hollow-hover-lightness: -50%;
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
$button-responsive-expanded: false;
// 12. Button Group
// ----------------
$buttongroup-margin: 1rem;
$buttongroup-spacing: 1px;
$buttongroup-child-selector: '.button';
$buttongroup-expand-max: 6;
$buttongroup-radius-on-each: true;
// 13. Callout
// -----------
$callout-background: $white;
$callout-background-fade: 85%;
$callout-border: 1px solid rgba($black, 0.25);
$callout-margin: 0 0 1rem 0;
$callout-sizes: (
small: 0.5rem,
default: 1rem,
large: 3rem,
);
$callout-font-color: $body-font-color;
$callout-font-color-alt: $body-background;
$callout-radius: $global-radius;
$callout-link-tint: 30%;
// 14. Card
// --------
$card-background: $white;
$card-font-color: $body-font-color;
$card-divider-background: $light-gray;
$card-border: 1px solid $light-gray;
$card-shadow: none;
$card-border-radius: $global-radius;
$card-padding: $global-padding;
$card-margin-bottom: $global-margin;
// 15. Close Button
// ----------------
$closebutton-position: right top;
$closebutton-z-index: 10;
$closebutton-default-size: medium;
$closebutton-offset-horizontal: (
small: 0.66rem,
medium: 1rem,
);
$closebutton-offset-vertical: (
small: 0.33em,
medium: 0.5rem,
);
$closebutton-size: (
small: 1.5em,
medium: 2em,
);
$closebutton-lineheight: 1;
$closebutton-color: $dark-gray;
$closebutton-color-hover: $black;
// 16. Drilldown
// -------------
$drilldown-transition: transform 0.15s linear;
$drilldown-arrows: true;
$drilldown-padding: $global-menu-padding;
$drilldown-nested-margin: 0;
$drilldown-background: $white;
$drilldown-submenu-padding: $drilldown-padding;
$drilldown-submenu-background: $white;
$drilldown-arrow-color: $primary-color;
$drilldown-arrow-size: 6px;
// 17. Dropdown
// ------------
$dropdown-padding: 1rem;
$dropdown-background: $body-background;
$dropdown-border: 1px solid $medium-gray;
$dropdown-font-size: 1rem;
$dropdown-width: 300px;
$dropdown-radius: $global-radius;
$dropdown-sizes: (
tiny: 100px,
small: 200px,
large: 400px,
);
// 18. Dropdown Menu
// -----------------
$dropdownmenu-arrows: true;
$dropdownmenu-arrow-color: $anchor-color;
$dropdownmenu-arrow-size: 6px;
$dropdownmenu-arrow-padding: 1.5rem;
$dropdownmenu-min-width: 200px;
$dropdownmenu-background: null;
$dropdownmenu-submenu-background: $white;
$dropdownmenu-padding: $global-menu-padding;
$dropdownmenu-nested-margin: 0;
$dropdownmenu-submenu-padding: $dropdownmenu-padding;
$dropdownmenu-border: 1px solid $medium-gray;
$dropdown-menu-item-color-active: get-color(primary);
$dropdown-menu-item-background-active: transparent;
// 19. Flexbox Utilities
// ---------------------
$flex-source-ordering-count: 6;
$flexbox-responsive-breakpoints: true;
// 20. Forms
// ---------
$fieldset-border: 1px solid $medium-gray;
$fieldset-padding: rem-calc(20);
$fieldset-margin: rem-calc(18 0);
$legend-padding: rem-calc(0 3);
$form-spacing: rem-calc(16);
$helptext-color: $black;
$helptext-font-size: rem-calc(13);
$helptext-font-style: italic;
$input-prefix-color: $black;
$input-prefix-background: $light-gray;
$input-prefix-border: 1px solid $medium-gray;
$input-prefix-padding: 1rem;
$form-label-color: $black;
$form-label-font-size: rem-calc(14);
$form-label-font-weight: $global-weight-normal;
$form-label-line-height: 1.8;
$select-background: $white;
$select-triangle-color: $dark-gray;
$select-radius: $global-radius;
$input-color: $black;
$input-placeholder-color: $medium-gray;
$input-font-family: inherit;
$input-font-size: rem-calc(16);
$input-font-weight: $global-weight-normal;
$input-line-height: $global-lineheight;
$input-background: $white;
$input-background-focus: $white;
$input-background-disabled: $light-gray;
$input-border: 1px solid $medium-gray;
$input-border-focus: 1px solid $dark-gray;
$input-padding: $form-spacing / 2;
$input-shadow: inset 0 1px 2px rgba($black, 0.1);
$input-shadow-focus: 0 0 5px $medium-gray;
$input-cursor-disabled: not-allowed;
$input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
$input-number-spinners: true;
$input-radius: $global-radius;
$form-button-radius: $global-radius;
// 21. Label
// ---------
$label-background: $primary-color;
$label-color: $white;
$label-color-alt: $black;
$label-palette: $foundation-palette;
$label-font-size: 0.8rem;
$label-padding: 0.33333rem 0.5rem;
$label-radius: $global-radius;
// 22. Media Object
// ----------------
$mediaobject-margin-bottom: $global-margin;
$mediaobject-section-padding: $global-padding;
$mediaobject-image-width-stacked: 100%;
// 23. Menu
// --------
$menu-margin: 0;
$menu-nested-margin: $global-menu-nested-margin;
$menu-items-padding: $global-menu-padding;
$menu-simple-margin: 1rem;
$menu-item-color-active: $white;
$menu-item-color-alt-active: $black;
$menu-item-background-active: get-color(primary);
$menu-icon-spacing: 0.25rem;
$menu-state-back-compat: true;
$menu-centered-back-compat: true;
$menu-icons-back-compat: true;
// 24. Meter
// ---------
$meter-height: 1rem;
$meter-radius: $global-radius;
$meter-background: $medium-gray;
$meter-fill-good: $success-color;
$meter-fill-medium: $warning-color;
$meter-fill-bad: $alert-color;
// 25. Off-canvas
// --------------
$offcanvas-sizes: (
small: 250px,
);
$offcanvas-vertical-sizes: (
small: 250px,
);
$offcanvas-background: $light-gray;
$offcanvas-shadow: 0 0 10px rgba($black, 0.7);
$offcanvas-inner-shadow-size: 20px;
$offcanvas-inner-shadow-color: rgba($black, 0.25);
$offcanvas-overlay-zindex: 11;
$offcanvas-push-zindex: 12;
$offcanvas-overlap-zindex: 13;
$offcanvas-reveal-zindex: 12;
$offcanvas-transition-length: 0.5s;
$offcanvas-transition-timing: ease;
$offcanvas-fixed-reveal: true;
$offcanvas-exit-background: rgba($white, 0.25);
$maincontent-class: 'off-canvas-content';
// 26. Orbit
// ---------
$orbit-bullet-background: $medium-gray;
$orbit-bullet-background-active: $dark-gray;
$orbit-bullet-diameter: 1.2rem;
$orbit-bullet-margin: 0.1rem;
$orbit-bullet-margin-top: 0.8rem;
$orbit-bullet-margin-bottom: 0.8rem;
$orbit-caption-background: rgba($black, 0.5);
$orbit-caption-padding: 1rem;
$orbit-control-background-hover: rgba($black, 0.5);
$orbit-control-padding: 1rem;
$orbit-control-zindex: 10;
// 27. Pagination
// --------------
$pagination-font-size: rem-calc(14);
$pagination-margin-bottom: $global-margin;
$pagination-item-color: $black;
$pagination-item-padding: rem-calc(3 10);
$pagination-item-spacing: rem-calc(1);
$pagination-radius: $global-radius;
$pagination-item-background-hover: $light-gray;
$pagination-item-background-current: $primary-color;
$pagination-item-color-current: $white;
$pagination-item-color-disabled: $medium-gray;
$pagination-ellipsis-color: $black;
$pagination-mobile-items: false;
$pagination-mobile-current-item: false;
$pagination-arrows: true;
$pagination-arrow-previous: '\00AB';
$pagination-arrow-next: '\00BB';
// 28. Progress Bar
// ----------------
$progress-height: 1rem;
$progress-background: $medium-gray;
$progress-margin-bottom: $global-margin;
$progress-meter-background: $primary-color;
$progress-radius: $global-radius;
// 29. Prototype Arrow
// -------------------
$prototype-arrow-directions: (
down,
up,
right,
left
);
$prototype-arrow-size: 0.4375rem;
$prototype-arrow-color: $black;
// 30. Prototype Border-Box
// ------------------------
$prototype-border-box-breakpoints: $global-prototype-breakpoints;
// 31. Prototype Border-None
// -------------------------
$prototype-border-none-breakpoints: $global-prototype-breakpoints;
// 32. Prototype Bordered
// ----------------------
$prototype-bordered-breakpoints: $global-prototype-breakpoints;
$prototype-border-width: rem-calc(1);
$prototype-border-type: solid;
$prototype-border-color: $medium-gray;
// 33. Prototype Display
// ---------------------
$prototype-display-breakpoints: $global-prototype-breakpoints;
$prototype-display: (
inline,
inline-block,
block,
table,
table-cell
);
// 34. Prototype Font-Styling
// --------------------------
$prototype-font-breakpoints: $global-prototype-breakpoints;
$prototype-wide-letter-spacing: rem-calc(4);
$prototype-font-normal: $global-weight-normal;
$prototype-font-bold: $global-weight-bold;
// 35. Prototype List-Style-Type
// -----------------------------
$prototype-list-breakpoints: $global-prototype-breakpoints;
$prototype-style-type-unordered: (
disc,
circle,
square
);
$prototype-style-type-ordered: (
decimal,
lower-alpha,
lower-latin,
lower-roman,
upper-alpha,
upper-latin,
upper-roman
);
// 36. Prototype Overflow
// ----------------------
$prototype-overflow-breakpoints: $global-prototype-breakpoints;
$prototype-overflow: (
visible,
hidden,
scroll
);
// 37. Prototype Position
// ----------------------
$prototype-position-breakpoints: $global-prototype-breakpoints;
$prototype-position: (
static,
relative,
absolute,
fixed
);
$prototype-position-z-index: 975;
// 38. Prototype Rounded
// ---------------------
$prototype-rounded-breakpoints: $global-prototype-breakpoints;
$prototype-border-radius: rem-calc(3);
// 39. Prototype Separator
// -----------------------
$prototype-separator-breakpoints: $global-prototype-breakpoints;
$prototype-separator-align: center;
$prototype-separator-height: rem-calc(2);
$prototype-separator-width: 3rem;
$prototype-separator-background: $primary-color;
$prototype-separator-margin-top: $global-margin;
// 40. Prototype Shadow
// --------------------
$prototype-shadow-breakpoints: $global-prototype-breakpoints;
$prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
0 2px 10px 0 rgba(0,0,0,.12);
// 41. Prototype Sizing
// --------------------
$prototype-sizing-breakpoints: $global-prototype-breakpoints;
$prototype-sizing: (
width,
height
);
$prototype-sizes: (
25: 25%,
50: 50%,
75: 75%,
100: 100%
);
// 42. Prototype Spacing
// ---------------------
$prototype-spacing-breakpoints: $global-prototype-breakpoints;
$prototype-spacers-count: 3;
// 43. Prototype Text-Decoration
// -----------------------------
$prototype-decoration-breakpoints: $global-prototype-breakpoints;
$prototype-text-decoration: (
overline,
underline,
line-through,
);
// 44. Prototype Text-Transformation
// ---------------------------------
$prototype-transformation-breakpoints: $global-prototype-breakpoints;
$prototype-text-transformation: (
lowercase,
uppercase,
capitalize
);
// 45. Prototype Text-Utilities
// ----------------------------
$prototype-utilities-breakpoints: $global-prototype-breakpoints;
$prototype-text-overflow: ellipsis;
// 46. Responsive Embed
// --------------------
$responsive-embed-margin-bottom: rem-calc(16);
$responsive-embed-ratios: (
default: 4 by 3,
widescreen: 16 by 9,
);
// 47. Reveal
// ----------
$reveal-background: $white;
$reveal-width: 600px;
$reveal-max-width: $global-width;
$reveal-padding: $global-padding;
$reveal-border: 1px solid $medium-gray;
$reveal-radius: $global-radius;
$reveal-zindex: 1005;
$reveal-overlay-background: rgba($black, 0.45);
// 48. Slider
// ----------
$slider-width-vertical: 0.5rem;
$slider-transition: all 0.2s ease-in-out;
$slider-height: 0.5rem;
$slider-background: $light-gray;
$slider-fill-background: $medium-gray;
$slider-handle-height: 1.4rem;
$slider-handle-width: 1.4rem;
$slider-handle-background: $primary-color;
$slider-opacity-disabled: 0.25;
$slider-radius: $global-radius;
// 49. Switch
// ----------
$switch-background: $medium-gray;
$switch-background-active: $primary-color;
$switch-height: 2rem;
$switch-height-tiny: 1.5rem;
$switch-height-small: 1.75rem;
$switch-height-large: 2.5rem;
$switch-radius: $global-radius;
$switch-margin: $global-margin;
$switch-paddle-background: $white;
$switch-paddle-offset: 0.25rem;
$switch-paddle-radius: $global-radius;
$switch-paddle-transition: all 0.25s ease-out;
$switch-opacity-disabled: .5;
$switch-cursor-disabled: not-allowed;
// 50. Table
// ---------
$table-background: $white;
$table-color-scale: 5%;
$table-border: 1px solid smart-scale($table-background, $table-color-scale);
$table-padding: rem-calc(8 10 10);
$table-hover-scale: 2%;
$table-row-hover: darken($table-background, $table-hover-scale);
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
$table-is-striped: true;
$table-striped-background: smart-scale($table-background, $table-color-scale);
$table-stripe: even;
$table-head-background: smart-scale($table-background, $table-color-scale / 2);
$table-head-row-hover: darken($table-head-background, $table-hover-scale);
$table-foot-background: smart-scale($table-background, $table-color-scale);
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
$table-head-font-color: $body-font-color;
$table-foot-font-color: $body-font-color;
$show-header-for-stacked: false;
$table-stack-breakpoint: medium;
// 51. Tabs
// --------
$tab-margin: 0;
$tab-background: $white;
$tab-color: $primary-color;
$tab-background-active: $light-gray;
$tab-active-color: $primary-color;
$tab-item-font-size: rem-calc(12);
$tab-item-background-hover: $white;
$tab-item-padding: 1.25rem 1.5rem;
$tab-content-background: $white;
$tab-content-border: $light-gray;
$tab-content-color: $body-font-color;
$tab-content-padding: 1rem;
// 52. Thumbnail
// -------------
$thumbnail-border: 4px solid $white;
$thumbnail-margin-bottom: $global-margin;
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
$thumbnail-transition: box-shadow 200ms ease-out;
$thumbnail-radius: $global-radius;
// 53. Title Bar
// -------------
$titlebar-background: $black;
$titlebar-color: $white;
$titlebar-padding: 0.5rem;
$titlebar-text-font-weight: bold;
$titlebar-icon-color: $white;
$titlebar-icon-color-hover: $medium-gray;
$titlebar-icon-spacing: 0.25rem;
// 54. Tooltip
// -----------
$has-tip-cursor: help;
$has-tip-font-weight: $global-weight-bold;
$has-tip-border-bottom: dotted 1px $dark-gray;
$tooltip-background-color: $black;
$tooltip-color: $white;
$tooltip-padding: 0.75rem;
$tooltip-max-width: 10rem;
$tooltip-font-size: $small-font-size;
$tooltip-pip-width: 0.75rem;
$tooltip-pip-height: $tooltip-pip-width * 0.866;
$tooltip-radius: $global-radius;
// 55. Top Bar
// -----------
$topbar-padding: 0.5rem;
$topbar-background: $light-gray;
$topbar-submenu-background: $topbar-background;
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
$topbar-input-width: 200px;
$topbar-unstack-breakpoint: medium;
// 56. Xy Grid
// -----------
$xy-grid: true;
$grid-container: $global-width;
$grid-columns: 12;
$grid-margin-gutters: (
small: 20px,
medium: 30px
);
$grid-padding-gutters: $grid-margin-gutters;
$grid-container-padding: $grid-padding-gutters;
$grid-container-max: $global-width;
$xy-block-grid-max: 8;

@ -0,0 +1,174 @@
////
/// @group accordion-menu
////
/// Sets accordion menu padding.
/// @type Number
$accordionmenu-padding: $global-menu-padding !default;
/// Sets accordion menu nested margin
/// @type Number
$accordionmenu-nested-margin: $global-menu-nested-margin !default;
/// Sets accordion menu submenu padding.
/// @type Number
$accordionmenu-submenu-padding: $accordionmenu-padding !default;
/// Sets if accordion menus have the default arrow styles.
/// @type Boolean
$accordionmenu-arrows: true !default;
/// Sets accordion menu arrow color if arrow is used.
/// @type Color
$accordionmenu-arrow-color: $primary-color !default;
/// Sets accordion menu item padding.
/// @type Color
$accordionmenu-item-background: null !default;
/// Sets accordion menu item border.
/// @type Color
$accordionmenu-border: null !default;
/// Sets accordion menu item padding.
/// @type Color
$accordionmenu-submenu-toggle-background: null !default;
/// Sets accordion menu item padding.
/// @type List
$accordion-submenu-toggle-border: $accordionmenu-border !default;
/// Sets accordion menu submenu toggle background width.
/// @type Number
$accordionmenu-submenu-toggle-width: 40px !default;
/// Sets accordion menu submenu toggle background height.
/// @type Number
$accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width !default;
/// Sets accordion menu arrow size if arrow is used.
/// @type Length
$accordionmenu-arrow-size: 6px !default;
@mixin zf-accordion-menu-left-right-arrows {
.is-accordion-submenu-parent:not(.has-submenu-toggle) > a {
position: relative;
&::after {
@include css-triangle($accordionmenu-arrow-size, $accordionmenu-arrow-color, down);
position: absolute;
top: 50%;
margin-top: -1 * ($accordionmenu-arrow-size / 2);
#{$global-right}: 1rem;
}
}
&.align-left .is-accordion-submenu-parent > a::after {
right: 1rem;
left: auto;
}
&.align-right .is-accordion-submenu-parent > a::after {
right: auto;
left: 1rem;
}
}
@mixin foundation-accordion-menu {
.accordion-menu {
@if $accordionmenu-border {
border-bottom: $accordionmenu-border;
}
li {
@if $accordionmenu-border {
border-top: $accordionmenu-border;
border-right: $accordionmenu-border;
border-left: $accordionmenu-border;
}
width: 100%;
}
a {
@if $accordionmenu-item-background {
background: $accordionmenu-item-background;
}
padding: $accordionmenu-padding;
}
.is-accordion-submenu a {
padding: $accordionmenu-submenu-padding;
}
.nested.is-accordion-submenu {
@include menu-nested($accordionmenu-nested-margin);
}
&.align-#{$global-right} {
.nested.is-accordion-submenu {
@include menu-nested($accordionmenu-nested-margin, right);
}
}
@if $accordionmenu-arrows {
@include zf-accordion-menu-left-right-arrows;
.is-accordion-submenu-parent[aria-expanded='true'] > a::after {
transform: rotate(180deg);
transform-origin: 50% 50%;
}
}
}
.is-accordion-submenu li {
@if $accordionmenu-border {
border-right: 0;
border-left: 0;
}
}
.is-accordion-submenu-parent {
position: relative;
}
.has-submenu-toggle > a {
margin-#{$global-right}: $accordionmenu-submenu-toggle-width;
}
// Submenu toggle
.submenu-toggle {
position: absolute;
top: 0;
#{$global-right}: 0;
width: $accordionmenu-submenu-toggle-width;
height: $accordionmenu-submenu-toggle-height;
cursor: pointer;
border-#{$global-left}: $accordion-submenu-toggle-border;
@if $accordionmenu-submenu-toggle-background {
background: $accordionmenu-submenu-toggle-background;
}
// Add the arrow to the toggle
&::after {
@include css-triangle(6px, $accordionmenu-arrow-color, down);
top: 0;
bottom: 0;
margin: auto;
}
}
// Rotate the arrow when menu is open
.submenu-toggle[aria-expanded='true']::after {
transform: scaleY(-1);
transform-origin: 50% 50%;
}
.submenu-toggle-text {
@include element-invisible;
}
}

@ -0,0 +1,164 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group accordion
////
/// Default background color of an accordion group.
/// @type Color
$accordion-background: $white !default;
/// If `true`, adds plus and minus icons to the side of each accordion title.
/// @type Boolean
$accordion-plusminus: true !default;
/// Content for the plus icon when `$accordion-plusminus` is `true`
/// @type String
$accordion-plus-content: '\002B' !default;
/// Content for the minus icon when `$accordion-plusminus` is `true`
/// @type String
$accordion-minus-content: '\2013' !default;
/// Font size of accordion titles.
/// @type Number
$accordion-title-font-size: rem-calc(12) !default;
/// Default text color for items in a Menu.
/// @type Color
$accordion-item-color: $primary-color !default;
/// Default background color on hover for items in a Menu.
/// @type Color
$accordion-item-background-hover: $light-gray !default;
/// Default padding of an accordion item.
/// @type Number | List
$accordion-item-padding: 1.25rem 1rem !default;
/// Default background color of tab content.
/// @type Color
$accordion-content-background: $white !default;
/// Default border color of tab content.
/// @type Color
$accordion-content-border: 1px solid $light-gray !default;
/// Default text color of tab content.
/// @type Color
$accordion-content-color: $body-font-color !default;
/// Default padding for tab content.
/// @type Number | List
$accordion-content-padding: 1rem !default;
/// Adds styles for an accordion container. Apply this to the same element that gets `data-accordion`.
@mixin accordion-container (
$background: $accordion-background
) {
margin-#{$global-left}: 0;
background: $background;
list-style-type: none;
&[disabled] {
.accordion-title {
cursor: not-allowed;
}
}
}
/// Adds styles for the accordion item. Apply this to the list item within an accordion ul.
@mixin accordion-item {
&:first-child > :first-child {
border-radius: $global-radius $global-radius 0 0;
}
&:last-child > :last-child {
border-radius: 0 0 $global-radius $global-radius;
}
}
/// Adds styles for the title of an accordion item. Apply this to the link within an accordion item.
@mixin accordion-title (
$padding: $accordion-item-padding,
$font-size: $accordion-title-font-size,
$color: $accordion-item-color,
$border: $accordion-content-border,
$background-hover: $accordion-item-background-hover
) {
position: relative;
display: block;
padding: $padding;
border: $border;
border-bottom: 0;
font-size: $font-size;
line-height: 1;
color: $color;
:last-child:not(.is-active) > & {
border-bottom: $border;
border-radius: 0 0 $global-radius $global-radius;
}
&:hover,
&:focus {
background-color: $background-hover;
}
@if $accordion-plusminus {
&::before {
position: absolute;
top: 50%;
#{$global-right}: 1rem;
margin-top: -0.5rem;
content: $accordion-plus-content;
}
.is-active > &::before {
content: $accordion-minus-content;
}
}
}
/// Adds styles for accordion content. Apply this to the content pane below an accordion item's title.
@mixin accordion-content (
$padding: $accordion-content-padding,
$border: $accordion-content-border,
$background: $accordion-content-background,
$color: $accordion-content-color
) {
display: none;
padding: $padding;
border: $border;
border-bottom: 0;
background-color: $background;
color: $color;
:last-child > &:last-child {
border-bottom: $border;
}
}
@mixin foundation-accordion {
.accordion {
@include accordion-container;
}
.accordion-item {
@include accordion-item;
}
.accordion-title {
@include accordion-title;
}
.accordion-content {
@include accordion-content;
}
}

@ -0,0 +1,63 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group badge
////
/// Default background color for badges.
/// @type Color
$badge-background: $primary-color !default;
/// Default text color for badges.
/// @type Color
$badge-color: $white !default;
/// Alternate text color for badges.
/// @type Color
$badge-color-alt: $black !default;
/// Coloring classes. A map of classes to output in your CSS, like `.secondary`, `.success`, and so on.
/// @type Map
$badge-palette: $foundation-palette !default;
/// Default padding inside badges.
/// @type Number
$badge-padding: 0.3em !default;
/// Minimum width of a badge.
/// @type Number
$badge-minwidth: 2.1em !default;
/// Default font size for badges.
/// @type Number
$badge-font-size: 0.6rem !default;
/// Generates the base styles for a badge.
@mixin badge {
display: inline-block;
min-width: $badge-minwidth;
padding: $badge-padding;
border-radius: 50%;
font-size: $badge-font-size;
text-align: center;
}
@mixin foundation-badge {
.badge {
@include badge;
background: $badge-background;
color: $badge-color;
@each $name, $color in $badge-palette {
&.#{$name} {
background: $color;
color: color-pick-contrast($color, ($badge-color, $badge-color-alt));
}
}
}
}

@ -0,0 +1,119 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group breadcrumbs
////
/// Margin around a breadcrumbs container.
/// @type Number
$breadcrumbs-margin: 0 0 $global-margin 0 !default;
/// Font size of breadcrumb links.
/// @type Number
$breadcrumbs-item-font-size: rem-calc(11) !default;
/// Color of breadcrumb links.
/// @type Color
$breadcrumbs-item-color: $primary-color !default;
/// Color of the active breadcrumb link.
/// @type Color
$breadcrumbs-item-color-current: $black !default;
/// Opacity of disabled breadcrumb links.
/// @type Number
$breadcrumbs-item-color-disabled: $medium-gray !default;
/// Margin between breadcrumb items.
/// @type Number
$breadcrumbs-item-margin: 0.75rem !default;
/// If `true`, makes breadcrumb links uppercase.
/// @type Boolean
$breadcrumbs-item-uppercase: true !default;
/// If `true`, adds a seperator between breadcrumb links.
/// @type Boolean
$breadcrumbs-item-separator: true !default;
// If it exists $breadcrumbs-item-slash is used to build $breadcrumbs-item-separator. See the documentation.
@if variable-exists(breadcrumbs-item-slash) {
$breadcrumbs-item-separator: $breadcrumbs-item-slash;
}
/// Used character for the breadcrumb separator.
/// @type Content
$breadcrumbs-item-separator-item: '/' !default;
/// Used character for the breadcrumb separator in rtl mode.
/// @type Content
$breadcrumbs-item-separator-item-rtl: '\\' !default;
/// Color of breadcrumb item.
/// @type Color
$breadcrumbs-item-separator-color: $medium-gray !default;
// If it exists $breadcrumbs-item-slash-color is used to build $breadcrumbs-item-separator-color. See the documentation.
@if variable-exists(breadcrumbs-item-slash-color) {
$breadcrumbs-item-separator-color: $breadcrumbs-item-slash-color;
}
/// Adds styles for a breadcrumbs container, along with the styles for the `<li>` and `<a>` elements inside of it.
@mixin breadcrumbs-container {
@include clearfix;
margin: $breadcrumbs-margin;
list-style: none;
// Item wrapper
li {
float: #{$global-left};
font-size: $breadcrumbs-item-font-size;
color: $breadcrumbs-item-color-current;
cursor: default;
@if $breadcrumbs-item-uppercase {
text-transform: uppercase;
}
@if $breadcrumbs-item-separator {
// Need to escape the backslash
$separator: if($global-text-direction == 'ltr', $breadcrumbs-item-separator-item, $breadcrumbs-item-separator-item-rtl);
&:not(:last-child) {
&::after {
position: relative;
margin: 0 $breadcrumbs-item-margin;
opacity: 1;
content: $separator;
color: $breadcrumbs-item-separator-color;
}
}
}
@else {
margin-#{$global-right}: $breadcrumbs-item-margin;
}
}
// Page links
a {
color: $breadcrumbs-item-color;
&:hover {
text-decoration: underline;
}
}
}
@mixin foundation-breadcrumbs {
.breadcrumbs {
@include breadcrumbs-container;
.disabled {
color: $breadcrumbs-item-color-disabled;
cursor: not-allowed;
}
}
}

@ -0,0 +1,299 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group button-group
////
/// Margin for button groups.
/// @type Number
$buttongroup-margin: 1rem !default;
/// Margin between buttons in a button group.
/// @type Number
$buttongroup-spacing: 1px !default;
/// Selector for the buttons inside a button group.
/// @type String
$buttongroup-child-selector: '.button' !default;
/// Maximum number of buttons that can be in an even-width button group. (Only needed when $global-flexbox: false;)
/// @type Number
$buttongroup-expand-max: 6 !default;
/// Determines if $button-radius is applied to each button or the button group as a whole. Use $global-radius in _settings.scss to change radius.
/// @type Boolean
$buttongroup-radius-on-each: true !default;
/// Add styles for a button group container.
/// @param {String} $child-selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
/// @param {Number} $spacing [$buttongroup-spacing] - Spacing between buttons in a button group.
@mixin button-group(
$child-selector: $buttongroup-child-selector,
$spacing: $buttongroup-spacing
) {
@include clearfix;
margin-bottom: $buttongroup-margin;
@if $global-flexbox {
display: flex;
flex-wrap: nowrap;
align-items: stretch;
}
@else {
font-size: 0;
}
#{$child-selector} {
margin: 0;
margin-#{$global-right}: $spacing;
margin-bottom: $spacing;
font-size: map-get($button-sizes, default);
@if $global-flexbox {
flex: 0 0 auto;
}
&:last-child {
margin-#{$global-right}: 0;
}
@if not $buttongroup-radius-on-each {
border-radius: 0;
&:first-child {
border-top-#{$global-left}-radius: $button-radius;
border-bottom-#{$global-left}-radius: $button-radius;
}
&:last-child {
border-top-#{$global-right}-radius: $button-radius;
border-bottom-#{$global-right}-radius: $button-radius;
}
}
}
}
/// Make buttons bonded without gap between them. Borders between buttons are merged
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
@mixin button-group-no-gaps(
$selector: $buttongroup-child-selector,
$border-width: $button-hollow-border-width
) {
#{$selector} {
margin-#{$global-right}: rem-calc(-$border-width);
+ #{$selector} {
border-#{$global-left}-color: transparent;
}
}
}
/// Creates a full-width button group, making each button equal width.
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside a button group.
/// @param {Number} $spacing [$buttongroup-spacing] - Spacing between buttons in a button group.
@mixin button-group-expand(
$selector: $buttongroup-child-selector,
$spacing: $buttongroup-spacing,
$count: null
) {
@if not $global-flexbox {
margin-#{$global-right}: -$spacing;
&::before,
&::after {
display: none;
}
}
#{$selector} {
@if $global-flexbox {
flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
@else {
// One child
&:first-child {
&:last-child {
width: calc(100% - #{$spacing});
}
}
// Two or more childreen
@for $i from 2 through $buttongroup-expand-max {
&:first-child:nth-last-child(#{$i}) {
&, &:first-child:nth-last-child(#{$i}) ~ #{$selector} {
display: inline-block;
width: calc(#{percentage(1 / $i)} - #{$spacing});
margin-#{$global-right}: $spacing;
&:last-child {
margin-#{$global-right}: $spacing * -$buttongroup-expand-max;
}
}
}
}
}
}
}
/// Stacks the buttons in a button group.
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside the button group.
@mixin button-group-stack(
$selector: $buttongroup-child-selector
) {
@if $global-flexbox {
flex-wrap: wrap;
}
#{$selector} {
@if $global-flexbox {
flex: 0 0 100%;
}
@else {
width: 100%;
}
&:last-child {
margin-bottom: 0;
}
@if not $buttongroup-radius-on-each {
border-radius: 0;
&:first-child {
border-top-#{$global-left}-radius: $global-radius;
border-top-#{$global-right}-radius: $global-radius;
}
&:last-child {
margin-bottom: 0;
border-bottom-#{$global-left}-radius: $global-radius;
border-bottom-#{$global-right}-radius: $global-radius;
}
}
}
}
/// Un-stacks the buttons in a button group.
/// @param {String} $selector [$buttongroup-child-selector] - Selector for the buttons inside the button group.
@mixin button-group-unstack(
$selector: $buttongroup-child-selector
) {
#{$selector} {
@if $global-flexbox {
flex: 0 0 auto;
}
@else {
width: auto;
}
margin-bottom: 0;
@if not $buttongroup-radius-on-each {
&:first-child {
border-top-#{$global-left}-radius: $global-radius;
border-top-#{$global-right}-radius: 0;
border-bottom-#{$global-left}-radius: $global-radius;
}
&:last-child {
border-top-#{$global-right}-radius: $global-radius;
border-bottom-#{$global-right}-radius: $global-radius;
border-bottom-#{$global-left}-radius: 0;
}
}
}
}
@mixin foundation-button-group {
.button-group {
@include button-group;
// Sizes
@each $size, $value in map-remove($button-sizes, default) {
&.#{$size} #{$buttongroup-child-selector} {
font-size: $value;
}
}
// Even-width Group
&.expanded {
@include button-group-expand;
}
// Solid, hollow & clear styles
@each $filling in (solid hollow clear) {
$base-selector: if($button-fill == $filling, null, '.#{$filling}');
&#{$base-selector} {
// Do not generate button base styles for the default filling
@if($button-fill != $filling) {
#{$buttongroup-child-selector} {
@include button-fill($filling);
@include button-fill-style($filling);
}
}
@each $name, $color in $button-palette {
$individual-selector: if($button-fill == $filling, null, ' #{$buttongroup-child-selector}.#{$name}');
&.#{$name} #{$buttongroup-child-selector}, #{$individual-selector} {
@include button-fill-style($filling, $color, auto, auto);
}
}
}
}
&.no-gaps {
@include button-group-no-gaps;
}
&.stacked,
&.stacked-for-small,
&.stacked-for-medium {
@include button-group-stack;
&.expanded {
@include button-group-expand;
}
}
&.stacked-for-small {
@include breakpoint(medium) {
@include button-group-unstack;
}
}
&.stacked-for-medium {
@include breakpoint(large) {
@include button-group-unstack;
}
}
&.stacked-for-small.expanded {
@include breakpoint(small only) {
display: block;
#{$buttongroup-child-selector} {
display: block;
margin-#{$global-right}: 0;
}
}
}
&.stacked-for-medium.expanded {
@include breakpoint(medium down) {
display: block;
#{$buttongroup-child-selector} {
display: block;
margin-#{$global-right}: 0;
}
}
}
}
}

@ -0,0 +1,428 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group button
////
/// Font family for button elements.
/// @type Font
$button-font-family: inherit !default;
/// Font weight for button elements.
/// Ignored if null (default)
/// @type Font-Weight
$button-font-weight: null !default;
/// Padding inside buttons.
/// @type List
$button-padding: 0.85em 1em !default;
/// Margin around buttons.
/// @type List
$button-margin: 0 0 $global-margin 0 !default;
/// Default fill for buttons. Can either be `solid` or `hollow`.
/// @type Keyword
$button-fill: solid !default;
/// Default background color for buttons.
/// @type Color
$button-background: $primary-color !default;
/// Background color on hover for buttons.
/// @type Color
$button-background-hover: scale-color($button-background, $lightness: -15%) !default;
/// Font color for buttons.
/// @type List
$button-color: $white !default;
/// Alternative font color for buttons.
/// @type List
$button-color-alt: $black !default;
/// Border radius for buttons, defaulted to global-radius.
/// @type Number
$button-radius: $global-radius !default;
/// Border for buttons, transparent by default
/// @type List
$button-border: 1px solid transparent !default;
/// Border width for hollow outline buttons
/// @type Number
$button-hollow-border-width: 1px !default;
/// Sizes for buttons.
/// @type Map
$button-sizes: (
tiny: 0.6rem,
small: 0.75rem,
default: 0.9rem,
large: 1.25rem,
) !default;
/// Coloring classes. A map of classes to output in your CSS, like `.secondary`, `.success`, and so on.
/// @type Map
$button-palette: $foundation-palette !default;
/// opacity for a disabled button.
/// @type List
$button-opacity-disabled: 0.25 !default;
/// Background color lightness on hover for buttons.
/// @type Number
$button-background-hover-lightness: -20% !default;
/// Color lightness on hover for hollow buttons.
/// @type Number
$button-hollow-hover-lightness: -50% !default;
// Internal: flip from margin-right to margin-left for defaults
@if $global-text-direction == 'rtl' {
$button-margin: 0 0 $global-margin $global-margin !default;
}
/// transitions for buttons.
/// @type List
$button-transition: background-color 0.25s ease-out, color 0.25s ease-out !default;
/// Additional responsive classes for .expanded
/// @type Boolean
$button-responsive-expanded: false !default;
// TODO: Document button-base() mixin
@mixin button-base {
@include disable-mouse-outline;
display: inline-block;
vertical-align: middle;
margin: $button-margin;
@if (type-of($button-padding) == 'map') {
@each $size, $padding in $button-padding {
@include breakpoint($size) {
padding: $padding;
}
}
}
@else {
padding: $button-padding;
}
border: $button-border;
border-radius: $button-radius;
transition: $button-transition;
font-family: $button-font-family;
font-size: map-get($button-sizes, default);
font-weight: $button-font-weight;
-webkit-appearance: none; // sass-lint:disable-line no-vendor-prefixes
line-height: 1;
text-align: center;
cursor: pointer;
}
/// Expands a button to make it full-width.
/// @param {Boolean} $expand [true] - Set to `true` to enable the expand behavior. Set to `false` to reverse this behavior.
@mixin button-expand($expand: true) {
@if $expand {
display: block;
width: 100%;
margin-right: 0;
margin-left: 0;
}
@else {
display: inline-block;
width: auto;
margin: $button-margin;
}
}
/// Sets the base styles of a hollow or clear button filling according to `$fill`.
/// See mixin `button-fill-style` for the filling styles.
/// @param {Keyword} $fill [$button-fill] - Type of filling between `hollow` and `clear`. `solid` has no effects.
@mixin button-fill(
$fill: $button-fill
) {
@if $fill == hollow {
@include button-hollow;
}
@else if $fill == clear {
@include button-clear;
}
}
/// Sets the visual styles of a solid/hollow/clear button filling according to `$fill`.
/// See mixins `button-style`, `button-hollow-style` and `button-clear-style` for effects of visual styling parameters.
/// @param {Keyword} $fill [$button-fill] - Type of filling between `hollow` and `clear`.
/// @param {Color} $background [$button-background] - -
/// @param {Color} $background-hover [$button-background-hover] - -
/// @param {Color} $color [$button-color] - -
@mixin button-fill-style(
$fill: $button-fill,
$background: $button-background,
$background-hover: $button-background-hover,
$color: $button-color
) {
@if $fill == solid {
@include button-style($background, $background-hover, $color);
}
@else if $fill == hollow {
@include button-hollow-style($background);
}
@else if $fill == clear {
@include button-clear-style($background);
}
}
/// Sets the visual style of a button.
/// @param {Color} $background [$button-background] - Background color of the button.
/// @param {Color} $background-hover [$button-background-hover] - Background color of the button on hover. Set to `auto` to have the mixin automatically generate a hover color.
/// @param {Color} $color [$button-color] - Text color of the button. Set to `auto` to automatically generate a color based on the background color.
@mixin button-style(
$background: $button-background,
$background-hover: $button-background-hover,
$color: $button-color,
$background-hover-lightness: $button-background-hover-lightness
) {
@if $color == auto {
$color: color-pick-contrast($background, ($button-color, $button-color-alt));
}
@if $background-hover == auto {
$background-hover: scale-color($background, $lightness: $background-hover-lightness);
}
// Default and disabled states
&,
&.disabled, &[disabled],
&.disabled:hover, &[disabled]:hover,
&.disabled:focus, &[disabled]:focus {
background-color: $background;
color: $color;
}
&:hover, &:focus {
background-color: $background-hover;
color: $color;
}
}
/// Sets the base styles of a hollow button.
/// See mixin `button-hollow-style` for the filling styles.
@mixin button-hollow {
&, &.disabled, &[disabled] {
&, &:hover, &:focus {
background-color: transparent;
}
}
}
/// Sets the visual style of a hollow button.
/// @param {Color} $color [$button-background] - Text and border color of the button.
/// @param {Color} $hover-lightness [$button-hollow-hover-lightness] - Color lightness on hover.
/// @param {Color} $border-width [$button-hollow-border-width] - Border width of the button.
@mixin button-hollow-style(
$color: $button-background,
$hover-lightness: $button-hollow-hover-lightness,
$border-width: $button-hollow-border-width
) {
$color-hover: scale-color($color, $lightness: $hover-lightness);
// Default and disabled states
&,
&.disabled, &[disabled],
&.disabled:hover, &[disabled]:hover,
&.disabled:focus, &[disabled]:focus {
border: $border-width solid $color;
color: $color;
}
&:hover, &:focus {
border-color: $color-hover;
color: $color-hover;
}
}
/// Sets the base styles of a clear button.
/// See mixin `button-clear-style` for the filling styles.
@mixin button-clear {
&, &.disabled, &[disabled] {
&, &:hover, &:focus {
border-color: transparent;
background-color: transparent;
}
}
}
/// Sets the visual style of a clear button.
/// @param {Color} $color [$button-background] - Text color of the button.
/// @param {Color} $hover-lightness [$button-hollow-hover-lightness] - Color lightness on hover.
@mixin button-clear-style(
$color: $button-background,
$hover-lightness: $button-hollow-hover-lightness
) {
$color-hover: scale-color($color, $lightness: $hover-lightness);
// Default and disabled states
&,
&.disabled, &[disabled],
&.disabled:hover, &[disabled]:hover,
&.disabled:focus, &[disabled]:focus {
color: $color;
}
&:hover, &:focus {
color: $color-hover;
}
}
/// Adds disabled styles to a button by fading the element and reseting the cursor.
/// @param {Number} $opacity [$button-opacity-disabled] - Opacity of the disabled button.
@mixin button-disabled(
$opacity: $button-opacity-disabled
) {
opacity: $button-opacity-disabled;
cursor: not-allowed;
}
/// Adds a dropdown arrow to a button.
/// @param {Number} $size [0.4em] - Size of the arrow. We recommend using an `em` value so the triangle scales when used inside different sizes of buttons.
/// @param {Color} $color [white] - Color of the arrow.
/// @param {Number} $offset [$button-padding] - Distance between the arrow and the text of the button. Defaults to whatever the right padding of a button is.
@mixin button-dropdown(
$size: 0.4em,
$color: $white,
$offset: get-side($button-padding, right)
) {
&::after {
@include css-triangle($size, $color, down);
position: relative;
top: 0.4em; // Aligns the arrow with the text of the button
display: inline-block;
float: #{$global-right};
margin-#{$global-left}: $offset;
}
}
/// Adds all styles for a button. For more granular control over styles, use the individual button mixins.
/// @param {Boolean} $expand [false] - Set to `true` to make the button full-width.
/// @param {Color} $background [$button-background] - Background color of the button.
/// @param {Color} $background-hover [$button-background-hover] - Background color of the button on hover. Set to `auto` to have the mixin automatically generate a hover color.
/// @param {Color} $color [$button-color] - Text color of the button. Set to `auto` to automatically generate a color based on the background color.
/// @param {Keyword} $style [solid] - Set to `hollow` to create a hollow button. The color defined in `$background` will be used as the primary color of the button.
@mixin button(
$expand: false,
$background: $button-background,
$background-hover: $button-background-hover,
$color: $button-color,
$style: $button-fill
) {
@include button-base;
@include button-fill($style);
@include button-fill-style($style, $background, $background-hover, $color);
@if $expand {
@include button-expand;
}
}
@mixin foundation-button {
.button {
@include button($style: none);
// Sizes
@each $size, $value in map-remove($button-sizes, default) {
&.#{$size} {
font-size: $value;
}
}
&.expanded { @include button-expand; }
@if $button-responsive-expanded {
@each $size in $breakpoint-classes {
@include breakpoint(#{$size} only) {
&.#{$size}-only-expanded {
@include button-expand;
}
}
@if $size != $-zf-zero-breakpoint {
@include breakpoint(#{$size} down) {
&.#{$size}-down-expanded {
@include button-expand;
}
}
@include breakpoint(#{$size}) {
&.#{$size}-expanded {
@include button-expand;
}
}
}
}
}
// Solid, hollow & clear styles
@each $filling in (solid hollow clear) {
$selector: if($button-fill == $filling, null, '.#{$filling}');
&#{$selector} {
@include button-fill($filling);
@include button-fill-style($filling);
@each $name, $color in $button-palette {
&.#{$name} {
@include button-fill-style($filling, $color, auto, auto);
}
}
}
}
// Disabled state
&.disabled, &[disabled] {
@include button-disabled;
}
// Dropdown arrow
&.dropdown {
@include button-dropdown;
@if $button-fill == hollow {
&::after {
border-top-color: $button-background;
}
}
&.hollow, &.clear {
&::after {
border-top-color: $button-background;
}
@each $name, $color in $button-palette {
&.#{$name} {
&::after {
border-top-color: $color;
}
}
}
}
}
// Button with dropdown arrow only
&.arrow-only::after {
top: -0.1em;
float: none;
margin-#{$global-left}: 0;
}
}
a.button { // sass-lint:disable-line no-qualifying-elements
&:hover,
&:focus {
text-decoration: none;
}
}
}

@ -0,0 +1,108 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group callout
////
/// Default background color.
/// @type Color
$callout-background: $white !default;
/// Default fade value for callout backgrounds.
/// @type Number
$callout-background-fade: 85% !default;
/// Default border style for callouts.
/// @type List
$callout-border: 1px solid rgba($black, 0.25) !default;
/// Default bottom margin for callouts.
/// @type Number
$callout-margin: 0 0 1rem 0 !default;
/// Sizes for Callout paddings.
/// @type Map
$callout-sizes: (
small: 0.5rem,
default: 1rem,
large: 3rem,
) !default;
/// Default font color for callouts.
/// @type Color
$callout-font-color: $body-font-color !default;
/// Default font color for callouts, if the callout has a dark background.
/// @type Color
$callout-font-color-alt: $body-background !default;
/// Default border radius for callouts.
/// @type Color
$callout-radius: $global-radius !default;
/// Amount to tint links used within colored panels. Set to `false` to disable this feature.
/// @type Number | Boolean
$callout-link-tint: 30% !default;
/// Adds basic styles for a callout, including padding and margin.
@mixin callout-base() {
position: relative;
margin: $callout-margin;
padding: map-get($callout-sizes, default);
border: $callout-border;
border-radius: $callout-radius;
// Respect the padding, fool.
> :first-child {
margin-top: 0;
}
> :last-child {
margin-bottom: 0;
}
}
/// Generate quick styles for a callout using a single color as a baseline.
/// @param {Color} $color [$callout-background] - Color to use.
@mixin callout-style($color: $callout-background) {
$background: scale-color($color, $lightness: $callout-background-fade);
background-color: $background;
color: color-pick-contrast($background, ($callout-font-color, $callout-font-color-alt));
}
@mixin callout-size($padding) {
padding-top: $padding;
padding-right: $padding;
padding-bottom: $padding;
padding-left: $padding;
}
/// Adds styles for a callout.
/// @param {Color} $color [$callout-background] - Color to use.
@mixin callout($color: $callout-background) {
@include callout-base;
@include callout-style($color);
}
@mixin foundation-callout {
.callout {
@include callout;
@each $name, $color in $foundation-palette {
&.#{$name} {
@include callout-style($color);
}
}
@each $size, $padding in map-remove($callout-sizes, default) {
&.#{$size} {
@include callout-size($padding);
}
}
}
}

@ -0,0 +1,129 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group card
////
/// Default background color.
/// @type Color
$card-background: $white !default;
/// Default font color for cards.
/// @type Color
$card-font-color: $body-font-color !default;
/// Default background.
/// @type Color
$card-divider-background: $light-gray !default;
/// Default border style.
/// @type List
$card-border: 1px solid $light-gray !default;
/// Default card shadow.
/// @type List
$card-shadow: none !default;
/// Default border radius.
/// @type List
$card-border-radius: $global-radius !default;
/// Default padding.
/// @type Number
$card-padding: $global-padding !default;
/// Default bottom margin.
/// @type number
$card-margin-bottom: $global-margin !default;
/// Adds styles for a card container.
/// @param {Color} $background - Background color of the card.
/// @param {Color} $color - font color of the card.
/// @param {Number} $margin - Bottom margin of the card.
/// @param {List} $border - Border around the card.
/// @param {List} $radius - border radius of the card.
/// @param {List} $shadow - box shadow of the card.
@mixin card-container(
$background: $card-background,
$color: $card-font-color,
$margin: $card-margin-bottom,
$border: $card-border,
$radius: $card-border-radius,
$shadow: $card-shadow
) {
@if $global-flexbox {
display: flex;
flex-direction: column;
flex-grow: 1;
}
margin-bottom: $margin;
border: $border;
border-radius: $radius;
background: $background;
box-shadow: $shadow;
overflow: hidden;
color: $color;
& > :last-child {
margin-bottom: 0;
}
}
/// Adds styles for a card divider.
@mixin card-divider(
$background: $card-divider-background,
$padding: $card-padding
) {
@if $global-flexbox {
display: flex;
flex: 0 1 auto;
}
padding: $padding;
background: $background;
& > :last-child {
margin-bottom: 0;
}
}
/// Adds styles for a card section.
@mixin card-section(
$padding: $card-padding
) {
@if $global-flexbox {
flex: 1 0 auto;
}
padding: $padding;
& > :last-child {
margin-bottom: 0;
}
}
@mixin foundation-card {
.card {
@include card-container;
}
.card-divider {
@include card-divider;
}
.card-section {
@include card-section;
}
// For IE 11 - Flexbug
// https://github.com/philipwalton/flexbugs/issues/75
.card-image {
min-height: 1px;
}
}

@ -0,0 +1,127 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group close-button
////
/// Default position of the close button. The first value should be `right` or `left`, and the second value should be `top` or `bottom`.
/// @type List
$closebutton-position: right top !default;
/// Default z-index for a close button.
/// @type Number
$closebutton-z-index: 10 !default;
/// Button size to use as default
/// @type String
/// @see $closebutton-size
/// @see $closebutton-offset-horizontal
/// @see $closebutton-offset-vertical
$closebutton-default-size: medium !default;
/// Right (or left) offset(s) for a close button.
/// @type Number|Map
$closebutton-offset-horizontal: (
small: 0.66rem,
medium: 1rem,
) !default;
/// Top (or bottom) offset(s) for a close button.
/// @type Number|Map
$closebutton-offset-vertical: (
small: 0.33em,
medium: 0.5rem,
) !default;
/// Size(s) of the close button. Used to generate sizing modifiers.
/// @type Number|Map
$closebutton-size: (
small: 1.5em,
medium: 2em,
) !default;
/// The line-height of the close button. It affects the spacing of the element.
/// @type Number
$closebutton-lineheight: 1 !default;
/// Default color of the close button.
/// @type Color
$closebutton-color: $dark-gray !default;
/// Default color of the close button when being hovered on.
/// @type Color
$closebutton-color-hover: $black !default;
/// Get the size and position for a close button. If the input value is a number, the number is returned. If the input value is a config map and the map has the key `$size`, the value is returned.
///
/// @param {Number|Map} $value - A number or map that represents the size or position value(s) of the close button.
/// @param {Keyword} $size - The size of the close button to use.
///
/// @return {Number} The given number or the value found in the map.
@function -zf-get-size-val($value, $size) {
// Check if the value is a number
@if type-of($value) == 'number' {
// If it is, just return the number
@return $value;
}
// Check if the size name exists in the value map
@else if map-has-key($value, $size) {
// If it does, return the value
@return map-get($value, $size);
}
}
/// Sets the size and position of a close button.
/// @param {Keyword} $size [medium] - The size to use. Set to `small` to create a small close button. The 'medium' values defined in `$closebutton-*` variables will be used as the default size and position of the close button.
@mixin close-button-size($size) {
$x: nth($closebutton-position, 1);
$y: nth($closebutton-position, 2);
#{$x}: -zf-get-size-val($closebutton-offset-horizontal, $size);
#{$y}: -zf-get-size-val($closebutton-offset-vertical, $size);
font-size: -zf-get-size-val($closebutton-size, $size);
line-height: -zf-get-size-val($closebutton-lineheight, $size);
}
/// Adds styles for a close button, using the styles in the settings variables.
@mixin close-button {
$x: nth($closebutton-position, 1);
$y: nth($closebutton-position, 2);
@include disable-mouse-outline;
position: absolute;
z-index: $closebutton-z-index;
color: $closebutton-color;
cursor: pointer;
&:hover,
&:focus {
color: $closebutton-color-hover;
}
}
@mixin foundation-close-button {
.close-button {
@include close-button;
// Generate a placeholder and a class for each size
@each $name, $size in $closebutton-size {
@at-root {
%zf-close-button--#{$name} {
@include close-button-size($name);
}
}
&.#{$name} {
@extend %zf-close-button--#{$name};
}
}
// Use by default the placeholder of the default size
@extend %zf-close-button--#{$closebutton-default-size};
}
}

@ -0,0 +1,140 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group drilldown
////
/// Transition property to use for animating menus.
/// @type Transition
$drilldown-transition: transform 0.15s linear !default;
/// Adds arrows to drilldown items with submenus, as well as the back button.
/// @type Boolean
$drilldown-arrows: true !default;
/// Sets drilldown menu item padding.
/// @type Number
$drilldown-padding: $global-menu-padding !default;
/// Sets drilldown menu nested margin
/// @type Number
$drilldown-nested-margin: 0 !default;
/// Background color for drilldown top level items.
/// @type Color
$drilldown-background: $white !default;
/// Sets drilldown menu item padding in the submenu.
/// @type Number
$drilldown-submenu-padding: $drilldown-padding !default;
/// Background color for drilldown submenus.
/// @type Color
$drilldown-submenu-background: $white !default;
/// Sets drilldown arrow color if arrow is used.
/// @type Color
$drilldown-arrow-color: $primary-color !default;
/// Sets drilldown arrow size if arrow is used.
/// @type Length
$drilldown-arrow-size: 6px !default;
@mixin zf-drilldown-left-right-arrows {
.is-drilldown-submenu-parent > a {
position: relative;
&::after {
@include css-triangle($drilldown-arrow-size, $drilldown-arrow-color, $global-right);
position: absolute;
top: 50%;
margin-top: -1 * $drilldown-arrow-size;
#{$global-right}: 1rem;
}
}
&.align-left .is-drilldown-submenu-parent > a::after {
@include css-triangle($dropdownmenu-arrow-size, $dropdownmenu-arrow-color, right);
right: 1rem;
left: auto;
}
&.align-right .is-drilldown-submenu-parent > a::after {
@include css-triangle($dropdownmenu-arrow-size, $dropdownmenu-arrow-color, left);
right: auto;
left: 1rem;
}
}
@mixin foundation-drilldown-menu {
// Applied to the Menu container
.is-drilldown {
position: relative;
overflow: hidden;
li {
display: block;
}
&.animate-height {
transition: height 0.5s;
}
}
// The top level <ul>
.drilldown {
a {
padding: $drilldown-padding;
background: $drilldown-background;
}
// Applied to submenu <ul>s
.is-drilldown-submenu {
position: absolute;
top: 0;
#{$global-left}: 100%;
z-index: -1;
width: 100%;
background: $drilldown-submenu-background;
transition: $drilldown-transition;
&.is-active {
z-index: 1;
display: block;
transform: translateX(if($global-text-direction == ltr, -100%, 100%));
}
&.is-closing {
transform: translateX(if($global-text-direction == ltr, 100%, -100%));
}
// Submenu item padding
a {
padding: $drilldown-submenu-padding;
}
}
.nested.is-drilldown-submenu {
@include menu-nested($drilldown-nested-margin);
}
.drilldown-submenu-cover-previous {
min-height: 100%;
}
@if $drilldown-arrows {
@include zf-drilldown-left-right-arrows;
.js-drilldown-back > a::before {
@include css-triangle($drilldown-arrow-size, $drilldown-arrow-color, $global-left);
display: inline-block;
vertical-align: middle;
margin-#{$global-right}: 0.75rem; // Creates space between the arrow and the text
}
}
}
}

@ -0,0 +1,279 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group dropdown-menu
////
/// Enables arrows for items with dropdown menus.
/// @type Boolean
$dropdownmenu-arrows: true !default;
/// Sets dropdown menu arrow color if arrow is used.
/// @type Color
$dropdownmenu-arrow-color: $anchor-color !default;
/// Sets dropdown menu arrow size if arrow is used.
/// @type Length
$dropdownmenu-arrow-size: 6px !default;
/// Sets dropdown menu arrow padding for aligning the arrow correctly.
/// @type Length
$dropdownmenu-arrow-padding: 1.5rem !default;
/// Minimum width of dropdown sub-menus.
/// @type Length
$dropdownmenu-min-width: 200px !default;
/// Background color for top level items.
/// @type Color
$dropdownmenu-background: null !default;
/// Background color for dropdowns.
/// @type Color
$dropdownmenu-submenu-background: $white !default;
/// Padding for top level items.
/// @type Number
$dropdownmenu-padding: $global-menu-padding !default;
/// Sets dropdown menu nested margin
/// @type Number
$dropdownmenu-nested-margin: 0 !default;
/// Padding for sub-menu items.
/// @type Number
$dropdownmenu-submenu-padding: $dropdownmenu-padding !default;
/// Border for dropdown sub-menus.
/// @type List
$dropdownmenu-border: 1px solid $medium-gray !default;
// Border width for dropdown sub-menus.
// Used to adjust top margin of a sub-menu if a border is used.
// @type Length
$dropdownmenu-border-width: nth($dropdownmenu-border, 1);
/// Text color of an active dropdown menu item. Explicit override for menu defaults
/// @type Color
$dropdown-menu-item-color-active: get-color(primary) !default;
/// Background color of an active dropdown menu item. Explicit override for menu defaults
/// @type Color
$dropdown-menu-item-background-active: transparent !default;
@mixin zf-dropdown-left-right-arrows {
> a::after {
#{$global-right}: 14px;
}
&.opens-left > a::after {
@include css-triangle($dropdownmenu-arrow-size, $dropdownmenu-arrow-color, left);
right: auto;
left: 5px;
}
&.opens-right > a::after {
@include css-triangle($dropdownmenu-arrow-size, $dropdownmenu-arrow-color, right);
}
}
@mixin dropdown-menu-direction($dir: horizontal) {
@if $dir == horizontal {
> li.opens-left { // sass-lint:disable-line no-qualifying-elements
> .is-dropdown-submenu {
top: 100%;
right: 0;
left: auto;
}
}
> li.opens-right { // sass-lint:disable-line no-qualifying-elements
> .is-dropdown-submenu {
top: 100%;
right: auto;
left: 0;
}
}
@if $dropdownmenu-arrows {
> li.is-dropdown-submenu-parent > a { // sass-lint:disable-line no-qualifying-elements
position: relative;
padding-#{$global-right}: $dropdownmenu-arrow-padding;
}
> li.is-dropdown-submenu-parent > a::after { // sass-lint:disable-line no-qualifying-elements
@include css-triangle($dropdownmenu-arrow-size, $dropdownmenu-arrow-color, down);
#{$global-right}: 5px;
#{$global-left}: auto;
margin-top: -1 * ($dropdownmenu-arrow-size / 2);
}
}
}
@else if $dir == vertical {
> li {
.is-dropdown-submenu {
top: 0;
}
&.opens-left {
> .is-dropdown-submenu {
top: 0;
right: 100%;
left: auto;
}
}
&.opens-right {
> .is-dropdown-submenu {
right: auto;
left: 100%;
}
}
@if $dropdownmenu-arrows {
@include zf-dropdown-left-right-arrows;
}
}
}
@else {
@warn 'The direction used for dropdown-menu-direction() must be horizontal or vertical.';
}
}
@mixin foundation-dropdown-menu {
.dropdown.menu {
@include dropdown-menu-direction(horizontal);
a {
@include disable-mouse-outline;
}
// Top-level item
> li > a {
background: $dropdownmenu-background;
padding: $dropdownmenu-padding;
}
// Top-level item active state
> li.is-active > a {
background: $dropdown-menu-item-background-active;
color: $dropdown-menu-item-color-active;
}
.no-js & ul {
display: none;
}
.nested.is-dropdown-submenu {
@include menu-nested($dropdownmenu-nested-margin);
}
&.vertical {
@include dropdown-menu-direction(vertical);
}
@each $size in $breakpoint-classes {
@if $size != $-zf-zero-breakpoint {
@include breakpoint($size) {
&.#{$size}-horizontal {
@include dropdown-menu-direction(horizontal);
}
&.#{$size}-vertical {
@include dropdown-menu-direction(vertical);
}
}
}
}
&.align-right {
.is-dropdown-submenu.first-sub {
top: 100%;
right: 0;
left: auto;
}
}
}
.is-dropdown-menu.vertical {
width: 100px;
&.align-right {
float: right;
}
}
.is-dropdown-submenu-parent {
position: relative;
a::after {
position: absolute;
top: 50%;
#{$global-right}: 5px;
#{$global-left}: auto;
margin-top: -1 * $dropdownmenu-arrow-size;
}
&.opens-inner > .is-dropdown-submenu {
top: 100%;
@if $global-text-direction == 'rtl' {
right: auto;
}
@else {
left: auto;
}
}
&.opens-left > .is-dropdown-submenu {
right: 100%;
left: auto;
}
&.opens-right > .is-dropdown-submenu {
right: auto;
left: 100%;
}
}
.is-dropdown-submenu {
position: absolute;
top: 0;
#{$global-left}: 100%;
z-index: 1;
display: none;
min-width: $dropdownmenu-min-width;
border: $dropdownmenu-border;
background: $dropdownmenu-submenu-background;
.dropdown & a {
padding: $dropdownmenu-submenu-padding;
}
.is-dropdown-submenu-parent {
@if $dropdownmenu-arrows {
@include zf-dropdown-left-right-arrows;
}
}
@if (type-of($dropdownmenu-border-width) == 'number') {
.is-dropdown-submenu {
margin-top: (-$dropdownmenu-border-width);
}
}
> li {
width: 100%;
}
// [TODO] Cut back specificity
//&:not(.js-dropdown-nohover) > .is-dropdown-submenu-parent:hover > &, // why is this line needed? Opening is handled by JS and this causes some ugly flickering when the sub is re-positioned automatically...
&.js-dropdown-active {
display: block;
}
}
}

@ -0,0 +1,82 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group dropdown
////
/// Padding for dropdown panes.
/// @type List
$dropdown-padding: 1rem !default;
/// Background for dropdown panes.
/// @type Color
$dropdown-background: $body-background !default;
/// Border for dropdown panes.
/// @type List
$dropdown-border: 1px solid $medium-gray !default;
/// Font size for dropdown panes.
/// @type List
$dropdown-font-size: 1rem !default;
/// Width for dropdown panes.
/// @type Number
$dropdown-width: 300px !default;
/// Border radius dropdown panes.
/// @type Number
$dropdown-radius: $global-radius !default;
/// Sizes for dropdown panes. Each size is a CSS class you can apply.
/// @type Map
$dropdown-sizes: (
tiny: 100px,
small: 200px,
large: 400px,
) !default;
/// Applies styles for a basic dropdown.
@mixin dropdown-container {
position: absolute;
z-index: 10;
display: none;
width: $dropdown-width;
padding: $dropdown-padding;
visibility: hidden;
border: $dropdown-border;
border-radius: $dropdown-radius;
background-color: $dropdown-background;
font-size: $dropdown-font-size;
// Allow an intermittent state to do positioning before making visible.
&.is-opening {
display: block;
}
&.is-open {
display: block;
visibility: visible;
}
}
@mixin foundation-dropdown {
.dropdown-pane {
@include dropdown-container;
}
@each $name, $size in $dropdown-sizes {
.dropdown-pane {
&.#{$name} {
width: $size;
}
}
}
}

@ -0,0 +1 @@
@import 'responsive-embed';

@ -0,0 +1,119 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group Flexbox Utilities
////
//
/// Default value for the count of source ordering`
/// @type Number
$flex-source-ordering-count: 6 !default;
/// Quickly disable/enable Responsive breakpoints for Vanilla Flex Helpers.
/// @type Boolean
$flexbox-responsive-breakpoints: true !default;
@mixin flex-helpers {
.flex-container {
@include flex;
}
.flex-child-auto {
flex: 1 1 auto;
}
.flex-child-grow {
flex: 1 0 auto;
}
.flex-child-shrink {
flex: 0 1 auto;
}
@each $dir, $prop in $-zf-flex-direction {
.flex-dir-#{$dir} {
@include flex-direction($prop);
}
}
@if ($flexbox-responsive-breakpoints) {
// Loop through Responsive Breakpoints
@each $size in $breakpoint-classes {
@include breakpoint($size) {
@if $size != $-zf-zero-breakpoint {
.#{$size}-flex-container {
@include flex;
}
.#{$size}-flex-child-auto {
flex: 1 1 auto;
}
.#{$size}-flex-child-grow {
flex: 1 0 auto;
}
.#{$size}-flex-child-shrink {
flex: 0 1 auto;
}
@each $dir, $prop in $-zf-flex-direction {
.#{$size}-flex-dir-#{$dir} {
@include flex-direction($prop);
}
}
}
}
}
}
}
@mixin foundation-flex-classes {
// Horizontal alignment using justify-content
@each $hdir, $prop in $-zf-flex-justify {
.align-#{$hdir} {
@include flex-align($x: $hdir);
}
}
// Horizontal alignment Specifically for Vertical Menu
@each $hdir, $prop in map-remove($-zf-flex-justify, 'justify', 'spaced') {
.align-#{$hdir} {
&.vertical {
&.menu > li > a {
@include flex-align($x: $hdir);
}
}
}
}
// Vertical alignment using align-items and align-self
@each $vdir, $prop in $-zf-flex-align {
.align-#{$vdir} {
@include flex-align($y: $vdir);
}
.align-self-#{$vdir} {
@include flex-align-self($y: $vdir);
}
}
// Central alignment of content
.align-center-middle {
@include flex-align($x: center, $y: middle);
align-content: center;
}
// Source ordering
@include -zf-each-breakpoint {
@for $i from 1 through $flex-source-ordering-count {
.#{$-zf-size}-order-#{$i} {
@include flex-order($i);
}
}
}
// Vanilla Flexbox Helpers
@include flex-helpers;
}

@ -0,0 +1,27 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group float
////
@mixin foundation-float-classes {
.float-left {
float: left !important;
}
.float-right {
float: right !important;
}
.float-center {
display: block;
margin-right: auto;
margin-left: auto;
}
.clearfix {
@include clearfix;
}
}

@ -0,0 +1,64 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group label
////
/// Default background color for labels.
/// @type Color
$label-background: $primary-color !default;
/// Default text color for labels.
/// @type Color
$label-color: $white !default;
/// Alternate text color for labels.
/// @type Color
$label-color-alt: $black !default;
/// Coloring classes. A map of classes to output in your CSS, like `.secondary`, `.success`, and so on.
/// @type Map
$label-palette: $foundation-palette !default;
/// Default font size for labels.
/// @type Number
$label-font-size: 0.8rem !default;
/// Default padding inside labels.
/// @type Number
$label-padding: 0.33333rem 0.5rem !default;
/// Default radius of labels.
/// @type Number
$label-radius: $global-radius !default;
/// Generates base styles for a label.
@mixin label {
display: inline-block;
padding: $label-padding;
border-radius: $label-radius;
font-size: $label-font-size;
line-height: 1;
white-space: nowrap;
cursor: default;
}
@mixin foundation-label {
.label {
@include label;
background: $label-background;
color: $label-color;
@each $name, $color in $label-palette {
&.#{$name} {
background: $color;
color: color-pick-contrast($color, ($label-color, $label-color-alt));
}
}
}
}

@ -0,0 +1,114 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group media-object
////
/// Bottom margin of a media object.
/// @type Number
$mediaobject-margin-bottom: $global-margin !default;
/// Left and right padding on sections within a media object.
/// @type Number
$mediaobject-section-padding: $global-padding !default;
/// Width of images within a media object, when the object is stacked vertically. Set to 'auto' to use the image's natural width.
/// @type Number
$mediaobject-image-width-stacked: 100% !default;
/// Adds styles for a media object container.
@mixin media-object-container {
display: if($global-flexbox, flex, block);
margin-bottom: $mediaobject-margin-bottom;
@if $global-flexbox {
flex-wrap: nowrap;
}
img {
max-width: none;
}
@if $global-flexbox {
&.stack-for-#{$-zf-zero-breakpoint} {
@include breakpoint($-zf-zero-breakpoint only) {
flex-wrap: wrap;
}
}
}
}
/// Adds styles for sections within a media object.
/// @param {Number} $padding [$mediaobject-section-padding] - Padding between sections.
@mixin media-object-section($padding: $mediaobject-section-padding) {
@if $global-flexbox {
flex: 0 1 auto;
}
@else {
display: table-cell;
vertical-align: top;
}
&:first-child {
padding-#{$global-right}: $padding;
}
&:last-child:not(:nth-child(2)) {
padding-#{$global-left}: $padding;
}
> :last-child {
margin-bottom: 0;
}
.stack-for-#{$-zf-zero-breakpoint} & {
@include breakpoint($-zf-zero-breakpoint only) {
@include media-object-stack;
}
}
@if $global-flexbox {
&.main-section {
flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
}
@else {
&.middle {
vertical-align: middle;
}
&.bottom {
vertical-align: bottom;
}
}
}
/// Adds styles to stack sections of a media object. Apply this to the section elements, not the container.
@mixin media-object-stack {
padding: 0;
padding-bottom: $mediaobject-section-padding;
@if $global-flexbox {
flex-basis: 100%;
max-width: 100%;
}
@else {
display: block;
}
img {
width: $mediaobject-image-width-stacked;
}
}
@mixin foundation-media-object {
.media-object {
@include media-object-container;
}
.media-object-section {
@include media-object-section;
}
}

@ -0,0 +1,9 @@
@mixin foundation-menu-icon {
.menu-icon {
@include hamburger($color: $titlebar-icon-color, $color-hover: $titlebar-icon-color-hover);
}
.menu-icon.dark {
@include hamburger;
}
}

@ -0,0 +1,495 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group menu
////
/// Margin of a menu.
/// @type Number
$menu-margin: 0 !default;
/// Left-hand margin of a nested menu.
/// @type Number
$menu-nested-margin: $global-menu-nested-margin !default;
/// Padding for items in a pill menu.
/// @type Number
$menu-items-padding: $global-menu-padding !default;
/// margin for items in a simple menu.
/// @type Number
$menu-simple-margin: 1rem !default;
/// Text color of an active menu item.
/// @type Color
$menu-item-color-active: $white !default;
/// Alternative text color of an active menu item..
/// @type Color
$menu-item-color-alt-active: $black !default;
/// Background color of an active menu item.
/// @type Color
$menu-item-background-active: get-color(primary) !default;
/// Spacing between an icon and text in a menu item.
/// @type Number
$menu-icon-spacing: 0.25rem !default;
/// Backward compatibility for menu state. If true, this duplicate `active` with `is-active`.
/// But please note that `active` will be removed in upcoming versions.
/// @type Boolean
$menu-state-back-compat: true !default;
/// Backward compatibility for menu centered. If true, this duplicate `.menu-centered > .menu` with `.menu.align-center`.
/// But please note that `menu-centered` will be removed in upcoming versions.
/// @type Boolean
$menu-centered-back-compat: true !default;
/// Backward compatibility for using `icon-*` classes without `.icons` classes
/// But please note that this backward compatibility will be removed in upcoming versions.
/// @type Boolean
$menu-icons-back-compat: true !default;
/// Creates the base styles for a Menu.
@mixin menu-base {
padding: 0;
margin: 0;
list-style: none;
position: relative;
@if $global-flexbox {
display: flex;
flex-wrap: wrap;
}
li {
@include disable-mouse-outline;
}
a,
.button {
line-height: 1;
text-decoration: none;
display: block;
padding: $menu-items-padding;
}
// Reset styles of inner elements
input,
select,
a,
button {
margin-bottom: 0;
}
input {
display: inline-block;
}
}
/// Expands the items of a Menu, so each item is the same width.
@mixin menu-expand {
@if $global-flexbox {
li {
flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
}
@else {
display: table;
width: 100%;
> li {
display: table-cell;
vertical-align: middle;
}
}
}
/// Align menu items.
@mixin menu-align($alignment) {
@if $alignment == left {
@if $global-flexbox {
justify-content: flex-start;
}
@else {
text-align: $global-left;
}
}
@else if $alignment == right {
@if $global-flexbox {
li {
display: flex;
justify-content: flex-end;
.submenu li {
justify-content: flex-start;
}
}
&.vertical li {
display: block;
text-align: $global-right;
.submenu li {
text-align: $global-right;
}
}
}
@else {
text-align: $global-right;
.submenu li {
text-align: $global-left;
}
&.vertical {
.submenu li {
text-align: $global-right;
}
}
}
}
@else if $alignment == center {
@if $global-flexbox {
li {
display: flex;
justify-content: center;
.submenu li {
justify-content: flex-start;
}
}
}
@else {
text-align: center;
.submenu li {
text-align: $global-left;
}
}
}
}
/// Sets the direction of a Menu.
/// @param {Keyword} $dir [horizontal] - Direction of the Menu. Can be `horizontal` or `vertical`.
@mixin menu-direction($dir: horizontal) {
@if $dir == horizontal {
@if $global-flexbox {
flex-wrap: wrap;
flex-direction: row;
}
@else {
li {
display: inline-block;
}
}
}
@else if $dir == vertical {
@if $global-flexbox {
flex-wrap: nowrap;
flex-direction: column;
}
@else {
li {
display: block;
}
}
}
@else {
@warn 'The direction used for menu-direction() must be horizontal or vertical.';
}
}
/// Creates a simple Menu, which has no padding or hover state.
/// @param {Keyword} $dir [$global-left] - Direction of the menu. This effects the side of the `<li>` that receives the margin.
/// @param {Number} $margin [$menu-simple-margin] - The margin to apply to each `<li>`.
@mixin menu-simple($dir: $global-left, $margin: $menu-simple-margin) {
@if $global-flexbox {
align-items: center;
}
li + li {
margin-#{$dir}: $margin;
}
a {
padding: 0;
}
}
/// Adds styles for a nested Menu, by adding `margin-left` to the menu.
/// @param {Keyword|Number} $margin [$menu-nested-margin] - Length of the margin.
/// @param {Keyword} $nested-alignment [left] - Alignment of the nested class
@mixin menu-nested(
$margin: $menu-nested-margin,
$nested-alignment: left
) {
@if $nested-alignment == right {
margin-#{$global-right}: $margin;
margin-#{$global-left}: 0;
}
@else {
margin-#{$global-right}: 0;
margin-#{$global-left}: $margin;
}
}
/// Adds basic styles for icons in menus.
@mixin menu-icons() {
@if $global-flexbox {
a {
display: flex;
}
}
@else {
img,
i,
svg {
vertical-align: middle;
+ span {
vertical-align: middle;
}
}
}
}
/// Adds position classes for icons within a menu.
@mixin menu-icon-position($position: left, $spacing: $menu-icon-spacing) {
@if $position == left {
li a {
@if $global-flexbox {
flex-flow: row nowrap;
}
img,
i,
svg {
margin-#{$global-right}: $spacing;
@if not $global-flexbox {
display: inline-block;
}
}
}
}
@else if $position == right {
li a {
@if $global-flexbox {
flex-flow: row nowrap;
}
img,
i,
svg {
margin-#{$global-left}: $spacing;
@if not $global-flexbox {
display: inline-block;
}
}
}
}
@else if $position == top {
li a {
@if $global-flexbox {
flex-flow: column nowrap;
}
@else {
text-align: center;
}
img,
i,
svg {
@if not $global-flexbox {
display: block;
margin: 0 auto $spacing;
}
@else {
align-self: stretch;
margin-bottom: $spacing;
text-align: center;
}
}
}
}
@else if $position == bottom {
li a {
@if $global-flexbox {
flex-flow: column nowrap;
}
@else {
text-align: center;
}
img,
i,
svg {
@if not $global-flexbox {
display: block;
margin: $spacing auto 0;
}
@else {
align-self: stretch;
margin-bottom: $spacing;
text-align: center;
}
}
}
}
}
@mixin menu-text {
padding: $global-menu-padding;
font-weight: bold;
line-height: 1;
color: inherit;
}
@mixin menu-state-active {
background: $menu-item-background-active;
color: color-pick-contrast($menu-item-background-active, ($menu-item-color-active, $menu-item-color-alt-active));
}
@mixin foundation-menu {
.menu {
@include menu-base;
// Default orientation: horizontal
&, &.horizontal {
@include menu-direction(horizontal);
}
// Vertical orientation modifier
&.vertical {
@include menu-direction(vertical);
}
// Even-width modifier for horizontal orientation
&.expanded {
@include menu-expand;
}
// Simple
&.simple {
@include menu-simple;
}
// Breakpoint specific versions
@include -zf-each-breakpoint($small: false) {
&.#{$-zf-size}-horizontal {
@include menu-direction(horizontal);
}
&.#{$-zf-size}-vertical {
@include menu-direction(vertical);
}
&.#{$-zf-size}-expanded {
@include menu-expand;
}
&.#{$-zf-size}-simple {
@include menu-expand;
}
}
// Nesting
&.nested {
@include menu-nested;
}
// Icon Base Styles
&.icons {
@include menu-icons;
}
// Backward Compatibility for active state
@if $menu-icons-back-compat {
&.icon-top,
&.icon-right,
&.icon-bottom,
&.icon-left {
@include menu-icons;
}
}
// Icon Left
&.icon-left {
@include menu-icon-position(left);
}
// Icon Right
&.icon-right {
@include menu-icon-position(right);
}
// Icon Top
&.icon-top {
@include menu-icon-position(top);
}
// Icon Bottom
&.icon-bottom {
@include menu-icon-position(bottom);
}
// Active state
.is-active > a {
@include menu-state-active;
}
// Backward Compatibility for active state
@if $menu-state-back-compat {
.active > a {
@include menu-state-active;
}
}
// Align left
&.align-#{$global-left} {
@include menu-align(left);
}
// Align right
&.align-#{$global-right} {
@include menu-align(right);
.nested {
@include menu-nested($nested-alignment: right);
}
}
// Align center
&.align-center {
@include menu-align(center);
}
.menu-text {
@include menu-text;
}
}
@if $menu-centered-back-compat {
.menu-centered {
> .menu {
@if $global-flexbox {
justify-content: center;
}
@include menu-align(center);
}
}
}
// Prevent FOUC when using the Responsive Menu plugin
.no-js [data-responsive-menu] ul {
display: none;
}
}

@ -0,0 +1,511 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group off-canvas
////
/// Width map of a left/right off-canvas panel.
/// @type Map
$offcanvas-sizes: (
small: 250px,
) !default;
/// Height map of a top/bottom off-canvas panel.
/// @type Map
$offcanvas-vertical-sizes: (
small: 250px,
) !default;
/// Background color of an off-canvas panel.
/// @type Color
$offcanvas-background: $light-gray !default;
/// Box shadow for the off-canvas overlap panel.
/// @type Shadow
$offcanvas-shadow: 0 0 10px rgba($black, 0.7) !default;
/// Inner box shadow size for the off-canvas push panel.
/// @type Number
$offcanvas-inner-shadow-size: 20px !default;
/// Inner box shadow color for the off-canvas push panel.
/// @type Color
$offcanvas-inner-shadow-color: rgba($black, 0.25) !default;
/// Z-index of an off-canvas content overlay.
/// @type Number
$offcanvas-overlay-zindex: 11 !default;
/// Z-index of an off-canvas panel with the `push` transition.
/// @type Number
$offcanvas-push-zindex: 12 !default;
/// Z-index of an off-canvas panel with the `overlap` transition.
/// @type Number
$offcanvas-overlap-zindex: 13 !default;
/// Z-index of an off-canvas panel using the `reveal-for-*` classes or mixin.
/// @type Number
$offcanvas-reveal-zindex: 12 !default;
/// Length of the animation on an off-canvas panel.
/// @type Number
$offcanvas-transition-length: 0.5s !default;
/// Timing function of the animation on an off-canvas panel.
/// @type Keyword
$offcanvas-transition-timing: ease !default;
/// If `true`, a revealed off-canvas will be fixed-position, and scroll with the screen.
/// @type Bool
$offcanvas-fixed-reveal: true !default;
/// Background color for the overlay that appears when an off-canvas panel is open.
/// @type Color
$offcanvas-exit-background: rgba($white, 0.25) !default;
/// CSS class used for the main content area. The off-canvas mixins use this to target the page content.
$maincontent-class: 'off-canvas-content' !default;
/// Adds baseline styles for off-canvas. This CSS is required to make the other pieces work.
@mixin off-canvas-basics {
/// Transform deprecated size settings into map & show warning
@if variable-exists(offcanvas-size) {
$offcanvas-sizes: (small: $offcanvas-size, medium: $offcanvas-size) !global;
@warn '$offcanvas-size is deprecated and not used anymore! Please update your settings and use the map $offcanvas-sizes instead';
}
@if variable-exists(offcanvas-vertical-size) {
$offcanvas-vertical-sizes: (small: $offcanvas-vertical-size, medium: $offcanvas-vertical-size) !global;
@warn '$offcanvas-vertical-size is deprecated and not used anymore! Please update your settings and use the map $offcanvas-vertical-sizes instead';
}
// Checks the z-indexes and increase them due to backwards compatibility.
// This is necessary because the overlay's z-index is new since v6.4 and may be identical to the user custom settings of the push z-index.
@if $offcanvas-push-zindex <= $offcanvas-overlay-zindex { $offcanvas-push-zindex: $offcanvas-overlay-zindex + 1 !global; }
@if $offcanvas-overlap-zindex <= $offcanvas-push-zindex { $offcanvas-overlap-zindex: $offcanvas-push-zindex + 1 !global; }
@if $offcanvas-reveal-zindex <= $offcanvas-overlay-zindex { $offcanvas-reveal-zindex: $offcanvas-overlay-zindex + 1 !global; }
// Hides overflow on body when an off-canvas panel is open.
.is-off-canvas-open {
overflow: hidden;
}
// Off-canvas overlay (generated by JavaScript)
.js-off-canvas-overlay {
position: absolute;
top: 0;
left: 0;
z-index: $offcanvas-overlay-zindex;
width: 100%;
height: 100%;
transition: opacity $offcanvas-transition-length $offcanvas-transition-timing, visibility $offcanvas-transition-length $offcanvas-transition-timing;
background: $offcanvas-exit-background;
opacity: 0;
visibility: hidden;
overflow: hidden;
&.is-visible {
opacity: 1;
visibility: visible;
}
&.is-closable {
cursor: pointer;
}
&.is-overlay-absolute {
position: absolute;
}
&.is-overlay-fixed {
position: fixed;
}
}
}
// Adds basic styles for an off-canvas wrapper.
@mixin off-canvas-wrapper() {
position: relative;
overflow: hidden;
}
/// Adds basic styles for an off-canvas panel.
@mixin off-canvas-base(
$background: $offcanvas-background,
$transition: $offcanvas-transition-length $offcanvas-transition-timing,
$fixed: true
) {
@include disable-mouse-outline;
@if $fixed == true {
position: fixed;
}
@else {
position: absolute;
}
// Set the off-canvas z-index.
z-index: $offcanvas-push-zindex;
// Increase CSS specificity
&.is-transition-push {
z-index: $offcanvas-push-zindex;
}
transition: transform $transition;
backface-visibility: hidden;
background: $background;
// Hide inactive off-canvas within the content that have the same position
&.is-closed {
visibility: hidden;
}
// Overlap only styles.
&.is-transition-overlap {
z-index: $offcanvas-overlap-zindex;
&.is-open {
box-shadow: $offcanvas-shadow;
}
}
// Sets transform to 0 to show an off-canvas panel.
&.is-open {
transform: translate(0, 0);
}
}
/// Adds styles to position an off-canvas panel to the left/right/top/bottom.
@mixin off-canvas-position(
$position: left,
$orientation: horizontal,
$sizes: if($orientation == horizontal, $offcanvas-sizes, $offcanvas-vertical-sizes)
) {
@if $position == left {
top: 0;
left: 0;
height: 100%;
overflow-y: auto;
@each $name, $size in $sizes {
@include breakpoint($name) {
width: $size;
transform: translateX(-$size);
}
}
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateX(-$size);
}
}
&.is-transition-overlap.is-open {
transform: translate(0, 0);
}
}
// Sets the open position for the content
@at-root .#{$maincontent-class}.is-open-#{$position} {
&.has-transition-push {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateX($size);
}
}
}
}
}
@else if $position == right {
top: 0;
right: 0;
height: 100%;
overflow-y: auto;
@each $name, $size in $sizes {
@include breakpoint($name) {
width: $size;
transform: translateX($size);
}
}
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateX($size);
}
}
&.is-transition-overlap.is-open {
transform: translate(0, 0);
}
}
// Sets the open position for the content
@at-root .#{$maincontent-class}.is-open-#{$position} {
&.has-transition-push {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateX(-$size);
}
}
}
}
}
@else if $position == top {
top: 0;
left: 0;
width: 100%;
overflow-x: auto;
@each $name, $size in $sizes {
@include breakpoint($name) {
height: $size;
transform: translateY(-$size);
}
}
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateY(-$size);
}
}
&.is-transition-overlap.is-open {
transform: translate(0, 0);
}
}
// Sets the open position for the content
@at-root .#{$maincontent-class}.is-open-#{$position} {
&.has-transition-push {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateY($size);
}
}
}
}
}
@else if $position == bottom {
bottom: 0;
left: 0;
width: 100%;
overflow-x: auto;
@each $name, $size in $sizes {
@include breakpoint($name) {
height: $size;
transform: translateY($size);
}
}
// Sets the position for nested off-canvas element
@at-root .#{$maincontent-class} .off-canvas.position-#{$position} {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateY($size);
}
}
&.is-transition-overlap.is-open {
transform: translate(0, 0);
}
}
// Sets the open position for the content
@at-root .#{$maincontent-class}.is-open-#{$position} {
&.has-transition-push {
@each $name, $size in $sizes {
@include breakpoint($name) {
transform: translateY(-$size);
}
}
}
}
}
// If $offcanvas-inner-shadow-size is set, add inner box-shadow.
// This mimics the off-canvas panel having a lower z-index, without having to have one.
@if $offcanvas-inner-shadow-size {
&.is-transition-push {
@if $position == left {
@include inner-side-shadow(right, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
}
@else if $position == right {
@include inner-side-shadow(left, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
}
@else if $position == top {
@include inner-side-shadow(bottom, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
}
@else if $position == bottom {
@include inner-side-shadow(top, $offcanvas-inner-shadow-size, $offcanvas-inner-shadow-color);
}
}
}
}
/// Sets the styles for the content container.
@mixin off-canvas-content() {
transform: none;
backface-visibility: hidden;
// Bind to has-transition-X class to prevent transition for transform:none
&.has-transition-overlap,
&.has-transition-push {
transition: transform $offcanvas-transition-length $offcanvas-transition-timing;
}
// Transform scope until the element is closed (makes sure transitionend gets triggered)
&.has-transition-push {
transform: translate(0, 0);
}
// Consider element & content, nested in another content
.off-canvas.is-open {
transform: translate(0, 0);
}
}
/// Adds styles that reveal an off-canvas panel.
@mixin off-canvas-reveal(
$position: left,
$zindex: $offcanvas-reveal-zindex,
$content: $maincontent-class,
$breakpoint: small
) {
transform: none;
z-index: $zindex;
transition: none;
visibility: visible;
@if not $offcanvas-fixed-reveal {
position: absolute;
}
.close-button {
display: none;
}
// Consider revealed element is nested in content
.#{$maincontent-class} & {
transform: none;
}
@at-root .#{$content}.has-reveal-#{$position} {
margin-#{$position}: -zf-get-bp-val($offcanvas-sizes, $breakpoint);
}
// backwards compatibility (prior to v6.4)
& ~ .#{$content} {
margin-#{$position}: -zf-get-bp-val($offcanvas-sizes, $breakpoint);
}
}
/// Overrides the off-canvas styles
@mixin in-canvas() {
visibility: visible;
height: auto;
position: static;
background: none;
width: auto;
overflow: visible;
transition: none;
// Increase CSS specificity
&.position-left,
&.position-right,
&.position-top,
&.position-bottom {
box-shadow: none;
transform: none;
}
.close-button {
display: none;
}
}
@mixin foundation-off-canvas {
@include off-canvas-basics;
// Off-canvas wrapper
.off-canvas-wrapper {
@include off-canvas-wrapper;
}
// Off-canvas container
.off-canvas {
@include off-canvas-base;
// Force position absolute for nested off-canvas because fixed doesn't work for push transition within the transform scope.
@at-root .#{$maincontent-class} & {
// NOTE: since overlap transition is currently forced if nested, there's no need to force position absolute until nested push transition is supported.
// position: absolute;
}
}
// Off-canvas container with absolute position
.off-canvas-absolute {
@include off-canvas-base($fixed: false);
}
// Off-canvas position classes
.position-left { @include off-canvas-position(left, horizontal); }
.position-right { @include off-canvas-position(right, horizontal); }
.position-top { @include off-canvas-position(top, vertical); }
.position-bottom { @include off-canvas-position(bottom, vertical); }
.off-canvas-content {
@include off-canvas-content;
}
// Reveal off-canvas panel on larger screens
@each $name, $value in $breakpoint-classes {
@if $name != $-zf-zero-breakpoint {
@include breakpoint($name) {
.position-left.reveal-for-#{$name} {
@include off-canvas-reveal(left, $offcanvas-reveal-zindex, $maincontent-class, $name);
}
.position-right.reveal-for-#{$name} {
@include off-canvas-reveal(right, $offcanvas-reveal-zindex, $maincontent-class, $name);
}
.position-top.reveal-for-#{$name} {
@include off-canvas-reveal(top, $offcanvas-reveal-zindex, $maincontent-class, $name);
}
.position-bottom.reveal-for-#{$name} {
@include off-canvas-reveal(bottom, $offcanvas-reveal-zindex, $maincontent-class, $name);
}
}
}
}
// Move in-canvas for larger screens
@each $name, $value in $breakpoint-classes {
@if $name != $-zf-zero-breakpoint {
@include breakpoint($name) {
.off-canvas.in-canvas-for-#{$name} {
@include in-canvas;
}
}
}
}
}

@ -0,0 +1,197 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group orbit
////
/// Default color for Orbit's bullets.
/// @type Color
$orbit-bullet-background: $medium-gray !default;
/// Default active color for Orbit's bullets.
/// @type Color
$orbit-bullet-background-active: $dark-gray !default;
/// Default diameter for Orbit's bullets.
/// @type Number
$orbit-bullet-diameter: 1.2rem !default;
/// Default margin between Orbit's bullets.
/// @type Number
$orbit-bullet-margin: 0.1rem !default;
/// Default distance from slide region for Orbit's bullets.
/// @type Number
$orbit-bullet-margin-top: 0.8rem !default;
/// Default bottom margin from Orbit's bullets to whatever content may lurk below it.
/// @type Number
$orbit-bullet-margin-bottom: 0.8rem !default;
/// Default background color for Orbit's caption.
/// @type Color
$orbit-caption-background: rgba($black, 0.5) !default;
/// Default padding for Orbit's caption.
/// @type Number
$orbit-caption-padding: 1rem !default;
/// Default background color for Orbit's controls when hovered.
/// @type Color
$orbit-control-background-hover: rgba($black, 0.5) !default;
/// Default padding for Orbit's controls.
/// @type Number
$orbit-control-padding: 1rem !default;
/// Default z-index for Orbit's controls.
/// @type Number
$orbit-control-zindex: 10 !default;
/// Adds styles for the outer Orbit wrapper. These styles are used on the `.orbit` class.
@mixin orbit-wrapper {
position: relative;
}
/// Adds styles for the inner Orbit slide container. These styles are used on the `.orbit-container` class.
@mixin orbit-container {
position: relative;
height: 0; // Prevent FOUC by not showing until JS sets height
margin: 0;
list-style: none;
overflow: hidden;
}
/// Adds styles for the individual slides of an Orbit slider. These styles are used on the `.orbit-slide` class.
@mixin orbit-slide {
width: 100%;
position: absolute;
&.no-motionui {
&.is-active {
top: 0;
left: 0;
}
}
}
@mixin orbit-figure {
margin: 0;
}
/// Adds styles for a slide containing an image. These styles are used on the `.orbit-image` class.
@mixin orbit-image {
width: 100%;
max-width: 100%;
margin: 0;
}
/// Adds styles for an orbit slide caption. These styles are used on the `.orbit-caption` class.
@mixin orbit-caption {
position: absolute;
bottom: 0;
width: 100%;
margin-bottom: 0;
padding: $orbit-caption-padding;
background-color: $orbit-caption-background;
color: color-pick-contrast($orbit-caption-background);
}
/// Adds base styles for the next/previous buttons in an Orbit slider. These styles are shared between the `.orbit-next` and `.orbit-previous` classes in the default CSS.
@mixin orbit-control {
@include disable-mouse-outline;
@include vertical-center;
z-index: $orbit-control-zindex;
padding: $orbit-control-padding;
color: $white;
&:hover,
&:active,
&:focus {
background-color: $orbit-control-background-hover;
}
}
/// Adds styles for the Orbit previous button. These styles are used on the `.orbit-previous` class.
@mixin orbit-previous {
#{$global-left}: 0;
}
/// Adds styles for the Orbit next button. These styles are used on the `.orbit-next` class.
@mixin orbit-next {
#{$global-left}: auto;
#{$global-right}: 0;
}
/// Adds styles for a container of Orbit bullets. /// Adds styles for the Orbit previous button. These styles are used on the `.orbit-bullets` class.
@mixin orbit-bullets {
@include disable-mouse-outline;
position: relative;
margin-top: $orbit-bullet-margin-top;
margin-bottom: $orbit-bullet-margin-bottom;
text-align: center;
button {
width: $orbit-bullet-diameter;
height: $orbit-bullet-diameter;
margin: $orbit-bullet-margin;
border-radius: 50%;
background-color: $orbit-bullet-background;
&:hover {
background-color: $orbit-bullet-background-active;
}
&.is-active {
background-color: $orbit-bullet-background-active;
}
}
}
@mixin foundation-orbit {
.orbit {
@include orbit-wrapper;
}
.orbit-container {
@include orbit-container;
}
.orbit-slide {
@include orbit-slide;
}
.orbit-figure {
@include orbit-figure;
}
.orbit-image {
@include orbit-image;
}
.orbit-caption {
@include orbit-caption;
}
%orbit-control {
@include orbit-control;
}
.orbit-previous {
@extend %orbit-control;
@include orbit-previous;
}
.orbit-next {
@extend %orbit-control;
@include orbit-next;
}
.orbit-bullets {
@include orbit-bullets;
}
}

@ -0,0 +1,201 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group pagination
////
/// Font size of pagination items.
/// @type Number
$pagination-font-size: rem-calc(14) !default;
/// Default bottom margin of the pagination object.
/// @type Number
$pagination-margin-bottom: $global-margin !default;
/// Text color of pagination items.
/// @type Color
$pagination-item-color: $black !default;
/// Padding inside of pagination items.
/// @type Number
$pagination-item-padding: rem-calc(3 10) !default;
/// Right margin to separate pagination items.
/// @type Number
$pagination-item-spacing: rem-calc(1) !default;
/// Default radius for pagination items.
/// @type Number
$pagination-radius: $global-radius !default;
/// Background color of pagination items on hover.
/// @type Color
$pagination-item-background-hover: $light-gray !default;
/// Background color of pagination item for the current page.
/// @type Color
$pagination-item-background-current: $primary-color !default;
/// Text color of the pagination item for the current page.
/// @type Color
$pagination-item-color-current: $white !default;
/// Text color of a disabled pagination item.
/// @type Color
$pagination-item-color-disabled: $medium-gray !default;
/// Color of the ellipsis in a pagination menu.
/// @type Color
$pagination-ellipsis-color: $black !default;
/// If `false`, don't display page number links on mobile, only next/previous links
/// and optionally current page number.
/// @type Boolean
$pagination-mobile-items: false !default;
/// If `true`, display the current page number on mobile even if `$pagination-mobile-items` is set to `false`.
/// This parameter will only override the visibility setting of the current item for `$pagination-mobile-items: false;`,
/// it will not affect the current page number visibility when `$pagination-mobile-items` is set to `true`.
/// @type Boolean
$pagination-mobile-current-item: false !default;
/// If `true`, arrows are added to the next and previous links of pagination.
/// @type Boolean
$pagination-arrows: true !default;
/// Content for the previous arrow when `$pagination-arrows` is `true`
/// @type String
$pagination-arrow-previous: '\00AB' !default;
/// Content for the next arrow when `$pagination-arrows` is `true`
/// @type String
$pagination-arrow-next: '\00BB' !default;
/// Adds styles for a pagination container. Apply this to a `<ul>`.
@mixin pagination-container (
$margin-bottom: $pagination-margin-bottom,
$font-size: $pagination-font-size,
$spacing: $pagination-item-spacing,
$radius: $pagination-radius,
$color: $pagination-item-color,
$padding: $pagination-item-padding,
$background-hover: $pagination-item-background-hover
) {
@include clearfix;
margin-#{$global-left}: 0;
margin-bottom: $margin-bottom;
// List item
li {
margin-#{$global-right}: $spacing;
border-radius: $radius;
font-size: $font-size;
@if $pagination-mobile-items {
display: inline-block;
}
@else {
display: none;
&:last-child,
&:first-child {
display: inline-block;
}
@if $pagination-mobile-current-item {
&.current {
display: inline-block;
}
}
@include breakpoint(medium) {
display: inline-block;
}
}
}
// Page links
a,
button {
display: block;
padding: $padding;
border-radius: $radius;
color: $color;
&:hover {
background: $background-hover;
}
}
}
/// Adds styles for the current pagination item. Apply this to an `<a>`.
@mixin pagination-item-current (
$padding: $pagination-item-padding,
$background-current: $pagination-item-background-current,
$color-current: $pagination-item-color-current
) {
padding: $padding;
background: $background-current;
color: $color-current;
cursor: default;
}
/// Adds styles for a disabled pagination item. Apply this to an `<a>`.
@mixin pagination-item-disabled (
$padding: $pagination-item-padding,
$color: $pagination-item-color-disabled
) {
padding: $padding;
color: $color;
cursor: not-allowed;
&:hover {
background: transparent;
}
}
/// Adds styles for an ellipsis for use in a pagination list.
@mixin pagination-ellipsis (
$padding: $pagination-item-padding,
$color: $pagination-ellipsis-color
) {
padding: $padding;
content: '\2026';
color: $color;
}
@mixin foundation-pagination {
.pagination {
@include pagination-container;
.current {
@include pagination-item-current;
}
.disabled {
@include pagination-item-disabled;
}
.ellipsis::after {
@include pagination-ellipsis;
}
}
@if $pagination-arrows {
.pagination-previous a::before,
.pagination-previous.disabled::before {
display: inline-block;
margin-#{$global-right}: 0.5rem;
content: $pagination-arrow-previous;
}
.pagination-next a::after,
.pagination-next.disabled::after {
display: inline-block;
margin-#{$global-left}: 0.5rem;
content: $pagination-arrow-next;
}
}
}

@ -0,0 +1,63 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
/// Adds styles for a progress bar container.
@mixin progress-container {
height: $progress-height;
margin-bottom: $progress-margin-bottom;
border-radius: $progress-radius;
background-color: $progress-background;
}
/// Adds styles for the inner meter of a progress bar.
@mixin progress-meter {
position: relative;
display: block;
width: 0%;
height: 100%;
background-color: $progress-meter-background;
@if has-value($progress-radius) {
border-radius: $global-radius;
}
}
/// Adds styles for text in the progress meter.
@mixin progress-meter-text {
@include absolute-center;
margin: 0;
font-size: 0.75rem;
font-weight: bold;
color: $white;
white-space: nowrap;
@if has-value($progress-radius) {
border-radius: $progress-radius;
}
}
@mixin foundation-progress-bar {
// Progress bar
.progress {
@include progress-container;
@each $name, $color in $foundation-palette {
&.#{$name} {
.progress-meter {
background-color: $color;
}
}
}
}
// Inner meter
.progress-meter {
@include progress-meter;
}
// Inner meter text
.progress-meter-text {
@include progress-meter-text;
}
}

@ -0,0 +1,57 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group responsive-embed
////
/// Margin below a responsive embed container.
/// @type Number
$responsive-embed-margin-bottom: rem-calc(16) !default;
/// Aspect ratios used to determine padding-bottom of responsive embed containers.
/// @type Map
$responsive-embed-ratios: (
default: 4 by 3,
widescreen: 16 by 9,
) !default;
/// Creates a responsive embed container.
/// @param {String|List} $ratio [default] - Ratio of the container. Can be a key from the `$responsive-embed-ratios` map or a list formatted as `x by y`.
@mixin responsive-embed($ratio: default) {
@if type-of($ratio) == 'string' {
$ratio: map-get($responsive-embed-ratios, $ratio);
}
position: relative;
height: 0;
margin-bottom: $responsive-embed-margin-bottom;
padding-bottom: ratio-to-percentage($ratio);
overflow: hidden;
iframe,
object,
embed,
video {
position: absolute;
top: 0;
#{$global-left}: 0;
width: 100%;
height: 100%;
}
}
@mixin foundation-responsive-embed {
.responsive-embed,
.flex-video {
@include responsive-embed($ratio: default);
$ratios: map-remove($responsive-embed-ratios,default);
@each $name, $ratio in $ratios {
&.#{$name} {
padding-bottom: ratio-to-percentage($ratio);
}
}
}
}

@ -0,0 +1,185 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group reveal
////
/// Default background color of a modal.
/// @type Color
$reveal-background: $white !default;
/// Default width of a modal, with no class applied.
/// @type Number
$reveal-width: 600px !default;
/// Default maximum width of a modal.
/// @type Number
$reveal-max-width: $global-width !default;
/// Default padding inside a modal.
/// @type Number
$reveal-padding: $global-padding !default;
/// Default border around a modal.
/// @type Number
$reveal-border: 1px solid $medium-gray !default;
/// Default radius for modal.
/// @type Number
$reveal-radius: $global-radius !default;
/// z-index for modals. The overlay uses this value, while the modal itself uses this value plus one.
/// @type Number
$reveal-zindex: 1005 !default;
/// Background color of modal overlays.
/// @type Color
$reveal-overlay-background: rgba($black, 0.45) !default;
// Placeholder selector for medium-and-up modals
// Prevents duplicate CSS when defining multiple Reveal sizes
// This should be in the same breakpoint then `@mixin reveal-modal-width`
@include breakpoint(medium) {
%reveal-centered {
right: auto;
left: auto;
margin: 0 auto;
}
}
/// Adds styles for a modal overlay.
/// @param {Color} $background [$reveal-overlay-background] - Background color of the overlay.
@mixin reveal-overlay($background: $reveal-overlay-background) {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: $reveal-zindex;
display: none;
background-color: $background;
overflow-y: auto;
}
/// Adds base styles for a modal.
@mixin reveal-modal-base {
@include disable-mouse-outline;
z-index: $reveal-zindex + 1;
// Workaround android browser z-index bug
backface-visibility: hidden;
display: none;
padding: $reveal-padding;
border: $reveal-border;
border-radius: $reveal-radius;
background-color: $reveal-background;
@include breakpoint(medium) {
min-height: 0;
}
// Make sure rows don't have a min-width on them
.column {
min-width: 0;
}
// Strip margins from the last item in the modal
> :last-child {
margin-bottom: 0;
}
}
/// Adjusts the width of a modal.
/// @param {Number} $width - Width of the modal. Generally a percentage.
/// @param {Number} $max-width [$reveal-max-width] - Maximum width of the modal.
@mixin reveal-modal-width(
$width: $reveal-width,
$max-width: $reveal-max-width
) {
// Extends must be made outside of breakpoints for compatibility with newer Sass versions (libsass v3.5)
@extend %reveal-centered;
@include breakpoint(medium) {
width: $width;
max-width: $max-width;
}
}
/// Creates a full-screen modal, which stretches the full width and height of the window.
@mixin reveal-modal-fullscreen {
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
max-width: none;
height: 100%;
min-height: 100%;
margin-left: 0;
border: 0;
border-radius: 0;
}
@mixin foundation-reveal {
/// Disables the scroll when Reveal is shown to prevent the background from shifting
html.is-reveal-open {
position: fixed;
width: 100%;
overflow-y: hidden;
&.zf-has-scroll {
overflow-y: scroll;
}
body { // sass-lint:disable-line no-qualifying-elements
overflow-y: hidden;
}
}
// Overlay
.reveal-overlay {
@include reveal-overlay;
}
// Modal container
.reveal {
@include reveal-modal-base;
@include reveal-modal-width($reveal-width);
position: relative;
top: 100px;
margin-right: auto;
margin-left: auto;
overflow-y: auto;
// Remove padding
&.collapse {
padding: 0;
}
// Sizing classes
&.tiny { @include reveal-modal-width(30%); }
&.small { @include reveal-modal-width(50%); }
&.large { @include reveal-modal-width(90%); }
// Full-screen mode
&.full {
@include reveal-modal-fullscreen;
}
@include breakpoint($-zf-zero-breakpoint only) {
@include reveal-modal-fullscreen;
}
&.without-overlay {
position: fixed;
}
}
}

@ -0,0 +1,137 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
// [TODO] Check how plugin confirms disabled or vertical status
// [TODO] Check if transition: all; is necessary
////
/// @group slider
////
/// Default slider width of a vertical slider. (Doesn't apply to the native slider.)
/// @type Number
$slider-width-vertical: 0.5rem !default;
/// Transition properties to apply to the slider handle and fill. (Doesn't apply to the native slider.)
/// @type Transition
$slider-transition: all 0.2s ease-in-out !default;
/// Adds the general styles for sliders.
@mixin slider-container {
position: relative;
height: $slider-height;
margin-top: 1.25rem;
margin-bottom: 2.25rem;
background-color: $slider-background;
cursor: pointer;
user-select: none;
touch-action: none;
}
/// Adds the general styles for active fill for sliders.
@mixin slider-fill {
position: absolute;
top: 0;
left: 0;
display: inline-block;
max-width: 100%;
height: $slider-height;
background-color: $slider-fill-background;
transition: $slider-transition;
&.is-dragging {
transition: all 0s linear;
}
}
/// Adds the general styles for the slider handles.
@mixin slider-handle {
@include disable-mouse-outline;
@include vertical-center;
left: 0;
z-index: 1;
display: inline-block;
width: $slider-handle-width;
height: $slider-handle-height;
border-radius: $slider-radius;
background-color: $slider-handle-background;
transition: $slider-transition;
touch-action: manipulation;
&:hover {
background-color: scale-color($slider-handle-background, $lightness: -15%);
}
&.is-dragging {
transition: all 0s linear;
}
}
@mixin slider-disabled {
opacity: $slider-opacity-disabled;
cursor: not-allowed;
}
@mixin slider-vertical {
display: inline-block;
width: $slider-width-vertical;
height: 12.5rem;
margin: 0 1.25rem;
transform: scale(1, -1);
.slider-fill {
top: 0;
width: $slider-width-vertical;
max-height: 100%;
}
.slider-handle {
position: absolute;
top: 0;
left: 50%;
width: $slider-handle-height;
height: $slider-handle-width;
transform: translateX(-50%);
}
}
@mixin foundation-slider {
// Container
.slider {
@include slider-container;
}
// Fill area
.slider-fill {
@include slider-fill;
}
// Draggable handle
.slider-handle {
@include slider-handle;
}
// Disabled state
.slider.disabled,
.slider[disabled] {
@include slider-disabled;
}
// Vertical slider
.slider.vertical {
@include slider-vertical;
}
// RTL support
@if $global-text-direction == rtl {
.slider:not(.vertical) {
transform: scale(-1, 1);
}
}
}

@ -0,0 +1,39 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
@mixin foundation-sticky {
.sticky-container {
position: relative;
}
.sticky {
position: relative;
z-index: 0;
transform: translate3d(0, 0, 0);
}
.sticky.is-stuck {
position: fixed;
z-index: 5;
width: 100%;
&.is-at-top {
top: 0;
}
&.is-at-bottom {
bottom: 0;
}
}
.sticky.is-anchored {
position: relative;
right: auto;
left: auto;
&.is-at-bottom {
bottom: 0;
}
}
}

@ -0,0 +1,261 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group switch
////
/// Background color of a switch.
/// @type Color
$switch-background: $medium-gray !default;
/// Background active color of a switch.
/// @type Color
$switch-background-active: $primary-color !default;
/// Height of a switch, with no class applied.
/// @type Number
$switch-height: 2rem !default;
/// Height of a switch with .tiny class.
/// @type Number
$switch-height-tiny: 1.5rem !default;
/// Height of a switch with .small class.
/// @type Number
$switch-height-small: 1.75rem !default;
/// Height of a switch with .large class.
/// @type Number
$switch-height-large: 2.5rem !default;
/// Border radius of the switch
/// @type Number
$switch-radius: $global-radius !default;
/// border around a modal.
/// @type Number
$switch-margin: $global-margin !default;
/// Background color for the switch container and paddle.
/// @type Color
$switch-paddle-background: $white !default;
/// Spacing between a switch paddle and the edge of the body.
/// @type Number
$switch-paddle-offset: 0.25rem !default;
/// border radius of the switch paddle
/// @type Number
$switch-paddle-radius: $global-radius !default;
/// switch transition.
/// @type Number
$switch-paddle-transition: all 0.25s ease-out !default;
/// Opacity of a disabled switch.
/// @type Number
$switch-opacity-disabled: .5 !default;
/// Cursor for a disabled switch.
/// @type Cursor
$switch-cursor-disabled: not-allowed !default;
// make them variables
// ask about accessibility on label
// change class name for text
/// Adds styles for a switch container. Apply this to a container class.
@mixin switch-container {
position: relative;
margin-bottom: $switch-margin;
outline: 0;
// These properties cascade down to the switch text
font-size: rem-calc(14);
font-weight: bold;
color: $white;
user-select: none;
}
/// Adds styles for a switch input. Apply this to an `<input>` within a switch.
@mixin switch-input {
position: absolute;
margin-bottom: 0;
opacity: 0;
}
/// Adds styles for the background and paddle of a switch. Apply this to a `<label>` within a switch.
@mixin switch-paddle {
$switch-width: $switch-height * 2;
$paddle-height: $switch-height - ($switch-paddle-offset * 2);
$paddle-width: $switch-height - ($switch-paddle-offset * 2);
$paddle-active-offest: $switch-width - $paddle-width - $switch-paddle-offset;
position: relative;
display: block;
width: $switch-width;
height: $switch-height;
border-radius: $switch-radius;
background: $switch-background;
transition: $switch-paddle-transition;
// Resetting these <label> presets so type styles cascade down
font-weight: inherit;
color: inherit;
cursor: pointer;
// Needed to override specificity
input + & {
margin: 0;
}
// The paddle itself
&::after {
position: absolute;
top: $switch-paddle-offset;
#{$global-left}: $switch-paddle-offset;
display: block;
width: $paddle-width;
height: $paddle-height;
transform: translate3d(0, 0, 0);
border-radius: $switch-paddle-radius;
background: $switch-paddle-background;
transition: $switch-paddle-transition;
content: '';
}
// Change the visual style when the switch is active
input:checked ~ & {
background: $switch-background-active;
&::after {
#{$global-left}: $paddle-active-offest;
}
}
// indicate a disabled switch
input:disabled ~ & {
cursor: $switch-cursor-disabled;
opacity: $switch-opacity-disabled;
}
input:focus ~ & {
@include disable-mouse-outline;
}
}
/// Adds base styles for active/inactive text inside a switch. Apply this to text elements inside the switch `<label>`.
@mixin switch-text {
position: absolute;
top: 50%;
transform: translateY(-50%);
}
/// Adds styles for the active state text within a switch.
@mixin switch-text-active {
#{$global-left}: 8%;
display: none;
input:checked + label > & {
display: block;
}
}
/// Adds styles for the inactive state text within a switch.
@mixin switch-text-inactive {
#{$global-right}: 15%;
input:checked + label > & {
display: none;
}
}
/// Changes the size of a switch by modifying the size of the body and paddle. Apply this to a switch container.
/// @param {Number} $font-size [1rem] - Font size of label text within the switch.
/// @param {Number} $switch-height [2rem] - Height of the switch body.
/// @param {Number} $paddle-offset [0.25rem] - Spacing between the switch paddle and the edge of the switch body.
@mixin switch-size(
$font-size: 1rem,
$switch-height: 2rem,
$paddle-offset: 0.25rem
) {
$switch-width: $switch-height * 2;
$paddle-width: $switch-height - ($paddle-offset * 2);
$paddle-height: $switch-height - ($paddle-offset * 2);
$paddle-active-offest: $switch-width - $paddle-width - $paddle-offset;
height: $switch-height;
.switch-paddle {
width: $switch-width;
height: $switch-height;
font-size: $font-size;
}
.switch-paddle::after {
top: $paddle-offset;
#{$global-left}: $paddle-offset;
width: $paddle-width;
height: $paddle-height;
}
input:checked ~ .switch-paddle::after {
#{$global-left}: $paddle-active-offest;
}
}
@mixin foundation-switch {
// Container class
.switch {
height: $switch-height;
@include switch-container;
}
// <input> element
.switch-input {
@include switch-input;
}
// <label> element
.switch-paddle {
@include switch-paddle;
}
// Base label text styles
%switch-text {
@include switch-text;
}
// Active label text styles
.switch-active {
@extend %switch-text;
@include switch-text-active;
}
// Inactive label text styles
.switch-inactive {
@extend %switch-text;
@include switch-text-inactive;
}
// Switch sizes
.switch.tiny {
@include switch-size(rem-calc(10), $switch-height-tiny, $switch-paddle-offset);
}
.switch.small {
@include switch-size(rem-calc(12), $switch-height-small, $switch-paddle-offset);
}
.switch.large {
@include switch-size(rem-calc(16), $switch-height-large, $switch-paddle-offset);
}
}

@ -0,0 +1,328 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
// sass-lint:disable no-qualifying-elements
////
/// @group table
////
/// Default color for table background.
/// @type Color
$table-background: $white !default;
/// Default scale for darkening the striped table rows and the table border.
/// @type Number
$table-color-scale: 5% !default;
/// Default style for table border.
/// @type List
$table-border: 1px solid smart-scale($table-background, $table-color-scale) !default;
/// Default padding for table.
/// @type Number
$table-padding: rem-calc(8 10 10) !default;
/// Default scale for darkening the table rows on hover.
/// @type Number
$table-hover-scale: 2% !default;
/// Default color of standard rows on hover.
/// @type List
$table-row-hover: darken($table-background, $table-hover-scale) !default;
/// Default color of striped rows on hover.
/// @type List
$table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale) !default;
/// If `true`, tables are striped by default and an .unstriped class is created. If `false`, a .striped class is created.
/// @type Boolean
$table-is-striped: true !default;
/// Default background color for striped rows.
/// @type Color
$table-striped-background: smart-scale($table-background, $table-color-scale) !default;
/// Default value for showing the stripe on rows of the tables, excluding the header and footer. If even, the even rows will have a background color. If odd, the odd rows will have a background color. If empty, or any other value, the table rows will have no striping.
/// @type Keyword
$table-stripe: even !default;
/// Default color for header background.
/// @type Color
$table-head-background: smart-scale($table-background, $table-color-scale / 2) !default;
/// Default color of header rows on hover.
/// @type List
$table-head-row-hover: darken($table-head-background, $table-hover-scale) !default;
/// Default color for footer background.
/// @type Color
$table-foot-background: smart-scale($table-background, $table-color-scale) !default;
/// Default color of footer rows on hover.
/// @type List
$table-foot-row-hover: darken($table-foot-background, $table-hover-scale) !default;
/// Default font color for header.
/// @type Color
$table-head-font-color: $body-font-color !default;
/// Default font color for footer.
/// @type Color
$table-foot-font-color: $body-font-color !default;
/// Default value for showing the header when using stacked tables.
/// @type Boolean
$show-header-for-stacked: false !default;
/// Breakpoint at which stacked table switches from mobile to desktop view.
/// @type Breakpoint
$table-stack-breakpoint: medium !default;
@mixin -zf-table-stripe($stripe: $table-stripe) {
tr {
// If stripe is set to even, darken the even rows.
@if $stripe == even {
&:nth-child(even) {
border-bottom: 0;
background-color: $table-striped-background;
}
}
// If stripe is set to odd, darken the odd rows.
@else if $stripe == odd {
&:nth-child(odd) {
background-color: $table-striped-background;
}
}
}
}
@mixin -zf-table-unstripe() {
tr {
border-bottom: 0;
border-bottom: $table-border;
background-color: $table-background;
}
}
@mixin -zf-table-children-styles($stripe: $table-stripe, $is-striped: $table-is-striped) {
thead,
tbody,
tfoot {
border: $table-border;
background-color: $table-background;
}
// Caption
caption {
padding: $table-padding;
font-weight: $global-weight-bold;
}
// Table head
thead {
background: $table-head-background;
color: $table-head-font-color;
}
// Table foot
tfoot {
background: $table-foot-background;
color: $table-foot-font-color;
}
// Table head and foot
thead,
tfoot {
// Rows within head and foot
tr {
background: transparent;
}
// Cells within head and foot
th,
td {
padding: $table-padding;
font-weight: $global-weight-bold;
text-align: #{$global-left};
}
}
// Table rows
tbody {
th,
td {
padding: $table-padding;
}
}
// If tables are striped
@if $is-striped == true {
tbody {
@include -zf-table-stripe($stripe);
}
&.unstriped {
tbody {
@include -zf-table-unstripe();
background-color: $table-background;
}
}
}
// If tables are not striped
@else if $is-striped == false {
tbody {
@include -zf-table-unstripe();
}
&.striped {
tbody {
@include -zf-table-stripe($stripe);
}
}
}
}
/// Adds the general styles for tables.
/// @param {Keyword} $stripe [$table-stripe] - Uses keywords even, odd, or none to darken rows of the table. The default value is even.
/// @param {Boolean} $nest [false] - Needed if you only want to apply this to a specific table.
@mixin table(
$stripe: $table-stripe,
$nest: false
) {
border-collapse: collapse;
width: 100%;
margin-bottom: $global-margin;
border-radius: $global-radius;
@if $nest {
@include -zf-table-children-styles($stripe);
}
@else {
@at-root {
@include -zf-table-children-styles($stripe);
}
}
}
/// Adds the ability to horizontally scroll the table when the content overflows horizontally.
@mixin table-scroll {
display: block;
width: 100%;
overflow-x: auto;
}
/// Slightly darkens the table rows on hover.
@mixin table-hover {
thead tr {
//Darkens the table header rows on hover.
&:hover {
background-color: $table-head-row-hover;
}
}
tfoot tr {
//Darkens the table footer rows on hover.
&:hover {
background-color: $table-foot-row-hover;
}
}
tbody tr {
//Darkens the non-striped table rows on hover.
&:hover {
background-color: $table-row-hover;
}
}
@if $table-is-striped == true {
// Darkens the even striped table rows.
@if($table-stripe == even) {
&:not(.unstriped) tr:nth-of-type(even):hover {
background-color: $table-row-stripe-hover;
}
}
// Darkens the odd striped table rows.
@else if($table-stripe == odd) {
&:not(.unstriped) tr:nth-of-type(odd):hover {
background-color: $table-row-stripe-hover;
}
}
}
@else if $table-is-striped == false {
// Darkens the even striped table rows.
@if($table-stripe == even) {
&.striped tr:nth-of-type(even):hover {
background-color: $table-row-stripe-hover;
}
}
// Darkens the odd striped table rows.
@else if($table-stripe == odd) {
&.striped tr:nth-of-type(odd):hover {
background-color: $table-row-stripe-hover;
}
}
}
}
/// Adds styles for a stacked table. Useful for small-screen layouts.
/// @param {Boolean} $header [$show-header-for-stacked] - Show the first th of header when stacked.
@mixin table-stack($header: $show-header-for-stacked) {
@if $header {
thead {
th {
display: block;
}
}
}
@else {
thead {
display: none;
}
}
tfoot {
display: none;
}
tr,
th,
td {
display: block;
}
td {
border-top: 0;
}
}
@mixin foundation-table($nest: false) {
table {
@include table($nest: $nest);
}
table.stack {
@include breakpoint($table-stack-breakpoint down) {
@include table-stack;
}
}
table.scroll {
@include table-scroll;
}
table.hover {
@include table-hover;
}
.table-scroll {
overflow-x: auto;
}
}

@ -0,0 +1,193 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group tabs
////
/// Default margin of the tab bar.
/// @type Number
$tab-margin: 0 !default;
/// Default background color of a tab bar.
/// @type Color
$tab-background: $white !default;
/// Font color of tab item.
/// @type Color
$tab-color: $primary-color !default;
/// Active background color of a tab bar.
/// @type Color
$tab-background-active: $light-gray !default;
/// Active font color of tab item.
/// @type Color
$tab-active-color: $primary-color !default;
/// Font size of tab items.
/// @type Number
$tab-item-font-size: rem-calc(12) !default;
/// Default background color on hover for items in a Menu.
$tab-item-background-hover: $white !default;
/// Default padding of a tab item.
/// @type Number
$tab-item-padding: 1.25rem 1.5rem !default;
/// Default background color of tab content.
/// @type Color
$tab-content-background: $white !default;
/// Default border color of tab content.
/// @type Color
$tab-content-border: $light-gray !default;
/// Default text color of tab content.
/// @type Color
$tab-content-color: $body-font-color !default;
/// Default padding for tab content.
/// @type Number | List
$tab-content-padding: 1rem !default;
/// Adds styles for a tab container. Apply this to a `<ul>`.
@mixin tabs-container (
$margin: $tab-margin,
$background: $tab-background,
$border-color: $tab-content-border
) {
@include clearfix;
margin: $margin;
border: 1px solid $border-color;
background: $background;
list-style-type: none;
}
/// Augments a tab container to have vertical tabs. Use this in conjunction with `tabs-container()`.
@mixin tabs-container-vertical {
> li {
display: block;
float: none;
width: auto;
}
}
/// Adds styles for the links within a tab container. Apply this to the `<li>` elements inside a tab container.
@mixin tabs-title (
$padding: $tab-item-padding,
$font-size: $tab-item-font-size,
$color: $tab-color,
$color-active: $tab-active-color,
$background-hover: $tab-item-background-hover,
$background-active: $tab-background-active
) {
float: #{$global-left};
> a {
@include disable-mouse-outline;
display: block;
padding: $padding;
font-size: $font-size;
line-height: 1;
color: $color;
&:hover {
background: $background-hover;
color: scale-color($color, $lightness: -14%);
}
&:focus,
&[aria-selected='true'] {
background: $background-active;
color: $color-active;
}
}
}
/// Adds styles for the wrapper that surrounds a tab group's content panes.
@mixin tabs-content (
$background: $tab-content-background,
$color: $tab-content-color,
$border-color: $tab-content-border
) {
border: 1px solid $border-color;
border-top: 0;
background: $background;
color: $color;
transition: all 0.5s ease;
}
/// Augments a tab content container to have a vertical style, by shifting the border around. Use this in conjunction with `tabs-content()`.
@mixin tabs-content-vertical (
$border-color: $tab-content-border
) {
border: 1px solid $border-color;
border-#{$global-left}: 0;
}
/// Adds styles for an individual tab content panel within the tab content container.
@mixin tabs-panel (
$padding: $tab-content-padding
) {
display: none;
padding: $padding;
&.is-active {
display: block;
}
}
@mixin foundation-tabs {
.tabs {
@include tabs-container;
}
// Vertical
.tabs.vertical {
@include tabs-container-vertical;
}
// Simple
.tabs.simple {
> li > a {
padding: 0;
&:hover {
background: transparent;
}
}
}
// Primary color
.tabs.primary {
background: $primary-color;
> li > a {
color: color-pick-contrast($primary-color);
&:hover,
&:focus {
background: smart-scale($primary-color);
}
}
}
.tabs-title {
@include tabs-title;
}
.tabs-content {
@include tabs-content;
}
.tabs-content.vertical {
@include tabs-content-vertical;
}
.tabs-panel {
@include tabs-panel;
}
}

@ -0,0 +1,67 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group thumbnail
////
/// Border around thumbnail images.
/// @type Border
$thumbnail-border: 4px solid $white !default;
/// Bottom margin for thumbnail images.
/// @type Length
$thumbnail-margin-bottom: $global-margin !default;
/// Box shadow under thumbnail images.
/// @type Shadow
$thumbnail-shadow: 0 0 0 1px rgba($black, 0.2) !default;
/// Box shadow under thumbnail images.
/// @type Shadow
$thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5) !default;
/// Transition proprties for thumbnail images.
/// @type Transition
$thumbnail-transition: box-shadow 200ms ease-out !default;
/// Default radius for thumbnail images.
/// @type Number
$thumbnail-radius: $global-radius !default;
/// Adds thumbnail styles to an element.
@mixin thumbnail {
display: inline-block;
max-width: 100%;
margin-bottom: $thumbnail-margin-bottom;
border: $thumbnail-border;
border-radius: $thumbnail-radius;
box-shadow: $thumbnail-shadow;
line-height: 0;
}
@mixin thumbnail-link {
transition: $thumbnail-transition;
&:hover,
&:focus {
box-shadow: $thumbnail-shadow-hover;
}
image {
box-shadow: none;
}
}
@mixin foundation-thumbnail {
.thumbnail {
@include thumbnail;
}
a.thumbnail {
@include thumbnail-link;
}
}

@ -0,0 +1,84 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group title-bar
////
/// Background color of a title bar.
/// @type Color
$titlebar-background: $black !default;
/// Color of text inside a title bar.
/// @type Color
$titlebar-color: $white !default;
/// Padding inside a title bar.
/// @type Length
$titlebar-padding: 0.5rem !default;
/// Font weight of text inside a title bar.
/// @type Weight
$titlebar-text-font-weight: bold !default;
/// Color of menu icons inside a title bar.
/// @type Color
$titlebar-icon-color: $white !default;
/// Color of menu icons inside a title bar on hover.
/// @type Color
$titlebar-icon-color-hover: $medium-gray !default;
/// Spacing between the menu icon and text inside a title bar.
/// @type Length
$titlebar-icon-spacing: 0.25rem !default;
@mixin foundation-title-bar {
.title-bar {
padding: $titlebar-padding;
background: $titlebar-background;
color: $titlebar-color;
@if $global-flexbox {
display: flex;
justify-content: flex-start;
align-items: center;
}
@else {
@include clearfix;
}
.menu-icon {
margin-#{$global-left}: $titlebar-icon-spacing;
margin-#{$global-right}: $titlebar-icon-spacing;
}
}
@if $global-flexbox {
.title-bar-left,
.title-bar-right {
flex: 1 1 0px; // sass-lint:disable-line zero-unit
}
.title-bar-right {
text-align: right;
}
}
@else {
.title-bar-left {
float: left;
}
.title-bar-right {
float: right;
text-align: right;
}
}
.title-bar-title {
display: inline-block;
vertical-align: middle;
font-weight: $titlebar-text-font-weight;
}
}

@ -0,0 +1,160 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group tooltip
////
/// Default cursor of the defined term.
/// @type Keyword
$has-tip-cursor: help !default;
/// Default font weight of the defined term.
/// @type Keyword | Number
$has-tip-font-weight: $global-weight-bold !default;
/// Default border bottom of the defined term.
/// @type List
$has-tip-border-bottom: dotted 1px $dark-gray !default;
/// Default color of the tooltip background.
/// @type Color
$tooltip-background-color: $black !default;
/// Default color of the tooltip font.
/// @type Color
$tooltip-color: $white !default;
/// Default padding of the tooltip background.
/// @type Number
$tooltip-padding: 0.75rem !default;
/// Default max width for tooltips.
/// @type Number
$tooltip-max-width: 10rem !default;
/// Default font size of the tooltip text. By default, we recommend a smaller font size than the body copy.
/// @type Number
$tooltip-font-size: $small-font-size !default;
/// Default pip width for tooltips.
/// @type Number
$tooltip-pip-width: 0.75rem !default;
/// Default pip height for tooltips. This is helpful for calculating the distance of the tooltip from the tooltip word.
/// @type Number
$tooltip-pip-height: $tooltip-pip-width * 0.866 !default;
/// Default radius for tooltips.
/// @type Number
$tooltip-radius: $global-radius !default;
@mixin has-tip {
position: relative;
display: inline-block;
border-bottom: $has-tip-border-bottom;
font-weight: $has-tip-font-weight;
cursor: $has-tip-cursor;
}
@mixin tooltip {
position: absolute;
top: calc(100% + #{$tooltip-pip-height});
z-index: 1200;
max-width: $tooltip-max-width;
padding: $tooltip-padding;
border-radius: $tooltip-radius;
background-color: $tooltip-background-color;
font-size: $tooltip-font-size;
color: $tooltip-color;
&::before {
position: absolute;
}
&.bottom {
&::before {
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
bottom: 100%;
}
&.align-center::before {
left: 50%;
transform: translateX(-50%);
}
}
&.top {
&::before {
@include css-triangle($tooltip-pip-width, $tooltip-background-color, down);
top: 100%;
bottom: auto;
}
&.align-center::before {
left: 50%;
transform: translateX(-50%);
}
}
&.left {
&::before {
@include css-triangle($tooltip-pip-width, $tooltip-background-color, right);
left: 100%;
}
&.align-center::before {
bottom: auto;
top: 50%;
transform: translateY(-50%);
}
}
&.right {
&::before {
@include css-triangle($tooltip-pip-width, $tooltip-background-color, left);
right: 100%;
left: auto;
}
&.align-center::before {
bottom: auto;
top: 50%;
transform: translateY(-50%);
}
}
&.align-top::before {
bottom: auto;
top: 10%;
}
&.align-bottom::before {
bottom: 10%;
top: auto;
}
&.align-left::before {
left: 10%;
right: auto;
}
&.align-right::before {
left: auto;
right: 10%;
}
}
@mixin foundation-tooltip {
.has-tip {
@include has-tip;
}
.tooltip {
@include tooltip;
}
}

@ -0,0 +1,175 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group top-bar
////
/// Padding for the top bar.
/// @type Number
$topbar-padding: 0.5rem !default;
/// Background color for the top bar. This color also cascades to menus within the top bar.
/// @type Color
$topbar-background: $light-gray !default;
/// Background color submenus within the top bar. Usefull if $topbar-background is transparent.
/// @type Color
$topbar-submenu-background: $topbar-background !default;
/// Spacing for the top bar title.
/// @type Number
$topbar-title-spacing: 0.5rem 1rem 0.5rem 0 !default;
/// Maximum width of `<input>` elements inside the top bar.
/// @type Number
$topbar-input-width: 200px !default;
/// Breakpoint at which top bar switches from mobile to desktop view.
/// @type Breakpoint
$topbar-unstack-breakpoint: medium !default;
/// Adds styles for a top bar container.
@mixin top-bar-container {
@if $global-flexbox {
display: flex;
flex-wrap: nowrap;
justify-content: space-between;
align-items: center;
}
@else {
@include clearfix;
}
padding: $topbar-padding;
&,
ul {
background-color: $topbar-background;
}
// Check if $topbar-background is differnt from $topbar-background-submenu
@if ($topbar-background != $topbar-submenu-background) {
ul ul {
background-color: $topbar-submenu-background;
}
}
// Restrain width of inputs by default to make them easier to arrange
input {
max-width: $topbar-input-width;
margin-#{$global-right}: 1rem;
}
// The above styles shouldn't apply to input group fields
.input-group-field {
width: 100%;
margin-#{$global-right}: 0;
}
input.button { // sass-lint:disable-line no-qualifying-elements
width: auto;
}
}
/// Makes sections of a top bar stack on top of each other.
@mixin top-bar-stacked {
@if $global-flexbox {
flex-wrap: wrap;
// Sub-sections
.top-bar-left,
.top-bar-right {
flex: 0 0 100%;
max-width: 100%;
}
}
@else {
// Sub-sections
.top-bar-left,
.top-bar-right {
width: 100%;
}
}
}
/// Undoes the CSS applied by the `top-bar-stacked()` mixin.
@mixin top-bar-unstack {
@if $global-flexbox {
flex-wrap: nowrap;
.top-bar-left {
flex: 1 1 auto;
margin-right: auto;
}
.top-bar-right {
flex: 0 1 auto;
margin-left: auto;
}
}
@else {
.top-bar-left,
.top-bar-right {
width: auto;
}
}
}
@mixin foundation-top-bar {
// Top bar container
.top-bar {
@include top-bar-container;
// Stack on small screens by default
@include top-bar-stacked;
@include breakpoint($topbar-unstack-breakpoint) {
@include top-bar-unstack;
}
// Generate classes for stacking on each screen size (defined in $breakpoint-classes)
@each $size in $breakpoint-classes {
@if $size != $-zf-zero-breakpoint {
&.stacked-for-#{$size} {
@include breakpoint($size down) {
@include top-bar-stacked;
}
}
}
}
}
// Sub-sections
@if $global-flexbox {
.top-bar-title {
flex: 0 0 auto;
margin: $topbar-title-spacing;
}
.top-bar-left,
.top-bar-right {
flex: 0 0 auto;
}
}
@else {
.top-bar-title {
display: inline-block;
float: left;
padding: $topbar-title-spacing;
.menu-icon {
bottom: 2px;
}
}
.top-bar-left {
float: left;
}
.top-bar-right {
float: right;
}
}
}

@ -0,0 +1,135 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
/// Hide an element by default, only displaying it above a certain screen size.
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
@mixin show-for($size) {
$size: map-get($breakpoints, $size);
// Max value is 0.2px under the next breakpoint (0.02 / 16 = 0.00125).
// Use a precision under 1px to support browser zoom, but not to low to avoid rounding.
// See https://github.com/zurb/foundation-sites/issues/11313
$size: -zf-bp-to-em($size) - .00125;
@include breakpoint($size down) {
display: none !important;
}
}
/// Hide an element by default, only displaying it within a certain breakpoint.
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
@mixin show-for-only($size) {
$lower-bound-size: map-get($breakpoints, $size);
$upper-bound-size: -zf-map-next($breakpoints, $size);
// more often than not this will be correct, just one time round the loop it won't so set in scope here
$lower-bound: -zf-bp-to-em($lower-bound-size) - .00125;
// test actual lower-bound-size, if 0 set it to 0em
@if strip-unit($lower-bound-size) == 0 {
$lower-bound: -zf-bp-to-em($lower-bound-size);
}
@if $upper-bound-size == null {
@media screen and (max-width: $lower-bound) {
display: none !important;
}
}
@else {
$upper-bound: -zf-bp-to-em($upper-bound-size);
@media screen and (max-width: $lower-bound), screen and (min-width: $upper-bound) {
display: none !important;
}
}
}
/// Show an element by default, and hide it above a certain screen size.
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
@mixin hide-for($size) {
@include breakpoint($size) {
display: none !important;
}
}
/// Show an element by default, and hide it above a certain screen size.
/// @param {Keyword} $size - Breakpoint to use. **Must be a breakpoint defined in `$breakpoints`.**
@mixin hide-for-only($size) {
@include breakpoint($size only) {
display: none !important;
}
}
@mixin foundation-visibility-classes {
// Basic hiding classes
.hide {
display: none !important;
}
.invisible {
visibility: hidden;
}
// Responsive visibility classes
@each $size in $breakpoint-classes {
@if $size != $-zf-zero-breakpoint {
.hide-for-#{$size} {
@include hide-for($size);
}
.show-for-#{$size} {
@include show-for($size);
}
}
.hide-for-#{$size}-only {
@include hide-for-only($size);
}
.show-for-#{$size}-only {
@include show-for-only($size);
}
}
// Screen reader visibility classes
// Need a "hide-for-sr" class? Add aria-hidden='true' to the element
.show-for-sr,
.show-on-focus {
@include element-invisible;
}
// Only display the element when it's focused
.show-on-focus {
&:active,
&:focus {
@include element-invisible-off;
}
}
// Landscape and portrait visibility
.show-for-landscape,
.hide-for-portrait {
display: block !important;
@include breakpoint(landscape) {
display: block !important;
}
@include breakpoint(portrait) {
display: none !important;
}
}
.hide-for-landscape,
.show-for-portrait {
display: none !important;
@include breakpoint(landscape) {
display: none !important;
}
@include breakpoint(portrait) {
display: block !important;
}
}
}

@ -0,0 +1,41 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group forms
////
@mixin foundation-form-checkbox {
[type='file'],
[type='checkbox'],
[type='radio'] {
margin: 0 0 $form-spacing;
}
// Styles for input/label siblings
[type='checkbox'] + label,
[type='radio'] + label {
display: inline-block;
vertical-align: baseline;
margin-#{$global-left}: $form-spacing * 0.5;
margin-#{$global-right}: $form-spacing;
margin-bottom: 0;
&[for] {
cursor: pointer;
}
}
// Styles for inputs inside labels
label > [type='checkbox'],
label > [type='radio'] {
margin-#{$global-right}: $form-spacing * 0.5;
}
// Normalize file input width
[type='file'] {
width: 100%;
}
}

@ -0,0 +1,89 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group abide
////
/// Sets if error styles should be added to inputs.
/// @type Boolean
$abide-inputs: true !default;
/// Sets if error styles should be added to labels.
/// @type Boolean
$abide-labels: true !default;
/// Background color to use for invalid text inputs.
/// @type Color
$input-background-invalid: get-color(alert) !default;
/// Color to use for labels of invalid inputs.
/// @type Color
$form-label-color-invalid: get-color(alert) !default;
/// Default font color for form error text.
/// @type Color
$input-error-color: get-color(alert) !default;
/// Default font size for form error text.
/// @type Number
$input-error-font-size: rem-calc(12) !default;
/// Default font weight for form error text.
/// @type Keyword
$input-error-font-weight: $global-weight-bold !default;
/// Styles the background and border of an input field to have an error state.
///
/// @param {Color} $background [$alert-color] - Color to use for the background and border.
/// @param {Number} $background-lighten [10%] - Lightness level of the background color.
@mixin form-input-error(
$background: $input-background-invalid,
$background-lighten: 10%
) {
&:not(:focus) {
border-color: $background;
background-color: mix($background, $white, $background-lighten);
&::placeholder {
color: $background;
}
}
}
/// Adds error styles to a form element, using the values in the settings file.
@mixin form-error {
display: none;
margin-top: $form-spacing * -0.5;
margin-bottom: $form-spacing;
font-size: $input-error-font-size;
font-weight: $input-error-font-weight;
color: $input-error-color;
}
@mixin foundation-form-error {
@if $abide-inputs {
// Error class for invalid inputs
.is-invalid-input {
@include form-input-error;
}
}
@if $abide-labels {
// Error class for labels of invalid outputs
.is-invalid-label {
color: $form-label-color-invalid;
}
}
// Form error element
.form-error {
@include form-error;
&.is-visible {
display: block;
}
}
}

@ -0,0 +1,53 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group forms
////
/// Default border around custom fieldsets.
/// @type Border
$fieldset-border: 1px solid $medium-gray !default;
/// Default padding inside custom fieldsets.
/// @type Number
$fieldset-padding: rem-calc(20) !default;
/// Default margin around custom fieldsets.
/// @type Number
$fieldset-margin: rem-calc(18 0) !default;
/// Default padding between the legend text and fieldset border.
/// @type Number
$legend-padding: rem-calc(0 3) !default;
@mixin fieldset {
margin: $fieldset-margin;
padding: $fieldset-padding;
border: $fieldset-border;
legend {
// Covers up the fieldset's border to create artificial padding
margin: 0;
margin-#{$global-left}: rem-calc(-3);
padding: $legend-padding;
}
}
@mixin foundation-form-fieldset {
fieldset {
margin: 0;
padding: 0;
border: 0;
}
legend {
max-width: 100%;
margin-bottom: $form-spacing * 0.5;
}
.fieldset {
@include fieldset;
}
}

@ -0,0 +1,34 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group forms
////
/// Global spacing for form elements.
/// @type Number
$form-spacing: rem-calc(16) !default;
@import 'text';
@import 'checkbox';
@import 'label';
@import 'help-text';
@import 'input-group';
@import 'fieldset';
@import 'select';
@import 'range';
@import 'progress';
@import 'meter';
@import 'error';
@mixin foundation-forms {
@include foundation-form-text;
@include foundation-form-checkbox;
@include foundation-form-label;
@include foundation-form-helptext;
@include foundation-form-prepostfix;
@include foundation-form-fieldset;
@include foundation-form-select;
@include foundation-form-error;
}

@ -0,0 +1,30 @@
// Foundation for Sites by ZURB
// foundation.zurb.com
// Licensed under MIT Open Source
////
/// @group forms
////
/// Default color for help text.
/// @type Color
$helptext-color: $black !default;
/// Default font size for help text.
/// @type Number
$helptext-font-size: rem-calc(13) !default;
/// Default font style for help text.
/// @type Keyword
$helptext-font-style: italic !default;
@mixin foundation-form-helptext {
.help-text {
$margin-top: ($form-spacing * 0.5) * -1;
margin-top: $margin-top;
font-size: $helptext-font-size;
font-style: $helptext-font-style;
color: $helptext-color;
}
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save