Background.less 916 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. @import "~assets/less/variable";
  2. .container {
  3. background: @secondary-color;
  4. position: fixed;
  5. top: 0;
  6. left: 0;
  7. right: 0;
  8. bottom: 0;
  9. display: flex;
  10. flex-direction: column;
  11. justify-content: center;
  12. align-items: center;
  13. &.share {
  14. background: linear-gradient(135deg, @primary-color, @secondary-color) transparent;
  15. .window {
  16. background-color: transparent;
  17. }
  18. }
  19. .background {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. display: block;
  24. }
  25. .logo {
  26. width: 200px;
  27. height: 40px;
  28. position: relative;
  29. z-index: 1;
  30. }
  31. }
  32. @media (max-width: 768px) {
  33. .container {
  34. .background {
  35. display: none;
  36. }
  37. .window {
  38. width: 80%;
  39. padding-top: 32px;
  40. margin-bottom: 0;
  41. }
  42. }
  43. }
  44. .version {
  45. position: absolute;
  46. bottom: 32px;
  47. right: 32px;
  48. color: @white;
  49. font-weight: bold;
  50. .versionerror {
  51. color: orangered;
  52. }
  53. }