aboutsummaryrefslogtreecommitdiffstats
path: root/97suifangqa/sass
diff options
context:
space:
mode:
Diffstat (limited to '97suifangqa/sass')
-rw-r--r--97suifangqa/sass/.gitignore1
-rw-r--r--97suifangqa/sass/LaunchCompass.bat10
-rw-r--r--97suifangqa/sass/config.rb56
-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
-rw-r--r--97suifangqa/sass/sass/README.txt58
-rw-r--r--97suifangqa/sass/sass/_base.scss116
-rw-r--r--97suifangqa/sass/sass/_custom.scss134
-rw-r--r--97suifangqa/sass/sass/blocks.scss108
-rw-r--r--97suifangqa/sass/sass/blog.scss985
-rw-r--r--97suifangqa/sass/sass/comments.scss84
-rw-r--r--97suifangqa/sass/sass/elements.scss256
-rw-r--r--97suifangqa/sass/sass/fields.scss106
-rw-r--r--97suifangqa/sass/sass/forms-rtl.scss43
-rw-r--r--97suifangqa/sass/sass/forms.scss151
-rw-r--r--97suifangqa/sass/sass/layouts/content-layout.scss37
-rw-r--r--97suifangqa/sass/sass/layouts/fixed-width-rtl.scss11
-rw-r--r--97suifangqa/sass/sass/layouts/fixed-width.scss160
-rw-r--r--97suifangqa/sass/sass/layouts/responsive-sidebars-rtl.scss11
-rw-r--r--97suifangqa/sass/sass/layouts/responsive-sidebars.scss213
-rw-r--r--97suifangqa/sass/sass/navigation-rtl.scss30
-rw-r--r--97suifangqa/sass/sass/navigation.scss96
-rw-r--r--97suifangqa/sass/sass/nodes.scss64
-rw-r--r--97suifangqa/sass/sass/normalize-rtl.scss50
-rw-r--r--97suifangqa/sass/sass/normalize.scss729
-rw-r--r--97suifangqa/sass/sass/pages-rtl.scss27
-rw-r--r--97suifangqa/sass/sass/pages.scss424
-rw-r--r--97suifangqa/sass/sass/print.scss73
-rw-r--r--97suifangqa/sass/sass/registration.scss52
-rw-r--r--97suifangqa/sass/sass/tabs-rtl.scss20
-rw-r--r--97suifangqa/sass/sass/tabs.scss118
-rw-r--r--97suifangqa/sass/sass/views-styles.scss45
-rw-r--r--97suifangqa/sass/sass/wireframes.scss28
68 files changed, 6361 insertions, 0 deletions
diff --git a/97suifangqa/sass/.gitignore b/97suifangqa/sass/.gitignore
new file mode 100644
index 0000000..ad28d89
--- /dev/null
+++ b/97suifangqa/sass/.gitignore
@@ -0,0 +1 @@
+.sass-cache/* \ No newline at end of file
diff --git a/97suifangqa/sass/LaunchCompass.bat b/97suifangqa/sass/LaunchCompass.bat
new file mode 100644
index 0000000..a4aae2f
--- /dev/null
+++ b/97suifangqa/sass/LaunchCompass.bat
@@ -0,0 +1,10 @@
+@echo off
+
+REM Launch Ruby Compass SASS Compiler
+PUSHD %~dp0
+
+PATH %PATH%;%RUBY%\..\
+%RUBY%\..\compass watch
+
+pause
+
diff --git a/97suifangqa/sass/config.rb b/97suifangqa/sass/config.rb
new file mode 100644
index 0000000..3875e24
--- /dev/null
+++ b/97suifangqa/sass/config.rb
@@ -0,0 +1,56 @@
+#
+# This file is only needed for Compass/Sass integration. If you are not using
+# Compass, you may safely ignore or delete this file.
+#
+# If you'd like to learn more about Sass and Compass, see the sass/README.txt
+# file for more information.
+#
+
+
+# Change this to :production when ready to deploy the CSS to the live server.
+environment = :development
+#environment = :production
+
+# In development, we can turn on the FireSass-compatible debug_info.
+firesass = false
+#firesass = true
+
+
+# Location of the theme's resources.
+css_dir = "../staticfiles/stylesheets/sass"
+sass_dir = "sass"
+extensions_dir = "sass-extensions"
+images_dir = "../staticfiles/images"
+javascripts_dir = "../staticfiles/javascripts"
+
+
+# Require any additional compass plugins installed on your system.
+#require 'ninesixty'
+#require 'zen-grids'
+
+# Assuming this theme is in sites/*/themes/THEMENAME, you can add the partials
+# included with a module by uncommenting and modifying one of the lines below:
+#add_import_path "../../../default/modules/FOO"
+#add_import_path "../../../all/modules/FOO"
+#add_import_path "../../../../modules/FOO"
+
+
+##
+## You probably don't need to edit anything below this.
+##
+
+# You can select your preferred output style here (can be overridden via the command line):
+# output_style = :expanded or :nested or :compact or :compressed
+output_style = (environment == :development) ? :expanded : :compressed
+
+# To enable relative paths to assets via compass helper functions. Since Drupal
+# themes can be installed in multiple locations, we don't need to worry about
+# the absolute path to the theme from the server root.
+relative_assets = true
+
+# To disable debugging comments that display the original location of your selectors. Uncomment:
+# line_comments = false
+
+# Pass options to sass. For development, we turn on the FireSass-compatible
+# debug_info if the firesass config variable above is true.
+sass_options = (environment == :development && firesass == true) ? {:debug_info => true} : {}
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
diff --git a/97suifangqa/sass/sass/README.txt b/97suifangqa/sass/sass/README.txt
new file mode 100644
index 0000000..2d45667
--- /dev/null
+++ b/97suifangqa/sass/sass/README.txt
@@ -0,0 +1,58 @@
+ABOUT SASS AND COMPASS
+----------------------
+
+This directory includes Sass versions of Zen's CSS files. (If you are wondering
+how these Sass files are organized, read the css/README.txt file.)
+
+Sass is a language that is just normal CSS plus some extra features, like
+variables, nested rules, math, mixins, etc. If your stylesheets are written in
+Sass, helper applications can convert them to standard CSS so that you can
+include the CSS in the normal ways with your theme.
+
+To learn more about Sass, visit: http://sass-lang.com
+
+Compass is a helper library for Sass. It includes libraries of shared mixins, a
+package manager to add additional extension libraries, and an executable that
+can easily convert Sass files into CSS.
+
+To learn more about Compass, visit: http://compass-style.org
+
+
+DEVELOPING WITH SASS AND COMPASS
+--------------------------------
+
+To automatically generate the CSS versions of the scss while you are doing theme
+development, you'll need to tell Compass to "watch" the sass directory so that
+any time a .scss file is changed it will automatically place a generated CSS
+file into your sub-theme's css directory:
+
+ compass watch <path to your sub-theme's directory>
+
+ If you are already in the root of your sub-theme's directory, you can simply
+ type: compass watch
+
+While using generated CSS with Firebug, the line numbers it reports will be
+wrong since it will be showing the generated CSS file's line numbers and not the
+line numbers of the source Sass files. To correct this problem, you can install
+the FireSass plug-in into Firefox and then edit your sub-theme's config.rb file
+to set: firesass = true
+ https://addons.mozilla.org/en-US/firefox/addon/firesass-for-firebug/
+
+
+MOVING YOUR CSS TO PRODUCTION
+-----------------------------
+
+Once you have finished your sub-theme development and are ready to move your CSS
+files to your production server, you'll need to tell sass to update all your CSS
+files and to compress them (to improve performance). Note: the Compass command
+will only generate CSS for .scss files that have recently changed; in order to
+force it to regenerate all the CSS files, you can use the Compass' clean command
+to delete all the generated CSS files.
+
+- Delete all CSS files by running: compass clean
+- Edit the config.rb file in your theme's directory and uncomment this line by
+ deleting the "#" from the beginnning:
+ #environment = :production
+- Regenerate all the CSS files by running: compass compile
+
+And don't forget to turn on Drupal's CSS aggregation. :-)
diff --git a/97suifangqa/sass/sass/_base.scss b/97suifangqa/sass/sass/_base.scss
new file mode 100644
index 0000000..a4767bc
--- /dev/null
+++ b/97suifangqa/sass/sass/_base.scss
@@ -0,0 +1,116 @@
+@charset "UTF-8";
+//
+// "base" partial
+//
+// To make it easier to use all variables and mixins in any Sass file in this
+// theme, each .scss file has a @import "base" declaration. And this _base.scss
+// file is in charge of importing all the other partials needed for the theme.
+//
+// This base partial is organized in this way:
+// - First we set any shared Sass variables.
+// - Next we import Compass plug-ins (Sass mixin libraries).
+// - Last we import a _custom.scss partial that includes our custom mixins.
+//
+
+
+//
+// Legacy IE support
+//
+// These variables are used by many mixins to add additional CSS to support
+// specific versions of IE or specific vendor prefixes.
+//
+// To turn on support for IE6 or IE7, set those variables to true.
+//
+// Zen does not require special handling for IE8 or later. But Compass uses that
+// variable for a couple edge cases. We include it for completeness sake. See
+// the documentation at http://compass-style.org/reference/compass/support/
+$legacy-support-for-ie6: false;
+$legacy-support-for-ie7: false;
+$legacy-support-for-ie8: true;
+
+
+//
+// Font faces, stacks and sizes.
+//
+
+// Compass' vertical_rhythm extension is a powerful tool to set up a vertical
+// rhythm for your entire page. You can see some of its mixins and functions in
+// use in the normalize.scss file.
+// @see http://compass-style.org/reference/compass/typography/vertical_rhythm/
+
+$base-font-size: 14px; // The font size set on the root html element.
+$base-line-height: 20px; // This line-height determines the basic unit of vertical rhythm.
+
+$h1-font-size: 22px;
+$h2-font-size: 1.4 * $base-font-size;
+$h3-font-size: 1.17 * $base-font-size;
+$h4-font-size: 1 * $base-font-size;
+$h5-font-size: 0.83 * $base-font-size;
+$h6-font-size: 0.75 * $base-font-size;
+
+// The following font family declarations are based on the Microsoft core web
+// fonts which are common fonts available on most computer systems. The DejaVu
+// and Nimbus Sans fonts are commonly available on Linux systems where the MS
+// fonts are less common. Tahoma and Helvetica are also widely available.
+//
+// A user's web browser will look at the comma-separated list and will
+// attempt to use each font in turn until it finds one that is available
+// on the user's computer. The final "generic" font (sans-serif, serif or
+// monospace) hints at what type of font to use if the web browser doesn't
+// find any of the fonts in the list.
+
+// First, let's create some font stacks.
+$times-new-roman: "Times New Roman", Times, Georgia, "DejaVu Serif", serif;
+$times: Times, "Times New Roman", Georgia, "DejaVu Serif", serif;
+$georgia: Georgia, "Times New Roman", "DejaVu Serif", serif;
+
+$verdana: Verdana, Tahoma, "DejaVu Sans", sans-serif;
+$tahoma: Tahoma, Verdana, "DejaVu Sans", sans-serif;
+$helvetica: Helvetica, Arial, "Nimbus Sans L", sans-serif;
+$arial: Arial, Helvetica, "Nimbus Sans L", sans-serif;
+$arial-base: "TIBch", "ClassicGrotesqueW01-Rg","Helvetica Neue",Arial,"Hiragino Sans GB";
+
+$msyahei: "Microsoft YaHei", "黑体", "宋体", "SimSun";
+$stheiti: "STHeiti", "WenQuanYi Micro Hei","Microsoft YaHei",SimSun,sans-serif;
+
+// For an explanation of why "sans-serif" is at the end of this list, see
+// http://meyerweb.com/eric/thoughts/2010/02/12/fixed-monospace-sizing/
+$courier: "Courier New", "DejaVu Sans Mono", monospace, sans-serif;
+
+// Now create some variables for the font stacks we want to use on this site.
+$base-font-family: $arial-base, $stheiti; // The font family set on the html element.
+$base-font-color: #5c5c5c;
+$font-body: $arial-base, $stheiti;
+$font-monospace: $courier, $stheiti;
+
+
+
+//
+// Colors, etc.
+//
+
+$base-green: #99cc33;
+$base-blue: #006699;
+
+//Warning: do not change these color, as they MUST match the color on the card background photos. If you wish to modify them, please change the png files as well.
+$card-blue: #0063a8;
+$card-green: #8fc41f;
+
+// The amount lists, blockquotes and comments are indented.
+$indent-amount: 30px;
+
+
+$base-link-color: $base-blue;
+
+//
+// Partials to be shared with all .scss files.
+//
+
+@import "compass/support"; // Add Compass' IE and vendor prefix support variables.
+@import "compass/utilities/general/clearfix"; // Better than Drupal's clearfix.
+@import "compass/utilities/sprites"; // See http://compass-style.org/help/tutorials/spriting/
+@import "compass/css3"; // Use one CSS3 mixin instead of multiple vendor prefixes.
+@import "compass/typography/vertical_rhythm"; // Helps set up a vertical rhythm.
+@import "zen"; // Add the Zen Grids responsive layout mixins.
+
+@import "custom"; // Import our custom mixins last.
diff --git a/97suifangqa/sass/sass/_custom.scss b/97suifangqa/sass/sass/_custom.scss
new file mode 100644
index 0000000..7e3944d
--- /dev/null
+++ b/97suifangqa/sass/sass/_custom.scss
@@ -0,0 +1,134 @@
+//
+// Custom sass mixins
+//
+// To use a mixin in this file, add this line to the top of your .scss file:
+// @import "base";
+// Then to use a mixin for a particular rule, add this inside the ruleset's
+// curly brackets:
+// @include mix-in-name;
+
+
+// element-invisible as defined by http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
+@mixin element-invisible {
+ 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);
+}
+
+// Turns off the element-invisible effect.
+@mixin element-invisible-off {
+ position: static !important;
+ clip: auto;
+ height: auto;
+ width: auto;
+ overflow: auto;
+}
+
+@mixin element-focusable {
+ @include element-invisible;
+
+ &:active,
+ &:focus {
+ @include element-invisible-off;
+ }
+}
+
+// The word "Unpublished" displayed underneath unpublished nodes and comments.
+@mixin unpublished-div {
+ height: 0;
+ overflow: visible;
+ color: #d8d8d8;
+ font-size: 75px;
+ line-height: 1;
+ font-family: Impact, "Arial Narrow", Helvetica, sans-serif;
+ font-weight: bold;
+ text-transform: uppercase;
+ text-align: center;
+ word-wrap: break-word; // A very nice CSS3 property
+
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 &>* {
+ position: relative; // Otherwise these elements will appear below the "Unpublished" text.
+ }
+ }
+}
+
+@mixin input-placeholder-color($color, $focus-color: transparent) {
+ $input-placeholder-selectors: (".placeholder", ".input-placeholder", ":-moz-placeholder", "::-webkit-input-placeholder", "::-moz-placeholder", ":-ms-input-placeholder");
+ //For script fallback
+ @each $selector in $input-placeholder-selectors {
+ &#{$selector} {
+ color: $color;
+ }
+ &:focus#{$selector} {
+ color: $focus-color;
+ }
+ }
+}
+
+
+@mixin number-block() {
+ @include border-radius(3px);
+ width: 1.3em;
+ text-align: center;
+ font-family: $font-monospace;
+}
+
+@mixin modal-box-base($default-width: false, $default-height: false) {
+ position: fixed;
+ z-index: 2001;
+ padding: 0;
+ @if $default-width {
+ left: 50%;
+ margin-left: -($default-width/2);
+ }
+ @if $default-height {
+ top: 50%;
+ margin-top: -($default-height/2);
+ }
+}
+
+@mixin modal-box-shadow() {
+ @include box-shadow(0px 0px 30px #444);
+}
+
+@mixin openable-base() {
+ z-index: 1;
+ position: absolute;
+ display: none;
+
+ &.open {
+ display: block;
+ }
+}
+
+@mixin dialog-base() {
+ @include openable-base;
+}
+
+@mixin hideable-element() {
+ &.hidden {
+ visibility: hidden;
+ opacity: 0;
+ }
+}
+
+@mixin showable-element() {
+ visibility: hidden;
+ opacity: 0;
+ &.show {
+ visibility: visible;
+ opacity: 1;
+ }
+}
+
+@mixin override-link-color() {
+ a {
+ color: inherit;
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/blocks.scss b/97suifangqa/sass/sass/blocks.scss
new file mode 100644
index 0000000..3911ed5
--- /dev/null
+++ b/97suifangqa/sass/sass/blocks.scss
@@ -0,0 +1,108 @@
+/**
+ * @file
+ * Block Styling
+ */
+
+@import "base";
+
+
+.block { /* Block wrapper */
+ margin-bottom: 1.5em;
+
+ &.first { /* The first block in the region */
+ }
+
+ &.last { /* The last block in the region */
+ }
+
+ &.odd { /* Zebra striping for each block in the region */
+ }
+
+ &.even { /* Zebra striping for each block in the region */
+ }
+
+ h2.block-title { /* Block title */
+ }
+}
+
+
+#block-aggregator-category-1 { /* Block for the latest news items in the first category */
+}
+
+#block-aggregator-feed-1 { /* Block for the latest news items in the first feed */
+}
+
+#block-block-1 { /* First block created with "Add block" link */
+}
+
+#block-blog-recent { /* "Recent blog posts" block */
+}
+
+#block-book-navigation { /* "Book navigation" block for the current book's table of contents */
+}
+
+#block-comment-recent { /* "Recent comments" block */
+}
+
+#block-forum-active { /* "Active forum topics" block */
+}
+
+#block-forum-new { /* "New forum topics" block */
+}
+
+#block-locale-language { /* Language switcher block */
+}
+
+#block-menu-menu-NAME { /* Custom menu block */
+}
+
+#block-node-recent { /* "Recent content" block */
+}
+
+#block-node-syndicate { /* "Syndicate" block for primary RSS feed; see also page.css's .feed-icon */
+}
+
+#block-poll-recent { /* "Most recent poll" block */
+}
+
+#block-profile-author-information { /* "Author information" block for the profile of the page's author */
+}
+
+#block-search-form { /* "Search form" block */
+}
+
+#block-shortcut-shortcuts { /* "Shortcuts" block */
+}
+
+#block-statistics-popular { /* "Popular content" block */
+}
+
+#block-system-main-menu { /* "Main menu" block */
+}
+
+#block-system-management { /* "Management" block for Drupal management menu */
+}
+
+#block-system-navigation { /* "Navigation" block for Drupal navigation menu */
+}
+
+#block-system-user-menu { /* "User menu" block for Drupal user menu */
+}
+
+#block-system-help { /* "System help" block */
+}
+
+#block-system-main { /* "Main page content" block */
+}
+
+#block-system-powered-by { /* "Powered by Drupal" block */
+}
+
+#block-user-login { /* "User login form" block */
+}
+
+#block-user-new { /* "Who's new" block for a list of the newest users */
+}
+
+#block-user-online { /* "Who's online" block for a list of the online users */
+}
diff --git a/97suifangqa/sass/sass/blog.scss b/97suifangqa/sass/sass/blog.scss
new file mode 100644
index 0000000..c1108c4
--- /dev/null
+++ b/97suifangqa/sass/sass/blog.scss
@@ -0,0 +1,985 @@
+@charset "utf-8";
+/**
+ * @file
+ * Blog specific styles
+ * @author 赵迤晨 (Zhao Yichen) <interarticle@gmail.com>
+ */
+@import "base";
+
+body.scrolled-down.blog {
+ #blog-top-nav {
+ background-color: white;
+ }
+ #blog-top-nav .background {
+ border-bottom: 1px solid #eee;
+ //@include box-shadow(0px 10px 10px -10px rgba(#555,0.5));
+ }
+}
+
+.blog {
+ .post-question
+ {
+ input[type="text"] {
+ background-color: #8b8885;
+ color: white;
+ @include input-placeholder-color(#eee);
+ border: 1px solid white;
+ @include box-shadow(0px 0px 2px white);
+ }
+ }
+
+ #sidebar-first {
+ #header {
+ position: absolute;
+ bottom: 30px;
+ text-align: center;
+ width: auto;
+ }
+ }
+
+ #nav-ribbon {
+ @include adjust-font-size-to(15px);
+ margin-bottom: 1.5em;
+ color: white;
+ $nav-ribbon-height: 33px;
+ $nav-ribbon-item-width: 86px;
+ $nav-ribbon-tail-width: 50px;
+ $nav-ribbon-item-count: 2;
+ $nav-ribbon-left-skip: 20px;
+ $nav-ribbon-tail-cut-width: 19px;
+ position: relative;
+ white-space: nowrap;
+ height: $nav-ribbon-height;
+ min-width: ($nav-ribbon-tail-width + $nav-ribbon-left-skip + $nav-ribbon-tail-cut-width);
+ .controls-wrap,
+ .head-background,
+ .tail-cut {
+ height: $nav-ribbon-height;
+ }
+
+ .controls-wrap {
+ position: absolute;
+ padding-left: $nav-ribbon-left-skip;
+ }
+
+ .head-background,
+ .links-wrap,
+ .tail {
+ background-color: #0063a8;
+ }
+
+ .head-background {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: $nav-ribbon-left-skip;
+ @include box-shadow(inset 20px 0px 20px -20px);
+ }
+
+ .links-wrap,
+ .tail,
+ .tail-cut {
+ float: left;
+ }
+
+ .links-wrap {
+ @include transition(width 0.3s ease 0s);
+ width: 0px;
+ overflow: hidden;
+ }
+
+ &:hover .links-wrap,
+ &.active .links-wrap,
+ ul.links {
+ width: ($nav-ribbon-item-width + 1px) * $nav-ribbon-item-count;
+ }
+
+ @include transition(min-width 0.3s ease 0s);
+
+ &:hover,
+ &.active {
+ min-width: ($nav-ribbon-tail-width + $nav-ribbon-left-skip + ($nav-ribbon-item-width + 1px) * $nav-ribbon-item-count + $nav-ribbon-tail-cut-width);
+ }
+
+ ul.links li a,
+ .tail {
+ line-height: $nav-ribbon-height;
+ text-align: center;
+ }
+
+ ul.links {
+ display: block;
+ white-space: nowrap;
+ margin: 0;
+ padding: 0;
+ li {
+ display: block;
+ padding: 0;
+ float: left;
+ a {
+ width: $nav-ribbon-item-width;
+ display: block;
+ color: white;
+ border-right: 1px solid #267ab5;
+ &:hover,
+ &:active,
+ &.active {
+ text-decoration: none;
+ background-color: #00497f;
+ }
+ }
+ }
+ }
+
+ .tail {
+ width: $nav-ribbon-tail-width;
+ cursor: pointer;
+ }
+
+ .tail-cut {
+ width: $nav-ribbon-tail-cut-width;
+ height: 33px;
+ background: url(../../images/nav-ribbon-tail-cut.png);
+ }
+ }
+}
+
+.blog-details {
+
+
+ #return-to-results-button {
+ visibility: hidden;
+ }
+
+ &.blog-results-detail #return-to-results-button {
+ visibility: visible;
+ }
+
+
+ a.jargon:hover {
+ text-decoration: none;
+ border-bottom: 1px dashed;
+ }
+ .jargon-explanations {
+ display: none;
+ }
+ #blog-top-nav,
+ #content {
+ .region-wrap {
+ padding-top: 0.5em;
+ padding: {
+ left: 2em;
+ right: 2em;
+ }
+ }
+ }
+
+ #blog-top-nav {
+ z-index: 10;
+ position: absolute;
+
+ .breadcrumb {
+ margin-top: 1.5em;
+ ul.inline {
+ li {
+ padding-right: 0;
+ a.button {
+ padding: {
+ top: 0.2em;
+ bottom: 0.2em;
+ }
+ &.first {
+ background-image: url(../../images/breadcrumb-dark-grey-button-left-arrow-wbg.png);
+ background-position: center left;
+ background-repeat: no-repeat;
+ @include border-radius(0 3px 3px 0);
+ border: none;
+ padding-left: 20px;
+ &:hover {
+ background-color: #4c4948;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ .blog-title {
+ //border-bottom: 1px solid #eee;
+ }
+
+ .section-name {
+ font-size: 18px;
+ color: #9fa0a0;
+ }
+ .section-nav {
+ @mixin section-nav-active-link-style() {
+ color: $base-link-color;
+ border-bottom: 1px solid $base-blue;
+ text-decoration: none;
+ }
+ width: auto;
+ ul.links {
+ display: block;
+ width: auto;
+ margin: 0;
+ li {
+ margin-right: 3em;
+ padding: 0;
+ a {
+ color: inherit;
+ &.active {
+ @include section-nav-active-link-style;
+ }
+ }
+ }
+ &:hover {
+ li a.active {
+ color: inherit;
+ border-bottom: none;
+ }
+ }
+ &,
+ &:hover{
+ li a:hover {
+ @include section-nav-active-link-style;
+ }
+ }
+ }
+ }
+ .background {
+ z-index: -1;
+ position: absolute;
+ top: 0;
+ bottom: -2px;
+ left: 0;
+ right: 0;
+ margin: {
+ left: 2em;
+ right: 2em;
+ }
+ background-color: white;
+ border-bottom: 1px solid transparent;
+ }
+ }
+ #content {
+ margin-top: 150px;
+ position: relative;
+ .text {
+ @include adjust-font-size-to(16px, (27/20));
+ h3{
+ font-size: 1.1em;
+ color: #4c4a49;
+ }
+ h4 {
+ color: #4c4a49;
+ }
+ p {
+ }
+
+ .image-wrap {
+ border: 1px solid #c9caca;
+ margin-bottom: rhythm(0.8);
+ }
+
+ a.enlarge-image {
+ cursor: pointer;
+ cursor: url(../../images/zoom.cur),auto;
+ }
+ }
+ .jargon-explanation-box {
+ @include dialog-base();
+ position: absolute;
+ margin-top: 8px;
+ left: 20px;
+ right: 20px;
+ background-color: white;
+ border: 1px solid #8fc31f;
+ @include border-radius(2px);
+ @include box-shadow(0px 0px 30px #999);
+ .content-wrap {
+ padding:{
+ left: 1.5em;
+ right: 1.5em;
+ top: 0.7em;
+ }
+ .jargon-details {
+ min-height: 150px;
+ max-height: 200px;
+ overflow: auto;
+ }
+ .references {
+ font-size: 0.8em;
+ font-style: italic;
+ }
+ }
+ .text-pointer {
+ z-index: 10;
+ position: absolute;
+ width: 20px;
+ height: 8px;
+ background-image: url(../../images/popup-text-pointer.png);
+ top: -8px;
+ margin-left: -10px;
+ left: 10px;
+ }
+ .close-box {
+ z-index: 1;
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ background: url(../../images/grey-cross.png) no-repeat center center;
+ cursor: pointer;
+ right: 1.5em;
+ top: 1.5em;
+ }
+ h3.name {
+ margin: 0;
+ border-bottom: 1px solid #c9cacb;
+ margin-top: 0em;
+ margin-bottom: 1em;
+ }
+ .like-button {
+ display: block;
+ margin: 1em;
+ width: auto;
+
+ * {
+ vertical-align: middle;
+ }
+ a.login-button {
+ vertical-align: top;
+ }
+ }
+
+ .content-wrap,
+ .like-button {
+ visibility: hidden;
+ }
+
+ .loading-image {
+ visibility: visible;
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ margin-top: (-77px/2);
+ margin-left: (-107px/2);
+ }
+
+ &.loaded {
+ .content-wrap,
+ .like-button {
+ visibility: visible;
+ }
+ .loading-image {
+ visibility: hidden;
+ }
+ }
+ &.modal {
+ @include modal-box-base(700px);
+ width: 700px;
+ top: 50% !important;
+ @include modal-box-shadow;
+ .text-pointer {
+ display: none;
+ }
+ }
+ }
+
+ .cards {
+ .card-brief {
+ @include adjust-font-size-to(14/16*14px);
+ }
+ .card {
+ @include adjust-font-size-to(14px/16*14, 16/20);
+ cursor: pointer;
+ border: 1px solid #c9caca;
+ .back .card-wrap {
+ height: 200px;
+ color: white;
+ background-color: #4c4948;
+ background-image: url(../../images/card-bg-grey.png);
+ background-repeat: no-repeat;
+ background-position: center center;
+ text-align: center;
+ line-height: 1.5em;
+ .content-wrap
+ {
+ padding-top: 2em;
+ }
+ }
+ .front .card-wrap {
+ height: 200px;
+ position: relative;
+ overflow: hidden;
+ .card-title {
+ font-weight: normal;
+ background-color: #4c4948;
+ color: white;
+ margin: 0;
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ width: auto;
+ line-height: 50px;
+ padding: {
+ left: 0.5em;
+ right: 0.5em;
+ top: 0;
+ bottom: 0;
+ }
+ }
+ .card-subtitle {
+ font-size: 0.95em;
+ font-weight: normal;
+ color: white;
+ background-color: #3e3a39;
+ padding: 0;
+ margin: 0;
+ position: absolute;
+ bottom: 50px;
+ left: 0;
+ right: 0;
+ padding: {
+ left: 0.5em;
+ top: 0.1em;
+ bottom: 0.1em;
+ }
+ }
+ .card-details {
+ padding: 0.5em;
+ }
+ }
+
+ .front {
+ height: 200px;
+ }
+
+ .back {
+ height: 0;
+ }
+
+ .abstract {
+ display: none;
+ }
+
+ .front,
+ .back {
+ overflow: hidden;
+ @include transition(height 0.3s ease 0s);
+ }
+
+ &:hover,
+ &:active {
+ .front {
+ height: 0;
+ }
+ .back {
+ height: 200px;
+ }
+ }
+ }
+ .card.green {
+ .back .card-wrap {
+ background-image: url(../../images/card-bg-green.png);
+ background-color: #8fc41f;
+ }
+ .front .card-wrap {
+ color: #8fc41f;
+ .card-title {
+ background-color: #8fc41f;
+ }
+ .card-subtitle {
+ background-color: #7cb617;
+ }
+ }
+ }
+
+ .card.blue {
+ .back .card-wrap {
+ background-image: url(../../images/card-bg-blue.png);
+ background-color: $card-blue;
+ }
+ .front .card-wrap {
+ color: $base-blue;
+ .card-title {
+ background-color: $card-blue;
+ }
+ .card-subtitle {
+ background-color: #00508f;
+ }
+ }
+ }
+ }
+ }
+ #sidebar-first,
+ #sidebar-second {
+ position: absolute;
+ min-height: 650px;
+ height: auto;
+ top: 0;
+ bottom: 0;
+ }
+ #sidebar-second{
+ #login {
+ margin-top: 1.5em;
+ }
+ .social {
+ @include adjust-font-size-to(14px);
+ margin-top: 3em;
+ ul.buttons {
+ li {
+ padding: 0;
+ }
+ .multi-segment-button .segment.first {
+ width: 60px;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+ .multi-segment-button {
+ font-weight: bold;
+ }
+ #like-button {
+ .like-button {
+ background-image: url(../../images/grey-star.png);
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ }
+ }
+ #no-idea-button {
+ float: right;
+ .no-idea-button {
+ background-image: url(../../images/white-unhappy-face.png);
+ background-repeat: no-repeat;
+ background-position: 10px center;
+ }
+ }
+ }
+ }
+
+ .comments {
+ margin-top: 2.5em;
+ ol {
+ @include adjust-font-size-to(13px, 18/20);
+ max-height: 400px;
+ @include clearfix;
+ overflow: auto;
+ counter-reset: comments-counter;
+ margin: 0;
+ padding: 0;
+ li:before {
+ @include number-block;
+ background-color: #898989;
+ color: white;
+ float: left;
+ margin-left: -2em;
+ padding-left: 0.05em;
+ content: counter(comments-counter);
+ counter-increment: comments-counter;
+ }
+ li {
+ margin-left: 2em;
+ margin-bottom: 1em;
+ a {
+ color: inherit;
+ }
+ }
+ }
+ }
+
+
+ #card-abstract {
+ margin-top: 3em;
+ @include transition(all ease 0.5s);
+ @include showable-element;
+ }
+
+ .jargon-list {
+ @include adjust-font-size-to(14px, 24/20);
+ ul {
+ margin: 0;
+ padding: 0;
+ max-height: 400px;
+ overflow: auto;
+ li {
+ padding: 0;
+ a {
+
+ outline: 0;
+ display: block;
+ color: inherit;
+ text-decoration: none;
+ padding-left: 1.5em;
+ padding: {
+ top: 0.3em;
+ bottom: 0.3em;
+ }
+ &:hover,
+ .active {
+ background-color: #898989;
+ @include border-radius(3px);
+ color: white;
+ text-decoration: none;
+ }
+ }
+ }
+ }
+ }
+ }
+ #sidebar-first {
+ z-index: 10;
+ padding: {
+ top: 1.5em;
+ bottom: 1.5em;
+ }
+
+ #nav-ribbon {
+ margin-left: -20px; //IMPORTANT: This is equal to the fixed-width gutter-width / 2
+ }
+ .post-question {
+ @include clearfix;
+ width: auto;
+ .question {
+ width: 60%;
+ }
+ .submit {
+ float: right;
+ width: 30%;
+ }
+ }
+ .related-questions {
+ padding: 8px;
+ padding: {
+ left: 15px;
+ right: 15px;
+ }
+ background-color: white;
+ h3 {
+ margin: 0;
+ line-height: 1.5em;
+ }
+ margin-top: 1em;
+ @include box-shadow(0px 0px 20px #bbb);
+ @include border-radius(2px);
+ a {
+ color: #727171;
+ }
+ }
+ .toc {
+ @mixin toc-border-bottom() {
+ border-bottom: 1px solid #c9caca;
+ @include box-shadow(0px 1px 0px 0px white);
+ }
+ margin-top: 1em;
+ .toc-title {
+ margin: 0;
+ padding-left: 1em;
+ @include toc-border-bottom;
+ }
+
+ ul.links {
+ font-size: $h3-font-size;
+ margin: 0;
+ padding: 0;
+ li {
+ list-style: none;
+ background-image: url(../../images/righticon.png);
+ background-repeat: no-repeat;
+ background-position: center right;
+ margin: 0;
+ padding-left: 1em;
+ @include toc-border-bottom;
+ &:hover,
+ &.active {
+ background-color: white;
+ }
+ @include transition(0.1s ease 0s);
+ a {
+ display: block;
+ color: inherit;
+ padding: {
+ top: 0.4em;
+ bottom: 0.4em;
+ }
+ &:hover {
+ text-decoration: none;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ #sidebar-first {
+ background-color: #f3f2f0;
+ }
+ .page-expand {
+ height: 0;
+ }
+
+ @media all and (min-width: 1300px) and (min-height: 670px) {
+ #sidebar-first,
+ #sidebar-second,
+ #blog-top-nav {
+ position: fixed;
+ }
+ .page-expand {
+ height: 100%;
+ }
+ }
+
+ #back-to-top-button {
+ bottom: 50px;
+ left: 960px;
+ }
+ .confirm-dialog {
+ padding-top: 4em;
+ min-width: 500px;
+ min-height: 80px;
+ text-align: center;
+ .controls {
+ text-align: right;
+ position: absolute;
+ bottom: 2em;
+ right: 2em;
+ }
+ }
+ &.blog-results {
+ #sidebar-second {
+ .lists-container {
+ display: none;
+ }
+ }
+ }
+}
+
+.blog-list {
+ #content {
+ .region-wrap {
+ margin-top: 1.5em;
+ }
+ #login {
+ position: absolute;
+ right: 0;
+ top: 0;
+ }
+ #blog-list-top-nav {
+ position: relative;
+ margin-top: 2em;
+ padding-top: 2em;
+ .search-type-nav {
+ vertical-align: bottom;
+ border-bottom: 1px solid #c9caca;
+ ul.links {
+ li {
+ a {
+ color: inherit;
+ }
+ a:hover,
+ a.active {
+ text-decoration: none;
+ color: #0063a8;
+ border-bottom: 1px solid #0063a8;
+ }
+ }
+ li.first-level {
+ font-size: 1.5em;
+ padding-right: 50px;
+ }
+ li.second-level {
+ a {
+ padding-bottom: 2px;
+ }
+ }
+ }
+ }
+ }
+ #blog-list-content {
+ .not-found {
+ text-align: center;
+ margin-top: 2em;
+ .message {
+ font-size: 1.2em;
+ margin-top: 0.5em;
+ }
+ }
+
+ ul.articles {
+ padding: 0;
+ li {
+ list-style: none;
+ }
+ }
+
+ .articles .article {
+ margin-bottom: 40px;
+ }
+
+ .articles .article .article-title {
+ font-weight: bold;
+ @include adjust-font-size-to(20px, (29/20));
+ color: black;
+ @include override-link-color;
+ margin-bottom: 0.5em;
+ }
+
+ .articles .article .excerpt {
+ @include adjust-font-size-to(16px, (27/20));
+ margin-top: 0.5em;
+ }
+
+ ul.rating-blocks {
+ li {
+ vertical-align: middle;
+ padding: 0;
+ display: -moz-inline-block;
+ display: inline-block;
+ color: transparent;
+ overflow: hidden;
+ width: 12px;
+ height: 12px;
+ background-color: #948b7a;
+ @include border-radius(2px);
+ margin-right: -1px;
+ &.filled {
+ background-color: #4a453d;
+ }
+ }
+ }
+ ul.article-subtitles {
+ //Default 14px size
+ }
+ }
+ }
+ #sidebar-first {
+ #header {
+ z-index: 2;
+ }
+ .region-wrap {
+ z-index: 2;
+ position: relative;
+ padding: {
+ left: 1em;
+ right: 1em;
+ }
+ }
+ #nav-ribbon {
+ margin-top: 1em;
+ z-index: 2;
+ margin-left: -20px; //IMPORTANT: This is equal to the fixed-width gutter-width / 2
+ }
+ .hover-overlay {
+ color: white;
+ z-index: 1;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ background-color: #91908f;
+ background-color: rgba(#000, 0.5);
+ visibility: hidden;
+ opacity: 0;
+ @include transition(all 0.3s ease 0s);
+ .region-wrap {
+ padding: {
+ left: 3.3em;
+ top: 8em;
+ right: 3.3em;
+ }
+ h3 {
+ margin-bottom: 0;
+ }
+ .user-info h3 {
+ margin-top: 0;
+ }
+ ul {
+ margin: 0;
+ padding: 0;
+ li {
+ list-style: none;
+ }
+ }
+ }
+ a {
+ color: white;
+ }
+ }
+ .post-question {
+ z-index: 2;
+ padding: {
+ left: 1em;
+ right: 1em;
+ }
+ @include clearfix;
+ width: auto;
+ .question {
+ width: 60%;
+ border: 1px solid #c2b59e;
+ background-color: #918e8c;
+ background-color: rgba(#000,0.5);
+ }
+ .submit {
+ float: right;
+ width: 30%;
+ border: none;
+ }
+ }
+ &:hover .hover-overlay {
+ visibility: visible;
+ opacity: 1;
+ }
+ }
+}
+
+body.blog-index {
+ color: white;
+ #main {
+ position: relative;
+ .background {
+ z-index: -1000;
+ background: url(../../images/back_main.jpg) no-repeat center top;
+ position: fixed;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ }
+ #login {
+ position: absolute;
+ top: 15px;
+ right: -250px;
+ }
+ .post-question {
+ margin-top: 270px;
+ .question {
+ @include input-placeholder-color(#d0d1d1);
+ background-color: white;
+ border: 1px solid #d0d1d1;
+ color: black;
+ width: 400px;
+ @include box-shadow(none);
+ }
+ .submit {
+ width: 84px;
+ @include box-shadow(none);
+ border: none;
+ }
+ .question, .submit {
+ @include adjust-font-size-to(16px);
+ vertical-align: 2px;
+ }
+ }
+ #logo {
+ margin-top: 65px;
+ width: 100%;
+ text-align: center;
+ }
+ #copyright {
+ position: fixed;
+ bottom: 75px;
+ left: 75px;
+ }
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/comments.scss b/97suifangqa/sass/sass/comments.scss
new file mode 100644
index 0000000..8a1a1cf
--- /dev/null
+++ b/97suifangqa/sass/sass/comments.scss
@@ -0,0 +1,84 @@
+/**
+ * @file
+ * Comment Styling
+ */
+
+@import "base";
+
+
+.comments { /* Wrapper for the list of comments and its title */
+ margin: 1.5em 0;
+
+ h2.title { /* Heading for the list of comments */
+ }
+
+ h2.comment-form { /* Heading for the comment form */
+ }
+}
+
+.comment { /* Wrapper for a single comment */
+
+ &.comment-preview { /* Preview of the comment before submitting new or updated comment */
+ background-color: #ffffea; /* Drupal core will use a #ffffea background. See #1110842 */
+ }
+
+ &.new { /* A new comment since the user last viewed the page. */
+ }
+
+ &.first { /* The first comment in the list of comments */
+ }
+
+ &.last { /* The last comment in the list of comments */
+ }
+
+ &.odd { /* An odd-numbered comment in the list of comments */
+ }
+
+ &.even { /* An even-numbered comment in the list of comments */
+ }
+
+ &.comment-by-anonymous { /* A comment created by an anonymous user */
+ }
+
+ &.comment-by-node-author { /* A comment created by the node's author */
+ }
+
+ &.comment-by-viewer { /* A comment created by the current user */
+ }
+
+ h3.comment-title { /* Comment title */
+ }
+
+ .new { /* "New" marker for comments that are new for the current user */
+ color: #c00;
+ }
+
+ .user-picture { /* The picture of the comment author */
+ }
+
+ .submitted { /* The "posted by" information */
+ }
+
+ .permalink { /* Comment's permalink wrapper */
+ text-transform: uppercase;
+ font-size: 75%;
+ }
+
+ .user-signature { /* The user's signature */
+ }
+
+ ul.links { /* Comment links. See also the ul.links declaration in the pages.css. */
+ }
+}
+
+.indented { /* Nested comments are indented */
+ margin-left: $indent-amount; /* Drupal core uses a 25px left margin */
+}
+
+.comment-unpublished { /* Unpublished comments */
+ /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
+
+ p.unpublished { /* The word "Unpublished" displayed underneath the content. */
+ @include unpublished-div;
+ }
+}
diff --git a/97suifangqa/sass/sass/elements.scss b/97suifangqa/sass/sass/elements.scss
new file mode 100644
index 0000000..250168b
--- /dev/null
+++ b/97suifangqa/sass/sass/elements.scss
@@ -0,0 +1,256 @@
+@charset "utf-8";
+/**
+ * @file
+ * Page element styles (buttons, expandable areas etc)
+ *
+ */
+
+@import "base";
+
+.multi-segment-button {
+ @extend .button;
+ overflow: hidden;
+ padding: 0;
+ .segment {
+ display: block;
+ float: left;
+
+ padding: {
+ left: 0.5em;
+ right: 0.5em;
+ }
+
+ border-right: 1px solid;
+ border-right-color: inherit;
+
+ &.first {
+ padding-left: 0.5em;
+ }
+
+ &.last {
+ padding-right: 0.5em;
+ border-right: none;
+ }
+ }
+}
+
+.multi-button {
+ .button {
+ margin: 0;
+ padding: {
+ left: 0.8em;
+ right: 0.8em;
+ top: 0;
+ bottom: 0;
+ }
+ @include border-radius(0);
+ border-left: none;
+ border-right: 1px solid #f3f2f0;
+ &.first {
+ @include border-radius(3px 0 0 3px);
+ border-left: 1px solid #f3f2f0;
+ }
+ &.last {
+ @include border-radius(0 3px 3px 0);
+ }
+ }
+}
+
+
+.border-box {
+ background-color: #f7f7f7;
+ border: solid 1px #c9caca;
+ @include border-radius(3px);
+ padding: {
+ left: 1em;
+ right: 1em;
+ top: 0.4em;
+ bottom: 0.4em;
+ }
+}
+
+.expand-heading {
+ @extend .border-box;
+ cursor: pointer;
+ color: $base-green;
+ padding-left: 30px;
+ background-image: url(../../images/green-triangle-right.png);
+ background-repeat: no-repeat;
+ background-position: 10px center;
+
+ .expandable.expanded & {
+ background-image: url(../../images/green-triangle-down.png);
+ }
+}
+
+.expandable {
+ .expand-container {
+ @include element-invisible;
+ }
+ &.expanded {
+ .expand-container {
+ @include element-invisible-off;
+ }
+ }
+}
+
+.action-button {
+ .deaction {
+ display: none;
+ }
+ &.acted {
+ .deaction {
+ display: block;
+ }
+ .action {
+ display: none;
+ }
+ }
+}
+
+body.modal-active {
+ height: 100%;
+ overflow: hidden;
+}
+
+.modal-page-overlay {
+ z-index: 2000;
+ position: fixed;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ background: url(../../images/modal-dialog-bg.png);
+ @include transition(0.3s ease 0s);
+ opacity: 1;
+
+ &.hidden {
+ visibility: hidden;
+ opacity: 0;
+ }
+}
+
+.image-enlargement-box {
+ @include dialog-base;
+ @include modal-box-base(107px, 77px);
+ .loading-image {
+ position: absolute;
+ z-index: -1;
+ }
+ .image-container {
+ visibility: hidden;
+ }
+ .image-container img {
+ max-width: none;
+ max-height: none;
+ @include modal-box-shadow;
+ }
+ &.loaded {
+ .loading-image {
+ display: none;
+ }
+ .image-container {
+ visibility: visible;
+ }
+ }
+}
+
+.dialog-content {
+ display: none;
+}
+.modal-dialog-box {
+ @include dialog-base;
+ @include modal-box-base(100px, 100px);
+ @include modal-box-shadow();
+ @include border-radius(2px);
+ border: 1px solid #8fc31f;
+ background-color: white;
+ .close-box {
+ z-index: 1;
+ position: absolute;
+ width: 20px;
+ height: 20px;
+ background: url(../../images/grey-cross.png) no-repeat center center;
+ cursor: pointer;
+ right: 1em;
+ top: 1em;
+ }
+ .content-wrap {
+ padding:{
+ left: 1.5em;
+ right: 1.5em;
+ top: 0.7em;
+ bottom: 1em;
+ }
+ .dialog-content {
+ display: block;
+ }
+ }
+}
+
+.grey-button {
+ border-color: #cccccc;
+ color: #6f6f6f;
+ &:visited {
+ color: #6f6f6f;
+ }
+ background-color: #f7f7f7;
+
+ &:hover {
+ background-color: darken(#f7f7f7, 5);
+ }
+ &:active {
+ background-color: darken(#f7f7f7, 10);
+ }
+
+ &.disabled {
+ &:hover,
+ &:active {
+ background-color: #f7f7f7;
+ }
+ }
+}
+
+.dark-grey-button {
+ border: none;
+ color: white;
+ &:visited {
+ color: white;
+ }
+ background-color: #4c4948;
+ &:hover {
+ background-color: darken(#4c4948, 5);
+ }
+ &:active {
+ background-color: darken(#4c4948, 10);
+ }
+ &.disabled {
+ &:hover,
+ &:active {
+ background-color: #4c4948;
+ }
+ }
+}
+
+.number-block {
+ @include number-block;
+}
+
+.green-block {
+ background-color: #7BB81B;
+ color: white;
+}
+
+.clearfix {
+ clear: both;
+}
+
+/**
+ * Expands the height of a container by its height, or the page width maximally. Used for extra scrolling
+ */
+.page-expand {
+ position: absolute;
+ width: 1px;
+ height: 100%;
+ z-index: -1000;
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/fields.scss b/97suifangqa/sass/sass/fields.scss
new file mode 100644
index 0000000..da14d1e
--- /dev/null
+++ b/97suifangqa/sass/sass/fields.scss
@@ -0,0 +1,106 @@
+/**
+ * @file
+ * Field Styling
+ *
+ * The Fences module allows site builders to pick the semeantic HTML5 element
+ * for each field while editing the field's settings. There's no way a theme
+ * can ever know which element to use for the fields on your site, so Zen
+ * just uses lets Drupal core or Fences decide. Since you DO NOT want 3 wrapping
+ * divs around every field (do you?), we highly recommend Fences.
+ *
+ * http://drupal.org/project/fences
+ */
+
+@import "base";
+
+
+/*
+ * Field wrappers when the Fences module is enabled.
+ */
+
+.field-label { /* The optional label for a field. */
+}
+
+.field-FIELDNAME { /* Underscores in field name are replaced with dashes. */
+}
+
+
+/*
+ * If you don't use the Fences module, that's fine. Really. I think. Just use
+ * these selectors instead:
+ */
+
+.field { /* Wrapper for any field. */
+}
+
+/*
+ * Field types (Core)
+ */
+
+.field-type-text {
+}
+
+.field-type-text-long {
+}
+
+.field-type-text-with-summary {
+}
+
+.field-type-image {
+}
+
+.field-type-file {
+}
+
+.field-type-taxonomy-term-reference {
+}
+
+.field-type-number-integer {
+}
+
+.field-type-number-decimal {
+}
+
+.field-type-number-float {
+}
+
+.field-type-list-text {
+}
+
+.field-type-list-boolean {
+}
+
+.field-type-list-integer {
+}
+
+.field-type-list-float {
+}
+
+/*
+ * Field types (Contrib)
+ */
+
+.field-type-datetime { /* Always use "datetime" when creating new CCK date fields. "date" and "datestamp" are legacy types. */
+}
+
+.field-type-node-reference {
+}
+
+.field-type-user-reference {
+}
+
+/*
+ * Named fields
+ */
+
+.field-name-body {
+}
+
+.field-name-field-image {
+}
+
+.field-name-field-tags {
+}
+
+.field-name-field-FIELDNAME { /* Underscores in field name are replaced with dashes. */
+}
diff --git a/97suifangqa/sass/sass/forms-rtl.scss b/97suifangqa/sass/sass/forms-rtl.scss
new file mode 100644
index 0000000..b2c77ed
--- /dev/null
+++ b/97suifangqa/sass/sass/forms-rtl.scss
@@ -0,0 +1,43 @@
+/**
+ * @file
+ * RTL companion for the forms.css file.
+ */
+
+@import "base";
+
+
+/*
+ * Drupal's default login form block
+ */
+
+#user-login-form {
+ text-align: right;
+
+ /*
+ * OpenID
+ *
+ * The default styling for the OpenID login link seems to assume Garland's
+ * styling of list items.
+ */
+
+ html.js & li.openid-link,
+ li.openid-link { /* The "Log in using OpenID" link. */
+ margin-left: 0;
+ margin-right: -20px; /* Un-do some of the padding on the ul list. */
+ }
+}
+
+/*
+ * Drupal admin tables
+ *
+ * We overrode these styles in html-elements.css, but restore them for the admin
+ * section of the site.
+ */
+
+form {
+ th {
+ text-align: right;
+ padding-left: 1em;
+ padding-right: 0;
+ }
+}
diff --git a/97suifangqa/sass/sass/forms.scss b/97suifangqa/sass/sass/forms.scss
new file mode 100644
index 0000000..f3ed93c
--- /dev/null
+++ b/97suifangqa/sass/sass/forms.scss
@@ -0,0 +1,151 @@
+/**
+ * @file
+ * Form Styling
+ */
+
+@import "base";
+
+
+.form-item { /* Wrapper for a form element (or group of form elements) and its label */
+ margin: 1.5em 0;
+
+ input.error,
+ textarea.error,
+ select.error { /* Highlight the form elements that caused a form submission error */
+ border: 1px solid #c00;
+ }
+
+ label { /* The label for a form element */
+ display: block;
+ font-weight: bold;
+ }
+
+ label.option { /* The label for a radio button or checkbox */
+ display: inline;
+ font-weight: normal;
+ }
+
+ .form-required { /* The part of the label that indicates a required field */
+ color: #c00;
+ }
+
+ .description { /* The descriptive help text (separate from the label) */
+ font-size: 0.85em;
+ }
+
+ .form-checkboxes & ,
+ .form-radios & { /* Pack groups of checkboxes and radio buttons closer together */
+ margin: 0; /* Drupal core uses "0.4em 0" */
+ }
+}
+
+.form-submit { /* The submit button */
+}
+
+.container-inline {
+ div,
+ label { /* Inline labels and form divs */
+ display: inline;
+ }
+}
+
+.tips { /* Tips for Drupal's input formats */
+}
+
+a.button { /* Buttons used by contrib modules like Media */
+ @include appearance(button);
+}
+
+/*
+ * Password confirmation
+ */
+
+.password-parent,
+.confirm-parent {
+ margin: 0;
+}
+
+/*
+ * Search (search-block-form.tpl.php)
+ */
+
+#block-search-form { /* Wrapper for the search form */
+}
+
+/*
+ * Drupal's default login form block
+ */
+
+#user-login-form {
+ text-align: left; /* LTR */
+
+ /*
+ * OpenID
+ *
+ * The default styling for the OpenID login link seems to assume Garland's
+ * styling of list items.
+ */
+
+ ul { /* OpenID creates a new ul above the login form's links. */
+ margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
+ }
+
+ html.js & li.openid-link,
+ li.openid-link { /* The "Log in using OpenID" link. */
+ margin-top: 1.5em;
+ margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
+ }
+
+ li.user-link { /* The "Cancel OpenID login" link. */
+ margin-top: 1.5em;
+ }
+}
+
+#user-login ul {
+ margin: 1.5em 0;
+}
+
+/*
+ * Drupal admin tables
+ *
+ * We overrode these styles in normalize.css, but restore them for the admin
+ * section of the site.
+ */
+
+form {
+ th {
+ text-align: left; /* LTR */
+ padding-right: 1em; /* LTR */
+ border-bottom: 3px solid #ccc;
+ }
+
+ tbody {
+ border-top: 1px solid #ccc;
+ }
+
+ tr.even {
+ background-color: #fff;
+ }
+
+ table .item-list ul {
+ margin: 0;
+ }
+}
+
+@if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 tr.even,
+ .lt-ie8 tr.odd {
+ th,
+ td {
+ border-bottom: 1px solid #ccc; /* IE doesn't display borders on table rows */
+ }
+ }
+}
+
+/*
+ * Drupal core wrongly puts this in system.menus.css. Since we override that, add it back.
+ */
+
+td.menu-disabled {
+ background: #ccc;
+}
diff --git a/97suifangqa/sass/sass/layouts/content-layout.scss b/97suifangqa/sass/sass/layouts/content-layout.scss
new file mode 100644
index 0000000..f5b408f
--- /dev/null
+++ b/97suifangqa/sass/sass/layouts/content-layout.scss
@@ -0,0 +1,37 @@
+@charset "utf-8";
+/**
+ * @file
+ * Internal layouts used in #content
+ *
+ * @author 赵迤晨 (Zhao Yichen) <interarticle@gmail.com>
+ */
+
+@import "base";
+
+$zen-column-count: 3;
+$zen-gutter-width: 10px;
+
+.three-columns {
+ @include zen-grid-container;
+ .column-first,
+ .column-second,
+ .column-third,
+ .column-main {
+ //@include zen-grid-item-base;
+ }
+ .column-first {
+ @include zen-grid-item(1,1);
+ }
+ .column-second {
+ @include zen-grid-item(1,2);
+ }
+ .column-third {
+ @include zen-grid-item(1,3);
+ }
+ .column-main.right {
+ @include zen-grid-item(2, 2);
+ }
+ .column-main.left {
+ @include zen-grid-item(2, 1);
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/layouts/fixed-width-rtl.scss b/97suifangqa/sass/sass/layouts/fixed-width-rtl.scss
new file mode 100644
index 0000000..fd06ea1
--- /dev/null
+++ b/97suifangqa/sass/sass/layouts/fixed-width-rtl.scss
@@ -0,0 +1,11 @@
+/**
+ * @file
+ * RTL companion for the fixed-width.css file.
+ */
+
+
+// First we tell Zen grids to reverse the direction of all floats.
+$zen-reverse-all-floats: true;
+
+// Then we import the LTR layout and the directions are automatically reversed.
+@import "fixed-width";
diff --git a/97suifangqa/sass/sass/layouts/fixed-width.scss b/97suifangqa/sass/sass/layouts/fixed-width.scss
new file mode 100644
index 0000000..85eb772
--- /dev/null
+++ b/97suifangqa/sass/sass/layouts/fixed-width.scss
@@ -0,0 +1,160 @@
+/**
+ * @file
+ * Positioning for a fixed-width, desktop-centric layout.
+ *
+ * Define CSS classes to create a table-free, 3-column, 2-column, or single
+ * column layout depending on whether blocks are enabled in the left or right
+ * columns.
+ *
+ * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+@import "base";
+
+
+// We are going to create a 980px wide, 5 column grid with 20px gutters between
+// columns (applied as 10px of left/right padding on each column).
+$zen-column-count: 13;
+$zen-gutter-width: 40px;
+$zen-grid-width: 1300px;
+
+
+// IE6-7 don't support box-sizing: border-box. We can fix this in 1 of 2 ways:
+// - (Preferred) Install the box-sizing polyfill and set the variable below to
+// the absolute path URL to the boxsizing.htc file.
+// @see https://github.com/Schepp/box-sizing-polyfill
+// $box-sizing-polyfill-path: "/path/to/boxsizing.htc";
+// - Use the same CSS unit for grid width and gutter width (use px for both or
+// use % for both, etc.) and set the box-sizing variable to content-box.
+ $zen-box-sizing: content-box;
+
+
+// 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: false;
+// $zen-auto-include-flow-item-base: false;
+
+
+/*
+ * Center the page.
+ */
+$body-selector: "#page, .region-bottom";
+
+#page,
+.region-bottom {
+ /* If you want to make the page a fixed width and centered in the viewport,
+ * this is the standards-compliant way to do that. */
+ //margin-left: auto;
+ //margin-right: auto;
+ width: $zen-grid-width;
+}
+
+/*
+ * Apply the shared properties of grid items in a single, efficient ruleset.
+ */
+// See the note about $zen-auto-include-item-base above.
+
+#header,
+.content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ @include zen-grid-item-base();
+}
+
+/*
+ * Containers for grid items and flow items.
+ */
+
+#header,
+#main,
+#footer {
+ @include zen-grid-container();
+}
+
+/*
+ * Navigation bar
+ */
+
+#main {
+ position: relative;
+}
+#navigation {
+ position: absolute;
+ top: 0; /* Move the navbar up inside #main's padding. */
+ height: 3em;
+ width: $zen-grid-width - $zen-gutter-width;
+}
+
+/*
+ * The layout when there is only one sidebar, the left one.
+ */
+
+.sidebar-first {
+ .content { /* Span 4 columns, starting in 2nd column from left. */
+ @include zen-grid-item(4, 2);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(1, 1);
+ }
+}
+
+/*
+ * The layout when there is only one sidebar, the right one.
+ */
+
+.sidebar-second {
+ .content { /* Span 4 columns, starting in 1st column from left. */
+ @include zen-grid-item(4, 1);
+ }
+
+ .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
+ @include zen-grid-item(1, 5);
+ }
+}
+
+/*
+ * The layout when there are two sidebars.
+ */
+
+.blog.two-sidebars,
+.two-sidebars {
+ .content { /* Span 3 columns, starting in 2nd column from left. */
+ @include zen-grid-item(7, 4);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(3, 1);
+ }
+
+ .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
+ @include zen-grid-item(3, 11);
+ }
+}
+
+.picture-base.sidebar-first {
+ #page,
+ .region-bottom {
+ width: 1200px;
+ }
+ //Overall width is 1300px ($zen-grid-width). There are 13 columns. Each column is 100px
+ .content {
+ @include zen-grid-item(8, 5.3, $gutter-width: (2*85px));
+ @include zen-grid-item-base($gutter-width: (2*85px));
+ }
+ .region-sidebar-first{
+ @include zen-grid-item(4.3, 1);
+ }
+}
+
+.blog.blog-index {
+ #{$body-selector} {
+ width: 550px;
+ margin: {
+ left: auto;
+ right: auto;
+ }
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/layouts/responsive-sidebars-rtl.scss b/97suifangqa/sass/sass/layouts/responsive-sidebars-rtl.scss
new file mode 100644
index 0000000..e7aa549
--- /dev/null
+++ b/97suifangqa/sass/sass/layouts/responsive-sidebars-rtl.scss
@@ -0,0 +1,11 @@
+/**
+ * @file
+ * RTL companion for the responsive-sidebars.css file.
+ */
+
+
+// First we tell Zen grids to reverse the direction of all floats.
+$zen-reverse-all-floats: true;
+
+// Then we import the LTR layout and the directions are automatically reversed.
+@import "responsive-sidebars";
diff --git a/97suifangqa/sass/sass/layouts/responsive-sidebars.scss b/97suifangqa/sass/sass/layouts/responsive-sidebars.scss
new file mode 100644
index 0000000..d40f684
--- /dev/null
+++ b/97suifangqa/sass/sass/layouts/responsive-sidebars.scss
@@ -0,0 +1,213 @@
+/**
+ * @file
+ * Positioning for responsive layout .
+ *
+ * Define CSS classes to create a table-free, 3-column, 2-column, or single
+ * column layout depending on whether blocks are enabled in the left or right
+ * columns.
+ *
+ * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
+ */
+
+@import "base";
+
+
+// We are going to create a 980px wide, 5 column grid with 20px gutters between
+// columns (applied as 10px of left/right padding on each column).
+$zen-column-count: 5;
+$zen-gutter-width: 20px;
+
+
+// IE6-7 don't support box-sizing: border-box. We can fix this in 1 of 3 ways:
+// - Drop support for IE 6/7. :-) In the _base.scss, set $legacy-support-for-ie6
+// and $legacy-support-for-ie7 to false.
+// - (Preferred) Install the box-sizing polyfill and set the variable below to
+// the absolute path URL to the boxsizing.htc file.
+// @see https://github.com/Schepp/box-sizing-polyfill
+// $box-sizing-polyfill-path: "/path/to/boxsizing.htc";
+// - Use the same CSS unit for grid width and gutter width (use px for both or
+// use % for both, etc.) and set the box-sizing variable to content-box.
+// $zen-box-sizing: content-box;
+
+
+// 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: false;
+// $zen-auto-include-flow-item-base: false;
+
+
+/*
+ * Center the page.
+ */
+
+#page,
+.region-bottom {
+ /* For screen sizes larger than 1200px, prevent excessively long lines of text
+ by setting a max-width. */
+ margin-left: auto;
+ margin-right: auto;
+ max-width: 1200px;
+}
+
+/*
+ * Apply the shared properties of grid items in a single, efficient ruleset.
+ */
+// See the note about $zen-auto-include-item-base above.
+
+#header,
+#content,
+#navigation,
+.region-sidebar-first,
+.region-sidebar-second,
+#footer {
+ @include zen-grid-item-base();
+}
+
+/*
+ * Containers for grid items and flow items.
+ */
+
+#header,
+#main,
+#footer {
+ @include zen-grid-container();
+}
+
+/*
+ * Navigation bar
+ */
+
+@media all and (min-width: 480px) {
+ #main {
+ padding-top: 3em; /* Move all the children of #main down to make room. */
+ position: relative;
+ }
+ #navigation {
+ position: absolute;
+ top: 0; /* Move the navbar up inside #main's padding. */
+ height: 3em;
+ width: $zen-grid-width;
+ }
+}
+
+@media all and (min-width: 480px) and (max-width: 959px) {
+ /*
+ * Use 3 grid columns for smaller screens.
+ */
+ $zen-column-count: 3;
+
+ /*
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ .sidebar-first {
+ #content { /* Span 2 columns, starting in 2nd column from left. */
+ @include zen-grid-item(2, 2);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(1, 1);
+ }
+ }
+
+ /*
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ .sidebar-second {
+ #content { /* Span 2 columns, starting in 1st column from left. */
+ @include zen-grid-item(2, 1);
+ }
+
+ .region-sidebar-second { /* Span 1 column, starting in 3rd column from left. */
+ @include zen-grid-item(1, 3);
+ }
+ }
+
+ /*
+ * The layout when there are two sidebars.
+ */
+
+ .two-sidebars {
+ #content { /* Span 2 columns, starting in 2nd column from left. */
+ @include zen-grid-item(2, 2);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(1, 1);
+ }
+
+ .region-sidebar-second { /* Start a new row and span all 3 columns. */
+ @include zen-grid-item(3, 1);
+ @include zen-nested-container(); // Since we're making every block in this region be a grid item.
+ @include zen-clear();
+
+ .block {
+ @include zen-grid-item-base();
+ }
+ .block:nth-child(3n+1) { /* Span 1 column, starting in the 1st column from left. */
+ @include zen-grid-item(1, 1);
+ @include zen-clear();
+ }
+ .block:nth-child(3n+2) { /* Span 1 column, starting in the 2nd column from left. */
+ @include zen-grid-item(1, 2);
+ }
+ .block:nth-child(3n) { /* Span 1 column, starting in the 3rd column from left. */
+ @include zen-grid-item(1, 3);
+ }
+ }
+ }
+}
+
+@media all and (min-width: 960px) {
+ /*
+ * Use 5 grid columns for larger screens.
+ */
+ $zen-column-count: 5;
+
+ /*
+ * The layout when there is only one sidebar, the left one.
+ */
+
+ .sidebar-first {
+ #content { /* Span 4 columns, starting in 2nd column from left. */
+ @include zen-grid-item(4, 2);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(1, 1);
+ }
+ }
+
+ /*
+ * The layout when there is only one sidebar, the right one.
+ */
+
+ .sidebar-second {
+ #content { /* Span 4 columns, starting in 1st column from left. */
+ @include zen-grid-item(4, 1);
+ }
+
+ .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
+ @include zen-grid-item(1, 5);
+ }
+ }
+
+ /*
+ * The layout when there are two sidebars.
+ */
+
+ .two-sidebars {
+ #content { /* Span 3 columns, starting in 2nd column from left. */
+ @include zen-grid-item(3, 2);
+ }
+
+ .region-sidebar-first { /* Span 1 column, starting in 1st column from left. */
+ @include zen-grid-item(1, 1);
+ }
+
+ .region-sidebar-second { /* Span 1 column, starting in 5th column from left. */
+ @include zen-grid-item(1, 5);
+ }
+ }
+}
diff --git a/97suifangqa/sass/sass/navigation-rtl.scss b/97suifangqa/sass/sass/navigation-rtl.scss
new file mode 100644
index 0000000..b3e6771
--- /dev/null
+++ b/97suifangqa/sass/sass/navigation-rtl.scss
@@ -0,0 +1,30 @@
+/**
+ * @file
+ * RTL companion for the navigation.css file.
+ */
+
+@import "base";
+
+
+ul li.collapsed {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: url(../images/menu-collapsed-rtl.png);
+ }
+ //list-style-image: inline-image("menu-collapsed-rtl.png");
+}
+
+#navigation {
+ ul.links, /* Main menu and secondary menu links */
+ ul.menu { /* Menu block links */
+ text-align: right;
+
+ li { /* A simple method to get navigation links to appear in one line. */
+ float: right;
+ padding: 0 0 0 10px;
+ }
+ }
+}
+
+#secondary-menu {
+ float: left;
+}
diff --git a/97suifangqa/sass/sass/navigation.scss b/97suifangqa/sass/sass/navigation.scss
new file mode 100644
index 0000000..db947ec
--- /dev/null
+++ b/97suifangqa/sass/sass/navigation.scss
@@ -0,0 +1,96 @@
+/**
+ * @file
+ * Navigation Styling
+ */
+
+@import "base";
+
+
+/*
+ * Markup generated by theme_menu_tree().
+ */
+
+ul li.expanded {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: url(../images/menu-expanded.png);
+ }
+ //list-style-image: inline-image("menu-expanded.png");
+ list-style-type: circle;
+}
+ul li.collapsed {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: url(../images/menu-collapsed.png); /* LTR */
+ }
+ //list-style-image: inline-image("menu-collapsed.png"); /* LTR */
+ list-style-type: disc;
+}
+ul li.leaf {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *list-style-image: url(../images/menu-leaf.png);
+ }
+ //list-style-image: inline-image("menu-leaf.png");
+ list-style-type: square;
+}
+
+
+/*
+ * Navigation bar
+ */
+
+#navigation {
+ /* overflow: hidden; */ /* Sometimes you want to prevent overlapping with main div. */
+
+ .block {
+ margin-bottom: 0;
+ }
+
+ .block-menu .block-title,
+ .block-menu-block .block-title {
+ @include element-invisible();
+ }
+
+ ul.links, /* Main menu and secondary menu links */
+ ul.menu { /* Menu block links */
+ margin: 0;
+ padding: 0;
+ text-align: left; /* LTR */
+
+ li { /* A simple method to get navigation links to appear in one line. */
+ float: left; /* LTR */
+ padding: 0 10px 0 0; /* LTR */
+ list-style-type: none;
+ list-style-image: none;
+ }
+ }
+}
+
+.region-navigation {
+}
+
+/*
+ * Main menu and Secondary menu links
+ */
+
+#main-menu {
+}
+
+#secondary-menu {
+ float: right; /* LTR */
+}
+
+/*
+ * Menu blocks
+ */
+
+.block-menu {
+}
+
+/*
+ * "Menu block" blocks
+ *
+ * Drupal core has limited ways in which it can display its menus. To get around
+ * these limitations, see http://drupal.org/project/menu_block
+ */
+
+.block-menu-block {
+}
diff --git a/97suifangqa/sass/sass/nodes.scss b/97suifangqa/sass/sass/nodes.scss
new file mode 100644
index 0000000..358b55f
--- /dev/null
+++ b/97suifangqa/sass/sass/nodes.scss
@@ -0,0 +1,64 @@
+/**
+ * @file
+ * Node Styling
+ *
+ * Style anything that isn't in the $content variable.
+ */
+
+@import "base";
+
+
+.node { /* Node wrapper */
+
+ .preview & { /* Preview of the content before submitting new or updated content */
+ /* background-color: #ffffea; */ /* Drupal core uses a #ffffea background */
+ }
+
+ .node-title { /* Node title */
+ }
+
+ .user-picture { /* The picture of the node author */
+ }
+
+ .submitted { /* The "posted by" information */
+ }
+
+ .content { /* Node's content wrapper */
+ }
+
+ ul.links { /* Node links. See also the ul.links declaration in the pages.css. */
+ }
+
+}
+
+.node-promoted { /* A node that has been promoted to the front page */
+}
+
+.node-sticky { /* A sticky node (displayed before others in a list) */
+}
+
+.node-by-viewer { /* A node created by the current user */
+}
+
+.node-teaser { /* A node displayed as teaser */
+}
+
+/*
+ * All nodes are given a node-FOO class that describes the type of content that
+ * it is. If you create a new content type called "my-custom-type", it will
+ * receive a "node-my-custom-type" class.
+ */
+
+.node-page { /* Page content node */
+}
+
+.node-article { /* Article content node */
+}
+
+.node-unpublished { /* Unpublished nodes */
+ /* background-color: #fff4f4; */ /* Drupal core uses a #fff4f4 background */
+
+ p.unpublished { /* The word "Unpublished" displayed underneath the content. */
+ @include unpublished-div;
+ }
+}
diff --git a/97suifangqa/sass/sass/normalize-rtl.scss b/97suifangqa/sass/sass/normalize-rtl.scss
new file mode 100644
index 0000000..388f8c3
--- /dev/null
+++ b/97suifangqa/sass/sass/normalize-rtl.scss
@@ -0,0 +1,50 @@
+/* normalize-rtl.css - RTL language extension of normalize.scss. */
+
+@import "base";
+
+
+/* =============================================================================
+ Lists
+ ========================================================================== */
+
+/*
+ * Addresses margins set differently in IE6/7
+ */
+
+dd {
+ margin: 0 $indent-amount 0 0;
+}
+
+/*
+ * Addresses paddings set differently in IE6/7
+ */
+
+menu,
+ol,
+ul,
+.item-list ul /* Drupal override */ {
+ padding: 0 $indent-amount 0 0;
+}
+
+/* =============================================================================
+ Forms
+ ========================================================================== */
+
+/*
+ * 3. Corrects alignment displayed oddly in IE6/7
+ */
+
+legend {
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *margin-left: 0;
+ *margin-right: -7px; /* 3 */
+ }
+}
+
+/* =============================================================================
+ Tables
+ ========================================================================== */
+
+th {
+ text-align: right;
+}
diff --git a/97suifangqa/sass/sass/normalize.scss b/97suifangqa/sass/sass/normalize.scss
new file mode 100644
index 0000000..bb88693
--- /dev/null
+++ b/97suifangqa/sass/sass/normalize.scss
@@ -0,0 +1,729 @@
+@charset "UTF-8";
+/* normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
+
+/* =============================================================================
+ Normalize.css is intended to be used as an alternative to CSS resets.
+
+ It is suggested that you read through the normalize.css file and customise it
+ to meet the design requirements of a project rather including it as a "black
+ box". @see http://nicolasgallagher.com/about-normalize-css/
+
+ Also: @see http://meiert.com/en/blog/20080419/reset-style-sheets-are-bad/
+ @see http://snook.ca/archives/html_and_css/no_css_reset/
+ ========================================================================== */
+
+@import "base";
+
+/* =============================================================================
+ HTML5 display definitions
+ ========================================================================== */
+
+/*
+ * Corrects block display not defined in IE6/7/8/9 & FF3
+ */
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+menu,
+nav,
+section,
+summary {
+ display: block;
+}
+
+/*
+ * Corrects inline-block display not defined in IE6/7/8/9 & FF3
+ */
+
+audio,
+canvas,
+video {
+ display: inline-block;
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *display: inline;
+ *zoom: 1;
+ }
+}
+
+/*
+ * Prevents modern browsers from displaying 'audio' without controls
+ * Remove excess height in iOS5 devices
+ */
+
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/*
+ * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
+ * Known issue: no IE6 support
+ */
+
+[hidden] {
+ display: none;
+}
+
+
+/* =============================================================================
+ Base
+ ========================================================================== */
+
+/* Instead of relying on the fonts that are available on a user's computer, you
+ can use web fonts which, like images, are resources downloaded to the user's
+ browser. Because of the bandwidth and rendering resources required, web fonts
+ should be used with care.
+
+ Numerous resources for web fonts can be found on Google. Here are a few
+ websites where you can find Open Source fonts to download:
+ - http://www.fontsquirrel.com/fontface
+ - http://www.theleagueofmoveabletype.com
+
+ In order to use these fonts, you will need to convert them into formats
+ suitable for web fonts. We recommend the free-to-use Font Squirrel's
+ Font-Face Generator:
+ http://www.fontsquirrel.com/fontface/generator
+
+ The following is an example @font-face declaration. This font can then be
+ used in any ruleset using a property like this: font-family: Example, serif;
+
+ Since we're using Sass, you'll need to declare your font faces here, then you
+ can add them to the font variables in the _base.scss partial.
+*/
+
+/*
+@font-face {
+ font-family: 'Example';
+ src: url('../fonts/example.eot');
+ src: url('../fonts/example.eot?iefix') format('eot'),
+ url('../fonts/example.woff') format('woff'),
+ url('../fonts/example.ttf') format('truetype'),
+ url('../fonts/example.svg#webfontOkOndcij') format('svg');
+ font-weight: normal;
+ font-style: normal;
+}
+*/
+
+/*
+ * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
+ * http://clagnut.com/blog/348/#c790
+ * 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
+ * www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
+ */
+
+html {
+ font-size: 100% * ($base-font-size / 16px); /* 1 */
+ -webkit-text-size-adjust: 100%; /* 2 */
+ -ms-text-size-adjust: 100%; /* 2 */
+ /* Establishes a vertical rhythm unit using $base-line-height. */
+ color: $base-font-color;
+ @include adjust-leading-to(1);
+}
+
+/*
+ * Addresses font-family inconsistency between 'textarea' and other form elements.
+ */
+
+html,
+button,
+input,
+select,
+textarea {
+ font-family: $base-font-family;
+}
+
+/*
+ * Addresses margins handled incorrectly in IE6/7
+ */
+
+body {
+ margin: 0;
+}
+
+
+/* =============================================================================
+ Links
+ ========================================================================== */
+
+/*
+ * The order of link states are based on Eric Meyer's article:
+ * http://meyerweb.com/eric/thoughts/2007/06/11/who-ordered-the-link-states
+ */
+
+a:link {
+}
+
+a {
+ color: $base-link-color;
+ text-decoration: none;
+}
+
+a:visited {
+ color: $base-link-color;
+}
+
+a:hover,
+a:focus {
+ text-decoration: underline;
+}
+
+a:active {
+
+}
+
+/*
+ * Addresses outline displayed oddly in Chrome
+ */
+
+a:focus {
+ outline: thin dotted;
+}
+
+/*
+ * Improves readability when focused and also mouse hovered in all browsers
+ * people.opera.com/patrickl/experiments/keyboard/test
+ */
+
+a:hover,
+a:active {
+ outline: 0;
+}
+
+
+/* =============================================================================
+ Typography
+
+ To achieve a pleasant vertical rhythm, we use Compass' Vertical Rhythm mixins
+ so that the line height of our base font becomes the basic unit of vertical
+ measurement. We use multiples of that unit to set the top and bottom margins
+ for our block level elements and to set the line heights of any fonts.
+ For more information, see http://24ways.org/2006/compose-to-a-vertical-rhythm
+ ========================================================================== */
+
+/*
+ * Addresses font sizes and margins set differently in IE6/7
+ * Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
+ */
+
+h1 {
+ /* Sets the font-size and line-height while keeping a proper vertical rhythm. */
+ @include adjust-font-size-to( $h1-font-size, 30/20 );
+
+ /* Sets 1 unit of vertical rhythm on the top and bottom margins. */
+ @include leader(0.5, $h1-font-size);
+ @include trailer(0.8, $h1-font-size);
+}
+
+h2 {
+ @include adjust-font-size-to( $h2-font-size );
+ @include leader(0.5, $h2-font-size);
+ @include trailer(0.3, $h2-font-size);
+}
+
+h3 {
+ @include adjust-font-size-to( $h3-font-size );
+ @include leader(1, $h3-font-size);
+ @include trailer(0.3, $h3-font-size);
+}
+
+h4 {
+ @include adjust-font-size-to( $h4-font-size );
+ @include leader(0.8, $h4-font-size);
+ @include trailer(0.4, $h4-font-size);
+}
+
+h5 {
+ @include adjust-font-size-to( $h5-font-size );
+ @include leader(0.3, $h5-font-size);
+ @include trailer(0.5, $h5-font-size);
+}
+
+h6 {
+ @include adjust-font-size-to( $h6-font-size );
+ @include leader(0.3, $h6-font-size);
+ @include trailer(0.5, $h6-font-size);
+}
+
+/* Thematic break */
+hr {
+ height: 1px;
+ border: 1px solid #666;
+ padding-bottom: -1px;
+ margin: rhythm(1) 0;
+}
+
+/*
+ * Addresses styling not present in IE7/8/9, S5, Chrome
+ */
+
+abbr[title] {
+ border-bottom: 1px dotted;
+ cursor: help;
+ white-space: nowrap;
+}
+
+/*
+ * Addresses style set to 'bolder' in FF3+, S4/5, Chrome
+*/
+
+b,
+strong {
+ font-weight: bold;
+}
+
+blockquote {
+ /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
+ margin: rhythm(1) $indent-amount;
+}
+
+/*
+ * Addresses styling not present in S5, Chrome
+ */
+
+dfn {
+ font-style: italic;
+}
+
+/*
+ * Addresses styling not present in IE6/7/8/9
+ */
+
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/*
+ * Addresses margins set differently in IE6/7
+ */
+
+p,
+pre {
+ /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
+ margin-bottom: rhythm(0.5);
+ margin-top: 0;
+}
+
+/*
+ * Corrects font family set oddly in IE6, S4/5, Chrome
+ * en.wikipedia.org/wiki/User:Davidgothberg/Test59
+ */
+
+pre,
+code,
+kbd,
+samp,
+tt,
+var {
+ font-family: $font-monospace; /* The $font-monospace value ends with ", serif". */
+ @if $legacy-support-for-ie6 {
+ _font-family: 'courier new', monospace;
+ }
+ @include adjust-font-size-to( 1 * $base-font-size );
+}
+
+/*
+ * Improves readability of pre-formatted text in all browsers
+ */
+
+pre {
+ white-space: pre;
+ white-space: pre-wrap;
+ word-wrap: break-word;
+}
+
+/*
+ * 1. Addresses CSS quotes not supported in IE6/7
+ * 2. Addresses quote property not supported in S4
+ */
+
+/* 1 */
+
+q {
+ quotes: none;
+}
+
+/* 2 */
+
+q:before,
+q:after {
+ content: '';
+ content: none;
+}
+
+/* @todo Determine how big element affects vertical rhythm. */
+small {
+ font-size: 75%;
+}
+
+/*
+ * Prevents sub and sup affecting line-height in all browsers
+ * gist.github.com/413930
+ */
+
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sup {
+ top: -0.5em;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+
+/* =============================================================================
+ Lists
+ ========================================================================== */
+
+/*
+ * Addresses margins set differently in IE6/7
+ */
+
+dl,
+menu,
+ol,
+ul,
+.item-list ul /* Drupal override */ {
+ /* Sets 1 unit of vertical rhythm on the top and bottom margin. */
+ margin: rhythm(1) 0;
+}
+
+.item-list ul li { /* Drupal override */
+ margin: 0;
+}
+
+dd {
+ margin: 0 0 0 $indent-amount; /* LTR */
+}
+
+ul, ol, .item-list ul, .item-list ol {
+ ul, ol {
+ margin: 0; /* Turn off margins on nested lists. */
+ }
+}
+
+/*
+ * Addresses paddings set differently in IE6/7
+ */
+
+menu,
+ol,
+ul,
+.item-list ul /* Drupal override */ {
+ padding: 0 0 0 $indent-amount; /* LTR */
+}
+
+/*
+ * Corrects list images handled incorrectly in IE7
+ */
+
+nav ul,
+nav ol {
+ list-style: none;
+ list-style-image: none;
+}
+
+
+/* =============================================================================
+ Embedded content
+ ========================================================================== */
+
+/*
+ * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
+ * 2. Improves image quality when scaled in IE7
+ * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
+ */
+
+img {
+ border: 0; /* 1 */
+ -ms-interpolation-mode: bicubic; /* 2 */
+
+ /* vertical-align: bottom; */ /* Suppress the space beneath the baseline */
+
+ /* Responsive images */
+ /* @todo Add responsive embedded video. */
+ max-width: 100%;
+ height: auto;
+}
+
+/*
+ * Corrects overflow displayed oddly in IE9
+ */
+
+svg:not(:root) {
+ overflow: hidden;
+}
+
+
+/* =============================================================================
+ Figures
+ ========================================================================== */
+
+/*
+ * Addresses margin not present in IE6/7/8/9, S5, O11
+ */
+
+figure {
+ margin: 0;
+}
+
+
+/* =============================================================================
+ Forms
+ ========================================================================== */
+
+/*
+ * Corrects margin displayed oddly in IE6/7
+ */
+
+form {
+ margin: 0;
+}
+
+/*
+ * Define consistent border, margin, and padding
+ */
+
+fieldset {
+ border-color: #c0c0c0;
+ margin: 0 2px;
+ /* Apply borders and padding that keep the vertical rhythm. */
+ @include apply-side-rhythm-border(top, $width: 1px, $lines: 0.35);
+ @include apply-side-rhythm-border(bottom, $width: 1px, $lines: 0.65);
+ @include apply-side-rhythm-border(left, $width: 1px, $lines: 0.65);
+ @include apply-side-rhythm-border(right, $width: 1px, $lines: 0.65);
+}
+
+/*
+ * 1. Corrects color not being inherited in IE6/7/8/9
+ * 2. Corrects text not wrapping in FF3
+ * 3. Corrects alignment displayed oddly in IE6/7
+ */
+
+legend {
+ border: 0; /* 1 */
+ padding: 0;
+ white-space: normal; /* 2 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *margin-left: -7px; /* 3 */ /* LTR */
+ }
+}
+
+/*
+ * 1. Corrects font size not being inherited in all browsers
+ * 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
+ * 3. Improves appearance and consistency in all browsers
+ */
+
+button,
+input,
+select,
+textarea {
+ font-size: 100%; /* 1 */
+ margin: 0; /* 2 */
+ vertical-align: baseline; /* 3 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *vertical-align: middle; /* 3 */
+ }
+}
+
+/*
+ * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
+ */
+
+button,
+input {
+ line-height: normal; /* 1 */
+}
+
+/*
+ * 1. Improves usability and consistency of cursor style between image-type 'input' and others
+ * 2. Corrects inability to style clickable 'input' types in iOS
+ * 3. Removes inner spacing in IE7 without affecting normal text inputs
+ * Known issue: inner spacing remains in IE6
+ */
+
+button,
+input[type="button"],
+input[type="reset"],
+input[type="submit"] {
+ cursor: pointer; /* 1 */
+ -webkit-appearance: button; /* 2 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *overflow: visible; /* 3 */
+ }
+}
+
+.button,
+button,
+input[type="submit"],
+input[type="button"],
+input[type="reset"] {
+ cursor: pointer;
+ -webkit-appearance: none;
+ background-color: $base-green;
+ border: 1px solid #f3f2f0;
+ @include box-shadow(0px 0px 2px white);
+ @include border-radius(3px);
+ color: white;
+ padding: {
+ left: 0.8em;
+ right: 0.8em;
+ }
+ height: 2.1em;
+ //line-height: 2.1em;
+ &:hover {
+ background-color: darken($base-green, 2);
+ }
+ &:active {
+ background-color: darken($base-green, 5);
+ @include box-shadow(inset 0px 0px 10px rgba(#555,0.5));
+ }
+ &.disabled {
+ cursor: default;
+ &:active,
+ &:hover {
+ background-color: $base-green;
+ @include box-shadow(none);
+ }
+ }
+ vertical-align: middle;
+
+}
+
+//a Fixes
+a.button,
+a.button:hover,
+a.button:active,
+a.button:visited {
+ text-decoration: none;
+}
+
+.button {
+ text-align: center;
+ line-height: 2.1em;
+}
+
+input[type="text"],
+input[type="password"] {
+ padding: {
+ left: 0.5em;
+ right: 0.5em;
+ top: 0;
+ bottom: 0;
+ }
+ //line-height: 1.95em;
+ height: 1.95em;
+}
+
+/*
+ * Re-set default cursor for disabled elements
+ */
+
+button[disabled],
+input[disabled] {
+ cursor: default;
+}
+
+/*
+ * 1. Addresses box sizing set to content-box in IE8/9
+ * 2. Removes excess padding in IE8/9
+ * 3. Removes excess padding in IE7
+ Known issue: excess padding remains in IE6
+ */
+
+input[type="checkbox"],
+input[type="radio"] {
+ @include box-sizing(border-box); /* 1 */
+ padding: 0; /* 2 */
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ *height: 13px; /* 3 */
+ *width: 13px; /* 3 */
+ }
+}
+
+/*
+ * 1. Addresses appearance set to searchfield in S5, Chrome
+ * 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
+ */
+
+input[type="search"] {
+ -webkit-appearance: textfield; /* 1 */
+ @include box-sizing(content-box); /* 2 */
+}
+
+/*
+ * Removes inner padding and search cancel button in S5, Chrome on OS X
+ */
+
+input[type="search"]::-webkit-search-decoration,
+input[type="search"]::-webkit-search-cancel-button {
+ -webkit-appearance: none;
+}
+
+/*
+ * Removes inner padding and border in FF3+
+ * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
+ */
+
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/*
+ * 1. Removes default vertical scrollbar in IE6/7/8/9
+ * 2. Improves readability and alignment in all browsers
+ */
+
+textarea {
+ overflow: auto; /* 1 */
+ vertical-align: top; /* 2 */
+}
+
+
+/* =============================================================================
+ Tables
+ ========================================================================== */
+
+/*
+ * Remove most spacing between table cells
+ */
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ /* width: 100%; */ /* Prevent cramped-looking tables */
+ /* Add vertical rhythm margins. */
+ @include leader(1);
+ @include trailer(1);
+}
+
+/*
+ * Drupal provides table styling which is only useful for its admin section
+ * forms, so we override this default CSS. (We set it back in forms.css.)
+ */
+
+th {
+ text-align: left; /* LTR */
+ padding: 0;
+ border-bottom: none;
+}
+
+tbody {
+ border-top: none;
+}
diff --git a/97suifangqa/sass/sass/pages-rtl.scss b/97suifangqa/sass/sass/pages-rtl.scss
new file mode 100644
index 0000000..c57f2bc
--- /dev/null
+++ b/97suifangqa/sass/sass/pages-rtl.scss
@@ -0,0 +1,27 @@
+/**
+ * @file
+ * RTL companion for the pages.css file.
+ */
+
+@import "base";
+
+
+/*
+ * Header
+ */
+
+#logo { /* Wrapping link for logo */
+ float: right;
+}
+
+/*
+ * Content
+ */
+
+ul.inline li { /* List of links */
+ display: inline-block; /* Bug in Safari causes display: inline to fail. */
+ padding: 0 0 0 1em;
+}
+span.field-label { /* The inline field label used by the Fences.module */
+ padding: 0 0 0 1em;
+}
diff --git a/97suifangqa/sass/sass/pages.scss b/97suifangqa/sass/sass/pages.scss
new file mode 100644
index 0000000..6ed3543
--- /dev/null
+++ b/97suifangqa/sass/sass/pages.scss
@@ -0,0 +1,424 @@
+/**
+ * @file
+ * Page Styling
+ *
+ * Style the markup found in page.tpl.php. Also includes some styling of
+ * miscellaneous Drupal elements that appear in the $content variable, such as
+ * ul.links, .pager, .more-link, etc.
+ */
+
+@import "base";
+
+
+/*
+ * Body
+ */
+
+body {
+ margin: 0;
+ padding: 0;
+}
+
+#page {
+}
+
+/*
+ * The skip-link link will be completely hidden until a user tabs to the link.
+ * See the element-focusable rule in system.base.css.
+ */
+
+#skip-link {
+ margin: 0;
+
+ a,
+ a:visited {
+ display: block;
+ width: 100%;
+ padding: 2px 0 3px 0;
+ text-align: center;
+ background-color: #666;
+ color: #fff;
+ }
+}
+
+.text {
+ p {
+
+ }
+ .highlight {
+ background-color: #efeff0;
+ border: 1px solid #c9caca;
+ padding: 2px;
+ font-weight: bold;
+ p {
+ margin: 0;
+ }
+ }
+}
+
+/*
+ * Header
+ */
+
+#header {
+}
+
+#login {
+ position: relative;
+ &.not-logged-in {
+ ul {
+ margin: 0;
+ li {
+ border-right: 1px solid;
+
+ padding: {
+ left: 0.5em;
+ right: 0.8em;
+ }
+ &.first {
+ padding-left: 0;
+ }
+ &.last {
+ padding-right: 0;
+ border-right: none;
+ }
+
+ a {
+ color: inherit;
+ }
+ }
+ }
+ }
+ &.logged-in{
+ .user-level {
+ @include adjust-font-size-to(14px, 14/20);
+ padding: {
+ left: 0.2em;
+ right: 0.25em;
+ top: 0.05em;
+ bottom: 0.05em;
+ }
+ vertical-align: -0.1em;
+ }
+ .user-name,
+ .user-level,
+ .user-photo,
+ .drop-down-menu-button {
+ vertical-align: bottom;
+ }
+ .user-name {
+ @include adjust-font-size-to(16px,16/20);
+ font-weight: bold;
+ }
+
+ .drop-down-area {
+ cursor: pointer;
+ }
+
+ .drop-down-menu {
+ color: black;
+ @include openable-base;
+ top: 100%;
+ margin-top: 10px;
+ left: -10px;
+ background-color: white;
+ border: 1px solid #c9c9c9;
+ @include box-shadow(0px 0px 10px rgba(#555, 0.5));
+ @include border-radius(2px);
+
+ .text-pointer {
+ position: absolute;
+ background: url(../../images/login-menu-popup-pointer.png) no-repeat;
+ width: 20px;
+ height: 8px;
+ top: -8px;
+ left: 90px;
+ margin-left: -10px;
+ }
+
+ ul {
+ margin: 0;
+ padding: 0;
+
+ li {
+ padding: 2px;
+ border-bottom: 1px solid #efefef;
+
+ &.last {
+ border-bottom: none;
+ }
+
+ a {
+ padding-left: 1em;
+ display: block;
+ width: 150px;
+ padding: {
+ top: 0.2em;
+ bottom: 0.2em;
+ }
+ text-decoration: none;
+
+ color: inherit;
+
+ @include border-radius(2px);
+
+ &:hover {
+ text-decoration: none;
+ background-color: #c9cacc;
+ color: white;
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+#back-to-top-button {
+ z-index: 100;
+ position: fixed;
+
+ background: url(../../images/back-to-top-button.png) no-repeat;
+ width: 40px;
+ height: 40px;
+
+ cursor: pointer;
+ opacity: 0;
+ visibility: hidden;
+
+ @include transition(all 0.3s ease 0s);
+
+ body.scrolled-down & {
+ opacity: 1;
+ visibility: visible;
+ }
+}
+
+#logo { /* Wrapping link for logo */
+ float: left; /* LTR */
+ margin: 0;
+ padding: 0;
+
+ img {
+ vertical-align: bottom;
+ }
+}
+
+#name-and-slogan { /* Wrapper for website name and slogan */
+ float: left;
+}
+
+#site-name { /* The name of the website */
+ margin: 0;
+ font-size: 2em;
+ line-height: 1.5em;
+
+ a:link,
+ a:visited {
+ color: #000;
+ text-decoration: none;
+ }
+
+ a:hover,
+ a:focus {
+ text-decoration: underline;
+ }
+}
+
+#site-slogan { /* The slogan (or tagline) of a website */
+ margin: 0;
+ font-size: 1em;
+}
+
+.region-header { /* Wrapper for any blocks placed in the header region */
+ clear: both; /* Clear the logo */
+}
+
+/*
+ * Main (container for everything else)
+ */
+
+#main {
+}
+
+/*
+ * Content
+ */
+
+#content {
+}
+
+.region-highlighted {
+}
+
+.breadcrumb { /* The path to the current page in the form of a list of links */
+ ol {
+ margin: 0;
+ padding: 0;
+ }
+ li {
+ display: inline;
+ list-style-type: none;
+ margin: 0;
+ padding: 0;
+ }
+}
+
+h1.title, /* The title of the page */
+h2.node-title, /* Title of a piece of content when it is given in a list of content */
+h2.block-title, /* Block title */
+h2.title, /* Comment section heading */
+h2.comment-form, /* Comment form heading */
+h3.title { /* Comment title */
+ margin: 0;
+}
+
+tr.even { /* Some tables have rows marked even or odd. */
+ /* background-color: #eee; */ /* Drupal core uses a #eee background */
+}
+
+tr.odd {
+ /* background-color: #eee; */ /* Drupal core uses a #eee background */
+}
+
+div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
+ margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
+
+ ul {
+ margin-top: 0;
+ margin-bottom: 0;
+ }
+}
+
+div.status { /* Normal priority messages */
+}
+
+div.warning,
+tr.warning { /* Medium priority messages */
+ /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
+}
+
+div.error,
+tr.error { /* High priority messages. See also the .error declaration below. */
+}
+
+.error { /* Errors that are separate from div.messages status messages. */
+ /* color: #e55; */ /* Drupal core uses a #e55 background */
+}
+
+.warning { /* Warnings that are separate from div.messages status messages. */
+ /* color: #e09010; */ /* Drupal core uses a #e09010 background */
+}
+
+.tabs { /* See also the tabs.css file. */
+}
+
+.region-help { /* Help text on a page */
+}
+
+.more-help-link { /* Link to more help */
+}
+
+.region-content { /* Wrapper for the actual page content */
+}
+
+ul.inline { /* List of links generated by theme_links() */
+ display: inline;
+ padding: 0;
+
+ li {
+ display: inline;
+ list-style-type: none;
+ padding: 0 1em 0 0; /* LTR */
+ }
+}
+span.field-label { /* The inline field label used by the Fences module */
+ padding: 0 1em 0 0; /* LTR */
+}
+
+.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
+ padding: 0;
+
+ li { /* Each page number in the pager list */
+ padding: 0 0.5em;
+ }
+}
+
+.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
+}
+
+.more-link { /* Aggregator, blog, and forum more link */
+}
+
+/*
+ * First sidebar (on left in LTR languages, on right in RTL)
+ *
+ * Remember to NOT add padding or margin to your .region-sidebar-first
+ * (see the layout.css file.)
+ */
+
+.region-sidebar-first {
+}
+
+/*
+ * Second sidebar (on right in LTR languages, on left in RTL)
+ *
+ * Remember to NOT add padding or margin to your .region-sidebar-second
+ * (see the layout.css file.)
+ */
+
+.region-sidebar-second {
+}
+
+/*
+ * Footer
+ */
+
+#footer {
+}
+
+/*
+ * Page bottom
+ */
+
+.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
+}
+
+
+.left-picture {
+ #sidebar-first {
+ position: fixed;
+ top: 0;
+ bottom: 0;
+ background: url(../../images/back_main.jpg) no-repeat center top;
+ background-size: auto 100%;
+ min-height: 600px;
+
+ #header {
+ position: absolute;
+ bottom: 30px;
+ text-align: center;
+ width: auto;
+ margin-left: 40px;
+ }
+ }
+ #content {
+ .region-wrap {
+ margin: {
+ top: 50px;
+ left: 0px;
+ right:0;
+ }
+ }
+ }
+}
+
+.page-not-found {
+ .message {
+ position: fixed;
+ top: 50%;
+ @include adjust-font-size-to(18px);
+ line-height: 20px;
+ margin-top: -10px;
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/print.scss b/97suifangqa/sass/sass/print.scss
new file mode 100644
index 0000000..f26be8f
--- /dev/null
+++ b/97suifangqa/sass/sass/print.scss
@@ -0,0 +1,73 @@
+/**
+ * @file
+ * Print styling
+ *
+ * We provide some sane print styling for Drupal using Zen's layout method.
+ */
+
+@import "base";
+
+
+@media print {
+
+ a:link,
+ a:visited { /* underline all links */
+ text-decoration: underline !important;
+
+ #site-name & { /* Don't underline header */
+ text-decoration: none !important;
+ }
+ }
+
+ #content {
+ a[href]:after { /* Add visible URL after links. */
+ content: " (" attr(href) ")";
+ font-weight: normal;
+ font-size: $base-font-size;
+ }
+
+ a[href^="javascript:"]:after,
+ a[href^="#"]:after { /* Only display useful links. */
+ content: "";
+ }
+
+ abbr[title]:after { /* Add visible title after abbreviations. */
+ content: " (" attr(title) ")";
+ }
+ }
+
+ #content { /* Un-float the content */
+ float: none !important;
+ width: 100% !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ body,
+ #page,
+ #main,
+ #content { /* Turn off any background colors or images */
+ color: #000;
+ background-color: transparent !important;
+ background-image: none !important;
+ }
+
+ #skip-link,
+ #toolbar,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .breadcrumb,
+ .tabs,
+ .action-links,
+ .links,
+ .book-navigation,
+ .forum-topic-navigation,
+ .pager,
+ .feed-icons { /* Hide sidebars and nav elements */
+ visibility: hidden;
+ display: none;
+ }
+
+} /* End @media print */
diff --git a/97suifangqa/sass/sass/registration.scss b/97suifangqa/sass/sass/registration.scss
new file mode 100644
index 0000000..5d821ee
--- /dev/null
+++ b/97suifangqa/sass/sass/registration.scss
@@ -0,0 +1,52 @@
+@charset "utf-8";
+/**
+ * @file
+ * Registration specific styles
+ * @author 赵迤晨 (Zhao Yichen) <interarticle@gmail.com>
+ */
+@import "base";
+
+body.registration {
+ input[type="text"],
+ input[type="password"] {
+ background-color: #f8f8f5;
+ border: 1px solid #babab9;
+ @include border-radius(2px);
+ @include input-placeholder-color(#898989);
+ width: 250px;
+ }
+
+ .reg-form {
+ border: 0px;
+ tr td {
+ padding: 3px;
+ padding-top: 5px;
+ padding-bottom: 5px;
+ }
+ td.error {
+ max-width: 200px;
+ vertical-align: top;
+ padding-left: 10px;
+ }
+ }
+ .error {
+ color: red;
+ }
+
+ input.submit {
+ width: 100px;
+ }
+}
+body.login {
+ .login-prompt {
+ font-size: 0.9em;
+ text-align: center;
+ background: url(../../images/horizontal-bar-grey.png) repeat-x center center;
+
+ .prompt {
+ background-color: white;
+ padding-left: 5px;
+ padding-right: 5px;
+ }
+ }
+} \ No newline at end of file
diff --git a/97suifangqa/sass/sass/tabs-rtl.scss b/97suifangqa/sass/sass/tabs-rtl.scss
new file mode 100644
index 0000000..d7cdf8e
--- /dev/null
+++ b/97suifangqa/sass/sass/tabs-rtl.scss
@@ -0,0 +1,20 @@
+/**
+ * @file
+ * RTL companion for the tabs.css file.
+ */
+
+@import "base";
+
+
+ul.primary,
+ul.secondary {
+ li {
+ float: right;
+ }
+}
+
+ul.primary {
+ li {
+ margin: 0.5em 3px 0 0;
+ }
+}
diff --git a/97suifangqa/sass/sass/tabs.scss b/97suifangqa/sass/sass/tabs.scss
new file mode 100644
index 0000000..8dc7b5f
--- /dev/null
+++ b/97suifangqa/sass/sass/tabs.scss
@@ -0,0 +1,118 @@
+/**
+ * @file
+ * Tabs Styling
+ *
+ * Adds styles for the primary and secondary tabs.
+ *
+ * Compare this with default CSS found in the system module's stylesheet (a copy
+ * of which is in drupal7-reference.css.)
+ */
+
+@import "base";
+
+
+// Some variables to make altering the styling easier.
+$tabs-container-bg: #fff;
+$tabs-border: #bbb;
+
+
+/*
+ * Basic positioning styles shared by primary and secondary tabs.
+ */
+
+ul.primary,
+ul.secondary {
+ @include clearfix;
+ border-bottom: 1px solid $tabs-border;
+ list-style: none;
+ margin: 1em 0 1.5em;
+ padding: 0 2px;
+ white-space: nowrap;
+
+ li {
+ float: left; /* LTR */
+ margin: 0.5em 3px 0;
+ }
+
+ a {
+ border: 1px solid #e9e9e9;
+ border-right: 0;
+ border-bottom: 0;
+ display: block;
+ line-height: 1.5em;
+ text-decoration: none;
+ }
+}
+
+/*
+ * Primary tabs
+ */
+
+ul.primary {
+ li {
+ @include border-top-radius(4px);
+ @include single-text-shadow(#fff, 1px, 1px, 0);
+ border: 1px solid $tabs-border;
+ border-bottom: 0;
+ margin: 0.5em 0 0 3px; /* LTR */
+ }
+ li.active {
+ border-bottom: 1px solid $tabs-container-bg;
+ margin-bottom: -1px; /* Overlap the ul's border. */
+ }
+
+ a:link,
+ a:visited {
+ @include border-top-radius(4px);
+ @include transition(background-color 0.3s);
+ color: #333;
+ background-color: #dedede;
+ letter-spacing: 1px;
+ padding: 0 1em;
+ text-align: center;
+ }
+ a:hover,
+ a:focus {
+ background-color: #e9e9e9;
+ border-color: #f2f2f2;
+ }
+ a.active {
+ background-color: transparent;
+ @include filter-gradient(rgba(#e9e9e9, 1), rgba(#e9e9e9, 0));
+ @include background-image(linear-gradient(rgba(#e9e9e9, 1), rgba(#e9e9e9, 0)));
+ border-color: #fff;
+ }
+}
+
+/*
+ * Secondary tabs
+ */
+
+ul.secondary {
+ font-size: .9em;
+ margin-top: -1.5em; /* Collapse bottom margin of ul.primary. */
+ padding-bottom: .5em;
+
+ a:link,
+ a:visited {
+ @include border-radius(.75em);
+ @include transition(background-color 0.3s);
+ @include single-text-shadow(#fff, 1px, 1px, 0);
+ background-color: #f2f2f2;
+ color: #666;
+ padding: 0 .5em;
+ }
+ a:hover,
+ a:focus {
+ background-color: #dedede;
+ border-color: #999;
+ color: #333;
+ }
+ a.active,
+ a:active {
+ @include single-text-shadow(#333, 1px, 1px, 0);
+ background-color: #666;
+ border-color: #000;
+ color: #fff;
+ }
+}
diff --git a/97suifangqa/sass/sass/views-styles.scss b/97suifangqa/sass/sass/views-styles.scss
new file mode 100644
index 0000000..913ec9d
--- /dev/null
+++ b/97suifangqa/sass/sass/views-styles.scss
@@ -0,0 +1,45 @@
+/**
+ * @file
+ * Views Styling
+ */
+
+@import "base";
+
+
+/*
+ * Views' admin tabs
+ *
+ * The views admin tabs use the same classes as the secondary tabs. We prevent
+ * some of our tab styling from bleeding into (and breaking) the Views admin
+ * pages. If your sub-theme isn't used for admin pages, you can remove this
+ * entire section.
+ */
+.views-displays .secondary {
+ li {
+ float: none;
+ margin: 0 6px 0;
+ }
+
+ a:link,
+ a:visited {
+ @include single-text-shadow(none);
+ padding: 2px 7px 3px;
+ }
+
+ .open > a {
+ @include border-radius(7px 7px 0 0);
+ &:hover {
+ color: #333;
+ }
+ }
+
+ .action-list li {
+ margin: 0;
+ &:first-child {
+ @include border-radius(0 7px 0 0);
+ }
+ &:last-child {
+ @include border-radius(0 0 7px 7px);
+ }
+ }
+}
diff --git a/97suifangqa/sass/sass/wireframes.scss b/97suifangqa/sass/sass/wireframes.scss
new file mode 100644
index 0000000..95b70f2
--- /dev/null
+++ b/97suifangqa/sass/sass/wireframes.scss
@@ -0,0 +1,28 @@
+/**
+ * @file
+ * Wireframes Styling
+ *
+ * Add wireframes to the basic layout elements.
+ */
+
+@import "base";
+
+
+.with-wireframes {
+ #header,
+ #main,
+ #content,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .region-bottom {
+ outline: 1px solid #ccc;
+
+ @if $legacy-support-for-ie6 or $legacy-support-for-ie7 {
+ .lt-ie8 & {
+ border: 1px solid #ccc; /* IE6/7 do not support the outline property. */
+ }
+ }
+ }
+}