pax_global_header 0000666 0000000 0000000 00000000064 13077012456 0014517 g ustar 00root root 0000000 0000000 52 comment=8a52d4288ecb4c01049ac7e2781365b4093c35d6 Singularity-1.8.0/ 0000775 0000000 0000000 00000000000 13077012456 0014037 5 ustar 00root root 0000000 0000000 Singularity-1.8.0/.bump.js 0000664 0000000 0000000 00000002536 13077012456 0015424 0 ustar 00root root 0000000 0000000 'use strict'; var path = require('path'), fs = require('fs'), semver = require('semver'), exec = require('child_process').execSync, args = require('yargs').argv; var pkg = require('./package.json'), ruby = fs.readFileSync('./lib/singularitygs.rb').toString(); var rubyString, date = new Date().toISOString(); var version = pkg.version; if (exec('git status --porcelain').toString() !== '') { console.error('Working dirty. Please commit before trying again'); process.exit(1); } version = { major: semver.major(version), minor: semver.minor(version), patch: semver.patch(version) }; if (args.major) { version = `${version.major + 1}.0.0`; } else if (args.minor) { version = `${version.major}.${version.minor + 1}.0`; } else if (args.patch) { version = `${version.major}.${version.minor}.${version.patch + 1}`; } else { version = `${version.major}.${version.minor}.${version.patch}`; } date = date.substring(0, date.indexOf('T')); rubyString = `module SingularityGS VERSION = "${version}" DATE = "${date}" end`; ruby = ruby.substring(0, ruby.indexOf('module SingularityGS')) + rubyString; pkg.version = version; fs.writeFileSync('./lib/singularitygs.rb', ruby + '\n'); fs.writeFileSync('./package.json', JSON.stringify(pkg, null, 2) + '\n'); exec(`git commit -am "Release v${version}"`); exec(`git tag v${version}`); Singularity-1.8.0/.bundle/ 0000775 0000000 0000000 00000000000 13077012456 0015366 5 ustar 00root root 0000000 0000000 Singularity-1.8.0/.bundle/config 0000664 0000000 0000000 00000000070 13077012456 0016553 0 ustar 00root root 0000000 0000000 --- BUNDLE_PATH: vendor BUNDLE_DISABLE_SHARED_GEMS: '1' Singularity-1.8.0/.gembuild.js 0000664 0000000 0000000 00000000617 13077012456 0016247 0 ustar 00root root 0000000 0000000 'use strict'; var exec = require('child_process').execSync, version = require('./package.json').version; var commands = [ 'gem build singularitygs.gemspec', `gem push singularitygs-${version}.gem`, `rm singularitygs-${version}.gem` ]; commands.forEach(command => { try { exec(command); } catch (e) { console.error(e.message); process.exit(1); } }); process.exit(); Singularity-1.8.0/.gitignore 0000664 0000000 0000000 00000000153 13077012456 0016026 0 ustar 00root root 0000000 0000000 .DS_Store *.sassc *.scssc *.gem example/css/ Gemfile.lock /tests/output/ /tests/diff/ node_modules/ /vendor Singularity-1.8.0/.rvmrc 0000664 0000000 0000000 00000000044 13077012456 0015167 0 ustar 00root root 0000000 0000000 rvm ruby-1.9.2@singularity --create Singularity-1.8.0/.travis.yml 0000664 0000000 0000000 00000000177 13077012456 0016155 0 ustar 00root root 0000000 0000000 language: ruby bundler_args: --without development rvm: - 1.8.7 - 2.0.0 gemfile: - Gemfile branches: only: - 1.x.x Singularity-1.8.0/CHANGELOG.md 0000664 0000000 0000000 00000013461 13077012456 0015655 0 ustar 00root root 0000000 0000000 # Singularity Changelog ## v1.6.2 ### February 26, 2015 * **Fix** First gutter in a split gutter grid now displays properly in SVG backgrounds ## v1.6.1 ### February 25, 2015 * **Change** Moved from Linear Gradient backgrounds to SVG backgrounds based on the awesome work done over in [Susy](https://github.com/ericam/susy/issues/436) * **Fix** `@error` issue with current version of Libsass ## v1.5.0 ### January 17, 2015 * **New** Moved [Calc Output Style](http://snugug.com/musings/bulletproof-combo-fixed-and-fluid-grids-css3-calc) from [Singularity Extras](https://github.com/at-import/singularity-extras) into Core * **New** Added `sgs-set()` mixin to mirror `sgs-change()` mixin (getters and setters FTW) * **New** `background-grid` mixin now throws a warning instead of a unit error if it's unable to generate a CSS Gradient for the given grid ## v1.4.0 ### August 23, 2014 * **New** Allow for a map of options to be passed to the `layout` mixin in the same way that you can for `layout-at` * **New** Allow `output` keyword in `layout-at` mixin map ## v1.3.0 #### August 11, 2014 * **New** Sass 3.4 support * **New** `layout-at` mixin for defining a layout override and writing a media query at the same time * **New** `sgs-reset()` mixin and function now allow for comma-separated list of settings to reset * **Change** Deprecation warning is now deprecated as Sass 3.4 will ensure this is no longer an issue * **Fix** Grid Visualization now doesn't explode with fixed width gutters * **New** Quickstart in the README * **Fix** Quotes in `isolation-span` clear now unquote correctly * **Removed** Singularity demo installs and box sizing polyfill as they are available in other, more useful means * **Fix** `SASS_PATH` issues to make Singularity usable w/o Compass and as a Ruby gem ## v1.2.0.rc.6 #### February 11, 2014 * **Fix** Sass 3.3.0.rc.3 updated how some core functions work; updates for that. * **New** Added an `asymmetric-span` mixin for the common use case of only needing to change location in an asymmetric span. * **New** Global setting `'asymetric output'` (defaults to `'isolation'`) * **Change** Moved Background Grid settings to global settings. * `$background-grid-color` is now `'background grid color'` (defaults to `'chocolate'`) * `$show-grid-background` is now `'debug'` (defaults to `false`) * **New** If setting `'debug'` is set to `true`, full settings map passed to output function will be output to the `-sgs-span-settings` property. Inspired by [Susy Issue 293](https://github.com/ericam/susy/issues/293) ## v1.2.0.rc.4 #### January 31, 2014 * **Fix** Years in the Changelog were 2013, but was actually done in 2014 * **Fix** Breakpoint dependency should be >= 2.4.0 and < 3.0.0, which is accomplished with `~>2.4` ## v1.2.0.rc.3 #### January 17, 2014 * **Change** Better warning error for `sgs-set` so settings can contain dashes as long as words are set with spaces. Added errors for underscores as well. ## v1.2.0.rc.2 #### January 17, 2014 * **New** **Change** Output functions can now set the value of a property to a map to have multiple properties printed with different values. The primary two use cases for this is to provide fallbacks for the same property or to provide a way to have experimental values for properties. The map should have a descriptive key (for experimental properties, the prefix plus `standard` for the standard property, or for fallbacks a `fallback` and `standard` key) and the value should be the value to be printed. ## v1.2.0.rc.1 #### January 12, 2014 * **New** Sass 3.3.0 and Compass 1.0.0 compatibility * Sass 3.3.0 minimum required version * Compass no longer required to run (no custom Ruby dependencies) * **New** Installable through Bower * **New** [Breakpoint](http://github.com/team-sass/breakpoint) variables can now be used in `add-*` * **New** Items added in `add-*` no longer need to be in order! They'll be sorted for you! * **New** **Change** `grid-span` now takes an optional parameter `$gutter-style` (after `$output-style`, before `$options`) to allow you to specify gutter style/ * **New** `grid-span` options now can include a `from` key (left, right, or opposite) to specify the direction that should be used. If specifying a `from` direction, the `[dir="rtl"]` will not be printed. If your global direction is `rtl` or `both`, the selector will still be printed. * **New** `isolation-span` and `float-span` both now have `$gutter-style` and `$from` parameters to pass them (respectively) to `grid-span` * **New** **Change** When writing both `ltr` and `rtl` styles at the same time, styles whose properties are identical between `ltr` and `rtl` will not print out in the `rtl` style. * **Change** **DEPRECATION** Removed `grid-overlay` as it was an even worse representation than `background-grid` and was undocumented. * **Change** **DEPRECATION** Removed `grid-toggle` as the JavaScript needed was annoying to maintain and explain how it worked. * **New** **DEPRECATION** Global variables for settings have been deprecated due to global namespacing issues that had to be changed. Instead, use `@include sgs-change($setting, $value)` to change a setting. Any setting that previously had dashes in their variable name (`$include-border-box` for instance) becomes a string of the variable name with spaces instead of dashes. Use `@include sgs-reset($setting)` to reset a setting. * **DEPRECATION** `add-*` functions changed to `add-*` mixins to resolve global namespacing issues that had to be changed. Example: update `$grids: 12` to `@include add-grid(12)` and `$gutters: add-gutter(.5 at 500px)` to `@include add-gutter(.5 at 500px)` * **DEPRECATION** push/pull/isolation mixins have been deprecated as they were always undocumented and untested and there doesn't appear to be many users using them as it was really only useful for `float`. Most users have migrated to `isolation` if push/pull/isolation was needed Singularity-1.8.0/CONTRIBUTING.md 0000664 0000000 0000000 00000006056 13077012456 0016277 0 ustar 00root root 0000000 0000000 ## Contributing to Singularity We love contributors! Yes we do! If you would like to contribute to Singularity, please follow the following guidelines: * **DO NOT ISSUE A PULL REQUEST WITHOUT RELATED ISSUE!!** All pull requests must reference an issue in the issue queue and will only be looked at after discussion about that issue has taken place. Any pull request created that does not reference an issue will be closed. * All pull requests will be tested against our standard test suite through Travis CI. If any of the tests fail, we will ask you to fix your code so that the tests no longer fail. Any new features that are added must have accompanying passing tests before being considered. During a pull request, we may ask for additional tests to be written in order to ensure that what is being changed does not have negative effects elsewhere. * We are actively trying to stay away from Ruby functionality and am attempting to build this entirely with native Sass functionality. If you would like to add a feature that includes Ruby code, there needs to be a very very compelling case as to why. * Each individual feature you would like add, or bug you would like to squash, should be an individual pull request. Each pull request should be from an individual feature branch to either the latest stable or development branch. **The current *stable* branch is 1.x.x. The current *development* branch is 1.x.x**. Contributions that are not in the form of a pull request will not be considered. If your pull request does not apply cleanly we will ask you to fix that before we will look into pulling it in. We may ask you to update or make changes to the code you've submitted, please don't take this the wrong way. If a pull request smells (such as if a large amount of code is all within a single commit, or the coding standards aren't in line with core Singularity) we may ask you to rewrite your commit. * If you offer a new feature in a pull request and we do not feel it is a good fit for core Singularity, fret not. Singularity is designed to be extensible, and we encourage you to [build your own Compass Extension](https://github.com/Team-Sass/Compass-Extension-Template) and release your feature (if possible) as a Singularity plugin. * **BEFORE FILING AND ISSUE** ensure that the issue is reproducable either on [SassMeister](http://sassmeister.com/) or under Bundler control. Post the versions of all gems being used and the smallest set of example code of how to reproduce the error. ### Testing We have automated tests to ensure our build is working. To test, you must install [Bundler](http://bundler.io/), which will allow you to install all needed gem versions. Once you have Bundler up and running and have your dependencies installed, run ```bundle exec rake``` to run the tests. All tests are stored within the 'test' folder as .scss files. The test suite ensures that each test compiles, and does not change the expected behavior. If a test needs to be updated or changed, update the correct .scss file, and then run ```bundle exec rake compile``` to update all corrosponding css files. Singularity-1.8.0/Gemfile 0000664 0000000 0000000 00000000370 13077012456 0015332 0 ustar 00root root 0000000 0000000 # Pull gems from RubyGems source 'https://rubygems.org' gem 'sass', "~> 3.4" gem 'compass', "~>1.0" gem 'breakpoint', "~> 2.4" group :test do gem 'rake' gem "diffy", "~> 3.0.1" gem "colorize", "~> 0.6.0" end Singularity-1.8.0/LICENSE 0000664 0000000 0000000 00000002103 13077012456 0015040 0 ustar 00root root 0000000 0000000 The MIT License (MIT) Copyright (c) 2013 Scott Kellum, Sam Richard Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Singularity-1.8.0/Rakefile 0000664 0000000 0000000 00000001131 13077012456 0015500 0 ustar 00root root 0000000 0000000 task :default => [:test] task :test do require 'fileutils' Dir.chdir('tests') do output_dir = 'output' FileUtils.mkdir_p output_dir ruby '.unit_tests.rb' FileUtils.rm_rf output_dir end end desc 'Compile baseline CSS' task :compile do require 'compass' require 'compass/exec' Dir.chdir('tests') do Compass.add_configuration 'config.rb' Compass.configuration.project_path = Dir.pwd # Compile into baseline directory instead of test output directory Compass.configuration.css_dir = 'controls' Compass.compiler.clean! Compass.compiler.run end end Singularity-1.8.0/bower.json 0000664 0000000 0000000 00000000600 13077012456 0016044 0 ustar 00root root 0000000 0000000 { "name": "singularity", "version": "1.8.0", "main": "stylesheets/_singularitygs.scss", "ignore": [ "**/.*", "node_modules", "components", "Gemfile", "Gemfile.lock", "*.gemspec", "lib", "example", "tests", "Rakefile", "templates", "working", "CONTRIBUTING.md" ], "dependencies": { "breakpoint-sass": ">=2.4.0" } } Singularity-1.8.0/example/ 0000775 0000000 0000000 00000000000 13077012456 0015472 5 ustar 00root root 0000000 0000000 Singularity-1.8.0/example/config.rb 0000664 0000000 0000000 00000000404 13077012456 0017262 0 ustar 00root root 0000000 0000000 # Require any additional compass plugins here. # require 'singularitygs' require 'modular-scale' require 'breakpoint' # Set this to the root of your project when deployed: add_import_path '../stylesheets' http_path = 'html' css_dir = 'css' sass_dir = 'sass' Singularity-1.8.0/example/demo/ 0000775 0000000 0000000 00000000000 13077012456 0016416 5 ustar 00root root 0000000 0000000 Singularity-1.8.0/example/demo/ag-asymmetric.html 0000664 0000000 0000000 00000002055 13077012456 0022050 0 ustar 00root root 0000000 0000000
ag1 2 of 10
ag2 6 of 10
ag4 3 of 6
ag5 3 of 6
ag6 2 of 6
ag7 4 of 6
ag8 2 of 4
ag9 2 of 4
ag10 auto
ag3 2 of 10