hello
Server : Apache System : Linux webm006.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : chryzalihi ( 621211) PHP Version : 8.3.31 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Directory : /home/c/h/r/chryzalihi/www/wp-content/languages/themes/the/ |
alignment.min.css 0000644 00000007727 15242601424 0010033 0 ustar 00 .bloglo-alignment-control,
.background-position-control {
margin-top: 12px;
}
.bloglo-alignment-control input[type="radio"]:checked ~ .button,
.background-position-control input[type="radio"]:checked ~ .button {
background: #0071a1;
border-color: #0071a1;
z-index: 1;
color: #fff !important;
}
.bloglo-alignment-control
input[type="radio"]:checked
~ .button
.alignment-position-center-icon:before,
.bloglo-alignment-control
input[type="radio"]:checked
~ .button
.background-position-center-icon:before,
.background-position-control
input[type="radio"]:checked
~ .button
.alignment-position-center-icon:before,
.background-position-control
input[type="radio"]:checked
~ .button
.background-position-center-icon:before {
background-color: #fff !important;
}
.bloglo-alignment-control input[type="radio"]:focus ~ .button,
.background-position-control input[type="radio"]:focus ~ .button {
border-color: #5b9dd9;
-webkit-box-shadow: none !important;
box-shadow: none !important;
color: #232323;
}
.bloglo-alignment-control .alignment-position-center-icon,
.bloglo-alignment-control .alignment-position-center-icon:before {
display: inline-block;
line-height: 1;
text-align: center;
-webkit-transition: background-color 0.1s ease-in;
transition: background-color 0.1s ease-in;
}
.bloglo-alignment-control .alignment-position-center-icon {
height: 20px;
margin-top: 13px;
vertical-align: top;
width: 20px;
}
.bloglo-alignment-control .alignment-position-center-icon:before {
background-color: #555;
border-radius: 50%;
content: "";
height: 12px;
width: 12px;
}
.bloglo-alignment-control .button:hover .alignment-position-center-icon:before,
.bloglo-alignment-control
input[type="radio"]:focus
~ .button
.alignment-position-center-icon:before {
background-color: #232323;
}
.bloglo-alignment-control .button-group {
display: block;
}
.bloglo-alignment-control .button-group.disabled {
opacity: 0.15;
pointer-events: none;
}
.bloglo-alignment-control .button-group .button {
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
height: 40px !important;
line-height: 2.9 !important;
margin: 0 -1px 0 0 !important;
padding: 0 10px 1px !important;
position: relative;
}
.bloglo-alignment-control .button-group .button:active,
.bloglo-alignment-control .button-group .button:hover,
.bloglo-alignment-control .button-group .button:focus {
z-index: 1;
}
.bloglo-alignment-control .button-group .dashicons {
margin-top: 9px;
}
.bloglo-alignment-control .button-group > label {
margin: 0 !important;
}
.bloglo-alignment-control .button-group > label.disabled {
opacity: 0.15;
pointer-events: none;
}
.bloglo-alignment-control .button-group.bloglo-top .bloglo-left .dashicons {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.bloglo-alignment-control .button-group.bloglo-top .bloglo-right .dashicons {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.bloglo-alignment-control .button-group.bloglo-bottom .bloglo-left .dashicons {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.bloglo-alignment-control .button-group.bloglo-bottom .bloglo-right .dashicons {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.bloglo-alignment-control
.button-group:first-child
> label:first-child
.button {
border-top-left-radius: 3px;
}
.bloglo-alignment-control .button-group:first-child > label:last-child .button {
border-top-right-radius: 3px;
}
.bloglo-alignment-control .button-group:last-child > label:first-child .button {
border-bottom-left-radius: 3px;
}
.bloglo-alignment-control .button-group:last-child > label:last-child .button {
border-bottom-right-radius: 3px;
}
.bloglo-alignment-control .button-group + .button-group {
margin-top: -1px;
}
.bloglo-alignment-control .button-group > label input[type="radio"] {
opacity: 0;
}
class-bloglo-customizer-control-alignment.php 0000644 00000023076 15242601424 0015502 0 ustar 00 <?php
/**
* Bloglo Customizer custom background control class.
*
* @package Bloglo
* @author Peregrine Themes
* @since 1.0.0
*/
/**
* Do not allow direct script access.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'Bloglo_Customizer_Control_Alignment' ) ) :
/**
* Bloglo Customizer custom background control class.
*/
class Bloglo_Customizer_Control_Alignment extends Bloglo_Customizer_Control {
/**
* The control type.
*
* @var string
*/
public $type = 'bloglo-alignment';
/**
* Set the default typography options.
*
* @since 1.0.0
* @param WP_Customize_Manager $manager Customizer bootstrap instance.
* @param string $id Control ID.
* @param array $args Default parent's arguments.
*/
public function __construct( $manager, $id, $args = array() ) {
parent::__construct( $manager, $id, $args );
$this->strings = wp_parse_args(
isset( $args['strings'] ) ? $args['strings'] : array(),
array(
'top-left' => __( 'Top Left', 'bloglo' ),
'top' => __( 'Top', 'bloglo' ),
'top-right' => __( 'Top Right', 'bloglo' ),
'left' => __( 'Left', 'bloglo' ),
'center' => __( 'Center', 'bloglo' ),
'right' => __( 'Right', 'bloglo' ),
'bottom-left' => __( 'Bottom Left', 'bloglo' ),
'bottom' => __( 'Bottom', 'bloglo' ),
'bottom-right' => __( 'Bottom Right', 'bloglo' ),
)
);
$this->icons = wp_parse_args(
isset( $args['icons'] ) ? $args['icons'] : array(),
array(
'top-left' => 'dashicons dashicons-arrow-left-alt',
'top' => 'dashicons dashicons-arrow-up-alt',
'top-right' => 'dashicons dashicons-arrow-right-alt',
'left' => 'dashicons dashicons-arrow-left-alt',
'center' => 'alignment-position-center-icon',
'right' => 'dashicons dashicons-arrow-right-alt',
'bottom-left' => 'dashicons dashicons-arrow-left-alt',
'bottom' => 'dashicons dashicons-arrow-down-alt',
'bottom-right' => 'dashicons dashicons-arrow-right-alt',
)
);
// Alignment choices.
$default_choices = array(
'top-left' => true,
'top' => true,
'top-right' => true,
'left' => true,
'center' => true,
'right' => true,
'bottom-left' => true,
'bottom' => true,
'bottom-right' => true,
);
if ( isset( $args['choices'] ) ) {
if ( 'horizontal' === $args['choices'] ) {
$this->choices = array(
'top-left' => false,
'top' => false,
'top-right' => false,
'left' => true,
'center' => true,
'right' => true,
'bottom-left' => false,
'bottom' => false,
'bottom-right' => false,
);
} elseif ( 'vertical' === $args['choices'] ) {
$this->choices = array(
'top-left' => false,
'top' => true,
'top-right' => false,
'left' => false,
'center' => true,
'right' => false,
'bottom-left' => false,
'bottom' => true,
'bottom-right' => false,
);
} elseif ( is_array( $args['choices'] ) ) {
$this->choices = array(
'top-left' => false,
'top' => false,
'top-right' => false,
'left' => false,
'center' => false,
'right' => false,
'bottom-left' => false,
'bottom' => false,
'bottom-right' => false,
);
foreach ( $args['choices'] as $choice ) {
$this->choices[ $choice ] = true;
}
}
} else {
$this->choices = $default_choices;
}
foreach ( $this->choices as $key => $value ) {
$this->choices[ $key ] = true === $value ? '' : 'disabled';
}
}
/**
* Refresh the parameters passed to the JavaScript via JSON.
*
* @see WP_Customize_Control::to_json()
*/
public function to_json() {
parent::to_json();
$this->json['choices'] = $this->choices;
$this->json['l10n'] = $this->strings;
$this->json['icons'] = $this->icons;
}
/**
* An Underscore (JS) template for this control's content (but not its container).
*
* Class variables for this control class are available in the `data` JS object;
* export custom variables by overriding {@see WP_Customize_Control::to_json()}.
*
* @see WP_Customize_Control::print_template()
*/
protected function content_template() {
?>
<div class="bloglo-alignment-wrapper bloglo-control-wrapper">
<# if ( data.label ) { #>
<div class="bloglo-control-heading customize-control-title bloglo-field">
<span>{{{ data.label }}}</span>
<# if ( data.description ) { #>
<i class="bloglo-info-icon">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-help-circle">
<circle cx="12" cy="12" r="10"></circle>
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3"></path>
<line x1="12" y1="17" x2="12" y2="17"></line>
</svg>
<span class="bloglo-tooltip">{{{ data.description }}}</span>
</i>
<# } #>
</div>
<# } #>
<div class="bloglo-alignment-control">
<# if ( ! data.choices['top-left'] && ! data.choices['top'] && ! data.choices['top-right'] ) { #>
<div class="button-group bloglo-top">
<label class="bloglo-left {{{ data.choices['top-left']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="top-left" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['top-left'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['top-left'] }}}</span>
</label>
<label class="bloglo-center {{{ data.choices['top']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="top" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['top'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['top'] }}}</span>
</label>
<label class="bloglo-right {{{ data.choices['top-right']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="top-right" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['top-right'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['top-right'] }}}</span>
</label>
</div>
<# } #>
<# if ( ! data.choices['left'] && ! data.choices['center'] && ! data.choices['right'] ) { #>
<div class="button-group bloglo-middle">
<label class="bloglo-left {{{ data.choices['left']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="left" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['left'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['left'] }}}</span>
</label>
<label class="bloglo-center {{{ data.choices['center']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="center" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['center'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['center'] }}}</span>
</label>
<label class="bloglo-right {{{ data.choices['right']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="right" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['right'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['right'] }}}</span>
</label>
</div>
<# } #>
<# if ( ! data.choices['bottom-left'] && ! data.choices['bottom'] && ! data.choices['bottom-right'] ) { #>
<div class="button-group bloglo-bottom">
<label class="bloglo-left {{{ data.choices['bottom-left']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="bottom-left" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['bottom-left'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['bottom-left'] }}}</span>
</label>
<label class="bloglo-center {{{ data.choices['bottom']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="bottom" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['bottom'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['bottom'] }}}</span>
</label>
<label class="bloglo-right {{{ data.choices['bottom-right']}}}">
<input class="screen-reader-text" name="{{ data.id }}-alignment-position" type="radio" value="bottom-right" {{{ data.link }}}>
<span class="button display-options position"><span class="{{ data.icons['bottom-right'] }}" aria-hidden="true"></span></span>
<span class="screen-reader-text">{{{ data.l10n['bottom-right'] }}}</span>
</label>
</div>
<# } #>
</div>
</div><!-- END .bloglo-control-wrapper -->
<?php
}
}
endif;
alignment.scss 0000644 00000005773 15242601424 0007433 0 ustar 00 /*****************************************/
/* Customizer control color style
/*****************************************/
/**
* Import configuration file with variables.
*/
@import "../../../../assets/sass/config";
.bloglo-alignment-control,
.background-position-control {
margin-top: 12px;
input[type="radio"]:checked ~ .button {
background: #0071a1;
border-color: #0071a1;
z-index: 1;
color: #fff !important;
.alignment-position-center-icon:before,
.background-position-center-icon:before {
background-color: #fff !important;
}
}
input[type="radio"]:focus ~ .button {
border-color: #5b9dd9;
box-shadow: none !important;
color: #232323;
}
}
.bloglo-alignment-control {
.alignment-position-center-icon,
.alignment-position-center-icon:before {
display: inline-block;
line-height: 1;
text-align: center;
transition: background-color 0.1s ease-in;
}
.alignment-position-center-icon {
height: 20px;
margin-top: 13px;
vertical-align: top;
width: 20px;
&:before {
background-color: #555;
border-radius: 50%;
content: "";
height: 12px;
width: 12px;
}
}
.button:hover .alignment-position-center-icon:before,
input[type="radio"]:focus ~ .button .alignment-position-center-icon:before {
background-color: #232323;
}
.button-group {
display: block;
&.disabled {
opacity: 0.15;
pointer-events: none;
}
.button {
border-radius: 0;
box-shadow: none;
/* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
height: 40px !important;
line-height: 2.9 !important;
margin: 0 -1px 0 0 !important;
padding: 0 10px 1px !important;
position: relative;
&:active,
&:hover,
&:focus {
z-index: 1;
}
}
.dashicons {
margin-top: 9px;
}
& > label {
margin: 0 !important;
&.disabled {
opacity: 0.15;
pointer-events: none;
}
}
&.bloglo-top {
.bloglo-left {
.dashicons {
transform: rotate(45deg);
}
}
.bloglo-right {
.dashicons {
transform: rotate(-45deg);
}
}
}
&.bloglo-bottom {
.bloglo-left {
.dashicons {
transform: rotate(-45deg);
}
}
.bloglo-right {
.dashicons {
transform: rotate(45deg);
}
}
}
&:first-child {
& > label:first-child {
.button {
border-top-left-radius: 3px;
}
}
& > label:last-child {
.button {
border-top-right-radius: 3px;
}
}
}
&:last-child {
& > label:first-child {
.button {
border-bottom-left-radius: 3px;
}
}
& > label:last-child {
.button {
border-bottom-right-radius: 3px;
}
}
}
& + .button-group {
margin-top: -1px;
}
}
}
alignment.js 0000644 00000000346 15242601424 0007063 0 ustar 00 (function ($) {
"use strict";
wp.customize.controlConstructor["bloglo-alignment"] =
wp.customize.Control.extend({
ready: function () {
"use strict";
var control = this;
},
});
})(jQuery);
alignment.min.js 0000644 00000000241 15242601424 0007637 0 ustar 00 !(function (t) {
"use strict";
wp.customize.controlConstructor["bloglo-alignment"] =
wp.customize.Control.extend({ ready: function () {} });
})(jQuery);
alignment.css 0000644 00000010413 15242601424 0007233 0 ustar 00 /*****************************************/
/* Customizer control color style
/*****************************************/
/**
* Import configuration file with variables.
*/
.bloglo-alignment-control,
.background-position-control {
margin-top: 12px;
}
.bloglo-alignment-control input[type="radio"]:checked ~ .button,
.background-position-control input[type="radio"]:checked ~ .button {
background: #0071a1;
border-color: #0071a1;
z-index: 1;
color: #fff !important;
}
.bloglo-alignment-control
input[type="radio"]:checked
~ .button
.alignment-position-center-icon:before,
.bloglo-alignment-control
input[type="radio"]:checked
~ .button
.background-position-center-icon:before,
.background-position-control
input[type="radio"]:checked
~ .button
.alignment-position-center-icon:before,
.background-position-control
input[type="radio"]:checked
~ .button
.background-position-center-icon:before {
background-color: #fff !important;
}
.bloglo-alignment-control input[type="radio"]:focus ~ .button,
.background-position-control input[type="radio"]:focus ~ .button {
border-color: #5b9dd9;
-webkit-box-shadow: none !important;
box-shadow: none !important;
color: #232323;
}
.bloglo-alignment-control .alignment-position-center-icon,
.bloglo-alignment-control .alignment-position-center-icon:before {
display: inline-block;
line-height: 1;
text-align: center;
-webkit-transition: background-color 0.1s ease-in;
transition: background-color 0.1s ease-in;
}
.bloglo-alignment-control .alignment-position-center-icon {
height: 20px;
margin-top: 13px;
vertical-align: top;
width: 20px;
}
.bloglo-alignment-control .alignment-position-center-icon:before {
background-color: #555;
border-radius: 50%;
content: "";
height: 12px;
width: 12px;
}
.bloglo-alignment-control .button:hover .alignment-position-center-icon:before,
.bloglo-alignment-control
input[type="radio"]:focus
~ .button
.alignment-position-center-icon:before {
background-color: #232323;
}
.bloglo-alignment-control .button-group {
display: block;
}
.bloglo-alignment-control .button-group.disabled {
opacity: 0.15;
pointer-events: none;
}
.bloglo-alignment-control .button-group .button {
border-radius: 0;
-webkit-box-shadow: none;
box-shadow: none;
/* Following properties are overridden by buttons responsive styles (see: wp-includes/css/buttons.css). */
height: 40px !important;
line-height: 2.9 !important;
margin: 0 -1px 0 0 !important;
padding: 0 10px 1px !important;
position: relative;
}
.bloglo-alignment-control .button-group .button:active,
.bloglo-alignment-control .button-group .button:hover,
.bloglo-alignment-control .button-group .button:focus {
z-index: 1;
}
.bloglo-alignment-control .button-group .dashicons {
margin-top: 9px;
}
.bloglo-alignment-control .button-group > label {
margin: 0 !important;
}
.bloglo-alignment-control .button-group > label.disabled {
opacity: 0.15;
pointer-events: none;
}
.bloglo-alignment-control .button-group.bloglo-top .bloglo-left .dashicons {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.bloglo-alignment-control .button-group.bloglo-top .bloglo-right .dashicons {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.bloglo-alignment-control .button-group.bloglo-bottom .bloglo-left .dashicons {
-webkit-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
transform: rotate(-45deg);
}
.bloglo-alignment-control .button-group.bloglo-bottom .bloglo-right .dashicons {
-webkit-transform: rotate(45deg);
-ms-transform: rotate(45deg);
transform: rotate(45deg);
}
.bloglo-alignment-control
.button-group:first-child
> label:first-child
.button {
border-top-left-radius: 3px;
}
.bloglo-alignment-control .button-group:first-child > label:last-child .button {
border-top-right-radius: 3px;
}
.bloglo-alignment-control .button-group:last-child > label:first-child .button {
border-bottom-left-radius: 3px;
}
.bloglo-alignment-control .button-group:last-child > label:last-child .button {
border-bottom-right-radius: 3px;
}
.bloglo-alignment-control .button-group + .button-group {
margin-top: -1px;
}
.bloglo-alignment-control .button-group > label input[type="radio"] {
opacity: 0;
}