editor.css 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. html,
  2. body {
  3. height: 100%;
  4. overflow: hidden;
  5. }
  6. body {
  7. margin: 0;
  8. display: flex;
  9. flex-direction: column;
  10. user-select: none;
  11. }
  12. .toolbar {
  13. background-color: #425c69;
  14. border-bottom: 1px solid #6d6d6d;
  15. }
  16. img[type=button] {
  17. margin-left: 1px;
  18. margin-right: 1px;
  19. margin-top: 5px;
  20. margin-bottom: 4px;
  21. opacity: .75;
  22. cursor: pointer;
  23. }
  24. img[type=button]:hover {
  25. opacity: 1;
  26. }
  27. img[type=button].edit-disabled,
  28. img[type=button].highlight-disabled,
  29. img[type=button].remove-highlight-disabled {
  30. opacity: .25;
  31. }
  32. img[type=button].edit-disabled:hover,
  33. img[type=button].highlight-disabled:hover,
  34. img[type=button].remove-highlight-disabled:hover {
  35. opacity: .5;
  36. }
  37. .buttons {
  38. display: inline-block;
  39. }
  40. .separator {
  41. display: inline-block;
  42. width: 2px;
  43. height: 22px;
  44. background-color: #9ab0bb;
  45. margin-left: 2px;
  46. margin-right: 2px;
  47. margin-top: 1px;
  48. margin-bottom: 4px;
  49. }
  50. .editor {
  51. flex: auto;
  52. border: none;
  53. }
  54. @media (orientation: landscape) {
  55. @media (max-width: 420px) {
  56. .separator {
  57. display: none;
  58. }
  59. }
  60. }
  61. @media (orientation: portrait) {
  62. body {
  63. flex-direction: row;
  64. }
  65. .toolbar {
  66. min-width: 32px;
  67. max-width: 32px;
  68. border-bottom: 0px;
  69. border-right: 1px solid #6d6d6d;
  70. }
  71. .separator {
  72. margin-left: 4px;
  73. width: 22px;
  74. height: 2px;
  75. }
  76. img[type="button"] {
  77. margin-left: 4px;
  78. margin-bottom: 1px;
  79. }
  80. @media (max-height: 495px) {
  81. .separator {
  82. display: none;
  83. }
  84. }
  85. }