Angular LMS app
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

148 lines
2.9 KiB

  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. }