Skip to content

Commit

Permalink
Initial commit version 2.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
amon-ra committed Feb 17, 2016
1 parent 8a5b633 commit 95a87e1
Show file tree
Hide file tree
Showing 339 changed files with 393,594 additions and 0 deletions.
17 changes: 17 additions & 0 deletions 404.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php get_header(); ?>

<div id="main-content">
<div class="container">
<div id="content-area" class="clearfix">
<div id="left-area">
<article id="post-0" <?php post_class( 'et_pb_post not_found' ); ?>>
<?php get_template_part( 'includes/no-results', '404' ); ?>
</article> <!-- .et_pb_post -->
</div> <!-- #left-area -->

<?php get_sidebar(); ?>
</div> <!-- #content-area -->
</div> <!-- .container -->
</div> <!-- #main-content -->

<?php get_footer(); ?>
1,343 changes: 1,343 additions & 0 deletions changelog.txt

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions comments.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php
if ( post_password_required() ) : ?>

<p class="nocomments container"><?php esc_html_e( 'This post is password protected. Enter the password to view comments.', 'Divi' ); ?></p>
<?php
return;
endif;
?>
<!-- You can start editing here. -->

<section id="comment-wrap">
<?php if ( have_comments() && ! empty( $comments_by_type['comment'] ) ) : ?>
<h1 id="comments" class="page_title"><?php comments_number( esc_html__( '0 Comments', 'Divi' ), esc_html__( '1 Comment', 'Divi' ), '% ' . esc_html__( 'Comments', 'Divi' ) ); ?></h1>
<?php endif; ?>
<?php if ( have_comments() ) : ?>
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="comment_navigation_top clearfix">
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'Divi' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'Divi' ) ); ?></div>
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>

<?php if ( ! empty($comments_by_type['comment']) ) : ?>
<ol class="commentlist clearfix">
<?php wp_list_comments( array('type'=>'comment','callback'=>'et_custom_comments_display') ); ?>
</ol>
<?php endif; ?>

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?>
<div class="comment_navigation_bottom clearfix">
<div class="nav-previous"><?php previous_comments_link( __( '<span class="meta-nav">&larr;</span> Older Comments', 'Divi' ) ); ?></div>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments <span class="meta-nav">&rarr;</span>', 'Divi' ) ); ?></div>
</div> <!-- .navigation -->
<?php endif; // check for comment navigation ?>

<?php if ( ! empty($comments_by_type['pings']) ) : ?>
<div id="trackbacks">
<h3 id="trackbacks-title"><?php esc_html_e('Trackbacks/Pingbacks','Divi'); ?></h3>
<ol class="pinglist">
<?php wp_list_comments('type=pings&callback=et_list_pings'); ?>
</ol>
</div>
<?php endif; ?>
<?php else : // this is displayed if there are no comments so far ?>
<div id="comment-section" class="nocomments">
<?php if ('open' == $post->comment_status) : ?>
<!-- If comments are open, but there are no comments. -->

<?php else : // comments are closed ?>
<!-- If comments are closed. -->

<?php endif; ?>
</div>
<?php endif; ?>
<?php if ('open' == $post->comment_status) : ?>
<?php comment_form( array('label_submit' => esc_attr__( 'Submit Comment', 'Divi' ), 'title_reply' => '<span>' . esc_attr__( 'Submit a Comment', 'Divi' ) . '</span>', 'title_reply_to' => esc_attr__( 'Leave a Reply to %s', 'Divi' ), 'class_submit' => 'submit et_pb_button' ) ); ?>
<?php else: ?>

<?php endif; // if you delete this the sky will fall on your head ?>
</section>
190 changes: 190 additions & 0 deletions css/editor-style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
/*
* Body
*/
body.wp-autoresize,
body {
font-family: 'Open Sans', Arial, sans-serif;
font-size: 14px;
color: #666;
background-color: #fff;
line-height: 1.7em;
font-weight: 500;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
padding: 10px 20px !important;
}

/*
* Links
*/
a {
text-decoration: none;
color: #2EA3F2;
}

a:hover {
text-decoration: none;
}

/*
* Inline Elements
*/
p {
padding-bottom: 1em;
}

p:last-of-type {
padding-bottom: 0;
}

strong {
font-weight: bold;
}

cite,
em,
i {
font-style: italic;
}

pre,
code {
font-family: Courier New, monospace;
margin-bottom: 10px;
}

ins {
text-decoration: none;
}

sup,
sub {
height: 0;
line-height: 1;
position: relative;
vertical-align: baseline;
}

sup {
bottom: 0.8em;
}

sub {
top: 0.3em;
}

dl {
margin: 0 0 1.5em 0;
}

dl dt {
font-weight: bold;
}

dd {
margin-left: 1.5em;
}

blockquote {
margin: 20px 0 30px;
border-left: #2EA3F2 5px solid;
padding-left: 20px;
}

blockquote p {
padding-bottom: 0px;
}

embed,
iframe,
object,
video {
max-width: 100%;
}

/*
* Headers
*/
h1, h2, h3,
h4, h5, h6 {
color: #333;
padding-bottom: 10px;
line-height: 1em;
font-weight: 500;
}

h1 a, h2 a, h3 a,
h4 a, h5 a, h6 a {
color: inherit;
}

h1 {
font-size: 30px;
}

h2 {
font-size: 26px;
}

h3 {
font-size: 22px;
}

h4 {
font-size: 18px;
}

h5 {
font-size: 16px;
}

h6 {
font-size: 14px;
}

/*
* Forms
*/
input {
-webkit-appearance: none;
}

input[type=checkbox] {
-webkit-appearance: checkbox;
}

input[type=radio] {
-webkit-appearance: radio;
}

input[type=text],
input.text,
input.title,
textarea,
select {
background-color: #fff;
border: 1px solid #bbb;
padding: 2px;
color: #4e4e4e;
}

input[type=text]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
border-color: #2D3940;
color: #3e3e3e;
}

input[type=text],
input.text,
input.title,
textarea,
select {
margin: 0;
}

textarea {
padding: 4px;
}
20 changes: 20 additions & 0 deletions css/meta-box-styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/* post meta box */

#et_settings_meta_box .hndle { border: none; color: #fff; background-color: #6C2EB9; padding-left: 38px; }
#et_settings_meta_box .hndle:before { font-weight: normal; font-family: 'ETmodules'; font-size: 32px; content: '\e625'; display: block; position: absolute; left: 5px; top: -4px; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
#et_settings_meta_box .inside { padding-top: 1px !important; }
#et_settings_meta_box .handlediv { color: #fff; }
#side-sortables #et_settings_meta_box label, #side-sortables #et_settings_meta_box input, #side-sortables #et_settings_meta_box select { display: inline-block !important; box-sizing: border-box; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; }
#side-sortables #et_settings_meta_box label { background-color: #fff; margin: 0 !important; padding: 10px 5% 10px 5%; width: 50%; border-right: 1px solid #E4ECF2; }
#side-sortables #et_settings_meta_box input, #side-sortables #et_settings_meta_box select { background-color: #F5F8FA; color: #A8B7C5; margin-right: 5%; width: 43%; border: none; box-shadow: none; -webkit-box-shadow: none; outline: none; padding: 0; }
#side-sortables #et_settings_meta_box input:focus, #side-sortables #et_settings_meta_box select:focus { color: #444; }
#side-sortables #et_settings_meta_box input[type=checkbox] { width: auto; background-color: #fff; border: 1px solid #E4ECF2; margin-left: 17%; }
#side-sortables #et_settings_meta_box p { padding: 0; margin: 0; background-color: #F5F8FA; }
#side-sortables #et_settings_meta_box p:last-child { border-bottom: 0; }
#side-sortables #et_settings_meta_box .inside { padding: 0; margin: 0; }
#side-sortables #et_settings_meta_box .et_pb_page_settings { border-bottom: 1px solid #E4ECF2; }
#side-sortables #et_settings_meta_box .et_post_bg_color_setting { padding: 15px; }
#side-sortables #et_settings_meta_box .wp-picker-input-wrap input { background-color: #fff; padding: 5px; border-radius: 3px; border: 1px solid #E4ECF2; line-height: 10px;}

.rtl #et_settings_meta_box .hndle.ui-sortable-handle { padding-right: 38px; padding-left: 12px; }
.rtl #et_settings_meta_box .hndle:before { left: 0; right: 5px; }
Loading

0 comments on commit 95a87e1

Please sign in to comment.