diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e6531ab --- /dev/null +++ b/.gitmodules @@ -0,0 +1,33 @@ +[submodule "system"] + path = system + url = git://github.com/kohana/core.git +[submodule "modules/auth"] + path = modules/auth + url = git://github.com/kohana/auth.git +[submodule "modules/auto-modeler"] + path = modules/auto-modeler + url = git://github.com/zombor/Auto-Modeler.git +[submodule "modules/database"] + path = modules/database + url = git://github.com/kohana/database.git +[submodule "modules/image"] + path = modules/image + url = git://github.com/kohana/image.git +[submodule "modules/kostache"] + path = modules/kostache + url = git://github.com/zombor/KOstache.git +[submodule "modules/vendo-core"] + path = modules/vendo-core + url = git://github.com/vendo/core.git +[submodule "modules/vendo-billing"] + path = modules/vendo-billing + url = git://github.com/vendo/billing.git +[submodule "modules/vendo-application"] + path = modules/vendo-application + url = git://github.com/vendo/application.git +[submodule "modules/vendo-admin"] + path = modules/vendo-admin + url = git@github.com:vendo/admin.git +[submodule "modules/vendo-acl"] + path = modules/vendo-acl + url = git://github.com/vendo/acl.git diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..cf02e37 --- /dev/null +++ b/LICENSE @@ -0,0 +1,13 @@ +Copyright (c) 2010, Jeremy Bush + +Permission to use, copy, modify, and/or distribute this software for any +purpose with or without fee is hereby granted, provided that the above +copyright notice and this permission notice appear in all copies. + +THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..25e8720 --- /dev/null +++ b/README.md @@ -0,0 +1,96 @@ +Vendo +=== + +What is it? +--- + +A lightweight e-commerce framework developed with the Kohana3 php framework. + +It's main goal is to provide an excellent starting base for you to develop e-commerce applications with. It's not designed to be a drop-in e-commerce application, like Magento or OpenCart. + +What is special about Vendo? +--- + + 1. It will be easy to build applications with + 2. The source code will make sense + 3. It will be fast + 4. It will be easy to write extensions for + 5. Development/Support will be as open as possible. Your contributions are welcome and encouraged + 6. It will be fully tested to ensure stability and prevent issue regression + +How can I help? +--- + + 1. Create an issue in this project for your feature/request + 2. Follow the [pull request](http://help.github.com/pull-requests/) procedures + +How to install Vendo +--- + +Vendo has many parts: + + 1. vendo-core: the core models and vendo base/exception classes + 2. vendo-acl: ACL classes + 3. vendo-billing: billing/order models and payment gateway classes + 4. vendo-admin: the admin application to manage the database for vendo + 5. vendo-application: a sample e-commerce application + +If you just want to demo the whole vendo-application, do: + + 1. Check out this repository with the --recursive flag + 2. cd to modules/kostache and run `git submodule init` and `git submodule update` + 3. Install the database: + * Run the schema.sql file located in application/schema/ + * OR (if you are doing development work, use the migrations) + * [Liquibase 1.95.](http://www.liquibase.org/download) is used for migrations + * Install the database connector. [Mysql](http://dev.mysql.com/downloads/connector/j/) is recommended. + * Run `liquibase --driver=com.mysql.jdbc.Driver --classpath=/path/to/mysql-connector-java-5.1.13-bin.jar --changeLogFile=application/schema/schema.xml --url="jdbc:mysql:///" --username= --password= migrate` + 4. Make sure the application/photos/ directory is writable by the webserver + +If you'd like to use Vendo to develop your e-commerce application, you can omit the vendo-application module, and use the other four (you still need the database). Sometime in the near future, the modules will be broken into their own repositories. + +You can use the vendo-application as a starting point, or for inspiration on how to build an application with Vendo. + +Using vendo-application as a base +--- + +You can use the vendo-application module as a base for your e-commerce application. If you are happy with the functionality of the stock controllers but not the views (you should probably never use them as-is), you can replace the view class and templates in your application to get a customized skin on top of it. + +Testing +--- + +One goal of Vendo is to be completely tested. This helps prevent bugs and defines a stable API. We use phpunit for unit tests, and plan on using cucumber for behavior tests once the application ui is stable. + +If you contribute code, please make sure that you use TDD or BDD, depending on your contribution. + +To run the phpunit tests, simple run `phpunit` from the root of the repository. All tests should pass. Please file an issue if they do not pass on your system. + +Integration +--- + +If you are using the Kohana Template Controller, put this in an extended template controller: + +public function after() +{ + $this->template->{{$your_body_variable}} = $this->request->response; + + return parent::after(); +} + +Then make a templates/layout.mustache file in your application directory with this in it: + +{{>body}} + +If you take this method, you will need to output the category links, cart link, and the account admin links manually. + +This method is untested, so please provide feedback. :) + +Tech +--- + +Here's a list of tech used to build Vendo: + + * [Kohana](http://github.com/kohana/kohana) + * [KOstache](http://github.com/zombor/KOstache) + * [Mustache.php](http://github.com/bobthecow/mustache.php) + * [Auto Modeler](http://github.com/zombor/Auto-Modeler) \ No newline at end of file diff --git a/application/bootstrap.php b/application/bootstrap.php new file mode 100644 index 0000000..bc99ac8 --- /dev/null +++ b/application/bootstrap.php @@ -0,0 +1,120 @@ + '/', +)); + +/** + * Attach the file write to logging. Multiple writers are supported. + */ +Kohana::$log->attach(new Kohana_Log_File(APPPATH.'logs')); + +/** + * Attach a file reader to config. Multiple readers are supported. + */ +Kohana::$config->attach(new Kohana_Config_File); + +/** + * Enable modules. Modules are referenced by a relative or absolute path. + */ +Kohana::modules( + array( + 'vendo-admin' => MODPATH.'vendo-admin', + 'vendo-application' => MODPATH.'vendo-application', + 'vendo-core' => MODPATH.'vendo-core', + 'vendo-billing' => MODPATH.'vendo-billing', + 'vendo-acl' => MODPATH.'vendo-acl', + 'auth' => MODPATH.'auth', + 'database' => MODPATH.'database', + 'auto-modeler' => MODPATH.'auto-modeler', + 'image' => MODPATH.'image', + 'kostache' => MODPATH.'kostache', + + 'unittest' => MODPATH.'unittest', + ) +); + +Session::$default = 'cookie'; +Session::instance(); + +/** + * Set the routes. Each route must have a minimum of a name, a URI and a set of + * defaults for the URI. + */ +Route::set( + 'admin', + '/((/(/)))', + array('directory' => 'admin') +); + +Route::set('default', '((/(/)))') + ->defaults(array( + 'controller' => 'home', + 'action' => 'index', + )); \ No newline at end of file diff --git a/README b/application/cache/.gitignore similarity index 100% rename from README rename to application/cache/.gitignore diff --git a/application/config/.gitignore b/application/config/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/application/config/auth.php b/application/config/auth.php new file mode 100644 index 0000000..90449a8 --- /dev/null +++ b/application/config/auth.php @@ -0,0 +1,16 @@ + 'AutoModeler_ORM', + 'hash_method' => 'sha1', + 'salt_pattern' => '1, 3, 5, 9, 14, 15, 20, 21, 28, 30', + 'lifetime' => 1209600, + 'session_key' => 'auth_user', + + // Username/password combinations for the Auth File driver + 'users' => array( + // 'admin' => 'b3154acf3a344170077d11bdb5fff31532f679a1919e716a02', + ), + +); \ No newline at end of file diff --git a/application/config/session.php b/application/config/session.php new file mode 100644 index 0000000..78ac9fa --- /dev/null +++ b/application/config/session.php @@ -0,0 +1,7 @@ + array( + 'encrypted' => FALSE, + ), +); diff --git a/application/logs/.gitignore b/application/logs/.gitignore new file mode 100755 index 0000000..e69de29 diff --git a/application/photos/.gitignore b/application/photos/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/application/schema/schema.sql b/application/schema/schema.sql new file mode 100644 index 0000000..61d9ca2 --- /dev/null +++ b/application/schema/schema.sql @@ -0,0 +1,211 @@ +# Sequel Pro dump +# Version 2492 +# http://code.google.com/p/sequel-pro +# +# Host: localhost (MySQL 5.1.41) +# Database: vendo +# Generation Time: 2010-09-30 21:34:08 -0400 +# ************************************************************ + +/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; +/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; +/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; +/*!40101 SET NAMES utf8 */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + + +# Dump of table addresses +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `addresses`; + +CREATE TABLE `addresses` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `billing_address` varchar(100) NOT NULL, + `billing_city` varchar(50) NOT NULL, + `billing_state` varchar(50) DEFAULT NULL, + `billing_postal_code` varchar(25) DEFAULT NULL, + `shipping_address` varchar(100) NOT NULL, + `shipping_city` varchar(50) NOT NULL, + `shipping_state` varchar(50) DEFAULT NULL, + `shipping_postal_code` varchar(25) DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table contacts +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `contacts`; + +CREATE TABLE `contacts` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `email` varchar(50) NOT NULL, + `first_name` varchar(50) NOT NULL, + `last_name` varchar(50) NOT NULL, + `address_id` bigint(20) unsigned NOT NULL + PRIMARY KEY (`id`), + CONSTRAINT `fk_contacts_address_id` FOREIGN KEY (`address_id`) REFERENCES `addresses` (`id`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table order_products +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `order_products`; + +CREATE TABLE `order_products` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `order_id` bigint(20) unsigned NOT NULL, + `product_id` bigint(20) unsigned NOT NULL, + `quantity` mediumint(9) NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_order_products_product` (`product_id`), + KEY `fk_order_products_order` (`order_id`), + CONSTRAINT `fk_order_products_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE, + CONSTRAINT `fk_order_products_order` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table orders +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `orders`; + +CREATE TABLE `orders` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `user_id` bigint(20) unsigned DEFAULT NULL, + `date_created` bigint(20) unsigned NOT NULL, + `address_id` bigint(20) unsigned DEFAULT NULL, + `contact_id` bigint(20) unsigned DEFAULT NULL, + PRIMARY KEY (`id`), + KEY `fk_order_user` (`user_id`), + CONSTRAINT `fk_order_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table product_categories +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `product_categories`; + +CREATE TABLE `product_categories` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + `order` int(10) unsigned NOT NULL, + `parent_id` bigint(20) unsigned DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table products +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `products`; + +CREATE TABLE `products` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + `price` decimal(10,2) NOT NULL, + `description` text NOT NULL, + `order` int(10) unsigned NOT NULL, + `primary_photo_id` int(10) unsigned NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table product_categories_products +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `product_categories_products`; + +CREATE TABLE `product_categories_products` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `product_id` bigint(20) unsigned NOT NULL, + `product_category_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_product_category` (`product_category_id`), + KEY `fk_product` (`product_id`), + CONSTRAINT `fk_product_category` FOREIGN KEY (`product_category_id`) REFERENCES `product_categories` (`id`) ON DELETE CASCADE, + CONSTRAINT `fk_product` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table roles +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `roles`; + +CREATE TABLE `roles` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `name` varchar(50) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; + +LOCK TABLES `roles` WRITE; +/*!40000 ALTER TABLE `roles` DISABLE KEYS */; +INSERT INTO `roles` (`id`,`name`) +VALUES + (1,'login'), + (2,'admin'); + +/*!40000 ALTER TABLE `roles` ENABLE KEYS */; +UNLOCK TABLES; + + +# Dump of table users +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `users`; + +CREATE TABLE `users` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `email` varchar(50) NOT NULL, + `password` varchar(50) NOT NULL, + `address_id` bigint(20) unsigned DEFAULT NULL, + `first_name` varchar(50) DEFAULT NULL, + `last_name` varchar(50) DEFAULT NULL, + PRIMARY KEY (`id`), + UNIQUE KEY `email` (`email`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + +# Dump of table users_roles +# ------------------------------------------------------------ + +DROP TABLE IF EXISTS `users_roles`; + +CREATE TABLE `users_roles` ( + `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, + `user_id` bigint(20) unsigned NOT NULL, + `role_id` bigint(20) unsigned NOT NULL, + PRIMARY KEY (`id`), + KEY `fk_user` (`user_id`), + KEY `fk_role` (`role_id`), + CONSTRAINT `fk_user` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE, + CONSTRAINT `fk_role` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE +) ENGINE=InnoDB DEFAULT CHARSET=utf8; + + + + + + +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; +/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; +/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; \ No newline at end of file diff --git a/application/schema/schema.xml b/application/schema/schema.xml new file mode 100644 index 0000000..79f80a3 --- /dev/null +++ b/application/schema/schema.xml @@ -0,0 +1,317 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/config.rb b/config.rb new file mode 100644 index 0000000..a537b5a --- /dev/null +++ b/config.rb @@ -0,0 +1,9 @@ +# Require any additional compass plugins here. +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "media/css" +sass_dir = "media/sass" +images_dir = "media/images" +javascripts_dir = "media/js" +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true diff --git a/index.php b/index.php new file mode 100644 index 0000000..c23086e --- /dev/null +++ b/index.php @@ -0,0 +1,85 @@ += 5.3, it is recommended to disable + * deprecated notices. Disable with: E_ALL & ~E_DEPRECATED + */ +error_reporting(E_ALL | E_STRICT); + +/** + * End of standard configuration! Changing any of the code below should only be + * attempted by those with a working knowledge of Kohana internals. + * + * @see http://kohanaframework.org/guide/using.configuration + */ + +// Set the full path to the docroot +define('DOCROOT', realpath(dirname(__FILE__)).DIRECTORY_SEPARATOR); + +// Make the application relative to the docroot +if ( ! is_dir($application) AND is_dir(DOCROOT.$application)) + $application = DOCROOT.$application; + +// Make the modules relative to the docroot +if ( ! is_dir($modules) AND is_dir(DOCROOT.$modules)) + $modules = DOCROOT.$modules; + +// Make the system relative to the docroot +if ( ! is_dir($system) AND is_dir(DOCROOT.$system)) + $system = DOCROOT.$system; + +// Define the absolute paths for configured directories +define('APPPATH', realpath($application).DIRECTORY_SEPARATOR); +define('MODPATH', realpath($modules).DIRECTORY_SEPARATOR); +define('SYSPATH', realpath($system).DIRECTORY_SEPARATOR); + +// Clean up the configuration vars +unset($application, $modules, $system); + +// Bootstrap the application +require APPPATH.'bootstrap'.EXT; + +echo Request::instance() + ->execute() + ->send_headers() + ->response; \ No newline at end of file diff --git a/media/css/ie.css b/media/css/ie.css new file mode 100644 index 0000000..631b53a --- /dev/null +++ b/media/css/ie.css @@ -0,0 +1,89 @@ +/* line 7, ../sass/ie.scss */ +body.bp { + text-align: center; +} +/* line 48, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +* html body.bp legend { + margin: 0px -8px 16px 0; + padding: 0; +} +/* line 52, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +html > body.bp p code { + *white-space: normal; +} +/* line 67, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp .container { + text-align: left; +} +/* line 69, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp sup { + vertical-align: text-top; +} +/* line 71, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp sub { + vertical-align: text-bottom; +} +/* line 73, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp hr { + margin: -8px auto 11px; +} +/* line 75, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp img { + -ms-interpolation-mode: bicubic; +} +/* line 77, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp fieldset { + padding-top: 0; +} +/* line 79, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp textarea { + overflow: auto; +} +/* line 82, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.text { + margin: 0.5em 0; + background-color: white; + border: 1px solid #bbbbbb; +} +/* line 86, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.text:focus { + border: 1px solid #666666; +} +/* line 88, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.title { + margin: 0.5em 0; + background-color: white; + border: 1px solid #bbbbbb; +} +/* line 92, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.title:focus { + border: 1px solid #666666; +} +/* line 94, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.checkbox { + position: relative; + top: 0.25em; +} +/* line 97, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.radio { + position: relative; + top: 0.25em; +} +/* line 100, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp input.button { + position: relative; + top: 0.25em; +} +/* line 103, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp textarea { + margin: 0.5em 0; +} +/* line 105, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp select { + margin: 0.5em 0; +} +/* line 107, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_ie.scss */ +body.bp button { + position: relative; + top: 0.25em; +} diff --git a/media/css/print.css b/media/css/print.css new file mode 100644 index 0000000..b02812b --- /dev/null +++ b/media/css/print.css @@ -0,0 +1,73 @@ +/* line 4, ../sass/print.scss */ +body.bp { + line-height: 1.5; + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + color: black; + background: none; + font-size: 10pt; +} +/* line 52, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp .container { + background: none; +} +/* line 54, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp hr { + background: #cccccc; + color: #cccccc; + width: 100%; + height: 2px; + margin: 2em 0; + padding: 0; + border: none; +} +/* line 62, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp hr.space { + background: white; + color: white; +} +/* line 65, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 { + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; +} +/* line 67, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp code { + font-size: 0.9em; + font-family: "andale mono", "lucida console", monospace; +} +/* line 72, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp a img { + border: none; +} +/* line 75, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp a:link, body.bp a:visited { + background: transparent; + font-weight: 700; + text-decoration: underline; +} +/* line 79, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp p img.top { + margin-top: 0; +} +/* line 81, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp blockquote { + margin: 1.5em; + padding: 1em; + font-style: italic; + font-size: 0.9em; +} +/* line 86, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp .small { + font-size: 0.9em; +} +/* line 88, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp .large { + font-size: 1.1em; +} +/* line 90, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp .quiet { + color: #999999; +} +/* line 92, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_print.scss */ +body.bp .hide { + display: none; +} diff --git a/media/css/screen.css b/media/css/screen.css new file mode 100644 index 0000000..0b31311 --- /dev/null +++ b/media/css/screen.css @@ -0,0 +1,530 @@ +/* line 14, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +html, body, div, span, applet, object, iframe, +h1, h2, h3, h4, h5, h6, p, blockquote, pre, +a, abbr, acronym, address, big, cite, code, +del, dfn, em, font, img, ins, kbd, q, s, samp, +small, strike, strong, sub, sup, tt, var, +dl, dt, dd, ol, ul, li, +fieldset, form, label, legend, +table, caption, tbody, tfoot, thead, tr, th, td { + margin: 0; + padding: 0; + border: 0; + outline: 0; + font-weight: inherit; + font-style: inherit; + font-size: 100%; + font-family: inherit; + vertical-align: baseline; +} + +/* line 17, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +body { + line-height: 1; + color: black; + background: white; +} + +/* line 19, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +ol, ul { + list-style: none; +} + +/* line 21, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +table { + border-collapse: separate; + border-spacing: 0; + vertical-align: middle; +} + +/* line 23, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +caption, th, td { + text-align: left; + font-weight: normal; + vertical-align: middle; +} + +/* line 25, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +q, blockquote { + quotes: "" ""; +} +/* line 96, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +q:before, q:after, blockquote:before, blockquote:after { + content: ""; +} + +/* line 27, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/reset/_utilities.scss */ +a img { + border: none; +} + +/* line 9, ../sass/partials/_page.scss */ +body.bp { + line-height: 1.5; + font-family: "Helvetica Neue", Arial, Helvetica, sans-serif; + color: #333333; + font-size: 75%; +} +/* line 65, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h1, body.bp h2, body.bp h3, body.bp h4, body.bp h5, body.bp h6 { + font-weight: normal; + color: #222222; +} +/* line 66, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h1 img, body.bp h2 img, body.bp h3 img, body.bp h4 img, body.bp h5 img, body.bp h6 img { + margin: 0; +} +/* line 67, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h1 { + font-size: 3em; + line-height: 1; + margin-bottom: 0.50em; +} +/* line 68, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h2 { + font-size: 2em; + margin-bottom: 0.75em; +} +/* line 69, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h3 { + font-size: 1.5em; + line-height: 1; + margin-bottom: 1.00em; +} +/* line 70, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h4 { + font-size: 1.2em; + line-height: 1.25; + margin-bottom: 1.25em; +} +/* line 71, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h5 { + font-size: 1em; + font-weight: bold; + margin-bottom: 1.50em; +} +/* line 72, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp h6 { + font-size: 1em; + font-weight: bold; +} +/* line 73, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp p { + margin: 0 0 1.5em; +} +/* line 74, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp p img.left { + display: inline; + float: left; + margin: 1.5em 1.5em 1.5em 0; + padding: 0; +} +/* line 75, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp p img.right { + display: inline; + float: right; + margin: 1.5em 0 1.5em 1.5em; + padding: 0; +} +/* line 77, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp a { + text-decoration: underline; + color: #000099; +} +/* line 18, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss */ +body.bp a:visited { + color: #000066; +} +/* line 21, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss */ +body.bp a:focus { + color: black; +} +/* line 24, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss */ +body.bp a:hover { + color: black; +} +/* line 27, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss */ +body.bp a:active { + color: #cc0099; +} +/* line 78, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp blockquote { + margin: 1.5em; + color: #666666; + font-style: italic; +} +/* line 79, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp strong { + font-weight: bold; +} +/* line 80, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp em { + font-style: italic; +} +/* line 81, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp dfn { + font-style: italic; + font-weight: bold; +} +/* line 82, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp sup, body.bp sub { + line-height: 0; +} +/* line 83, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp abbr, body.bp acronym { + border-bottom: 1px dotted #666666; +} +/* line 84, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp address { + margin: 0 0 1.5em; + font-style: italic; +} +/* line 85, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp del { + color: #666666; +} +/* line 86, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp pre { + margin: 1.5em 0; + white-space: pre; +} +/* line 87, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp pre, body.bp code, body.bp tt { + font: 1em "andale mono", "lucida console", monospace; + line-height: 1.5; +} +/* line 88, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp li ul, body.bp li ol { + margin: 0; +} +/* line 89, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp ul, body.bp ol { + margin: 0 1.5em 1.5em 0; + padding-left: 3.333em; +} +/* line 90, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp ul { + list-style-type: disc; +} +/* line 91, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp ol { + list-style-type: decimal; +} +/* line 92, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp dl { + margin: 0 0 1.5em 0; +} +/* line 93, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp dl dt { + font-weight: bold; +} +/* line 94, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp dd { + margin-left: 1.5em; +} +/* line 95, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp table { + margin-bottom: 1.4em; + width: 100%; +} +/* line 96, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp th { + font-weight: bold; +} +/* line 97, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp thead th { + background: #c3d9ff; +} +/* line 98, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp th, body.bp td, body.bp caption { + padding: 4px 10px 4px 5px; +} +/* line 99, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp tr.even td { + background: #e5ecf9; +} +/* line 100, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp tfoot { + font-style: italic; +} +/* line 101, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp caption { + background: #eeeeee; +} +/* line 102, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp .quiet { + color: #666666; +} +/* line 103, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_typography.scss */ +body.bp .loud { + color: #111111; +} +/* line 9, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .clear { + clear: both; +} +/* line 12, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .nowrap { + white-space: nowrap; +} +/* line 16, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .clearfix { + overflow: hidden; + display: inline-block; +} +/* line 8, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss */ +body.bp .clearfix { + display: block; +} +/* line 18, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .small { + font-size: 0.8em; + margin-bottom: 1.875em; + line-height: 1.875em; +} +/* line 22, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .large { + font-size: 1.2em; + line-height: 2.5em; + margin-bottom: 1.25em; +} +/* line 26, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .first { + margin-left: 0; + padding-left: 0; +} +/* line 29, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .last { + margin-right: 0; + padding-right: 0; +} +/* line 32, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .top { + margin-top: 0; + padding-top: 0; +} +/* line 35, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_utilities.scss */ +body.bp .bottom { + margin-bottom: 0; + padding-bottom: 0; +} +/* line 8, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_debug.scss */ +body.bp .showgrid { + background: url('/media/images/grid.png?1281747041'); +} +/* line 4, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .error { + padding: 0.8em; + margin-bottom: 1em; + border: 2px solid #dddddd; + background: #fbe3e4; + color: #8a1f11; + border-color: #fbc2c4; +} +/* line 29, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .error a { + color: #8a1f11; +} +/* line 6, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .notice { + padding: 0.8em; + margin-bottom: 1em; + border: 2px solid #dddddd; + background: #fff6bf; + color: #514721; + border-color: #ffd324; +} +/* line 37, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .notice a { + color: #514721; +} +/* line 8, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .success { + padding: 0.8em; + margin-bottom: 1em; + border: 2px solid #dddddd; + background: #e6efc2; + color: #264409; + border-color: #c6d880; +} +/* line 45, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .success a { + color: #264409; +} +/* line 10, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .hide { + display: none; +} +/* line 12, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .highlight { + background: yellow; +} +/* line 14, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .added { + background: #006600; + color: white; +} +/* line 16, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_interaction.scss */ +body.bp .removed { + background: #990000; + color: white; +} + +/* line 40, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp .box { + padding: 1.5em; + margin-bottom: 1.5em; + background: #e5ecf9; +} +/* line 43, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp div.border { + padding-right: 4px; + margin-right: 5px; + border-right: 1px solid #eeeeee; +} +/* line 46, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp div.colborder { + padding-right: 24px; + margin-right: 25px; + border-right: 1px solid #eeeeee; +} +/* line 48, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp hr { + background: #dddddd; + color: #dddddd; + clear: both; + float: none; + width: 100%; + height: 0.1em; + margin: 0 0 1.45em; + border: none; +} +/* line 50, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp hr.space { + background: #dddddd; + color: #dddddd; + clear: both; + float: none; + width: 100%; + height: 0.1em; + margin: 0 0 1.45em; + border: none; + background: white; + color: white; + visibility: hidden; +} +/* line 52, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_scaffolding.scss */ +body.bp form.inline { + line-height: 3; +} +/* line 6, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +body.bp form.inline p { + margin-bottom: 0; +} + +/* line 18, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp label { + font-weight: bold; +} +/* line 19, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp fieldset { + padding: 1.4em; + margin: 0 0 1.5em 0; +} +/* line 20, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp legend { + font-weight: bold; + font-size: 1.2em; +} +/* line 25, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input.text, form.bp input.title, form.bp input[type=text], form.bp input[type=password] { + margin: 0.5em 0; + background-color: white; + padding: 5px; +} +/* line 26, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input.title { + font-size: 1.5em; +} +/* line 30, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input[type=checkbox], form.bp input.checkbox, form.bp input[type=radio], form.bp input.radio { + position: relative; + top: 0.25em; +} +/* line 32, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp textarea { + margin: 0.5em 0; + padding: 5px; +} +/* line 33, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp select { + margin: 0.5em 0; +} +/* line 57, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp fieldset { + border: 1px solid #cccccc; +} +/* line 60, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input.text, form.bp input.title, form.bp input[type=text], form.bp input[type=password], +form.bp textarea, form.bp select { + border: 1px solid #bbbbbb; +} +/* line 62, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input.text:focus, form.bp input.title:focus, form.bp input[type=text]:focus, form.bp input[type=password]:focus, +form.bp textarea:focus, form.bp select:focus { + border: 1px solid #666666; +} +/* line 46, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp input.text, form.bp input.title, form.bp input[type=text], form.bp input[type=password] { + width: 300px; +} +/* line 48, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_form.scss */ +form.bp textarea { + width: 390px; + height: 250px; +} + +/* line 25, ../sass/partials/_two_col.scss */ +body.two-col #container { + width: 950px; + margin: 0 auto; + overflow: hidden; + display: inline-block; +} +/* line 8, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss */ +body.two-col #container { + display: block; +} +/* line 27, ../sass/partials/_two_col.scss */ +body.two-col #header, body.two-col #footer { + display: inline; + float: left; + margin-right: 10px; + width: 950px; +} +/* line 138, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_grid.scss */ +* html body.two-col #header, * html body.two-col #footer { + overflow-x: hidden; +} +/* line 29, ../sass/partials/_two_col.scss */ +body.two-col #sidebar { + display: inline; + float: left; + margin-right: 10px; + width: 310px; +} +/* line 138, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_grid.scss */ +* html body.two-col #sidebar { + overflow-x: hidden; +} +/* line 33, ../sass/partials/_two_col.scss */ +body.two-col #content { + display: inline; + float: left; + margin-right: 0; + width: 630px; +} +/* line 138, ../../../../../Library/Ruby/Gems/1.8/gems/compass-0.10.2/frameworks/blueprint/stylesheets/blueprint/_grid.scss */ +* html body.two-col #content { + overflow-x: hidden; +} diff --git a/media/images/grid.png b/media/images/grid.png new file mode 100644 index 0000000..129d4a2 Binary files /dev/null and b/media/images/grid.png differ diff --git a/media/sass/ie.scss b/media/sass/ie.scss new file mode 100644 index 0000000..a867281 --- /dev/null +++ b/media/sass/ie.scss @@ -0,0 +1,16 @@ +@import "blueprint"; + +// To generate css equivalent to the blueprint css but with your configuration applied, uncomment: +// +blueprint-ie + +//Recommended Blueprint configuration with scoping and semantic layout: +body.bp { + @include blueprint-ie(true); + // Note: Blueprint centers text to fix IE6 container centering. + // This means all your texts will be centered under all version of IE by default. + // If your container does not have the .container class, don't forget to restore + // the correct behavior to your main container (but not the body tag!) + // Example: + // .my-container + // text-align: left +} diff --git a/media/sass/partials/_base.scss b/media/sass/partials/_base.scss new file mode 100644 index 0000000..ed25d48 --- /dev/null +++ b/media/sass/partials/_base.scss @@ -0,0 +1,10 @@ +// Here is where you can define your constants for your application and to configure the blueprint framework. +// Feel free to delete these if you want keep the defaults: + +$blueprint-grid-columns: 24; +$blueprint-container-size: 950px; +$blueprint-grid-margin: 10px; + +// Use this to calculate the width based on the total width. +// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you. +$blueprint-grid-width: ($blueprint-container-size + $blueprint-grid-margin) / $blueprint-grid-columns - $blueprint-grid-margin; diff --git a/media/sass/partials/_form.scss b/media/sass/partials/_form.scss new file mode 100644 index 0000000..8cfade0 --- /dev/null +++ b/media/sass/partials/_form.scss @@ -0,0 +1,6 @@ +// Only apply the blueprint form styles to forms with +// a class of "bp". This makes it easier to style +// forms from scratch if you need to. + +form.bp { + @include blueprint-form; } diff --git a/media/sass/partials/_page.scss b/media/sass/partials/_page.scss new file mode 100644 index 0000000..b83a4e7 --- /dev/null +++ b/media/sass/partials/_page.scss @@ -0,0 +1,17 @@ +// Import the non-default scaffolding module to help us get started. +@import "blueprint/scaffolding"; + +// This configuration will only apply the +// blueprint styles to pages with a body class of "bp" +// This makes it easier to have pages without blueprint styles +// when you're using a single/combined stylesheet. + +body.bp { + @include blueprint-typography(true); + @include blueprint-utilities; + @include blueprint-debug; + @include blueprint-interaction; } + +// Remove the scaffolding when you're ready to start doing visual design. +// Or leave it in if you're happy with how blueprint looks out-of-the-box +@include blueprint-scaffolding("body.bp"); diff --git a/media/sass/partials/_two_col.scss b/media/sass/partials/_two_col.scss new file mode 100644 index 0000000..3388747 --- /dev/null +++ b/media/sass/partials/_two_col.scss @@ -0,0 +1,38 @@ +// Page layout can be done using mixins applied to your semantic classes and IDs +// For instance this layout defines a two column layout on pages with +// a body class of "two-col". +// +// The markup would look like: +//
+// +// +//
+// +//
+// +// and the layout would look like: +// +------------------------+ +// | #header | +// +--------+---------------+ +// | | | +// |#sidebar| #content | +// | | | +// +------------------------+ +// | #footer | +// +--------+---------------+ + +body.two-col { + #container { + @include container; } + #header, #footer { + @include column($blueprint-grid-columns); } + #sidebar { + // One third of the grid columns, rounding down. With 24 cols, this is 8. + $sidebar-columns: floor($blueprint-grid-columns / 3); + @include column($sidebar-columns); } + #content { + // Two thirds of the grid columns, rounding up. + // With 24 cols, this is 16. + $content-columns: ceil(2 * $blueprint-grid-columns / 3); + // true means it's the last column in the row + @include column($content-columns, true); } } diff --git a/media/sass/print.scss b/media/sass/print.scss new file mode 100644 index 0000000..0677297 --- /dev/null +++ b/media/sass/print.scss @@ -0,0 +1,5 @@ +@import "blueprint"; + +//Recommended Blueprint configuration with scoping and semantic layout: +body.bp { + @include blueprint-print(true); } diff --git a/media/sass/screen.scss b/media/sass/screen.scss new file mode 100644 index 0000000..69a016e --- /dev/null +++ b/media/sass/screen.scss @@ -0,0 +1,13 @@ +// This import applies a global reset to any page that imports this stylesheet. +@import "compass/reset"; + +// To configure blueprint, edit the partials/base.sass file. +@import "partials/base"; + +// Import all the default blueprint modules so that we can access their mixins. +@import "blueprint"; + +// Combine the partials into a single screen stylesheet. +@import "partials/page"; +@import "partials/form"; +@import "partials/two_col"; \ No newline at end of file diff --git a/modules/auth b/modules/auth new file mode 160000 index 0000000..edc5808 --- /dev/null +++ b/modules/auth @@ -0,0 +1 @@ +Subproject commit edc580844fbb1295f23685d55ae58e2e81c9d08f diff --git a/modules/auto-modeler b/modules/auto-modeler new file mode 160000 index 0000000..34c5208 --- /dev/null +++ b/modules/auto-modeler @@ -0,0 +1 @@ +Subproject commit 34c52084f5532a74d8f87b4f13e3f248f7b5faaa diff --git a/modules/database b/modules/database new file mode 160000 index 0000000..3d26998 --- /dev/null +++ b/modules/database @@ -0,0 +1 @@ +Subproject commit 3d269987bba58ce0145abdacd0454256774886b8 diff --git a/modules/image b/modules/image new file mode 160000 index 0000000..e396a48 --- /dev/null +++ b/modules/image @@ -0,0 +1 @@ +Subproject commit e396a48fff9f220a8355163a8839dcb6db26734a diff --git a/modules/kostache b/modules/kostache new file mode 160000 index 0000000..8d1b8a7 --- /dev/null +++ b/modules/kostache @@ -0,0 +1 @@ +Subproject commit 8d1b8a73d497a573e50af6012f5438b77b0fc5e2 diff --git a/modules/vendo-acl b/modules/vendo-acl new file mode 160000 index 0000000..74755d4 --- /dev/null +++ b/modules/vendo-acl @@ -0,0 +1 @@ +Subproject commit 74755d4142b3830dd3eeb4c78239d1be96a00838 diff --git a/modules/vendo-admin b/modules/vendo-admin new file mode 160000 index 0000000..11ff4f1 --- /dev/null +++ b/modules/vendo-admin @@ -0,0 +1 @@ +Subproject commit 11ff4f1495dd00e767a0051426f4b7a4462d6fdb diff --git a/modules/vendo-application b/modules/vendo-application new file mode 160000 index 0000000..26b8d75 --- /dev/null +++ b/modules/vendo-application @@ -0,0 +1 @@ +Subproject commit 26b8d75ecda1eeab5da30bd157a4ed958b1753ab diff --git a/modules/vendo-billing b/modules/vendo-billing new file mode 160000 index 0000000..29d97e3 --- /dev/null +++ b/modules/vendo-billing @@ -0,0 +1 @@ +Subproject commit 29d97e3ffe0b78fa7601504d51a7e930ff6835a1 diff --git a/modules/vendo-core b/modules/vendo-core new file mode 160000 index 0000000..eec1f1b --- /dev/null +++ b/modules/vendo-core @@ -0,0 +1 @@ +Subproject commit eec1f1b7d26c1320c808d97935bc4f31b0862c39 diff --git a/system b/system new file mode 160000 index 0000000..5deded2 --- /dev/null +++ b/system @@ -0,0 +1 @@ +Subproject commit 5deded24a5fcb358f7e84bb3156956ee0650ee4a