HyperCube.styles.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. /* _content/HyperCube/Shared/MainLayout.razor.rz.scp.css */
  2. .page[b-jz22dumwj8] {
  3. position: relative;
  4. display: flex;
  5. flex-direction: column;
  6. }
  7. .main[b-jz22dumwj8] {
  8. flex: 1;
  9. background-color: #B5CBD8;
  10. }
  11. .sidebar[b-jz22dumwj8] {
  12. /*background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
  13. background-color: rgba(181, 203, 215, 1);
  14. }
  15. .top-row[b-jz22dumwj8] {
  16. /*background-color: #f7f7f7;*/
  17. background-color: rgba(181, 203, 215, 1);
  18. border-bottom: 1px solid #d6d5d5;
  19. justify-content: flex-end;
  20. height: 3.5rem;
  21. display: flex;
  22. align-items: center;
  23. }
  24. .top-row[b-jz22dumwj8] a, .top-row .btn-link[b-jz22dumwj8] {
  25. white-space: nowrap;
  26. margin-left: 1.5rem;
  27. }
  28. .top-row a:first-child[b-jz22dumwj8] {
  29. overflow: hidden;
  30. text-overflow: ellipsis;
  31. }
  32. @media (max-width: 640.98px) {
  33. .top-row:not(.auth)[b-jz22dumwj8] {
  34. display: none;
  35. }
  36. .top-row.auth[b-jz22dumwj8] {
  37. justify-content: space-between;
  38. }
  39. .top-row a[b-jz22dumwj8], .top-row .btn-link[b-jz22dumwj8] {
  40. margin-left: 0;
  41. }
  42. }
  43. @media (min-width: 641px) {
  44. .page[b-jz22dumwj8] {
  45. flex-direction: row;
  46. }
  47. .sidebar[b-jz22dumwj8] {
  48. width: 250px;
  49. height: 100vh;
  50. position: sticky;
  51. top: 0;
  52. }
  53. .top-row[b-jz22dumwj8] {
  54. position: sticky;
  55. top: 0;
  56. z-index: 1;
  57. }
  58. .main > div[b-jz22dumwj8] {
  59. padding-left: 2rem !important;
  60. padding-right: 1.5rem !important;
  61. }
  62. }
  63. /* _content/HyperCube/Shared/NavMenu.razor.rz.scp.css */
  64. .navbar-toggler[b-4ea67val6h] {
  65. background-color: rgba(255, 255, 255, 0.1);
  66. }
  67. .top-row[b-4ea67val6h] {
  68. height: 3.5rem;
  69. background-color: rgba(0,0,0,0.4);
  70. }
  71. .navbar-brand[b-4ea67val6h] {
  72. font-size: 1.1rem;
  73. }
  74. .oi[b-4ea67val6h] {
  75. width: 2rem;
  76. font-size: 1.1rem;
  77. vertical-align: text-top;
  78. top: -2px;
  79. }
  80. .nav-item[b-4ea67val6h] {
  81. font-size: 0.9rem;
  82. padding-bottom: 0.5rem;
  83. }
  84. .nav-item:first-of-type[b-4ea67val6h] {
  85. padding-top: 1rem;
  86. }
  87. .nav-item:last-of-type[b-4ea67val6h] {
  88. padding-bottom: 1rem;
  89. }
  90. .nav-item[b-4ea67val6h] a {
  91. color: #d7d7d7;
  92. border-radius: 4px;
  93. height: 3rem;
  94. display: flex;
  95. align-items: center;
  96. line-height: 3rem;
  97. }
  98. .nav-item[b-4ea67val6h] a.active {
  99. background-color: rgba(255,255,255,0.25);
  100. color: white;
  101. }
  102. .nav-item[b-4ea67val6h] a:hover {
  103. background-color: rgba(255,255,255,0.1);
  104. color: white;
  105. }
  106. @media (min-width: 641px) {
  107. .navbar-toggler[b-4ea67val6h] {
  108. display: none;
  109. }
  110. .collapse[b-4ea67val6h] {
  111. /* Never collapse the sidebar for wide screens */
  112. display: block;
  113. }
  114. }