Content.less 893 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. @import '../cfg.less';
  2. .root {
  3. position: fixed;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. left: @panel-width;
  8. height: 100%;
  9. }
  10. .inform {
  11. position: absolute;
  12. z-index: 100;
  13. top: 5px;
  14. right: 10px;
  15. opacity: 0.5;
  16. background: #fff;
  17. i {
  18. display: none;
  19. color: #666;
  20. margin-left: 5px;
  21. &.show {
  22. display: inline-block;
  23. }
  24. }
  25. span {
  26. display: none;
  27. &.show {
  28. display: inline-block;
  29. }
  30. }
  31. }
  32. .errorMessage {
  33. display: none;
  34. position: absolute;
  35. z-index: 101;
  36. top: 0;
  37. left: 0;
  38. right: 0;
  39. padding: 4px 40px;
  40. text-align: center;
  41. background: rgba(153, 0, 0, 0.5);
  42. color: #fff;
  43. transition: 0.5s;
  44. &.show {
  45. display: block;
  46. }
  47. }
  48. .search-bar-wrapper {
  49. position: fixed;
  50. left: @panel-width;
  51. right: 0;
  52. bottom: 0;
  53. background-color: #fff;
  54. z-index: 10;
  55. }
  56. :global(.platform-win32) {
  57. .inform {
  58. right: 20px;
  59. }
  60. }