Skouter mortgage estimates. Web application with view written in PHP and Vue, but controller and models in Go.
 
 
 
 
 
 

110 行
1.5 KiB

  1. :root {
  2. --primary-bg: white;
  3. --secondary-bg: #F7F9FA;
  4. --text: #4C555E;
  5. --text-light: #1D262E;
  6. }
  7. body {
  8. margin: 0;
  9. }
  10. main {
  11. /* background: blue; */
  12. }
  13. main .panel {
  14. height: 100%;
  15. width: 100%;
  16. position: absolute;
  17. display: flex;
  18. }
  19. menu.sidebar {
  20. height: calc(100% - 50px);
  21. position: relative;
  22. margin: 0;
  23. padding: 25px 0px;
  24. background: var(--secondary-bg);
  25. list-style: none;
  26. font-size: 18px;
  27. display: flex;
  28. flex-direction: column;
  29. gap: 20px;
  30. }
  31. menu.sidebar a {
  32. color: var(--text);
  33. display: flex;
  34. align-items: center;
  35. gap: 10px;
  36. text-decoration: none;
  37. padding: 10px 10px;
  38. }
  39. menu.sidebar a.active {
  40. background: var(--primary-bg);
  41. }
  42. /* The user avatar */
  43. menu.sidebar img {
  44. width: 50px;
  45. height: 50px;
  46. margin: 0 auto;
  47. border-radius: 50%;
  48. }
  49. menu.sidebar a:hover {
  50. color: var(--text-light);
  51. cursor: pointer;
  52. }
  53. menu.sidebar svg {
  54. height: 24px;
  55. width: 24px;
  56. }
  57. .spinner {
  58. animation: rotate 2s linear infinite;
  59. z-index: 2;
  60. top: 50%;
  61. left: 50%;
  62. margin: -25px 0 0 -25px;
  63. width: 50px;
  64. height: 50px;
  65. }
  66. .spinner .path {
  67. stroke: var(--text);
  68. stroke-linecap: round;
  69. animation: dash 1.5s ease-in-out infinite;
  70. }
  71. @keyframes rotate {
  72. 100% {
  73. transform: rotate(360deg);
  74. }
  75. }
  76. @keyframes dash {
  77. 0% {
  78. stroke-dasharray: 1, 150;
  79. stroke-dashoffset: 0;
  80. }
  81. 50% {
  82. stroke-dasharray: 90, 150;
  83. stroke-dashoffset: -35;
  84. }
  85. 100% {
  86. stroke-dasharray: 90, 150;
  87. stroke-dashoffset: -124;
  88. }
  89. }
  90. .page {
  91. width: 100%;
  92. display: flex;
  93. justify-content: center;
  94. align-items: center;
  95. }