@font-face {
font-family: 'OpenSans';
src: local("OpenSans");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-Italic");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-Bold");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'OpenSans';
src: local("OpenSans-BoldItalic");
font-weight: bold;
font-style: italic;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather Light");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-Italic");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-Bold");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'Merriweather';
src: local("Merriweather-BoldItalic");
font-weight: bold;
font-style: italic;
}
* {
outline: 0px solid transparent;
-webkit-tap-highlight-color: rgba(0,0,0,0);
-webkit-touch-callout: none;
}
html {
padding:0;
box-sizing: border-box;
}
html, body {
margin:0;
font-family: OpenSans, 'Source Sans Pro', 'Lucida Grande', sans-serif;
font-weight: normal;
font-size:1em;
color:#2D2D2D;
}
body {
padding-left:5px;
padding-right:5px;
padding-top: 0px;
padding-bottom: 0px;
overflow-y: auto;
min-height: 100vh;
word-wrap: break-word;
}
p {
line-height: 24px;
margin-top: 0px;
margin-bottom: 15px; /*24*/
}
hr {
border: none;
height: 1px;
color: #E9EFF3;
background-color: #E9EFF3;
width: 100%;
}
img {
width: auto;
height: auto;
margin: 0px 0 0px 0;
min-width: 30px;
min-height: 30px;
max-width: 100%;
opacity:1;
}
video {
width: auto;
height: auto;
margin: 0px 0px 0px 0px;
min-width: 30px;
min-height: 30px;
max-width: 100%;
opacity:1;
background:#2e4453
}
a {
color: #0087be;
text-decoration: none;
}
blockquote {
background: #e8f0f5;
padding: 10px 10px 10px 20px;
margin: 10px 0 10px 0;
border-radius: 2px;
}
img.zs_active {
border: 2px dashed #000;
}
img.uploading {
opacity:0.3;
-webkit-user-select: none;
}
img.failed {
-webkit-filter: blur(4px) grayscale(0.3);
margin:-1px;
padding:1px;
z-index:-1;
-webkit-user-select: none;
overflow: hidden;
}
span.img_container {
position: relative;
display: inline-block;
-webkit-user-select: none;
}
span.img_container.failed {
overflow: hidden;
}
span.img_container.failed::before {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
left:0%;
text-align: center;
color: white;
width:100%;
height:85px;
opacity:1;
z-index:10;
-webkit-user-select: none;
pointer-events: none;
content:"";
background:url('data:image/svg+xml;utf8,') no-repeat center top;
}
span.img_container.failed.largeFail::before {
height:170px;
background:url('data:image/svg+xml;utf8,') no-repeat center top;
}
span.img_container.failed::after {
position: absolute;
padding:27px 0 0 0;
top:50%;
left:0%;
font-size:20px;
font-weight:600;
text-align: center;
text-shadow: 0 1px 2px rgba(0,0,0,.06);
background:clear;
color: white;
width:100%;
height:50%;
-webkit-user-select: none;
pointer-events: none;
content:attr(data-failed);
}
span.img_container.failed.largeFail::after {
padding:62px 0 0 0;
}
span.img_container.failed.smallFail::after {
content:attr(data-failed);
}
video.uploading {
opacity:0.3;
-webkit-user-select: none;
}
video.failed {
-webkit-filter: blur(4px) grayscale(0.3);
margin:-1px;
padding:1px;
z-index:-1;
-webkit-user-select: none;
overflow: hidden;
}
span.video_container {
position: relative;
display: inline-block;
-webkit-user-select: none;
}
span.video_container.failed {
overflow: hidden;
}
span.video_container.failed::before {
position: absolute;
top: 50%;
-webkit-transform: translateY(-50%);
left:0%;
text-align: center;
color: white;
width:100%;
height:85px;
opacity:1;
z-index:10;
-webkit-user-select: none;
pointer-events: none;
content:"";
background:url('data:image/svg+xml;utf8,') no-repeat center top;
}
span.video_container.failed.largeFail::before {
height:170px;
background:url('data:image/svg+xml;utf8,') no-repeat center top;
}
span.video_container.failed::after {
position: absolute;
padding:27px 0 0 0;
top:50%;
left:0%;
font-size:20px;
font-weight:600;
text-align: center;
text-shadow: 0 1px 2px rgba(0,0,0,.06);
background:clear;
color: white;
width:100%;
height:50%;
-webkit-user-select: none;
pointer-events: none;
content:attr(data-failed);
}
span.video_container.failed.largeFail::after {
padding:62px 0 0 0;
}
span.video_container.failed.smallFail::after {
content:attr(data-failed);
}
/* Image and video editing overlay styles */
.edit-container {
position: relative;
display: inline-block;
-webkit-user-select: none;
overflow: hidden;
}
/* life 修改, contenteditable 才显示edit */
.edit-container .edit-content {
display: none;
}
#zss_field_content[contenteditable=true] .edit-container .edit-content {
display: block;
}
#zss_field_content[contenteditable=true] .edit-container img {
/*-webkit-filter: blur(4px) grayscale(0.3);*/
margin:-1px; /*tiny margin to keep crisp edges when blurring the image*/
padding:1px;
}
#zss_field_content[contenteditable=true] .edit-container video {
/*-webkit-filter: blur(4px) grayscale(0.3);*/
margin:-1px; /*tiny margin to keep crisp edges when blurring the image*/
padding:1px;
}
/* default. use when images are > 100px w/h */
#zss_field_content[contenteditable=true] .edit-container .edit-overlay {
/* 都不展示 */
display: none;
position: absolute;
width:100%;
top: 50%;
-webkit-transform: translateY(-50%);
width:100%;
z-index: 100;
height:95px;
/* edit pencil */
background:url('data:image/svg+xml;utf8,') no-repeat center top;
min-height: 95px;
min-width: 60px;
}
/* use when the image is < 100px w/h */
#zss_field_content[contenteditable=true] .edit-container.small .edit-overlay {
height:27px;
min-height: 27px;
min-width: 27px;
background:url('data:image/svg+xml;utf8,') no-repeat center top;
}
.edit-container.small .edit-content {
display:none;
}
.edit-container .edit-content {
font-size:20px;
font-weight:600;
text-align: center;
text-shadow: 0px 1px 2px rgba(0,0,0,.06);
color: white;
-webkit-user-select: none;
pointer-events: none;
position: absolute;
bottom: 0;
width:100%;
}
progress.wp_media_indicator {
/* Reset the default appearance */
-webkit-appearance: none;
-webkit-user-select: none;
appearance: none;
position: absolute;
top:-2pt; height:2pt;
left:0px; width:100%;
}
progress.wp_media_indicator::-webkit-progress-bar {
background-color: rgba(232,240,247,1.0);
}
progress.wp_media_indicator::-webkit-progress-value {
background-color:rgba(0,135,190,1.0);
border-radius: 0 2pt 2pt 0;
}
progress.wp_media_indicator.failed::-webkit-progress-bar {
background-color: rgba(232,232,232,1.0);
}
progress.wp_media_indicator.failed::-webkit-progress-value {
background-color:rgba(135,135,135,1.0);
border-radius: 0 2pt 2pt 0;
}
div.field[contenteditable] {
padding: 15px 10px 5px 10px;
box-sizing: border-box;
font-size: 16px;
}
div.field[placeholderText][contenteditable=true]:empty:before {
content: attr(placeholderText);
transition: 0.2s ease opacity;
}
div.field[placeholderText][contenteditable=true]:empty:focus:before {
opacity: 0.6;
}
#separatorDiv {
-webkit-user-select: none;
padding-left: 10px;
padding-right: 10px;
}
#zss_field_title {
box-sizing: border-box;
min-height: 42px;
}
#zss_field_title, #zss_field_title p {
font-family:'Merriweather', sans-serif;
font-weight: bold;
font-size: 18px;
margin-bottom: 0px;
}
#zss_field_content {
margin-bottom: 10px;
overflow: auto;
}
.wp-temp[data-wp-temp="caption"] {
-webkit-user-select: none;
}
.wp-caption {
padding: 0px 10px 10px 0px;
font-size: 75%;
font-style: italic;
cursor: none;
}
.ipad-body {
padding-left: 80px;
padding-right: 80px;
}
.ipad-body #zss_field_title {
font-size: 1.3em;
}
.ipad-body #ipad_field_content {
font-size: 1.125em;
line-height: 28px;
}
blockquote p:last-child {
margin: 0;
}
/* pre */
pre {
text-align: start;
border: 0;
padding: 10px 20px;
}
pre{
padding: 8px;
background-color: #f7f7f9;
border: 1px solid #e1e1e8;
border-radius: 3px;
display: block;
}
pre {
white-space: pre-wrap;
white-space: -moz-pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;
}