cops/resources/monocle/styles/monocore.css

196 lines
7.7 KiB
CSS
Raw Permalink Normal View History

/*===========================================================================
This is a base-level Monocle stylesheet. It assumes no class-prefix has been
given to the Reader during initialisation - if one has, you can copy and
modify this stylesheet accordingly.
---------------------------------------------------------------------------*/
/* The reader object that holds pretty much everything.
* (A direct child of the element passed to reader initialisation). */
div.monelem_container {
background-color: black;
}
/* The div that mimics a leaf of paper in a book. */
div.monelem_page {
background: white;
top: 0;
left: 0;
bottom: 3px;
right: 5px;
border-right: 1px solid #999;
}
/* The div within the page that determines page margins. */
div.monelem_sheaf {
top: 1em;
left: 1em;
bottom: 1em;
right: 1em;
}
/* The iframe within the page that loads the content of the book. */
div.monelem_component {
}
/* A panel that sits above the entire reader object, holding controls. */
div.monelem_overlay {
}
/* A full-size panel to display an announcement (iframe or div) */
div.monelem_billboard_container {
background: #FFF;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 2000;
-webkit-transform: scale(0);
-moz-transform: scale(0);
transform: scale(0);
-webkit-transform-origin: -0 -0;
-moz-transform-origin: -0 -0;
transform-origin: -0 -0;
}
.monelem_billboard_inner {
height: 100%;
width: 100%;
border: none;
overflow: auto;
/*-webkit-overflow-scrolling: touch;*/ /* This is sexy, but crashy. */
}
div.monelem_billboard_inner {
min-width: 100%;
min-height: 100%;
text-align: center;
vertical-align: middle;
display: -webkit-box;
-webkit-box-pack: center;
-webkit-box-align: center;
}
div.monelem_billboard_close {
position: absolute;
top: 0;
right: 0;
width: 50px;
height: 30px;
color: white;
background: #C00;
cursor: pointer;
border-bottom-left-radius: 4px;
text-shadow: 1px 1px 1px #900;
font: 9pt Helvetica Neue, Helvetica, sans-serif;
}
div.monelem_billboard_close:after {
display: block;
content: 'Close';
width: 100%;
line-height: 30px;
text-align: center;
}
div.monelem_book_fatality {
font-family: Helvetica Neue, Helvetica, sans-serif;
margin: 0 auto;
max-width: 75%;
}
div.monelem_book_fatality p {
line-height: 1.4;
}
/*===========================================================================
PANELS
---------------------------------------------------------------------------*/
.monelem_panels_imode_panel {
background: rgba(255,255,255,0.7);
opacity: 0;
}
.monelem_panels_imode_backwardsPanel {
-webkit-box-shadow: 1px 1px 3px #777;
-moz-box-shadow: 1px 1px 3px #777;
box-shadow: 1px 1px 3px #777;
}
.monelem_panels_imode_forwardsPanel {
-webkit-box-shadow: -1px 1px 3px #777;
-moz-box-shadow: -1px 1px 3px #777;
box-shadow: -1px 1px 3px #777;
}
.monelem_panels_imode_centralPanel {
}
.monelem_panels_imode_toggleIcon {
position: absolute;
right: 0;
bottom: 0;
width: 50px;
height: 50px;
background-repeat: no-repeat;
background-position: center center;
}
/* If you modify this you could significantly change the way panels work. */
div.monelem_controls_panel_expanded {
left: 0 !important;
width: 100% !important;
z-index: 1001 !important;
}
/*===========================================================================
Flippers
---------------------------------------------------------------------------*/
div.monelem_flippers_slider_wait {
position: absolute;
right: 0px;
top: 0px;
width: 92px;
height: 112px;
background-repeat: no-repeat;
-webkit-background-size: 100%;
-moz-background-size: 100%;
background-size: 100%;
}
@media screen and (max-width: 640px) {
div.monelem_flippers_slider_wait {
width: 61px;
height: 75px;
}
}
/*===========================================================================
DATA URIs
These are data-uri packed images, inlined for loading speed and simplicity.
Placed at the end of this file because they're visually noisy...
---------------------------------------------------------------------------*/
div.monelem_panels_imode_toggleIcon {
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB8AAAAaCAYAAABPY4eKAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1%2B%2FAAAABV0RVh0Q3JlYXRpb24gVGltZQAzMC82LzEwBMfmVwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNXG14zYAAANYSURBVEiJtdZbiNVVFMfxj8cx85JkIGlqSESgOGA9WIQgGmTRUyRaYFJDnUWYGV2eyiCpkIbEKJI1UqYvUkmFDxFBgpghonajSDCM7hcxLSnt4ulh%2F2c4HufMTOH8Xs75%2F%2Ffa67v3%2Bu%2B91h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