diff --git a/admin/new.php b/admin/new.php index 69a26539..d0221e74 100644 --- a/admin/new.php +++ b/admin/new.php @@ -268,7 +268,19 @@ if (!empty($surveys)){?> if ($handle = opendir(dirname(__FILE__)."/../include/limesurvey/templates")) { while (false !== ($entry = readdir($handle))) { if ($entry != "." && $entry != ".." && is_dir(dirname(__FILE__)."/../include/limesurvey/templates/" . $entry)){ - echo ""; + $default = ""; + if ($entry == 'skeletonquest') $default = "selected=\"selected\""; + echo ""; + } + } + closedir($handle); + } + if ($handle = opendir(dirname(__FILE__)."/../include/limesurvey/upload/templates")) { + while (false !== ($entry = readdir($handle))) { + if ($entry != "." && $entry != ".." && is_dir(dirname(__FILE__)."/../include/limesurvey/upload/templates/" . $entry)){ + $default = ""; + if ($entry == 'skeletonquest') $default = "selected=\"selected\""; + echo ""; } } closedir($handle); diff --git a/admin/questionnairelist.php b/admin/questionnairelist.php index 18346f59..a869ea5d 100644 --- a/admin/questionnairelist.php +++ b/admin/questionnairelist.php @@ -430,6 +430,16 @@ if (isset($_GET['modify'])) } closedir($handle); } + if ($handle = opendir(dirname(__FILE__)."/../include/limesurvey/upload/templates")) { + while (false !== ($entry = readdir($handle))) { + if ($entry != "." && $entry != ".." && is_dir(dirname(__FILE__)."/../include/limesurvey/upload/templates/" . $entry)){ + echo ""; + } + } + closedir($handle); + } ?> diff --git a/include/limesurvey/admin/scripts/surveysettings.js b/include/limesurvey/admin/scripts/surveysettings.js index 9bb4a05d..84afa485 100644 --- a/include/limesurvey/admin/scripts/surveysettings.js +++ b/include/limesurvey/admin/scripts/surveysettings.js @@ -8,7 +8,7 @@ $(document).ready(function(){ function templatechange() { - standardtemplates=['quexs','basic','bluengrey','business_grey','citronade','clear_logo','default','eirenicon','limespired','mint_idea','sherpa','vallendar']; + standardtemplates=['skeletonquest','quexs','basic','bluengrey','business_grey','citronade','clear_logo','default','eirenicon','limespired','mint_idea','sherpa','vallendar']; if (in_array(this.value,standardtemplates)) { $("#preview").attr('src',standardtemplaterooturl+'/'+this.value+'/preview.png'); diff --git a/include/limesurvey/common_functions.php b/include/limesurvey/common_functions.php index 192a842c..fdbf988c 100644 --- a/include/limesurvey/common_functions.php +++ b/include/limesurvey/common_functions.php @@ -318,7 +318,7 @@ function getqtypelist($SelectedCode = "T", $ReturnType = "selector") */ function isStandardTemplate($sTemplateName) { - return in_array($sTemplateName,array('quexs', + return in_array($sTemplateName,array('skeletonquest','quexs', 'basic', 'bluengrey', 'business_grey', diff --git a/include/limesurvey/templates/skeletonquest/Copyright b/include/limesurvey/templates/skeletonquest/Copyright new file mode 100644 index 00000000..1c2f511c --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/Copyright @@ -0,0 +1,46 @@ +Copyright (C) 2013 Denis Chenu http://www.sondages.pro +SkeletonQuest is distributed under MIT License +SkeletonQuest is distributed under GPL License v3 + +GPL +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 . + +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. + +-------------------------------------------------------------------- + Credits +-------------------------------------------------------------------- + Skeleton V1.1, Copyright 2011, Dave Gamache, http://www.getskeleton.com under open-source MIT license + Inspiration by Spip-dist http://www.spip.net/ , Collectif SPIP distributed under GPL licence + Inspiration by THE CSS NINJA http://cssn.in/ja/023, Ryan Seddon + Inspiration by Bootstrap http://getbootstrap.com/ under Apache License. + Inspiration by jquery mobile http://jquerymobile.com/ under Dual licensed under the MIT or GPL Version 2 licenses. + Tango Icon Project http://tango.freedesktop.org/ distributed under Public Domain diff --git a/include/limesurvey/templates/skeletonquest/Copyright-GPL b/include/limesurvey/templates/skeletonquest/Copyright-GPL new file mode 100644 index 00000000..10926e87 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/Copyright-GPL @@ -0,0 +1,675 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + 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. + + + Copyright (C) + + 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 . + +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: + + Copyright (C) + 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 +. + + 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 +. + diff --git a/include/limesurvey/templates/skeletonquest/Copyright-MIT b/include/limesurvey/templates/skeletonquest/Copyright-MIT new file mode 100644 index 00000000..d9ef2a3b --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/Copyright-MIT @@ -0,0 +1,23 @@ +SkeletonQuest is distributed under MIT License (MIT) + +Copyright (c) 2013 Denis Chenu + +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. + + diff --git a/include/limesurvey/templates/skeletonquest/README b/include/limesurvey/templates/skeletonquest/README new file mode 100644 index 00000000..df6082c7 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/README @@ -0,0 +1,18 @@ +Copyright (C) 2010-2013 Denis Chenu http://www.sondages.pro +SkeletonQuest is distributed under MIT License +SkeletonQuest is distributed under GPL License v3 + +SkeletonQuest 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. + +See Copyright for licence detail + +Copyright (C) 2010-2013 Denis Chenu for http://sondages.pro distributed under GPL 3 licence +Inspiration by Skeleton V1.1, Copyright 2011, Dave Gamache, http://www.getskeleton.com under open-source MIT license +Inspiration by Spip-dist http://www.spip.net/ , Collectif SPIP distributed under GPL licence +Inspiration by THE CSS NINJA http://cssn.in/ja/023, Ryan Seddon +Inspiration by jquery mobile http://jquerymobile.com/ under Dual licensed under the MIT or GPL Version 2 licenses. + +If this template give you satisfaction, please leave a link to http://www.sondages.pro diff --git a/include/limesurvey/templates/skeletonquest/assessment.pstpl b/include/limesurvey/templates/skeletonquest/assessment.pstpl new file mode 100644 index 00000000..a17ff810 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/assessment.pstpl @@ -0,0 +1,4 @@ +
+

{ASSESSMENT_HEADING}

+ {ASSESSMENTS} +
\ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/clearall.pstpl b/include/limesurvey/templates/skeletonquest/clearall.pstpl new file mode 100644 index 00000000..6c4af236 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/clearall.pstpl @@ -0,0 +1,7 @@ +
+
    +
  • {ANSWERSCLEARED}
  • +
  • {RESTART}
  • +
  • {CLOSEWINDOW}
  • +
+
diff --git a/include/limesurvey/templates/skeletonquest/completed.pstpl b/include/limesurvey/templates/skeletonquest/completed.pstpl new file mode 100644 index 00000000..007de100 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/completed.pstpl @@ -0,0 +1,4 @@ +
+

{COMPLETED}

+

{URL}

+
\ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/endgroup.pstpl b/include/limesurvey/templates/skeletonquest/endgroup.pstpl new file mode 100644 index 00000000..4e1c5bbe --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/endgroup.pstpl @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/endpage.pstpl b/include/limesurvey/templates/skeletonquest/endpage.pstpl new file mode 100644 index 00000000..25715711 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/endpage.pstpl @@ -0,0 +1,16 @@ + + + + + diff --git a/include/limesurvey/templates/skeletonquest/error.png b/include/limesurvey/templates/skeletonquest/error.png new file mode 100644 index 00000000..433945d7 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/error.png differ diff --git a/include/limesurvey/templates/skeletonquest/exclamation.png b/include/limesurvey/templates/skeletonquest/exclamation.png new file mode 100644 index 00000000..c37bd062 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/exclamation.png differ diff --git a/include/limesurvey/templates/skeletonquest/favicon.ico b/include/limesurvey/templates/skeletonquest/favicon.ico new file mode 100644 index 00000000..35121b5b Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/favicon.ico differ diff --git a/include/limesurvey/templates/skeletonquest/gpl-3.0.txt b/include/limesurvey/templates/skeletonquest/gpl-3.0.txt new file mode 100644 index 00000000..94a9ed02 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/gpl-3.0.txt @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + 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. + + + Copyright (C) + + 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 . + +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: + + Copyright (C) + 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 +. + + 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 +. diff --git a/include/limesurvey/templates/skeletonquest/groupdescription.pstpl b/include/limesurvey/templates/skeletonquest/groupdescription.pstpl new file mode 100644 index 00000000..7d726519 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/groupdescription.pstpl @@ -0,0 +1 @@ +
{GROUPDESCRIPTION}
diff --git a/include/limesurvey/templates/skeletonquest/handled.css b/include/limesurvey/templates/skeletonquest/handled.css new file mode 100644 index 00000000..c9db995e --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/handled.css @@ -0,0 +1,109 @@ +/* For some "non" media query compatible*/ +.tools input{white-space:normal;padding: 4px 8px;} + +#footer{position:relative} +#content{padding-bottom:0;} +#footer ul#credits li{display:block;width:100%;padding:0;margin:0;} +#footer ul#credits li.first{text-align:center;} +#footer ul#credits li.last{text-align:center;} + +ul.tools{padding:0;width:100%} +.tools input,.tools input,.tools a{word-wrap:break-word;white-space:normal;padding: 8px 8px;display:inline-block;text-overflow : ellipsis;} +#content ul.tools div,#content ul.tools li {display: block;width:100%;margin: 0.1em 0;padding: 0;text-align:center;} + +.question-wrapper:hover,.question-wrapper{margin:1em 0;} + +table.question .answertext .errormandatory { + background-image: none; + padding-left: 0; +} + +table.question{width:96%;} + +table.question input[type="text"],table.question input.text{padding:4px 0;} + + width: 99%; + float: none; + padding: 0.5em 0; + text-align:left; +} +.list-with-comment p.comment textarea +{ + padding:4px 0; +} +.numeric-multi ul li label +,.multiple-short-txt ul li label +{ + text-align:left; + } + + .multinum-slider{display:block;width:98%} + .ui-slider{width:100%;margin:.6em 0 .2em} + .slider_lefttext{display:block;top:0;padding:0;text-align:left} + .slider_righttext{display:block;top:0;padding:0;text-align:right;margin-top:1em} + +.answers-wrapper ul{padding:0} +.answers-wrapper li{padding:0} + .numeric-multi .answers-wrapper ul + , .multiple-short-txt .answers-wrapper ul + , .multiple-opt-comments .answers-wrapper ul + { + display:block; + } + .numeric-multi .answers-wrapper ul li + , .multiple-short-txt .answers-wrapper ul li + , .multiple-opt-comments .answers-wrapper ul li + { + display:block; + } + + .numeric-multi .answers-wrapper ul li label, .numeric-multi .answers-wrapper ul li span + , .multiple-short-txt .answers-wrapper ul li label, .multiple-short-txt .answers-wrapper ul li span + , .multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment + { + display:block; + vertical-align:middle; + width:auto; + padding:0.3em 0 0.7em; + } +.numeric-multi .answers-wrapper ul li label, .numeric-multi .answers-wrapper ul li span +, .multiple-short-txt .answers-wrapper ul li label, .multiple-short-txt .answers-wrapper ul li span +, .multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment + { + display:block; + width:100%; + } +.multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .option label, .multiple-opt-comments .answers-wrapper ul .comment + { + border-width: 0; + padding: 0.3em 0 0; + } +.multiple-opt-comments .answers-wrapper ul .option + { + padding: 0; + } +.multiple-opt-comments .answers-wrapper ul .option label + { + padding: 0.3em 0 0; + } +.multiple-opt-comments .answers-wrapper ul .comment + { + padding: 0 0 0.3em; + } + .multiple-opt-comments .answers-wrapper ul li input:focus + label{ + -moz-box-shadow: inset 0 0; + -webkit-box-shadow: inset 0 0; + box-shadow: inset 0 0; + } +.multiple-opt-comments .answers-wrapper ul li + { + border:1px solid #ccc;border-width: 1px 1px 0;margin-bottom:0; + } +.numeric-multi .answers-wrapper ul li span +, .multiple-short-txt .answers-wrapper ul li span +, .multiple-opt-comments .answers-wrapper ul .comment + { + text-align:center; + } + + input.text,textarea{max-width:96%} diff --git a/include/limesurvey/templates/skeletonquest/help.png b/include/limesurvey/templates/skeletonquest/help.png new file mode 100644 index 00000000..f25fc3fb Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/help.png differ diff --git a/include/limesurvey/templates/skeletonquest/ie_fix_6.css b/include/limesurvey/templates/skeletonquest/ie_fix_6.css new file mode 100644 index 00000000..d640ded4 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/ie_fix_6.css @@ -0,0 +1,4 @@ +/* For versions of IE 6 and older style */ +/* use .ie6 specfic class in template.css */ + + diff --git a/include/limesurvey/templates/skeletonquest/ie_fix_7.css b/include/limesurvey/templates/skeletonquest/ie_fix_7.css new file mode 100644 index 00000000..4421fa02 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/ie_fix_7.css @@ -0,0 +1,3 @@ +/* For versions of IE 7 and older style */ +/* use .ie7 specfic class in template.css */ + diff --git a/include/limesurvey/templates/skeletonquest/ie_fix_8.css b/include/limesurvey/templates/skeletonquest/ie_fix_8.css new file mode 100644 index 00000000..68e7c8c1 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/ie_fix_8.css @@ -0,0 +1,3 @@ +/* For versions of IE 8 and older style */ +/* use .ie8 specfic class in template.css */ + diff --git a/include/limesurvey/templates/skeletonquest/jquery-custom.css b/include/limesurvey/templates/skeletonquest/jquery-custom.css new file mode 100644 index 00000000..5c1f3593 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/jquery-custom.css @@ -0,0 +1,565 @@ +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { display: none; } +.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); } +.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; } +.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; } +.ui-helper-clearfix:after { clear: both; } +.ui-helper-clearfix { zoom: 1; } +.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); } + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { cursor: default !important; } + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; } + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } + + +/*! + * jQuery UI CSS Framework 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/?ctl=themeroller + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Verdana,Arial,sans-serif; font-size: 1.1em; } +.ui-widget .ui-widget { font-size: 1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Verdana,Arial,sans-serif; font-size: 1em; } +.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff 50% 50% repeat-x; color: #222222; } +.ui-widget-content a { color: #222222; } +.ui-widget-header { border: 1px solid #aaaaaa; background: #cccccc 50% 50% repeat-x; color: #222222; font-weight: bold; } +.ui-widget-header a { color: #222222; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d3d3d3; background: #e6e6e6 50% 50% repeat-x; font-weight: normal; color: #555555; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #555555; text-decoration: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #999999; background: #dadada 50% 50% repeat-x; font-weight: normal; color: #212121; } +.ui-state-hover a, .ui-state-hover a:hover { color: #212121; text-decoration: none; } +.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #aaaaaa; background: #ffffff 50% 50% repeat-x; font-weight: normal; color: #212121; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #212121; text-decoration: none; } +.ui-widget :active { outline: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcefa1; background: #fbf9ee 50% 50% repeat-x; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec 50% bottom repeat-x; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #cd0a0a; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { width: 16px; height: 16px; background-image: url(ui-icons_222222_256x240.png); } +.ui-widget-content .ui-icon {background-image: url(ui-icons_222222_256x240.png); } +.ui-widget-header .ui-icon {background-image: url(ui-icons_222222_256x240.png); } +.ui-state-default .ui-icon { background-image: url(ui-icons_888888_256x240.png); } +.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(ui-icons_454545_256x240.png); } +.ui-state-active .ui-icon {background-image: url(ui-icons_454545_256x240.png); } +.ui-state-highlight .ui-icon {background-image: url(ui-icons_2e83ff_256x240.png); } +.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(ui-icons_cd0a0a_256x240.png); } + +/* positioning */ +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-off { background-position: -96px -144px; } +.ui-icon-radio-on { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ + +/* Corner radius */ +.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; -khtml-border-top-left-radius: 4px; border-top-left-radius: 4px; } +.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; -khtml-border-top-right-radius: 4px; border-top-right-radius: 4px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; -khtml-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; } +.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; -khtml-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*! + * jQuery UI Resizable 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Resizable#theming + */ +.ui-resizable { position: relative;} +.ui-resizable-handle { position: absolute;font-size: 0.1px; display: block; } +.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; } +.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; } +.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; } +.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; } +.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; } +.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; } +.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; } +.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; } +.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*! + * jQuery UI Selectable 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Selectable#theming + */ +.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; } +/*! + * jQuery UI Accordion 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Accordion#theming + */ +/* IE/Win - Fix animation bug - #4615 */ +.ui-accordion { width: 100%; } +.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; } +.ui-accordion .ui-accordion-li-fix { display: inline; } +.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; } +.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; } +.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; } +.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; } +.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; } +.ui-accordion .ui-accordion-content-active { display: block; } +/*! + * jQuery UI Autocomplete 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Autocomplete#theming + */ +.ui-autocomplete { position: absolute; cursor: default; } + +/* workarounds */ +* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */ + +/* + * jQuery UI Menu 1.8.21 + * + * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Menu#theming + */ +.ui-menu { + list-style:none; + padding: 2px; + margin: 0; + display:block; + float: left; +} +.ui-menu .ui-menu { + margin-top: -3px; +} +.ui-menu .ui-menu-item { + margin:0; + padding: 0; + zoom: 1; + float: left; + clear: left; + width: 100%; +} +.ui-menu .ui-menu-item a { + text-decoration:none; + display:block; + padding:.2em .4em; + line-height:1.5; + zoom:1; +} +.ui-menu .ui-menu-item a.ui-state-hover, +.ui-menu .ui-menu-item a.ui-state-active { + font-weight: normal; + margin: -1px; +} +/*! + * jQuery UI Button 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Button#theming + */ +.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */ +.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */ +button.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */ +.ui-button-icons-only { width: 3.4em; } +button.ui-button-icons-only { width: 3.7em; } + +/*button text element */ +.ui-button .ui-button-text { display: block; line-height: 1.4; } +.ui-button-text-only .ui-button-text { padding: .4em 1em; } +.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; } +.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; } +.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; } +.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; } +/* no icon support for input elements, provide padding by default */ +input.ui-button { padding: .4em 1em; } + +/*button icon element(s) */ +.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; } +.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; } +.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; } +.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } +.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; } + +/*button sets*/ +.ui-buttonset { margin-right: 7px; } +.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; } + +/* workarounds */ +button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */ +/*! + * jQuery UI Dialog 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Dialog#theming + */ +.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; } +.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; } +.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } +.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; } +.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; } +.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; } +.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; } +.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; } +.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; } +.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; } +.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; } +.ui-draggable .ui-dialog-titlebar { cursor: move; } +/*! + * jQuery UI Slider 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { position: relative; text-align: left; } +.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; } +.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; } + +.ui-slider-horizontal { height: .8em; } +.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; } +.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; } +.ui-slider-horizontal .ui-slider-range-min { left: 0; } +.ui-slider-horizontal .ui-slider-range-max { right: 0; } + +.ui-slider-vertical { width: .8em; height: 100px; } +.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; } +.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; } +.ui-slider-vertical .ui-slider-range-min { bottom: 0; } +.ui-slider-vertical .ui-slider-range-max { top: 0; }/*! + * jQuery UI Tabs 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Tabs#theming + */ +.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */ +.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; } +.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; } +.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; } +.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; } +.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */ +.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; } +.ui-tabs .ui-tabs-hide { display: none !important; } +/*! + * jQuery UI Datepicker 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Datepicker#theming + */ +.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; } +.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; } +.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; } +.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; } +.ui-datepicker .ui-datepicker-prev { left:2px; } +.ui-datepicker .ui-datepicker-next { right:2px; } +.ui-datepicker .ui-datepicker-prev-hover { left:1px; } +.ui-datepicker .ui-datepicker-next-hover { right:1px; } +.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; } +.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; } +.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; } +.ui-datepicker select.ui-datepicker-month-year {width: 100%;} +.ui-datepicker select.ui-datepicker-month, +.ui-datepicker select.ui-datepicker-year { width: 49%;} +.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; } +.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; } +.ui-datepicker td { border: 0; padding: 1px; } +.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; } +.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; } +.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; } +.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; } + +/* with multiple calendars */ +.ui-datepicker.ui-datepicker-multi { width:auto; } +.ui-datepicker-multi .ui-datepicker-group { float:left; } +.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; } +.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; } +.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; } +.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; } +.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; } +.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; } +.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; } + +/* RTL support */ +.ui-datepicker-rtl { direction: rtl; } +.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; } +.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; } +.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; } +.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; } +.ui-datepicker-rtl .ui-datepicker-group { float:right; } +.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; } +.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; } + +/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */ +.ui-datepicker-cover { + display: none; /*sorry for IE5*/ + display/**/: block; /*sorry for IE5*/ + position: absolute; /*must have*/ + z-index: -1; /*must have*/ + filter: mask(); /*must have*/ + top: -4px; /*must have*/ + left: -4px; /*must have*/ + width: 200px; /*must have*/ + height: 200px; /*must have*/ +}/*! + * jQuery UI Progressbar 1.8.21 + * + * Copyright 2012, AUTHORS.txt (http://jqueryui.com/about) + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Progressbar#theming + */ +.ui-progressbar { height:2em; text-align: left; overflow: hidden; } +.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; } diff --git a/include/limesurvey/templates/skeletonquest/jquery-ui.css b/include/limesurvey/templates/skeletonquest/jquery-ui.css new file mode 100644 index 00000000..f50cae0f --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/jquery-ui.css @@ -0,0 +1,171 @@ +/* --------------------------------------------- */ +/* JQUERY ui replace */ +/* --------------------------------------------- */ + +/*** Start jQuery UI Theme Styles ***/ + +button.ui-button::-moz-focus-inner { + border: 0; + padding: 0; /* Get rid of extra padding in focused button in FF */ +} +.ui-corner-all { + -moz-border-radius: 4px; + border-radius:4px; +} +.ui-button { + position: relative; + padding: 0.1em 0 0.1em 0; + cursor: pointer; + font-family: FreeSans,Arial,Helvetica,sans-serif; + font-size: 1.0em; + font-weight: normal; + line-height: normal; +} + +.ui-button-icon-only { width: 2.2em; +} + +button.ui-button-icon-only { + width: 2.4em; /* Button elements seem to need a little more width */ +} + +.ui-button-icons-only { + width: 3.4em; +} + +button.ui-button-icons-only { + width: 3.7em; +} + +/* Button text elements */ +.ui-button-text-only .ui-button-text { + padding: 0 1em; +} + +.ui-button-icon-only .ui-button-text, +.ui-button-icons-only .ui-button-text { + text-indent: -9999999px; +} + +.ui-button-text-icon-primary .ui-button-text { + padding: 0 0.7em 0 1.7em; +} + +.ui-button-text-icon-secondary .ui-button-text { + padding: 0 1.7em 0 0.7em; +} + +.ui-button-text-icons .ui-button-text { + padding: 0 1.7em; +} + +input.ui-button { + padding: 0.1em 1em 0.1em 1em; /* No icon support for input elements, provide padding by default */ +} + +/* Button icon element(s) */ +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + position: absolute; + top: 50%; + margin-top: -8px; +} + +.ui-button-icon-only .ui-icon { + left: 50%; + margin-left: -8px; +} + +.ui-button-text-icon-primary .ui-button-icon-primary, +.ui-button-text-icons .ui-button-icon-primary, +.ui-button-icons-only .ui-button-icon-primary { + left: .4em; +} + +.ui-button-text-icon-secondary .ui-button-icon-secondary, +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .4em; +} + +.ui-button-text-icons .ui-button-icon-secondary, +.ui-button-icons-only .ui-button-icon-secondary { + right: .4em; +} + +/* Button sets*/ +.ui-buttonset { + margin-right: 7px; +} + +.ui-buttonset .ui-button { + margin-left: 0; + margin-right: -.3em; +} + +/* IE6/7 hacks 8 */ + +.ui-button, +input.ui-button { + *padding: 0.1em 0 0.1em 0; +} + +.ui-button-icon-only .ui-icon, +.ui-button-text-icon-primary .ui-icon, +.ui-button-text-icon-secondary .ui-icon, +.ui-button-text-icons .ui-icon, +.ui-button-icons-only .ui-icon { + *margin-top: -9px; +} + +.ui-button-text-icon-primary .ui-button-text { + *padding: 0 0 0 1.0em; +} + +.ui-button-text-icon-secondary .ui-button-text { + *padding: 0 1.2em 0 0; +} + +.ui-button-text-icons .ui-button-text { + *padding: 0 1.0em; +} + +/*** End jQuery UI Theme Styles ***/ + +/* Component containers +----------------------------------*/ +.ui-widget { font-family: Arial, Helvetica, FreeSans, sans-serif; font-size: 1.1em; } +.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial, Helvetica, FreeSans, sans-serif;; font-size: 1em; } +.ui-widget-content { border: 1px solid #161c28; background: #fefefe; color: #000; } +.ui-widget-content a { color: #000; } +.ui-widget-header { border: 1px solid #161c28; background: #5670a1; color: #fefefe; font-weight: bold; } +.ui-widget-header a { color: #fefefe; } + +/* Interaction states +----------------------------------*/ +.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #abb8d1; background: #fefefe; font-weight: normal; color: #5670a1; outline: none; } +.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #5670a1; text-decoration: none; outline: none; } +.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #abb8d1; background: #eff1f6; font-weight: normal; color: #415479; outline: none; } +.ui-state-hover a, .ui-state-hover a:hover { color: #415479; text-decoration: none; outline: none; } +.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #415479; background: #d5dbe7; font-weight: normal; color: #161c28; outline: none; } +.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #161c28; outline: none; text-decoration: none; } + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fcefa1; background: #fefefe; color: #363636; } +.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; } +.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #fef1ec; color: #cd0a0a; } +.ui-state-error a, .ui-widget-content .ui-state-error a { color: #cd0a0a; } +.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #cd0a0a; } +.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; } +.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; } +.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; } + +/* Overlays */ +.ui-widget-overlay { background: #aaaaaa 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); } +.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #aaaaaa 50% 50% repeat-x; opacity: .30;filter:Alpha(Opacity=30); -moz-border-radius: 8px; -webkit-border-radius: 8px; } + +.alert .ui-dialog-titlebar {display:none} diff --git a/include/limesurvey/templates/skeletonquest/jquery.ui.touch-punch.min.js b/include/limesurvey/templates/skeletonquest/jquery.ui.touch-punch.min.js new file mode 100644 index 00000000..33d6f97e --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/jquery.ui.touch-punch.min.js @@ -0,0 +1,11 @@ +/* + * jQuery UI Touch Punch 0.2.2 + * + * Copyright 2011, Dave Furfero + * Dual licensed under the MIT or GPL Version 2 licenses. + * + * Depends: + * jquery.ui.widget.js + * jquery.ui.mouse.js + */ +(function(b){b.support.touch="ontouchend" in document;if(!b.support.touch){return;}var c=b.ui.mouse.prototype,e=c._mouseInit,a;function d(g,h){if(g.originalEvent.touches.length>1){return;}g.preventDefault();var i=g.originalEvent.changedTouches[0],f=document.createEvent("MouseEvents");f.initMouseEvent(h,true,true,window,1,i.screenX,i.screenY,i.clientX,i.clientY,false,false,false,false,0,null);g.target.dispatchEvent(f);}c._touchStart=function(g){var f=this;if(a||!f._mouseCapture(g.originalEvent.changedTouches[0])){return;}a=true;f._touchMoved=false;d(g,"mouseover");d(g,"mousemove");d(g,"mousedown");};c._touchMove=function(f){if(!a){return;}this._touchMoved=true;d(f,"mousemove");};c._touchEnd=function(f){if(!a){return;}d(f,"mouseup");d(f,"mouseout");if(!this._touchMoved){d(f,"click");}a=false;};c._mouseInit=function(){var f=this;f.element.bind("touchstart",b.proxy(f,"_touchStart")).bind("touchmove",b.proxy(f,"_touchMove")).bind("touchend",b.proxy(f,"_touchEnd"));e.call(f);};})(jQuery); \ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/load.pstpl b/include/limesurvey/templates/skeletonquest/load.pstpl new file mode 100644 index 00000000..75195034 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/load.pstpl @@ -0,0 +1,8 @@ +
+

{LOADHEADING}

+
{LOADERROR}
+
{LOADMESSAGE} +
{LOADFORM}
+
+
  • {RETURNTOSURVEY}
+
diff --git a/include/limesurvey/templates/skeletonquest/logo.png b/include/limesurvey/templates/skeletonquest/logo.png new file mode 100644 index 00000000..44983958 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/logo.png differ diff --git a/include/limesurvey/templates/skeletonquest/mandatory.png b/include/limesurvey/templates/skeletonquest/mandatory.png new file mode 100644 index 00000000..81e9ed29 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/mandatory.png differ diff --git a/include/limesurvey/templates/skeletonquest/navigator.pstpl b/include/limesurvey/templates/skeletonquest/navigator.pstpl new file mode 100644 index 00000000..f8c680c3 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/navigator.pstpl @@ -0,0 +1,5 @@ + +
    +
  • {SAVE}
  • +
  • {CLEARALL}
  • +
diff --git a/include/limesurvey/templates/skeletonquest/preview.png b/include/limesurvey/templates/skeletonquest/preview.png new file mode 100644 index 00000000..3cd7e63a Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/preview.png differ diff --git a/include/limesurvey/templates/skeletonquest/print_group.pstpl b/include/limesurvey/templates/skeletonquest/print_group.pstpl new file mode 100644 index 00000000..49207f86 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/print_group.pstpl @@ -0,0 +1,12 @@ + +
+

{GROUPNAME}

+ +
+{GROUPDESCRIPTION} +
+ +{QUESTIONS} + +
+ diff --git a/include/limesurvey/templates/skeletonquest/print_img_checkbox.png b/include/limesurvey/templates/skeletonquest/print_img_checkbox.png new file mode 100644 index 00000000..b692b2d9 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/print_img_checkbox.png differ diff --git a/include/limesurvey/templates/skeletonquest/print_img_radio.png b/include/limesurvey/templates/skeletonquest/print_img_radio.png new file mode 100644 index 00000000..2e493dcf Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/print_img_radio.png differ diff --git a/include/limesurvey/templates/skeletonquest/print_question.pstpl b/include/limesurvey/templates/skeletonquest/print_question.pstpl new file mode 100644 index 00000000..0e54a158 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/print_question.pstpl @@ -0,0 +1,17 @@ + +
+
+

{QUESTION_NUMBER} [{QUESTION_CODE}]{QUESTION_TEXT} {QUESTION_MANDATORY}

+

{QUESTION_SCENARIO}

+

{QUESTION_TYPE_HELP}

+

{QUESTION_MAN_MESSAGE}

+

{QUESTION_VALID_MESSAGE}

+
+
+{ANSWER} +
+
+{QUESTIONHELP} +
+
+ diff --git a/include/limesurvey/templates/skeletonquest/print_survey.pstpl b/include/limesurvey/templates/skeletonquest/print_survey.pstpl new file mode 100644 index 00000000..6026353a --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/print_survey.pstpl @@ -0,0 +1,31 @@ + + + + {SITENAME} - {SURVEYNAME} +{HEADELEMENTS} + + + + +
+ {SURVEYNAME} + +
{SURVEYDESCRIPTION}
+ +
{WELCOME}
+ +

{THEREAREXQUESTIONS}

+{GROUPS} +{PRIVACY} +

+ {END}
+ {SUBMIT_BY}
+ {FAX_TO}
+ {SUBMIT_TEXT}
+ {THANKS}
+

+
+ + + diff --git a/include/limesurvey/templates/skeletonquest/print_template.css b/include/limesurvey/templates/skeletonquest/print_template.css new file mode 100644 index 00000000..4b6fb33b --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/print_template.css @@ -0,0 +1,282 @@ +body +{ + font-family: arial, helvetica, sans-serif; + font-size: 12px; +} + +h1,h2,h3,h4 +{ + font-family: verdana, arial, helvetica, sans-serif; +} + +h2 +{ + margin-top: 2em; +} + +h3 +{ + margin-top: 0%; +} + +* +{ + page-break-after: auto; +} +p.q-type-help +{ + margin-bottom: 0.5em; +} + +div.q-help +{ + margin-top: 1.5em; + margin-bottom: 0%; +} + +div.q-answer +{ + font-size: 110%; +} +div.q-answer ul +{ + margin-left: 0%; + padding-left: 0.2em; +} +div.q-answer ul li +{ + list-style-type:none; + line-height: 1.9em; + margin-left: 0%; + padding-left: 0%; +} + +div.survey-group +{ + page-break-after: always; +} + div.boilerplate +,div.choice-5-pt-radio +,div.date +,div.list-radio-flexible +,div.list-radio +,div.list-dropdown-flexible +,div.list-dropdown +,div.list-with-comment +,div.ranking +,div.multiple-opt +,div.language +,div.multiple-opt-comments +,div.multiple-short-txt +,div.numeric-multi +,div.numeric +,div.text-short +,div.text-long +,div.text-huge +,div.yes-no +,div.gender +,div.array-5-pt +,div.array-10-pt +,div.array-yes-uncertain-no +,div.array-increase-same-decrease +,div.array-flexible-row +,div.array-flexible-column +,div.array-multi-flexi +,div.array-multi-flexi-text +,div.array-flexible-duel-scale +{ + border: 0.1em solid #aaa; + padding: 1em; + margin: 1em 0.5em; + clear: both; + page-break-inside: avoid; + page-break-before: auto; +} + +.breakbefore { + page-break-before:always !important; +} + +.other +{ +} + + .question ul +,.question ul li +{ + margin-left: 0%; + padding-left: 0%; + list-style: none; +} +.question ul li { margin-bottom: 0.5em; } + img.input-radio +,img.input-checkbox +{ + position: relative; + top: 1px; + margin-right: 0.5em; +} + + div.input-other +,div.input-othercomment +,div.input-rank +,div.input-text +,div.input-textarea +{ + border: 0.1em solid #666666; +} + +li.other +{ + margin-top: 0.3em; +} +div.input-other +,div.input-othercomment +{ + width: 20em; + height: 2em; + display:inline-block; + +} + +.multiple-opt div.input-other +{ + padding-left: 5.5em; +} + +.multiple-opt-comments div.other-replacettext +{ + display:table-cell; +} + +.multiple-opt-comments div.input-other { + width: 10em; + display:inline-block; + margin-left:5px; +} + +.multiple-opt-comments div.input-othercomment { + width: 24em; + display:table-cell; +} + +div.other-replacetext +{ + white-space:nowrap; +} +.ranking .q-answer li +{ + padding-left: 4em; + line-height: 2em; +} +.ranking li div.input-rank +{ + margin: 0% 0% -1.8em -4em; + width: 3em; + height: 2em; +} + + .multiple-opt-comments .q-answer li +,.multiple-short-txt .q-answer li +,.numeric-multi .q-answer li +{ + line-height: 2em; +} + +.multiple-opt-comments div.input-text, +.multiple-short-txt div.input-text, +.numeric-multi div.input-text { + display: table-cell; + +} + + +.multiple-opt-comments .q-answer ul li span, +.multiple-short-txt .q-answer ul li span, +.numeric-multi .q-answer ul li span +{ + display:table-cell; + padding-right:5px; + +} + + +.multiple-opt-comments .q-answer ul li , +.multiple-short-txt .q-answer ul li , +.numeric-multi .q-answer ul li { + display:table-row; +} + +.multiple-opt-comments .q-answer ul , +.multiple-short-txt .q-answer ul , +.numeric-multi .q-answer ul { + display:table; + border-spacing: 3px; +} + + #limesurvey .q-answer table thead th +,#limesurvey .q-answer table .repeat th +{ + text-align: center; + vertical-align: bottom; + font-weight: normal; + padding: 0% 1em; +} +#limesurvey .q-answer table tbody td +{ + text-align: center; +} +#limesurvey .q-answer table tbody td img +{ + margin: 0%; +} + #limesurvey .q-answer table tbody th.answertext +,#limesurvey .q-answer table tbody th.arraycaptionleft +{ + text-align: left; + font-weight: normal; +} + +/* +div.array-5-pt .q-answer table thead th +,div.array-10-pt table thead th +,div.array-yes-uncertain-no .q-answer table thead th +,div.array-increase-same-decrease .q-answer table thead th +,div.array-flexible-row .q-answer table thead th +,div.array-flexible-column .q-answer table thead th +,div.array-multi-flexi .q-answer table thead th +,div.array-multi-flexi-text .q-answer table thead th +,div.array-flexible-duel-scale .q-answer table thead th +*/ +div.array-multi-flexi .q-answer table tbody td div.input-text +{ + margin-left: auto; + margin-right: auto; +} + + +.array-flexible-column tbody th.arraycaptionleft +{ + padding-right: 1em; +} +#limesurvey .q-answer table tbody th.answertextright +{ + text-align: left; + font-weight: normal; +} +/* +.array-increase-same-decrease {} +.array-flexible-row {} +.array-flexible-column {} +.slider {} +.array-multi-flexi {} +.array-flexible-duel-scale {} +*/ +.array-flexible-column col.odd +,.array-flexible-column th.odd +{ + background-color: #0c1c2b; + padding: 0% 0.3em; +} + + diff --git a/include/limesurvey/templates/skeletonquest/printanswers.pstpl b/include/limesurvey/templates/skeletonquest/printanswers.pstpl new file mode 100644 index 00000000..ee35c088 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/printanswers.pstpl @@ -0,0 +1 @@ +{ANSWERTABLE} \ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/privacy.pstpl b/include/limesurvey/templates/skeletonquest/privacy.pstpl new file mode 100644 index 00000000..2e49b635 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/privacy.pstpl @@ -0,0 +1 @@ +
{PRIVACYMESSAGE}
diff --git a/include/limesurvey/templates/skeletonquest/question.pstpl b/include/limesurvey/templates/skeletonquest/question.pstpl new file mode 100644 index 00000000..816e2325 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/question.pstpl @@ -0,0 +1,14 @@ +
+
+ {QUESTION_MANDATORY}{QUESTION_NUMBER} {QUESTION_CODE} {QUESTION_TEXT} +
+
+
{QUESTION_MAN_MESSAGE}
+ {QUESTION_VALID_MESSAGE} +
{QUESTION_HELP}
+
+
+ {ANSWER} +
+
{QUESTIONHELP}
+
diff --git a/include/limesurvey/templates/skeletonquest/register.pstpl b/include/limesurvey/templates/skeletonquest/register.pstpl new file mode 100644 index 00000000..a5ace15b --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/register.pstpl @@ -0,0 +1,6 @@ +
+{REGISTERERROR} +

{REGISTERMESSAGE1}

+

{REGISTERMESSAGE2}

+
{REGISTERFORM}
+
\ No newline at end of file diff --git a/include/limesurvey/templates/skeletonquest/save.pstpl b/include/limesurvey/templates/skeletonquest/save.pstpl new file mode 100644 index 00000000..39a0a74e --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/save.pstpl @@ -0,0 +1,8 @@ +
+

{SAVEHEADING}

+{SAVEERROR} +
{SAVEMESSAGE} +
{SAVEFORM}
+
+

{RETURNTOSURVEY}

+
diff --git a/include/limesurvey/templates/skeletonquest/sortable-question.js b/include/limesurvey/templates/skeletonquest/sortable-question.js new file mode 100644 index 00000000..bc49a61b --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/sortable-question.js @@ -0,0 +1,274 @@ +$(document).ready(function(){ + $(".question-wrapper.ranking").each(function(){ + if (!$(this).hasClass('dragDropRanking')){ + qnum =$(this).attr('id').substring(8); + dragDropRank(qnum) + } + }); +}) + +function dragDropRank(qID, choiceText, rankText) { + + if(!choiceText) { + choiceText = $('#question'+qID+' td.label label').text(); + } + if(!rankText) { + rankText = $('#question'+qID+' td.output tr:first td:eq(1) strong').text(); + } + // Find the number of LimeSurvey ranking inputs ("Maximum answers") + var maxAnswer = $('#question'+qID+' td.output input.text').length; + alerttxt=$("#question"+qID+" .em_num_answers").text(); + //Add a class to the question + $('#question'+qID+'').addClass('dragDropRanking'); + + // Hide the original question in LimeSurvey (so that we can replace with drag and drop) + $('#question'+qID+' .rank').hide(); + + // Turn off display of question (to override error checking built into LimeSurvey ranking question) + //$('#display'+qID).val('off'); + + // Add connected sortables elements to the question + var htmlCode = ' \ + \ + \ + \ + \ + \ + \ +
\ + '+choiceText+'
\ +
\ +
    \ +
  • Choices
  • \ +
\ +
\ +
\ + '+rankText+'
\ +
\ +
    \ +
  1. Ranks
  2. \ +
\ +
\ +
'; + + $(htmlCode).insertAfter('#question'+qID+' table.rank'); + + // Remove placeholder list items (have to have one item so that LimeSurvey doesn"t remove the
    ) + $('#sortable1'+qID+' li, #sortable2'+qID+' li').remove(); + + // Load any previously-set values + loadDragDropRank(qID); + + + // Set up the connected sortable + $('#sortable1'+qID+', #sortable2'+qID+'').sortable({ + connectWith: '.connectedSortable'+qID+'', + placeholder: 'ui-sortable-placeholder', + helper: 'clone', + revert: 50, + receive: function(event, ui) { + if($('#sortable2'+qID+' li').length > maxAnswer) { + alert(alerttxt); + $(ui.sender).sortable('cancel'); + } + }, + stop: function(event, ui) { + $('#sortable1'+qID+'').sortable('refresh'); + $('#sortable2'+qID+'').sortable('refresh'); + updateDragDropRank(qID); + } + }).disableSelection(); + // Get the list of choices from the LimeSurvey question and copy them as items into the sortable choices list + $('#CHOICES_' + qID).children().each(function(index, Element) { + var liCode = '
  • ' + this.text + '
  • ' + $(liCode).appendTo('#sortable1'+qID+''); + }); + $('#sortable1'+qID+', #sortable2'+qID+'').css('min-height',$('#sortable1'+qID).height()+'px'); + + // Allow users to double click to move to selections from list to list + $('#sortable1'+qID+' li').live('dblclick doubletap', function() { + if($('#sortable2'+qID+' li').length == maxAnswer) { + alert(alerttxt); + return false; + } + else { + $(this).appendTo('#sortable2'+qID+''); + $('#sortable1'+qID+'').sortable('refresh'); + $('#sortable2'+qID+'').sortable('refresh'); + updateDragDropRank(qID); + } + }); + $('#sortable2'+qID+' li').live('dblclick doubletap', function() { + $(this).appendTo('#sortable1'+qID+''); + $('#sortable2'+qID+'').sortable('refresh'); + $('#sortable1'+qID+'').sortable('refresh'); + updateDragDropRank(qID); + }); +} + +// This function copies the drag and drop sortable data into the LimeSurvey ranking list. +function updateDragDropRank(qID) +{ + // Reload the LimeSurvey choices select element + var rankees = []; + + $('#sortable2'+qID+' li').each(function(index) { + $(this).attr('value', index+1); + // Get value of ranked item + var liID = $(this).attr("id"); + liIDArray = liID.split('_'); + // Save to an array + rankees[rankees.length] = { "r_name":$(this).text(),"r_value":liIDArray[1] }; + }); + $('#question'+qID+' input[name^="RANK_"]').each(function(index) { + if (rankees.length > index) { + $(this).val(rankees[index].r_name); + //alert (rankees[index].r_value); + $(this).next('input').attr('value', rankees[index].r_value); + } else { + $(this).val(''); + $(this).next().val(''); + } + }); + + // Reload the LimeSurvey choices select element (we need this for "Minimum answers" code) + $('#question'+qID+' td.label select option').remove(); + $('#sortable1'+qID+' li').each(function(index) { + var liText = $(this).text(); + var liID = $(this).attr('id'); + liIDArray = liID.split('_'); + var optionCode = ''; + $(optionCode).appendTo('#question'+qID+' td.label select'); + }); + // Hack for IE6 + if ($.browser.msie && $.browser.version.substr(0,1)<7) { + $('#question'+qID+' select').show(); + $('#question'+qID+' select').hide(); + } +// Call change function + $('#question'+qID+' input').each(function(index) { + checkconditions($(this).val(), $(this).attr('name')) +// $(this).trigger('change'); + }); + +} + +// This function is called on page load to see if there are any items already ranked (from a previous visit +// or cached due to a page change. If so, the already-ranked items are loaded into the sortable list +function loadDragDropRank(qID) +{ + var rankees = []; + + // Loop through each item in the built-in LimeSurvey ranking list looking for non-empty values + $('#question'+qID+' input[name^="RANK_"]').each(function(index) { + // Check to see if the current item has a value + if ($(this).val()) { + // Item has a value - save to the array + // Use this element to contain the name and the next for the value (numeric) + rankees[rankees.length] = { "r_name":$(this).val(),"r_value":$(this).next().val() }; + } + }); + + // Now that we have a list of all the pre-ranked items, populate the sortable list + // Note that the items *won"t* appear in the main list because LimeSurvey has removed them. + $.each(rankees, function(index, value) { + // Create the items in the sortable + var liCode = '
  • ' + value.r_name + '
  • '; + $(liCode).appendTo('#sortable2'+qID+''); + + }); +} + +function dragDropRankImages(qID, choiceText, rankText) { + if(!choiceText) { + choiceText = $('#question'+qID+' td.label label').text(); + } + if(!rankText) { + rankText = $('#question'+qID+' td.output tr:first td:eq(1) strong').text(); + } + dragDropRank(qID, choiceText, rankText); + $('.connectedSortable'+qID+' li').each(function(i) { + // Remove any text in the sortable choice or rank items + $(this).text(''); + // Move the images into the appropriate sortable list item + var liID = $(this).attr('id'); + liIDArray = liID.split('_'); + $('#question'+qID+' img#'+liIDArray[1]+'').appendTo(this); + }); + $('#sortable1'+qID+', #sortable2'+qID+'').css('min-height',$('#sortable1'+qID).height()+'px'); +} +function dragDropRankAddImages(qID, choiceText, rankText) { + if(!choiceText) { + choiceText = $('#question'+qID+' td.label label').text(); + } + if(!rankText) { + rankText = $('#question'+qID+' td.output tr:first td:eq(1) strong').text(); + } + dragDropRank(qID, choiceText, rankText); + $('.connectedSortable'+qID+' li').each(function(i) { + // Remove any text in the sortable choice or rank items + $(this).html(''+$(this).text()+''); + // Move the images into the appropriate sortable list item + var liID = $(this).attr('id'); + var imgContainer = $(this).find(".img-sortable"); + liIDArray = liID.split('_'); + $('#question'+qID+' img#'+liIDArray[1]+'').appendTo(imgContainer); + }); + $('#sortable1'+qID+', #sortable2'+qID+'').css('min-height',$('#sortable1'+qID).height()+'px'); +} + +//based on blog post that I saw here: http://www.sanraul.com/2010/08/01/implementing-doubletap-on-iphones-and-ipads/ +(function($){ + $.fn.doubletap = function(fn) { + return fn ? this.bind('doubletap', fn) : this.trigger('doubletap'); + }; + + $.attrFn.doubletap = true; + + $.event.special.doubletap = { + setup: function(data, namespaces){ + $(this).bind('touchend', $.event.special.doubletap.handler); + }, + + teardown: function(namespaces){ + $(this).unbind('touchend', $.event.special.doubletap.handler); + }, + + handler: function(event){ + var action; + + clearTimeout(action); + + var now = new Date().getTime(); + //the first time this will make delta a negative number + var lastTouch = $(this).data('lastTouch') || now + 1; + var delta = now - lastTouch; + var delay = delay == null? 500 : delay; + + if(delta < delay && delta > 0){ + // After we detct a doubletap, start over + $(this).data('lastTouch', null); + + // set event type to 'doubletap' + event.type = 'doubletap'; + + // let jQuery handle the triggering of "doubletap" event handlers + $.event.handle.apply(this, arguments); + }else{ + $(this).data('lastTouch', now); + + action = setTimeout(function(evt){ + // set event type to 'doubletap' + event.type = 'tap'; + + // let jQuery handle the triggering of "doubletap" event handlers + $.event.handle.apply(this, arguments); + + clearTimeout(action); // clear the timeout + }, delay, [event]); + } + } + }; +})(jQuery); + + diff --git a/include/limesurvey/templates/skeletonquest/sortable.css b/include/limesurvey/templates/skeletonquest/sortable.css new file mode 100644 index 00000000..25877b95 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/sortable.css @@ -0,0 +1,116 @@ +/* Drag-n-drop ranking styles */ + +.dragDropTable { + border: 0 none; + border-collapse: collapse; + width: 100%; +} + +.dragDropTable td { + vertical-align: top; + width: 50%; + padding-right: 20px; +} + +.dragDropTable .dragDropHeader { + font-weight: bold; +} + +.dragDropTable .dragDropChoices, +.dragDropTable .dragDropRanks { + margin: 5px 0 0 0; + background: transparent none; + border: 0 none; +} + +.dragDropTable .dragDropChoiceList, +.dragDropTable .dragDropRankList { + float: left; + width: 100%; + min-height: 2.4em; + _height: 2.4em; /* IE6 and below hack */ + margin: 0; + padding: 0; + list-style-type: none; + background: #FBFBFB none; + border: 1px solid #CCCCCC; +} + +.dragDropTable .dragDropChoiceList li, +.dragDropTable .dragDropRankList li { + margin: 3px; + *margin-left: -13px; /* IE7 and below */ + padding: 3px; + min-height: 1.3em; + _height: 1.3em; /* IE6 and below hack */ + font-weight: normal; + cursor: move; + display: block; /* Force the li to full width */ +} +.dragDropTable .dragDropChoiceList li, +.dragDropTable .dragDropRankList li { + background: #FFF; + border: 1px solid #DDD; + color: #444; +} +.dragDropTable .dragDropChoiceList li:hover, +.dragDropTable .dragDropRankList li:hover{ + color: #222; + border: 1px solid #BBB; +} + +/* Drag-n-drop for ranking images */ + +.dragDropTableImg { + width: auto; +} + +.dragDropTableImg .dragDropChoiceList, +.dragDropTableImg .dragDropRankList { + min-height: 60px; + _height: 60px; /* IE6 and below hack */ + width: auto; + min-width: 60px; + _width: 60px; /* IE6 and below hack */ +} + +.dragDropTableImg li { + background: 0 none; + border: 0 none; + height: 50px; + width: 50px; +} + +.dragDropTableImg li img { + margin: 0; + padding: 0; + border: 0 none; +} +/* Drag-n-drop for ranking images */ + +.dragDropTableImg { + width: auto; +} + +.dragDropTableImg .dragDropChoiceList, +.dragDropTableImg .dragDropRankList { + min-height: 60px; + _height: 60px; /* IE6 and below hack */ + width: auto; + min-width: 60px; + _width: 60px; /* IE6 and below hack */ +} + +.dragDropTableImg li { + background: 0 none; + border: 0 none; + height: 50px; + width: 50px; +} + +.dragDropTableImg li img { + margin: 0; + padding: 0; + border: 0 none; +} + diff --git a/include/limesurvey/templates/skeletonquest/startgroup.pstpl b/include/limesurvey/templates/skeletonquest/startgroup.pstpl new file mode 100644 index 00000000..b444a539 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/startgroup.pstpl @@ -0,0 +1,2 @@ +
    +

    {GROUPNAME}

    diff --git a/include/limesurvey/templates/skeletonquest/startpage.pstpl b/include/limesurvey/templates/skeletonquest/startpage.pstpl new file mode 100644 index 00000000..520b48d7 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/startpage.pstpl @@ -0,0 +1,28 @@ + + {SURVEYNAME} {GROUPNAME} + + + + + {TEMPLATECSS} + + {GOOGLE_ANALYTICS_JAVASCRIPT} + + + + + + + +
    + +
    diff --git a/include/limesurvey/templates/skeletonquest/survey.pstpl b/include/limesurvey/templates/skeletonquest/survey.pstpl new file mode 100644 index 00000000..a0a92cc6 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/survey.pstpl @@ -0,0 +1,3 @@ +
    {SURVEYDESCRIPTION}
    +
    {PERCENTCOMPLETE}
    + diff --git a/include/limesurvey/templates/skeletonquest/surveylist.pstpl b/include/limesurvey/templates/skeletonquest/surveylist.pstpl new file mode 100644 index 00000000..2b4d44af --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/surveylist.pstpl @@ -0,0 +1,7 @@ +
    + {LANGUAGECHANGER} +

    {SURVEYLISTHEADING}

    +
      {SURVEYLIST}
    +

    {SURVEYCONTACT}

    +
    + diff --git a/include/limesurvey/templates/skeletonquest/template-rtl.css b/include/limesurvey/templates/skeletonquest/template-rtl.css new file mode 100644 index 00000000..37d0da31 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/template-rtl.css @@ -0,0 +1,125 @@ +/* This file is part of Lime Survey Template :a free template + 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 template 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 . +*/ + +body{direction:rtl;} +ul ul, ul ol, +ol ol, ol ul { margin: 4px 30px 5px 0; } +/*.hide{right:-999999px}*/ +/*#progress-wrapper #progress-pre{float:right;text-align:left;margin:0 0 0 5px}*/ +/*#progress-wrapper .ui-widget-content{float:right;text-align:right;}*/ +/*#progress-wrapper #progress-post{float:right;text-align:right;}*/ +.tools input,.tools a,input.submit,.question button,input[type="submit"],input[type="reset"],input[type="button"],.navigator input,.navigator button +{ + border-left: 1px solid #aaa; + border-right: 1px solid #ccc; +} +.tools input:hover,.tools a:hover,.navigator input:hover,input.submit:hover,.question button:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,.navigator input:hover,.navigator button:hover,.tools input:focus,.tools a:focus,.navigator input:focus,input.submit:focus,input[type="submit"]:focus,input[type="reset"]:focus,input[type="button"]:focus,.navigator input:focus,.navigator button:focus + { + border-left: 1px solid #888; + border-right: 1px solid #aaa; + } +.tools input:active,.tools a:active,.navigator input:active,input.submit:active,.question button:active,input[type="submit"]:active,input[type="reset"]:active,input[type="button"]:active,.navigator input:active,.navigator button:active + { + border-left: 1px solid #888; + border-right: 1px solid #aaa; + } +h2#surveytitle{text-align:right;} +ul.tools li{margin-right:0;margin-left:1em;} +#surveylist{text-align: right;} +.question-help img{margin:1px 1px 5px 5px;} +table.question tbody th.answertext,table.question tbody th.arraycaptionleft{text-align:left;} +table.question tbody th.answertextright{text-align:right;} +.list-with-comment .list, .list-with-comment p.select +{ + float: right; +} +.list-with-comment .list p +{ + text-align: right; +} +.list-with-comment .comment +{ + text-align: right; + float: right; +} +@media screen and (max-width: 440px) { + .list-with-comment .list + , .list-with-comment .select + , .list-with-comment .comment + { + text-align:right; + } +} +.numeric-multi ul.computed +{ + float:right; + padding-left: 2em;padding-right: 0; +} +.numeric-multi ul li label +,.multiple-short-txt ul li label +{ + text-align:left; + } +@media screen and (max-width: 440px) { +.numeric-multi ul li label +,.multiple-short-txt ul li label +{ + text-align:right; + } +} +.numeric-multi ul li span.input +,.multiple-opt-comments ul li span.comment +,.multiple-short-txt ul li span +{ + text-align: right; +} +.ie6 .numeric-multi ul li label,.ie7 .numeric-multi ul li label +,.ie6 .multiple-opt-comments ul li span.option,.ie7 .multiple-opt-comments ul li span.option +,.ie6 .multiple-short-txt ul li label,.ie7 .multiple-short-txt ul li label +{ + clear:right; + float:right; +} +.multiple-opt .answers-wrapper ul li.other input.text + {margin-left:0;margin-right:1em;} +.multiple-opt-comments .answers-wrapper ul li label + {border-width:1px 1px 0 0;} +.multiple-opt-comments .answers-wrapper ul .comment + {border-width:1px 0 0 1px;} +.list-radio .answers-wrapper ul li.other label{ + padding-left:0; +} +.multiple-opt .answers-wrapper ul li input.checkbox +, .list-radio .answers-wrapper ul li input.radio +, .choice-5-pt-radio .answers-wrapper ul li input.radio +, .yes-no .answers-wrapper ul li input.radio +, .gender .answers-wrapper ul li input.radio +, .list-radio-flexible .answers-wrapper ul li input.radio +, .list-with-comment .answers-wrapper ul li input.radio + { + right: 5px; + } + .multiple-opt-comments .answers-wrapper ul li input.checkbox + {float:right;} +.ie6 .multiple-opt .answers-wrapper ul li input.checkbox,.ie6.list-radio .answers-wrapper ul li input.radio,.ie6.choice-5-pt-radio .answers-wrapper ul li input.radio,.ie6.yes-no .answers-wrapper ul li input.radio,.ie6.gender .answers-wrapper ul li input.radio,.ie6.list-radio-flexible .answers-wrapper ul li input.radio,.ie6.list-with-comment .answers-wrapper ul li input.radio +,.ie7 .multiple-opt .answers-wrapper ul li input.checkbox,.ie7.list-radio .answers-wrapper ul li input.radio,.ie7.choice-5-pt-radio .answers-wrapper ul li input.radio,.ie7.yes-no .answers-wrapper ul li input.radio,.ie7.gender .answers-wrapper ul li input.radio,.ie7.list-radio-flexible .answers-wrapper ul li input.radio,.ie7.list-with-comment .answers-wrapper ul li input.radio + {right:0;} + .text-short input +,.text-short textarea +,.text-long textarea +,.text-huge textarea +{ +/* text-align:right;*/ +} diff --git a/include/limesurvey/templates/skeletonquest/template.css b/include/limesurvey/templates/skeletonquest/template.css new file mode 100644 index 00000000..5f1a1a12 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/template.css @@ -0,0 +1,1282 @@ +/* This file is part of Lime Survey Template : SkeletonQuest + + Copyright (C) 2010-2013 Denis Chenu for http://sondages.pro + Distributed under GPL 3 licence + Distributed under MIT licence + Inspiration by Skeleton V1.1, Copyright 2011, Dave Gamache, http://www.getskeleton.com under open-source MIT license + Inspiration by Spip-dist http://www.spip.net/ , Collectif SPIP distributed under GPL licence + Inspiration by THE CSS NINJA http://cssn.in/ja/023, Ryan Seddon + Inspiration by Bootstrap http://getbootstrap.com/ under Apache License. + Inspiration by jquery mobile http://jquerymobile.com/ under Dual licensed under the MIT or GPL Version 2 licenses. + Tango Icon Project http://tango.freedesktop.org/ distributed under Public Domain +*/ +/* ======================================================== */ +/* Some color and background easy manipulation */ +/* ======================================================== */ +/* BASIC COLOR ADAPTATION */ +html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{font:inherit;} +body{background:#fff;color:#444;} +html{font:1em/1.5 "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;} +body{font-size:14px} +.wrapper,#content{max-width:75em;width:auto !important; width:75em} +h1,h2,h3,h4,h5,h6{color:#181818;font-family: Georgia, "DejaVu Serif", Norasi, serif;} +strong{color:#333;} +a, a:visited { color: #333;} +a:hover, a:focus, a:active { color: #000; } + +/* Head decoration */ +#head{border-bottom:4px solid #EEE;border-top:0px solid #CCC;color:#000;background:#fff repeat-x center bottom;} + +/* information block */ +#surveydescription{color:#444} +.note,#tokenmessage{border:#ccc 1px solid;background:#eee;} + +/* Group decoration */ +.groupdescription{background:#fff;} +.grouptitle{background:#fff;color:#222} + +/* Question bloc decoration */ +.question-wrapper{background-color:#fff;border:1px solid #ccc;} +.question-wrapper .question-text{background:#f9f9f9;padding:0.5em 5px;color:#181818;} +.question-wrapper .question-text a{} +.question-wrapper .question-text a:hover{} +.question-wrapper .question-text strong,.question-wrapper .question-text b{} + +/* footer color*/ +#footer{color:#eee; + background: #2C2C2C; /* Old browsers */ + background: #2C2C2C -moz-linear-gradient(top, #333 0%, #222 100%); /* FF3.6+ */ + background: #2C2C2C -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333), color-stop(100%,#222)); /* Chrome,Safari4+ */ + background: #2C2C2C -webkit-linear-gradient(top, #333 0%,#222 100%); /* Chrome10+,Safari5.1+ */ + background: #2C2C2C -o-linear-gradient(top, #333 0%,#222 100%); /* Opera11.10+ */ + background: #2C2C2C -ms-linear-gradient(top,#333%,#222 100%); /* IE10+ */ + background: #2C2C2C linear-gradient(top, #333 0%,#222 100%); /* W3C */ +} +#footer a{color:#eee;} +#footer a:hover, #footer a:focus, #footer a:active {color: #fff;} +/* ======================================================== */ +/* This part don't have to be modified */ +/* ======================================================== */ +/* Base style only */ +/* #Reset & Basics (Inspired by E. Meyers) */ +html,body{border:0;vertical-align:baseline;margin:0;padding:0;} +div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{border:0;font-size:100%;vertical-align:baseline;margin:0;padding:0;} +article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;} +body{line-height:1;} +html,body{height:100.1%} +ol,ul{list-style:none;} +blockquote,q{quotes:none;} +blockquote:before,blockquote:after,q:before,q:after{content:none;} +table{border-collapse:collapse;border-spacing:0;} +body{-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;} +h1,h2,h3,h4,h5,h6{font-weight:400;} +h1 a,h2 a,h3 a,h4 a,h5 a,h6 a{font-weight:inherit;} +h1{font-size:1.8em;line-height:1.3;margin-bottom:0.4em;} +h2{font-size:1.5em;line-height:1.4;margin-bottom:0.3em;} +h3{font-size:1.3em;line-height:1.5;margin-bottom:0.2em;} +h4{font-size:1.2em;line-height:1.5;margin-bottom:0.1em;} +h5{font-size:1.1em;line-height:1.5;} +h6{font-size:1em;line-height:1.5;} +.subheader{color:#777;} +p{margin:0 0 1em;} +p img{margin:0;} +em{font-style:italic;} +strong{font-weight:700;} +small{font-size:80%;} +blockquote, blockquote p { color: #777; font-style: italic; } +blockquote { margin: 0 0 1em; padding: 0.5em 1em 0 1em; border-left: 1px solid #ddd; } +blockquote cite { display: block; font-size: 1em; color: #555; } +blockquote cite:before { content: "\2014 \0020"; } +blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; } +hr { border: solid #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; } +a, a:visited { color: #333; text-decoration: underline; outline: 0; } +a:hover, a:focus { color: #000; } +p a, p a:visited { line-height: inherit; } +ul, ol { margin-bottom: 1em; } +ul { list-style: none outside; } +ol { list-style: decimal; } +ol, ul{ margin-left: 30px; } +ul { list-style: square outside; } +ul ul { list-style: circle outside; } +ul ul ul { list-style: disc outside; } +ul ul, ul ol, +ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%; } + +ul#surveylist{list-style:none} +.hide{position:absolute;top:auto;left:-999999px} +#progress-wrapper{width:252px;font-size:12px;height:20px;} +#progress-wrapper #progress-pre{float:left;width:45px;text-align:right;margin:0 5px 0 0} +#progress-wrapper .ui-widget-content{float:left;width:150px;height:1em;text-align:left;border-color:#666;border-style:solid;border-width:1px} +@media handled,screen and (max-width: 240px) {#progress-wrapper .ui-widget-content{width:100px;}} +#progress-wrapper .ui-widget-header{background-color:#AAA;background-image:none;border:1px solid #666} +#progress-wrapper #progress-post{float:left;width:45px;text-align:left;margin:0 0 0 5px} +@media reader { + #progressbar,#progress-pre,#progress-post{display:none} +} + +.no-js .slider_showmin,.no-js .slider_showmax +{display:none;} +.no-js .slider_lefttext, .no-js .slider_righttext +{display:none;} +#percentcomplete{height:20px;display:block;margin:5px 0} +h5,h6{font-size:1em} +p,dl{margin:.75em 0} +em,q,cite{font-style:italic} + +/* --------------------------------------------- */ +/* More adaptation of the template : */ +/* color and image */ +/* --------------------------------------------- */ +p{margin:0 0 0.5em;} +p img{margin:0;} +p a, p a:visited { line-height: inherit; } + +/* survey list */ +#surveylist-container h2,#surveylist-container h3{color:#444} +ul#surveylist li a{color:#444;} +ul#surveylist li a.surveytitle{color:#222;} + +/* tip color */ +.error{color:#944} +.good{color:#494} +.problem{color:#944} + +.help-wrapper .error,.help-wrapper .good,.help-wrapper .problem,p.tip.error,p.tip.problem,p.tip.good{background-image: url(error.png);background-repeat:no-repeat} +.help-wrapper .error,.help-wrapper .problem,p.tip.error,p.tip.problem{padding-left:20px;background-position:0 center;} +.help-wrapper .good,p.tip,p.tip.good{padding-left:0;background-position:-20px center;} +.ie6 .help-wrapper .good,.ie7 .help-wrapper .good,.ie8 .help-wrapper .good{background-image:none} +.help-wrapper .error-wrapper{padding-left:20px;background: transparent url(error.png) no-repeat left center;} +.help-wrapper br{height:1px;width:1px;padding:0;margin:0;display:none;} + +.ui-slider{border-color:#555;} +.slider_showmin {color:#666;} +.slider_showmax {color:#666;} +.slider_lefttext {color:#666;} +.slider_righttext {color:#666;} +.slider_callout {color: #111;} + +/* specific questions color and background*/ +table.question{border-color:#ddd;} +table.question tbody{border-color:#ddd;} +table.question tr{border-color:#ddd;} +table.question th{border-color:#ddd;} +table.question td{border-color:#eee;min-width:50px;} +table.question thead td{border-color:#ddd;} + +table.question tbody td.ddarrayseparator:hover{background:#eee;} + +.array-flexible-column table.question col.even {background:#fff} +.array-flexible-column table.question col.odd {background:#f9f9f9} +.array-flexible-column table.question col.hover {background:#eee} + +table.question thead th {background:#fff} +table.question th {background:#fff} +table.question tr.array1 +,table.question tbody tr.array1 th +,table.question tbody tr.array1:hover th + {background:#fff} +table.question tr.array2 +,table.question tbody tr.array2 th +,table.question tbody tr.array2:hover th + {background:#f9f9f9} + +.js table.question tbody tr td:hover +{background:#ddd} +table.question tbody tr:hover +,.js table.question tbody tr td.answertextright:hover +,.js table.question tbody tr td.dual_scale_separator:hover +,.js table.question tbody tr td.ddarrayseparator:hover +{background:#eee} +/*@media handled,screen and (max-width: 440px) {*/ +/*table.question th,table.question td {display:block}*/ +/*}*/ + +table.rank td{border-color:#ddd} +table.rank table td{border-color:#ddd} + + table.question tbody tr:hover th +, table.question thead th.hover +, table.question tbody tr.focus th +, table.question thead th.focus +{ + color: #222222; + text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);} +table.question thead th.hover{ + background:#F9F9F9; +} +.dragDropTable .dragDropChoiceList li:hover, .dragDropTable .dragDropRankList li:hover { + color: #222222; + text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);} +table.question td.checked{background-color:red} +/* index color */ +#index .container{border-color:#ccc;background:#eee;} +#index .container h2{background:#444;color:#fff;} +#index .hdr{color:#555;} +#index .row{color:#555;} +#index .current{color:#555;} +#index .row:hover, #index .row:focus, #index .row:active {background-color: #eee;color: #555;} + +/* Global margin and with*/ +/* width of limesurvey contents parts */ +.wrapper,#content{padding:0;margin:0 auto;} + + +#head a:hover,#head a:focus,#head a:active{background:transparent;} +#head a , #head a img{outline: 0;} /* remove the outline on logo click */ + +#sitename{line-height:2;margin:0;} + +/* Some padding for little screen*/ +#head .wrapper{padding:0 5px;} +#content #surveydescription{padding:0 5px;} +#content #welcome{padding:0 5px;} +#content #welcome #surveydescription{padding:0;} +p.navigator{padding:0 5px;} +/* survey tool decoration */ +/* Adapted from Skeleton V1.1, Copyright 2011, Dave Gamache, http://www.getskeleton.com */ +.tools input,.tools a,input.submit,.question button,input[type="submit"],input[type="reset"],input[type="button"],.navigator input,.navigator button +{ + background: #f5f5f5; /* Old browsers */ + background: #f5f5f5 -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(150,150,150,.2) 100%); /* FF3.6+ */ + background: #f5f5f5 -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(230,230,230,.2)), color-stop(100%,rgba(150,150,150,.2))); /* Chrome,Safari4+ */ + background: #f5f5f5 -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(150,150,150,.2) 100%); /* Chrome10+,Safari5.1+ */ + background: #f5f5f5 -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(150,150,150,.2) 100%); /* Opera11.10+ */ + background: #f5f5f5 -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(150,150,150,.2) 100%); /* IE10+ */ + background: #f5f5f5 linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(150,150,150,.2) 100%); /* W3C */ + border: 1px solid #aaa; + border-top: 1px solid #ccc; + border-left: 1px solid #ccc; + padding: 4px 12px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; + border-radius: 3px; + color: #444; + display: inline;display: inline-block; + font-size: 1em; + font-weight: 700; + text-decoration: none; + text-shadow: 0 1px rgba(255, 255, 255, .75); + cursor: pointer; + margin: 0 0 0.5em; + line-height: normal; + padding: 0.6em 20px; + font-family: "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif; +} +.question button{ + padding: 4px 6px;margin:0; +} +.tools input:hover,.tools a:hover,.navigator input:hover,input.submit:hover,.question button:hover,input[type="submit"]:hover,input[type="reset"]:hover,input[type="button"]:hover,.navigator input:hover,.navigator button:hover,.tools input:focus,.tools a:focus,.navigator input:focus,input.submit:focus,input[type="submit"]:focus,input[type="reset"]:focus,input[type="button"]:focus,.navigator input:focus,.navigator button:focus + { + color: #222; + background: #eee; /* Old browsers */ + background: #eee -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(150,150,150,.3) 100%); /* FF3.6+ */ + background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(150,150,150,.3)), color-stop(100%,rgba(230,230,230,.3))); /* Chrome,Safari4+ */ + background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* Chrome10+,Safari5.1+ */ + background: #eee -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* Opera11.10+ */ + background: #eee -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* IE10+ */ + background: #eee linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* W3C */ + border: 1px solid #888; + border-top: 1px solid #aaa; + border-left: 1px solid #aaa; + } + +.tools input:active,.tools a:active,.navigator input:active,input.submit:active,.question button:active,input[type="submit"]:active,input[type="reset"]:active,input[type="button"]:active,.navigator input:active,.navigator button:active + { + color: #222; + background: #ddd; /* Old browsers */ + background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(150,150,150,.3) 100%); /* FF3.6+ */ + background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(150,150,150,.3))); /* Chrome,Safari4+ */ + background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* Chrome10+,Safari5.1+ */ + background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* Opera11.10+ */ + background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* IE10+ */ + background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(150,150,150,.3) 100%); /* W3C */ + border: 1px solid #888; + border-top: 1px solid #aaa; + border-left: 1px solid #aaa; + } +/* for disabled tools */ +.tools input[disabled],.navigator input[disabled],input.submit[disabled],.question button[disabled],input#savebutton[disabled],input#loadbutton[disabled],input#registercontinue[disabled],#languagechanger select[disabled] +{border:1px solid #dbdbdb;background:#FEFEFE;color:#dbdbdb;cursor:inherit;} +/* same box sizing for link and input/button */ +.tools a,.tools input,.tools button,.navigator a,.navigator input, .navigator button + {box-sizing: border-box;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;-ms-box-sizing: border-box;}/* same box sizing for link and button */ +/* some fix for IE */ +.ie6 .tools a,.ie6 .tools input,.ie6 .tools button,.ie6 .navigator a,.ie6 .navigator input,.ie6 .navigator button + {height:1.5em} +/* For very little screen : reduce some button */ +@media handled,screen and (max-width: 440px) { + .tools input{white-space:normal;padding: 4px 8px;} +} + +/* Fix for odd Mozilla border & padding issues */ +button::-moz-focus-inner,input::-moz-focus-inner {border: 0;padding: 0;} +textarea,input[type="text"],input.text{max-width:99%} +/*input decoration*/ +input[type="text"],input.text,input[type="password"],input[type="email"],textarea,select + { + border: 1px solid #ccc; + padding: 4px 4px; + outline: none; + -moz-border-radius: 2px; + -webkit-border-radius: 2px; + border-radius: 2px; + font: 1em "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif; + color: #777; + margin: 0; + max-width: 100%; + display: inline;display: inline-block; + background: #fff; + } +input[type="text"],input.text,input[type="password"],input[type="email"],textarea,select + { + -moz-box-shadow: 0 0 2px rgba(0,0,0,.2) inset; + -webkit-box-shadow: 0 0 2px rgba(0,0,0,.2) inset; + box-shadow: 0 0 2px rgba(0,0,0,.2) inset; + } +select:hover option,select:focus{color:#222;} +select:hover,select:focus{color:#222;} +@media handled,screen and (max-width: 440px) { +input[type="text"],input.text,input[type="password"],input[type="email"],textarea,select + {max-width:96%} +} +/* input decoration */ + +select{padding: 5px;} +.mandatory .answers-wrapper input[type=text].empty:not(.good), .mandatory .answers-wrapper textarea.empty:not(.good) +{ + border-color: #CA7472; + box-shadow: 0 1px 3px rgba(202, 116, 114, 0.3) inset, 0 1px 3px rgba(202, 116, 114, 0.2); +} +.text-short.mandatory .answers-wrapper input.text.empty, .text-short.mandatory .answers-wrapper textarea.empty +,.text-long.mandatory .answers-wrapper input.text.empty, .text-long.mandatory .answers-wrapper textarea.empty +,.text-huge.mandatory .answers-wrapper input.text.empty, .text-huge.mandatory .answers-wrapper textarea.empty +,.multiple-short-txt.mandatory .answers-wrapper input.text.empty, .multiple-short-txt.mandatory .answers-wrapper textarea.empty +,.numeric.mandatory .answers-wrapper input.text.empty, .numeric.mandatory .answers-wrapper textarea.empty +,.numeric-multi.mandatory .answers-wrapper input.text.empty, .numeric-multi.mandatory .answers-wrapper textarea.empty +,.date.mandatory .answers-wrapper input.date.empty +{ + border-color: #CA7472; + box-shadow: 0 1px 3px rgba(202, 116, 114, 0.3) inset, 0 1px 3px rgba(202, 116, 114, 0.2); +} +.answers-wrapper textarea.error, .answers-wrapper input[type=text].error{ + border-color: #CA7472;color:#CA7472; + box-shadow: 0 1px 3px rgba(202, 116, 114, 0.3) inset,0 1px 3px rgba(202, 116, 114, 0.2); +} +.answers-wrapper textarea.good, .answers-wrapper input[type=text].good{ + border-color:#ccc; +} + input[type="text"]:focus,input.text:focus,input[type="password"]:focus,input[type="email"]:focus,textarea:focus +, .mandatory .answers-wrapper input[type="text"].empty:focus,.mandatory .answers-wrapper textarea.empty:focus +, .answers-wrapper input[type="text"].error:focus,.answers-wrapper textarea.error:focus + { + border: 1px solid #bebada; + color: #444; + -moz-box-shadow: 0 0 0 rgba(0,0,0,0) inset,0 0 8px rgba(190, 186, 218, 0.5); + -webkit-box-shadow: 0 0 0 rgba(0,0,0,0) inset,0 0 8px rgba(190, 186, 218, 0.5); + box-shadow: 0 0 0 rgba(0,0,0,0) inset,0 0 8px rgba(190, 186, 218, 0.5); + -moz-border-radius: 0; + -webkit-border-radius: 0; + border-radius: 0; + } +select:hover option,select:focus{color:#222;} +select:hover,select:focus{ + border: 1px solid #bebada; + -moz-box-shadow: 0 0 8px rgba(190, 186, 218, 0.5); + -webkit-box-shadow: 0 0 8px rgba(190, 186, 218, 0.5); + box-shadow: 0 0 8px rgba(190, 186, 218, 0.5); +} + +textarea {min-height: 5em; } +input[type="checkbox"] {display: inline; } +textarea[disabled], input.text[disabled], input[type=text][disabled]{background-color:#FFF;border-color:#EEE;} + +.no-js input.saveall,.no-js input.clearall,.no-js input#moveprevbtn {display:none} + +.asterisk {display:none} +.mandatory .asterisk {display:inline;display:inline-block;} +.asterisk {color:#FF8900;} +.showqnumcode-X .qnumcode {display:none;} +.qnumcode {font-style:italic;color:#888} +.asterisk{background:transparent url(mandatory.png) no-repeat center;height:1em;min-height:16px;width:20px;text-indent:-30px;overflow:hidden;} + +/* index */ +#index .container{margin-top: 2em;border: 1px solid;} +#index .container h2{padding:0.2em 1em 0.5em;margin:0;font-size:1.1em;} +#index .container h2{font-size:1.2em} +#index .hdr{padding:0 0.5em;} +#index .row{padding:0.1em 1em;cursor: pointer;text-decoration: underline;} +#index .current{padding:0.1em 1em;cursor: pointer;text-decoration: none;font-weight:700;} +#index .missing{/*background: url()*/} +#index .row:hover, #index .row:focus, #index .row:active {text-decoration:none;} +#index .container .submit{margin:0 auto 0.5em;display:block} +@media handled,screen and (max-width: 440px) { + /*#index {display:none}*/ +} + +/* --------------------------------------------- */ +/* More and more template adaptation */ +/* --------------------------------------------- */ +#container{margin:0;} /* Global container */ +.ie6 #container,.ie7 #container{text-align:center} +.wrapper,#content{overflow:visible;position:relative;} +/*.wrapper,#content{overflow:auto;position:relative;}*//*Uncomment if you have some image/iframe etc ...*/ +.ie6 .wrapper,.ie6 #content,.ie7 .wrapper,.ie7 #content{text-align:left;} +#container{min-height:100%;position:relative;} + +#head{position:relative;margin-bottom:8px;} +#head h1{display:block;} +#head img{vertical-align:middle;} +#head img{max-height:90px;width:auto;padding:10px 5px} +.ie6 #head img.logo,.ie7 #head img.logo{height:90px;} +#head .tools{float:right;margin:10px;} +@media handled,screen and (max-width: 440px) { + #head h1{font-size:1em;;} + #head img{max-height:30px;width:auto;padding:2px} +} + +/* for the footer */ +#content{padding-bottom:4.2em;} +#footer {text-align:center;padding:5px 0 0.4em;margin:0;font-size:0.8em;font-weight:400;display:table;} +#footer{border-width:1px 0;} +#footer{width:100%;position:absolute;bottom:0;left:0;} +.ie6 #footer{position:relative;} +.ie6 #content{padding-bottom:1em;} +#footer ul{width:100%;list-style: none outside;margin:0;padding:0;text-align:center;display:block;} +#footer li {list-style: none inside;margin:0;padding:0;text-align:center;vertical-align:top;} +#footer li.first{text-align:left;} +#footer li.last{text-align:right;} +#footer ul{display:table-row;width:100%;} +#footer li{display:table-cell;padding:0 4px;width:33%} +.ie6 #footer ul li,.ie7 #footer ul li{width:32%;display:block;padding:0;float:left;} +#footer li img{max-width:90%} +@media handled,screen and (max-width: 640px) { + #footer{position:relative} + #content{padding-bottom:0;} + #footer ul#credits li{display:block;width:100%;padding:0;margin:0;} + #footer ul#credits li.first{text-align:center;} + #footer ul#credits li.last{text-align:center;} +} + +/* survey title bar */ +#title{margin:0;text-align:center;padding:0;} + +/* specific decoration */ +p.url{font-size:1.2em;text-align:center;font-weight:700} +table.printouttable{width:99%} +/* survey list (home page) */ +#surveylist{margin: 0.5em auto;padding: 0;text-align: left;overflow:auto;display:inline-block;} +#surveylist-container{text-align:center} +#surveylist li{padding:0.5em 10px;} +#surveylist li a.surveytitle{display:block;font-weight:700;font-size:1.2em;padding:3px 10px;margin-bottom: 4px;border-bottom:1px dotted;text-decoration:none;} +#surveylist li a.surveytitle:hover,#surveylist li a.surveytitle:focus{border-bottom:1px dotted #FFF;} +@media handled,screen and (max-width: 660px) { + #surveylistheading{font-size:1em} + #surveylist li{padding:0.5em 0;} + #surveylist li a.surveytitle{font-size:1em;padding:3px 10px;margin-bottom: 4px;border-bottom:1px dotted;text-decoration:none;} +} + + +/* tools list */ +ul.tools{list-style: none ;margin: 0.5em 0; padding: 0 5px;} +ul.tools div,ul.tools li{margin:0.1em 0;padding:0;display:inline;} +ul.tools li{margin-left:0;margin-right:1em;} +ul.info{list-style: none ;text-align: center;} +ul.info li{margin:0.5em 0;font-size:1.05em;} +ul.info a {} +.navigator{text-align:center;} +@media handled,screen and (max-width: 440px) { + ul.tools{padding:0;width:100%} + .tools input,.tools a{word-wrap:break-word;white-space:normal;padding: 8px 8px;display:inline-block;text-overflow : ellipsis;} + #content ul.tools div,#content ul.tools li {display: block;width:100%;margin: 0.1em 0;padding: 0;text-align:center;} +} +#progress-wrapper {margin:0.5em auto;} +#languagechanger{margin:0 auto;text-align:center;} +select.languagechanger{margin:0.5em;} +/*surveylist (home page) */ +#surveylist{margin: 0.5em auto;padding: 0;text-align: left;overflow:auto;display:inline-block;} +#surveylist li{padding:0.5em 10px;} +#surveylist li a.surveytitle{display:block;font-weight:700;font-size:1.2em;padding:3px 10px;margin-bottom: 4px;border-bottom:1px dotted;text-decoration:none;} +#surveylist li a.surveytitle:hover,#surveylist li a.surveytitle:focus{border-bottom:1px none #FFF;} +/* specific box */ +.note,#tokenmessage{width:80%;margin:0.5em auto;padding:1em;} +#tokenform ul{list-style: none ;margin: 0.5em auto;padding: 0;text-align: center;} +#tokenform ul li{} +/* specific box */ +#privacy{font-size:90%;font-style: italic;} +#surveydescription{font-size:1.1em;} +#assessment table{width:80%;margin:0 auto;} +div.form table{margin:0.4em auto;} +div.form table td{border:0 none #CCC;} +div.form table table{border:0 none #CCC;} +div.form table table td{padding:0;} + +/* Group decoration */ +p#therearexquestions{margin:0;font-style:italic;font-size:0.9em;color:#666} +.group{margin-bottom: 2em} +.groupdescription{padding:0 5px;margin:0 0 0.5em;} +.grouptitle{line-height:2em;padding:0 5px;margin:0;font-size:1.1em;} + + +/* Question decoration */ +.question-wrapper{margin:1em 5px} +.question-wrapper:hover{box-shadow: 0 0 5px #999;margin:1em 5px;} +.question-text{border-bottom:none 0px #FFF;} +.question-wrapper .answers-wrapper{overflow:hidden;} +.answers-wrapper{padding:0.5em 5px;margin:0 auto;} +@media handled,screen and (max-width: 640px) { + .question-wrapper:hover,.question-wrapper{margin:1em 0;} +} + +.question-help{padding:0 5px;margin:0 auto;overflow: auto;clear:both;} +.question-help img{margin:1px 5px 5px 1px;} + +/* tip bloc */ + +.help-wrapper ,.tip{font-style:italic;} +.help-wrapper{padding:0 5px;margin:0 auto;line-height: 150%;} +.help-wrapper .mandatory,.help-wrapper .questionhelp,.help-wrapper .tip {font-size:0.8em;} +.answers-wrapper .tip {font-size:0.8em;} +.help-wrapper .error,.help-wrapper .error-wrapper{color:#944;} +/*.help-wrapper .error{text-shadow: #FE4 1px 1px 2px;}*/ +.input-error .help-wrapper{font-weight:700} + .ie6 .help-wrapper .error,.ie6 .help-wrapper .error-wrapper +, .ie7 .help-wrapper .error,.ie7 .help-wrapper .error-wrapper +, .ie8 .help-wrapper .error,.ie8 .help-wrapper .error-wrapper +, .ie9 .help-wrapper .error,.ie9 .help-wrapper .error-wrapper +{font-weight:700} +.errormandatory{color:#944;display:block;} +.errormandatory br{display:inline;} /* Bad br HTML*/ +.answertext .errormandatory{padding-left:20px;background: transparent url(error.png) no-repeat center left;} +.help-wrapper .success,.help-wrapper .good,.help-wrapper .ok{color:#444} +.help-wrapper .problem{color:#944} +.help-wrapper .errormandatory{color:#944;font-weight:700;} +.help-wrapper .errormandatory br:first,.help-wrapper .errormandatory strong br:first{display:none;} +.mandatory .help-wrapper .mandatory br{display:none;}/* don't put linefeed at start of an error box */ + +.help-wrapper .mandatory{display:none;} +.input-error .help-wrapper .mandatory{display:block;} +.answer-wrapper .tip{text-align:left;font-size:0.8em;} +.question-wrapper.input-error{ + border-color:#944; + -moz-box-shadow: 0 0 5px #944; + -webkit-box-shadow: 0 0 5px #944; + box-shadow: 0 0 5px #944; + } +.input-error .help-wrapper{color:#944;} +/* input error */ +input[type="text"].tip,input.tip{border:0;background:transparent;font-weight:700; + -moz-box-shadow: 0 0 0 #FFF; + -webkit-box-shadow: 0 0 0 #FFF; + box-shadow: 0 0 0 #FFF; + +} +input[type="text"].error,input.error,input[type="text"].problem,input.problem{color:#944;} +/* input decoration */ + + + +/* for boilerplate color and background */ +.boilerplate {} + +/* not using (todo: verify) */ +.printouttitle {} +.surveytitle {} +.surveytitle:hover {} +/* Printed version */ +.printanswersquestion{ + background-color:#f8f8f8 +} + +.printouttable .printanswersquestionhead td{ + text-align: left; + background-color:#eee; +} + +.printouttable .printanswersgroup td{ + text-align: center; + font-weight:bold; + padding-top:1em; +} + + +.printanswersgroup{border-top:2px solid #444;color:#222;border-bottom:1px solid #999;} +.printanswersquestion{border-bottom:1px solid #999;} +.printanswersanswertext{width:40%;} +/* ------------------------------------------------- + START: Question styles ------------------------- */ + +/* ===================================== +== Full list of question classes ======= + + .boilerplate +,.numeric +,.choice-5-pt-radio +,.yes-no +,.gender +,.date +,.numeric-multi +,.numeric +,.list-radio +,.list-radio-flexible +,.list-with-comment +,.list-dropdown +,.list-dropdown-flexible +,.ranking +,.numeric-multi +,.language +,.multiple-opt-comments +,.multiple-short-txt +,.text-short +,.text-long +,.text-huge +,.numeric-multi +,.array-5-pt +,.array-10-pt +,.array-yes-uncertain-no +,.array-increase-same-decrease +,.array-flexible-row +,.array-flexible-column +,.slider +,.array-multi-flexi +,.array-multi-flexi-text +,.array-flexible-duel-scale +*/ + +/* answer table */ +table.question{table-layout:fixed;border-spacing:0} +table.question{border-width:0 0 1px 0;border-style:solid;width:99%;} +table.question tbody{border-width:0 1px 0 0;border-style:solid;} +table.question thead th{border-width:1px 1px 0px 0px;border-style:solid;padding:2px;text-align:center;vertical-align:bottom} +table.question thead td,table.question thead th:first-child{border-width:0px 1px 0px 0px;border-style:solid;} +table.question tbody th{border-width:1px 1px 0px 1px;border-style:solid;padding:8px;vertical-align:middle;} +@media handled,screen and (max-width: 660px) { +table.question .answertext .errormandatory { + background-image: none; + padding-left: 0; +} +} +table.question tbody td{border-width:1px 1px 0px 0px;border-style:solid;padding:8px 0;} + +table.question tbody th.answertext,table.question tbody th.arraycaptionleft{text-align:right;} +table.question tbody th.answertextright{text-align:left;} +table.question tbody td{text-align:center;vertical-align:middle} +table.question tbody th,table.question thead th +{ + -ms-word-break: break-all; + /*word-break: break-all;*/ + word-break: break-word;// Non standard for webkit + -webkit-hyphens: auto; + -moz-hyphens: auto; + hyphens: auto; + word-wrap: break-word; +} +table.question tbody td.ddarrayseparator{border-top-width: 0px;} +table.question input[type="text"],table.question input.text{padding:4px 2px;max-width:96%;} +@media handled,screen and (max-width: 440px) { + table.question{width:96%;}/* leave a little part for touch*/ + table.question tbody th,table.question thead th{padding;:8px 0} +} +@media handled,screen and (max-width: 440px) { + table.question input[type="text"],table.question input.text{padding:4px 0;} +} + +table.question td {padding:0;margin:0;height:100%} +table.question td.header_separator,table.question td.dual_scale_separator{padding:0 2px;} +table.question select{max-width: 96%;} +.ie6 table.question select,.ie7 table.question select{width: 96%;} +/* remove the list dot */ +.answers-wrapper ul { + list-style: none; + margin:0.75em 0 ; +} +.answers-wrapper li { + list-style-type: none; +/* text-align: left;*/ + margin: 0 0 0.5em; +} +.answers-wrapper label:hover { + color:#222; +} + +.ie .multiple-opt-comments .answers-wrapper, + .ie .multiple-short-txt .answers-wrapper, + .ie .numeric-multi .answers-wrapper, + .ie .multiple-opt .answers-wrapper + {overflow:hidden;} + +.list-radio-flexible li{width:auto;} +.list-radio-flexible ul{width:auto;margin:0 auto 0.5em;} + +table.rank{width:98%;table-layout:fixed;visibility:hidden;} +table.rank, table.rank table{border:0px none #FFF;border-collapse:collapse} +table.rank td{border-width:1px;} +table.rank table td{border-width:0px;} + +.numeric-multi ul.slider.computed +{ + width: 14em; +} + +.boilerplate {} +.question-wrapper.text-short{position: relative;}/* For timer */ + +p.question +{ + font-weight: normal; + text-align:center; +} +p.question select{ +max-width:96%; +} +.ui-datepicker{ +max-width:90%;overflow:hidden; +} + +table.rank, table.rank table{border:0px none #FFF;border-collapse:collapse} +table.rank{margin:0.3em auto;} +table.rank select{width:99%;min-width:10em;padding-left:0.3em;} +table.rank td{border:1px solid} +table.rank table td{border:0px none} +table.rank input{border:1px solid #999} + + +.list-dropdown-flexible .question, .list-dropdown .question, .language .question +{ + text-align:center; +} +.list-with-comment .answers-wrapper{display:table-row;} +.list-with-comment .list, .list-with-comment p.select, .list-with-comment p.comment +{ + display:table-cell; + width:50%; +} +.ie6 .list-with-comment .list,.ie6 .list-with-comment p.select,.ie6 .list-with-comment p.comment +{ + width: 47%; + float: left; + padding: 0.5em; + margin: 0; +} +.ie6 .list-with-comment .comment +{ + margin: 0%; + padding: 0.5em; + text-align: left; + float: left; + width: 47%; +} +.list-with-comment p.select select +{ + max-width: 99%; +} +.list-with-comment .list p +{ + margin: 0; + text-align: left; +} +.list-with-comment p.comment{ +padding:0 0.5em; +} +.list-with-comment p.comment textarea +{ + width: 99%; +} +@media handled,screen and (max-width: 440px) { + .list-with-comment .list + , .list-with-comment p.select + , .list-with-comment p.comment + { + display:block; + width: 99%; + float: none; + padding: 0.5em 0; + text-align:left; + } + .list-with-comment p.comment textarea + { + padding:4px 0; + } +} + .multiple-opt-comments .answers-wrapper ul +,.multiple-short-txt .answers-wrapper ul +,.numeric-multi .answers-wrapper ul +,.multiple-opt .answers-wrapper ul +{ + padding: 0; + margin: 1em 0; + width:99%; +} + +.numeric-multi .answers-wrapper ul.computed +{ + float:left; + padding-left: 0;padding-right: 2em; +} +.numeric-multi .answers-wrapper ul.slider.computed +{ + width: 14em; +} + +.numeric-multi .answers-wrapper ul +,.multiple-opt .answers-wrapper ul +,.multiple-opt-comments .answers-wrapper ul +,.multiple-short-txt .answers-wrapper ul +{ + display: block; + width:99%; +} +.numeric-multi .answers-wrapper ul li +, .multiple-opt .answers-wrapper ul li +, .multiple-opt-comments .answers-wrapper ul li +, .multiple-short-txt .answers-wrapper ul li +{ + display: block; +} + +.numeric-multi .answers-wrapper ul li label +,.multiple-short-txt .answers-wrapper ul li label +{ + text-align:right; + } +@media handled,screen and (max-width: 640px) { +.numeric-multi .answers-wrapper ul li label +,.multiple-short-txt .answers-wrapper ul li label +{ + text-align:left; + } +} +.multinum-slider{text-align:center;display:inline;display:inline-block;margin:1em 0.6em;} +.ui-slider{width:14em;display:inline;display:inline-block;border:1px solid #666;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;margin:.4em 0 .2em} +.slider_showmin{float:left;width:3em;font-size:.7em;font-weight:400;text-align:left;color:#666;margin:1.4em 0 0} +.slider_showmax{float:right;width:3em;font-size:.7em;font-weight:400;text-align:right;color:#666;margin:1.4em 0 0} +.slider_lefttext{display:inline-block;position:relative;top:-.5em;padding-right:1em;text-align:right;font-size:.9em;color:#666} +.slider_righttext{display:inline-block;position:relative;top:-.5em;padding-left:1em;font-size:.9em;color:#666} +.slider_callout{overflow:hidden;position:absolute;top:-1.3em;margin-left:.8em;text-align:right;color:#333;font-size:.9em} +.ie .ui-slider{display:block;float:left;} +.ie .slider_lefttext {float: left;margin-top:1em;} +.ie .slider_righttext {float: left;margin-top:1em;} +@media handled,screen and (max-width: 550px) { + .multinum-slider{display:block;width:94%;margin:0 auto;} + .ui-slider{width:100%;margin:.6em 0 .2em} + .slider_lefttext{display:block;top:0;padding:0;text-align:left} + .slider_righttext{display:block;top:0;padding:0;text-align:right;margin-top:1em} +} +@media handled,screen and (max-width: 440px) { + .slider_callout {margin-left: -0.5em;top: -2em;} +} +.numeric-multi .answers-wrapper ul li span.input +,.multiple-opt-comments .answers-wrapper ul li span.comment +,.multiple-short-txt .answers-wrapper ul li span +{ + text-align: left; +} + +.numeric-multi .answers-wrapper ul +, .multiple-short-txt .answers-wrapper ul +, .multiple-opt-comments .answers-wrapper ul +{ + display:table; +} +.numeric-multi .answers-wrapper ul li +, .multiple-short-txt .answers-wrapper ul li +, .multiple-opt-comments .answers-wrapper ul li +{ + display:table-row; +} + +.numeric-multi .answers-wrapper ul li label, .numeric-multi .answers-wrapper ul li span +, .multiple-short-txt .answers-wrapper ul li label, .multiple-short-txt .answers-wrapper ul li span +, .multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment +{ + display:table-cell; + vertical-align:middle; +/* width:50%;*/ + padding:0.3em 0.5em 0.7em; +} + +.no-js .numeric-multi .answers-wrapper ul li.multiplenumerichelp{display:none} +.multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment +{ + padding:0; +} + +.numeric-multi .answers-wrapper ul li label span +, .multiple-short-txt .answers-wrapper ul li label span +{ + display:inline; + width:auto +} + +.numeric-multi .answers-wrapper ul li span span +, .multiple-short-txt .answers-wrapper ul li span span +{ + display:inline-block; + width:5em; + text-align:center; + font-weight:700; +} +.ie6 .numeric-multi .answers-wrapper ul li label,.ie7 .numeric-multi .answers-wrapper ul li label +,.ie6 .multiple-opt-comments .answers-wrapper ul li span.option,.ie7 .multiple-opt-comments .answers-wrapper ul li span.option +,.ie6 .multiple-short-txt .answers-wrapper ul li label,.ie7 .multiple-short-txt .answers-wrapper ul li label +{ + clear:left; + float:left; + width:45%; + padding: 0.3em 1em 0 0; +} +@media handled,screen and (max-width: 640px) { + .numeric-multi .answers-wrapper ul + , .multiple-short-txt .answers-wrapper ul + , .multiple-opt-comments .answers-wrapper ul + { + display:block; + } + .numeric-multi .answers-wrapper ul li + , .multiple-short-txt .answers-wrapper ul li + , .multiple-opt-comments .answers-wrapper ul li + { + display:block; + } + + .numeric-multi .answers-wrapper ul li label, .numeric-multi .answers-wrapper ul li span + , .multiple-short-txt .answers-wrapper ul li label, .multiple-short-txt .answers-wrapper ul li span + , .multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment + { + display:block; + vertical-align:middle; + width:auto; + padding:0.3em 0 0.7em; + } +} +.answers-wrapper li {position:relative;} +.answers-wrapper li{margin:0;clear:both;overflow:auto;} + + .multiple-opt .answers-wrapper li label +, .multiple-opt-comments .answers-wrapper li label +, .list-radio .answers-wrapper li label.answertext +, .choice-5-pt-radio .answers-wrapper li label +, .yes-no .answers-wrapper li label +, .gender .answers-wrapper li label +, .list-radio-flexible .answers-wrapper li label +, .list-with-comment .answers-wrapper li label + { + display:block; + vertical-align: middle; + padding:0.8em 30px; + border:1px solid #CCC; + cursor:pointer + } +.no-js .multiple-opt .answers-wrapper ul li.other label + { + display:inline;display:inline-block;border:0px solid #ccc; + } +.no-js .multiple-opt .answers-wrapper ul li.other + { + border:1px solid #CCC;border-width: 1px 1px 0; + } +.multiple-opt .answers-wrapper ul li.other input.text + {margin-left:1em;} + .multiple-opt .answers-wrapper li label +, .multiple-opt-comments .answers-wrapper li label +, .list-radio .answers-wrapper li label.answertext +, .choice-5-pt-radio .answers-wrapper li label +, .yes-no .answers-wrapper li label +, .gender .answers-wrapper li label +, .list-radio-flexible .answers-wrapper li label +, .list-with-comment .answers-wrapper li label +, .list-radio .answers-wrapper li.other +, .multiple-opt .answers-wrapper li.other + {border-width:1px 1px 0; + -moz-box-shadow: inset 0 0 0 0 rgba(190, 186, 218,.3); + -webkit-box-shadow: inset 0 0 0 0 rgba(190, 186, 218,.3); + box-shadow: inset 0 0 0 0 rgba(190, 186, 218,.3); + } + .multiple-opt .answers-wrapper li.other .checkbox {visibility:hidden;} +.multiple-opt-comments .answers-wrapper ul li label + {border-width:1px 0 0 1px;} +.multiple-opt-comments .answers-wrapper .comment label { + border-width: 0;padding:0; +} + + .multiple-opt .answers-wrapper ul +, .multiple-opt-comments .answers-wrapper ul +, .list-radio .answers-wrapper ul +, .choice-5-pt-radio .answers-wrapper ul +, .yes-no .answers-wrapper ul +, .gender .answers-wrapper ul +, .list-radio-flexible .answers-wrapper ul +, .list-with-comment .answers-wrapper ul + {border-style:solid;border-color:#ccc;border-width:0 0 1px;} + +.multiple-opt-comments .answers-wrapper ul .comment + {border-style:solid;border-color:#ccc;border-width:1px 1px 0 0;} + + + .list-radio .answers-wrapper li.other +, .multiple-opt .answers-wrapper li.other + {padding:0.5em 0;} + .list-radio .answers-wrapper li.other label +, .multiple-opt .answers-wrapper li.other label + { + display:inline;display:inline-block;border:0px none #CCC; + padding:0;margin:0 30px; + } +@media handled,screen and (max-width: 640px) { + .list-radio .answers-wrapper li.other label +, .multiple-opt .answers-wrapper li.other label + { + display:block; + } +} + .list-radio .answers-wrapper li.other +, .multiple-opt .answers-wrapper li.other + { + border:1px solid #CCC;border-width:1px 1px 0; + } + +/* Now for some active/focus system */ + + .multiple-opt .answers-wrapper li label:hover +, .multiple-opt-comments .answers-wrapper li label:hover +, .list-radio .answers-wrapper li label.answertext:hover +, .choice-5-pt-radio .answers-wrapper li label:hover +, .yes-no .answers-wrapper li label:hover +, .gender .answers-wrapper li label:hover +, .list-radio-flexible .answers-wrapper li label:hover +, .list-with-comment .answers-wrapper li label:hover +, .multiple-opt .answers-wrapper li input:focus + label +, .multiple-opt-comments .answers-wrapper li input:focus + label +, .list-radio .answers-wrapper li input:focus + label +, .choice-5-pt-radio .answers-wrapper li input:focus + label +, .yes-no .answers-wrapper li input:focus + label +, .gender .answers-wrapper li input:focus + label +, .list-radio-flexible .answers-wrapper li input:focus + label +, .list-with-comment .answers-wrapper li input:focus + label + { + color: #222;text-shadow: 1px 1px 3px rgba(0,0,0,.3); + } + .multiple-opt .answers-wrapper li label:hover +, .list-radio .answers-wrapper li label.answertext:hover +, .choice-5-pt-radio .answers-wrapper li label:hover +, .yes-no .answers-wrapper li label:hover +, .gender .answers-wrapper li label:hover +, .list-radio-flexible .answers-wrapper li label:hover +, .list-with-comment .answers-wrapper li label:hover +, .multiple-opt .answers-wrapper li input:focus + label +, .list-radio .answers-wrapper li input:focus + label +, .choice-5-pt-radio .answers-wrapper li input:focus + label +, .yes-no .answers-wrapper li input:focus + label +, .gender .answers-wrapper li input:focus + label +, .list-radio-flexible .answers-wrapper li input:focus + label +, .list-with-comment .answers-wrapper li input:focus + label + { + -moz-box-shadow: inset 0 0 3px 1px rgba(190, 186, 218,.3); + -webkit-box-shadow: inset 0 0 3px 1px rgba(190, 186, 218,.3); + box-shadow: inset 0 0 3px 1px rgba(190, 186, 218,.3); + } + .list-radio .answers-wrapper li.other label:hover +, .multiple-opt .answers-wrapper li.other label:hover + { + -moz-box-shadow: inset 0 0 0 0 rgba(190, 186, 218,.3); + -webkit-box-shadow: inset 0 0 0 0 rgba(190, 186, 218,.3); + box-shadow: 0 0 0 0 rgba(190, 186, 218,.3); + } +.answers-wrapper ul li input.checkbox:checked + label +,.answers-wrapper ul li input.radio:checked + label + { + } +.answers-wrapper li.other input:checked + label + { + } + +.answers-wrapper li input:disabled + label + { text-shadow: 0 0 0; color: #999;border-color:#eee;cursor:no-drop;opacity:0.6; + } +.answers-wrapper li input:disabled + { opacity:0.2;} + +.multiple-opt .answers-wrapper li input.checkbox +,.answers-wrapper li input.radio + { + position: absolute; + top:30%; +/* height: 10px;*/ + left: 5px; +/* width:10px;*/ + } +.answers-wrapper ul li.other input.radio{ +} + .multiple-opt-comments .answers-wrapper li input.checkbox + {float:left;padding:0;margin:10px 1em 10px 1em;text-align:center; + } + .ie6 .multiple-opt .answers-wrapper ul li,.ie6.list-radio .answers-wrapper ul li,.ie6.choice-5-pt-radio .answers-wrapper ul li,.ie6.yes-no .answers-wrapper ul li,.ie6.gender .answers-wrapper ul li,.ie6.list-radio-flexible .answers-wrapper ul li,.ie6.list-with-comment .answers-wrapper ul li +,.ie7 .multiple-opt .answers-wrapper ul li,.ie7.list-radio .answers-wrapper ul li,.ie7.choice-5-pt-radio .answers-wrapper ul li,.ie7.yes-no .answers-wrapper ul li,.ie7.gender .answers-wrapper ul li,.ie7.list-radio-flexible .answers-wrapper ul li,.ie7.list-with-comment .answers-wrapper ul li + {margin:0 0 0.1em;} + .ie6 .multiple-opt .answers-wrapper ul li label,.ie6.list-radio .answers-wrapper ul li label,.ie6.choice-5-pt-radio .answers-wrapper ul li label,.ie6.yes-no .answers-wrapper ul li label,.ie6.gender .answers-wrapper ul li label,.ie6.list-radio-flexible .answers-wrapper ul li label,.ie6.list-with-comment .answers-wrapper ul li label +,.ie7 .multiple-opt .answers-wrapper ul li label,.ie7.list-radio .answers-wrapper ul li label,.ie7.choice-5-pt-radio .answers-wrapper ul li label,.ie7.yes-no .answers-wrapper ul li label,.ie7.gender .answers-wrapper ul li label,.ie7.list-radio-flexible .answers-wrapper ul li label,.ie7.list-with-comment .answers-wrapper ul li label + {display:inline;display:inline-block;vertical-align: middle;border:0px none #fff} +.ie6 .multiple-opt .answers-wrapper ul li input.checkbox,.ie6.list-radio .answers-wrapper ul li input.radio,.ie6.choice-5-pt-radio .answers-wrapper ul li input.radio,.ie6.yes-no .answers-wrapper ul li input.radio,.ie6.gender .answers-wrapper ul li input.radio,.ie6.list-radio-flexible .answers-wrapper ul li input.radio,.ie6.list-with-comment .answers-wrapper ul li input.radio +,.ie7 .multiple-opt .answers-wrapper ul li input.checkbox,.ie7.list-radio .answers-wrapper ul li input.radio,.ie7.choice-5-pt-radio .answers-wrapper ul li input.radio,.ie7.yes-no .answers-wrapper ul li input.radio,.ie7.gender .answers-wrapper ul li input.radio,.ie7.list-radio-flexible .answers-wrapper ul li input.radio,.ie7.list-with-comment .answers-wrapper ul li input.radio + {float:none;margin:4px;position:relative;top:0;left:0;} + + +@media handled,screen and (max-width: 640px) { + .multiple-opt .answers-wrapper li + , .list-radio .answers-wrapper ul li + , .list-radio-flexible .answers-wrapper ul li + { + + } + .multiple-opt-comments .answers-wrapper ul .comment input + { + width:auto; + } +} +@media handled,screen and (max-width: 640px) { +.numeric-multi .answers-wrapper ul li label, .numeric-multi .answers-wrapper ul li span +, .multiple-short-txt .answers-wrapper ul li label, .multiple-short-txt .answers-wrapper ul li span +, .multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .comment + { + display:block; + width:100%; + } +.multiple-opt-comments .answers-wrapper ul .option, .multiple-opt-comments .answers-wrapper ul .option label, .multiple-opt-comments .answers-wrapper ul .comment + { + border-width: 0; + padding: 0.3em 0 0; + } +.multiple-opt-comments .answers-wrapper ul .option + { + padding: 0; + } +.multiple-opt-comments .answers-wrapper ul .option label + { + padding: 0.3em 0 0; + } +.multiple-opt-comments .answers-wrapper ul .comment + { + padding: 0 0 0.3em; + } + .multiple-opt-comments .answers-wrapper ul li input:focus + label{ + -moz-box-shadow: inset 0 0; + -webkit-box-shadow: inset 0 0; + box-shadow: inset 0 0; + } +.multiple-opt-comments .answers-wrapper ul li + { + border:1px solid #ccc;border-width: 1px 1px 0;margin-bottom:0; + } +.numeric-multi .answers-wrapper ul li span +, .multiple-short-txt .answers-wrapper ul li span +, .multiple-opt-comments .answers-wrapper ul .comment + { + text-align:center; + } +} + + + .text-short input +,.text-short textarea +,.text-long textarea +,.text-huge textarea +{ +/* text-align:left;*/ +} + .text-short .question + ,.text-short .answers-wrapper +,.text-long .answers-wrapper +,.text-huge .answers-wrapper +{ + text-align:center; +} + +@media handled,screen and (max-width: 440px) { + input.text,textarea{max-width:90%} +} +/* multi column */ +@media handled,screen and (min-width: 680px) { + ul.cols-2-ul + , ul.cols-3-ul + , ul.cols-4-ul + , ul.cols-5-ul + , ul.cols-6-ul + , ul.cols-7-ul + , ul.cols-8-ul + { + display:block; + float:left; + } + ul.cols-2-ul{ width: 50% } + ul.cols-3-ul{ width: 33% } + ul.cols-4-ul{ width: 25% } + ul.cols-5-ul{ width: 20% } + ul.cols-6-ul{ width: 16.5% } + ul.cols-7-ul{ width: 14% } + ul.cols-8-ul{ width: 12.5% } +} +input.text,textarea{ + text-align: start; +} + + +/* Tips / Validation Messages */ +/* If the question is invalid, but has not been submitted, give it a pleasant warning color */ + +.hide-tip .good { + display: none; +} +.hide-tip .error { +} +.input-error .hide-tip .error { + display: block; +} +/* Some transition */ +.question-wrapper{ + -moz-transition:all 400ms linear; + -o-transition:all 400ms linear; + -webkit-transition:all 400ms linear; + transition:all 400ms linear; +} +.dragDropTable li,label, th{ + -moz-transition: background-color 300ms ease,text-shadow 300ms ease, box-shadow 300ms ease-in; + -o-transition: background-color 300ms ease,text-shadow 300ms ease, box-shadow 300ms ease-in; + -webkit-transition: background-color 300ms ease,text-shadow 300ms ease, box-shadow 300ms ease-in; + transition: background-color 300ms ease,text-shadow 300ms ease, box-shadow 300ms ease-in; +} +tr,td +{ + -moz-transition: background-color 500ms ease; + -o-transition: background-color 500ms ease; + -webkit-transition: background-color 500ms ease; + transition: background-color 500ms ease; +} +input[type="text"],input.text,input[type="password"],input[type="email"],textarea,select +{ + -moz-transition:all 200ms linear; + -o-transition:all 200ms linear; + -webkit-transition:all 200ms linear; + transition:all 200ms linear; +} +span.tip,p.tip, +.em_num_answers,.dynamic_remaining,.dynamic_sum,.em_sq_validation,.em_other_comment_mandatory,.em_q_fn_validation,.em_regex_validation,.em_sum_range,.em_value_range +{ + -moz-transition: all 500ms linear; + -o-transition: all 500ms linear; + -webkit-transition: all 500ms linear; + transition: all 500ms linear; +} + +/* Print page and survey */ +@mediaprint { + #body{background:#FFF;color:#000;} + #head{background:#FFF;} + a#link-logo{display:none} + h1#sitename{margin:0 0 0.2em 1em;} + .tools{display:none} + #exportbutton{display:none;} + ul#credits{display:none;} + #content{padding-bottom:0;} + .index{display:none} + .printouttable{margin:0.1em auto;} + .printouttitle{display: none;} +} diff --git a/include/limesurvey/templates/skeletonquest/template.js b/include/limesurvey/templates/skeletonquest/template.js new file mode 100644 index 00000000..cebf6da6 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/template.js @@ -0,0 +1,115 @@ +/* This file is part of Lime Survey Template : SkeletonQuest + + Copyright (C) 2010-2013 Denis Chenu for http://sondages.pro + Distributed under GPL 3 licence + Distributed under MIT licence + Inspiration by Skeleton V1.1, Copyright 2011, Dave Gamache, http://www.getskeleton.com under open-source MIT license + Inspiration by Spip-dist http://www.spip.net/ , Collectif SPIP distributed under GPL licence + Inspiration by THE CSS NINJA http://cssn.in/ja/023, Ryan Seddon + Inspiration by Bootstrap http://getbootstrap.com/ under Apache License. + Inspiration by jquery mobile http://jquerymobile.com/ under Dual licensed under the MIT or GPL Version 2 licenses. + Tango Icon Project http://tango.freedesktop.org/ distributed under Public Domain +*/ + +$(document).ready(function(){ + /* Put other input inside label pre 120814 */ +// $('.multiple-opt input.text').each(function(){ +// $(this).parent('li').addClass('other'); +// $(this).appendTo($(this).parent('li').children('label')); +// }); + hovercolumn(); + tableinput(); + addClassEmpty(); + movePrevButton(); + // Opera mini labelling touch + operamini = window.operamini && ({}).toString.call( window.operamini ) === "[object OperaMini]"; + if(operamini){ + $('label > input:checkbox, label > input:radio, input:radio + label, input:checkbox + label').bind('click', function(){ + }); + } +}) + +function navbuttonsJqueryUi(){ + // Just deactivate default jquery-ui button +} +function movePrevButton(){ + if ((screen.width<440)) { + $('#moveprevbtn').insertAfter('#movenextbtn'); + $('
    ').insertAfter('#movenextbtn'); + } +} +// Replace common alert with jquery-ui dialog +function jalert(text) { + var $dialog = $('
    ') + .html(text) + .dialog({ + title: '', + dialogClass: 'alerte', + buttons: { "Ok": function() { $(this).dialog("close"); } }, + modal: true + }); + $dialog.dialog('open'); +} +// Uncomment this part to replace default alert +/*function alert(text) { + jalert(text); +}*/ +// Add empty class to input text and textarea +function addClassEmpty(){ + $('.answers-wrapper input.text[value=""]').addClass('empty'); + $('.answers-wrapper input[type=text][value=""]').addClass('empty'); + $('.answers-wrapper textarea').each(function(index) { + if ($(this).val() == ""){ + $(this).addClass('empty'); + } + }); + $("input.text,input[type=text],textarea").live("blur", function(){ + if ($(this).val() == ""){ + $(this).addClass('empty'); + }else{ + $(this).removeClass('empty'); + } + }); +} +/* Adapt column hover */ +function hovercolumn(){ + $(".question-wrapper:not(.array-flexible-duel-scale) .answers-wrapper table.question").delegate('tbody td','mouseover mouseleave', function(e) { + if (e.type == 'mouseover') { + $(this).closest("table.question").find("col").eq($(this).index()).addClass("hover"); + $(this).closest("table.question").find("thead tr").children().eq($(this).index()).addClass("hover"); + } + else { + $(this).closest("table.question").find("col").eq($(this).index()).removeClass("hover"); + $(this).closest("table.question").find("thead tr").children().eq($(this).index()).removeClass("hover"); + } + }); + $(".array-flexible-duel-scale .answers-wrapper table.question").delegate('tbody td','mouseover mouseleave', function(e) { + if (e.type == 'mouseover') { + $(this).closest("table.question").find("col").eq($(this).index()).addClass("hover"); + $(this).closest("table.question").find("thead tr:not(.groups)").children().eq($(this).index()).addClass("hover"); + } + else { + $(this).closest("table.question").find("col").eq($(this).index()).removeClass("hover"); + $(this).closest("table.question").find("thead tr:not(.groups)").children().eq($(this).index()).removeClass("hover"); + } + }); +} +function tableinput(){ + $(".question-wrapper:not(.array-flexible-duel-scale) .answers-wrapper table.question").delegate('input','focusin focusout', function(e) { + activeindex=$(this).parents('td').index(); + if (e.type == 'focusin') { + $(this).closest("td").addClass("focus"); + $(this).closest("tr").addClass("focus"); + $(this).closest("table.question").find("col").eq(activeindex).addClass("focus"); + $(this).closest("table.question").find("thead tr:not(.groups)").children().eq(activeindex).addClass("focus"); + } + else { + $(this).closest("td").removeClass("focus"); + $(this).closest("tr").removeClass("focus"); + $(this).closest("table.question").find("col").eq(activeindex).removeClass("focus"); + $(this).closest("table.question").find("thead tr:not(.groups)").children().eq(activeindex).removeClass("focus"); + } + }); +} + + diff --git a/include/limesurvey/templates/skeletonquest/ui-icons_222222_256x240.png b/include/limesurvey/templates/skeletonquest/ui-icons_222222_256x240.png new file mode 100644 index 00000000..b273ff11 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/ui-icons_222222_256x240.png differ diff --git a/include/limesurvey/templates/skeletonquest/ui-icons_2e83ff_256x240.png b/include/limesurvey/templates/skeletonquest/ui-icons_2e83ff_256x240.png new file mode 100644 index 00000000..09d1cdc8 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/ui-icons_2e83ff_256x240.png differ diff --git a/include/limesurvey/templates/skeletonquest/ui-icons_454545_256x240.png b/include/limesurvey/templates/skeletonquest/ui-icons_454545_256x240.png new file mode 100644 index 00000000..59bd45b9 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/ui-icons_454545_256x240.png differ diff --git a/include/limesurvey/templates/skeletonquest/ui-icons_888888_256x240.png b/include/limesurvey/templates/skeletonquest/ui-icons_888888_256x240.png new file mode 100644 index 00000000..6d02426c Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/ui-icons_888888_256x240.png differ diff --git a/include/limesurvey/templates/skeletonquest/ui-icons_cd0a0a_256x240.png b/include/limesurvey/templates/skeletonquest/ui-icons_cd0a0a_256x240.png new file mode 100644 index 00000000..2ab019b7 Binary files /dev/null and b/include/limesurvey/templates/skeletonquest/ui-icons_cd0a0a_256x240.png differ diff --git a/include/limesurvey/templates/skeletonquest/uploader.css b/include/limesurvey/templates/skeletonquest/uploader.css new file mode 100644 index 00000000..df8d3cb2 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/uploader.css @@ -0,0 +1,65 @@ +body {font-family: verdana, arial, helvetica, sans-serif;font-size: 12px;color: black; direction: ltr;} +h1 {color: #C7D92C; font-size: 18px; font-weight: 400;} +a { color: white;} +a:hover, a.hover {color: #C7D92C;} +ul { list-style: none; } +#dialog-confirm { padding: 0 20px; float: left; width: 750px; } + +.previewblock { + background-color: #99CCFF; + margin: 10px auto; + padding: 5px 20px; +} + +img { + display: block; + margin: 5px; + border: 0 none; + border-style: solid; +} + +.uploadmsg { + text-align: center; +} + +.uploadstatus { + text-align: center; +} + +.upload-button { + border: 1px solid #79B7E7; + background: url("./images/ui-bg_glass_85_dfeffc_1x400.png") repeat-x scroll 50% 50% #DFEFFC; + color: #5670A1; + font-weight: bold; + outline: medium none; + -moz-border-radius: 5px 5px 5px 5px; + font-family: Verdana,Arial,sans-serif; + font-size: 1em; + float: none; + line-height: 1.4em; + margin: 0.5em 0.4em 0.5em 0; + overflow: visible; + padding: 0.6em 0.6em 0.6em 0.6em; + width: 100px; + text-align: center; +} + +.success, .error { + border: 1px solid; + margin: 15px 200px 20px 200px; + padding:15px 60px 15px 60px; + background-repeat: no-repeat; + background-position: 20px center; +} + +.success { + color: #4F8A10; + background-color: #DFF2BF; + background-image:url('../images/success_notice.png'); +} + +.error { + color: #D8000C; + background-color: #FFBABA; + background-image: url('../images/error_notice.png'); +} diff --git a/include/limesurvey/templates/skeletonquest/welcome.pstpl b/include/limesurvey/templates/skeletonquest/welcome.pstpl new file mode 100644 index 00000000..fb50bfe8 --- /dev/null +++ b/include/limesurvey/templates/skeletonquest/welcome.pstpl @@ -0,0 +1,7 @@ +{CHECKJAVASCRIPT} +
    +
    {LANGUAGECHANGER}
    +

    {SURVEYDESCRIPTION}

    +

    {WELCOME}

    +

    {THEREAREXQUESTIONS}

    +