├── .DS_Store
├── ABOUT-7.x-3.x.md
├── INSTALL.md
├── README.md
├── UPGRADE.txt
├── drupal-org.make
├── libraries
├── history.js
│ ├── History.md
│ ├── README.md
│ ├── bower.json
│ ├── buildr-uncompressed.coffee
│ ├── buildr.coffee
│ ├── component.json
│ ├── demo
│ │ ├── bcherry-orig.html
│ │ ├── bcherry.html
│ │ ├── chrome.html
│ │ ├── index.html
│ │ ├── native-auto.html
│ │ ├── native.html
│ │ ├── navigator.html
│ │ ├── safari.html
│ │ └── unicode.html
│ ├── license.txt
│ ├── package.json
│ ├── scripts
│ │ ├── bundled-uncompressed
│ │ │ ├── html4+html5
│ │ │ │ ├── dojo.history.js
│ │ │ │ ├── extjs.history.js
│ │ │ │ ├── jquery.history.js
│ │ │ │ ├── mootools.history.js
│ │ │ │ ├── native.history.js
│ │ │ │ ├── right.history.js
│ │ │ │ └── zepto.history.js
│ │ │ └── html5
│ │ │ │ ├── dojo.history.js
│ │ │ │ ├── extjs.history.js
│ │ │ │ ├── jquery.history.js
│ │ │ │ ├── mootools.history.js
│ │ │ │ ├── native.history.js
│ │ │ │ ├── right.history.js
│ │ │ │ └── zepto.history.js
│ │ ├── bundled
│ │ │ ├── html4+html5
│ │ │ │ ├── dojo.history.js
│ │ │ │ ├── extjs.history.js
│ │ │ │ ├── jquery.history.js
│ │ │ │ ├── mootools.history.js
│ │ │ │ ├── native.history.js
│ │ │ │ ├── right.history.js
│ │ │ │ └── zepto.history.js
│ │ │ └── html5
│ │ │ │ ├── dojo.history.js
│ │ │ │ ├── extjs.history.js
│ │ │ │ ├── jquery.history.js
│ │ │ │ ├── mootools.history.js
│ │ │ │ ├── native.history.js
│ │ │ │ ├── right.history.js
│ │ │ │ └── zepto.history.js
│ │ ├── compressed
│ │ │ ├── history.adapter.dojo.js
│ │ │ ├── history.adapter.extjs.js
│ │ │ ├── history.adapter.jquery.js
│ │ │ ├── history.adapter.mootools.js
│ │ │ ├── history.adapter.native.js
│ │ │ ├── history.adapter.right.js
│ │ │ ├── history.adapter.zepto.js
│ │ │ ├── history.html4.js
│ │ │ ├── history.js
│ │ │ └── json2.js
│ │ └── uncompressed
│ │ │ ├── history.adapter.dojo.js
│ │ │ ├── history.adapter.extjs.js
│ │ │ ├── history.adapter.jquery.js
│ │ │ ├── history.adapter.mootools.js
│ │ │ ├── history.adapter.native.js
│ │ │ ├── history.adapter.right.js
│ │ │ ├── history.adapter.zepto.js
│ │ │ ├── history.html4.js
│ │ │ ├── history.js
│ │ │ └── json2.js
│ ├── tests.src
│ │ ├── _header.php
│ │ ├── all.php
│ │ ├── each.php
│ │ └── index.php
│ ├── tests
│ │ ├── .htaccess
│ │ ├── html4+html5.dojo.html
│ │ ├── html4+html5.extjs.html
│ │ ├── html4+html5.jquery.html
│ │ ├── html4+html5.mootools.html
│ │ ├── html4+html5.native.html
│ │ ├── html4+html5.right.html
│ │ ├── html4+html5.zepto.html
│ │ ├── html5.dojo.html
│ │ ├── html5.extjs.html
│ │ ├── html5.jquery.html
│ │ ├── html5.mootools.html
│ │ ├── html5.native.html
│ │ ├── html5.right.html
│ │ ├── html5.zepto.html
│ │ ├── image.php
│ │ ├── index.html
│ │ └── tests.js
│ └── vendor
│ │ ├── dojo.js
│ │ ├── extjs.js
│ │ ├── jquery.js
│ │ ├── mootools.js
│ │ ├── qunit
│ │ ├── .gitignore
│ │ ├── AUTHORS.txt
│ │ ├── History.md
│ │ ├── README.md
│ │ ├── grunt.js
│ │ ├── package.json
│ │ ├── qunit
│ │ │ ├── .jshintrc
│ │ │ ├── qunit.css
│ │ │ └── qunit.js
│ │ └── test
│ │ │ ├── .jshintrc
│ │ │ ├── async.html
│ │ │ ├── async.js
│ │ │ ├── deepEqual.js
│ │ │ ├── headless.html
│ │ │ ├── index.html
│ │ │ ├── logs.html
│ │ │ ├── logs.js
│ │ │ ├── narwhal-test.js
│ │ │ ├── node-test.js
│ │ │ ├── same.js
│ │ │ ├── swarminject.js
│ │ │ └── test.js
│ │ ├── right.js
│ │ └── zepto.js
└── spyc
│ └── spyc.php
├── modules
├── .DS_Store
├── custom
│ ├── .DS_Store
│ ├── README.txt
│ ├── disposable_email
│ │ ├── disposable_email.info
│ │ ├── disposable_email.install
│ │ └── disposable_email.module
│ ├── petition
│ │ ├── css
│ │ │ └── signature_count.css
│ │ ├── includes
│ │ │ ├── petition.field.inc
│ │ │ ├── petition.inc
│ │ │ └── petition.mongo2mysql.inc
│ │ ├── js
│ │ │ └── signature_count.js
│ │ ├── petition.api.php
│ │ ├── petition.info
│ │ ├── petition.install
│ │ ├── petition.module
│ │ └── plugins
│ │ │ └── context
│ │ │ └── petition_context_condition_signable.inc
│ ├── petitionadmin
│ │ ├── petitionadmin.css
│ │ ├── petitionadmin.drush.inc
│ │ ├── petitionadmin.features.inc
│ │ ├── petitionadmin.info
│ │ ├── petitionadmin.install
│ │ ├── petitionadmin.module
│ │ ├── petitionadmin.views_default.inc
│ │ └── petitionadmin_views_access_plugin.inc
│ ├── petitionadmin_dashboard
│ │ ├── classes
│ │ │ └── PetitionsStatistics.inc
│ │ ├── img
│ │ │ └── petitions_landing_hero.jpg
│ │ ├── petitionadmin_dashboard.admin.inc
│ │ ├── petitionadmin_dashboard.cron.inc
│ │ ├── petitionadmin_dashboard.drush.inc
│ │ ├── petitionadmin_dashboard.info
│ │ ├── petitionadmin_dashboard.module
│ │ └── templates
│ │ │ ├── petitionadmin_dashboard-daily-stats.tpl.php
│ │ │ └── petitionadmin_dashboard-daily-stats.tpl.src.php
│ ├── petitionadmin_reports
│ │ ├── css
│ │ │ ├── petitionadmin_reports_admin_tabs.css
│ │ │ └── petitionadmin_reports_summary.css
│ │ ├── petitionadmin_reports.info
│ │ ├── petitionadmin_reports.install
│ │ ├── petitionadmin_reports.module
│ │ └── petitionadmin_reports.report.summary.inc
│ ├── petitionevents
│ │ ├── petitionevents.info
│ │ ├── petitionevents.install
│ │ ├── petitionevents.module
│ │ └── petitionevents_vboactions.inc
│ ├── petitions_api
│ │ ├── api_authentication
│ │ │ ├── api_authentication.inc
│ │ │ ├── api_authentication.info
│ │ │ └── api_authentication.module
│ │ ├── api_errors
│ │ │ ├── api_errors.api.php
│ │ │ ├── api_errors.info
│ │ │ └── api_errors.module
│ │ ├── api_key_manager
│ │ │ ├── README.md
│ │ │ ├── api_key_manager.features.field.inc
│ │ │ ├── api_key_manager.features.inc
│ │ │ ├── api_key_manager.info
│ │ │ ├── api_key_manager.install
│ │ │ ├── api_key_manager.module
│ │ │ ├── api_key_manager.strongarm.inc
│ │ │ └── api_key_manager.views_default.inc
│ │ ├── api_petitions
│ │ │ ├── api_petitions.info
│ │ │ ├── api_petitions.module
│ │ │ ├── example_implementations
│ │ │ │ └── javascript
│ │ │ │ │ ├── thermometer.zip
│ │ │ │ │ └── thermometer
│ │ │ │ │ ├── README.md
│ │ │ │ │ ├── css
│ │ │ │ │ └── thermometer.css
│ │ │ │ │ ├── index.html
│ │ │ │ │ └── js
│ │ │ │ │ ├── date.format.js
│ │ │ │ │ └── thermometer.js
│ │ │ └── example_responses
│ │ │ │ ├── api_petitions_index.response.json
│ │ │ │ ├── api_petitions_index.response599.json
│ │ │ │ ├── api_petitions_load_signatures.response.json
│ │ │ │ ├── api_petitions_load_signatures.response404.json
│ │ │ │ ├── api_petitions_load_signatures.response599.json
│ │ │ │ ├── api_petitions_retrieve.response.json
│ │ │ │ ├── api_petitions_retrieve.response404.json
│ │ │ │ └── api_petitions_retrieve.response599.json
│ │ ├── api_responses
│ │ │ ├── api_responses.info
│ │ │ ├── api_responses.module
│ │ │ └── example_responses
│ │ │ │ ├── api_responses_index.response.json
│ │ │ │ ├── api_responses_index.response599.json
│ │ │ │ ├── api_responses_retrieve.response.json
│ │ │ │ ├── api_responses_retrieve.response404.json
│ │ │ │ └── api_responses_retrieve.response599.json
│ │ ├── api_services_responses
│ │ │ ├── api_services_responses.info
│ │ │ └── api_services_responses.module
│ │ ├── api_signatures
│ │ │ ├── api_signatures.inc
│ │ │ ├── api_signatures.info
│ │ │ ├── api_signatures.module
│ │ │ └── examples
│ │ │ │ ├── api_signatures_create.request.json
│ │ │ │ ├── api_signatures_create.response.json
│ │ │ │ ├── api_signatures_create.response400.json
│ │ │ │ ├── api_signatures_create.response401.json
│ │ │ │ ├── api_signatures_create.response403.json
│ │ │ │ ├── api_signatures_create.response404.json
│ │ │ │ └── api_signatures_create.response500.json
│ │ ├── api_validations
│ │ │ ├── api_validations.inc
│ │ │ ├── api_validations.info
│ │ │ ├── api_validations.module
│ │ │ └── example_validations
│ │ │ │ ├── api_validations_index.response.json
│ │ │ │ └── api_validations_index.response401.json
│ │ ├── petitions_api.features.inc
│ │ ├── petitions_api.info
│ │ ├── petitions_api.module
│ │ ├── petitions_api.services.inc
│ │ ├── shunt_api
│ │ │ ├── README.txt
│ │ │ ├── shunt_api.info
│ │ │ ├── shunt_api.install
│ │ │ └── shunt_api.module
│ │ └── signatures_queue
│ │ │ ├── README.md
│ │ │ ├── classes
│ │ │ ├── SignatureValidationProcessorQueue.php
│ │ │ └── SignaturesQueue.inc
│ │ │ ├── diagrams
│ │ │ ├── README.md
│ │ │ ├── data-flow-diagram.diagramly.xml
│ │ │ ├── data-flow-diagram.png
│ │ │ ├── signatures-queue-schema.diagramly.xml
│ │ │ ├── signatures-queue-schema.png
│ │ │ ├── workflow-diagrams.diagramly.xml
│ │ │ └── workflow-diagrams.png
│ │ │ ├── includes
│ │ │ ├── archive_signatures.inc
│ │ │ ├── initiate_signature_validation.inc
│ │ │ ├── preprocess_signatures.inc
│ │ │ ├── process_petitions.inc
│ │ │ ├── process_signatures.inc
│ │ │ ├── receive_new_signatures.inc
│ │ │ └── receive_signature_validation.inc
│ │ │ ├── signatures_queue.admin.inc
│ │ │ ├── signatures_queue.api.php
│ │ │ ├── signatures_queue.drush.inc
│ │ │ ├── signatures_queue.inc
│ │ │ ├── signatures_queue.info
│ │ │ ├── signatures_queue.install
│ │ │ ├── signatures_queue.module
│ │ │ ├── signatures_queue.pages.inc
│ │ │ ├── signatures_queue_devel
│ │ │ ├── classes
│ │ │ │ ├── SignaturesQueueDevel.inc
│ │ │ │ └── SignaturesQueueDevelTimer.php
│ │ │ ├── signatures_queue_devel.admin.inc
│ │ │ ├── signatures_queue_devel.drush.inc
│ │ │ ├── signatures_queue_devel.info
│ │ │ └── signatures_queue_devel.module
│ │ │ └── tests
│ │ │ └── SignaturesQueueModuleTest.php
│ ├── petitions_blocks
│ │ ├── petitions_blocks.info
│ │ ├── petitions_blocks.module
│ │ └── theme
│ │ │ └── wh-footer-logo.tpl.php
│ ├── petitions_data
│ │ ├── classes
│ │ │ ├── PetitionItem.inc
│ │ │ ├── PetitionNotFoundException.inc
│ │ │ ├── PetitionsController.inc
│ │ │ ├── PetitionsSelectQuery.inc
│ │ │ ├── PetitionsSelectQueryFactory.inc
│ │ │ ├── PetitionsSelectQueryMongo.inc
│ │ │ ├── PetitionsSelectQueryMysql.inc
│ │ │ ├── PetitionsSelectQuerySolr.inc
│ │ │ ├── ResponseItem.inc
│ │ │ ├── SelectQueryBase.inc
│ │ │ ├── SignatureItem.inc
│ │ │ ├── SignaturesController.inc
│ │ │ ├── SignaturesSelectQuery.inc
│ │ │ ├── SignaturesSelectQueryFactory.inc
│ │ │ ├── SignaturesSelectQueryMongo.inc
│ │ │ ├── SignaturesSelectQueryMysql.inc
│ │ │ └── SignaturesSelectQuerySolr.inc
│ │ ├── petitions_data.drush.inc
│ │ ├── petitions_data.info
│ │ ├── petitions_data.install
│ │ ├── petitions_data.module
│ │ ├── petitions_data.mongo2mysql.inc
│ │ └── petitions_data.png
│ ├── petitions_format
│ │ ├── petitions_format.features.filter.inc
│ │ ├── petitions_format.features.user_permission.inc
│ │ ├── petitions_format.info
│ │ └── petitions_format.module
│ ├── petitions_fraud_analysis
│ │ ├── petitions_fraud_analysis.info
│ │ ├── petitions_fraud_analysis.module
│ │ ├── sass
│ │ │ └── petitions_fraud_analysis.scss
│ │ └── stylesheets
│ │ │ └── petitions_fraud_analysis.css
│ ├── petitions_maintenance
│ │ ├── includes
│ │ │ ├── about.txt
│ │ │ ├── developer_get_code.txt
│ │ │ ├── developers_api.txt
│ │ │ ├── developers_apply.txt
│ │ │ ├── menu-corner-links-export.txt
│ │ │ ├── menu-footer-menu-export.txt
│ │ │ ├── menu-main-menu-export.txt
│ │ │ ├── menu-petitions-dashboard-export.txt
│ │ │ ├── menu-petitions-menu-export.txt
│ │ │ ├── petition_type_mapping.json
│ │ │ ├── petitions-redirects.csv
│ │ │ └── services_documentation_intro.txt
│ │ ├── petitions_maintenance.drush.inc
│ │ ├── petitions_maintenance.info
│ │ ├── petitions_maintenance.install
│ │ └── petitions_maintenance.module
│ ├── petitions_profanity
│ │ ├── petitions_profanity.info
│ │ ├── petitions_profanity.install
│ │ └── petitions_profanity.module
│ ├── petitions_signatures_display
│ │ ├── README.txt
│ │ ├── petitions_signatures_display.admin.inc
│ │ ├── petitions_signatures_display.info
│ │ ├── petitions_signatures_display.install
│ │ └── petitions_signatures_display.module
│ ├── petitionsdevel
│ │ ├── petitionsdevel.drush.inc
│ │ ├── petitionsdevel.info
│ │ ├── petitionsdevel.install
│ │ └── petitionsdevel.module
│ ├── signature
│ │ ├── Signature.php
│ │ ├── signature.api.php
│ │ ├── signature.info
│ │ ├── signature.install
│ │ └── signature.module
│ ├── signature_mail
│ │ ├── SignatureMail.php
│ │ ├── drush
│ │ │ └── signature_mail.drush.inc
│ │ ├── signature_mail.info
│ │ ├── signature_mail.install
│ │ └── signature_mail.module
│ ├── signature_mail_fraud_data
│ │ ├── signature_mail_fraud_data.features.inc
│ │ ├── signature_mail_fraud_data.info
│ │ ├── signature_mail_fraud_data.install
│ │ ├── signature_mail_fraud_data.module
│ │ └── signature_mail_fraud_data.views_default.inc
│ ├── sticky_element
│ │ ├── .DS_Store
│ │ ├── includes
│ │ │ └── sticky_element.admin.inc
│ │ ├── sticky_element.css
│ │ ├── sticky_element.info
│ │ ├── sticky_element.js
│ │ └── sticky_element.module
│ ├── wh_core
│ │ ├── img
│ │ │ ├── backgrounds
│ │ │ │ └── bg-form-item.png
│ │ │ └── login
│ │ │ │ ├── user_account_account_info.png
│ │ │ │ ├── user_account_create_account_btn.png
│ │ │ │ ├── user_account_login_btn.png
│ │ │ │ ├── user_account_openidid_google.png
│ │ │ │ ├── user_account_openidid_verisign.png
│ │ │ │ ├── user_account_petitions_header.jpg
│ │ │ │ ├── user_account_save_changes_btn.png
│ │ │ │ ├── user_account_submit_btn.png
│ │ │ │ └── user_account_tabs.png
│ │ ├── templates
│ │ │ ├── wh_core_login.tpl.php
│ │ │ ├── wh_core_password.tpl.php
│ │ │ └── wh_core_register.tpl.php
│ │ ├── wh_core.info
│ │ ├── wh_core.install
│ │ ├── wh_core.js
│ │ └── wh_core.module
│ ├── wh_petition_tool
│ │ ├── esi.tpl.php
│ │ ├── json.tpl.php
│ │ ├── wh-petition-tool-left-nav.tpl.php
│ │ ├── wh_petition_tool.admin.inc
│ │ ├── wh_petition_tool.info
│ │ ├── wh_petition_tool.install
│ │ └── wh_petition_tool.module
│ ├── wh_petitions
│ │ ├── drush
│ │ │ └── wh_petitions.drush.inc
│ │ ├── includes
│ │ │ ├── wh_petitions.create.form.inc
│ │ │ └── wh_petitions.helper.inc
│ │ ├── templates
│ │ │ ├── wh-petitions-by-the-numbers.tpl.php
│ │ │ ├── wh-petitions-create-header.tpl.php
│ │ │ ├── wh-petitions-display-list-petition.tpl.php
│ │ │ ├── wh-petitions-display-petition-info.tpl.php
│ │ │ ├── wh-petitions-display-signatures.tpl.php
│ │ │ ├── wh-petitions-page-archived.tpl.php
│ │ │ ├── wh-petitions-page-deleted.tpl.php
│ │ │ ├── wh-petitions-page-petition.tpl.php
│ │ │ └── wh-petitions-page-thank-you.tpl.php
│ │ ├── wh_petitions.admin.inc
│ │ ├── wh_petitions.admin.js
│ │ ├── wh_petitions.api.php
│ │ ├── wh_petitions.cron.inc
│ │ ├── wh_petitions.form.inc
│ │ ├── wh_petitions.form.js
│ │ ├── wh_petitions.generate.inc
│ │ ├── wh_petitions.info
│ │ ├── wh_petitions.install
│ │ ├── wh_petitions.module
│ │ ├── wh_petitions.mongo2mysql.inc
│ │ ├── wh_petitions.pages.inc
│ │ └── wh_petitions.tokens.inc
│ ├── wh_response
│ │ ├── wh_response.info
│ │ ├── wh_response.install
│ │ ├── wh_response.js
│ │ └── wh_response.module
│ └── wh_zipcodelookup
│ │ ├── README.txt
│ │ ├── wh_zipcodelookup.info
│ │ ├── wh_zipcodelookup.install
│ │ ├── wh_zipcodelookup.js
│ │ └── wh_zipcodelookup.module
└── features
│ ├── .DS_Store
│ ├── README.txt
│ ├── petition_pages
│ ├── js
│ │ └── popular_petitions.js
│ ├── petition_pages.features.inc
│ ├── petition_pages.info
│ ├── petition_pages.module
│ └── petition_pages.views_default.inc
│ ├── petitions_logintoboggan_settings
│ ├── petitions_logintoboggan_settings.features.inc
│ ├── petitions_logintoboggan_settings.info
│ ├── petitions_logintoboggan_settings.module
│ └── petitions_logintoboggan_settings.strongarm.inc
│ ├── taxonomy_sync
│ ├── taxonomy_sync.features.inc
│ ├── taxonomy_sync.features.taxonomy.inc
│ ├── taxonomy_sync.feeds_importer_default.inc
│ ├── taxonomy_sync.info
│ └── taxonomy_sync.module
│ ├── wh_misc
│ ├── wh_misc.features.inc
│ ├── wh_misc.features.user_permission.inc
│ ├── wh_misc.features.user_role.inc
│ ├── wh_misc.info
│ ├── wh_misc.module
│ └── wh_misc.strongarm.inc
│ ├── wh_petition_page
│ ├── wh_petition_page.context.inc
│ ├── wh_petition_page.features.field_base.inc
│ ├── wh_petition_page.features.field_instance.inc
│ ├── wh_petition_page.features.inc
│ ├── wh_petition_page.features.menu_custom.inc
│ ├── wh_petition_page.features.menu_links.inc
│ ├── wh_petition_page.info
│ ├── wh_petition_page.install
│ ├── wh_petition_page.module
│ ├── wh_petition_page.strongarm.inc
│ └── wh_petition_page.views_default.inc
│ ├── wh_response_feature
│ ├── wh_response_feature.features.field_base.inc
│ ├── wh_response_feature.features.field_instance.inc
│ ├── wh_response_feature.features.filter.inc
│ ├── wh_response_feature.features.inc
│ ├── wh_response_feature.features.taxonomy.inc
│ ├── wh_response_feature.info
│ ├── wh_response_feature.install
│ ├── wh_response_feature.module
│ ├── wh_response_feature.strongarm.inc
│ └── wh_response_feature.views_default.inc
│ ├── wh_user_profile
│ ├── wh_user_profile.features.field.inc
│ ├── wh_user_profile.features.inc
│ ├── wh_user_profile.info
│ ├── wh_user_profile.module
│ └── wh_user_profile.strongarm.inc
│ ├── wh_user_ss_data
│ ├── wh_user_ss_data.features.field.inc
│ ├── wh_user_ss_data.info
│ └── wh_user_ss_data.module
│ └── wtp_contexts
│ ├── wtp_contexts.context.inc
│ ├── wtp_contexts.features.inc
│ ├── wtp_contexts.info
│ └── wtp_contexts.module
├── petitions.info
├── petitions.install
├── petitions.profile
├── petitions.rebuild.sh
├── selenium
├── README
├── UserLoginTests.selenium.php
├── UserLogoutTests.selenium.php
├── UserPasswordTests.selenium.php
├── UserRegisterTests.selenium.php
├── UserTestsSuite.selenium.php
└── mongodb_to_mysql
│ ├── README.txt
│ ├── create_2_users
│ ├── mongodb_mysql_petition_signature_comparison
│ ├── mongodb_petition_signature_creation
│ └── mongodb_petitions_list
└── themes
├── .DS_Store
└── petitions_responsive
├── .gitignore
├── Gemfile
├── Gemfile.lock
├── LICENSE.txt
├── README.md
├── browserconfig.xml
├── css
├── ie10.css
├── ie10.css.map
├── ie8.css
├── ie8.css.map
├── ie9.css
├── ie9.css.map
├── libraries
│ └── USDS
│ │ └── all.css
├── normalize.css
├── print.css
├── print.css.map
├── style.css
└── style.css.map
├── favicon.ico
├── fonts
├── merriweather-bold-webfont.eot
├── merriweather-bold-webfont.ttf
├── merriweather-bold-webfont.woff
├── merriweather-bold-webfont.woff2
├── merriweather-italic-webfont.eot
├── merriweather-italic-webfont.ttf
├── merriweather-italic-webfont.woff
├── merriweather-italic-webfont.woff2
├── merriweather-light-webfont.eot
├── merriweather-light-webfont.ttf
├── merriweather-light-webfont.woff
├── merriweather-light-webfont.woff2
├── merriweather-regular-webfont.eot
├── merriweather-regular-webfont.ttf
├── merriweather-regular-webfont.woff
├── merriweather-regular-webfont.woff2
├── sourcesanspro-bold-webfont.eot
├── sourcesanspro-bold-webfont.ttf
├── sourcesanspro-bold-webfont.woff
├── sourcesanspro-bold-webfont.woff2
├── sourcesanspro-italic-webfont.eot
├── sourcesanspro-italic-webfont.ttf
├── sourcesanspro-italic-webfont.woff
├── sourcesanspro-italic-webfont.woff2
├── sourcesanspro-light-webfont.eot
├── sourcesanspro-light-webfont.ttf
├── sourcesanspro-light-webfont.woff
├── sourcesanspro-light-webfont.woff2
├── sourcesanspro-regular-webfont.eot
├── sourcesanspro-regular-webfont.ttf
├── sourcesanspro-regular-webfont.woff
└── sourcesanspro-regular-webfont.woff2
├── grunt
├── Gruntfile.js
├── README.txt
└── package.json
├── images-source
├── favicons
│ ├── apple-touch-icon-114x114.png
│ ├── apple-touch-icon-120x120.png
│ ├── apple-touch-icon-144x144.png
│ ├── apple-touch-icon-152x152.png
│ ├── apple-touch-icon-60x60.png
│ ├── apple-touch-icon-72x72.png
│ ├── apple-touch-icon-76x76.png
│ ├── favicon-128.png
│ ├── favicon-16x16.png
│ ├── favicon-196x196.png
│ ├── favicon-32x32.png
│ ├── favicon-96x96.png
│ ├── iOS_120x120.png
│ ├── iOS_152x152.png
│ ├── iOS_180x180.png
│ ├── iOS_76x76.png
│ ├── ie11_128x128.png
│ ├── ie11_270x270.png
│ ├── ie11_558x270.png
│ ├── ie11_558x558.png
│ ├── mstile-144x144.png
│ ├── mstile-150x150.png
│ ├── mstile-310x150.png
│ ├── mstile-310x310.png
│ └── mstile-70x70.png
├── fb_share.jpg
├── screenshot.gif
├── simple_logo.jpg
├── wtp_logo_desktop.png
├── wtp_logo_mobile.png
├── wtp_tagline_desktop.png
└── wtp_tagline_mobile.png
├── images
├── favicons
│ ├── apple-touch-icon-114x114.png
│ ├── apple-touch-icon-120x120.png
│ ├── apple-touch-icon-144x144.png
│ ├── apple-touch-icon-152x152.png
│ ├── apple-touch-icon-60x60.png
│ ├── apple-touch-icon-72x72.png
│ ├── apple-touch-icon-76x76.png
│ ├── favicon-128.png
│ ├── favicon-16x16.png
│ ├── favicon-196x196.png
│ ├── favicon-32x32.png
│ ├── favicon-96x96.png
│ ├── iOS_120x120.png
│ ├── iOS_152x152.png
│ ├── iOS_180x180.png
│ ├── iOS_76x76.png
│ ├── ie11_128x128.png
│ ├── ie11_270x270.png
│ ├── ie11_558x270.png
│ ├── ie11_558x558.png
│ ├── mstile-144x144.png
│ ├── mstile-150x150.png
│ ├── mstile-310x150.png
│ ├── mstile-310x310.png
│ └── mstile-70x70.png
├── fb_share.jpg
├── screenshot.gif
├── simple_logo.jpg
├── wtp_header_large.jpg
├── wtp_logo_desktop.png
├── wtp_logo_mobile.png
├── wtp_tagline_desktop.png
└── wtp_tagline_mobile.png
├── includes
└── petitions_responsive.favicon.inc
├── js-source
├── modernizr.js
├── scripts.js
└── selectivizr-min.js
├── js
├── modernizr.js
├── scripts.js
└── selectivizr-min.js
├── logo.png
├── petitions_responsive.info
├── scss
├── base
│ ├── _base.scss
│ ├── _config.scss
│ ├── _fontface.scss
│ ├── _forms.scss
│ ├── _lists.scss
│ ├── _mixins.scss
│ ├── _sprites.scss
│ ├── _typography.scss
│ └── _variables.scss
├── components
│ ├── _blocks.scss
│ ├── _buttons.scss
│ ├── _footer.scss
│ ├── _header.scss
│ ├── _input.scss
│ ├── _menus.scss
│ ├── _pager.scss
│ ├── _progress_bars.scss
│ ├── _social.scss
│ ├── _tabs.scss
│ ├── _terms.scss
│ └── _views.scss
├── ie10.scss
├── ie8.scss
├── ie9.scss
├── layout
│ ├── _layout.scss
│ ├── _layout_petition.scss
│ └── _layout_wh-petitions-page.scss
├── libraries
│ ├── USDS
│ │ ├── all.scss
│ │ ├── components
│ │ │ ├── _accordions.scss
│ │ │ ├── _alerts.scss
│ │ │ ├── _disclaimer.scss
│ │ │ ├── _footer.scss
│ │ │ ├── _forms.scss
│ │ │ ├── _search.scss
│ │ │ ├── _sidenav.scss
│ │ │ └── _skipnav.scss
│ │ ├── core
│ │ │ ├── _base.scss
│ │ │ ├── _defaults.scss
│ │ │ ├── _grid-settings.scss
│ │ │ ├── _grid.scss
│ │ │ ├── _utilities.scss
│ │ │ └── _variables.scss
│ │ ├── elements
│ │ │ ├── _buttons.scss
│ │ │ ├── _figure.scss
│ │ │ ├── _inputs.scss
│ │ │ ├── _labels.scss
│ │ │ ├── _list.scss
│ │ │ ├── _table.scss
│ │ │ └── _typography.scss
│ │ └── lib
│ │ │ ├── _normalize.scss
│ │ │ ├── bourbon
│ │ │ ├── _bourbon-deprecated-upcoming.scss
│ │ │ ├── _bourbon.scss
│ │ │ ├── addons
│ │ │ │ ├── _border-color.scss
│ │ │ │ ├── _border-radius.scss
│ │ │ │ ├── _border-style.scss
│ │ │ │ ├── _border-width.scss
│ │ │ │ ├── _buttons.scss
│ │ │ │ ├── _clearfix.scss
│ │ │ │ ├── _ellipsis.scss
│ │ │ │ ├── _font-stacks.scss
│ │ │ │ ├── _hide-text.scss
│ │ │ │ ├── _margin.scss
│ │ │ │ ├── _padding.scss
│ │ │ │ ├── _position.scss
│ │ │ │ ├── _prefixer.scss
│ │ │ │ ├── _retina-image.scss
│ │ │ │ ├── _size.scss
│ │ │ │ ├── _text-inputs.scss
│ │ │ │ ├── _timing-functions.scss
│ │ │ │ ├── _triangle.scss
│ │ │ │ └── _word-wrap.scss
│ │ │ ├── css3
│ │ │ │ ├── _animation.scss
│ │ │ │ ├── _appearance.scss
│ │ │ │ ├── _backface-visibility.scss
│ │ │ │ ├── _background-image.scss
│ │ │ │ ├── _background.scss
│ │ │ │ ├── _border-image.scss
│ │ │ │ ├── _calc.scss
│ │ │ │ ├── _columns.scss
│ │ │ │ ├── _filter.scss
│ │ │ │ ├── _flex-box.scss
│ │ │ │ ├── _font-face.scss
│ │ │ │ ├── _font-feature-settings.scss
│ │ │ │ ├── _hidpi-media-query.scss
│ │ │ │ ├── _hyphens.scss
│ │ │ │ ├── _image-rendering.scss
│ │ │ │ ├── _keyframes.scss
│ │ │ │ ├── _linear-gradient.scss
│ │ │ │ ├── _perspective.scss
│ │ │ │ ├── _placeholder.scss
│ │ │ │ ├── _radial-gradient.scss
│ │ │ │ ├── _selection.scss
│ │ │ │ ├── _text-decoration.scss
│ │ │ │ ├── _transform.scss
│ │ │ │ ├── _transition.scss
│ │ │ │ └── _user-select.scss
│ │ │ ├── functions
│ │ │ │ ├── _assign-inputs.scss
│ │ │ │ ├── _contains-falsy.scss
│ │ │ │ ├── _contains.scss
│ │ │ │ ├── _is-length.scss
│ │ │ │ ├── _is-light.scss
│ │ │ │ ├── _is-number.scss
│ │ │ │ ├── _is-size.scss
│ │ │ │ ├── _modular-scale.scss
│ │ │ │ ├── _px-to-em.scss
│ │ │ │ ├── _px-to-rem.scss
│ │ │ │ ├── _shade.scss
│ │ │ │ ├── _strip-units.scss
│ │ │ │ ├── _tint.scss
│ │ │ │ ├── _transition-property-name.scss
│ │ │ │ └── _unpack.scss
│ │ │ ├── helpers
│ │ │ │ ├── _convert-units.scss
│ │ │ │ ├── _directional-values.scss
│ │ │ │ ├── _font-source-declaration.scss
│ │ │ │ ├── _gradient-positions-parser.scss
│ │ │ │ ├── _linear-angle-parser.scss
│ │ │ │ ├── _linear-gradient-parser.scss
│ │ │ │ ├── _linear-positions-parser.scss
│ │ │ │ ├── _linear-side-corner-parser.scss
│ │ │ │ ├── _radial-arg-parser.scss
│ │ │ │ ├── _radial-gradient-parser.scss
│ │ │ │ ├── _radial-positions-parser.scss
│ │ │ │ ├── _render-gradients.scss
│ │ │ │ ├── _shape-size-stripper.scss
│ │ │ │ └── _str-to-num.scss
│ │ │ └── settings
│ │ │ │ ├── _asset-pipeline.scss
│ │ │ │ ├── _prefixer.scss
│ │ │ │ └── _px-to-em.scss
│ │ │ └── neat
│ │ │ ├── _neat-helpers.scss
│ │ │ ├── _neat.scss
│ │ │ ├── functions
│ │ │ ├── _new-breakpoint.scss
│ │ │ └── _private.scss
│ │ │ ├── grid
│ │ │ ├── _box-sizing.scss
│ │ │ ├── _direction-context.scss
│ │ │ ├── _display-context.scss
│ │ │ ├── _fill-parent.scss
│ │ │ ├── _media.scss
│ │ │ ├── _omega.scss
│ │ │ ├── _outer-container.scss
│ │ │ ├── _pad.scss
│ │ │ ├── _private.scss
│ │ │ ├── _row.scss
│ │ │ ├── _shift.scss
│ │ │ ├── _span-columns.scss
│ │ │ ├── _to-deprecate.scss
│ │ │ └── _visual-grid.scss
│ │ │ └── settings
│ │ │ ├── _disable-warnings.scss
│ │ │ ├── _grid.scss
│ │ │ └── _visual-grid.scss
│ ├── bourbon
│ │ ├── _bourbon-deprecated-upcoming.scss
│ │ ├── _bourbon.scss
│ │ ├── addons
│ │ │ ├── _button.scss
│ │ │ ├── _clearfix.scss
│ │ │ ├── _directional-values.scss
│ │ │ ├── _ellipsis.scss
│ │ │ ├── _font-family.scss
│ │ │ ├── _hide-text.scss
│ │ │ ├── _html5-input-types.scss
│ │ │ ├── _position.scss
│ │ │ ├── _prefixer.scss
│ │ │ ├── _rem.scss
│ │ │ ├── _retina-image.scss
│ │ │ ├── _size.scss
│ │ │ ├── _timing-functions.scss
│ │ │ └── _triangle.scss
│ │ ├── css3
│ │ │ ├── _animation.scss
│ │ │ ├── _appearance.scss
│ │ │ ├── _backface-visibility.scss
│ │ │ ├── _background-image.scss
│ │ │ ├── _background.scss
│ │ │ ├── _border-image.scss
│ │ │ ├── _border-radius.scss
│ │ │ ├── _box-sizing.scss
│ │ │ ├── _calc.scss
│ │ │ ├── _columns.scss
│ │ │ ├── _filter.scss
│ │ │ ├── _flex-box.scss
│ │ │ ├── _font-face.scss
│ │ │ ├── _font-feature-settings.scss
│ │ │ ├── _hidpi-media-query.scss
│ │ │ ├── _hyphens.scss
│ │ │ ├── _image-rendering.scss
│ │ │ ├── _keyframes.scss
│ │ │ ├── _linear-gradient.scss
│ │ │ ├── _perspective.scss
│ │ │ ├── _placeholder.scss
│ │ │ ├── _radial-gradient.scss
│ │ │ ├── _transform.scss
│ │ │ ├── _transition.scss
│ │ │ └── _user-select.scss
│ │ ├── functions
│ │ │ ├── _assign.scss
│ │ │ ├── _color-lightness.scss
│ │ │ ├── _flex-grid.scss
│ │ │ ├── _golden-ratio.scss
│ │ │ ├── _grid-width.scss
│ │ │ ├── _modular-scale.scss
│ │ │ ├── _px-to-em.scss
│ │ │ ├── _strip-units.scss
│ │ │ ├── _tint-shade.scss
│ │ │ ├── _transition-property-name.scss
│ │ │ └── _unpack.scss
│ │ ├── helpers
│ │ │ ├── _convert-units.scss
│ │ │ ├── _gradient-positions-parser.scss
│ │ │ ├── _is-num.scss
│ │ │ ├── _linear-angle-parser.scss
│ │ │ ├── _linear-gradient-parser.scss
│ │ │ ├── _linear-positions-parser.scss
│ │ │ ├── _linear-side-corner-parser.scss
│ │ │ ├── _radial-arg-parser.scss
│ │ │ ├── _radial-gradient-parser.scss
│ │ │ ├── _radial-positions-parser.scss
│ │ │ ├── _render-gradients.scss
│ │ │ ├── _shape-size-stripper.scss
│ │ │ └── _str-to-num.scss
│ │ └── settings
│ │ │ ├── _prefixer.scss
│ │ │ └── _px-to-em.scss
│ └── neat
│ │ ├── _neat-helpers.scss
│ │ ├── _neat.scss
│ │ ├── functions
│ │ ├── _new-breakpoint.scss
│ │ └── _private.scss
│ │ ├── grid
│ │ ├── _fill-parent.scss
│ │ ├── _grid.scss
│ │ ├── _media.scss
│ │ ├── _omega.scss
│ │ ├── _outer-container.scss
│ │ ├── _pad.scss
│ │ ├── _private.scss
│ │ ├── _reset.scss
│ │ ├── _row.scss
│ │ ├── _shift.scss
│ │ ├── _span-columns.scss
│ │ ├── _to-deprecate.scss
│ │ └── _visual-grid.scss
│ │ └── settings
│ │ ├── _grid.scss
│ │ └── _visual-grid.scss
├── pages
│ ├── _homepage.scss
│ ├── _login.scss
│ ├── _petition.scss
│ ├── _petition_create.scss
│ └── _wh_petitions_page.scss
├── print.scss
└── style.scss
├── template.php
├── templates
├── block--system--main.tpl.php
├── block.tpl.php
├── comment-wrapper.tpl.php
├── comment.tpl.php
├── html.tpl.php
├── maintenance-page.tpl.php
├── node--petition--teaser.tpl.php
├── node--petition.tpl.php
├── node--wh-response.tpl.php
├── node.tpl.php
├── page.tpl.php
└── region.tpl.php
└── theme-settings.php
/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/.DS_Store
--------------------------------------------------------------------------------
/ABOUT-7.x-3.x.md:
--------------------------------------------------------------------------------
1 | The 7.x-3.x branch of petitions aims to remove the application's dependency on
2 | Mongo DB and run on MySQL.
3 |
4 | For a stable Mongo-based petitions application, please use the 7.x-2.x branch.
5 |
6 | This document has been moved to an internal doc. Please contact us through the github issue queue to get involved: github.com/Whitehouse/petitions .
7 |
--------------------------------------------------------------------------------
/UPGRADE.txt:
--------------------------------------------------------------------------------
1 | UPGRADE
2 | =======
3 |
4 | Version 7.x-2.x -> 7.x-3.x
5 | ----------------------------------------------
6 |
7 | Release notes:
8 | - Changes from using Mongo based petitions to using mysql/node based petitions.
9 | - Changes from using Mongo based signatures to using mysql/entity based signatures.
10 | - Migration scripts to migrate Mongo data to native Drupal data types.
11 |
12 | Update steps:
13 | 1. Run drush updb. Now you will have a new node type called petitions and
14 | the signature entity
15 |
--------------------------------------------------------------------------------
/libraries/history.js/bower.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "history.js",
3 | "version": "1.8.0"
4 | }
5 |
--------------------------------------------------------------------------------
/libraries/history.js/component.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "history.js",
3 | "version": "1.8.0"
4 | }
5 |
--------------------------------------------------------------------------------
/libraries/history.js/demo/navigator.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Navigator Output
7 |
8 |
12 |
13 |
14 |
15 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/libraries/history.js/scripts/compressed/history.adapter.dojo.js:
--------------------------------------------------------------------------------
1 | (function(e,t){"use strict";var n=e.History=e.History||{},r=e.require;if(typeof n.Adapter!="undefined")throw new Error("History.js Adapter has already been loaded...");n.Adapter={handlers:{},_uid:1,uid:function(e){return e._uid||(e._uid=n.Adapter._uid++)},bind:function(e,t,r){var i=n.Adapter.uid(e);n.Adapter.handlers[i]=n.Adapter.handlers[i]||{},n.Adapter.handlers[i][t]=n.Adapter.handlers[i][t]||[],n.Adapter.handlers[i][t].push(r),e["on"+t]=function(e,t){return function(r){n.Adapter.trigger(e,t,r)}}(e,t)},trigger:function(e,t,r){r=r||{};var i=n.Adapter.uid(e),s,o;n.Adapter.handlers[i]=n.Adapter.handlers[i]||{},n.Adapter.handlers[i][t]=n.Adapter.handlers[i][t]||[];for(s=0,o=n.Adapter.handlers[i][t].length;sTests
24 |
--------------------------------------------------------------------------------
/libraries/history.js/tests/.htaccess:
--------------------------------------------------------------------------------
1 | Options +FollowSymlinks
2 | RewriteEngine On
3 |
4 | # Clean Adapter
5 | RewriteCond %{REQUEST_FILENAME} !-f
6 | RewriteCond %{REQUEST_FILENAME} !-d
7 | RewriteRule ([^\.]+)$ $1.html [NC,L,QSA]
8 |
9 | # Can someone smarter than me make it so:
10 | # http://localhost/history.js/tests/uncompressed-html5-persistant-jquery
11 | # Does not redirect to:
12 | # http://localhost/history.js/tests/uncompressed-html5-persistant-jquery.html
13 | # But still accesses that url
14 |
--------------------------------------------------------------------------------
/libraries/history.js/tests/image.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | QUnit Test Suite
6 |
7 |
8 |
9 |
10 | test markup
11 |
12 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/async.js:
--------------------------------------------------------------------------------
1 | QUnit.start();
2 |
3 | test("just a test", function() {
4 | expect(1);
5 | ok(true);
6 | });
7 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/headless.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | QUnit Test Suite
6 |
7 |
8 |
9 |
10 |
24 |
25 |
26 | test markup
27 |
28 |
29 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | QUnit Test Suite
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | test markup
15 |
16 |
17 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/logs.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | QUnit Test Suite
6 |
7 |
8 |
9 |
10 |
11 |
12 | test markup
13 |
14 |
15 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/narwhal-test.js:
--------------------------------------------------------------------------------
1 | // Run with: $ narwhal test/narwhal-test.js
2 | var QUnit = require("../qunit/qunit");
3 |
4 | QUnit.log(function(details) {
5 | if (!details.result) {
6 | var output = "FAILED: " + (details.message ? details.message + ", " : "");
7 | if (details.actual) {
8 | output += "expected: " + details.expected + ", actual: " + details.actual;
9 | }
10 | if (details.source) {
11 | output += ", " + details.source;
12 | }
13 | print(output);
14 | }
15 | });
16 |
17 | QUnit.test("fail twice with stacktrace", function(assert) {
18 | /*jshint expr:true */
19 | assert.equal(true, false);
20 | assert.equal(true, false, "gotta fail");
21 | x.y.z; // Throws ReferenceError
22 | });
23 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/node-test.js:
--------------------------------------------------------------------------------
1 | // Run with: $ node test/node-test.js
2 | var QUnit = require("../qunit/qunit");
3 |
4 | QUnit.log(function(details) {
5 | if (!details.result) {
6 | var output = "FAILED: " + (details.message ? details.message + ", " : "");
7 | if (details.actual) {
8 | output += "expected: " + details.expected + ", actual: " + details.actual;
9 | }
10 | if (details.source) {
11 | output += ", " + details.source;
12 | }
13 | console.log(output);
14 | }
15 | });
16 |
17 | QUnit.test("fail twice with stacktrace", function(assert) {
18 | /*jshint expr:true */
19 | assert.equal(true, false);
20 | assert.equal(true, false, "gotta fail");
21 | x.y.z; // Throws ReferenceError
22 | });
23 |
--------------------------------------------------------------------------------
/libraries/history.js/vendor/qunit/test/swarminject.js:
--------------------------------------------------------------------------------
1 | // load testswarm agent
2 | (function() {
3 | var url = window.location.search;
4 | url = decodeURIComponent( url.slice( url.indexOf("swarmURL=") + 9 ) );
5 | if ( !url || url.indexOf("http") !== 0 ) {
6 | return;
7 | }
8 | /*jshint evil:true */
9 | document.write(" ");
10 | })();
11 |
--------------------------------------------------------------------------------
/modules/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/.DS_Store
--------------------------------------------------------------------------------
/modules/custom/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/.DS_Store
--------------------------------------------------------------------------------
/modules/custom/README.txt:
--------------------------------------------------------------------------------
1 | Custom modules will go here
2 |
--------------------------------------------------------------------------------
/modules/custom/disposable_email/disposable_email.info:
--------------------------------------------------------------------------------
1 | name = Disposable Email
2 | description = Provides functionality for checking the disposability of a given email address against a list of known domains.
3 | core = 7.x
4 |
5 | dependencies[] = libraries
6 |
--------------------------------------------------------------------------------
/modules/custom/petition/css/signature_count.css:
--------------------------------------------------------------------------------
1 | .signature-meter {
2 | height: 20px;
3 | position: relative;
4 | background: #ddd;
5 | /*border-radius: 15px;*/
6 | }
7 | .signature-meter > span {
8 | display: block;
9 | height: 100%;
10 | /*border-top-left-radius: 15px;*/
11 | /*border-bottom-left-radius: 15px;*/
12 | background-color: #222;
13 | position: relative;
14 | overflow: hidden;
15 | }
16 |
--------------------------------------------------------------------------------
/modules/custom/petition/includes/petition.mongo2mysql.inc:
--------------------------------------------------------------------------------
1 | findOne(array('nice_url' => $url), array('title'));
20 | return $petition;
21 | }
22 |
--------------------------------------------------------------------------------
/modules/custom/petition/petition.info:
--------------------------------------------------------------------------------
1 | name = Petition
2 | description = Provides a Petition content type.
3 | core = 7.x
4 | package = Petitions
5 | php = 5.2.4
6 | version = 7.x-1.6
7 | project = petition
8 |
9 | files[] = petition.mongo2mysql.inc
10 |
11 | dependencies[] = date
12 | dependencies[] = date_popup
13 | dependencies[] = entityreference
14 | dependencies[] = list
15 | dependencies[] = number
16 | dependencies[] = options
17 | dependencies[] = taxonomy
18 | dependencies[] = wh_response_feature
19 | dependencies[] = shunt
20 | dependencies[] = disposable_email
21 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin/petitionadmin.css:
--------------------------------------------------------------------------------
1 | .views-widget-filter-is_forwarding_email {
2 | clear: both;
3 | }
4 |
5 | .view-signature-mail-fraud-data table td {
6 | padding: 0 10px;
7 | }
8 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin/petitionadmin.features.inc:
--------------------------------------------------------------------------------
1 | "3.0");
12 | }
13 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin/petitionadmin.info:
--------------------------------------------------------------------------------
1 | name = Petition Admin
2 | description = Petitions: Administrative interface
3 | core = 7.x
4 | package = Petitions
5 | php = 5.2.4
6 | version = 7.x-1.1
7 | project = petitionadmin
8 | dependencies[] = ctools
9 | dependencies[] = date_views
10 | dependencies[] = petition
11 | dependencies[] = petitionevents
12 | dependencies[] = signature_mail
13 | dependencies[] = views
14 | features[ctools][] = views:views_default:3.0
15 | features[features_api][] = api:1
16 | features[views_view][] = petitionadmin
17 | features[views_view][] = petitionadmin_signatures
18 | files[] = petitionadmin_views_access_plugin.inc
19 | mtime = 1454003363
20 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin_dashboard/img/petitions_landing_hero.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/petitionadmin_dashboard/img/petitions_landing_hero.jpg
--------------------------------------------------------------------------------
/modules/custom/petitionadmin_dashboard/petitionadmin_dashboard.info:
--------------------------------------------------------------------------------
1 | name = Petition Admin Dashboard
2 | description = Petitions: Administrative Dashboard
3 | core = 7.x
4 | package = Petitions
5 | php = 5.2.4
6 | version = 7.x-1.1
7 | project = petitionadmin_dashboard
8 | dependencies[] = ctools
9 | dependencies[] = date_views
10 | dependencies[] = petition
11 | dependencies[] = petitionevents
12 | dependencies[] = event_log
13 | files[] = classes/PetitionsStatistics.inc
14 | configure = admin/petitions/settings/petitionadmin_dashboard
15 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin_reports/css/petitionadmin_reports_admin_tabs.css:
--------------------------------------------------------------------------------
1 | .page-admin-content-petitions-reports .content .tabs-secondary ul.secondary {
2 | margin-right: 80px !important;
3 | }
4 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin_reports/css/petitionadmin_reports_summary.css:
--------------------------------------------------------------------------------
1 | table#petition-summary-table {
2 | max-width: 400px;
3 | }
4 |
5 | table#petition-summary-table th {
6 | max-width: 20px;
7 | }
8 |
9 | table#petition-issues-table th,
10 | table#petition-summary-table th {
11 | font-weight: bold;
12 | }
13 |
14 | table#petition-issues-table td,
15 | table#petition-summary-table td {
16 | text-align: right;
17 | }
18 |
19 | table#petition-issues-table td {
20 | border-right: solid #bebfb9 1px;
21 | }
22 |
23 | table#petition-summary-table tr td:last-child,
24 | tr td:last-child {
25 | border: none 0px !important;
26 | }
27 |
28 | div#petitionadmin_reports_summary-lastrun {
29 | margin-top: 20px;
30 | text-align: right;
31 | }
32 |
--------------------------------------------------------------------------------
/modules/custom/petitionadmin_reports/petitionadmin_reports.info:
--------------------------------------------------------------------------------
1 | name = Petition Admin - Reports
2 | description = Petition: Reports and Statistics.
3 | core = 7.x
4 | package = Petitions
5 | version = 7.x-3.0
6 | project = petitionadmin_reports
7 | dependencies[] = petitionadmin
8 | files[] = petitionadmin_reports.report.summary.inc
9 |
--------------------------------------------------------------------------------
/modules/custom/petitionevents/petitionevents.info:
--------------------------------------------------------------------------------
1 | name = Petition Events
2 | description = Contains functionality related to events fired around petitions.
3 | core = 7.x
4 | package = Petitions
5 | dependencies[] = petition
6 |
--------------------------------------------------------------------------------
/modules/custom/petitionevents/petitionevents.install:
--------------------------------------------------------------------------------
1 | !petition_remove_link
14 |
15 | =================
16 |
17 | TITLE:
18 | !petition_title
19 |
20 | BODY:
21 | !petition_body
22 |
23 | =================");
24 | }
25 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_authentication/api_authentication.inc:
--------------------------------------------------------------------------------
1 | 'api_authentication.inc',
16 | 'title' => t('API authentication'),
17 | 'description' => t('Key-based API authentication'),
18 | 'authenticate_call' => '_api_authentication_authenticate_call',
19 | );
20 | }
21 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_errors/api_errors.api.php:
--------------------------------------------------------------------------------
1 | $error_code));
24 |
25 | // Throw the error.
26 | return api_errors_throw_error($status, $developer_message, $error_code, $user_message, $more_info);
27 | }
28 |
29 | return $result;
30 | }
31 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_errors/api_errors.info:
--------------------------------------------------------------------------------
1 | name = Petitions API Errors
2 | description = Provides custom error handling for the services module
3 | core = 7.x
4 | package = Petitions API
5 | dependencies[] = petitions_api
6 | dependencies[] = api_services_responses
7 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_key_manager/README.md:
--------------------------------------------------------------------------------
1 | # API Key Manager
2 |
3 | - [Introduction](#introduction)
4 | - [Usage](#usage)
5 |
6 | ## Introduction
7 |
8 | API Key Manager provides the ability to create, manage, and validate API keys.
9 |
10 | ## Usage
11 |
12 | API keys are managed as nodes. They can be created at node/add/key and managed
13 | at admin/petitions/api-keys. Key approval, rejection, and block notification
14 | emails can be configured at admin/config/system/petitions/email.
15 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_key_manager/api_key_manager.features.inc:
--------------------------------------------------------------------------------
1 | "1");
14 | }
15 | }
16 |
17 | /**
18 | * Implements hook_node_info().
19 | */
20 | function api_key_manager_node_info() {
21 | $items = array(
22 | 'key' => array(
23 | 'name' => t('API Key'),
24 | 'base' => 'node_content',
25 | 'description' => t('API Key nodes are created by users to request access to the API.'),
26 | 'has_title' => '1',
27 | 'title_label' => t('Title'),
28 | 'help' => '',
29 | ),
30 | );
31 | return $items;
32 | }
33 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/api_key_manager/api_key_manager.install:
--------------------------------------------------------------------------------
1 | "3");
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/petitions_api.info:
--------------------------------------------------------------------------------
1 | name = Petitions API
2 | description = Provides a RESTful API for petitions.
3 | core = 7.x
4 | package = Petitions API
5 | php = 5.2.4
6 | project = petitions
7 | dependencies[] = api_petitions
8 | dependencies[] = api_signatures
9 | dependencies[] = api_validations
10 | dependencies[] = ctools
11 | dependencies[] = petitions_data
12 | dependencies[] = rest_server
13 | dependencies[] = services
14 | dependencies[] = wh_petitions
15 | features[ctools][] = services:services:3
16 | features[features_api][] = api:1
17 | features[services_endpoint][] = api_v1
18 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/petitions_api.module:
--------------------------------------------------------------------------------
1 | fields(array('weight' => 1000))
16 | ->condition('name', 'shunt_api', '=')
17 | ->execute();
18 | }
19 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/diagrams/README.md:
--------------------------------------------------------------------------------
1 | The diagrams in this directory were created with
2 | [Diagramly](https://www.draw.io/). The XML can be re-imported there for editing.
3 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/diagrams/data-flow-diagram.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/petitions_api/signatures_queue/diagrams/data-flow-diagram.png
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/diagrams/signatures-queue-schema.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/petitions_api/signatures_queue/diagrams/signatures-queue-schema.png
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/diagrams/workflow-diagrams.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/petitions_api/signatures_queue/diagrams/workflow-diagrams.png
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/signatures_queue.info:
--------------------------------------------------------------------------------
1 | name = Signatures Queue
2 | description = Provides a queue-based backend for processing petition signatures submitted via the API.
3 | core = 7.x
4 | package = Petitions
5 | dependencies[] = api_petitions
6 | dependencies[] = wh_petitions
7 | dependencies[] = petition
8 | dependencies[] = entity
9 | dependencies[] = signature_mail_fraud_data
10 | dependencies[] = disposable_email
11 | configure = admin/petitions/settings/signatures-queue
12 | files[] = classes/SignaturesQueue.inc
13 | files[] = classes/SignatureValidationProcessorQueue.php
14 |
--------------------------------------------------------------------------------
/modules/custom/petitions_api/signatures_queue/signatures_queue_devel/signatures_queue_devel.info:
--------------------------------------------------------------------------------
1 | name = Signatures Queue Devel
2 | description = Generate Dummy content in Signature Queues.
3 | core = 7.x
4 | package = Development
5 | dependencies[] = signatures_queue
6 | configure = admin/config/system/petitions/signatures-queue
7 | files[] = classes/SignaturesQueueDevel.inc
8 | files[] = classes/SignaturesQueueDevelTimer.php
9 |
--------------------------------------------------------------------------------
/modules/custom/petitions_blocks/petitions_blocks.info:
--------------------------------------------------------------------------------
1 | name = Petitions Blocks
2 | description = Custom blocks for petitions.
3 | core = 7.x
4 |
--------------------------------------------------------------------------------
/modules/custom/petitions_blocks/theme/wh-footer-logo.tpl.php:
--------------------------------------------------------------------------------
1 |
11 |
--------------------------------------------------------------------------------
/modules/custom/petitions_data/classes/PetitionNotFoundException.inc:
--------------------------------------------------------------------------------
1 | 'use text format petitions_filtered',
16 | 'roles' => array(
17 | 'administrator' => 'administrator',
18 | 'anonymous user' => 'anonymous user',
19 | 'authenticated user' => 'authenticated user',
20 | ),
21 | 'module' => 'filter',
22 | );
23 |
24 | return $permissions;
25 | }
26 |
--------------------------------------------------------------------------------
/modules/custom/petitions_format/petitions_format.info:
--------------------------------------------------------------------------------
1 | name = Petitions Format Settings
2 | description = Contains the text format for petitions fields.
3 | core = 7.x
4 | package = Features
5 | version = 7.x-1.1
6 | project = petitions_format
7 | dependencies[] = features
8 | dependencies[] = filter
9 | features[features_api][] = api:2
10 | features[filter][] = filtered_html
11 | features[filter][] = petitions_filtered
12 | features[filter][] = plain_text
13 | features[user_permission][] = use text format petitions_filtered
14 |
--------------------------------------------------------------------------------
/modules/custom/petitions_format/petitions_format.module:
--------------------------------------------------------------------------------
1 | #signapetition","options":{"attributes":{"class":["menu__link--desktop"]},"item_attributes":{"id":"","class":"menu__link--desktop","style":""}}}
2 | Sign {"url":"#signapetition","options":{"attributes":{"class":["menu__link--mobile"]},"item_attributes":{"id":"","class":"","style":""}}}
3 | Create a Petition {"url":"petition\/create","options":{"attributes":{"class":["menu__link--desktop"]},"item_attributes":{"id":"","class":"","style":""}}}
4 | Create {"url":"petition\/create","options":{"attributes":{"class":["menu__link--mobile"]},"item_attributes":{"id":"","class":"","style":""}}}
5 |
--------------------------------------------------------------------------------
/modules/custom/petitions_maintenance/petitions_maintenance.info:
--------------------------------------------------------------------------------
1 | name = Petitions Maintenance
2 | description = Manages Petitions application maintenance tasks.
3 | core = 7.x
4 |
--------------------------------------------------------------------------------
/modules/custom/petitions_profanity/petitions_profanity.info:
--------------------------------------------------------------------------------
1 | name = Petitions Profanity
2 | description = Management module for all petitions specific profanity changes.
3 | package = "Custom"
4 | core = "7.x"
5 | version = "7.x-1.2"
6 |
7 | dependencies[] = "wh_petitions"
8 |
--------------------------------------------------------------------------------
/modules/custom/petitions_profanity/petitions_profanity.install:
--------------------------------------------------------------------------------
1 | condition('name', 'is_profane')
25 | ->execute();
26 |
27 | drupal_flush_all_caches();
28 | }
29 |
--------------------------------------------------------------------------------
/modules/custom/petitions_signatures_display/README.txt:
--------------------------------------------------------------------------------
1 | Petitions Signatures Display (7.x-1.x)
2 | --------------------------------------
3 |
4 | This module provides configuration options to define the display of signatures,
5 | and allows site administrators to control users' location input and display.
6 |
7 | Usage
8 | -----
9 |
10 | 1. Go to /admin/config/petitions/signatures.
11 |
12 | 2. Select display and location input options
13 |
14 | Developers
15 | ----------
16 |
17 | Additional documentation to come.
18 |
--------------------------------------------------------------------------------
/modules/custom/petitions_signatures_display/petitions_signatures_display.info:
--------------------------------------------------------------------------------
1 | name = Petitions Signatures Display
2 | description = Various configuration settings for displaying petition signatures
3 | core = 7.x
4 |
--------------------------------------------------------------------------------
/modules/custom/petitionsdevel/petitionsdevel.info:
--------------------------------------------------------------------------------
1 | name = Petitions Devel
2 | description = Provides utilities to support development on Petitions.
3 | core = 7.x
4 | package = Development
5 |
--------------------------------------------------------------------------------
/modules/custom/petitionsdevel/petitionsdevel.install:
--------------------------------------------------------------------------------
1 | 'signature',
18 | // The structure of this array matches the params required to use the
19 | // function module_load_include().
20 | 'file' => array('php', "signature", "SignatureMail"),
21 | 'class' => "SignatureMail",
22 | );
23 |
24 | return $info;
25 | }
26 |
--------------------------------------------------------------------------------
/modules/custom/signature/signature.info:
--------------------------------------------------------------------------------
1 | name = Signature
2 | description = An entity type to store signatures
3 | core = 7.x
4 |
5 | dependencies[] = entity
6 | dependencies[] = petition
7 | dependencies[] = disposable_email
8 |
--------------------------------------------------------------------------------
/modules/custom/signature/signature.install:
--------------------------------------------------------------------------------
1 | $info) {
17 | call_user_func_array("module_load_include", $info['file']);
18 | $signature = new $info['class']();
19 |
20 | $schema["signature_{$name}"] = $signature->getSchema();
21 | }
22 |
23 | return $schema;
24 | }
25 |
26 | /**
27 | * Implements hook_install().
28 | */
29 | function signature_install() {
30 | variable_set('signature_modules', array());
31 | }
32 |
33 | /**
34 | * Implements hook_uninstall().
35 | */
36 | function signature_uninstall() {
37 | variable_del('signature_modules');
38 | }
39 |
--------------------------------------------------------------------------------
/modules/custom/signature_mail/signature_mail.info:
--------------------------------------------------------------------------------
1 | name = Signature Mail
2 | description = An entity type to store signatures
3 | core = 7.x
4 |
5 | dependencies[] = signature
6 | dependencies[] = shunt
7 | dependencies[] = signatures_queue
8 | dependencies[] = disposable_email
9 |
--------------------------------------------------------------------------------
/modules/custom/signature_mail_fraud_data/signature_mail_fraud_data.features.inc:
--------------------------------------------------------------------------------
1 | "3.0");
12 | }
13 |
--------------------------------------------------------------------------------
/modules/custom/signature_mail_fraud_data/signature_mail_fraud_data.info:
--------------------------------------------------------------------------------
1 | name = Signature Mail Fraud Data
2 | description = An entity type to store fraud data on signatures
3 | core = 7.x
4 | package = petitions
5 | php = 5.2.4
6 | version = 7.x-1.0
7 | dependencies[] = ctools
8 | dependencies[] = entity
9 | dependencies[] = petition
10 | dependencies[] = signature_mail
11 | dependencies[] = views
12 | dependencies[] = disposable_email
13 | features[ctools][] = views:views_default:3.0
14 | features[features_api][] = api:1
15 | features[views_view][] = signature_mail_fraud_data
16 | mtime = 1443547395
17 |
--------------------------------------------------------------------------------
/modules/custom/sticky_element/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/sticky_element/.DS_Store
--------------------------------------------------------------------------------
/modules/custom/sticky_element/sticky_element.css:
--------------------------------------------------------------------------------
1 | .sticky {
2 | position: fixed;
3 | top: 0;
4 | z-index: 1000;
5 | }
6 | .sticky-bottom {
7 | position: fixed;
8 | bottom: 0;
9 | z-index: 1000;
10 | }
11 |
--------------------------------------------------------------------------------
/modules/custom/sticky_element/sticky_element.info:
--------------------------------------------------------------------------------
1 | name = Sticky Element
2 | description = Make an element sticky.
3 | core = 7.x
4 |
5 | scripts[] = sticky_element.js
6 | stylesheets[all][] = sticky_element.css
7 |
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/backgrounds/bg-form-item.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/backgrounds/bg-form-item.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_account_info.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_account_info.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_create_account_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_create_account_btn.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_login_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_login_btn.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_openidid_google.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_openidid_google.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_openidid_verisign.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_openidid_verisign.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_petitions_header.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_petitions_header.jpg
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_save_changes_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_save_changes_btn.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_submit_btn.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_submit_btn.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/img/login/user_account_tabs.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/custom/wh_core/img/login/user_account_tabs.png
--------------------------------------------------------------------------------
/modules/custom/wh_core/templates/wh_core_login.tpl.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
14 |
Log In
15 |
16 |
--------------------------------------------------------------------------------
/modules/custom/wh_core/templates/wh_core_password.tpl.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
17 |
--------------------------------------------------------------------------------
/modules/custom/wh_core/templates/wh_core_register.tpl.php:
--------------------------------------------------------------------------------
1 |
12 |
13 |
Create An Account
14 |
15 |
--------------------------------------------------------------------------------
/modules/custom/wh_core/wh_core.info:
--------------------------------------------------------------------------------
1 | name = "White House Core"
2 | description = "Encapsulates configurations specific to Petitions in the Whitehouse environment"
3 | core = 7.x
4 | package = White House Custom
5 |
6 | stylesheets[all][] = wh_core.css
7 |
8 | dependencies[] = logintoboggan
9 | dependencies[] = petitions_logintoboggan_settings
10 | dependencies[] = wh_zipcodelookup
11 | dependencies[] = wh_user_profile
12 | dependencies[] = captcha
13 | dependencies[] = wh_user_ss_data
14 |
--------------------------------------------------------------------------------
/modules/custom/wh_petition_tool/esi.tpl.php:
--------------------------------------------------------------------------------
1 | ';
9 |
--------------------------------------------------------------------------------
/modules/custom/wh_petition_tool/wh-petition-tool-left-nav.tpl.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/custom/wh_petition_tool/wh_petition_tool.info:
--------------------------------------------------------------------------------
1 | name = White House Petition Tool
2 | description = Provides JSON and AJAX support to deliver content to the main White House site.
3 | dependencies[] = wh_petitions
4 | dependencies[] = wh_response
5 | package = Other
6 | core = 7.x
7 | files[] = wh_petition_tool.module
8 |
--------------------------------------------------------------------------------
/modules/custom/wh_petitions/templates/wh-petitions-by-the-numbers.tpl.php:
--------------------------------------------------------------------------------
1 |
2 | $value): ?>
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/modules/custom/wh_petitions/templates/wh-petitions-page-archived.tpl.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------
/modules/custom/wh_petitions/templates/wh-petitions-page-deleted.tpl.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/modules/custom/wh_petitions/wh_petitions.api.php:
--------------------------------------------------------------------------------
1 | mysql migration.
9 | */
10 |
11 | /**
12 | * Act when a petition has been saved to MongoDB.
13 | *
14 | * @param array $petition
15 | * an array with the petition's data.
16 | */
17 | function hook_wh_petitions_petition_save($petition) {
18 | }
19 |
20 | /**
21 | * Act when the body of a petition has been updated.
22 | *
23 | * @param array $petition
24 | * an array with the petition's data.
25 | */
26 | function hook_wh_petitions_petition_body_update($petition) {
27 | }
28 |
29 | /**
30 | * Act when a petition is being flagged as innappropirate.
31 | *
32 | * @param string $petition_id
33 | * The petition's identifier.
34 | */
35 | function hook_wh_petitions_petition_inappropriate($petition_id) {
36 | }
37 |
--------------------------------------------------------------------------------
/modules/custom/wh_petitions/wh_petitions.info:
--------------------------------------------------------------------------------
1 | name = "WH Petitions"
2 | description = "Core functionality for Petitions"
3 | package = "Custom"
4 | core = "7.x"
5 | version = "7.x-1.2"
6 |
7 | dependencies[] = "menu"
8 | dependencies[] = "pathauto"
9 | dependencies[] = "taxonomy"
10 | dependencies[] = "taxonomy_sync"
11 | dependencies[] = "wh_response"
12 | dependencies[] = "wh_user_profile"
13 | dependencies[] = "petitions_signatures_display"
14 | dependencies[] = "petition"
15 | dependencies[] = "petitionevents"
16 | dependencies[] = "petitions_data"
17 |
18 | files[] = wh_petitions.admin.inc
19 | files[] = wh_petitions.cron.inc
20 | files[] = wh_petitions.form.inc
21 | files[] = wh_petitions.generate.inc
22 | files[] = wh_petitions.module
23 | files[] = wh_petitions.pages.inc
24 | files[] = wh_petitions.tokens.inc
25 | files[] = includes/wh_petitions.helper.inc
26 | files[] = includes/wh_petitions.create.form.inc
27 |
--------------------------------------------------------------------------------
/modules/custom/wh_response/wh_response.info:
--------------------------------------------------------------------------------
1 | name = "WH Response"
2 | description = "Core functionality for Responses"
3 | package = "Custom"
4 | core = "7.x"
5 | version = "7.x-1.0"
6 | dependencies[] = "taxonomy"
7 | dependencies[] = "wh_petitions"
8 |
--------------------------------------------------------------------------------
/modules/custom/wh_zipcodelookup/README.txt:
--------------------------------------------------------------------------------
1 | White House Zip Code Lookup (7.x-1.x)
2 | --------------------------------------
3 |
4 | This module populates city, state, and country information for supplied zip
5 | codes.
6 |
7 | Developers
8 | ----------
9 |
10 | Additional documentation to come.
11 |
--------------------------------------------------------------------------------
/modules/custom/wh_zipcodelookup/wh_zipcodelookup.info:
--------------------------------------------------------------------------------
1 | ; $Id$
2 | name = "White House Zip Code Lookup"
3 | description = "For petitions, when user registers lookup their city and state based on the supplied zip"
4 | core = 7.x
5 | package = White House Custom
6 |
7 | dependencies[] = wh_user_profile
8 |
--------------------------------------------------------------------------------
/modules/features/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/modules/features/.DS_Store
--------------------------------------------------------------------------------
/modules/features/README.txt:
--------------------------------------------------------------------------------
1 | Features modules will go here
2 |
--------------------------------------------------------------------------------
/modules/features/petition_pages/petition_pages.features.inc:
--------------------------------------------------------------------------------
1 | "3.0");
12 | }
13 |
--------------------------------------------------------------------------------
/modules/features/petition_pages/petition_pages.info:
--------------------------------------------------------------------------------
1 | name = Petition Pages
2 | description = Pagers roughly replicating current pages but with the data stored in mysql
3 | core = 7.x
4 | package = Features
5 | php = 5.2.4
6 | version = 7.x-1.3
7 | project = petition_pages
8 | dependencies[] = ctools
9 | dependencies[] = eva
10 | dependencies[] = petition
11 | dependencies[] = signature_mail
12 | dependencies[] = views
13 | dependencies[] = views_infinite_scroll
14 | features[ctools][] = views:views_default:3.0
15 | features[features_api][] = api:1
16 | features[views_view][] = petitions_listing
17 | features[views_view][] = signature_mail_listings
18 | mtime = 1459170873
19 |
--------------------------------------------------------------------------------
/modules/features/petitions_logintoboggan_settings/petitions_logintoboggan_settings.features.inc:
--------------------------------------------------------------------------------
1 | "1");
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/features/petitions_logintoboggan_settings/petitions_logintoboggan_settings.module:
--------------------------------------------------------------------------------
1 | "1");
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/features/taxonomy_sync/taxonomy_sync.features.taxonomy.inc:
--------------------------------------------------------------------------------
1 | array(
13 | 'name' => 'Issues',
14 | 'machine_name' => 'issues',
15 | 'description' => 'Contains Issues from the main site.',
16 | 'hierarchy' => 0,
17 | 'module' => 'taxonomy',
18 | 'weight' => 0,
19 | 'rdf_mapping' => array(
20 | 'rdftype' => array(
21 | 0 => 'skos:ConceptScheme',
22 | ),
23 | 'name' => array(
24 | 'predicates' => array(
25 | 0 => 'dc:title',
26 | ),
27 | ),
28 | 'description' => array(
29 | 'predicates' => array(
30 | 0 => 'rdfs:comment',
31 | ),
32 | ),
33 | ),
34 | ),
35 | );
36 | }
37 |
--------------------------------------------------------------------------------
/modules/features/taxonomy_sync/taxonomy_sync.info:
--------------------------------------------------------------------------------
1 | name = Taxonomy Sync
2 | description = Syncs the Issues vocabulary with the Issue Tag vocabulary on the main site.
3 | core = 7.x
4 | package = Features
5 | project = petitions
6 | dependencies[] = ctools
7 | dependencies[] = features
8 | dependencies[] = feeds
9 | dependencies[] = taxonomy
10 | features[ctools][] = feeds:feeds_importer_default:1
11 | features[features_api][] = api:2
12 | features[feeds_importer][] = issues_taxonomy
13 | features[taxonomy][] = issues
14 |
--------------------------------------------------------------------------------
/modules/features/taxonomy_sync/taxonomy_sync.module:
--------------------------------------------------------------------------------
1 | "1");
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/modules/features/wh_misc/wh_misc.features.user_role.inc:
--------------------------------------------------------------------------------
1 | 'administrator',
16 | 'weight' => 2,
17 | );
18 |
19 | return $roles;
20 | }
21 |
--------------------------------------------------------------------------------
/modules/features/wh_misc/wh_misc.module:
--------------------------------------------------------------------------------
1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
15 | $strongarm->api_version = 1;
16 | $strongarm->name = 'admin_theme';
17 | $strongarm->value = 'seven';
18 | $export['admin_theme'] = $strongarm;
19 |
20 | return $export;
21 | }
22 |
--------------------------------------------------------------------------------
/modules/features/wh_petition_page/wh_petition_page.module:
--------------------------------------------------------------------------------
1 | 'full_html',
16 | 'name' => 'Full HTML',
17 | 'cache' => 1,
18 | 'status' => 1,
19 | 'weight' => 0,
20 | 'filters' => array(
21 | 'filter_autop' => array(
22 | 'weight' => 0,
23 | 'status' => 1,
24 | 'settings' => array(),
25 | ),
26 | ),
27 | );
28 |
29 | return $formats;
30 | }
31 |
--------------------------------------------------------------------------------
/modules/features/wh_response_feature/wh_response_feature.module:
--------------------------------------------------------------------------------
1 | 'response',
13 | 'format' => 'F j, Y',
14 | 'locales' => array(),
15 | ),
16 | );
17 | }
18 |
19 | /**
20 | * Implements hook_date_format_types().
21 | */
22 | function wh_response_feature_date_format_types() {
23 | return array(
24 | 'response' => t('Response'),
25 | );
26 | }
27 |
--------------------------------------------------------------------------------
/modules/features/wh_user_profile/wh_user_profile.features.inc:
--------------------------------------------------------------------------------
1 | 1);
10 | }
11 | }
12 |
13 | /**
14 | * Implementation of hook_default_profile2_type().
15 | */
16 | function wh_user_profile_default_profile2_type() {
17 | $items = array();
18 | $items['main'] = entity_import('profile2_type', '{
19 | "userCategory" : true,
20 | "userView" : true,
21 | "type" : "main",
22 | "label" : "Main profile",
23 | "weight" : "0",
24 | "data" : { "registration" : true, "use_page" : true },
25 | "rdf_mapping" : []
26 | }');
27 | return $items;
28 | }
29 |
--------------------------------------------------------------------------------
/modules/features/wh_user_profile/wh_user_profile.info:
--------------------------------------------------------------------------------
1 | core = "7.x"
2 | dependencies[] = "features"
3 | dependencies[] = "list"
4 | dependencies[] = "profile2"
5 | dependencies[] = "strongarm"
6 | description = "Defines the User Profile used by the Whitehouse"
7 | features[ctools][] = "strongarm:strongarm:1"
8 | features[field][] = "profile2-main-field_city"
9 | features[field][] = "profile2-main-field_country"
10 | features[field][] = "profile2-main-field_first_name"
11 | features[field][] = "profile2-main-field_last_name"
12 | features[field][] = "profile2-main-field_state"
13 | features[field][] = "profile2-main-field_zip"
14 | features[profile2_type][] = "main"
15 | features[variable][] = "user_pictures"
16 | name = "Whitehouse User Profile"
17 | package = "Features"
18 | php = "5.2.4"
19 |
20 |
21 | version = ""
22 | project = "petitions"
23 |
24 |
--------------------------------------------------------------------------------
/modules/features/wh_user_profile/wh_user_profile.module:
--------------------------------------------------------------------------------
1 | disabled = FALSE; /* Edit this to true to make a default strongarm disabled initially */
11 | $strongarm->api_version = 1;
12 | $strongarm->name = 'user_pictures';
13 | $strongarm->value = 0;
14 | $export['user_pictures'] = $strongarm;
15 |
16 | return $export;
17 | }
18 |
--------------------------------------------------------------------------------
/modules/features/wh_user_ss_data/wh_user_ss_data.info:
--------------------------------------------------------------------------------
1 | core = "7.x"
2 | dependencies[] = "features"
3 | description = "Adds fields to the User object for capturing IP Address and User Agent string when users register on the site."
4 | features[field][] = "user-user-field_ip_address"
5 | features[field][] = "user-user-field_user_agent"
6 | name = "WH User SS Data"
7 | package = "Features"
8 |
9 |
10 | version = ""
11 | project = "petitions"
12 |
13 |
--------------------------------------------------------------------------------
/modules/features/wh_user_ss_data/wh_user_ss_data.module:
--------------------------------------------------------------------------------
1 | "3");
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/modules/features/wtp_contexts/wtp_contexts.info:
--------------------------------------------------------------------------------
1 | name = wtp_contexts
2 | core = 7.x
3 | package = Features
4 | php = 5.2.4
5 | dependencies[] = context
6 | dependencies[] = ctools
7 | dependencies[] = menu
8 | dependencies[] = petition
9 | dependencies[] = petitions_api_keys_submission
10 | dependencies[] = petitions_blocks
11 | dependencies[] = petitionssignatureform
12 | dependencies[] = views
13 | features[context][] = api_key_request_form
14 | features[context][] = dashboard_link_edit_account
15 | features[context][] = dashboard_link_my_account
16 | features[context][] = homepage
17 | features[context][] = petition_signable
18 | features[context][] = petition_unsignable
19 | features[context][] = responses
20 | features[context][] = sitewide_layout
21 | features[context][] = terms_of_service_page
22 | features[ctools][] = context:context:3
23 | features[features_api][] = api:1
24 | mtime = 1459442211
25 |
--------------------------------------------------------------------------------
/modules/features/wtp_contexts/wtp_contexts.module:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /user/login
8 |
9 |
10 |
11 |
12 | /user/login
13 |
14 |
15 | open
16 | /user/login
17 |
18 |
19 |
20 | assertXpathCount
21 | //*[@id="user-login"]
22 | 1
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/selenium/UserLogoutTests.selenium.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | user/logout
8 |
9 |
10 |
11 |
12 | user/logout
13 |
14 |
15 |
16 | open
17 | /user/logout
18 |
19 |
20 |
21 | assertTextPresent
22 | You are not authorized to access this page.
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/selenium/UserPasswordTests.selenium.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /user/password
8 |
9 |
10 |
11 |
12 | /user/password
13 |
14 |
15 | open
16 | /user/password
17 |
18 |
19 |
20 | assertXpathCount
21 | //*[@id="user-pass"]
22 | 1
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/selenium/UserRegisterTests.selenium.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | /user/register
8 |
9 |
10 |
11 |
12 | /user/register
13 |
14 |
15 | open
16 | /user/register
17 |
18 |
19 |
20 | assertXpathCount
21 | //*[@id="user-register-form"]
22 | 1
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/selenium/UserTestsSuite.selenium.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Test Suite
7 |
8 |
9 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/themes/.DS_Store:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/.DS_Store
--------------------------------------------------------------------------------
/themes/petitions_responsive/.gitignore:
--------------------------------------------------------------------------------
1 | *.scssc
2 | *.sassc
3 | grunt/node_modules
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/Gemfile:
--------------------------------------------------------------------------------
1 | source 'https://rubygems.org'
2 |
3 | group :development do
4 |
5 | # Sass, Compass and extensions.
6 | gem 'sass', '>= 3.3' # Sass.
7 | gem 'sass-globbing', '1.1.0' # Import Sass files based on globbing pattern.
8 | gem 'bourbon', '4.2.6' # Import Bourbon SASS framework.
9 | gem 'neat', '1.7.2' # Import Bourbon Neat grid framework
10 |
11 | # Dependency to prevent polling. Setup for multiple OS environments.
12 | # Optionally remove the lines not specific to your OS.
13 | # https://github.com/guard/guard#efficient-filesystem-handling
14 | gem 'rb-inotify', '~> 0.9', :require => false # Linux
15 | gem 'rb-fsevent', :require => false # Mac OSX
16 | gem 'rb-fchange', :require => false # Windows
17 |
18 | end
19 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/Gemfile.lock:
--------------------------------------------------------------------------------
1 | GEM
2 | remote: https://rubygems.org/
3 | specs:
4 | bourbon (4.2.6)
5 | sass (~> 3.4)
6 | thor (~> 0.19)
7 | ffi (1.9.6)
8 | neat (1.7.2)
9 | bourbon (>= 4.0)
10 | sass (>= 3.3)
11 | rb-fchange (0.0.6)
12 | ffi
13 | rb-fsevent (0.9.4)
14 | rb-inotify (0.9.5)
15 | ffi (>= 0.5.0)
16 | sass (3.4.6)
17 | sass-globbing (1.1.0)
18 | sass (>= 3.1)
19 | thor (0.19.1)
20 |
21 | PLATFORMS
22 | ruby
23 |
24 | DEPENDENCIES
25 | bourbon (= 4.2.6)
26 | neat (= 1.7.2)
27 | rb-fchange
28 | rb-fsevent
29 | rb-inotify (~> 0.9)
30 | sass (>= 3.3)
31 | sass-globbing (= 1.1.0)
32 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/browserconfig.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | #ffffff
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie10.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=ie10.css.map */
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie10.css.map:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "mappings": "",
4 | "sources": [],
5 | "names": [],
6 | "file": "ie10.css"
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie8.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=ie8.css.map */
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie8.css.map:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "mappings": "",
4 | "sources": [],
5 | "names": [],
6 | "file": "ie8.css"
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie9.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*# sourceMappingURL=ie9.css.map */
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/ie9.css.map:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "mappings": "",
4 | "sources": [],
5 | "names": [],
6 | "file": "ie9.css"
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/print.css:
--------------------------------------------------------------------------------
1 | * {
2 | background-color: transparent;
3 | }
4 |
5 | .sidebar,
6 | #navigation,
7 | #header-region,
8 | #search-theme-form,
9 | #footer,
10 | .breadcrumb,
11 | .tabs,
12 | .feed-icon,
13 | .links {
14 | display: none;
15 | }
16 |
17 | #page {
18 | width: 100%;
19 | }
20 |
21 | #content,
22 | #content #content-inner,
23 | .content,
24 | .title {
25 | margin: 20px 0;
26 | width: auto;
27 | }
28 |
29 | a:hover, a:active, a:link, a:visited {
30 | color: black;
31 | }
32 |
33 | #content a:link:after, #content a:visited:after {
34 | content: " (" attr(href) ") ";
35 | font-size: 0.8em;
36 | font-weight: normal;
37 | }
38 |
39 | /*# sourceMappingURL=print.css.map */
40 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/css/print.css.map:
--------------------------------------------------------------------------------
1 | {
2 | "version": 3,
3 | "mappings": "AACA,CAAE;EACA,gBAAgB,EAAE,WAAW;;;AAG/B;;;;;;;;MAQO;EACL,OAAO,EAAE,IAAI;;;AAGf,KAAM;EACJ,KAAK,EAAE,IAAI;;;AAGb;;;MAGO;EACL,MAAM,EAAE,MAAM;EACd,KAAK,EAAE,IAAI;;;AAIX,oCAGU;EACR,KAAK,EAAE,KAAK;;;AAMd,+CAA8B;EAC5B,OAAO,EAAE,oBAAoB;EAC7B,SAAS,EAAE,KAAK;EAChB,WAAW,EAAE,MAAM",
4 | "sources": ["../scss/print.scss"],
5 | "names": [],
6 | "file": "print.css"
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/favicon.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/favicon.ico
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-bold-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-bold-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-bold-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-bold-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-bold-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-bold-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-bold-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-bold-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-italic-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-italic-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-italic-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-italic-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-italic-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-italic-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-italic-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-italic-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-light-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-light-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-light-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-light-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-light-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-light-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-light-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-light-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-regular-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-regular-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-regular-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-regular-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-regular-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-regular-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/merriweather-regular-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/merriweather-regular-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-bold-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-italic-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-light-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.eot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.eot
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.ttf
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.woff:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.woff
--------------------------------------------------------------------------------
/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.woff2:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/fonts/sourcesanspro-regular-webfont.woff2
--------------------------------------------------------------------------------
/themes/petitions_responsive/grunt/README.txt:
--------------------------------------------------------------------------------
1 | ===========================
2 | How to Use Grunt with Basic
3 | ===========================
4 |
5 | Grunt requires Node.JS to be installed on your machine. There are various
6 | package managers that can handle this for you.
7 |
8 | https://nodejs.org/download/
9 |
10 | Once Node.JS is installed, go to basic/grunt and install your grunt packages:
11 |
12 | npm install
13 |
14 | This will install the neccissary node_modules to run grunt. Once installed, run
15 | grunt via the command line:
16 |
17 | grunt
18 |
19 | This will initialize grunt and start watching changes to your SASS files. Voila!
--------------------------------------------------------------------------------
/themes/petitions_responsive/grunt/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "PETITIONS",
3 | "version": "0.1.0",
4 | "devDependencies": {
5 | "grunt": "~0.4.5",
6 | "grunt-autoprefixer": "^0.7.3",
7 | "grunt-browser-sync": "^0.9.1",
8 | "grunt-contrib-clean": "^0.7.0",
9 | "grunt-contrib-concat": "^0.4.0",
10 | "grunt-contrib-imagemin": "^0.7.0",
11 | "grunt-contrib-sass": "^0.7.3",
12 | "grunt-contrib-uglify": "^0.4.0",
13 | "grunt-contrib-watch": "^0.6.1",
14 | "grunt-notify": "^0.3.0"
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-114x114.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-144x144.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-72x72.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/favicon-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/favicon-128.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/favicon-16x16.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/favicon-196x196.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/favicon-196x196.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/favicon-32x32.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/favicon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/favicon-96x96.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/iOS_120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/iOS_120x120.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/iOS_152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/iOS_152x152.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/iOS_180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/iOS_180x180.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/iOS_76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/iOS_76x76.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/ie11_128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/ie11_128x128.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/ie11_270x270.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/ie11_270x270.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/ie11_558x270.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/ie11_558x270.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/ie11_558x558.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/ie11_558x558.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/mstile-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/mstile-144x144.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/mstile-150x150.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/mstile-310x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/mstile-310x150.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/mstile-310x310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/mstile-310x310.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/favicons/mstile-70x70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/favicons/mstile-70x70.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/fb_share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/fb_share.jpg
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/screenshot.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/screenshot.gif
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/simple_logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/simple_logo.jpg
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/wtp_logo_desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/wtp_logo_desktop.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/wtp_logo_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/wtp_logo_mobile.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/wtp_tagline_desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/wtp_tagline_desktop.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images-source/wtp_tagline_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images-source/wtp_tagline_mobile.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-114x114.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-114x114.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-120x120.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-144x144.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-152x152.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-60x60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-60x60.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-72x72.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-72x72.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/apple-touch-icon-76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/apple-touch-icon-76x76.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/favicon-128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/favicon-128.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/favicon-16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/favicon-16x16.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/favicon-196x196.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/favicon-196x196.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/favicon-32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/favicon-32x32.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/favicon-96x96.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/favicon-96x96.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/iOS_120x120.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/iOS_120x120.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/iOS_152x152.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/iOS_152x152.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/iOS_180x180.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/iOS_180x180.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/iOS_76x76.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/iOS_76x76.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/ie11_128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/ie11_128x128.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/ie11_270x270.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/ie11_270x270.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/ie11_558x270.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/ie11_558x270.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/ie11_558x558.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/ie11_558x558.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/mstile-144x144.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/mstile-144x144.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/mstile-150x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/mstile-150x150.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/mstile-310x150.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/mstile-310x150.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/mstile-310x310.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/mstile-310x310.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/favicons/mstile-70x70.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/favicons/mstile-70x70.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/fb_share.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/fb_share.jpg
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/screenshot.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/screenshot.gif
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/simple_logo.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/simple_logo.jpg
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/wtp_header_large.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/wtp_header_large.jpg
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/wtp_logo_desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/wtp_logo_desktop.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/wtp_logo_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/wtp_logo_mobile.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/wtp_tagline_desktop.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/wtp_tagline_desktop.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/images/wtp_tagline_mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/images/wtp_tagline_mobile.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/js/scripts.js:
--------------------------------------------------------------------------------
1 | !function($,Drupal,window,document,undefined){Drupal.behaviors.petitionsresponsive={attach:function(context,settings){$(window).ready(function(){}),$(window).load(function(){}),$(window).resize(function(){scrollTopLinkDisplay()}),$(window).scroll(function(){}),$(document).ready(function(){scrollTopLinkDisplay(),$(".return-top",context).once("returntotop",function(){$(this).click(function(event){event.preventDefault(),href=$(this).attr("href"),$("html,body").animate({scrollTop:$(href).offset().top},600)})})})}};var scrollTopLinkDisplay=function(){var min_desktop_height=1050,el=$(".return-top");$(document).height()>min_desktop_height?el.addClass("desktop-visible"):el.removeClass("desktop-visible")}}(jQuery,Drupal,this,this.document);
--------------------------------------------------------------------------------
/themes/petitions_responsive/js/selectivizr-min.js:
--------------------------------------------------------------------------------
1 | !function(j){}(this);
--------------------------------------------------------------------------------
/themes/petitions_responsive/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/WhiteHouse/petitions/d8b9b8a03864e4bf3a6f195628002a202f97a7e0/themes/petitions_responsive/logo.png
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/base/_lists.scss:
--------------------------------------------------------------------------------
1 | // _elements.lists.scss
2 |
3 | ul,
4 | ol {
5 | li {}
6 | }
7 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/base/_sprites.scss:
--------------------------------------------------------------------------------
1 | @mixin sprite-width($sprite) {
2 | width: nth($sprite, 5);
3 | }
4 |
5 | @mixin sprite-height($sprite) {
6 | height: nth($sprite, 6);
7 | }
8 |
9 | @mixin sprite-position($sprite) {
10 | $sprite-offset-x: nth($sprite, 3);
11 | $sprite-offset-y: nth($sprite, 4);
12 |
13 | background-position: $sprite-offset-x $sprite-offset-y;
14 | }
15 |
16 | @mixin sprite-image($sprite) {
17 | $sprite-image: nth($sprite, 9);
18 |
19 | background-image: url(#{$sprite-image});
20 | }
21 |
22 | @mixin sprite($sprite) {
23 | @include sprite-image($sprite);
24 |
25 | @include sprite-position($sprite);
26 |
27 | @include sprite-width($sprite);
28 |
29 | @include sprite-height($sprite);
30 | }
31 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/components/_buttons.scss:
--------------------------------------------------------------------------------
1 | //All button styles
2 | .button,
3 | input[type="submit"] {
4 | @include button();
5 | font-weight: $font-bold;
6 | width: 100%;
7 | font-size: rem(24);
8 | }
9 |
10 | a.button{
11 | @include button();
12 | font-size: $base-font-size;
13 | font-weight: $font-normal;
14 | color: $white;
15 | padding: 0.5em;
16 | display: inline-block;
17 | width: auto;
18 | &:link{
19 | text-decoration: none;
20 | }
21 | }
22 |
23 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/components/_input.scss:
--------------------------------------------------------------------------------
1 | // Form / validation specific styling.
2 |
3 | .input-error {
4 | clear: both;
5 | border-left: 4px solid $color-secondary-dark;
6 | padding-bottom: 0.8rem;
7 | padding-left: 1.5rem;
8 | padding-top: 0.8rem;
9 | position: relative;
10 | right: 1.9rem;
11 |
12 | @include media($desktop) {
13 | margin-top: 3rem;
14 | }
15 |
16 | input, textarea {
17 | border: 3px solid $color-secondary-dark !important;
18 | width: calc(100% + 1.5rem);
19 | }
20 |
21 | label {
22 | margin-top: 0;
23 | }
24 |
25 | .input-error-message {
26 | color: $color-secondary-dark;
27 | font-weight: $font-bold;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/components/_pager.scss:
--------------------------------------------------------------------------------
1 | //Pager Styles
2 |
3 | .page-load-next {
4 | clear: both;
5 | text-align: center;
6 | a {
7 | @extend a.button;
8 | padding: 0.25em 1em;
9 | margin-top: 0;
10 | }
11 | }
12 | .page-load-prev {
13 | @extend .page-load-next;
14 | margin-bottom: 20px;
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/components/_progress_bars.scss:
--------------------------------------------------------------------------------
1 | //Progress Bars
2 |
3 | %progress-bar {
4 | height: 16px;
5 | position: relative;
6 | background-color: $alto;
7 | overflow: hidden;
8 | @include border-radius(10px);
9 | & > span {
10 | display: block;
11 | height: 100%;
12 | position: relative;
13 | overflow: hidden;
14 | background-color: $atlantis;
15 | }
16 | }
17 |
18 | .signature-meter {
19 | @extend %progress-bar;
20 | margin-bottom: 10px;
21 | }
22 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/components/_social.scss:
--------------------------------------------------------------------------------
1 | /* Social icons */
2 |
3 | .social-share {
4 | &:link {
5 | color: $color-social-share-default;
6 | text-decoration: none;
7 | }
8 | &:hover {
9 | color: $color-social-share-hover;
10 | }
11 | &:before{
12 | font-size: 30px;
13 | @include media($desktop) {
14 | font-size: 20px;
15 | }
16 | }
17 | &:active {
18 | color: $color-social-share-active;
19 | }
20 | color: $color-social-share-default;
21 | font-size: 0;
22 | display: inline-block;
23 | margin-right: 5px;
24 | &:last-child {
25 | margin-right: 0;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/ie10.scss:
--------------------------------------------------------------------------------
1 | // IE10 Debug
2 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/ie8.scss:
--------------------------------------------------------------------------------
1 | // IE 8 Debug
2 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/ie9.scss:
--------------------------------------------------------------------------------
1 | // IE9 Debug
2 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/layout/_layout_wh-petitions-page.scss:
--------------------------------------------------------------------------------
1 | /**
2 | * Additional layout styles for the wh_petitions_page type.
3 | */
4 |
5 | .node-type-wh-petitions-page:not(.full-width) {
6 | #sidebar-top {
7 | margin-top: 20px;
8 | margin-bottom: 40px;
9 | }
10 |
11 | @include media($desktop) {
12 | #content-top {
13 | @include span-columns($desktop-grid-columns - 5);
14 | @include shift(1);
15 | @include reset-text-margins();
16 | @include reset-field-text-margins();
17 | & ~ #content{
18 | margin-top: 26px;
19 | }
20 | }
21 |
22 | #content {
23 | @include span-columns($desktop-grid-columns - 5);
24 | @include shift(1);
25 | }
26 |
27 | #sidebar-top {
28 | clear: left;
29 | margin-top: 0px;
30 | margin-bottom: 0px;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/components/_disclaimer.scss:
--------------------------------------------------------------------------------
1 | .usa-disclaimer {
2 | background-color: $color-gray-lightest;
3 | font-size: $h6-font-size;
4 | padding-bottom: .5rem;
5 | padding-top: .5rem;
6 |
7 | @include media($small-screen) {
8 | font-size: $h5-font-size;
9 | }
10 | }
11 |
12 | // This hides the stage note (i.e. alpha, beta, etc) of the disclaimer for
13 | // anything smaller than large screen sizes
14 | .usa-disclaimer-stage {
15 | display: none;
16 | float: right;
17 |
18 | @include media($large-screen) {
19 | display: block;
20 | }
21 | }
22 |
23 | .usa-flag_icon {
24 | margin-right: .2rem;
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/components/_skipnav.scss:
--------------------------------------------------------------------------------
1 | .skipnav {
2 | @include transition(all .2s ease-in-out);
3 | background: transparent;
4 | color: $color-base;
5 | left: 0;
6 | padding: 1rem 1.5rem;
7 | position: absolute;
8 | top: -4.2rem;
9 | z-index: 100;
10 |
11 | &:focus {
12 | @include transition(all .2s ease-in-out);
13 | background: $color-white;
14 | left: 0;
15 | outline: 0;
16 | position: absolute;
17 | top: 0;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/core/_base.scss:
--------------------------------------------------------------------------------
1 | /* Apply a natural box layout model to all elements, but allowing components to
2 | change */
3 |
4 | html {
5 | box-sizing: border-box;
6 | }
7 |
8 | *, *:before, *:after {
9 | box-sizing: inherit;
10 | }
11 |
12 | body {
13 | background-color: $color-white;
14 | }
15 |
16 | // Hack for clearfixes
17 | .lt-ie9 {
18 | * {
19 | filter: none !important;
20 | }
21 | }
22 |
23 | [aria-hidden=true] {
24 | display: none !important;
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/core/_grid-settings.scss:
--------------------------------------------------------------------------------
1 | // Add custom grid settings here (i.e. gutters, columns, etc)
2 |
3 | // Mobile First Breakpoints
4 | $small-screen: 481px;
5 | $medium-screen: 600px;
6 | $large-screen: 1201px;
7 |
8 | $large: new-breakpoint(min-width $large-screen 12);
9 | $medium: new-breakpoint(min-width $medium-screen 6);
10 | $small: new-breakpoint(min-width $small-screen 1);
11 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/elements/_figure.scss:
--------------------------------------------------------------------------------
1 | img {
2 | max-width: 100%;
3 | }
4 |
5 | // TODO: Add documentation instructions for using this class on image links
6 | .media_link {
7 | display: inline-block;
8 | line-height: 0;
9 | }
10 |
11 | // Patch for Firefox: max-width:100% is not respected within auto-width inline
12 | // blocks
13 | @-moz-document url-prefix() {
14 | .media_link {
15 | display: table;
16 | table-layout: fixed;
17 | width: 100%;
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/elements/_labels.scss:
--------------------------------------------------------------------------------
1 | .usa-label {
2 | background-color: $color-primary;
3 | border-radius: $border-radius;
4 | color: $color-white;
5 | font-size: $h5-font-size;
6 | margin-right: 0.5rem;
7 | padding: 0.1rem 0.7rem;
8 | text-transform: uppercase;
9 |
10 | &:only-of-type {
11 | margin-right: 0;
12 | }
13 | }
14 |
15 | .usa-label-big {
16 | @extend .usa-label;
17 | font-size: $base-font-size;
18 | padding-left: 0.9rem;
19 | padding-right: 0.9rem;
20 | }
21 |
22 | a {
23 | &.usa-label {
24 | border-bottom: none;
25 |
26 | &:hover {
27 | background-color: $color-primary-darker;
28 | border-bottom: none;
29 | color: $color-white;
30 | }
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/elements/_table.scss:
--------------------------------------------------------------------------------
1 | table {
2 | border-spacing: 0;
3 | margin: 2em 0;
4 | min-width: 100%;
5 |
6 | thead {
7 | tr {
8 | background-color: $color-gray-lightest;
9 | }
10 |
11 | th {
12 | text-align: left;
13 | }
14 | }
15 |
16 | tbody {
17 | th {
18 | font-weight: $font-normal;
19 | }
20 | }
21 |
22 | th, td {
23 | border: 1px solid $color-gray;
24 | padding: 1.5rem;
25 | }
26 | }
27 |
28 | .usa-table-borderless {
29 | thead {
30 | tr {
31 | background-color: transparent;
32 |
33 | th {
34 | border-top: 0;
35 | }
36 | }
37 | }
38 |
39 | th, td {
40 | border-left: 0;
41 | border-right: 0;
42 | }
43 | }
44 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_border-color.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides a quick method for targeting `border-color` on specific sides of a box. Use a `null` value to “skip” a side.
4 | ///
5 | /// @param {Arglist} $vals
6 | /// List of arguments
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include border-color(#a60b55 #76cd9c null #e8ae1a);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// border-left-color: #e8ae1a;
16 | /// border-right-color: #76cd9c;
17 | /// border-top-color: #a60b55;
18 | /// }
19 | ///
20 | /// @require {mixin} directional-property
21 | ///
22 | /// @output `border-color`
23 |
24 | @mixin border-color($vals...) {
25 | @include directional-property(border, color, $vals...);
26 | }
27 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_border-style.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side.
4 | ///
5 | /// @param {Arglist} $vals
6 | /// List of arguments
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include border-style(dashed null solid);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// border-bottom-style: solid;
16 | /// border-top-style: dashed;
17 | /// }
18 | ///
19 | /// @require {mixin} directional-property
20 | ///
21 | /// @output `border-style`
22 |
23 | @mixin border-style($vals...) {
24 | @include directional-property(border, style, $vals...);
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_border-width.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides a quick method for targeting `border-width` on specific sides of a box. Use a `null` value to “skip” a side.
4 | ///
5 | /// @param {Arglist} $vals
6 | /// List of arguments
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include border-width(1em null 20px);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// border-bottom-width: 20px;
16 | /// border-top-width: 1em;
17 | /// }
18 | ///
19 | /// @require {mixin} directional-property
20 | ///
21 | /// @output `border-width`
22 |
23 | @mixin border-width($vals...) {
24 | @include directional-property(border, width, $vals...);
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_clearfix.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides an easy way to include a clearfix for containing floats.
4 | ///
5 | /// @link http://cssmojo.com/latest_new_clearfix_so_far/
6 | ///
7 | /// @example scss - Usage
8 | /// .element {
9 | /// @include clearfix;
10 | /// }
11 | ///
12 | /// @example css - CSS Output
13 | /// .element::after {
14 | /// clear: both;
15 | /// content: "";
16 | /// display: table;
17 | /// }
18 |
19 | @mixin clearfix {
20 | &::after {
21 | clear: both;
22 | content: "";
23 | display: table;
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_ellipsis.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Truncates text and adds an ellipsis to represent overflow.
4 | ///
5 | /// @param {Number} $width [100%]
6 | /// Max-width for the string to respect before being truncated
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include ellipsis;
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// display: inline-block;
16 | /// max-width: 100%;
17 | /// overflow: hidden;
18 | /// text-overflow: ellipsis;
19 | /// white-space: nowrap;
20 | /// word-wrap: normal;
21 | /// }
22 |
23 | @mixin ellipsis($width: 100%) {
24 | display: inline-block;
25 | max-width: $width;
26 | overflow: hidden;
27 | text-overflow: ellipsis;
28 | white-space: nowrap;
29 | word-wrap: normal;
30 | }
31 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_font-stacks.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Georgia font stack.
4 | ///
5 | /// @type List
6 |
7 | $georgia: "Georgia", "Cambria", "Times New Roman", "Times", serif;
8 |
9 | /// Helvetica font stack.
10 | ///
11 | /// @type List
12 |
13 | $helvetica: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
14 |
15 | /// Lucida Grande font stack.
16 | ///
17 | /// @type List
18 |
19 | $lucida-grande: "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif;
20 |
21 | /// Monospace font stack.
22 | ///
23 | /// @type List
24 |
25 | $monospace: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
26 |
27 | /// Verdana font stack.
28 | ///
29 | /// @type List
30 |
31 | $verdana: "Verdana", "Geneva", sans-serif;
32 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_hide-text.scss:
--------------------------------------------------------------------------------
1 | /// Hides the text in an element, commonly used to show an image. Some elements will need block-level styles applied.
2 | ///
3 | /// @link http://zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement
4 | ///
5 | /// @example scss - Usage
6 | /// .element {
7 | /// @include hide-text;
8 | /// }
9 | ///
10 | /// @example css - CSS Output
11 | /// .element {
12 | /// overflow: hidden;
13 | /// text-indent: 101%;
14 | /// white-space: nowrap;
15 | /// }
16 | ///
17 | /// @todo Remove height argument in v5.0.0
18 |
19 | @mixin hide-text($height: null) {
20 | overflow: hidden;
21 | text-indent: 101%;
22 | white-space: nowrap;
23 |
24 | @if $height {
25 | @warn "The `hide-text` mixin has changed and no longer requires a height. The height argument will no longer be accepted in v5.0.0";
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_margin.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides a quick method for targeting `margin` on specific sides of a box. Use a `null` value to “skip” a side.
4 | ///
5 | /// @param {Arglist} $vals
6 | /// List of arguments
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include margin(null 10px 3em 20vh);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// margin-bottom: 3em;
16 | /// margin-left: 20vh;
17 | /// margin-right: 10px;
18 | /// }
19 | ///
20 | /// @require {mixin} directional-property
21 | ///
22 | /// @output `margin`
23 |
24 | @mixin margin($vals...) {
25 | @include directional-property(margin, false, $vals...);
26 | }
27 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_padding.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides a quick method for targeting `padding` on specific sides of a box. Use a `null` value to “skip” a side.
4 | ///
5 | /// @param {Arglist} $vals
6 | /// List of arguments
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include padding(12vh null 10px 5%);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// padding-bottom: 10px;
16 | /// padding-left: 5%;
17 | /// padding-top: 12vh;
18 | /// }
19 | ///
20 | /// @require {mixin} directional-property
21 | ///
22 | /// @output `padding`
23 |
24 | @mixin padding($vals...) {
25 | @include directional-property(padding, false, $vals...);
26 | }
27 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/addons/_word-wrap.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Provides an easy way to change the `word-wrap` property.
4 | ///
5 | /// @param {String} $wrap [break-word]
6 | /// Value for the `word-break` property.
7 | ///
8 | /// @example scss - Usage
9 | /// .wrapper {
10 | /// @include word-wrap(break-word);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .wrapper {
15 | /// overflow-wrap: break-word;
16 | /// word-break: break-all;
17 | /// word-wrap: break-word;
18 | /// }
19 |
20 | @mixin word-wrap($wrap: break-word) {
21 | overflow-wrap: $wrap;
22 | word-wrap: $wrap;
23 |
24 | @if $wrap == break-word {
25 | word-break: break-all;
26 | } @else {
27 | word-break: $wrap;
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_appearance.scss:
--------------------------------------------------------------------------------
1 | @mixin appearance($value) {
2 | @include prefixer(appearance, $value, webkit moz ms o spec);
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_backface-visibility.scss:
--------------------------------------------------------------------------------
1 | @mixin backface-visibility($visibility) {
2 | @include prefixer(backface-visibility, $visibility, webkit spec);
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_calc.scss:
--------------------------------------------------------------------------------
1 | @mixin calc($property, $value) {
2 | #{$property}: -webkit-calc(#{$value});
3 | #{$property}: calc(#{$value});
4 | }
5 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_filter.scss:
--------------------------------------------------------------------------------
1 | @mixin filter($function: none) {
2 | // [
3 | @include prefixer(perspective, $depth, webkit moz spec);
4 | }
5 |
6 | @mixin perspective-origin($value: 50% 50%) {
7 | @include prefixer(perspective-origin, $value, webkit moz spec);
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_placeholder.scss:
--------------------------------------------------------------------------------
1 | @mixin placeholder {
2 | $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input";
3 | @each $placeholder in $placeholders {
4 | &:#{$placeholder}-placeholder {
5 | @content;
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_text-decoration.scss:
--------------------------------------------------------------------------------
1 | @mixin text-decoration($value) {
2 | // || ||
3 | @include prefixer(text-decoration, $value, moz);
4 | }
5 |
6 | @mixin text-decoration-line($line: none) {
7 | // none || underline || overline || line-through
8 | @include prefixer(text-decoration-line, $line, moz);
9 | }
10 |
11 | @mixin text-decoration-style($style: solid) {
12 | // solid || double || dotted || dashed || wavy
13 | @include prefixer(text-decoration-style, $style, moz webkit);
14 | }
15 |
16 | @mixin text-decoration-color($color: currentColor) {
17 | // currentColor ||
18 | @include prefixer(text-decoration-color, $color, moz);
19 | }
20 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_transform.scss:
--------------------------------------------------------------------------------
1 | @mixin transform($property: none) {
2 | // none |
3 | @include prefixer(transform, $property, webkit moz ms o spec);
4 | }
5 |
6 | @mixin transform-origin($axes: 50%) {
7 | // x-axis - left | center | right | length | %
8 | // y-axis - top | center | bottom | length | %
9 | // z-axis - length
10 | @include prefixer(transform-origin, $axes, webkit moz ms o spec);
11 | }
12 |
13 | @mixin transform-style($style: flat) {
14 | @include prefixer(transform-style, $style, webkit moz ms o spec);
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/css3/_user-select.scss:
--------------------------------------------------------------------------------
1 | @mixin user-select($value: none) {
2 | @include prefixer(user-select, $value, webkit moz ms spec);
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_assign-inputs.scss:
--------------------------------------------------------------------------------
1 | @function assign-inputs($inputs, $pseudo: null) {
2 | $list: ();
3 |
4 | @each $input in $inputs {
5 | $input: unquote($input);
6 | $input: if($pseudo, $input + ":" + $pseudo, $input);
7 | $list: append($list, $input, comma);
8 | }
9 |
10 | @return $list;
11 | }
12 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_contains-falsy.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Checks if a list does not contains a value.
4 | ///
5 | /// @access private
6 | ///
7 | /// @param {List} $list
8 | /// The list to check against.
9 | ///
10 | /// @return {Bool}
11 |
12 | @function contains-falsy($list) {
13 | @each $item in $list {
14 | @if not $item {
15 | @return true;
16 | }
17 | }
18 |
19 | @return false;
20 | }
21 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_contains.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Checks if a list contains a value(s).
4 | ///
5 | /// @access private
6 | ///
7 | /// @param {List} $list
8 | /// The list to check against.
9 | ///
10 | /// @param {List} $values
11 | /// A single value or list of values to check for.
12 | ///
13 | /// @example scss - Usage
14 | /// contains($list, $value)
15 | ///
16 | /// @return {Bool}
17 |
18 | @function contains($list, $values...) {
19 | @each $value in $values {
20 | @if type-of(index($list, $value)) != "number" {
21 | @return false;
22 | }
23 | }
24 |
25 | @return true;
26 | }
27 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_is-length.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Checks for a valid CSS length.
4 | ///
5 | /// @param {String} $value
6 |
7 | @function is-length($value) {
8 | @return type-of($value) != "null" and (str-slice($value + "", 1, 4) == "calc"
9 | or index(auto inherit initial 0, $value)
10 | or (type-of($value) == "number" and not(unitless($value))));
11 | }
12 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_is-light.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Programatically determines whether a color is light or dark.
4 | ///
5 | /// @link http://robots.thoughtbot.com/closer-look-color-lightness
6 | ///
7 | /// @param {Color (Hex)} $color
8 | ///
9 | /// @example scss - Usage
10 | /// is-light($color)
11 | ///
12 | /// @return {Bool}
13 |
14 | @function is-light($hex-color) {
15 | $-local-red: red(rgba($hex-color, 1));
16 | $-local-green: green(rgba($hex-color, 1));
17 | $-local-blue: blue(rgba($hex-color, 1));
18 | $-local-lightness: ($-local-red * 0.2126 + $-local-green * 0.7152 + $-local-blue * 0.0722) / 255;
19 |
20 | @return $-local-lightness > 0.6;
21 | }
22 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_is-number.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Checks for a valid number.
4 | ///
5 | /// @param {Number} $value
6 | ///
7 | /// @require {function} contains
8 |
9 | @function is-number($value) {
10 | @return contains("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" 0 1 2 3 4 5 6 7 8 9, $value);
11 | }
12 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_is-size.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Checks for a valid CSS size.
4 | ///
5 | /// @param {String} $value
6 | ///
7 | /// @require {function} contains
8 | /// @require {function} is-length
9 |
10 | @function is-size($value) {
11 | @return is-length($value)
12 | or contains("fill" "fit-content" "min-content" "max-content", $value);
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_px-to-em.scss:
--------------------------------------------------------------------------------
1 | // Convert pixels to ems
2 | // eg. for a relational value of 12px write em(12) when the parent is 16px
3 | // if the parent is another value say 24px write em(12, 24)
4 |
5 | @function em($pxval, $base: $em-base) {
6 | @if not unitless($pxval) {
7 | $pxval: strip-units($pxval);
8 | }
9 | @if not unitless($base) {
10 | $base: strip-units($base);
11 | }
12 | @return ($pxval / $base) * 1em;
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_px-to-rem.scss:
--------------------------------------------------------------------------------
1 | // Convert pixels to rems
2 | // eg. for a relational value of 12px write rem(12)
3 | // Assumes $em-base is the font-size of
4 |
5 | @function rem($pxval) {
6 | @if not unitless($pxval) {
7 | $pxval: strip-units($pxval);
8 | }
9 |
10 | $base: $em-base;
11 | @if not unitless($base) {
12 | $base: strip-units($base);
13 | }
14 | @return ($pxval / $base) * 1rem;
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_shade.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Mixes a color with black.
4 | ///
5 | /// @param {Color} $color
6 | ///
7 | /// @param {Number (Percentage)} $percent
8 | /// The amount of black to be mixed in.
9 | ///
10 | /// @example scss - Usage
11 | /// .element {
12 | /// background-color: shade(#ffbb52, 60%);
13 | /// }
14 | ///
15 | /// @example css - CSS Output
16 | /// .element {
17 | /// background-color: #664a20;
18 | /// }
19 | ///
20 | /// @return {Color}
21 |
22 | @function shade($color, $percent) {
23 | @return mix(#000, $color, $percent);
24 | }
25 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_strip-units.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Strips the unit from a number.
4 | ///
5 | /// @param {Number (With Unit)} $value
6 | ///
7 | /// @example scss - Usage
8 | /// $dimension: strip-units(10em);
9 | ///
10 | /// @example css - CSS Output
11 | /// $dimension: 10;
12 | ///
13 | /// @return {Number (Unitless)}
14 |
15 | @function strip-units($value) {
16 | @return ($value / ($value * 0 + 1));
17 | }
18 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_tint.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Mixes a color with white.
4 | ///
5 | /// @param {Color} $color
6 | ///
7 | /// @param {Number (Percentage)} $percent
8 | /// The amount of white to be mixed in.
9 | ///
10 | /// @example scss - Usage
11 | /// .element {
12 | /// background-color: tint(#6ecaa6, 40%);
13 | /// }
14 | ///
15 | /// @example css - CSS Output
16 | /// .element {
17 | /// background-color: #a8dfc9;
18 | /// }
19 | ///
20 | /// @return {Color}
21 |
22 | @function tint($color, $percent) {
23 | @return mix(#fff, $color, $percent);
24 | }
25 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_transition-property-name.scss:
--------------------------------------------------------------------------------
1 | // Return vendor-prefixed property names if appropriate
2 | // Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
3 | //************************************************************************//
4 | @function transition-property-names($props, $vendor: false) {
5 | $new-props: ();
6 |
7 | @each $prop in $props {
8 | $new-props: append($new-props, transition-property-name($prop, $vendor), comma);
9 | }
10 |
11 | @return $new-props;
12 | }
13 |
14 | @function transition-property-name($prop, $vendor: false) {
15 | // put other properties that need to be prefixed here aswell
16 | @if $vendor and $prop == transform {
17 | @return unquote('-'+$vendor+'-'+$prop);
18 | }
19 | @else {
20 | @return $prop;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/functions/_unpack.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Converts shorthand to the 4-value syntax.
4 | ///
5 | /// @param {List} $shorthand
6 | ///
7 | /// @example scss - Usage
8 | /// .element {
9 | /// margin: unpack(1em 2em);
10 | /// }
11 | ///
12 | /// @example css - CSS Output
13 | /// .element {
14 | /// margin: 1em 2em 1em 2em;
15 | /// }
16 |
17 | @function unpack($shorthand) {
18 | @if length($shorthand) == 1 {
19 | @return nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1);
20 | } @else if length($shorthand) == 2 {
21 | @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 1) nth($shorthand, 2);
22 | } @else if length($shorthand) == 3 {
23 | @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 3) nth($shorthand, 2);
24 | } @else {
25 | @return $shorthand;
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/helpers/_convert-units.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // Helper function for str-to-num fn.
3 | // Source: http://sassmeister.com/gist/9647408
4 | //************************************************************************//
5 | @function _convert-units($number, $unit) {
6 | $strings: "px", "cm", "mm", "%", "ch", "pica", "in", "em", "rem", "pt", "pc", "ex", "vw", "vh", "vmin", "vmax", "deg", "rad", "grad", "turn";
7 | $units: 1px, 1cm, 1mm, 1%, 1ch, 1pica, 1in, 1em, 1rem, 1pt, 1pc, 1ex, 1vw, 1vh, 1vmin, 1vmax, 1deg, 1rad, 1grad, 1turn;
8 | $index: index($strings, $unit);
9 |
10 | @if not $index {
11 | @warn "Unknown unit `#{$unit}`.";
12 | @return false;
13 | }
14 |
15 | @if type-of($number) != "number" {
16 | @warn "`#{$number} is not a number`";
17 | @return false;
18 | }
19 |
20 | @return $number * nth($units, $index);
21 | }
22 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/helpers/_gradient-positions-parser.scss:
--------------------------------------------------------------------------------
1 | @function _gradient-positions-parser($gradient-type, $gradient-positions) {
2 | @if $gradient-positions
3 | and ($gradient-type == linear)
4 | and (type-of($gradient-positions) != color) {
5 | $gradient-positions: _linear-positions-parser($gradient-positions);
6 | }
7 | @else if $gradient-positions
8 | and ($gradient-type == radial)
9 | and (type-of($gradient-positions) != color) {
10 | $gradient-positions: _radial-positions-parser($gradient-positions);
11 | }
12 | @return $gradient-positions;
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/helpers/_linear-angle-parser.scss:
--------------------------------------------------------------------------------
1 | // Private function for linear-gradient-parser
2 | @function _linear-angle-parser($image, $first-val, $prefix, $suffix) {
3 | $offset: null;
4 | $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val));
5 | $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val));
6 |
7 | @if ($unit-long == "grad") or
8 | ($unit-long == "turn") {
9 | $offset: if($unit-long == "grad", -100grad * 3, -0.75turn);
10 | }
11 |
12 | @else if ($unit-short == "deg") or
13 | ($unit-short == "rad") {
14 | $offset: if($unit-short == "deg", -90 * 3, 1.6rad);
15 | }
16 |
17 | @if $offset {
18 | $num: _str-to-num($first-val);
19 |
20 | @return (
21 | webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix,
22 | spec-image: $image
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/helpers/_radial-positions-parser.scss:
--------------------------------------------------------------------------------
1 | @function _radial-positions-parser($gradient-pos) {
2 | $shape-size: nth($gradient-pos, 1);
3 | $pos: nth($gradient-pos, 2);
4 | $shape-size-spec: _shape-size-stripper($shape-size);
5 |
6 | $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7 | unquote(if($shape-size, "#{$shape-size},", null));
8 | $pos-spec: if($pos, "at #{$pos}", null);
9 |
10 | $spec: "#{$shape-size-spec} #{$pos-spec}";
11 |
12 | // Add comma
13 | @if ($spec != " ") {
14 | $spec: "#{$spec},";
15 | }
16 |
17 | @return $pre-spec $spec;
18 | }
19 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/helpers/_shape-size-stripper.scss:
--------------------------------------------------------------------------------
1 | @function _shape-size-stripper($shape-size) {
2 | $shape-size-spec: null;
3 | @each $value in $shape-size {
4 | @if ($value == "cover") or ($value == "contain") {
5 | $value: null;
6 | }
7 | $shape-size-spec: "#{$shape-size-spec} #{$value}";
8 | }
9 | @return $shape-size-spec;
10 | }
11 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/settings/_asset-pipeline.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// A global setting to enable or disable the `$asset-pipeline` variable for all functions that accept it.
4 | ///
5 | /// @type Bool
6 |
7 | $asset-pipeline: false !default;
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/settings/_prefixer.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Global variables to enable or disable vendor prefixes
4 |
5 | $prefix-for-webkit: true !default;
6 | $prefix-for-mozilla: true !default;
7 | $prefix-for-microsoft: true !default;
8 | $prefix-for-opera: true !default;
9 | $prefix-for-spec: true !default;
10 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/bourbon/settings/_px-to-em.scss:
--------------------------------------------------------------------------------
1 | $em-base: 16px !default;
2 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/_neat-helpers.scss:
--------------------------------------------------------------------------------
1 | // Functions
2 | @import "functions/private";
3 | @import "functions/new-breakpoint";
4 |
5 | // Settings
6 | @import "settings/grid";
7 | @import "settings/visual-grid";
8 | @import "settings/disable-warnings";
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/_neat.scss:
--------------------------------------------------------------------------------
1 | // Neat 1.7.2
2 | // http://neat.bourbon.io
3 | // Copyright 2012-2015 thoughtbot, inc.
4 | // MIT License
5 |
6 | // Helpers
7 | @import "neat-helpers";
8 |
9 | // Grid
10 | @import "grid/private";
11 | @import "grid/box-sizing";
12 | @import "grid/omega";
13 | @import "grid/outer-container";
14 | @import "grid/span-columns";
15 | @import "grid/row";
16 | @import "grid/shift";
17 | @import "grid/pad";
18 | @import "grid/fill-parent";
19 | @import "grid/media";
20 | @import "grid/to-deprecate";
21 | @import "grid/visual-grid";
22 | @import "grid/display-context";
23 | @import "grid/direction-context";
24 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/grid/_box-sizing.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | @if $border-box-sizing == true {
4 | html { // http://bit.ly/1qk2tVR
5 | box-sizing: border-box;
6 | }
7 |
8 | * {
9 | &,
10 | &::after,
11 | &::before {
12 | box-sizing: inherit;
13 | }
14 | }
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/grid/_display-context.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Changes the display property used by other mixins called in the code block argument.
4 | ///
5 | /// @param {String} $display [block]
6 | /// Display value to be used within the block. Can be `table` or `block`.
7 | ///
8 | /// @example scss
9 | /// @include display-context(table) {
10 | /// .display-table {
11 | /// @include span-columns(6);
12 | /// }
13 | /// }
14 | ///
15 | /// @example css
16 | /// .display-table {
17 | /// display: table-cell;
18 | /// ...
19 | /// }
20 |
21 | @mixin display-context($display: block) {
22 | $scope-display: $container-display-table;
23 | $container-display-table: $display == table !global;
24 |
25 | @content;
26 |
27 | $container-display-table: $scope-display !global;
28 | }
29 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/grid/_fill-parent.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Forces the element to fill its parent container.
4 | ///
5 | /// @example scss - Usage
6 | /// .element {
7 | /// @include fill-parent;
8 | /// }
9 | ///
10 | /// @example css - CSS Output
11 | /// .element {
12 | /// width: 100%;
13 | /// box-sizing: border-box;
14 | /// }
15 |
16 | @mixin fill-parent() {
17 | width: 100%;
18 |
19 | @if $border-box-sizing == false {
20 | box-sizing: border-box;
21 | }
22 | }
23 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/grid/_pad.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Adds padding to the element.
4 | ///
5 | /// @param {List} $padding [flex-gutter()]
6 | /// A list of padding value(s) to use. Passing `default` in the list will result in using the gutter width as a padding value.
7 | ///
8 | /// @example scss - Usage
9 | /// .element {
10 | /// @include pad(30px -20px 10px default);
11 | /// }
12 | ///
13 | /// @example css - CSS Output
14 | /// .element {
15 | /// padding: 30px -20px 10px 2.35765%;
16 | /// }
17 |
18 | @mixin pad($padding: flex-gutter()) {
19 | $padding-list: null;
20 | @each $value in $padding {
21 | $value: if($value == 'default', flex-gutter(), $value);
22 | $padding-list: join($padding-list, $value);
23 | }
24 | padding: $padding-list;
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/settings/_disable-warnings.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Disable all deprecation warnings. Defaults to `false`. Set with a `!global` flag.
4 | ///
5 | /// @type Bool
6 |
7 | $disable-warnings: false !default;
8 |
9 | @mixin -neat-warn($message) {
10 | @if $disable-warnings == false {
11 | @warn "#{$message}";
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/USDS/lib/neat/settings/_visual-grid.scss:
--------------------------------------------------------------------------------
1 | @charset "UTF-8";
2 |
3 | /// Displays the visual grid when set to true. The overlaid grid may be few pixels off depending on the browser's rendering engine and pixel rounding algorithm. Set with the `!global` flag.
4 | ///
5 | /// @type Bool
6 |
7 | $visual-grid: false !default;
8 |
9 | /// Sets the visual grid color. Set with `!global` flag.
10 | ///
11 | /// @type Color
12 |
13 | $visual-grid-color: #eee !default;
14 |
15 | /// Sets the `z-index` property of the visual grid. Can be `back` (behind content) or `front` (in front of content). Set with `!global` flag.
16 | ///
17 | /// @type String
18 |
19 | $visual-grid-index: back !default;
20 |
21 | /// Sets the opacity property of the visual grid. Set with `!global` flag.
22 | ///
23 | /// @type Number (unitless)
24 |
25 | $visual-grid-opacity: 0.4 !default;
26 |
27 | $visual-grid-breakpoints: () !default;
28 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/_bourbon-deprecated-upcoming.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // These mixins/functions are deprecated
3 | // They will be removed in the next MAJOR version release
4 | //************************************************************************//
5 | @mixin inline-block {
6 | display: inline-block;
7 | @warn "inline-block mixin is deprecated and will be removed in the next major version release";
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_clearfix.scss:
--------------------------------------------------------------------------------
1 | // Modern micro clearfix provides an easy way to contain floats without adding additional markup.
2 | //
3 | // Example usage:
4 | //
5 | // // Contain all floats within .wrapper
6 | // .wrapper {
7 | // @include clearfix;
8 | // .content,
9 | // .sidebar {
10 | // float : left;
11 | // }
12 | // }
13 |
14 | @mixin clearfix {
15 | &:after {
16 | content:"";
17 | display:table;
18 | clear:both;
19 | }
20 | }
21 |
22 | // Acknowledgements
23 | // Beat *that* clearfix: [Thierry Koblentz](http://www.css-101.org/articles/clearfix/latest-new-clearfix-so-far.php)
24 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_ellipsis.scss:
--------------------------------------------------------------------------------
1 | @mixin ellipsis($width: 100%) {
2 | display: inline-block;
3 | max-width: $width;
4 | overflow: hidden;
5 | text-overflow: ellipsis;
6 | white-space: nowrap;
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_font-family.scss:
--------------------------------------------------------------------------------
1 | $georgia: Georgia, Cambria, "Times New Roman", Times, serif;
2 | $helvetica: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
3 | $lucida-grande: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
4 | $monospace: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
5 | $verdana: Verdana, Geneva, sans-serif;
6 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_hide-text.scss:
--------------------------------------------------------------------------------
1 | @mixin hide-text {
2 | overflow: hidden;
3 |
4 | &:before {
5 | content: "";
6 | display: block;
7 | width: 0;
8 | height: 100%;
9 | }
10 | }
11 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_position.scss:
--------------------------------------------------------------------------------
1 | @mixin position ($position: relative, $coordinates: null null null null) {
2 |
3 | @if type-of($position) == list {
4 | $coordinates: $position;
5 | $position: relative;
6 | }
7 |
8 | $coordinates: unpack($coordinates);
9 |
10 | $top: nth($coordinates, 1);
11 | $right: nth($coordinates, 2);
12 | $bottom: nth($coordinates, 3);
13 | $left: nth($coordinates, 4);
14 |
15 | position: $position;
16 |
17 | @if ($top and $top == auto) or (type-of($top) == number) {
18 | top: $top;
19 | }
20 |
21 | @if ($right and $right == auto) or (type-of($right) == number) {
22 | right: $right;
23 | }
24 |
25 | @if ($bottom and $bottom == auto) or (type-of($bottom) == number) {
26 | bottom: $bottom;
27 | }
28 |
29 | @if ($left and $left == auto) or (type-of($left) == number) {
30 | left: $left;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_rem.scss:
--------------------------------------------------------------------------------
1 | @mixin rem($property, $size, $base: $em-base) {
2 | @if not unitless($base) {
3 | $base: strip-units($base);
4 | }
5 |
6 | $unitless_values: ();
7 | @each $num in $size {
8 | @if not unitless($num) {
9 | @if unit($num) == "em" {
10 | $num: $num * $base;
11 | }
12 |
13 | $num: strip-units($num);
14 | }
15 |
16 | $unitless_values: append($unitless_values, $num);
17 | }
18 | $size: $unitless_values;
19 |
20 | $pixel_values: ();
21 | $rem_values: ();
22 | @each $value in $size {
23 | $pixel_value: $value * 1px;
24 | $pixel_values: append($pixel_values, $pixel_value);
25 |
26 | $rem_value: ($value / $base) * 1rem;
27 | $rem_values: append($rem_values, $rem_value);
28 | }
29 |
30 | #{$property}: $pixel_values;
31 | #{$property}: $rem_values;
32 | }
33 |
34 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/addons/_size.scss:
--------------------------------------------------------------------------------
1 | @mixin size($size) {
2 | $height: nth($size, 1);
3 | $width: $height;
4 |
5 | @if length($size) > 1 {
6 | $height: nth($size, 2);
7 | }
8 |
9 | @if $height == auto or (type-of($height) == number and not unitless($height)) {
10 | height: $height;
11 | }
12 |
13 | @if $width == auto or (type-of($height) == number and not unitless($width)) {
14 | width: $width;
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_appearance.scss:
--------------------------------------------------------------------------------
1 | @mixin appearance ($value) {
2 | @include prefixer(appearance, $value, webkit moz ms o spec);
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_backface-visibility.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // Backface-visibility mixin
3 | //************************************************************************//
4 | @mixin backface-visibility($visibility) {
5 | @include prefixer(backface-visibility, $visibility, webkit spec);
6 | }
7 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_border-radius.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // Shorthand Border-radius mixins
3 | //************************************************************************//
4 | @mixin border-top-radius($radii) {
5 | @include prefixer(border-top-left-radius, $radii, spec);
6 | @include prefixer(border-top-right-radius, $radii, spec);
7 | }
8 |
9 | @mixin border-bottom-radius($radii) {
10 | @include prefixer(border-bottom-left-radius, $radii, spec);
11 | @include prefixer(border-bottom-right-radius, $radii, spec);
12 | }
13 |
14 | @mixin border-left-radius($radii) {
15 | @include prefixer(border-top-left-radius, $radii, spec);
16 | @include prefixer(border-bottom-left-radius, $radii, spec);
17 | }
18 |
19 | @mixin border-right-radius($radii) {
20 | @include prefixer(border-top-right-radius, $radii, spec);
21 | @include prefixer(border-bottom-right-radius, $radii, spec);
22 | }
23 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_box-sizing.scss:
--------------------------------------------------------------------------------
1 | @mixin box-sizing ($box) {
2 | // content-box | border-box | inherit
3 | @include prefixer(box-sizing, $box, webkit moz spec);
4 | }
5 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_calc.scss:
--------------------------------------------------------------------------------
1 | @mixin calc($property, $value) {
2 | #{$property}: -webkit-calc(#{$value});
3 | #{$property}: calc(#{$value});
4 | }
5 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_filter.scss:
--------------------------------------------------------------------------------
1 | @mixin filter($function: none) {
2 | // [
3 | @include prefixer(perspective, $depth, webkit moz spec);
4 | }
5 |
6 | @mixin perspective-origin($value: 50% 50%) {
7 | @include prefixer(perspective-origin, $value, webkit moz spec);
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_placeholder.scss:
--------------------------------------------------------------------------------
1 | @mixin placeholder {
2 | $placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input";
3 | @each $placeholder in $placeholders {
4 | &:#{$placeholder}-placeholder {
5 | @content;
6 | }
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_transform.scss:
--------------------------------------------------------------------------------
1 | @mixin transform($property: none) {
2 | // none |
3 | @include prefixer(transform, $property, webkit moz ms o spec);
4 | }
5 |
6 | @mixin transform-origin($axes: 50%) {
7 | // x-axis - left | center | right | length | %
8 | // y-axis - top | center | bottom | length | %
9 | // z-axis - length
10 | @include prefixer(transform-origin, $axes, webkit moz ms o spec);
11 | }
12 |
13 | @mixin transform-style ($style: flat) {
14 | @include prefixer(transform-style, $style, webkit moz ms o spec);
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/css3/_user-select.scss:
--------------------------------------------------------------------------------
1 | @mixin user-select($arg: none) {
2 | @include prefixer(user-select, $arg, webkit moz ms spec);
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_assign.scss:
--------------------------------------------------------------------------------
1 | @function assign-inputs($inputs, $pseudo: null) {
2 | $list : ();
3 |
4 | @each $input in $inputs {
5 | $input: unquote($input);
6 | $input: if($pseudo, $input + ":" + $pseudo, $input);
7 | $list: append($list, $input, comma);
8 | }
9 |
10 | @return $list;
11 | }
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_color-lightness.scss:
--------------------------------------------------------------------------------
1 | // Programatically determines whether a color is light or dark
2 | // Returns a boolean
3 | // More details here http://robots.thoughtbot.com/closer-look-color-lightness
4 |
5 | @function is-light($hex-color) {
6 | $red: red(rgba($hex-color, 1.0));
7 | $green: green(rgba($hex-color, 1.0));
8 | $blue: blue(rgba($hex-color, 1.0));
9 |
10 | $lightness: ($red * 0.2126 + $green * 0.7152 + $blue * 0.0722) / 255;
11 |
12 | @return $lightness > .6;
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_golden-ratio.scss:
--------------------------------------------------------------------------------
1 | @function golden-ratio($value, $increment) {
2 | @return modular-scale($value, $increment, $golden)
3 | }
4 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_grid-width.scss:
--------------------------------------------------------------------------------
1 | @function grid-width($n) {
2 | @return $n * $gw-column + ($n - 1) * $gw-gutter;
3 | }
4 |
5 | // The $gw-column and $gw-gutter variables must be defined in your base stylesheet to properly use the grid-width function.
6 | //
7 | // $gw-column: 100px; // Column Width
8 | // $gw-gutter: 40px; // Gutter Width
9 | //
10 | // div {
11 | // width: grid-width(4); // returns 520px;
12 | // margin-left: $gw-gutter; // returns 40px;
13 | // }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_px-to-em.scss:
--------------------------------------------------------------------------------
1 | // Convert pixels to ems
2 | // eg. for a relational value of 12px write em(12) when the parent is 16px
3 | // if the parent is another value say 24px write em(12, 24)
4 |
5 | @function em($pxval, $base: $em-base) {
6 | @if not unitless($pxval) {
7 | $pxval: strip-units($pxval);
8 | }
9 | @if not unitless($base) {
10 | $base: strip-units($base);
11 | }
12 | @return ($pxval / $base) * 1em;
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_strip-units.scss:
--------------------------------------------------------------------------------
1 | // Srtips the units from a value. e.g. 12px -> 12
2 |
3 | @function strip-units($val) {
4 | @return ($val / ($val * 0 + 1));
5 | }
6 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_tint-shade.scss:
--------------------------------------------------------------------------------
1 | // Add percentage of white to a color
2 | @function tint($color, $percent){
3 | @return mix(white, $color, $percent);
4 | }
5 |
6 | // Add percentage of black to a color
7 | @function shade($color, $percent){
8 | @return mix(black, $color, $percent);
9 | }
10 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_transition-property-name.scss:
--------------------------------------------------------------------------------
1 | // Return vendor-prefixed property names if appropriate
2 | // Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
3 | //************************************************************************//
4 | @function transition-property-names($props, $vendor: false) {
5 | $new-props: ();
6 |
7 | @each $prop in $props {
8 | $new-props: append($new-props, transition-property-name($prop, $vendor), comma);
9 | }
10 |
11 | @return $new-props;
12 | }
13 |
14 | @function transition-property-name($prop, $vendor: false) {
15 | // put other properties that need to be prefixed here aswell
16 | @if $vendor and $prop == transform {
17 | @return unquote('-'+$vendor+'-'+$prop);
18 | }
19 | @else {
20 | @return $prop;
21 | }
22 | }
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/functions/_unpack.scss:
--------------------------------------------------------------------------------
1 | // Convert shorthand to the 4-value syntax
2 |
3 | @function unpack($shorthand) {
4 | @if length($shorthand) == 1 {
5 | @return nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1);
6 | }
7 | @else if length($shorthand) == 2 {
8 | @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 1) nth($shorthand, 2);
9 | }
10 | @else if length($shorthand) == 3 {
11 | @return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 3) nth($shorthand, 2);
12 | }
13 | @else {
14 | @return $shorthand;
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_convert-units.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // Helper function for str-to-num fn.
3 | // Source: http://sassmeister.com/gist/9647408
4 | //************************************************************************//
5 | @function _convert-units($number, $unit) {
6 | $strings: 'px' 'cm' 'mm' '%' 'ch' 'pica' 'in' 'em' 'rem' 'pt' 'pc' 'ex' 'vw' 'vh' 'vmin' 'vmax', 'deg', 'rad', 'grad', 'turn';
7 | $units: 1px 1cm 1mm 1% 1ch 1pica 1in 1em 1rem 1pt 1pc 1ex 1vw 1vh 1vmin 1vmax, 1deg, 1rad, 1grad, 1turn;
8 | $index: index($strings, $unit);
9 |
10 | @if not $index {
11 | @warn "Unknown unit `#{$unit}`.";
12 | @return false;
13 | }
14 | @return $number * nth($units, $index);
15 | }
16 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_gradient-positions-parser.scss:
--------------------------------------------------------------------------------
1 | @function _gradient-positions-parser($gradient-type, $gradient-positions) {
2 | @if $gradient-positions
3 | and ($gradient-type == linear)
4 | and (type-of($gradient-positions) != color) {
5 | $gradient-positions: _linear-positions-parser($gradient-positions);
6 | }
7 | @else if $gradient-positions
8 | and ($gradient-type == radial)
9 | and (type-of($gradient-positions) != color) {
10 | $gradient-positions: _radial-positions-parser($gradient-positions);
11 | }
12 | @return $gradient-positions;
13 | }
14 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_is-num.scss:
--------------------------------------------------------------------------------
1 | //************************************************************************//
2 | // Helper for linear-gradient-parser
3 | //************************************************************************//
4 | @function _is-num($char) {
5 | $strings: "0 1 2 3 4 5 6 7 8 9";
6 | $index: str-index($strings, $char);
7 | @return if($index, true, false);
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_linear-angle-parser.scss:
--------------------------------------------------------------------------------
1 | // Private function for linear-gradient-parser
2 | @function _linear-angle-parser($image, $first-val, $prefix, $suffix) {
3 | $offset: null;
4 | $unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val));
5 | $unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val));
6 |
7 | @if ($unit-long == "grad") or
8 | ($unit-long == "turn") {
9 | $offset: if($unit-long == "grad", -100grad * 3, -0.75turn);
10 | }
11 |
12 | @else if ($unit-short == "deg") or
13 | ($unit-short == "rad") {
14 | $offset: if($unit-short == "deg", -90 * 3, 1.6rad);
15 | }
16 |
17 | @if $offset {
18 | $num: _str-to-num($first-val);
19 |
20 | @return (
21 | webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix,
22 | spec-image: $image
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_radial-positions-parser.scss:
--------------------------------------------------------------------------------
1 | @function _radial-positions-parser($gradient-pos) {
2 | $shape-size: nth($gradient-pos, 1);
3 | $pos: nth($gradient-pos, 2);
4 | $shape-size-spec: _shape-size-stripper($shape-size);
5 |
6 | $pre-spec: unquote(if($pos, "#{$pos}, ", null))
7 | unquote(if($shape-size, "#{$shape-size},", null));
8 | $pos-spec: if($pos, "at #{$pos}", null);
9 |
10 | $spec: "#{$shape-size-spec} #{$pos-spec}";
11 |
12 | // Add comma
13 | @if ($spec != ' ') {
14 | $spec: "#{$spec},"
15 | }
16 |
17 | @return $pre-spec $spec;
18 | }
19 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/helpers/_shape-size-stripper.scss:
--------------------------------------------------------------------------------
1 | @function _shape-size-stripper($shape-size) {
2 | $shape-size-spec: null;
3 | @each $value in $shape-size {
4 | @if ($value == "cover") or ($value == "contain") {
5 | $value: null;
6 | }
7 | $shape-size-spec: "#{$shape-size-spec} #{$value}";
8 | }
9 | @return $shape-size-spec;
10 | }
11 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/settings/_prefixer.scss:
--------------------------------------------------------------------------------
1 | // Variable settings for /addons/prefixer.scss
2 | $prefix-for-webkit: true !default;
3 | $prefix-for-mozilla: true !default;
4 | $prefix-for-microsoft: true !default;
5 | $prefix-for-opera: true !default;
6 | $prefix-for-spec: true !default; // required for keyframe mixin
7 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/bourbon/settings/_px-to-em.scss:
--------------------------------------------------------------------------------
1 | $em-base: 16px !default;
2 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/_neat-helpers.scss:
--------------------------------------------------------------------------------
1 | // Functions
2 | @import "functions/private";
3 | @import "functions/new-breakpoint";
4 |
5 | // Settings
6 | @import "settings/grid";
7 | @import "settings/visual-grid";
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/_neat.scss:
--------------------------------------------------------------------------------
1 | // Bourbon Neat 1.5.0
2 | // MIT Licensed
3 | // Copyright (c) 2012-2013 thoughtbot, inc.
4 |
5 | // Helpers
6 | @import "neat-helpers";
7 |
8 | // Grid
9 | @import "grid/private";
10 | @import "grid/reset";
11 | @import "grid/grid";
12 | @import "grid/omega";
13 | @import "grid/outer-container";
14 | @import "grid/span-columns";
15 | @import "grid/row";
16 | @import "grid/shift";
17 | @import "grid/pad";
18 | @import "grid/fill-parent";
19 | @import "grid/media";
20 | @import "grid/to-deprecate";
21 | @import "grid/visual-grid";
22 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/functions/_new-breakpoint.scss:
--------------------------------------------------------------------------------
1 | @function new-breakpoint($query:$feature $value $columns, $total-columns: $grid-columns) {
2 |
3 | @if length($query) == 1 {
4 | $query: $default-feature nth($query, 1) $total-columns;
5 | }
6 |
7 | @else if length($query) == 2 or length($query) == 4 {
8 | $query: append($query, $total-columns);
9 | }
10 |
11 | @if not belongs-to($query, $visual-grid-breakpoints) {
12 | $visual-grid-breakpoints: append($visual-grid-breakpoints, $query, comma) !global;
13 | }
14 |
15 | @return $query;
16 | }
17 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_fill-parent.scss:
--------------------------------------------------------------------------------
1 | @mixin fill-parent() {
2 | width: 100%;
3 |
4 | @if $border-box-sizing == false {
5 | @include box-sizing(border-box);
6 | }
7 | }
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_grid.scss:
--------------------------------------------------------------------------------
1 | @if $border-box-sizing == true {
2 | * {
3 | @include box-sizing(border-box);
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_outer-container.scss:
--------------------------------------------------------------------------------
1 | @mixin outer-container {
2 | @include clearfix;
3 | max-width: $max-width;
4 | margin: {
5 | left: auto;
6 | right: auto;
7 | }
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_pad.scss:
--------------------------------------------------------------------------------
1 | @mixin pad($padding: flex-gutter()) {
2 | $padding-list: null;
3 | @each $value in $padding {
4 | $value: if($value == 'default', flex-gutter(), $value);
5 | $padding-list: join($padding-list, $value);
6 | }
7 | padding: $padding-list;
8 | }
9 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_reset.scss:
--------------------------------------------------------------------------------
1 | @mixin reset-display {
2 | $container-display-table: false;
3 | }
4 |
5 | @mixin reset-layout-direction {
6 | $layout-direction: $default-layout-direction;
7 | }
8 |
9 | @mixin reset-all {
10 | @include reset-display;
11 | @include reset-layout-direction;
12 | }
13 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_row.scss:
--------------------------------------------------------------------------------
1 | @mixin row($display: block, $direction: $default-layout-direction) {
2 | @include clearfix;
3 | $layout-direction: $direction;
4 |
5 | @if $display == table {
6 | display: table;
7 | @include fill-parent;
8 | table-layout: fixed;
9 | $container-display-table: true;
10 | }
11 |
12 | @else {
13 | display: block;
14 | $container-display-table: false;
15 | }
16 | }
17 |
18 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/grid/_shift.scss:
--------------------------------------------------------------------------------
1 | @mixin shift($n-columns: 1) {
2 | @include shift-in-context($n-columns);
3 | }
4 |
5 | @mixin shift-in-context($shift: $columns of $container-columns) {
6 | $n-columns: nth($shift, 1);
7 | $parent-columns: container-shift($shift) !global;
8 |
9 | $direction: get-direction($layout-direction, $default-layout-direction);
10 | $opposite-direction: get-opposite-direction($direction);
11 |
12 | margin-#{$opposite-direction}: $n-columns * flex-grid(1, $parent-columns) + $n-columns * flex-gutter($parent-columns);
13 |
14 | // Reset nesting context
15 | $parent-columns: $grid-columns !global;
16 | }
17 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/settings/_grid.scss:
--------------------------------------------------------------------------------
1 | $column: golden-ratio(1em, 3) !default; // Column width
2 | $gutter: golden-ratio(1em, 1) !default; // Gutter between each two columns
3 | $grid-columns: 12 !default; // Total number of columns in the grid
4 | $max-width: em(1088) !default; // Max-width of the outer container
5 | $border-box-sizing: true !default; // Makes all elements have a border-box layout
6 | $default-feature: min-width; // Default @media feature for the breakpoint() mixin
7 | $default-layout-direction: LTR !default;
8 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/libraries/neat/settings/_visual-grid.scss:
--------------------------------------------------------------------------------
1 | $visual-grid: false !default; // Display the base grid
2 | $visual-grid-color: #EEE !default;
3 | $visual-grid-index: back !default; // Show grid behind content (back) or overlay it over the content (front)
4 | $visual-grid-opacity: 0.4 !default;
5 | $visual-grid-breakpoints: () !default;
6 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/pages/_wh_petitions_page.scss:
--------------------------------------------------------------------------------
1 | .node-type-wh-petitions-page {
2 | #content-top {
3 | h1.title {
4 | margin-bottom: 0;
5 | padding-bottom: 0;
6 | }
7 | }
8 | .field-name-field-page-intro {
9 | @include plead();
10 | p {
11 | @include plead();
12 | }
13 | }
14 | }
15 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/scss/print.scss:
--------------------------------------------------------------------------------
1 | // Use this stylesheet for print styles only.
2 | * {
3 | background-color: transparent;
4 | }
5 |
6 | .sidebar,
7 | #navigation,
8 | #header-region,
9 | #search-theme-form,
10 | #footer,
11 | .breadcrumb,
12 | .tabs,
13 | .feed-icon,
14 | .links {
15 | display: none;
16 | }
17 |
18 | #page {
19 | width: 100%;
20 | }
21 |
22 | #content,
23 | #content #content-inner,
24 | .content,
25 | .title {
26 | margin: 20px 0;
27 | width: auto;
28 | }
29 |
30 | a {
31 | &:hover,
32 | &:active,
33 | &:link,
34 | &:visited {
35 | color: black;
36 | }
37 | }
38 |
39 | // CSS2 selector to add visible href after links.
40 | #content a {
41 | &:link:after, &:visited:after {
42 | content: " (" attr(href) ") ";
43 | font-size: 0.8em;
44 | font-weight: normal;
45 | }
46 | }
47 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/block--system--main.tpl.php:
--------------------------------------------------------------------------------
1 |
2 | subject): ?>
3 | >subject ?>
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/block.tpl.php:
--------------------------------------------------------------------------------
1 | data-bid="bid ?>">
2 |
3 | subject): ?>
4 |
>subject ?>
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/comment-wrapper.tpl.php:
--------------------------------------------------------------------------------
1 |
5 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/comment.tpl.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/html.tpl.php:
--------------------------------------------------------------------------------
1 |
2 | >
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | >
11 |
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/node--petition--teaser.tpl.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | >
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/themes/petitions_responsive/templates/region.tpl.php:
--------------------------------------------------------------------------------
1 |
2 |
3 |
--------------------------------------------------------------------------------