Skip to content

Commit

Permalink
First Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mtaman committed Jun 29, 2020
1 parent a322eca commit 2bffb8d
Show file tree
Hide file tree
Showing 65 changed files with 4,072 additions and 13,380 deletions.
36 changes: 7 additions & 29 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,21 @@
exit;
}
get_header();


$ideal_options = ideal_get_theme_options();
$page_404_bg_image = IDEAL_THEME_DIR_URI.'/assets/images/page-not-found.svg';
$page_404_bg_image_overlay = null;


$page_404_bg_image = IDEAL_THEME_DIR_URI.'/assets/images/404.jpg';
?>
<div id="ideal-site-content" class="ideal-site-content uk-section">
<div id="ideal-site-content" class="ideal-site-content uk-section uk-background-cover uk-background-center-center"
style="background-image: url('<?php echo esc_url($page_404_bg_image)?>'); background-repeat: no-repeat;"
uk-height-viewport>
<div class="uk-container uk-container-expand ">

<?php
if ( ! empty( $page_404_bg_image ) ) {

echo '<div class="bg-404-img" style="background-image: url('. esc_url($page_404_bg_image).'); background-repeat: no-repeat;">';


echo '</div>';

if ( ! empty( $page_404_bg_image_overlay ) ) {

echo '<div class="error-404-bg-img-overlay"></div> ';
}
}
?>
<div class="pg-not-found">
<div class="error-404-bg-img-overlay"></div>
<div class="pg-not-found uk-position-center">
<h2><?php echo esc_html__( 'Page Not Found', 'ideal' ); ?></h2>

<a class="uk-button id-button-primary uk-button-large" href="<?php echo esc_url( home_url() ); ?>">

<span><?php echo esc_html__( 'Back Home', 'ideal' ); ?></span>
<span><?php echo esc_html__( 'Back Home', 'ideal' ); ?></span>
<i uk-icon="arrow-right"></i>
</a>

</div>


</div>
</div>
<?php get_footer();?>
9 changes: 7 additions & 2 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@
exit;
}
get_header();

if (empty($ideal_options['id-archives-switch-header']) && $ideal_options['id-archives-switch-header'] == false || !class_exists('Kirki')) {
$ideal_options = ideal_get_theme_options();
if(!empty($ideal_options['id-archives-switch-header'])){
$ideal_arch_header = $ideal_options['id-archives-switch-header'];
}else{
$ideal_arch_header = false;
}
if ( $ideal_arch_header == false || !class_exists('Kirki')) {
get_template_part('includes/partials/page-header/header', 'archives');
} elseif (!empty($ideal_options['transparent-header']) && $ideal_options['transparent-header'] == true) {
?><div class="plog-page-header-margin"></div><?php
Expand Down
85 changes: 51 additions & 34 deletions assets/css/WooCommerce.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
.ideal-woo-cart-nav.uk-dropdown{
.ideal-woo-cart-nav.uk-dropdown {
width: 350px;

}
.ideal-woo-cart-nav.uk-dropdown .cart_list.product_list_widget{
.ideal-woo-cart-nav.uk-dropdown .cart_list.product_list_widget {
max-height: 350px;
overflow-y: auto;

}
.ideal-woo-cart-nav .widget {
display: block;
Expand All @@ -14,13 +12,12 @@
margin-bottom: 2px;
padding-bottom: 2px;
}
.ideal-woo-cart-nav.uk-dropdown{
.ideal-woo-cart-nav.uk-dropdown {
padding: 15px;
padding-top: 25px;

}
.cart-count-nav {
display: inline-block;
display: inline-block;
font-size: 11px;
font-weight: 400;
line-height: 17px;
Expand All @@ -41,13 +38,14 @@
line-height: 18px;
width: 18px;
padding: 0 1px;
box-shadow: -1px 4px 8px 0px rgba(0,0,0,.2);
box-shadow: -1px 4px 8px 0px rgba(0, 0, 0, 0.2);
visibility: visible;
animation: .6s ease-in-out .12s normal both 1 bounce_in_animation;
-webkit-animation: .6s ease-in-out .12s normal both 1 bounce_in_animation;
animation: 0.6s ease-in-out 0.12s normal both 1 bounce_in_animation;
-webkit-animation: 0.6s ease-in-out 0.12s normal both 1 bounce_in_animation;
}

.woocommerce-mini-cart__buttons .button,.woocommerce.widget_shopping_cart .buttons a {
.woocommerce-mini-cart__buttons .button,
.woocommerce.widget_shopping_cart .buttons a {
width: 100%;
text-align: center;
padding: 15px;
Expand All @@ -59,52 +57,67 @@
text-align: center;
}

.ideal-woo-cart-nav .woocommerce ul.cart_list li img, .woocommerce ul.product_list_widget li img {
.ideal-woo-cart-nav .woocommerce ul.cart_list li img,
.woocommerce ul.product_list_widget li img {
float: left;
margin-right: 4px;
width: 70px;
height: auto;
box-shadow: none;
}
.woocommerce .widget_shopping_cart .cart_list li a.remove, .woocommerce.widget_shopping_cart .cart_list li a.remove {
.woocommerce .widget_shopping_cart .cart_list li a.remove,
.woocommerce.widget_shopping_cart .cart_list li a.remove {
right: 0;
left: unset;
}
.woocommerce .widget_shopping_cart .cart_list li, .woocommerce.widget_shopping_cart .cart_list li {
.woocommerce .widget_shopping_cart .cart_list li,
.woocommerce.widget_shopping_cart .cart_list li {
padding-right: 2em;
}
.woocommerce ul.cart_list li, .woocommerce ul.product_list_widget li {
.woocommerce ul.cart_list li,
.woocommerce ul.product_list_widget li {
padding: 10px 0;
}
.woocommerce .widget_shopping_cart .cart_list li, .woocommerce.widget_shopping_cart .cart_list li {
.woocommerce .widget_shopping_cart .cart_list li,
.woocommerce.widget_shopping_cart .cart_list li {
padding-left: 0;
}
.ideal-woo-cart-nav .widget h2{
.ideal-woo-cart-nav .widget h2 {
display: none;
}
/*---------button-------------*/
.woocommerce #respond input#submit:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover{
opacity: .6;
}
.woocommerce .cart .button, .woocommerce .cart input.button {
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
opacity: 0.6;
}
.woocommerce .cart .button,
.woocommerce .cart input.button {
float: none;
}
.woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button{
background: #18191b;;
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
background: #18191b;
border: none;
cursor: pointer;
width: auto;
color: #fff;
padding: 15px 22px!important;
padding: 15px 22px !important;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 2px;
-webkit-appearance: none;

}
/*---------Form-------------*/
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
box-sizing: border-box;
width: 100%;
margin: 0;
Expand All @@ -124,7 +137,7 @@
font-size: inherit;
line-height: inherit;
}
.woocommerce input#coupon_code:focus{
.woocommerce input#coupon_code:focus {
background-color: #ffffff;
border: 2px solid #dddddd;
}
Expand All @@ -134,7 +147,11 @@
line-height: 18px;
float: none;
}
.woocommerce-cart[data-form-style="default"] table.cart td.actions .coupon .input-text {
.woocommerce-cart[data-form-style="default"]
table.cart
td.actions
.coupon
.input-text {
padding: 16px;
}
.woocommerce-page table.cart td.actions .coupon {
Expand All @@ -143,19 +160,19 @@
}

.woocommerce-ordering span.select2 {
width: 250px ;
width: 250px;
}

.woocommerce-ordering .select2-container .select2-selection--single{
height: 40px
.woocommerce-ordering .select2-container .select2-selection--single {
height: 40px;
}
/*---------product-------------*/

.product_title.entry-title{
.product_title.entry-title {
font-size: 35px;
font-weight: 800;
line-height: 1.7;
-ms-word-wrap: break-word;
word-wrap: break-word;
color: #0a0a0a;
}
}
10 changes: 5 additions & 5 deletions assets/css/dynamic/daynamic-color.php
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,11 @@
' : "}") . '
';
}
if (!empty($ideal_options['id-archives-switch-header']) && $ideal_options['id-archives-switch-header'] == true) {
echo '




#archives-page-header{
echo '#archives-page-header{
' . (!empty($ideal_options['archives-header-bg']['background-color']) ? '
background:' . $ideal_options['archives-header-bg']['background-color'] . ';' : "") . '
' . (!empty($ideal_options['archives-header-bg']['background-image']) ? '
Expand All @@ -223,9 +223,9 @@
background-position:' . $ideal_options['archives-header-bg']['background-position'] . ';
background-size:' . $ideal_options['archives-header-bg']['background-size'] . ';
background-attachment:' . $ideal_options['archives-header-bg']['background-attachment'] . ';
}' : "}") . '
}' : "}") . '
';
}


/*-------------------------------------------------------------------------
# forms #
Expand Down
16 changes: 1 addition & 15 deletions assets/css/dynamic/daynamic-font.php
Original file line number Diff line number Diff line change
Expand Up @@ -475,21 +475,7 @@
';
/*-=========================[ Page Header ]=====================-*/
echo '
.entry-title{' . (!empty($ideal_options['blog-header-font']['color']) ? '
color:' . $ideal_options['blog-header-font']['color'] . ';' : null) . '
font-family:' . $ideal_options['blog-header-font']['font-family'] . ';
font-size: ' . $ideal_options['blog-header-font']['font-size'] . ';
line-height:' . $ideal_options['blog-header-font']['line-height'] . ';
' . (!empty($ideal_options['blog-header-font']['letter-spacing']) ? '
letter-spacing:' . $ideal_options['blog-header-font']['letter-spacing'] . ';' : null) . '
' . (!empty($ideal_options['blog-header-font']['text-align']) ? '
text-align:' . $ideal_options['blog-header-font']['text-align'] . ';' : null) . '
' . (!empty($ideal_options['blog-header-font']['text-transform']) ? '
text-transform:' . $ideal_options['blog-header-font']['text-transform'] . ';' : null) . '
font-weight:' . $ideal_options['blog-header-font']['font-weight'] . ';
' . (!empty($ideal_options['blog-header-font']['word-spacing']) ? '
word-spacing:' . $ideal_options['blog-header-font']['word-spacing'] . ';' : null) . '
}
' . (!empty($ideal_options['header-text-color']) ? '
.id-bh-inner-wrap{
Expand Down
8 changes: 4 additions & 4 deletions assets/css/dynamic/daynamic-option.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
#ideal-nav.uk-navbar-container:not(.uk-navbar-transparent){
background: '. $ideal_options['header-m-b-color'] .';
}':"") .'
'.(!empty( $ideal_options['transparent-header'] && $ideal_options['transparent-header'] == true)? '
'.(! empty( $ideal_options['transparent-header'] ) && $ideal_options['transparent-header'] == true ? '
.header-hero{
margin-top:-'. $ideal_header_height .';
}':"") .'
Expand Down Expand Up @@ -136,11 +136,11 @@
/*-=========================[ ---hero---- ]=====================-*/

if(!empty($ideal_options['hero_overlay_color'])){
$hero_overlay_background = $ideal_options['hero_overlay_color'];
echo' #hero-section{box-shadow: inset 0 0 0 100vw '.esc_html($hero_overlay_background ).';}';

echo' #hero-section{box-shadow: inset 0 0 0 100vw '.esc_html($ideal_options['hero_overlay_color']).';}';
}
echo'
#hero-section{
#hero-section{
' . (!empty($ideal_options['hero_section_background_setting']['background-color']) ? '
background:' . $ideal_options['hero_section_background_setting']['background-color'] . ';' : "") . '
' . (!empty($ideal_options['hero_section_background_setting']['background-image']) ? '
Expand Down
Loading

0 comments on commit 2bffb8d

Please sign in to comment.