Angular Web App
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

117 righe
2.3 KiB

  1. @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
  2. * {
  3. font-family: 'Roboto', sans-serif;
  4. margin: 0;
  5. box-sizing: border-box;
  6. padding: 0;
  7. text-decoration: none;
  8. outline: none;
  9. }
  10. button, a {
  11. cursor: pointer;
  12. }
  13. :root {
  14. font-size: 62.5%;
  15. --primary: #6d654e;
  16. --secondary: #c4b57b;
  17. --highlight: #ea8f34;
  18. --teal: #1e8bbc;
  19. --dark-grey: #7a7a7a;
  20. --border-grey: #e8e8e8;
  21. --shadow-grey: hsl(0, 0%, 86%);
  22. --footer-grey: hsl(0, 0%, 93%);
  23. --error: #d07a7a;
  24. --success: #88b749;
  25. --warning: #ffc409;
  26. }
  27. .tab-header {
  28. display: flex;
  29. align-items: center;
  30. justify-content: flex-start;
  31. padding: 0 2rem;
  32. position: sticky;
  33. position: -webkit-sticky;
  34. background-color: white;
  35. z-index: 1;
  36. top: 0;
  37. &::after {
  38. content: '';
  39. display: block;
  40. flex-grow: 1;
  41. height: 2px;
  42. background-color: var(--border-grey);
  43. opacity: 0.7;
  44. margin-left: 2rem;
  45. }
  46. h2 {
  47. font-size: 2.4rem;
  48. color: var(--primary);
  49. font-weight: 400;
  50. }
  51. }
  52. .bread-crumbs {
  53. font-size: 1.4rem;
  54. color: var(--dark-grey);
  55. padding: 2rem;
  56. position: sticky;
  57. position: -webkit-sticky;
  58. background-color: white;
  59. top: 2.9rem;
  60. z-index: 1;
  61. span {
  62. color: var(--highlight);
  63. font-weight: 300;
  64. letter-spacing: 0.5px;
  65. cursor: pointer;
  66. &.current-page {
  67. pointer-events: none;
  68. color: var(--dark-grey);
  69. }
  70. }
  71. }
  72. .common-button {
  73. border: none;
  74. background-color: var(--highlight);
  75. padding: 0 4rem;
  76. color: white;
  77. font-size: 1.6rem;
  78. letter-spacing: 0.5px;
  79. border-radius: 4rem;
  80. height: 4.5rem;
  81. transition: box-shadow 0.3s;
  82. &:hover {
  83. box-shadow: 0px 0px 10px -2px var(--highlight);
  84. }
  85. &.neutral {
  86. background-color: var(--border-grey);
  87. color: var(--dark-grey);
  88. &:hover {
  89. box-shadow: 0px 0px 10px -2px var(--dark-grey);
  90. }
  91. }
  92. &.outline {
  93. border: 1px solid var(--highlight);
  94. background-color: transparent;
  95. color: var(--highlight);
  96. }
  97. &:disabled {
  98. cursor: not-allowed;
  99. opacity: 0.5;
  100. }
  101. }