MainLayout.razor.css 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. .page {
  2. position: relative;
  3. display: flex;
  4. flex-direction: column;
  5. }
  6. .main {
  7. flex: 1;
  8. /*background-color: #B5CBD8;*/
  9. background-color: #F4F5F7;
  10. }
  11. .sidebar {
  12. /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, rgba(181, 203, 215, 1) 70%);*/
  13. /*background-color: rgba(181, 203, 215, 1);*/
  14. /*background-image: linear-gradient(180deg, rgb(59, 72, 78) 0%, rgb(31, 38, 33) 100%);*/
  15. background-color: #3B484E;
  16. }
  17. .dot-green {
  18. border-radius: 5px;
  19. background-color: #00ff90;
  20. margin: 10px;
  21. width: 10px;
  22. height: 10px;
  23. }
  24. .dot-red {
  25. border-radius: 5px;
  26. background-color: #ff0000;
  27. margin: 10px;
  28. width: 10px;
  29. height: 10px;
  30. }
  31. .top-row {
  32. /*background-color: #f7f7f7;*/
  33. /*background-color: rgba(181, 203, 215, 1);*/
  34. background-color: #F4F5F7;
  35. border-bottom: 5px solid #3B484E;
  36. justify-content: flex-end;
  37. height: 5.5rem;
  38. display: flex;
  39. align-items: center;
  40. }
  41. .top-row ::deep a, .top-row .btn-link {
  42. white-space: nowrap;
  43. margin-left: 1.5rem;
  44. }
  45. .top-row a:first-child {
  46. overflow: hidden;
  47. text-overflow: ellipsis;
  48. }
  49. @media (max-width: 640.98px) {
  50. .top-row:not(.auth) {
  51. display: none;
  52. }
  53. .top-row.auth {
  54. justify-content: space-between;
  55. }
  56. .top-row a, .top-row .btn-link {
  57. margin-left: 0;
  58. }
  59. }
  60. @media (min-width: 641px) {
  61. .page {
  62. flex-direction: row;
  63. }
  64. .sidebar {
  65. width: 250px;
  66. height: 100vh;
  67. position: sticky;
  68. top: 0;
  69. }
  70. .top-row {
  71. position: sticky;
  72. top: 0;
  73. z-index: 1;
  74. }
  75. .main > div {
  76. padding-left: 2rem !important;
  77. padding-right: 1.5rem !important;
  78. }
  79. }