You are here

function _sweaver_default_sweaver_selector in Sweaver 7

Same name and namespace in other branches
  1. 6 sweaver.registry.inc \_sweaver_default_sweaver_selector()

Default selectors.

1 call to _sweaver_default_sweaver_selector()
sweaver_default_sweaver_selector in ./sweaver.module
Implements hook_default_sweaver_selector().

File

./sweaver.registry.inc, line 197
Registry for Sweaver.

Code

function _sweaver_default_sweaver_selector() {
  $selectors = array();
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'body';
  $selector->description = t('Body');
  $selector->selector_selector = 'body';
  $selector->selector_highlight = FALSE;
  $selector->weight = 0;
  $selectors['body'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'menu';
  $selector->description = t('Menu');
  $selector->selector_selector = '.menu';
  $selector->selector_highlight = TRUE;
  $selector->weight = 50;
  $selectors['menu'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'navigation';
  $selector->description = t('Navigation');
  $selector->selector_selector = '.navigation';
  $selector->selector_highlight = TRUE;
  $selector->weight = 50;
  $selectors['navigation'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'read_more';
  $selector->description = t('Read more');
  $selector->selector_selector = '.node-readmore';
  $selector->selector_highlight = TRUE;
  $selector->weight = 51;
  $selectors['read_more'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h1';
  $selector->description = t('Heading 1');
  $selector->selector_selector = 'h1';
  $selector->selector_highlight = FALSE;
  $selector->weight = 52;
  $selectors['h1'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h2';
  $selector->description = t('Heading 2');
  $selector->selector_selector = 'h2';
  $selector->selector_highlight = FALSE;
  $selector->weight = 53;
  $selectors['h2'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'h3';
  $selector->description = t('Heading 3');
  $selector->selector_selector = 'h3';
  $selector->selector_highlight = FALSE;
  $selector->weight = 54;
  $selectors['h3'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'li';
  $selector->description = t('a list item');
  $selector->selector_selector = 'li';
  $selector->selector_highlight = FALSE;
  $selector->weight = 55;
  $selectors['li'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'link';
  $selector->description = t('a link');
  $selector->selector_selector = 'a';
  $selector->selector_highlight = FALSE;
  $selector->weight = 56;
  $selectors['link'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'ol';
  $selector->description = t('an ordered list');
  $selector->selector_selector = 'ol';
  $selector->selector_highlight = FALSE;
  $selector->weight = 57;
  $selectors['ol'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'p';
  $selector->description = t('a paragraph');
  $selector->selector_selector = 'p';
  $selector->selector_highlight = FALSE;
  $selector->weight = 58;
  $selectors['p'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'ul';
  $selector->description = t('an unordered list');
  $selector->selector_selector = 'ul';
  $selector->selector_highlight = FALSE;
  $selector->weight = 59;
  $selectors['ul'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'form';
  $selector->description = t('a form');
  $selector->selector_selector = 'form';
  $selector->selector_highlight = FALSE;
  $selector->weight = 60;
  $selectors['form'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'label';
  $selector->description = t('a label');
  $selector->selector_selector = 'label';
  $selector->selector_highlight = FALSE;
  $selector->weight = 61;
  $selectors['label'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'input';
  $selector->description = t('an input field');
  $selector->selector_selector = '.form-text';
  $selector->selector_highlight = FALSE;
  $selector->weight = 62;
  $selectors['input'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'textarea';
  $selector->description = t('a textarea');
  $selector->selector_selector = '.form-textarea';
  $selector->selector_highlight = FALSE;
  $selector->weight = 63;
  $selectors['textarea'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'submit';
  $selector->description = t('a submit button');
  $selector->selector_selector = '.form-submit';
  $selector->selector_highlight = FALSE;
  $selector->weight = 64;
  $selectors['submit'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'allids';
  $selector->description = t('All other id\'s');
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selector->weight = 97;
  $selectors['allids'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'allclasses';
  $selector->description = t('All other classes');
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selector->weight = 98;
  $selectors['allclasses'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'alltags';
  $selector->description = t('All other tags');
  $selector->selector_selector = '';
  $selector->selector_highlight = FALSE;
  $selector->weight = 99;
  $selectors['alltags'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'span';
  $selector->description = t('an item');
  $selector->selector_selector = 'span';
  $selector->selector_highlight = FALSE;
  $selector->weight = 100;
  $selectors['span'] = $selector;
  $selector = new stdClass();
  $selector->api_version = 1;
  $selector->disabled = FALSE;
  $selector->name = 'div';
  $selector->description = t('a region');
  $selector->selector_selector = 'div';
  $selector->selector_highlight = FALSE;
  $selector->weight = 100;
  $selectors['div'] = $selector;
  return $selectors + sweaver_load_theme_selectors();
}