editor.css 1.6 KB

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