public function styles()
 {
     parent::styles();
     return array(array("handle" => "gravityforms-digitalocean_css", "src" => $this->get_base_url() . "/css/gfdo.css", "version" => GFCommon::$version, "enqueue" => array(array("admin_page" => array("form_settings", "plugin_settings", "plugin_page")))));
 }
Esempio n. 2
0
 protected function styles()
 {
     $my_styles = array(array("handle" => "gform_admin", "src" => GFCommon::get_base_url() . "/css/admin.css", "version" => GFCommon::$version, "enqueue" => array(array("query" => "page=" . $this->_slug))));
     return array_merge(parent::styles(), $my_styles);
 }
 public function styles()
 {
     return array_merge(parent::styles(), array(array('handle' => 'gravity_forms_section_tabs_main', 'src' => $this->get_base_url() . '/css/main.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('section'))))));
 }
Esempio n. 4
0
 public function styles()
 {
     $min = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG || isset($_GET['gform_debug']) ? '' : '.min';
     $styles = array(array('handle' => 'gfwebap_settings', 'src' => GFCommon::get_base_url() . "/includes/webapi/css/gfwebapi_settings{$min}.css", 'version' => $this->_version, 'deps' => array('thickbox'), 'enqueue' => array(array('admin_page' => array('plugin_settings')))));
     return array_merge(parent::styles(), $styles);
 }
 /**
  * Include admin css
  *
  */
 public function styles()
 {
     $styles = array(array("handle" => "sticky-list_admin_styles", "src" => $this->get_base_url() . "/css/sticky-list_admin_styles.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("form_settings"), "tab" => "sticky-list"))));
     return array_merge(parent::styles(), $styles);
 }
 /**
  * Return the stylesheets which should be enqueued.
  *
  * @return array
  */
 public function styles()
 {
     $styles = array(array('handle' => 'gpoll_form_editor_css', 'src' => $this->get_base_url() . '/css/gpoll_form_editor.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_editor')))), array('handle' => 'gpoll_css', 'src' => $this->get_base_url() . '/css/gpoll.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('poll')), array('admin_page' => array('form_editor', 'results', 'entry_view', 'entry_detail')))));
     return array_merge(parent::styles(), $styles);
 }
Esempio n. 7
0
 /**
  * Register styles in the app admin page
  * @return array
  */
 public function styles()
 {
     $styles = parent::styles();
     $styles[] = array('handle' => 'gravityview_settings', 'src' => plugins_url('assets/css/admin-settings.css', GRAVITYVIEW_FILE), 'version' => GravityView_Plugin::version, "deps" => array('gaddon_form_settings_css'), 'enqueue' => array(array('admin_page' => array('app_settings'))));
     return $styles;
 }
 /**
  * Return the stylesheets which should be enqueued.
  *
  * @return array
  */
 public function styles()
 {
     $styles = array(array('handle' => 'gquiz_form_editor_css', 'src' => $this->get_base_url() . '/css/gquiz_form_editor.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_editor')))), array('handle' => 'gquiz_form_settings_css', 'src' => $this->get_base_url() . '/css/gquiz_form_settings.css', 'version' => $this->_version, 'enqueue' => array(array('admin_page' => array('form_settings'), 'tab' => array('gravityformsquiz')))), array('handle' => 'gquiz_css', 'src' => $this->get_base_url() . '/css/gquiz.css', 'version' => $this->_version, 'enqueue' => array(array('field_types' => array('quiz')), array('admin_page' => array('form_editor', 'results', 'entry_view', 'entry_detail')))));
     return array_merge(parent::styles(), $styles);
 }
 public function styles()
 {
     $styles = array(array("handle" => "my_styles_css", "src" => $this->get_base_url() . "/css/my_styles.css", "version" => $this->_version, "enqueue" => array(array("field_types" => array("poll")))));
     return array_merge(parent::styles(), $styles);
 }
Esempio n. 10
0
 public function styles()
 {
     $styles = array(array('handle' => 'gfwebap_settings', 'src' => GFCommon::get_base_url() . '/includes/webapi/css/gfwebapi_settings.css', 'version' => $this->_version, 'deps' => array('thickbox'), 'enqueue' => array(array('admin_page' => array('plugin_settings')))));
     return array_merge(parent::styles(), $styles);
 }
 /**
  * Enqueue styles using the Gravity Forms Addons framework
  *
  * @see GFAddOn::styles()
  * @return void
  */
 public function styles()
 {
     $styles = array(array("handle" => "business_hours_admin_style", "src" => $this->get_base_url() . "/assets/css/admin.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("entry_view", "entry_detail", "form_editor")))), array("handle" => "business_hours_frontend_style", "src" => $this->get_base_url() . "/assets/css/public.css", "version" => $this->_version, "deps" => array("dashicons"), "enqueue" => array(array("field_types" => array("business_hours")), array("admin_page" => array("entry_edit", "entry_detail")))));
     return array_merge(parent::styles(), $styles);
 }
Esempio n. 12
0
 protected function styles()
 {
     $styles = array(array("handle" => "gpoll_form_editor_css", "src" => $this->get_base_url() . "/css/gpoll_form_editor.css", "version" => $this->_version, "enqueue" => array(array("admin_page" => array("form_editor")))), array("handle" => "gpoll_css", "src" => $this->get_base_url() . "/css/gpoll.css", "version" => $this->_version, "enqueue" => array(array("field_types" => array("poll")), array("admin_page" => array("form_editor", "results", "entry_view", "entry_detail")))));
     return array_merge(parent::styles(), $styles);
 }