gui.css 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**
  2. * This file is part of HTML2print.
  3. *
  4. * HTML2print is free software: you can redistribute it and/or modify it under the
  5. * terms of the GNU Affero General Public License as published by the Free
  6. * Software Foundation, either version 3 of the License, or (at your option) any
  7. * later version.
  8. *
  9. * HTML2print is distributed in the hope that it will be useful, but WITHOUT ANY
  10. * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
  11. * PARTICULAR PURPOSE. See the GNU Affero General Public License for more
  12. * details.
  13. *
  14. * You should have received a copy of the GNU Affero General Public License along
  15. * with HTML2print. If not, see <http://www.gnu.org/licenses/>.
  16. */
  17. html,
  18. body {
  19. width: 100%;
  20. height: 100%;
  21. margin: 0;
  22. padding: 0; }
  23. #viewport {
  24. position: fixed;
  25. width: 100%;
  26. height: calc(100% - 25px);
  27. border: none; }
  28. #toolbar {
  29. background-color: black;
  30. position: fixed;
  31. height: 25px;
  32. bottom: 0em;
  33. left: 0;
  34. right: 0;
  35. color: white;
  36. font-family: sans;
  37. font-size: 11px;
  38. text-transform: uppercase;
  39. padding: 3px 0;
  40. box-sizing: border-box;
  41. display: flex;
  42. display: -webkit-flex;
  43. align-items: center;
  44. -webkit-align-items: center; }
  45. #toolbar > label {
  46. margin-left: 1.5em;
  47. margin-right: 3px; }
  48. #toolbar > input {
  49. border: 1px solid white;
  50. background-color: white;
  51. font-size: 11px;
  52. vertical-align: -2px; }
  53. #toolbar > input[type=number] {
  54. width: 50px;
  55. vertical-align: 0px;
  56. margin-left: 2px; }
  57. #toolbar > input:hover {
  58. cursor: pointer;
  59. background-color: yellow; }
  60. #toolbar > button {
  61. border: 1px solid white;
  62. background-color: white;
  63. font-size: 11px;
  64. text-transform: uppercase;
  65. margin-right: 1em;
  66. height: 19px; }
  67. #toolbar > button:hover {
  68. cursor: pointer;
  69. background-color: yellow; }
  70. #toolbar > .separator {
  71. content: " ";
  72. flex-grow: 2;
  73. -webkit-flex-grow: 2; }