gui.scss 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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. }
  24. #viewport {
  25. position: fixed;
  26. width: 100%;
  27. height: calc(100% - 25px);
  28. border: none;
  29. }
  30. #toolbar {
  31. background-color: black;
  32. position: fixed;
  33. height: 25px;
  34. bottom: 0em;
  35. left: 0;
  36. right: 0;
  37. color: white;
  38. font-family: sans;
  39. font-size: 11px;
  40. text-transform: uppercase;
  41. padding: 3px 0;
  42. box-sizing: border-box;
  43. display: flex;
  44. display: -webkit-flex;
  45. align-items: center;
  46. -webkit-align-items: center;
  47. }
  48. #toolbar > label {
  49. margin-left: 1.5em;
  50. margin-right: 3px;
  51. }
  52. #toolbar > input {
  53. border: 1px solid white;
  54. background-color: white;
  55. font-size: 11px;
  56. vertical-align: -2px;
  57. }
  58. #toolbar > input[type=number]{
  59. width: 50px;
  60. vertical-align: 0px;
  61. margin-left: 2px;
  62. }
  63. #toolbar > input:hover {
  64. cursor: pointer;
  65. background-color: yellow;
  66. }
  67. #toolbar > button {
  68. border: 1px solid white;
  69. background-color: white;
  70. font-size: 11px;
  71. text-transform: uppercase;
  72. margin-right: 1em;
  73. height: 19px;
  74. }
  75. #toolbar > button:hover {
  76. cursor: pointer;
  77. background-color: yellow;
  78. }
  79. #toolbar > .separator {
  80. content: " ";
  81. flex-grow: 2;
  82. -webkit-flex-grow: 2;
  83. }