Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

main.css 2.0 KiB

2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
2 lat temu
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. :root {
  2. --primary-bg: white;
  3. --secondary-bg: #F7F9FA;
  4. --text: #4C555E;
  5. --text-light: #1D262E;
  6. --text-lighter: #28323B;
  7. --outline: #DFE3E8;
  8. }
  9. body {
  10. margin: 0;
  11. }
  12. h2 {
  13. color: var(--text);
  14. }
  15. main .panel {
  16. height: 100%;
  17. width: 100%;
  18. position: absolute;
  19. display: flex;
  20. }
  21. menu.sidebar {
  22. height: calc(100% - 50px);
  23. position: relative;
  24. margin: 0;
  25. padding: 25px 0px;
  26. background: var(--secondary-bg);
  27. list-style: none;
  28. font-size: 18px;
  29. display: flex;
  30. flex-direction: column;
  31. gap: 20px;
  32. }
  33. menu.sidebar a {
  34. color: var(--text);
  35. display: flex;
  36. align-items: center;
  37. gap: 10px;
  38. text-decoration: none;
  39. padding: 10px 10px;
  40. }
  41. menu.sidebar a.active {
  42. background: var(--primary-bg);
  43. }
  44. /* The user avatar */
  45. menu.sidebar img {
  46. width: 50px;
  47. height: 50px;
  48. margin: 0 auto;
  49. border-radius: 50%;
  50. }
  51. menu.sidebar a:hover {
  52. color: var(--text-light);
  53. cursor: pointer;
  54. }
  55. menu.sidebar svg {
  56. height: 24px;
  57. width: 24px;
  58. }
  59. .spinner {
  60. animation: rotate 2s linear infinite;
  61. z-index: 2;
  62. top: 50%;
  63. left: 50%;
  64. margin: -25px 0 0 -25px;
  65. width: 50px;
  66. height: 50px;
  67. }
  68. .spinner .path {
  69. stroke: var(--text);
  70. stroke-linecap: round;
  71. animation: dash 1.5s ease-in-out infinite;
  72. }
  73. @keyframes rotate {
  74. 100% {
  75. transform: rotate(360deg);
  76. }
  77. }
  78. @keyframes dash {
  79. 0% {
  80. stroke-dasharray: 1, 150;
  81. stroke-dashoffset: 0;
  82. }
  83. 50% {
  84. stroke-dasharray: 90, 150;
  85. stroke-dashoffset: -35;
  86. }
  87. 100% {
  88. stroke-dasharray: 90, 150;
  89. stroke-dashoffset: -124;
  90. }
  91. }
  92. .page.loading {
  93. width: 100%;
  94. display: flex;
  95. justify-content: center;
  96. align-items: center;
  97. }
  98. .page {
  99. padding: 0 2%;
  100. width: 100%;
  101. }
  102. .page section {
  103. margin-top: 50px;
  104. margin: auto;
  105. max-width: 700px;
  106. }
  107. #home.page section:first-of-type {
  108. margin-top: 100px;
  109. }
  110. #home .announce {
  111. /* background: grey; */
  112. min-height: 150px;
  113. border: 1px solid var(--outline);
  114. /* border-radius: 4px; */
  115. }
  116. .page section {
  117. color: var(--text);
  118. }
  119. .page section h3 {
  120. margin-left: 10px;
  121. color: var(--text-lighter);
  122. }