aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/sass/sass-extensions
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/sass/sass-extensions')
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/DO_NOT_MODIFY17
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/LICENSE.txt274
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/README.txt84
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/lib/zen-grids.rb3
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/stylesheets/_zen.scss3
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_background-grid.scss80
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_grids.scss355
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/project/common.scss57
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/project/example.html67
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/project/layout.scss137
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/project/manifest.rb22
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/project/styles.scss3
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/README.txt16
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/manifest.rb37
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss23
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss32
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss37
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss32
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss26
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss26
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss27
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss60
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss54
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss57
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss27
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css17
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css19
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css25
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css19
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css17
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css17
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css49
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css132
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css73
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css59
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css24
-rw-r--r--97suifangqa/sass/sass-extensions/zen-grids/zen-grids.gemspec58
37 files changed, 2065 insertions, 0 deletions
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/DO_NOT_MODIFY b/97suifangqa/sass/sass-extensions/zen-grids/DO_NOT_MODIFY
new file mode 100644
index 0000000..9219548
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/DO_NOT_MODIFY
@@ -0,0 +1,17 @@
+This is a copy of the "zen-grids" extension.
+
+It now overrides the original which was found here:
+
+/Library/Ruby/Gems/1.8/gems/zen-grids-1.2
+
+Unpacking an extension is useful when you need to easily peruse the
+extension's source. You might find yourself tempted to change the
+stylesheets here. If you do this, you'll find it harder to take
+updates from the original author. Sometimes this seems like a good
+idea at the time, but in a few months, you'll probably regret it.
+
+In the future, if you take an update of this framework, you'll need to run
+
+ compass unpack zen-grids
+
+again or remove this unpacked extension.
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/LICENSE.txt b/97suifangqa/sass/sass-extensions/zen-grids/LICENSE.txt
new file mode 100644
index 0000000..2c095c8
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/LICENSE.txt
@@ -0,0 +1,274 @@
+GNU GENERAL PUBLIC LICENSE
+
+ Version 2, June 1991
+
+Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave,
+Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute
+verbatim copies of this license document, but changing it is not allowed.
+
+ Preamble
+
+The licenses for most software are designed to take away your freedom to
+share and change it. By contrast, the GNU General Public License is
+intended to guarantee your freedom to share and change free software--to
+make sure the software is free for all its users. This General Public License
+applies to most of the Free Software Foundation's software and to any other
+program whose authors commit to using it. (Some other Free Software
+Foundation software is covered by the GNU Library General Public License
+instead.) 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 this service 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 make restrictions that forbid anyone to
+deny you these rights or to ask you to surrender the rights. These restrictions
+translate to certain responsibilities for you if you distribute copies of the
+software, or if you modify it.
+
+For example, if you distribute copies of such a program, whether gratis or for
+a fee, you must give the recipients all the rights that you have. 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.
+
+We protect your rights with two steps: (1) copyright the software, and (2)
+offer you this license which gives you legal permission to copy, distribute
+and/or modify the software.
+
+Also, for each author's protection and ours, we want to make certain that
+everyone understands that there is no warranty for this free software. If the
+software is modified by someone else and passed on, we want its recipients
+to know that what they have is not the original, so that any problems
+introduced by others will not reflect on the original authors' reputations.
+
+Finally, any free program is threatened constantly by software patents. We
+wish to avoid the danger that redistributors of a free program will individually
+obtain patent licenses, in effect making the program proprietary. To prevent
+this, we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+The precise terms and conditions for copying, distribution and modification
+follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND
+ MODIFICATION
+
+0. This License applies to any program or other work which contains a notice
+placed by the copyright holder saying it may be distributed under the terms
+of this General Public License. The "Program", below, refers to any such
+program or work, and a "work based on the Program" means either the
+Program or any derivative work under copyright law: that is to say, a work
+containing the Program or a portion of it, either verbatim or with
+modifications and/or translated into another language. (Hereinafter, translation
+is included without limitation in the term "modification".) Each licensee is
+addressed as "you".
+
+Activities other than copying, distribution and modification are not covered
+by this License; they are outside its scope. The act of running the Program is
+not restricted, and the output from the Program is covered only if its contents
+constitute a work based on the Program (independent of having been made
+by running the Program). Whether that is true depends on what the Program
+does.
+
+1. You may copy and distribute 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 and
+disclaimer of warranty; keep intact all the notices that refer to this License
+and to the absence of any warranty; and give any other recipients of the
+Program a copy of this License along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and you
+may at your option offer warranty protection in exchange for a fee.
+
+2. You may modify your copy or copies of the Program or any portion of it,
+thus forming a work based on the Program, and copy and distribute such
+modifications or work under the terms of Section 1 above, provided that you
+also meet all of these conditions:
+
+a) You must cause the modified files to carry prominent notices stating that
+you changed the files and the date of any change.
+
+b) You must cause any work that you distribute or publish, that in whole or in
+part contains or is derived from the Program or any part thereof, to be
+licensed as a whole at no charge to all third parties under the terms of this
+License.
+
+c) If the modified program normally reads commands interactively when run,
+you must cause it, when started running for such interactive use in the most
+ordinary way, to print or display an announcement including an appropriate
+copyright notice and a notice that there is no warranty (or else, saying that
+you provide a warranty) and that users may redistribute the program under
+these conditions, and telling the user how to view a copy of this License.
+(Exception: if the Program itself is interactive but does not normally print such
+an announcement, your work based on the Program is not required to print
+an announcement.)
+
+These requirements apply to the modified work as a whole. If identifiable
+sections of that work are not derived from the Program, and can be
+reasonably considered independent and separate works in themselves, then
+this License, and its terms, do not apply to those sections when you distribute
+them as separate works. But when you distribute the same sections as part
+of a whole which is a work based on the Program, the distribution of the
+whole must be on the terms of this License, whose permissions for other
+licensees extend to the entire whole, and thus to each and every part
+regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest your rights to
+work written entirely by you; rather, the intent is to exercise the right to
+control the distribution of derivative or collective works based on the
+Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of a
+storage or distribution medium does not bring the other work under the scope
+of this License.
+
+3. You may copy and distribute the Program (or a work based on it, under
+Section 2) in object code or executable form under the terms of Sections 1
+and 2 above provided that you also do one of the following:
+
+a) Accompany it with the complete corresponding machine-readable source
+code, which must be distributed under the terms of Sections 1 and 2 above
+on a medium customarily used for software interchange; or,
+
+b) Accompany it with a written offer, valid for at least three years, to give
+any third party, for a charge no more than your cost of physically performing
+source distribution, a complete machine-readable copy of the corresponding
+source code, to be distributed under the terms of Sections 1 and 2 above on
+a medium customarily used for software interchange; or,
+
+c) Accompany it with the information you received as to the offer to distribute
+corresponding source code. (This alternative is allowed only for
+noncommercial distribution and only if you received the program in object
+code or executable form with such an offer, in accord with Subsection b
+above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source code
+means all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation and
+installation of the executable. However, as a special exception, the source
+code distributed need not include anything that is normally distributed (in
+either source or binary form) with the major components (compiler, kernel,
+and so on) of the operating system on which the executable runs, unless that
+component itself accompanies the executable.
+
+If distribution of executable or object code is made by offering access to
+copy from a designated place, then offering equivalent access to copy the
+source code from the same place counts as distribution of the source code,
+even though third parties are not compelled to copy the source along with the
+object code.
+
+4. You may not copy, modify, sublicense, or distribute the Program except as
+expressly provided under this License. Any attempt otherwise to copy,
+modify, sublicense or distribute the Program is void, and will automatically
+terminate your rights under this License. However, parties who have received
+copies, or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+5. You are not required to accept this License, since you have not signed it.
+However, nothing else grants you permission to modify or distribute the
+Program or its derivative works. These actions are prohibited by law if you
+do not accept this License. Therefore, by modifying or distributing the
+Program (or any work based on the Program), you indicate your acceptance
+of this License to do so, and all its terms and conditions for copying,
+distributing or modifying the Program or works based on it.
+
+6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these terms and
+conditions. You may not impose any further restrictions on the recipients'
+exercise of the rights granted herein. You are not responsible for enforcing
+compliance by third parties to this License.
+
+7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues), 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 distribute so as to satisfy
+simultaneously your obligations under this License and any other pertinent
+obligations, then as a consequence you may not distribute the Program at all.
+For example, if a patent license would not permit royalty-free redistribution
+of the Program by all those who receive copies directly or indirectly through
+you, then the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply and
+the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any patents or
+other property right claims or to contest validity of any such claims; this
+section has the sole purpose of protecting the integrity of the free software
+distribution system, which is implemented by public license practices. Many
+people have made generous contributions to the wide range of software
+distributed through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing to
+distribute software through any other system and a licensee cannot impose
+that choice.
+
+This section is intended to make thoroughly clear what is believed to be a
+consequence of the rest of this License.
+
+8. If the distribution and/or use of the Program is restricted in certain
+countries either by patents or by copyrighted interfaces, the original copyright
+holder who places the Program under this License may add an explicit
+geographical distribution limitation excluding those countries, so that
+distribution is permitted only in or among countries not thus excluded. In such
+case, this License incorporates the limitation as if written in the body of this
+License.
+
+9. The Free Software Foundation may publish revised and/or new versions
+of the 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
+a version number of this License which applies to it and "any later version",
+you have the option of following the terms and conditions either of that
+version or of any later version published by the Free Software Foundation. If
+the Program does not specify a version number of this License, you may
+choose any version ever published by the Free Software Foundation.
+
+10. If you wish to incorporate parts of the Program into other free programs
+whose distribution conditions are different, write to the author to ask for
+permission. For software which is copyrighted by the Free Software
+Foundation, write to the Free Software Foundation; we sometimes make
+exceptions for this. Our decision will be guided by the two goals of
+preserving the free status of all derivatives of our free software and of
+promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE,
+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.
+
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR
+AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR
+ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE 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.
+
+ END OF TERMS AND CONDITIONS
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/README.txt b/97suifangqa/sass/sass-extensions/zen-grids/README.txt
new file mode 100644
index 0000000..e60f5b0
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/README.txt
@@ -0,0 +1,84 @@
+ABOUT zen-grids
+---------------
+
+Zen Grids is an intuitive, flexible grid system that leverages the natural
+source order of your content to make it easier to create fluid responsive
+designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied
+to an infinite number of layouts, including responsive, adaptive, fluid and
+fixed-width layouts.
+
+
+USAGE
+-----
+
+Here's a simple example: a content column with a sidebar on each side, aligned
+to a 12 column grid.
+
+ @import "zen";
+
+ $zen-gutter-width: 40px; // Set the gutter size. A half-gutter is used on
+ // each side of each column.
+
+ .container {
+ @include zen-grid-container; // Define the container for your grid items.
+ }
+
+ $zen-column-count: 12; // Set the number of grid columns to use in this media
+ // query. You'll likely want a different grid for
+ // different screen sizes.
+
+ @media all and (min-width: 50em) {
+ .sidebar1 {
+ @include zen-grid-item(3, 1); // Span 3 columns starting in 1st column
+ }
+ .content {
+ @include zen-grid-item(6, 4); // Span 6 columns starting in 4th column
+ }
+ .sidebar2 {
+ @include zen-grid-item(3, 10); // Span 3 columns starting in 10th column
+ }
+ }
+
+Within the .container element, the .sidebar1, .sidebar2 and .content elements
+can be in any order.
+
+Zen Grids has built-in support for the Box-sizing Polyfill which adds
+"box-sizing: border-box" support to IE7 and earlier.
+
+- Download the polyfill at https://github.com/Schepp/box-sizing-polyfill
+- Place the boxsizing.htc file in your website.
+- Set Zen Grids' $box-sizing-polyfill-path variable to the absolute path to the
+ boxsizing.htc file on your website. For example:
+ $box-sizing-polyfill-path: "/scripts/polyfills/boxsizing.htc";
+
+
+INSTALLATION
+------------
+
+Zen grids is distributed as a Ruby Gem. On your computer, simply run:
+
+ sudo gem install zen-grids
+
+If you are using Compass (and you should!) then you can add it to an existing
+project by editing the project's configuration file, config.rb, and adding this
+line:
+
+ require 'zen-grids'
+
+You can then start using Zen Grids in your Sass files. Just add this line to one
+of your .sass or .scss files and start creating!
+
+ @import "zen";
+
+
+REQUIREMENTS
+------------
+
+- Sass 3.1 or later
+- Compass 0.11 or later
+
+
+LICENSE
+-------
+
+Available under the GPL v2 license. See LICENSE.txt.
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/lib/zen-grids.rb b/97suifangqa/sass/sass-extensions/zen-grids/lib/zen-grids.rb
new file mode 100644
index 0000000..d16a96e
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/lib/zen-grids.rb
@@ -0,0 +1,3 @@
+require 'compass'
+extension_path = File.expand_path(File.join(File.dirname(__FILE__), ".."))
+Compass::Frameworks.register('zen-grids', :path => extension_path)
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/_zen.scss b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/_zen.scss
new file mode 100644
index 0000000..283f2ee
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/_zen.scss
@@ -0,0 +1,3 @@
+// Import the partial for Zen Grids.
+
+@import "zen/grids";
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_background-grid.scss b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_background-grid.scss
new file mode 100644
index 0000000..4510125
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_background-grid.scss
@@ -0,0 +1,80 @@
+@import "zen/grids";
+
+// Specify the column background color.
+$bg-grid-color: #ffdede !default;
+
+
+//
+// This mixin currently requires the following markup at the top of the responsive container (e.g. body or div#page, etc.).
+// <p class="bg-grid">
+// <span class="bgcol-1">1</span><span class="bgcol-2">2</span><span class="bgcol-3">3</span><span class="bgcol-4">4</span><span class="bgcol-5">5</span><span class="bgcol-6">6</span><span class="bgcol-7">7</span><span class="bgcol-8">8</span><span class="bgcol-9">9</span><span class="bgcol-10">10</span><span class="bgcol-11">11</span><span class="bgcol-12">12</span><span class="bgcol-13">13</span><span class="bgcol-14">14</span><span class="bgcol-15">15</span><span class="bgcol-16">16</span><span class="bgcol-17">17</span><span class="bgcol-18">18</span><span class="bgcol-19">19</span><span class="bgcol-20">20</span><span class="bgcol-21">21</span><span class="bgcol-22">22</span><span class="bgcol-23">23</span><span class="bgcol-24">24</span><span class="bgcol-25">25</span><span class="bgcol-26">26</span><span class="bgcol-27">27</span><span class="bgcol-28">28</span><span class="bgcol-29">29</span><span class="bgcol-30">30</span>
+// <span class="bgcolrev-1">1</span><span class="bgcolrev-2">2</span><span class="bgcolrev-3">3</span><span class="bgcolrev-4">4</span><span class="bgcolrev-5">5</span><span class="bgcolrev-6">6</span><span class="bgcolrev-7">7</span><span class="bgcolrev-8">8</span><span class="bgcolrev-9">9</span><span class="bgcolrev-10">10</span><span class="bgcolrev-11">11</span><span class="bgcolrev-12">12</span><span class="bgcolrev-13">13</span><span class="bgcolrev-14">14</span><span class="bgcolrev-15">15</span><span class="bgcolrev-16">16</span><span class="bgcolrev-17">17</span><span class="bgcolrev-18">18</span><span class="bgcolrev-19">19</span><span class="bgcolrev-20">20</span><span class="bgcolrev-21">21</span><span class="bgcolrev-22">22</span><span class="bgcolrev-23">23</span><span class="bgcolrev-24">24</span><span class="bgcolrev-25">25</span><span class="bgcolrev-26">26</span><span class="bgcolrev-27">27</span><span class="bgcolrev-28">28</span><span class="bgcolrev-29">29</span><span class="bgcolrev-30">30</span>
+// </p>
+//
+@mixin -experimental-bg-grid(
+ $column-count: $zen-column-count,
+ $gutter-width: $zen-gutter-width,
+ $grid-color: $bg-grid-color,
+ $grid-width: $zen-grid-width,
+ $flow-direction: $zen-float-direction
+) {
+
+ // Internal variables.
+ $dir: $flow-direction;
+ @if $zen-reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ $rev: zen-direction-flip($dir);
+
+ $font-size: 16px;
+ $line-height: 24px;
+ $color-bg: #fff;
+
+ @include zen-grid-container;
+ position: absolute;
+ position: fixed;
+ z-index: -1;
+ margin-left: auto;
+ margin-right: auto;
+ width: $grid-width;
+ height: 100%;
+ font-size: $font-size;
+ line-height: $line-height;
+ font-weight: bold;
+ font-family: sans-serif;
+ background-color: $color-bg;
+
+ span {
+ @include zen-grid-item-base;
+ padding: 0;
+ text-align: center;
+ color: $color-bg;
+ @include text-shadow(darken($grid-color, 75%) 0 0 4px);
+ }
+ @for $i from 1 through $column-count {
+ .bgcol-#{$i} {
+ @include zen-grid-item(1, $i, $column-count: $column-count, $gutter-width: $gutter-width, $float-direction: $dir, $auto-include-item-base: false);
+ display: block; // Override display: none applied for grids with different column numbers.
+ height: 100%;
+ margin-bottom: -($line-height);
+ background-color: $grid-color;
+ border: {
+ left: zen-half-gutter($gutter-width) solid $color-bg;
+ right: zen-half-gutter($gutter-width) solid $color-bg;
+ }
+ }
+ .bgcolrev-#{$i} {
+ @if $i == 1 {
+ @include zen-clear();
+ }
+ @include zen-grid-item(1, $i, $column-count: $column-count, $gutter-width: $gutter-width, $float-direction: $rev, $auto-include-item-base: false);
+ display: block; // Override display: none applied for grids with different column numbers.
+ }
+ }
+ @for $i from ($column-count + 1) through 30 {
+ .bgcol-#{$i},
+ .bgcolrev-#{$i} {
+ display: none;
+ }
+ }
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_grids.scss b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_grids.scss
new file mode 100644
index 0000000..6310e7f
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/stylesheets/zen/_grids.scss
@@ -0,0 +1,355 @@
+//
+// Mixins for the Zen Grids system.
+//
+
+
+// Specify the number of columns in the grid.
+$zen-column-count: 1 !default;
+
+// Specify the width of the gutters; half of the gutter will be placed on each
+// side of a grid column.
+$zen-gutter-width: 20px !default;
+
+// You can generate more efficient CSS if you manually apply the
+// zen-grid-item-base mixin to all grid items from within a single ruleset.
+$zen-auto-include-item-base: true !default;
+$zen-auto-include-flow-item-base: true !default;
+
+// Specify the width of the entire grid. Defaults to 100% for a fluid responsive
+// design, but you can change this to a pixel value if you need a fixed grid.
+$zen-grid-width: 100% !default;
+
+// The box-sizing polyfill for IE6/7 requires an absolute path to the
+// boxsizing.htc file. See https://github.com/Schepp/box-sizing-polyfill
+$box-sizing-polyfill-path: "" !default;
+
+// Specify the CSS3 box-sizing method. The default, "border-box", is compatible
+// with all modern browsers, including IE 8 and later. Use "content-box" for
+// wider compatibility (Note: you'll also need to set $legacy-support-for-ie7
+// and $legacy-support-for-ie6 to true.)
+$zen-box-sizing: border-box !default;
+
+// Turn off IE6/7 support since we're defaulting to box-sizing: border-box.
+$legacy-support-for-ie7: false !default;
+$legacy-support-for-ie6: false !default;
+
+// Specify the default floating direction for zen's mixins.
+$zen-float-direction: left !default;
+
+// This is a helper variable for RTL layouts.
+$zen-reverse-all-floats: false !default;
+
+
+//
+// Apply this to the grid container element.
+//
+@mixin zen-grid-container () {
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ *position: relative; // @TODO: This is a pre-IE8 line of code; don't remember why its needed.
+ }
+ // We use the "micro clearfix", instead of Compass' clearfix or pie-clearfix.
+ &:before,
+ &:after {
+ content: "";
+ display: table;
+ }
+ &:after {
+ clear: both;
+ }
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ *zoom: 1;
+ }
+}
+
+//
+// Apply this to any grid item that is also a grid container element for a
+// nested grid. It must be applied after the zen-grid-item() mixin.
+//
+@mixin zen-nested-container () {
+ padding: {
+ left: 0;
+ right: 0;
+ }
+}
+
+//
+// Apply this to each grid item. Set the $column-span to the number of columns
+// that the grid item spans. And set the $column-position to the column number
+// the grid item starts on.
+//
+// For grid items that are floated right, the $column-position is counted
+// from the right instead of from the left.
+//
+@mixin zen-grid-item (
+ $column-span,
+ $column-position,
+ $float-direction: $zen-float-direction,
+ $column-count: $zen-column-count,
+ $gutter-width: $zen-gutter-width,
+ $grid-width: $zen-grid-width,
+ $box-sizing: $zen-box-sizing,
+ $reverse-all-floats: $zen-reverse-all-floats,
+ $auto-include-item-base: $zen-auto-include-item-base
+) {
+
+ // Calculate the unit width.
+ $unit-width: zen-unit-width($column-count, $grid-width);
+
+ // Determine the float direction and its reverse.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ $rev: zen-direction-flip($dir);
+
+ float: $dir;
+ $width: $column-span * $unit-width;
+ @if $box-sizing == content-box {
+ @if not comparable($width, $gutter-width) {
+ $units-gutter: unit($gutter-width);
+ $units-grid: unit($grid-width);
+ @warn "The layout cannot be calculated correctly; when using box-sizing: content-box, the units of the gutter (#{$units-gutter} did not match the units of the grid width (#{$units-grid}).";
+ }
+ $width: $width - $gutter-width;
+ }
+ width: $width;
+ margin: {
+ #{$dir}: ($column-position - 1) * $unit-width;
+ #{$rev}: (1 - $column-position - $column-span) * $unit-width;
+ }
+
+ // Auto-apply the unit base mixin.
+ @if $auto-include-item-base {
+ @include zen-grid-item-base($gutter-width, $box-sizing);
+ }
+}
+
+//
+// Applies a standard set of properites to all grid items in the layout.
+//
+// See the note about the $zen-auto-include-item-base and
+// $zen-auto-include-flow-item-base variables for when to use this mixin.
+//
+// The mixin has the following optional parameters, but its better to use the
+// $zen-gutter-width and $zen-box-sizing variables instead:
+// - $gutter-width: Half of this value is applied as padding to the left and
+// right sides of the item.
+// - $box-sizing: The type of CSS3 box model each box should use. Can be set to
+// content-box or border-box. Defaults to content-box, but border-box is way
+// cooler. IE 6 and 7 don't support border-box.
+@mixin zen-grid-item-base (
+ $gutter-width: $zen-gutter-width,
+ $box-sizing: $zen-box-sizing,
+ $flow-direction: $zen-float-direction,
+ $reverse-all-flows: $zen-reverse-all-floats
+) {
+
+ $dir: $flow-direction;
+ @if $reverse-all-flows {
+ $dir: zen-direction-flip($dir);
+ }
+
+ padding: {
+ left: zen-half-gutter($gutter-width, left, $dir);
+ right: zen-half-gutter($gutter-width, right, $dir);
+ }
+ // Specify the border-box properties.
+ @if $box-sizing == border-box {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ }
+ // Prevent borders since they'll break the layout with content-box.
+ @if $box-sizing == content-box {
+ border: 0 !important;
+ }
+ // Prevent overflowing content from being hidden beneath other grid items.
+ word-wrap: break-word; // A very nice CSS3 property.
+
+ @if ($legacy-support-for-ie6 or $legacy-support-for-ie7) {
+ @if $box-sizing == border-box and $box-sizing-polyfill-path == "" {
+ @warn "IE legacy support is on, but $box-sizing is set to #{$box-sizing} and the $box-sizing-polyfill-path is empty.";
+ }
+ @if $box-sizing-polyfill-path != "" {
+ *behavior: url($box-sizing-polyfill-path);
+ }
+ @if $legacy-support-for-ie6 {
+ _display: inline; // Display inline or double your floated margin! [1]
+ _overflow: hidden; // Prevent overflowing content from breaking the layout.
+ _overflow-y: visible; // In IE6, overflow visible is broken [2]
+ // 1. http://www.positioniseverything.net/explorer/doubled-margin.html
+ // 2. http://www.howtocreate.co.uk/wrongWithIE/?chapter=overflow%3Avisible%3B
+ }
+ }
+}
+
+//
+// Apply this to content boxes that need to be cleared below other content boxes.
+//
+@mixin zen-clear (
+ $float-direction: $zen-float-direction,
+ $reverse-all-floats: $zen-reverse-all-floats
+) {
+ // Determine the float direction.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ clear: $dir;
+}
+
+//
+// Apply this to flow items that need to be floated.
+//
+@mixin zen-float (
+ $float-direction: $zen-float-direction,
+ $reverse-all-floats: $zen-reverse-all-floats
+) {
+ // Determine the float direction.
+ $dir: $float-direction;
+ @if $reverse-all-floats {
+ $dir: zen-direction-flip($dir);
+ }
+ float: $dir;
+}
+
+//
+// Apply this to an HTML item that is in the normal flow of a document to help
+// align it to the grid. Set the $column-span to the number of columns that the
+// HTML element should span. For responsive layouts with a percentage-based grid
+// width, set the $parent-column-count to the number of columns that the parent
+// element spans; fixed-unit layouts using px, em, etc. do not need to specify
+// this.
+//
+// Unlike the zen-grid-item() mixin, this mixin does not float the HTML item; it
+// also does not have a half-gutter on each side. By default, it has no gutter
+// in the "alpha position" (the left side) and a full gutter in the "omega
+// position" (the right side.) You can turn on or off the alpha and omega
+// gutters by setting the $alpha-gutter and $omega-gutter parameters to true or
+// false.
+//
+// Note: when the $flow-direction is set to right (for RTL languages), the alpha
+// position is on the right and the omega position is on the left.
+//
+@mixin zen-grid-flow-item (
+ $column-span,
+ $parent-column-count: false,
+ $alpha-gutter: false,
+ $omega-gutter: true,
+ $flow-direction: $zen-float-direction,
+ $column-count: $zen-column-count,
+ $gutter-width: $zen-gutter-width,
+ $grid-width: $zen-grid-width,
+ $box-sizing: $zen-box-sizing,
+ $reverse-all-flows: $zen-reverse-all-floats,
+ $auto-include-flow-item-base: $zen-auto-include-flow-item-base
+) {
+
+ $columns: $column-count;
+ @if unit($grid-width) == "%" {
+ @if $parent-column-count == false {
+ @warn "For responsive layouts with a percentage-based grid width, you must set the $column-count to the number of columns that the parent element spans.";
+ }
+ @else {
+ $columns: $parent-column-count;
+ }
+ }
+
+ $dir: $flow-direction;
+ @if $reverse-all-flows {
+ $dir: zen-direction-flip($dir);
+ }
+ $rev: zen-direction-flip($dir);
+
+ // Calculate the item's width.
+ $width: zen-grid-item-width($column-span, $columns, $grid-width);
+ @if $box-sizing == content-box {
+ @if not comparable($width, $gutter-width) {
+ $units-gutter: unit($gutter-width);
+ $units-grid: unit($grid-width);
+ @warn "The layout cannot be calculated correctly; when using box-sizing: content-box, the units of the gutter (#{$units-gutter} did not match the units of the grid width (#{$units-grid}).";
+ }
+ $width: $width - $gutter-width;
+ }
+ width: $width;
+
+ // Auto-apply the unit base mixin.
+ @if $auto-include-flow-item-base {
+ @include zen-grid-item-base($gutter-width, $box-sizing);
+ }
+
+ // Ensure the HTML item either has a full gutter or no gutter on each side.
+ padding-#{$dir}: 0;
+ @if $alpha-gutter {
+ margin-#{$dir}: $gutter-width;
+ }
+ $offset: ($columns - $column-span) * $gutter-width / $columns;
+ padding-#{$rev}: $offset;
+ @if $omega-gutter {
+ margin-#{$rev}: $gutter-width - $offset;
+ }
+ @else {
+ margin-#{$rev}: -($offset);
+ }
+}
+
+
+//
+// Helper functions for the Zen mixins.
+//
+
+// Returns a half gutter width.
+@function zen-half-gutter(
+ $gutter-width: $zen-gutter-width,
+ $gutter-side: $zen-float-direction,
+ $flow-direction: $zen-float-direction
+) {
+ $half-gutter: $gutter-width / 2;
+ // Special handling in case gutter has an odd number of pixels.
+ @if unit($gutter-width) == "px" {
+ @if $gutter-side == $flow-direction {
+ @return floor($half-gutter);
+ }
+ @else {
+ @return ceil($half-gutter);
+ }
+ }
+ @return $half-gutter;
+}
+
+// Calculates the unit width of a column.
+@function zen-unit-width (
+ $column-count: $zen-column-count,
+ $grid-width: $zen-grid-width
+) {
+ $unit-width: $grid-width / $column-count;
+ @if unit($unit-width) == "px" and floor($unit-width) != ceil($unit-width) {
+ @warn "You may experience rounding errors as the grid width, #{$grid-width}, does not divide evenly into #{$column-count} columns.";
+ }
+ @return $unit-width;
+}
+
+// Calculates the width of a grid item that spans the specified number of columns.
+@function zen-grid-item-width (
+ $column-span,
+ $column-count: $zen-column-count,
+ $grid-width: $zen-grid-width
+) {
+ @return $column-span * zen-unit-width($column-count, $grid-width);
+}
+
+// Returns the opposite direction, given "left" or "right".
+@function zen-direction-flip($dir) {
+ @if $dir == left {
+ @return right;
+ }
+ @else if $dir == right {
+ @return left;
+ }
+ @else if $dir == none or $dir == both {
+ @return $dir;
+ }
+ @warn "Invalid direction passed to zen-direction-flip().";
+ @return both;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/project/common.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/common.scss
new file mode 100644
index 0000000..d295958
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/common.scss
@@ -0,0 +1,57 @@
+// Ideally, variables should be initialized in a partial. We're setting it here
+// to make the mixin usage more transparent.
+$gutter-width: 10px;
+
+
+// Skip link styling
+#skip-link {
+ margin: 0;
+
+ a,
+ a:visited {
+ display: block;
+ width: 100%;
+ padding: 2px 0 3px 0;
+ text-align: center;
+ background-color: #666;
+ color: #fff;
+ }
+}
+
+// Set a consistent padding around all containers
+#header,
+#content,
+#main-menu,
+#aside1,
+#aside2,
+#footer {
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: $gutter-width;
+}
+
+// Alternate border styling
+#header,
+#main-menu,
+#aside2 {
+ border: 1px solid #ccc;
+}
+#content,
+#aside1,
+#footer {
+ border: 1px solid #09f;
+}
+
+// Source-order meta info
+header h1,
+header h2 {
+ display: inline;
+}
+header p {
+ display: inline;
+ text-transform: uppercase;
+ font-size: 0.8em;
+ color: #c00;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/project/example.html b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/example.html
new file mode 100644
index 0000000..38e798c
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/example.html
@@ -0,0 +1,67 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <title>Zen Grids: sample usage</title>
+ <link rel="stylesheet" href="stylesheets/styles.css" media="all">
+</head>
+<body>
+
+<p id="skip-link">
+<a href="#main-menu">Jump to main menu</a>
+</p>
+
+<header id="header">
+ <h1>Zen Grids: sample usage</h1>
+</header>
+
+<div id="main">
+
+ <article id="content" role="main">
+ <header>
+ <h1>Main content</h1>
+ <p>Source order: 1</p>
+ </header>
+ <aside>‘There’s no such thing!’</aside>
+ <p>Alice did not quite know what to say to this: so she helped herself to some tea and bread-and-butter, and then turned to the Dormouse, and repeated her question. ‘Why did they live at the bottom of a well?’</p>
+ <p>The Dormouse again took a minute or two to think about it, and then said, ‘It was a treacle-well.’</p>
+ <p>‘There’s no such thing!’ Alice was beginning very angrily, but the Hatter and the March Hare went ‘Sh! sh!’ and the Dormouse sulkily remarked, ‘If you can’t be civil, you’d better finish the story for yourself.’</p>
+ <p>‘No, please go on!’ Alice said very humbly; ‘I won’t interrupt again. I dare say there may be ONE.’</p>
+ </article>
+
+ <nav id="main-menu" role="navigation">
+ <header>
+ <h2>Menu</h2>
+ <p>Source order: 2</p>
+ </header>
+ <a href="#">Alice</a> ★
+ <a href="#">Mad Hatter</a> ★
+ <a href="#">The Queen</a> ★
+ <a href="#">Tom Petty</a>
+ </nav>
+
+ <aside id="aside1">
+ <header>
+ <h2>Aside</h2>
+ <p>Source order: 3</p>
+ </header>
+ <p>‘Have some wine,’ the March Hare said in an encouraging tone.</p>
+ </aside>
+
+ <aside id="aside2">
+ <header>
+ <h2>Aside</h2>
+ <p>Source order: 4</p>
+ </header>
+ <p>‘Please would you tell me,’ said Alice, a little timidly, for she was not quite sure whether it was good manners for her to speak first, ‘why your cat grins like that?’</p>
+ <p>‘It’s a Cheshire cat,’ said the Duchess, ‘and that’s why. Pig!’</p>
+ </aside>
+
+</div>
+
+<footer id="footer">
+ <small>© 2012. The small print.</small>
+</footer>
+
+</body>
+</html>
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/project/layout.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/layout.scss
new file mode 100644
index 0000000..73a9242
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/layout.scss
@@ -0,0 +1,137 @@
+// Ideally, variables should be initialized in a partial. We're setting
+// variables here to make the mixin usage more transparent.
+$legacy-support-for-ie6: false;
+$legacy-support-for-ie7: false;
+
+// Import Zen Grids.
+@import "zen";
+
+$zen-column-count: 12;
+$zen-gutter-width: 20px;
+
+
+//
+// Skip link styling
+//
+@media all and (min-width: 480px) {
+ #skip-link a {
+ position: absolute !important;
+ height: 1px;
+ width: 1px;
+ overflow: hidden;
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ clip: rect(1px 1px 1px 1px); // IE6 and IE7 use the wrong syntax.
+ }
+ clip: rect(1px, 1px, 1px, 1px);
+
+ &:active,
+ &:focus {
+ position: static !important;
+ clip: auto;
+ height: auto;
+ width: auto;
+ overflow: auto;
+ }
+ }
+}
+
+#header,
+#main,
+#footer {
+ margin: {
+ left: auto;
+ right: auto;
+ }
+ max-width: 1100px;
+}
+
+#main {
+ @include zen-grid-container();
+}
+
+#content aside {
+ font-weight: bold;
+ font-style: italic;
+ font-size: 1.2em;
+ @include zen-grid-flow-item(1, 3);
+ float: left;
+ margin: {
+ top: (1em/1.2);
+ bottom: (1em/1.2);
+ }
+}
+
+//
+// Horizontal navigation bar
+@media all and (min-width: 480px) {
+ $zen-column-count: 1;
+ $navbar-height: 4em;
+
+ #main {
+ padding-top: $navbar-height;
+ }
+ #main-menu {
+ @include zen-grid-item(1, 1);
+ margin-top: -$navbar-height;
+ height: $navbar-height;
+ }
+}
+
+@media all and (min-width: 480px) and (max-width: 639px) {
+ $zen-column-count: 2;
+
+ #content {
+ @include zen-grid-item(2, 1);
+ }
+ #aside1 {
+ @include zen-clear(); // Clear left-floated elements (#content)
+ @include zen-grid-item(1, 1);
+ }
+ #aside2 {
+ @include zen-grid-item(1, 2);
+ }
+}
+
+@media all and (min-width: 640px) and (max-width: 799px) {
+ $zen-column-count: 3;
+
+ #content {
+ @include zen-grid-item(2, 1);
+ }
+ #aside1 {
+ @include zen-grid-item(1, 1, right); // Position from the right
+ }
+ #aside2 {
+ @include zen-clear(); // Clear left-floated elements (#content)
+ @include zen-grid-item(2, 1);
+ }
+}
+
+@media all and (min-width: 800px) and (max-width: 959px) {
+ $zen-column-count: 3;
+
+ #content {
+ @include zen-grid-item(2, 1);
+ }
+ #aside1 {
+ @include zen-grid-item(1, 1, right); // Position from the right
+ }
+ #aside2 {
+ @include zen-clear(right); // Clear right-floated elements (#aside1)
+ @include zen-grid-item(1, 1, right);
+ }
+}
+
+@media all and (min-width: 960px) {
+ $zen-column-count: 5;
+
+ #content {
+ @include zen-grid-item(3, 2);
+ }
+ #aside1 {
+ @include zen-grid-item(1, 1);
+ }
+ #aside2 {
+ @include zen-grid-item(1, 5);
+ }
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/project/manifest.rb b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/manifest.rb
new file mode 100644
index 0000000..464cf51
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/manifest.rb
@@ -0,0 +1,22 @@
+description "The Zen Grids system."
+
+stylesheet 'common.scss', :media => 'all'
+stylesheet 'layout.scss', :media => 'all'
+stylesheet 'styles.scss', :media => 'all'
+
+html 'example.html'
+
+help %Q{
+Zen Grids is an intuitive, flexible grid system that leverages the natural source order of your content to make it easier to create fluid responsive designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied to an infinite number of layouts, including responsive, adaptive, fluid and fixed-width layouts. To learn more, visit:
+
+ http://zengrids.com
+}
+
+welcome_message %Q{
+You rock! The Zen Grids system is now installed on your computer. Go check out
+how to use the system at:
+
+ http://zengrids.com
+
+It's easy!
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/project/styles.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/styles.scss
new file mode 100644
index 0000000..8d80dc0
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/project/styles.scss
@@ -0,0 +1,3 @@
+// Aggregate all the stylesheets into one file.
+@import "common.scss";
+@import "layout.scss";
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/README.txt b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/README.txt
new file mode 100644
index 0000000..2efa8cd
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/README.txt
@@ -0,0 +1,16 @@
+UNIT TESTS FOR ZEN GRIDS
+------------------------
+
+To run the unit tests for Zen Grids:
+
+1. Create a "tests" Compass project using the unit-tests pattern:
+
+ compass create tests -r zen-grids --using=zen-grids/unit-tests
+
+2. From inside the "tests" project, compare the compiled stylesheets to the
+ previous unit test results in the test-results directory:
+
+ diff -r test-results/ stylesheets/
+
+ If the unit tests were successful, the above command should report no
+ differences.
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/manifest.rb b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/manifest.rb
new file mode 100644
index 0000000..43ce288
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/manifest.rb
@@ -0,0 +1,37 @@
+description "Unit tests for the Zen Grids system."
+
+stylesheet 'sass/function-zen-direction-flip.scss', :media => 'all', :to => 'function-zen-direction-flip.scss'
+stylesheet 'sass/function-zen-grid-item-width.scss', :media => 'all', :to => 'function-zen-grid-item-width.scss'
+stylesheet 'sass/function-zen-half-gutter.scss', :media => 'all', :to => 'function-zen-half-gutter.scss'
+stylesheet 'sass/function-zen-unit-width.scss', :media => 'all', :to => 'function-zen-unit-width.scss'
+stylesheet 'sass/zen-clear.scss', :media => 'all', :to => 'zen-clear.scss'
+stylesheet 'sass/zen-float.scss', :media => 'all', :to => 'zen-float.scss'
+stylesheet 'sass/zen-grid-container.scss', :media => 'all', :to => 'zen-grid-container.scss'
+stylesheet 'sass/zen-grid-flow-item.scss', :media => 'all', :to => 'zen-grid-flow-item.scss'
+stylesheet 'sass/zen-grid-item-base.scss', :media => 'all', :to => 'zen-grid-item-base.scss'
+stylesheet 'sass/zen-grid-item.scss', :media => 'all', :to => 'zen-grid-item.scss'
+stylesheet 'sass/zen-nested-container.scss', :media => 'all', :to => 'zen-nested-container.scss'
+
+file 'test-results/function-zen-direction-flip.css'
+file 'test-results/function-zen-grid-item-width.css'
+file 'test-results/function-zen-half-gutter.css'
+file 'test-results/function-zen-unit-width.css'
+file 'test-results/zen-clear.css'
+file 'test-results/zen-float.css'
+file 'test-results/zen-grid-container.css'
+file 'test-results/zen-grid-flow-item.css'
+file 'test-results/zen-grid-item-base.css'
+file 'test-results/zen-grid-item.css'
+file 'test-results/zen-nested-container.css'
+
+file 'README.txt'
+
+help %Q{
+To run the unit tests, simply run "compass compile" and compare the generated
+CSS to those in the results directory.
+ diff -r results css
+}
+
+welcome_message %Q{
+You rock! The unit tests for the Zen Grids system are now installed.
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss
new file mode 100644
index 0000000..26d9cbb
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-direction-flip.scss
@@ -0,0 +1,23 @@
+/**
+ * @file
+ * Test zen-direction-flip()
+ */
+
+@import "zen";
+
+#test-zen-direction-flip {
+ /* Test zen-direction-flip(left) */
+ float: zen-direction-flip(left);
+
+ /* Test zen-direction-flip(right) */
+ float: zen-direction-flip(right);
+
+ /* Test zen-direction-flip(both) */
+ float: zen-direction-flip(both);
+
+ /* Test zen-direction-flip(none) */
+ float: zen-direction-flip(none);
+
+ /* Test zen-direction-flip(invalid) */
+ float: zen-direction-flip(invalid);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss
new file mode 100644
index 0000000..520ba15
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-grid-item-width.scss
@@ -0,0 +1,32 @@
+/**
+ * @file
+ * Test zen-grid-item-width()
+ */
+
+@import "zen";
+
+#test-zen-grid-item-width {
+ /* Test zen-grid-item-width(1) with default $zen-column-count: 1 */
+ width: zen-grid-item-width(1);
+
+ /* Test zen-grid-item-width(2) with $zen-column-count: 5 */
+ $zen-column-count: 5;
+ width: zen-grid-item-width(2);
+ $zen-column-count: 1;
+
+ /* Test zen-grid-item-width(2, 5) */
+ width: zen-grid-item-width(2, 5);
+
+ /* Test zen-grid-item-width(1) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-grid-item-width(1);
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-item-width(2, 5) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-grid-item-width(2, 5);
+ $zen-grid-width: 100%;
+
+ /* Test zen-grid-item-width(2, 5, 100px) */
+ width: zen-grid-item-width(2, 5, 100px);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss
new file mode 100644
index 0000000..e457884
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-half-gutter.scss
@@ -0,0 +1,37 @@
+/**
+ * @file
+ * Test zen-half-gutter()
+ */
+
+@import "zen";
+
+#test-zen-half-gutter {
+ /* Test zen-half-gutter() with default $zen-gutter-width: 20px */
+ padding-left: zen-half-gutter();
+
+ /* Test zen-half-gutter() with $zen-gutter-width: 30px */
+ $zen-gutter-width: 30px;
+ padding-left: zen-half-gutter();
+
+ /* Test zen-half-gutter(10em) */
+ padding-left: zen-half-gutter(10em);
+
+ /* Test zen-half-gutter(11em) */
+ padding-left: zen-half-gutter(11em);
+
+ /* Test zen-half-gutter(10px) */
+ padding-left: zen-half-gutter(10px);
+
+ /* Test zen-half-gutter(11px) */
+ padding-left: zen-half-gutter(11px);
+
+ /* Test zen-half-gutter(11px, right) */
+ padding-left: zen-half-gutter(11px, right);
+
+ /* Test zen-half-gutter(11px) with $zen-float-direction: right */
+ $zen-float-direction: right;
+ padding-left: zen-half-gutter(11px);
+
+ /* Test zen-half-gutter(11px, left) with $zen-float-direction: right */
+ padding-left: zen-half-gutter(11px, left);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss
new file mode 100644
index 0000000..0a89a8f
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/function-zen-unit-width.scss
@@ -0,0 +1,32 @@
+/**
+ * @file
+ * Test zen-unit-width()
+ */
+
+@import "zen";
+
+#test-zen-unit-width {
+ /* Test zen-unit-width() with default $zen-column-count: 1 */
+ width: zen-unit-width();
+
+ /* Test zen-unit-width() with $zen-column-count: 5 */
+ $zen-column-count: 5;
+ width: zen-unit-width();
+ $zen-column-count: 1;
+
+ /* Test zen-unit-width(5) */
+ width: zen-unit-width(5);
+
+ /* Test zen-unit-width() with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-unit-width();
+ $zen-grid-width: 100%;
+
+ /* Test zen-unit-width(5) with $zen-grid-width: 100px */
+ $zen-grid-width: 100px;
+ width: zen-unit-width(5);
+ $zen-grid-width: 100%;
+
+ /* Test zen-unit-width(5, 100px) */
+ width: zen-unit-width(5, 100px);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss
new file mode 100644
index 0000000..9a63d7f
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-clear.scss
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * Test zen-clear()
+ */
+
+@import "zen";
+
+#test-zen-clear {
+ /* Test zen-clear() */
+ @include zen-clear();
+
+ /* Test zen-clear() with $zen-float-direction: right */
+ $zen-float-direction: right;
+ @include zen-clear();
+ $zen-float-direction: left;
+
+ /* Test zen-clear(left) */
+ @include zen-clear(left);
+
+ /* Test zen-clear(left, $reverse-all-floats: TRUE) */
+ @include zen-clear(left, $reverse-all-floats: TRUE);
+
+ /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
+ $zen-reverse-all-floats: TRUE;
+ @include zen-clear(left);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss
new file mode 100644
index 0000000..2af83b2
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-float.scss
@@ -0,0 +1,26 @@
+/**
+ * @file
+ * Test zen-float()
+ */
+
+@import "zen";
+
+#test-zen-float {
+ /* Test zen-float() */
+ @include zen-float();
+
+ /* Test zen-float() with $zen-float-direction: right */
+ $zen-float-direction: right;
+ @include zen-float();
+ $zen-float-direction: left;
+
+ /* Test zen-float(left) */
+ @include zen-float(left);
+
+ /* Test zen-float(left, $reverse-all-floats: TRUE) */
+ @include zen-float(left, $reverse-all-floats: TRUE);
+
+ /* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
+ $zen-reverse-all-floats: TRUE;
+ @include zen-float(left);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss
new file mode 100644
index 0000000..a3c7fd9
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-container.scss
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * Test zen-grid-container()
+ */
+
+@import "zen";
+
+#test-zen-grid-container {
+ /* Test zen-grid-container() */
+ @include zen-grid-container();
+}
+
+#test-zen-grid-container-2 {
+ /* Test zen-grid-container() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-grid-container();
+ $legacy-support-for-ie7: false;
+}
+
+#test-zen-grid-container-3 {
+ /* Test zen-grid-container() with $legacy-support-for-ie6: true */
+ $legacy-support-for-ie6: true;
+ $legacy-support-for-ie7: true;
+ @include zen-grid-container();
+ $legacy-support-for-ie6: false;
+ $legacy-support-for-ie7: false;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss
new file mode 100644
index 0000000..5cbce1a
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-flow-item.scss
@@ -0,0 +1,60 @@
+/**
+ * @file
+ * Test zen-grid-flow-item()
+ */
+
+@import "zen";
+
+#test-zen-grid-flow-item {
+ /* Test zen-grid-flow-item(1) without setting $column-count */
+ @include zen-grid-flow-item(1);
+
+ /* Test zen-grid-flow-item(1, 4) with 12 column grid and 20px gutter */
+ @include zen-grid-flow-item(1, 4);
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-float-direction: right */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4, $alpha-gutter: true);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
+ $zen-gutter-width: 15px;
+ @include zen-grid-flow-item(1, 4, $omega-gutter: false);
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
+ @include zen-grid-flow-item(3, 4, $alpha-gutter: true);
+
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
+ @include zen-grid-flow-item(3, 4, $omega-gutter: false);
+
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-flow-item(1, 4, $alpha-gutter: true);
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
+ $zen-gutter-width: 10%;
+ $zen-box-sizing: content-box;
+ @include zen-grid-flow-item(1, 4);
+ $zen-gutter-width: 20px;
+ $zen-box-sizing: border-box;
+
+ /* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
+ $zen-auto-include-flow-item-base: false;
+ @include zen-grid-flow-item(1, 4);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss
new file mode 100644
index 0000000..926ac42
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item-base.scss
@@ -0,0 +1,54 @@
+/**
+ * @file
+ * Test zen-grid-item-base()
+ */
+
+@import "zen";
+
+#test-zen-grid-item-base {
+ /* Test zen-grid-item-base() */
+ @include zen-grid-item-base();
+
+ /* Test zen-grid-item-base() with $zen-box-sizing: content-box */
+ $zen-box-sizing: content-box;
+ @include zen-grid-item-base();
+ $zen-box-sizing: border-box;
+
+ /* Test zen-grid-item-base() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-grid-item-base();
+ $legacy-support-for-ie7: false;
+
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie7: true */
+ $box-sizing-polyfill-path: "/boxsizing.htc";
+ $legacy-support-for-ie7: true;
+ @include zen-grid-item-base();
+ $box-sizing-polyfill-path: "";
+ $legacy-support-for-ie7: false;
+
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie6: true */
+ $box-sizing-polyfill-path: "/boxsizing.htc";
+ $legacy-support-for-ie6: true;
+ @include zen-grid-item-base();
+ $box-sizing-polyfill-path: "";
+ $legacy-support-for-ie6: false;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px */
+ $zen-gutter-width: 15px;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-float-direction: right */
+ $zen-gutter-width: 15px;
+ $zen-float-direction: right;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+ $zen-float-direction: left;
+
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-reverse-all-floats: true */
+ $zen-gutter-width: 15px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item-base();
+ $zen-gutter-width: 20px;
+ $zen-reverse-all-floats: false;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss
new file mode 100644
index 0000000..1309ce1
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-grid-item.scss
@@ -0,0 +1,57 @@
+/**
+ * @file
+ * Test zen-grid-item()
+ */
+
+@import "zen";
+
+#test-zen-grid-item {
+ /* Test zen-grid-item(6, 4) with 12 column grid and 20px gutter */
+ $zen-column-count: 12;
+ @include zen-grid-item(6, 4);
+
+ /* Test zen-grid-item(3, 3) with box-sizing: content-box, 5 column grid and 10% gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 10%;
+ $zen-box-sizing: content-box;
+ @include zen-grid-item(3, 3);
+ $zen-box-sizing: border-box;
+
+ /* Turn off $zen-auto-include-item-base */
+ $zen-auto-include-item-base: false;
+
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3);
+
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3, right);
+
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item(3, 3);
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ $zen-reverse-all-floats: true;
+ @include zen-grid-item(3, 3, right);
+ $zen-reverse-all-floats: false;
+
+ /* Test zen-grid-item(3, 2.5) with 5 column grid and 40px gutter */
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 2.5);
+
+ /* Test zen-grid-item(3, 3) with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ $zen-grid-width: 1000px;
+ $zen-column-count: 5;
+ $zen-gutter-width: 40px;
+ @include zen-grid-item(3, 3);
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss
new file mode 100644
index 0000000..ce4c8dd
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/sass/zen-nested-container.scss
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * Test zen-nested-container()
+ */
+
+@import "zen";
+
+#test-zen-nested-container {
+ /* Test zen-nested-container() */
+ @include zen-nested-container();
+}
+
+#test-zen-nested-container-2 {
+ /* Test zen-nested-container() with $legacy-support-for-ie7: true */
+ $legacy-support-for-ie7: true;
+ @include zen-nested-container();
+ $legacy-support-for-ie7: false;
+}
+
+#test-zen-nested-container-3 {
+ /* Test zen-nested-container() with $legacy-support-for-ie6: true */
+ $legacy-support-for-ie6: true;
+ $legacy-support-for-ie7: true;
+ @include zen-nested-container();
+ $legacy-support-for-ie6: false;
+ $legacy-support-for-ie7: false;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css
new file mode 100644
index 0000000..8330d8d
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-direction-flip.css
@@ -0,0 +1,17 @@
+/**
+ * @file
+ * Test zen-direction-flip()
+ */
+/* line 8, ../sass/function-zen-direction-flip.scss */
+#test-zen-direction-flip {
+ /* Test zen-direction-flip(left) */
+ float: right;
+ /* Test zen-direction-flip(right) */
+ float: left;
+ /* Test zen-direction-flip(both) */
+ float: both;
+ /* Test zen-direction-flip(none) */
+ float: none;
+ /* Test zen-direction-flip(invalid) */
+ float: both;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css
new file mode 100644
index 0000000..402f5d8
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-grid-item-width.css
@@ -0,0 +1,19 @@
+/**
+ * @file
+ * Test zen-grid-item-width()
+ */
+/* line 8, ../sass/function-zen-grid-item-width.scss */
+#test-zen-grid-item-width {
+ /* Test zen-grid-item-width(1) with default $zen-column-count: 1 */
+ width: 100%;
+ /* Test zen-grid-item-width(2) with $zen-column-count: 5 */
+ width: 40%;
+ /* Test zen-grid-item-width(2, 5) */
+ width: 40%;
+ /* Test zen-grid-item-width(1) with $zen-grid-width: 100px */
+ width: 100px;
+ /* Test zen-grid-item-width(2, 5) with $zen-grid-width: 100px */
+ width: 40px;
+ /* Test zen-grid-item-width(2, 5, 100px) */
+ width: 40px;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css
new file mode 100644
index 0000000..6962c21
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-half-gutter.css
@@ -0,0 +1,25 @@
+/**
+ * @file
+ * Test zen-half-gutter()
+ */
+/* line 8, ../sass/function-zen-half-gutter.scss */
+#test-zen-half-gutter {
+ /* Test zen-half-gutter() with default $zen-gutter-width: 20px */
+ padding-left: 10px;
+ /* Test zen-half-gutter() with $zen-gutter-width: 30px */
+ padding-left: 15px;
+ /* Test zen-half-gutter(10em) */
+ padding-left: 5em;
+ /* Test zen-half-gutter(11em) */
+ padding-left: 5.5em;
+ /* Test zen-half-gutter(10px) */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px) */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px, right) */
+ padding-left: 6px;
+ /* Test zen-half-gutter(11px) with $zen-float-direction: right */
+ padding-left: 5px;
+ /* Test zen-half-gutter(11px, left) with $zen-float-direction: right */
+ padding-left: 6px;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css
new file mode 100644
index 0000000..6b3db02
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/function-zen-unit-width.css
@@ -0,0 +1,19 @@
+/**
+ * @file
+ * Test zen-unit-width()
+ */
+/* line 8, ../sass/function-zen-unit-width.scss */
+#test-zen-unit-width {
+ /* Test zen-unit-width() with default $zen-column-count: 1 */
+ width: 100%;
+ /* Test zen-unit-width() with $zen-column-count: 5 */
+ width: 20%;
+ /* Test zen-unit-width(5) */
+ width: 20%;
+ /* Test zen-unit-width() with $zen-grid-width: 100px */
+ width: 100px;
+ /* Test zen-unit-width(5) with $zen-grid-width: 100px */
+ width: 20px;
+ /* Test zen-unit-width(5, 100px) */
+ width: 20px;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css
new file mode 100644
index 0000000..0128bbe
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-clear.css
@@ -0,0 +1,17 @@
+/**
+ * @file
+ * Test zen-clear()
+ */
+/* line 8, ../sass/zen-clear.scss */
+#test-zen-clear {
+ /* Test zen-clear() */
+ clear: left;
+ /* Test zen-clear() with $zen-float-direction: right */
+ clear: right;
+ /* Test zen-clear(left) */
+ clear: left;
+ /* Test zen-clear(left, $reverse-all-floats: TRUE) */
+ clear: right;
+ /* Test zen-clear(left) with: $zen-reverse-all-floats: TRUE; */
+ clear: right;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css
new file mode 100644
index 0000000..ecf87cb
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-float.css
@@ -0,0 +1,17 @@
+/**
+ * @file
+ * Test zen-float()
+ */
+/* line 8, ../sass/zen-float.scss */
+#test-zen-float {
+ /* Test zen-float() */
+ float: left;
+ /* Test zen-float() with $zen-float-direction: right */
+ float: right;
+ /* Test zen-float(left) */
+ float: left;
+ /* Test zen-float(left, $reverse-all-floats: TRUE) */
+ float: right;
+ /* Test zen-float(left) with: $zen-reverse-all-floats: TRUE; */
+ float: right;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css
new file mode 100644
index 0000000..614547c
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-container.css
@@ -0,0 +1,49 @@
+/**
+ * @file
+ * Test zen-grid-container()
+ */
+/* line 8, ../sass/zen-grid-container.scss */
+#test-zen-grid-container {
+ /* Test zen-grid-container() */
+}
+/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container:before, #test-zen-grid-container:after {
+ content: "";
+ display: table;
+}
+/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container:after {
+ clear: both;
+}
+
+/* line 13, ../sass/zen-grid-container.scss */
+#test-zen-grid-container-2 {
+ /* Test zen-grid-container() with $legacy-support-for-ie7: true */
+ *position: relative;
+ *zoom: 1;
+}
+/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container-2:before, #test-zen-grid-container-2:after {
+ content: "";
+ display: table;
+}
+/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container-2:after {
+ clear: both;
+}
+
+/* line 20, ../sass/zen-grid-container.scss */
+#test-zen-grid-container-3 {
+ /* Test zen-grid-container() with $legacy-support-for-ie6: true */
+ *position: relative;
+ *zoom: 1;
+}
+/* line 52, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container-3:before, #test-zen-grid-container-3:after {
+ content: "";
+ display: table;
+}
+/* line 56, /Library/Ruby/Gems/1.8/gems/zen-grids-1.2/stylesheets/zen/_grids.scss */
+#test-zen-grid-container-3:after {
+ clear: both;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css
new file mode 100644
index 0000000..fd77ce6
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-flow-item.css
@@ -0,0 +1,132 @@
+/**
+ * @file
+ * Test zen-grid-flow-item()
+ */
+/* line 8, ../sass/zen-grid-flow-item.scss */
+#test-zen-grid-flow-item {
+ /* Test zen-grid-flow-item(1) without setting $column-count */
+ width: 100%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 0px;
+ margin-right: 20px;
+ /* Test zen-grid-flow-item(1, 4) with 12 column grid and 20px gutter */
+ width: 25%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 15px;
+ margin-right: 5px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter */
+ width: 25%;
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 11.25px;
+ margin-right: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $zen-float-direction: right */
+ width: 25%;
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-right: 0;
+ padding-left: 11.25px;
+ margin-left: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $alpha-gutter: true */
+ width: 25%;
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ margin-left: 15px;
+ padding-right: 11.25px;
+ margin-right: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter and $omega-gutter: false */
+ width: 25%;
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 11.25px;
+ margin-right: -11.25px;
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $alpha-gutter: true */
+ width: 75%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ margin-left: 20px;
+ padding-right: 5px;
+ margin-right: 15px;
+ /* Test zen-grid-flow-item(3, 4) with 20px gutter and $omega-gutter: false */
+ width: 75%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 5px;
+ margin-right: -5px;
+ /* Test zen-grid-flow-item(1, 4) with 15px gutter, $zen-float-direction: right and $alpha-gutter: true */
+ width: 25%;
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ padding-right: 0;
+ margin-right: 15px;
+ padding-left: 11.25px;
+ margin-left: 3.75px;
+ /* Test zen-grid-flow-item(1, 4) with $zen-box-sizing: content-box and 10% gutter */
+ width: 15%;
+ padding-left: 5%;
+ padding-right: 5%;
+ border: 0 !important;
+ word-wrap: break-word;
+ padding-left: 0;
+ padding-right: 7.5%;
+ margin-right: 2.5%;
+ /* Test zen-grid-flow-item(1, 4) with $zen-auto-include-flow-item-base: false */
+ width: 25%;
+ padding-left: 0;
+ padding-right: 15px;
+ margin-right: 5px;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css
new file mode 100644
index 0000000..a3da5c2
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item-base.css
@@ -0,0 +1,73 @@
+/**
+ * @file
+ * Test zen-grid-item-base()
+ */
+/* line 8, ../sass/zen-grid-item-base.scss */
+#test-zen-grid-item-base {
+ /* Test zen-grid-item-base() */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-box-sizing: content-box */
+ padding-left: 10px;
+ padding-right: 10px;
+ border: 0 !important;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $legacy-support-for-ie7: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie7: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/boxsizing.htc");
+ /* Test zen-grid-item-base() with $box-sizing-polyfill-path: "/boxsizing.htc" and $legacy-support-for-ie6: true */
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ *behavior: url("/boxsizing.htc");
+ _display: inline;
+ _overflow: hidden;
+ _overflow-y: visible;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px */
+ padding-left: 7px;
+ padding-right: 8px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-float-direction: right */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item-base() with $zen-gutter-width: 15px and $zen-reverse-all-floats: true */
+ padding-left: 8px;
+ padding-right: 7px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css
new file mode 100644
index 0000000..c01b74f
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-grid-item.css
@@ -0,0 +1,59 @@
+/**
+ * @file
+ * Test zen-grid-item()
+ */
+/* line 8, ../sass/zen-grid-item.scss */
+#test-zen-grid-item {
+ /* Test zen-grid-item(6, 4) with 12 column grid and 20px gutter */
+ float: left;
+ width: 50%;
+ margin-left: 25%;
+ margin-right: -75%;
+ padding-left: 10px;
+ padding-right: 10px;
+ -moz-box-sizing: border-box;
+ -webkit-box-sizing: border-box;
+ -ms-box-sizing: border-box;
+ box-sizing: border-box;
+ word-wrap: break-word;
+ /* Test zen-grid-item(3, 3) with box-sizing: content-box, 5 column grid and 10% gutter */
+ float: left;
+ width: 50%;
+ margin-left: 40%;
+ margin-right: -100%;
+ padding-left: 5%;
+ padding-right: 5%;
+ border: 0 !important;
+ word-wrap: break-word;
+ /* Turn off $zen-auto-include-item-base */
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter */
+ float: left;
+ width: 60%;
+ margin-left: 40%;
+ margin-right: -100%;
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter */
+ float: right;
+ width: 60%;
+ margin-right: 40%;
+ margin-left: -100%;
+ /* Test zen-grid-item(3, 3) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ float: right;
+ width: 60%;
+ margin-right: 40%;
+ margin-left: -100%;
+ /* Test zen-grid-item(3, 3, right) with 5 column grid and 40px gutter and $zen-reverse-all-floats */
+ float: left;
+ width: 60%;
+ margin-left: 40%;
+ margin-right: -100%;
+ /* Test zen-grid-item(3, 2.5) with 5 column grid and 40px gutter */
+ float: left;
+ width: 60%;
+ margin-left: 30%;
+ margin-right: -90%;
+ /* Test zen-grid-item(3, 3) with $zen-grid-width: 1000px, 5 column grid and 40px gutter */
+ float: left;
+ width: 600px;
+ margin-left: 400px;
+ margin-right: -1000px;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css
new file mode 100644
index 0000000..030dc15
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/templates/unit-tests/test-results/zen-nested-container.css
@@ -0,0 +1,24 @@
+/**
+ * @file
+ * Test zen-nested-container()
+ */
+/* line 8, ../sass/zen-nested-container.scss */
+#test-zen-nested-container {
+ /* Test zen-nested-container() */
+ padding-left: 0;
+ padding-right: 0;
+}
+
+/* line 13, ../sass/zen-nested-container.scss */
+#test-zen-nested-container-2 {
+ /* Test zen-nested-container() with $legacy-support-for-ie7: true */
+ padding-left: 0;
+ padding-right: 0;
+}
+
+/* line 20, ../sass/zen-nested-container.scss */
+#test-zen-nested-container-3 {
+ /* Test zen-nested-container() with $legacy-support-for-ie6: true */
+ padding-left: 0;
+ padding-right: 0;
+}
diff --git a/97suifangqa/sass/sass-extensions/zen-grids/zen-grids.gemspec b/97suifangqa/sass/sass-extensions/zen-grids/zen-grids.gemspec
new file mode 100644
index 0000000..c3c851b
--- /dev/null
+++ b/97suifangqa/sass/sass-extensions/zen-grids/zen-grids.gemspec
@@ -0,0 +1,58 @@
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = 'zen-grids'
+
+ s.summary = %q{A Compass plugin for Zen Grids, a fluid responsive grid system}
+ s.description = %q{Zen Grids is an intuitive, flexible grid system that leverages the natural source order of your content to make it easier to create fluid responsive designs. With an easy-to-use Sass mixin set, the Zen Grids system can be applied to an infinite number of layouts, including responsive, adaptive, fluid and fixed-width layouts.}
+
+ s.homepage = 'http://zengrids.com'
+ s.rubyforge_project =
+
+ s.version = '1.2'
+ s.date = '2012-05-04'
+
+ s.authors = ['John Albin Wilkins']
+ s.email = 'virtually.johnalbin@gmail.com'
+
+ s.add_runtime_dependency('sass', ">= 3.1")
+
+ s.files = %w[
+ LICENSE.txt
+ README.txt
+ lib/zen-grids.rb
+ stylesheets/_zen.scss
+ stylesheets/zen/_background-grid.scss
+ stylesheets/zen/_grids.scss
+ templates/project/example.html
+ templates/project/manifest.rb
+ templates/project/common.scss
+ templates/project/layout.scss
+ templates/project/styles.scss
+ templates/unit-tests/manifest.rb
+ templates/unit-tests/README.txt
+ templates/unit-tests/sass/function-zen-direction-flip.scss
+ templates/unit-tests/sass/function-zen-grid-item-width.scss
+ templates/unit-tests/sass/function-zen-half-gutter.scss
+ templates/unit-tests/sass/function-zen-unit-width.scss
+ templates/unit-tests/sass/zen-clear.scss
+ templates/unit-tests/sass/zen-float.scss
+ templates/unit-tests/sass/zen-grid-container.scss
+ templates/unit-tests/sass/zen-grid-flow-item.scss
+ templates/unit-tests/sass/zen-grid-item-base.scss
+ templates/unit-tests/sass/zen-grid-item.scss
+ templates/unit-tests/sass/zen-nested-container.scss
+ templates/unit-tests/test-results/function-zen-direction-flip.css
+ templates/unit-tests/test-results/function-zen-grid-item-width.css
+ templates/unit-tests/test-results/function-zen-half-gutter.css
+ templates/unit-tests/test-results/function-zen-unit-width.css
+ templates/unit-tests/test-results/zen-clear.css
+ templates/unit-tests/test-results/zen-float.css
+ templates/unit-tests/test-results/zen-grid-container.css
+ templates/unit-tests/test-results/zen-grid-flow-item.css
+ templates/unit-tests/test-results/zen-grid-item-base.css
+ templates/unit-tests/test-results/zen-grid-item.css
+ templates/unit-tests/test-results/zen-nested-container.css
+ zen-grids.gemspec
+ ]
+end