first commit
This commit is contained in:
+140
@@ -0,0 +1,140 @@
|
||||
<?php
|
||||
/**
|
||||
* The public-facing functionality of the module.
|
||||
*
|
||||
* @link https://codesupply.co
|
||||
* @since 1.0.0
|
||||
*
|
||||
* @package Powerkit
|
||||
* @subpackage Modules/public
|
||||
*/
|
||||
|
||||
/**
|
||||
* The public-facing functionality of the module.
|
||||
*/
|
||||
class Powerkit_Basic_Elements_Public extends Powerkit_Module_Public {
|
||||
|
||||
/**
|
||||
* Initialize
|
||||
*/
|
||||
public function initialize() {
|
||||
add_action( 'init', array( $this, 'register_custom_shortcodes' ) );
|
||||
|
||||
$this->register_shortcodes();
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcodes custom.
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @access public
|
||||
*/
|
||||
public function register_custom_shortcodes() {
|
||||
|
||||
$dir_path = apply_filters( 'powerkit_basic_shortcodes_autoload_path', 'shortcodes' );
|
||||
|
||||
$custom_path = wp_normalize_path( get_template_directory() . '/' . $dir_path );
|
||||
|
||||
if ( file_exists( $custom_path ) ) {
|
||||
powerkit_basic_shortcodes_autoload( $custom_path );
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register Shortcodes
|
||||
*
|
||||
* @since 1.0.0
|
||||
* @access private
|
||||
*/
|
||||
private function register_shortcodes() {
|
||||
|
||||
// Get all shortcodes.
|
||||
$sections = apply_filters( 'powerkit_basic_shortcodes_ui_args', array() );
|
||||
|
||||
// Add shortcodes.
|
||||
foreach ( $sections as $section ) {
|
||||
if ( true === $section['autoregister'] ) {
|
||||
add_shortcode( $section['base'], array( $this, 'shortcode_display' ) );
|
||||
}
|
||||
|
||||
// Repeat Shortcodes.
|
||||
if ( ! empty( $section['fields'] ) ) {
|
||||
foreach ( $section['fields'] as $field ) {
|
||||
if ( 'repeater' === $field['type'] && true === $field['autoregister'] ) {
|
||||
add_shortcode( $field['base'], array( $this, 'shortcode_display' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Shortcode Public Display
|
||||
*
|
||||
* @param array $atts User defined attributes in shortcode tag.
|
||||
* @param string $content Shorcode Content.
|
||||
* @param string $shortcode The name of the shortcode.
|
||||
* @return string Shortcode result HTML.
|
||||
*/
|
||||
public function shortcode_display( $atts, $content = false, $shortcode = '' ) {
|
||||
// Get all shortcodes.
|
||||
$sections = apply_filters( 'powerkit_basic_shortcodes_ui_args', array() );
|
||||
|
||||
// Get Default Attrs.
|
||||
$default_attrs = array();
|
||||
foreach ( $sections as $section ) {
|
||||
if ( isset( $section['fields'] ) && is_array( $section['fields'] ) ) {
|
||||
foreach ( $section['fields'] as $field ) {
|
||||
switch ( $field['type'] ) {
|
||||
case 'section':
|
||||
break;
|
||||
case 'repeater':
|
||||
if ( $field['base'] === $shortcode ) {
|
||||
foreach ( $field['fields'] as $repeater_field ) {
|
||||
$default_attrs[ $repeater_field['name'] ] = $repeater_field['default'] ? $repeater_field['default'] : '';
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if ( $section['base'] === $shortcode ) {
|
||||
$default_attrs[ $field['name'] ] = $field['default'] ? $field['default'] : '';
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Merge Attrs.
|
||||
$atts = shortcode_atts( $default_attrs, $atts );
|
||||
|
||||
// Content.
|
||||
$content = do_shortcode( $content );
|
||||
|
||||
/**
|
||||
* Filters a shortcode's HTML.
|
||||
*
|
||||
* @param array $output Shortcode HTML.
|
||||
* @param array $atts User defined attributes in shortcode tag.
|
||||
* @param string $content Shorcode tag content.
|
||||
* @return string Shortcode result HTML.
|
||||
*/
|
||||
$output = apply_filters( $shortcode . '_shortcode', '', $atts, $content );
|
||||
|
||||
return $output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the stylesheets for the public-facing side of the site.
|
||||
*/
|
||||
public function wp_enqueue_scripts() {
|
||||
// Styles.
|
||||
wp_enqueue_style( 'powerkit-basic-elements', powerkit_style( plugin_dir_url( __FILE__ ) . 'css/public-powerkit-basic-elements.css' ), false, powerkit_get_setting( 'version' ), 'screen' );
|
||||
|
||||
// Add RTL support.
|
||||
wp_style_add_data( 'powerkit-basic-elements', 'rtl', 'replace' );
|
||||
|
||||
// Scripts.
|
||||
wp_enqueue_script( 'powerkit-basic-elements', plugin_dir_url( __FILE__ ) . 'js/public-powerkit-basic-elements.js', array( 'jquery' ), '4.0.0', true );
|
||||
}
|
||||
}
|
||||
+882
@@ -0,0 +1,882 @@
|
||||
/**
|
||||
* All of the CSS for your public-facing functionality should be
|
||||
* included in this file.
|
||||
*/
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/*--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-tabs,
|
||||
.pk-pills,
|
||||
.pk-accordion,
|
||||
.pk-progress,
|
||||
.pk-button.pk-button-block {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-button {
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
padding: 0.375rem 0.75rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||
color: white;
|
||||
border: none;
|
||||
box-shadow: none !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-button {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-button:hover, .pk-button:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pk-button:focus, .pk-button.focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
||||
}
|
||||
|
||||
.pk-button-primary {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #0069d9;
|
||||
border-color: #0062cc;
|
||||
}
|
||||
|
||||
.pk-button-primary:focus, .pk-button-primary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-primary.disabled, .pk-button-primary:disabled {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-primary:not(:disabled):not(.disabled):active, .pk-button-primary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-primary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #0062cc;
|
||||
border-color: #005cbf;
|
||||
}
|
||||
|
||||
.pk-button-primary:not(:disabled):not(.disabled):active:focus, .pk-button-primary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-primary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-secondary {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-secondary:hover {
|
||||
color: #fff;
|
||||
background-color: #8d8d8d;
|
||||
border-color: #878686;
|
||||
}
|
||||
|
||||
.pk-button-secondary:focus, .pk-button-secondary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(141, 142, 142, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-secondary.disabled, .pk-button-secondary:disabled {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-secondary:not(:disabled):not(.disabled):active, .pk-button-secondary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-secondary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #878686;
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
.pk-button-secondary:not(:disabled):not(.disabled):active:focus, .pk-button-secondary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-secondary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(141, 142, 142, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-success {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-success:hover {
|
||||
color: #fff;
|
||||
background-color: #218838;
|
||||
border-color: #1e7e34;
|
||||
}
|
||||
|
||||
.pk-button-success:focus, .pk-button-success.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-success.disabled, .pk-button-success:disabled {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-success:not(:disabled):not(.disabled):active, .pk-button-success:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-success.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #1e7e34;
|
||||
border-color: #1c7430;
|
||||
}
|
||||
|
||||
.pk-button-success:not(:disabled):not(.disabled):active:focus, .pk-button-success:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-success.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-info {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-info:hover {
|
||||
color: #fff;
|
||||
background-color: #138496;
|
||||
border-color: #117a8b;
|
||||
}
|
||||
|
||||
.pk-button-info:focus, .pk-button-info.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-info.disabled, .pk-button-info:disabled {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-info:not(:disabled):not(.disabled):active, .pk-button-info:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-info.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #117a8b;
|
||||
border-color: #10707f;
|
||||
}
|
||||
|
||||
.pk-button-info:not(:disabled):not(.disabled):active:focus, .pk-button-info:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-info.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-warning {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-warning:hover {
|
||||
color: #212529;
|
||||
background-color: #e0a800;
|
||||
border-color: #d39e00;
|
||||
}
|
||||
|
||||
.pk-button-warning:focus, .pk-button-warning.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-warning.disabled, .pk-button-warning:disabled {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-warning:not(:disabled):not(.disabled):active, .pk-button-warning:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-warning.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #d39e00;
|
||||
border-color: #c69500;
|
||||
}
|
||||
|
||||
.pk-button-warning:not(:disabled):not(.disabled):active:focus, .pk-button-warning:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-warning.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-danger {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-danger:hover {
|
||||
color: #fff;
|
||||
background-color: #c82333;
|
||||
border-color: #bd2130;
|
||||
}
|
||||
|
||||
.pk-button-danger:focus, .pk-button-danger.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-danger.disabled, .pk-button-danger:disabled {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-danger:not(:disabled):not(.disabled):active, .pk-button-danger:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-danger.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #bd2130;
|
||||
border-color: #b21f2d;
|
||||
}
|
||||
|
||||
.pk-button-danger:not(:disabled):not(.disabled):active:focus, .pk-button-danger:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-danger.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-light {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-light:hover {
|
||||
color: #212529;
|
||||
background-color: #e2e6ea;
|
||||
border-color: #dae0e5;
|
||||
}
|
||||
|
||||
.pk-button-light:focus, .pk-button-light.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-light.disabled, .pk-button-light:disabled {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-light:not(:disabled):not(.disabled):active, .pk-button-light:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-light.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #dae0e5;
|
||||
border-color: #d3d9df;
|
||||
}
|
||||
|
||||
.pk-button-light:not(:disabled):not(.disabled):active:focus, .pk-button-light:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-light.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-dark {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-dark:hover {
|
||||
color: #fff;
|
||||
background-color: #23272b;
|
||||
border-color: #1d2124;
|
||||
}
|
||||
|
||||
.pk-button-dark:focus, .pk-button-dark.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-dark.disabled, .pk-button-dark:disabled {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-dark:not(:disabled):not(.disabled):active, .pk-button-dark:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-dark.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #1d2124;
|
||||
border-color: #171a1d;
|
||||
}
|
||||
|
||||
.pk-button-dark:not(:disabled):not(.disabled):active:focus, .pk-button-dark:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-dark.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-primary {
|
||||
color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:focus, .pk-button-outline-primary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-primary.disabled, .pk-button-outline-primary:disabled {
|
||||
color: #007bff;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:not(:disabled):not(.disabled):active, .pk-button-outline-primary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-primary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:not(:disabled):not(.disabled):active:focus, .pk-button-outline-primary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-primary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary {
|
||||
color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:hover {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:focus, .pk-button-outline-secondary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(160, 160, 160, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary.disabled, .pk-button-outline-secondary:disabled {
|
||||
color: #A0A0A0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:not(:disabled):not(.disabled):active, .pk-button-outline-secondary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-secondary.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:not(:disabled):not(.disabled):active:focus, .pk-button-outline-secondary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-secondary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(160, 160, 160, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-success {
|
||||
color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:hover {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:focus, .pk-button-outline-success.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-success.disabled, .pk-button-outline-success:disabled {
|
||||
color: #28a745;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:not(:disabled):not(.disabled):active, .pk-button-outline-success:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-success.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:not(:disabled):not(.disabled):active:focus, .pk-button-outline-success:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-success.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-info {
|
||||
color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:hover {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:focus, .pk-button-outline-info.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-info.disabled, .pk-button-outline-info:disabled {
|
||||
color: #17a2b8;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:not(:disabled):not(.disabled):active, .pk-button-outline-info:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-info.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:not(:disabled):not(.disabled):active:focus, .pk-button-outline-info:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-info.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-warning {
|
||||
color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:hover {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:focus, .pk-button-outline-warning.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-warning.disabled, .pk-button-outline-warning:disabled {
|
||||
color: #ffc107;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:not(:disabled):not(.disabled):active, .pk-button-outline-warning:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-warning.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:not(:disabled):not(.disabled):active:focus, .pk-button-outline-warning:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-warning.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-danger {
|
||||
color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:hover {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:focus, .pk-button-outline-danger.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-danger.disabled, .pk-button-outline-danger:disabled {
|
||||
color: #dc3545;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:not(:disabled):not(.disabled):active, .pk-button-outline-danger:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-danger.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:not(:disabled):not(.disabled):active:focus, .pk-button-outline-danger:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-danger.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-light {
|
||||
color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:hover {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:focus, .pk-button-outline-light.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-light.disabled, .pk-button-outline-light:disabled {
|
||||
color: #f8f9fa;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:not(:disabled):not(.disabled):active, .pk-button-outline-light:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-light.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:not(:disabled):not(.disabled):active:focus, .pk-button-outline-light:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-light.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-dark {
|
||||
color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:hover {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:focus, .pk-button-outline-dark.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-dark.disabled, .pk-button-outline-dark:disabled {
|
||||
color: #343a40;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:not(:disabled):not(.disabled):active, .pk-button-outline-dark:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-dark.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:not(:disabled):not(.disabled):active:focus, .pk-button-outline-dark:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-dark.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-lg {
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.3rem;
|
||||
}
|
||||
|
||||
.pk-button-sm {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
|
||||
.pk-button-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pk-button-block + .pk-button-block {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
padding-right: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pk-fade {
|
||||
transition: opacity 0.15s linear;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-fade {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-nav-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pk-nav-link:hover, .pk-nav-link:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-item + .pk-nav-item .pk-nav-link {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link {
|
||||
border: 1px solid transparent;
|
||||
border-color: #dee2e6;
|
||||
color: #adb5bd;
|
||||
border-top-right-radius: 0.25rem;
|
||||
border-top-left-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link.pk-active {
|
||||
color: #000;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link:hover, .pk-nav-tabs .pk-nav-link:focus {
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
.pk-tab-content > .pk-tab-pane {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pk-tab-content > .pk-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-link {
|
||||
padding: 1rem 1.5rem;
|
||||
line-height: 1;
|
||||
font-size: 1rem;
|
||||
text-decoration: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-tab-pane > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-pills .pk-nav-link {
|
||||
border-radius: 0.25rem;
|
||||
padding: 0.75rem 1rem;
|
||||
line-height: 1;
|
||||
color: #adb5bd;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-pills .pk-nav-link.pk-active {
|
||||
color: #000;
|
||||
background-color: #e9ecef;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.pk-tabs .pk-nav-item + .pk-nav-item .pk-nav-link {
|
||||
margin-top: 0;
|
||||
}
|
||||
.pk-tabs .pk-nav-link:not(.pk-active) {
|
||||
border-color: transparent;
|
||||
}
|
||||
.pk-tabs .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
background-color: transparent;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav {
|
||||
flex-direction: row;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-tabs {
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-item {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-link.pk-active {
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-container {
|
||||
display: flex;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation {
|
||||
flex: 0 0 30%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation .pk-nav {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation .pk-nav-item {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
transform: translateX(-1px);
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-content {
|
||||
margin-right: 5%;
|
||||
flex: 0 0 65%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs {
|
||||
border-left: 1px solid #dee2e6;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs .pk-nav-link {
|
||||
border-radius: 0 0.25rem 0.25rem 0;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
border-left-color: #fff;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-pills {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
/* Collapsibles */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
word-wrap: break-word;
|
||||
margin-bottom: 0;
|
||||
background-clip: border-box;
|
||||
}
|
||||
|
||||
.pk-card + .pk-card {
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
|
||||
.pk-collapsing {
|
||||
position: relative;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pk-card-body {
|
||||
flex: 1 1 auto;
|
||||
padding: 0.75rem 0;
|
||||
}
|
||||
|
||||
.pk-card-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-card-header .pk-card-title {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-card-header a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0.75rem 0;
|
||||
border: none;
|
||||
color: #212529;
|
||||
transition: 0.3s;
|
||||
text-decoration: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.pk-card-header a:hover {
|
||||
color: #adb5bd;
|
||||
}
|
||||
|
||||
.pk-card-header a:after {
|
||||
font-family: 'powerkit-icons';
|
||||
content: "\e90d";
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.pk-card.expanded .pk-card-header a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.pk-card.expanded .pk-card-header a:after {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* Progress */
|
||||
/*--------------------------------------------------------------*/
|
||||
@-webkit-keyframes progress-bar-stripes {
|
||||
from {
|
||||
background-position: 1rem 0;
|
||||
}
|
||||
to {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
@keyframes progress-bar-stripes {
|
||||
from {
|
||||
background-position: 1rem 0;
|
||||
}
|
||||
to {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-progress {
|
||||
display: flex;
|
||||
height: 1rem;
|
||||
overflow: hidden;
|
||||
font-size: 0.75rem;
|
||||
background-color: #e9ecef;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.pk-progress-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
transition: width 0.6s ease;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-progress-bar {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-progress-bar.pk-bg-primary {
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-progress-bar-striped {
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-size: 1rem 1rem;
|
||||
}
|
||||
|
||||
.pk-progress-bar-animated {
|
||||
-webkit-animation: progress-bar-stripes 1s linear infinite;
|
||||
animation: progress-bar-stripes 1s linear infinite;
|
||||
}
|
||||
|
||||
/* Separators */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-separator {
|
||||
border-bottom-color: #ddd;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
+882
@@ -0,0 +1,882 @@
|
||||
/**
|
||||
* All of the CSS for your public-facing functionality should be
|
||||
* included in this file.
|
||||
*/
|
||||
/**
|
||||
* Environment for all styles (variables, additions, etc).
|
||||
*/
|
||||
/*--------------------------------------------------------------*/
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-tabs,
|
||||
.pk-pills,
|
||||
.pk-accordion,
|
||||
.pk-progress,
|
||||
.pk-button.pk-button-block {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-button {
|
||||
display: inline-block;
|
||||
font-weight: 400;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
vertical-align: middle;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
padding: 0.375rem 0.75rem;
|
||||
font-size: 1rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.25rem;
|
||||
transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
|
||||
color: white;
|
||||
border: none;
|
||||
box-shadow: none !important;
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-button {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-button:hover, .pk-button:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pk-button:focus, .pk-button.focus {
|
||||
outline: 0;
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
|
||||
}
|
||||
|
||||
.pk-button-primary {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #0069d9;
|
||||
border-color: #0062cc;
|
||||
}
|
||||
|
||||
.pk-button-primary:focus, .pk-button-primary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-primary.disabled, .pk-button-primary:disabled {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-primary:not(:disabled):not(.disabled):active, .pk-button-primary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-primary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #0062cc;
|
||||
border-color: #005cbf;
|
||||
}
|
||||
|
||||
.pk-button-primary:not(:disabled):not(.disabled):active:focus, .pk-button-primary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-primary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-secondary {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-secondary:hover {
|
||||
color: #fff;
|
||||
background-color: #8d8d8d;
|
||||
border-color: #878686;
|
||||
}
|
||||
|
||||
.pk-button-secondary:focus, .pk-button-secondary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(141, 142, 142, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-secondary.disabled, .pk-button-secondary:disabled {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-secondary:not(:disabled):not(.disabled):active, .pk-button-secondary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-secondary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #878686;
|
||||
border-color: gray;
|
||||
}
|
||||
|
||||
.pk-button-secondary:not(:disabled):not(.disabled):active:focus, .pk-button-secondary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-secondary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(141, 142, 142, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-success {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-success:hover {
|
||||
color: #fff;
|
||||
background-color: #218838;
|
||||
border-color: #1e7e34;
|
||||
}
|
||||
|
||||
.pk-button-success:focus, .pk-button-success.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-success.disabled, .pk-button-success:disabled {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-success:not(:disabled):not(.disabled):active, .pk-button-success:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-success.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #1e7e34;
|
||||
border-color: #1c7430;
|
||||
}
|
||||
|
||||
.pk-button-success:not(:disabled):not(.disabled):active:focus, .pk-button-success:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-success.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-info {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-info:hover {
|
||||
color: #fff;
|
||||
background-color: #138496;
|
||||
border-color: #117a8b;
|
||||
}
|
||||
|
||||
.pk-button-info:focus, .pk-button-info.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-info.disabled, .pk-button-info:disabled {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-info:not(:disabled):not(.disabled):active, .pk-button-info:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-info.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #117a8b;
|
||||
border-color: #10707f;
|
||||
}
|
||||
|
||||
.pk-button-info:not(:disabled):not(.disabled):active:focus, .pk-button-info:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-info.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(58, 176, 195, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-warning {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-warning:hover {
|
||||
color: #212529;
|
||||
background-color: #e0a800;
|
||||
border-color: #d39e00;
|
||||
}
|
||||
|
||||
.pk-button-warning:focus, .pk-button-warning.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-warning.disabled, .pk-button-warning:disabled {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-warning:not(:disabled):not(.disabled):active, .pk-button-warning:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-warning.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #d39e00;
|
||||
border-color: #c69500;
|
||||
}
|
||||
|
||||
.pk-button-warning:not(:disabled):not(.disabled):active:focus, .pk-button-warning:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-warning.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(222, 170, 12, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-danger {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-danger:hover {
|
||||
color: #fff;
|
||||
background-color: #c82333;
|
||||
border-color: #bd2130;
|
||||
}
|
||||
|
||||
.pk-button-danger:focus, .pk-button-danger.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-danger.disabled, .pk-button-danger:disabled {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-danger:not(:disabled):not(.disabled):active, .pk-button-danger:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-danger.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #bd2130;
|
||||
border-color: #b21f2d;
|
||||
}
|
||||
|
||||
.pk-button-danger:not(:disabled):not(.disabled):active:focus, .pk-button-danger:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-danger.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-light {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-light:hover {
|
||||
color: #212529;
|
||||
background-color: #e2e6ea;
|
||||
border-color: #dae0e5;
|
||||
}
|
||||
|
||||
.pk-button-light:focus, .pk-button-light.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-light.disabled, .pk-button-light:disabled {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-light:not(:disabled):not(.disabled):active, .pk-button-light:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-light.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #dae0e5;
|
||||
border-color: #d3d9df;
|
||||
}
|
||||
|
||||
.pk-button-light:not(:disabled):not(.disabled):active:focus, .pk-button-light:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-light.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(216, 217, 219, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-dark {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-dark:hover {
|
||||
color: #fff;
|
||||
background-color: #23272b;
|
||||
border-color: #1d2124;
|
||||
}
|
||||
|
||||
.pk-button-dark:focus, .pk-button-dark.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-dark.disabled, .pk-button-dark:disabled {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-dark:not(:disabled):not(.disabled):active, .pk-button-dark:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-dark.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #1d2124;
|
||||
border-color: #171a1d;
|
||||
}
|
||||
|
||||
.pk-button-dark:not(:disabled):not(.disabled):active:focus, .pk-button-dark:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-dark.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(82, 88, 93, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-primary {
|
||||
color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:hover {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:focus, .pk-button-outline-primary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-primary.disabled, .pk-button-outline-primary:disabled {
|
||||
color: #007bff;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:not(:disabled):not(.disabled):active, .pk-button-outline-primary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-primary.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #007bff;
|
||||
border-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-button-outline-primary:not(:disabled):not(.disabled):active:focus, .pk-button-outline-primary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-primary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary {
|
||||
color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:hover {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:focus, .pk-button-outline-secondary.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(160, 160, 160, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary.disabled, .pk-button-outline-secondary:disabled {
|
||||
color: #A0A0A0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:not(:disabled):not(.disabled):active, .pk-button-outline-secondary:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-secondary.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #A0A0A0;
|
||||
border-color: #A0A0A0;
|
||||
}
|
||||
|
||||
.pk-button-outline-secondary:not(:disabled):not(.disabled):active:focus, .pk-button-outline-secondary:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-secondary.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(160, 160, 160, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-success {
|
||||
color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:hover {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:focus, .pk-button-outline-success.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-success.disabled, .pk-button-outline-success:disabled {
|
||||
color: #28a745;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:not(:disabled):not(.disabled):active, .pk-button-outline-success:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-success.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #28a745;
|
||||
border-color: #28a745;
|
||||
}
|
||||
|
||||
.pk-button-outline-success:not(:disabled):not(.disabled):active:focus, .pk-button-outline-success:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-success.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-info {
|
||||
color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:hover {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:focus, .pk-button-outline-info.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-info.disabled, .pk-button-outline-info:disabled {
|
||||
color: #17a2b8;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:not(:disabled):not(.disabled):active, .pk-button-outline-info:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-info.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #17a2b8;
|
||||
border-color: #17a2b8;
|
||||
}
|
||||
|
||||
.pk-button-outline-info:not(:disabled):not(.disabled):active:focus, .pk-button-outline-info:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-info.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-warning {
|
||||
color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:hover {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:focus, .pk-button-outline-warning.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-warning.disabled, .pk-button-outline-warning:disabled {
|
||||
color: #ffc107;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:not(:disabled):not(.disabled):active, .pk-button-outline-warning:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-warning.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #ffc107;
|
||||
border-color: #ffc107;
|
||||
}
|
||||
|
||||
.pk-button-outline-warning:not(:disabled):not(.disabled):active:focus, .pk-button-outline-warning:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-warning.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-danger {
|
||||
color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:hover {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:focus, .pk-button-outline-danger.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-danger.disabled, .pk-button-outline-danger:disabled {
|
||||
color: #dc3545;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:not(:disabled):not(.disabled):active, .pk-button-outline-danger:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-danger.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #dc3545;
|
||||
border-color: #dc3545;
|
||||
}
|
||||
|
||||
.pk-button-outline-danger:not(:disabled):not(.disabled):active:focus, .pk-button-outline-danger:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-danger.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-light {
|
||||
color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:hover {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:focus, .pk-button-outline-light.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-light.disabled, .pk-button-outline-light:disabled {
|
||||
color: #f8f9fa;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:not(:disabled):not(.disabled):active, .pk-button-outline-light:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-light.dropdown-toggle {
|
||||
color: #212529;
|
||||
background-color: #f8f9fa;
|
||||
border-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-button-outline-light:not(:disabled):not(.disabled):active:focus, .pk-button-outline-light:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-light.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-dark {
|
||||
color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:hover {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:focus, .pk-button-outline-dark.focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-outline-dark.disabled, .pk-button-outline-dark:disabled {
|
||||
color: #343a40;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:not(:disabled):not(.disabled):active, .pk-button-outline-dark:not(:disabled):not(.disabled).active,
|
||||
.show > .pk-button-outline-dark.dropdown-toggle {
|
||||
color: #fff;
|
||||
background-color: #343a40;
|
||||
border-color: #343a40;
|
||||
}
|
||||
|
||||
.pk-button-outline-dark:not(:disabled):not(.disabled):active:focus, .pk-button-outline-dark:not(:disabled):not(.disabled).active:focus,
|
||||
.show > .pk-button-outline-dark.dropdown-toggle:focus {
|
||||
box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
|
||||
}
|
||||
|
||||
.pk-button-lg {
|
||||
padding: 0.5rem 1rem;
|
||||
font-size: 1.25rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.3rem;
|
||||
}
|
||||
|
||||
.pk-button-sm {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5;
|
||||
border-radius: 0.2rem;
|
||||
}
|
||||
|
||||
.pk-button-block {
|
||||
display: block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pk-button-block + .pk-button-block {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
/* Tabs */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-nav {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-wrap: wrap;
|
||||
padding-left: 0;
|
||||
margin-bottom: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.pk-fade {
|
||||
transition: opacity 0.15s linear;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-fade {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-nav-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pk-nav-link:hover, .pk-nav-link:focus {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-item + .pk-nav-item .pk-nav-link {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link {
|
||||
border: 1px solid transparent;
|
||||
border-color: #dee2e6;
|
||||
color: #adb5bd;
|
||||
border-top-left-radius: 0.25rem;
|
||||
border-top-right-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link.pk-active {
|
||||
color: #000;
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
|
||||
.pk-nav-tabs .pk-nav-link:hover, .pk-nav-tabs .pk-nav-link:focus {
|
||||
color: #212529;
|
||||
}
|
||||
|
||||
.pk-tab-content > .pk-tab-pane {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.pk-tab-content > .pk-active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-link {
|
||||
padding: 1rem 1.5rem;
|
||||
line-height: 1;
|
||||
font-size: 1rem;
|
||||
text-decoration: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-tab-pane > *:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-pills .pk-nav-link {
|
||||
border-radius: 0.25rem;
|
||||
padding: 0.75rem 1rem;
|
||||
line-height: 1;
|
||||
color: #adb5bd;
|
||||
}
|
||||
|
||||
.pk-tabs .pk-nav-pills .pk-nav-link.pk-active {
|
||||
color: #000;
|
||||
background-color: #e9ecef;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.pk-tabs .pk-nav-item + .pk-nav-item .pk-nav-link {
|
||||
margin-top: 0;
|
||||
}
|
||||
.pk-tabs .pk-nav-link:not(.pk-active) {
|
||||
border-color: transparent;
|
||||
}
|
||||
.pk-tabs .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
background-color: transparent;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav {
|
||||
flex-direction: row;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-tabs {
|
||||
border-bottom: 1px solid #dee2e6;
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-item {
|
||||
transform: translateY(1px);
|
||||
}
|
||||
.pk-tabs-horizontal .pk-nav-link.pk-active {
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-container {
|
||||
display: flex;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation {
|
||||
flex: 0 0 30%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation .pk-nav {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-navigation .pk-nav-item {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
transform: translateX(1px);
|
||||
}
|
||||
.pk-tabs-vertical .pk-tabs-content {
|
||||
margin-left: 5%;
|
||||
flex: 0 0 65%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs {
|
||||
border-right: 1px solid #dee2e6;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs .pk-nav-link {
|
||||
border-radius: 0.25rem 0 0 0.25rem;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-tabs .pk-nav-link.pk-active {
|
||||
border-right-color: #fff;
|
||||
}
|
||||
.pk-tabs-vertical .pk-nav-pills {
|
||||
flex-direction: column;
|
||||
}
|
||||
}
|
||||
|
||||
/* Collapsibles */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-card {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
word-wrap: break-word;
|
||||
margin-bottom: 0;
|
||||
background-clip: border-box;
|
||||
}
|
||||
|
||||
.pk-card + .pk-card {
|
||||
border-top: 1px solid #e9ecef;
|
||||
}
|
||||
|
||||
.pk-collapsing {
|
||||
position: relative;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.pk-card-body {
|
||||
flex: 1 1 auto;
|
||||
padding: 0.75rem 0;
|
||||
}
|
||||
|
||||
.pk-card-header {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-card-header .pk-card-title {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.pk-card-header a {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 0.75rem 0;
|
||||
border: none;
|
||||
color: #212529;
|
||||
transition: 0.3s;
|
||||
text-decoration: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
.pk-card-header a:hover {
|
||||
color: #adb5bd;
|
||||
}
|
||||
|
||||
.pk-card-header a:after {
|
||||
font-family: 'powerkit-icons';
|
||||
content: "\e914";
|
||||
transition: 0.3s;
|
||||
}
|
||||
|
||||
.pk-card.expanded .pk-card-header a {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.pk-card.expanded .pk-card-header a:after {
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
/* Progress */
|
||||
/*--------------------------------------------------------------*/
|
||||
@-webkit-keyframes progress-bar-stripes {
|
||||
from {
|
||||
background-position: 1rem 0;
|
||||
}
|
||||
to {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
@keyframes progress-bar-stripes {
|
||||
from {
|
||||
background-position: 1rem 0;
|
||||
}
|
||||
to {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-progress {
|
||||
display: flex;
|
||||
height: 1rem;
|
||||
overflow: hidden;
|
||||
font-size: 0.75rem;
|
||||
background-color: #e9ecef;
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.pk-progress-bar {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
transition: width 0.6s ease;
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.pk-progress-bar {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
.pk-progress-bar.pk-bg-primary {
|
||||
background-color: #007bff;
|
||||
}
|
||||
|
||||
.pk-progress-bar-striped {
|
||||
background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
|
||||
background-size: 1rem 1rem;
|
||||
}
|
||||
|
||||
.pk-progress-bar-animated {
|
||||
-webkit-animation: progress-bar-stripes 1s linear infinite;
|
||||
animation: progress-bar-stripes 1s linear infinite;
|
||||
}
|
||||
|
||||
/* Separators */
|
||||
/*--------------------------------------------------------------*/
|
||||
.pk-separator {
|
||||
border-bottom-color: #ddd;
|
||||
margin-top: 2rem;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
+41
@@ -0,0 +1,41 @@
|
||||
/**
|
||||
* Basic Shortcodes
|
||||
*/
|
||||
( function( $ ) {
|
||||
|
||||
$( document ).ready( function() {
|
||||
|
||||
/* Alerts */
|
||||
$( document ).on( 'click', '.pk-alert .pk-close', function() {
|
||||
$( this ).closest( '.pk-alert' ).remove();
|
||||
} );
|
||||
|
||||
/* Tabs */
|
||||
$( '.pk-tab-pane' ).removeClass( 'pk-fade' );
|
||||
|
||||
$( document ).on( 'click', '.pk-tabs .pk-nav-item .pk-nav-link', function() {
|
||||
// Nav.
|
||||
$( this ).parent().siblings().find( '.pk-active' ).removeClass( 'pk-active' );
|
||||
$( this ).addClass( 'pk-active' );
|
||||
|
||||
// Pane.
|
||||
$( this ).closest( '.pk-tabs' ).find( '.pk-tab-pane' ).removeClass( 'pk-show pk-active' );
|
||||
$( this ).closest( '.pk-tabs' ).find( '.pk-tab-content' ).find( $( this ).attr( 'href' ) ).addClass( 'pk-show pk-active' );
|
||||
|
||||
return false;
|
||||
} );
|
||||
|
||||
/* Collapsibles */
|
||||
$( document ).on( 'click', '.pk-card a[data-toggle="collapse"]', function() {
|
||||
|
||||
if ( $( this ).closest( '.pk-collapsibles' ).length > 0 ) {
|
||||
$( this ).closest( '.pk-card' ).siblings().removeClass( 'expanded' );
|
||||
$( this ).closest( '.pk-card' ).siblings().find( '.pk-collapse' ).slideUp();
|
||||
}
|
||||
|
||||
$( this ).closest( '.pk-card' ).toggleClass( 'expanded' ).find( $( this ).attr( 'href' ) ).slideToggle();
|
||||
|
||||
return false;
|
||||
} );
|
||||
} );
|
||||
} )( jQuery );
|
||||
Reference in New Issue
Block a user