Angular LMS 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.
Questo repository è archiviato. Puoi vedere i file e clonarli, ma non puoi effettuare richieste di pushj o aprire problemi/richieste di pull.

styles.scss 2.9 KiB

5 anni fa
5 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /* You can add global styles to this file, and also import other style files */
  2. * {
  3. font-family: 'Roboto', sans-serif;
  4. margin: 0;
  5. padding: 0;
  6. box-sizing: border-box;
  7. letter-spacing: 0.5px;
  8. outline: none;
  9. line-height: 1.4;
  10. }
  11. :root {
  12. --black: #1a1a1a;
  13. --ash-black: #282828;
  14. --dark-grey: #4d4d4d;
  15. --light-grey: #999999;
  16. --teal: #06c4a8;
  17. --green: #8cc63f;
  18. --teal-green: #08c17e;
  19. --danger: #ea8b8b;
  20. --danger-dark: #d65f5f;
  21. --white: #ffffff;
  22. }
  23. // Confirmation pop up container style
  24. .confirmation-popup {
  25. position: fixed;
  26. left: 80%;
  27. height: 100vh;
  28. width: 100vw;
  29. display: flex;
  30. align-items: center;
  31. justify-content: center;
  32. z-index: 2;
  33. left: 0;
  34. top: 0;
  35. background-color: rgba(black, 0.8);
  36. opacity: 0;
  37. pointer-events: none;
  38. transition: opacity 0.3s;
  39. &.active {
  40. opacity: 1;
  41. pointer-events: all;
  42. app-confirmation-popup {
  43. opacity: 1;
  44. transform: translateY(0vh);
  45. }
  46. }
  47. app-confirmation-popup {
  48. opacity: 0;
  49. transform: translateY(20vh);
  50. transition: opacity 0.3s, transform 0.3s;
  51. }
  52. }
  53. // Common styles
  54. .page-container {
  55. height: 100vh;
  56. overflow: auto;
  57. padding-bottom: 70px;
  58. background-color: var(--white);
  59. &.half-bg {
  60. &::before {
  61. content: '';
  62. position: absolute;
  63. left: 0;
  64. top: 0;
  65. height: 40vh;
  66. width: 100%;
  67. background-color: transparent;
  68. border-bottom-left-radius: 30px;
  69. border-bottom-right-radius: 30px;
  70. pointer-events: none;
  71. }
  72. &[color="black"] {
  73. &::before {
  74. background-color: var(--black);
  75. }
  76. }
  77. &[color="ash-black"] {
  78. &::before {
  79. background-color: var(--ash-black);
  80. }
  81. }
  82. }
  83. &.full-bg {
  84. &[color="black"] {
  85. background-color: var(--black);
  86. }
  87. &[color="ash-black"] {
  88. background-color: var(--ash-black);
  89. }
  90. }
  91. }
  92. .nav-header {
  93. background-color: var(--ash-black);
  94. display: flex;
  95. align-items: center;
  96. padding: 0 5%;
  97. height: 60px;
  98. position: sticky;
  99. position: -webkit-sticky;
  100. top: 0;
  101. z-index: 1;
  102. &[shadow="true"] {
  103. box-shadow: 0px 0px 5px var(--black);
  104. }
  105. button {
  106. border: 0px;
  107. background-color: transparent;
  108. .icon {
  109. width: 16px;
  110. height: 16px;
  111. fill: var(--light-grey);
  112. }
  113. }
  114. h5 {
  115. font-size: 16px;
  116. color: var(--white);
  117. font-weight: 500;
  118. margin-left: 20px;
  119. letter-spacing: 1px;
  120. .icon {
  121. width: 15px;
  122. height: 15px;
  123. fill: var(--white);
  124. margin-right: 3px;
  125. vertical-align: middle;
  126. position: relative;
  127. }
  128. }
  129. }