Sindbad~EG File Manager
<?php
/*
* Security : blocking direct access
* Source : http://codex.wordpress.org/Theme_Development#Template_Files
*/
defined('ABSPATH') or die("Access Restricted");
/**
* Style template.
*
* @package AMP
*/
/**
* Context.
*
* @var AMP_Post_Template $this
*/
$content_max_width = absint( $this->get( 'content_max_width' ) );
$theme_color = $this->get_customizer_setting( 'theme_color' );
$text_color = $this->get_customizer_setting( 'text_color' );
$muted_text_color = $this->get_customizer_setting( 'muted_text_color' );
$border_color = $this->get_customizer_setting( 'border_color' );
$link_color = $this->get_customizer_setting( 'link_color' );
$header_background_color = $this->get_customizer_setting( 'header_background_color' );
$header_color = $this->get_customizer_setting( 'header_color' );
?>
html{
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
overflow-x:hidden
}
* {outline:none;}
*,*:after,
*:before{
-webkit-box-sizing:inherit;
-moz-box-sizing:inherit;
box-sizing:inherit
}
/* Generic WP styling */
.alignright {
float: right;
}
.alignleft {
float: left;
}
.aligncenter {
display:block;
margin-left:auto;
margin-right:auto;
text-align:center;
}
.amp-wp-enforced-sizes {
max-width: 100%;
margin: 0 auto;
}
.amp-wp-unknown-size img {
object-fit: contain;
}
/* Template Styles */
.amp-wp-content,
.amp-wp-title-bar div {
<?php if ( $content_max_width > 0 ) : ?>
margin: 0 auto;
max-width: <?php echo sprintf( '%dpx', $content_max_width ); ?>;
<?php endif; ?>
}
body {
background:#f8f8f8;
color: <?php echo sanitize_hex_color( $text_color ); ?>;
font-family: 'Merriweather', 'Times New Roman', Times, Serif;
font-weight: 300;
line-height: 1.75em;
}
p,
ol,
ul {
margin:0 0 1em;
padding:0
}
p {
line-height:2
}
ul li,
ol li{
margin:0 0 0 20px;
padding:0 0 5px;
width:95%
}
.rtl ul li,
.rtl ol li{
margin:0 20px 0 0
}
a {
text-decoration:none;
}
a,
a:visited {
color: <?php echo sanitize_hex_color( $link_color ); ?>;
}
a:hover,
a:active,
a:focus {
color: <?php echo sanitize_hex_color( $text_color ); ?>;
}
hr {
border:0;
margin-top:20px;
margin-bottom:20px;
border-top:1px solid #eee
}
h1,h2,h3,h4,h5,h6{
clear:both;
display:block;
width:100%;
padding:0;
margin:0 0 10px;
}
/* Pre */
pre{background-color:#fcfcfc;border:1px solid #ddd;color:#333;direction:ltr;display:block;float:left;font-family:Menlo,Monaco,Consolas,"Courier New",monospace;font-size:90%;margin:0 0 10px;overflow-x:visible;overflow-y:hidden;padding:2%;width:100%;}
pre.wp-block-verse{white-space:nowrap;overflow:auto}
.rtl pre.wp-block-verse{white-space:nowrap;overflow:auto;direction:rtl}
/* UI Fonts */
.amp-wp-meta,
.amp-wp-header div,
.amp-wp-title,
.amp-wp-title-2,
.amp-wp-tax-category,
.amp-wp-tax-tag,
.amp-wp-comments-link {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen-Sans", "Ubuntu", "Cantarell", "Helvetica Neue", sans-serif;
}
/* Header */
.amp-wp-header {
background-color: <?php echo sanitize_hex_color( $header_background_color ); ?>;
position:relative;
}
.amp-wp-header div {
color: <?php echo sanitize_hex_color( $header_color ); ?>;
font-size: 1em;
font-weight: 400;
margin: 0 auto;
max-width:840px;
padding: .875em 16px;
position: relative;
display:table;
}
.amp-wp-header a {
color: <?php echo sanitize_hex_color( $header_color ); ?>;
text-decoration: none;
}
.amp-site-brand {
display:table-cell;
width:100%;
vertical-align:middle;
}
.amp-site-brand a{
display:block;
max-width:200px;
height:auto;
}
.amp-site-brand amp-img{
display:block;
max-width:100%;
height:auto;
}
.amp-site-title{
display:table-cell;
vertical-align:middle;
width:100%;
}
/* Site Icon */
.amp-wp-header .amp-wp-site-icon {
/** site icon is 32px **/
background-color: <?php echo sanitize_hex_color( $header_color ); ?>;
border: 1px solid <?php echo sanitize_hex_color( $header_color ); ?>;
border-radius: 50%;
position: absolute;
right: 18px;
top: 10px;
}
/* Article */
.amp-wp-article {
color: <?php echo sanitize_hex_color( $text_color ); ?>;
font-weight: 400;
margin:0 auto;
max-width: 840px;
overflow-wrap: break-word;
word-wrap: break-word;
background-color:#fff;
padding:10px 16px;
}
.amp-wp-article-thumb {
color: <?php echo sanitize_hex_color( $text_color ); ?>;
font-weight: 400;
margin:0 auto;
max-width: 842px;
overflow-wrap: break-word;
word-wrap: break-word;
background-color:#fff;
}
/* Article Header */
.amp-wp-article-header {
align-items: center;
align-content: stretch;
display:inline-block;
justify-content: space-between;
margin: 0.5em 16px 0;
}
.amp-wp-title {
color:#000;
display: block;
flex: 1 0 100%;
font-weight: 900;
margin: 0 0 .625em;
width: 100%;
font-size:23px;
}
.amp-wp-title-2 {
color: <?php echo sanitize_hex_color( $header_background_color ); ?>;
display: block;
flex: 1 0 100%;
font-weight: 900;
margin: 0 0 .625em;
width: 100%;
font-size:1.5em;
}
/* Article Meta */
.amp-wp-meta {
color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;
display: inline-block;
font-size: .875em;
line-height: 1.5em;
margin: 0 0 1.5em;
padding: 0;
vertical-align:top;
}
.amp-wp-posted-on {
text-align: right;
}
/* Article Content */
.amp-wp-article-content {
margin: 0 16px;
color:#000;
}
.amp-wp-article-content amp-img {
margin: 0 auto;
}
.amp-wp-article-content amp-img.alignright {
margin: 0 0 1em 16px;
}
.amp-wp-article-content amp-img.alignleft {
margin: 0 16px 1em 0;
}
/* AMP Media */
.amp-wp-article-content amp-carousel {
margin: 0 -16px 1.5em;
background-color:#000;
}
.amp-wp-article-content amp-carousel amp-img {
border: none;
}
.amp-carousel-slide > img {
object-fit: cover;
}
/*
html .amp-wp-article .amp-wp-article-content amp-carousel {height:inherit;}
html .amp-wp-article .amp-wp-article-content amp-carousel .amp-carousel-slide img {object-fit: cover;}
*/
amp-iframe,
amp-youtube,
amp-instagram,
amp-vine {
background: <?php echo sanitize_hex_color( $border_color ); ?>;
margin: 0 -16px 1.5em;
}
.amp-wp-iframe-placeholder {
background: <?php echo sanitize_hex_color( $border_color ); ?> url( <?php echo esc_url( $this->get( 'placeholder_image_url' ) ); ?> ) no-repeat center 40%;
background-size: 48px 48px;
min-height: 48px;
}
.wp-video {
margin: 0 0 15px
}
amp-iframe {
min-width:100%
}
.video, amp-video {
max-width:100%
}
amp-facebook-like {
margin:0 0 10px
}
amp-facebook-page {
max-width:100%
display:block;
height:auto;
}
.amp-wp-article-thumb amp-iframe,
.amp-wp-article-thumb amp-youtube,
.amp-wp-article-thumb amp-instagram,
.amp-wp-article-thumb amp-vine {
margin:0;
}
/* Article Footer Meta */
.amp-wp-article-footer .amp-wp-meta {
display: block;
}
.amp-wp-article-footer .amp-wp-meta a {
text-decoration:none;
}
.amp-wp-tax-category {
color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;
font-size: .875em;
line-height: 1.5em;
margin: 0.5em 0;
}
.amp-wp-tax-category a {
background-color: <?php echo sanitize_hex_color( $header_background_color ); ?>;
color:#fff;
text-decoration:none;
padding:1px 15px;
}
.amp-wp-tax-tag {
color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;
font-size: .875em;
line-height: 1.5em;
margin: 1.5em 16px;
}
.amp-wp-comments-link {
color: <?php echo sanitize_hex_color( $muted_text_color ); ?>;
font-size: .875em;
line-height: 1.5em;
text-align: center;
margin: 2.25em 0 1.5em;
}
.amp-wp-comments-link a {
border-style: solid;
border-color: <?php echo sanitize_hex_color( $border_color ); ?>;
border-width: 1px 1px 2px;
border-radius: 4px;
background-color: transparent;
color: <?php echo sanitize_hex_color( $link_color ); ?>;
cursor: pointer;
display: block;
font-size: 14px;
font-weight: 600;
line-height: 18px;
margin: 0 auto;
max-width: 200px;
padding: 11px 16px;
text-decoration: none;
width: 50%;
-webkit-transition: background-color 0.2s ease;
transition: background-color 0.2s ease;
}
<?php
$get_button_width = mwp_option('amp-scoial-btn-width');
$button_width = $get_button_width / 2 + 5;
$button_width_w = $get_button_width / 2 + 1;
?>
amp-social-share{background-size:<?php echo $button_width; ?>px auto;display: inline-block;}
amp-social-share[type="whatsapp"] {background-size: <?php echo $button_width_w; ?>px auto;display: inline-block;}
.post-source span{color:<?php echo sanitize_hex_color( $header_background_color ); ?>;}
.amp-ad-wrapper{width:100%;display:block;position:relative;margin-top:10px;margin-bottom:10px}
#site-menu{background-color:#fff;list-style:none;min-width:280px;position:relative}
#site-menu a{color:#333}
#site-menu a:hover{text-decoration:none}
.menu-section-list ul{list-style:none;margin:0;padding:0;min-width:280px}
.menu-section-list ul li{margin:0;padding:0;width:100%}
.menu-section-list a{text-decoration:none;border-bottom:1px solid #eee;display:block;padding:10px 20px}
.menu-section-list a:hover{background-color:#f9f9f9;text-decoration:none}
.amp-close-image{background:rgba(0,0,0,0) none repeat scroll 0 0;border:medium none;color:#999;cursor:pointer;float:left;font-size:21px;height:21px;line-height:21px;margin:8px;position:relative;z-index:999999}
#marker{position:absolute;top:0;width:0;height:0}
.menu-toggle{display:table-cell;border:0;margin:0;cursor:pointer;color:#fff;background:none;font-size:21px;vertical-align:middle;padding:0}
.scrollToTop {background-color:<?php echo sanitize_hex_color( $header_background_color ); ?>}
.scrollToTop{color:#fafafa;font-size:28px;box-shadow:0 1px 1.5px 0 rgba(0,0,0,.12),0 1px 1px 0 rgba(0,0,0,.24);width:40px;height:40px;border-radius:100px;border:0;outline:0;z-index:9999;right:5px;position:fixed;opacity:0;visibility:hidden;cursor:pointer;bottom:5px;line-height:0}
.scrollToTop i{vertical-align:top;margin-top:-4px}
.rtl .scrollToTop{right:auto;left:5px}
.footer-info{margin:0 auto;border-top:1px solid #eee;padding:10px 0 60px;display:block;text-align:center;background-color:#3a414c;color:#fff}
.follow-us{list-style:none;display:block;margin:20px 0;text-align:center;padding:0}
.follow-us li{display:inline-block;width:40px;height:40px;margin:0 2px}
.rtl .follow-us li{margin:0 2px}
.follow-us li.text{color:#fff;margin:0 auto;display:block;width:100%;padding:0;font-weight:700}
.rtl .follow-us li.text{margin:0 auto}
.follow-us a{display:inline-block;background-size:25px auto;text-indent:-99999px;width:40px;height:40px}
.footer-info .amp-social-social-links{background-position:50% center;background-repeat:no-repeat;background-size:30px auto;cursor:pointer;position:relative;text-decoration:none;border-radius:50%}
.copyright{font-size:1em;list-style:none;display:block;margin:30px 0 10px;text-align:center;padding:0}
.copyright a{color:#fff;text-decoration:none}
.copyright a:hover{text-decoration:underline}
.copyleft{font-size:1em;list-style:none;display:block;margin:0;text-align:center;padding:0}
.copyleft a{color:#fff;text-decoration:none}
.copyleft a:hover{text-decoration:underline}
.wp-block-embed{margin:0;width:100%;}
.wp-block-categories.alignleft{margin-right:2em}
.wp-block-categories.alignright{margin-left:2em;}
@media only screen and (max-width: 559px){
.amp-wp-article {padding:10px 0;}
}
.amp-wp-article-content figure.wp-caption {
display: block;
height: auto;
max-width: 100%;
}
.amp-wp-article-content figure.wp-caption amp-img {
width: 100%;
}
#referrer-notification a {color:#fff;}
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists