integrated last medor boilerplate from osp
This commit is contained in:
Vendored
+34
-16
@@ -1,9 +1,31 @@
|
||||
/**
|
||||
* This file is part of HTML2print.
|
||||
*
|
||||
* HTML2print is free software: you can redistribute it and/or modify it under the
|
||||
* terms of the GNU Affero General Public License as published by the Free
|
||||
* Software Foundation, either version 3 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* HTML2print is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
||||
* PARTICULAR PURPOSE. See the GNU Affero General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License along
|
||||
* with HTML2print. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
html,
|
||||
body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0; }
|
||||
|
||||
#viewport {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 25px;
|
||||
left: 0;
|
||||
right: 0; }
|
||||
width: 100%;
|
||||
height: calc(100% - 25px);
|
||||
border: none; }
|
||||
|
||||
#toolbar {
|
||||
background-color: black;
|
||||
@@ -17,31 +39,32 @@
|
||||
font-size: 11px;
|
||||
text-transform: uppercase;
|
||||
padding: 3px 0;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
display: -webkit-flex;
|
||||
align-items: center;
|
||||
-webkit-align-items: center; }
|
||||
|
||||
label {
|
||||
#toolbar > label {
|
||||
margin-left: 1.5em;
|
||||
margin-right: 3px; }
|
||||
|
||||
input {
|
||||
#toolbar > input {
|
||||
border: 1px solid white;
|
||||
background-color: white;
|
||||
font-size: 11px;
|
||||
vertical-align: -2px; }
|
||||
|
||||
input[type=number] {
|
||||
#toolbar > input[type=number] {
|
||||
width: 50px;
|
||||
vertical-align: 0px;
|
||||
margin-left: 2px; }
|
||||
|
||||
input:hover {
|
||||
#toolbar > input:hover {
|
||||
cursor: pointer;
|
||||
background-color: yellow; }
|
||||
|
||||
button {
|
||||
#toolbar > button {
|
||||
border: 1px solid white;
|
||||
background-color: white;
|
||||
font-size: 11px;
|
||||
@@ -49,16 +72,11 @@ button {
|
||||
margin-right: 1em;
|
||||
height: 19px; }
|
||||
|
||||
button:hover {
|
||||
#toolbar > button:hover {
|
||||
cursor: pointer;
|
||||
background-color: yellow; }
|
||||
|
||||
.separator {
|
||||
#toolbar > .separator {
|
||||
content: " ";
|
||||
flex-grow: 2;
|
||||
-webkit-flex-grow: 2; }
|
||||
|
||||
iframe {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border: 0; }
|
||||
|
||||
Reference in New Issue
Block a user