mirror of
https://github.com/flynx/PortableMag.git
synced 2025-10-28 18:50:08 +00:00
216 lines
4.3 KiB
CSS
Executable File
216 lines
4.3 KiB
CSS
Executable File
/**********************************************************************
|
|
*
|
|
**********************************************************************/
|
|
|
|
.current-page-indicator {
|
|
display: none;
|
|
position: absolute;
|
|
box-sizing:border-box;
|
|
-moz-box-sizing:border-box;
|
|
-webkit-box-sizing:border-box;
|
|
opacity: 0.8;
|
|
|
|
-webkit-transition: all 0.3s ease;
|
|
-moz-transition: all 0.3s ease;
|
|
-o-transition: all 0.3s ease;
|
|
-ms-transition: all 0.3s ease;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.editor .current-page-indicator {
|
|
display: block;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator {
|
|
display: none;
|
|
}
|
|
|
|
.editor .current-page-indicator .button {
|
|
position: relative;
|
|
display: block;
|
|
width: 100px;
|
|
height: 100px;
|
|
|
|
margin: 15px;
|
|
|
|
font-size: 50px;
|
|
|
|
background: white;
|
|
color: black;
|
|
border: solid black 5px;
|
|
border-radius: 50%;
|
|
|
|
box-shadow: 5px 5px 50px 0px black;
|
|
}
|
|
.editor .current-page-indicator .button:hover {
|
|
box-shadow: 10px 10px 55px 0px black;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator .button {
|
|
width: 50px;
|
|
height: 50px;
|
|
|
|
border: solid black 2px;
|
|
/*border-radius:25px;*/
|
|
font-size: 25px;
|
|
}
|
|
|
|
.editor .current-page-indicator .button.remove {
|
|
position: absolute;
|
|
background: red;
|
|
color: white;
|
|
font-size: 72px;
|
|
margin: -50px;
|
|
top: 0px;
|
|
right: 0px;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator .button.remove {
|
|
font-size: 36px;
|
|
margin: -25px;
|
|
margin: 15px;
|
|
}
|
|
|
|
.editor .current-page-indicator .left-toolbar,
|
|
.editor .current-page-indicator .right-toolbar {
|
|
position: absolute;
|
|
|
|
top: 30%;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator .left-toolbar,
|
|
.editor.page-fit-to-viewer .current-page-indicator .right-toolbar {
|
|
top: 40%;
|
|
}
|
|
.editor .current-page-indicator .left-toolbar {
|
|
left: 0px;
|
|
margin-left: -60px;
|
|
}
|
|
.editor .current-page-indicator .right-toolbar {
|
|
right: 0px;
|
|
margin-right: -60px;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator .left-toolbar{
|
|
margin: 0px;
|
|
}
|
|
.editor.page-fit-to-viewer .current-page-indicator .right-toolbar {
|
|
margin: 0px;
|
|
}
|
|
|
|
.editor .page.cover:after {
|
|
display: block;
|
|
position: absolute;
|
|
vertical-align: bottom;
|
|
text-align: left;
|
|
|
|
content: "Cover";
|
|
background: red;
|
|
color: white;
|
|
font-size: 50px;
|
|
width: 100%;
|
|
height: 60px;
|
|
bottom: 0px;
|
|
|
|
opacity: 0.2;
|
|
}
|
|
.editor .article {
|
|
margin-left: 40px;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.editor .article:before {
|
|
display: block;
|
|
vertical-align: bottom;
|
|
position: absolute;
|
|
content: "Article";
|
|
color: white;
|
|
font-size: 50px;
|
|
bottom: -60px;
|
|
}
|
|
.editor .article:nth-child(odd) {
|
|
border-bottom: solid 50px gray;
|
|
}
|
|
.editor .article:nth-child(even) {
|
|
border-bottom: solid 50px silver;
|
|
}
|
|
|
|
|
|
.editor-status {
|
|
display: block;
|
|
position: fixed;
|
|
top: 35px;
|
|
left: -200px;
|
|
z-index: 99999;
|
|
padding: 5px;
|
|
padding-left: 60px;
|
|
padding-right: 15px;
|
|
|
|
background: red;
|
|
color: white;
|
|
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
|
|
box-shadow: 5px 5px 25px 0px black;
|
|
|
|
cursor: hand;
|
|
|
|
-webkit-transform: skewX(10deg);
|
|
-moz-transform: skewX(10deg);
|
|
-o-transform: skewX(10deg);
|
|
-ms-transform: skewX(10deg);
|
|
transform: skewX(10deg);
|
|
|
|
-webkit-transition: all 0.3s ease;
|
|
-moz-transition: all 0.3s ease;
|
|
-o-transition: all 0.3s ease;
|
|
-ms-transition: all 0.3s ease;
|
|
transition: all 0.3s ease;
|
|
}
|
|
.editor-status:before {
|
|
content: "Editor Mode";
|
|
display: block;
|
|
position: absolute;
|
|
top: -1px;
|
|
left: 0px;
|
|
z-index: 99998;
|
|
padding: 5px;
|
|
padding-left: 60px;
|
|
padding-right: 15px;
|
|
|
|
background: red;
|
|
|
|
cursor: hand;
|
|
|
|
-webkit-transform: skewX(-30deg);
|
|
-moz-transform: skewX(-30deg);
|
|
-o-transform: skewX(-30deg);
|
|
-ms-transform: skewX(-30deg);
|
|
transform: skewX(-30deg);
|
|
}
|
|
|
|
|
|
.editor .editor-status {
|
|
display: block;
|
|
left: -30px;
|
|
}
|
|
.editor.inline-editor-mode .editor-status {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
|
|
/* allways show captions in editor's full page mode */
|
|
.full-page-view-mode.editor .current.page.image-fit .caption,
|
|
.full-page-view-mode.editor .current.page.image-fit-height .caption {
|
|
opacity: 1;
|
|
height: auto;
|
|
min-height: 30px;
|
|
}
|
|
|
|
|
|
/* the captions are always dark so we need to keep them correctly
|
|
* colored here... */
|
|
.caption ::selection {
|
|
background: yellow;
|
|
color: white;
|
|
}
|
|
|
|
|
|
|
|
/*********************************************************************/
|