Plugin Tabs noticias
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Body
|
||||
Slug: body
|
||||
Description: Settings for the <code>body</code> element.
|
||||
Position: 30
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-body-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$body-bg',
|
||||
'name' => $slug . 'body-bg',
|
||||
'variable' => '$body-bg',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$white',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$body-color',
|
||||
'name' => $slug . 'body-color',
|
||||
'variable' => '$body-color',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$gray-900',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$body-text-align',
|
||||
'name' => $slug . 'body-text-align',
|
||||
'variable' => '$body-text-align',
|
||||
'row' => 'default',
|
||||
'input' => 'select',
|
||||
'default' => 'null',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array(
|
||||
array(
|
||||
'id' => null,
|
||||
'label' => 'Default',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'left',
|
||||
'label' => 'Left',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'center',
|
||||
'label' => 'Center',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'right',
|
||||
'label' => 'Right',
|
||||
'description' => null
|
||||
),
|
||||
)
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,122 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Colors
|
||||
Slug: colors
|
||||
Description: All Bootstrap colors are available as Sass variables and a Sass map in scss/_variables.scss file. To avoid increased file sizes, we don’t create text or background color classes for each of these variables. Instead, we choose a subset of these colors for a theme palette.
|
||||
Position: 0
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-colors-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$blue',
|
||||
'name' => $slug . 'blue',
|
||||
'variable' => '$blue',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#0d6efd',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$indigo',
|
||||
'name' => $slug . 'indigo',
|
||||
'variable' => '$indigo',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#6610f2',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$purple',
|
||||
'name' => $slug . 'purple',
|
||||
'variable' => '$purple',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#6f42c1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$pink',
|
||||
'name' => $slug . 'pink',
|
||||
'variable' => '$pink',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#d63384',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$red',
|
||||
'name' => $slug . 'red',
|
||||
'variable' => '$red',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#dc3545',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$orange',
|
||||
'name' => $slug . 'orange',
|
||||
'variable' => '$orange',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#fd7e14',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$yellow',
|
||||
'name' => $slug . 'yellow',
|
||||
'variable' => '$yellow',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#ffc107',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$green',
|
||||
'name' => $slug . 'green',
|
||||
'variable' => '$green',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#198754',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$teal',
|
||||
'name' => $slug . 'teal',
|
||||
'variable' => '$teal',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#20c997',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$cyan',
|
||||
'name' => $slug . 'cyan',
|
||||
'variable' => '$cyan',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '#0dcaf0',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,131 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Links
|
||||
Slug: links
|
||||
Description: Style anchor elements.
|
||||
Position: 40
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-links-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$link-color',
|
||||
'name' => $slug . 'link-color',
|
||||
'variable' => '$link-color',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$primary',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$link-decoration',
|
||||
'name' => $slug . 'link-decoration',
|
||||
'variable' => '$link-decoration',
|
||||
'row' => 'default',
|
||||
'input' => 'select',
|
||||
'default' => 'underline',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array(
|
||||
array(
|
||||
'id' => 'none',
|
||||
'label' => 'Default',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'underline',
|
||||
'label' => 'Underline',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'overline',
|
||||
'label' => 'Overline',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'none',
|
||||
'label' => 'None',
|
||||
'description' => null
|
||||
),
|
||||
)
|
||||
),
|
||||
array(
|
||||
'label' => '$link-shade-percentage',
|
||||
'name' => $slug . 'link-shade-percentage',
|
||||
'variable' => '$link-shade-percentage',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => '20%',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$link-hover-color',
|
||||
'name' => $slug . 'link-hover-color',
|
||||
'variable' => '$link-hover-color',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => 'shift-color($link-color, $link-shade-percentage)',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$link-hover-decoration',
|
||||
'name' => $slug . 'link-hover-decoration',
|
||||
'variable' => '$link-hover-decoration',
|
||||
'row' => 'default',
|
||||
'input' => 'select',
|
||||
'default' => 'null',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array(
|
||||
array(
|
||||
'id' => null,
|
||||
'label' => 'Default',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'underline',
|
||||
'label' => 'Underline',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'overline',
|
||||
'label' => 'Overline',
|
||||
'description' => null
|
||||
),
|
||||
array(
|
||||
'id' => 'none',
|
||||
'label' => 'None',
|
||||
'description' => null
|
||||
),
|
||||
)
|
||||
),
|
||||
array(
|
||||
'label' => '$stretched-link-pseudo-element',
|
||||
'name' => $slug . 'stretched-link-pseudo-element',
|
||||
'variable' => '$stretched-link-pseudo-element',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => 'after',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$stretched-link-z-index',
|
||||
'name' => $slug . 'stretched-link-z-index',
|
||||
'variable' => '$stretched-link-z-index',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,221 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Options
|
||||
Slug: options
|
||||
Description: Quickly customize Bootstrap with built-in variables to easily toggle global CSS preferences for controlling style and behavior.
|
||||
Position: 20
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-options-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$enable-caret',
|
||||
'name' => $slug . 'enable-caret',
|
||||
'variable' => '$enable-caret',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-dark-mode',
|
||||
'name' => $slug . 'enable-dark-mode',
|
||||
'variable' => '$enable-dark-mode',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => 'Only available in 5.3+',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-rounded',
|
||||
'name' => $slug . 'enable-rounded',
|
||||
'variable' => '$enable-rounded',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-shadows',
|
||||
'name' => $slug . 'enable-shadows',
|
||||
'variable' => '$enable-shadows',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-gradients',
|
||||
'name' => $slug . 'enable-gradients',
|
||||
'variable' => '$enable-gradients',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-transitions',
|
||||
'name' => $slug . 'enable-transitions',
|
||||
'variable' => '$enable-transitions',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-reduced-motion',
|
||||
'name' => $slug . 'enable-reduced-motion',
|
||||
'variable' => '$enable-reduced-motion',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-smooth-scroll',
|
||||
'name' => $slug . 'enable-smooth-scroll',
|
||||
'variable' => '$enable-smooth-scroll',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-grid-classes',
|
||||
'name' => $slug . 'enable-grid-classes',
|
||||
'variable' => '$enable-grid-classes',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-cssgrid',
|
||||
'name' => $slug . 'enable-cssgrid',
|
||||
'variable' => '$enable-cssgrid',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => 'This will only work if you are using Bootstrap 5.1 or higher.',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => 'Use flex as default on grids',
|
||||
'name' => $slug . 'force-flex',
|
||||
'variable' => '$force-flex',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => 'If checked the is_flex attribute will automatically be set to true',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-button-pointers',
|
||||
'name' => $slug . 'enable-button-pointers',
|
||||
'variable' => '$enable-button-pointers',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-rfs',
|
||||
'name' => $slug . 'enable-rfs',
|
||||
'variable' => '$enable-rfs',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-validation-icons',
|
||||
'name' => $slug . 'enable-validation-icons',
|
||||
'variable' => '$enable-validation-icons',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-negative-margins',
|
||||
'name' => $slug . 'enable-negative-margins',
|
||||
'variable' => '$enable-negative-margins',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '0',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-deprecation-messages',
|
||||
'name' => $slug . 'enable-deprecation-messages',
|
||||
'variable' => '$enable-deprecation-messages',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$enable-important-utilities',
|
||||
'name' => $slug . 'enable-important-utilities',
|
||||
'variable' => '$enable-important-utilities',
|
||||
'row' => 'default',
|
||||
'input' => 'checkbox',
|
||||
'default' => '1',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$spacer',
|
||||
'name' => $slug . 'spacer',
|
||||
'variable' => '$spacer',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => '1rem',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$variable-prefix',
|
||||
'name' => $slug . 'variable-prefix',
|
||||
'variable' => '$variable-prefix',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => 'bs-',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Paragraph
|
||||
Slug: paragraph
|
||||
Description: Style p element.
|
||||
Position: 50
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-paragraph-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$paragraph-margin-bottom',
|
||||
'name' => $slug . 'paragraph-margin-bottom',
|
||||
'variable' => '$paragraph-margin-bottom',
|
||||
'row' => 'default',
|
||||
'input' => 'text',
|
||||
'default' => '1rem',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,100 @@
|
||||
<?php
|
||||
/*
|
||||
Name: Theme Colors
|
||||
Slug: theme-colors
|
||||
Description: We use a subset of all colors to create a smaller color palette for generating color schemes, also available as Sass variables and a Sass map in Bootstrap’s scss/_variables.scss file.
|
||||
Position: 10
|
||||
Theme:
|
||||
*/
|
||||
$slug = AREOI__PREPEND . ( !empty( $section ) ? '-' . $section : '' ) . '-theme-colors-';
|
||||
|
||||
return array(
|
||||
array(
|
||||
'label' => '$primary',
|
||||
'name' => $slug . 'primary',
|
||||
'variable' => '$primary',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$blue',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$secondary',
|
||||
'name' => $slug . 'secondary',
|
||||
'variable' => '$secondary',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$gray-600',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$success',
|
||||
'name' => $slug . 'success',
|
||||
'variable' => '$success',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$green',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$info',
|
||||
'name' => $slug . 'info',
|
||||
'variable' => '$info',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$cyan',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$warning',
|
||||
'name' => $slug . 'warning',
|
||||
'variable' => '$warning',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$yellow',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$danger',
|
||||
'name' => $slug . 'danger',
|
||||
'variable' => '$danger',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$red',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$light',
|
||||
'name' => $slug . 'light',
|
||||
'variable' => '$light',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$gray-100',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
array(
|
||||
'label' => '$dark',
|
||||
'name' => $slug . 'dark',
|
||||
'variable' => '$dark',
|
||||
'row' => 'default',
|
||||
'input' => 'color-picker',
|
||||
'default' => '$gray-900',
|
||||
'description' => '',
|
||||
'allow_reset' => true,
|
||||
'options' => array()
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user