Angular LMS app
25개 이상의 토픽을 선택하실 수 없습니다. 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.
 
 
 
 

124 lines
2.8 KiB

  1. .page {
  2. height: 100vh;
  3. overflow: auto;
  4. padding-bottom: 100px;
  5. @media screen and (min-width: 1023px) {
  6. padding-left: 75px;
  7. padding-bottom: 0;
  8. }
  9. &::before {
  10. content: '';
  11. position: absolute;
  12. left: 0;
  13. top: 0;
  14. height: 30vh;
  15. width: 100%;
  16. background-color: var(--black);
  17. border-bottom-left-radius: 30px;
  18. border-bottom-right-radius: 30px;
  19. pointer-events: none;
  20. @media screen and (min-width: 1023px) {
  21. display: none;
  22. }
  23. }
  24. }
  25. .tabs {
  26. display: flex;
  27. width: 100%;
  28. height: 60px;
  29. align-items: stretch;
  30. background-color: var(--black);
  31. position: fixed;
  32. left: 0;
  33. bottom: 0;
  34. z-index: 1;
  35. padding: 0 5%;
  36. border-top-left-radius: 20px;
  37. border-top-right-radius: 20px;
  38. @media screen and (min-width: 1023px) {
  39. background-color: var(--ash-black);
  40. height: 100vh;
  41. width: 75px;
  42. flex-direction: column;
  43. padding: 13% 0;
  44. border-top-left-radius: 0px;
  45. border-top-right-radius: 0px;
  46. bottom: auto;
  47. top: 0;
  48. }
  49. button {
  50. border: 0px;
  51. width: calc(90vw / 5);
  52. display: block;
  53. background-color: transparent;
  54. display: block;
  55. text-align: center;
  56. @media screen and (min-width: 1023px) {
  57. width: 100%;
  58. height: calc(100% / 5);
  59. border-left: 4px solid transparent;
  60. border-radius: 0px;
  61. }
  62. &.active {
  63. @media screen and (min-width: 1023px) {
  64. background-color: var(--dark-grey);
  65. border-color: var(--teal-green);
  66. }
  67. .icon {
  68. fill: var(--teal-green);
  69. }
  70. span {
  71. color: var(--teal-green);
  72. }
  73. }
  74. &.mid-button {
  75. height: calc(90vw / 5);
  76. background-color: var(--white);
  77. border-radius: 50%;
  78. position: relative;
  79. transform: translateY(calc(-90vw / 13))scale(0.9);
  80. box-shadow: 0px 0px 5px var(--light-grey);
  81. .icon {
  82. fill: var(--teal-green);
  83. width: 25px;
  84. height: 25px;
  85. }
  86. }
  87. span {
  88. display: none;
  89. @media screen and (max-width: 1023px) {
  90. display: block;
  91. margin-top: 5px;
  92. color: var(--white);
  93. font-size: 10px;
  94. }
  95. }
  96. }
  97. .icon {
  98. margin: 0 auto;
  99. display: block;
  100. width: 15px;
  101. height: 15px;
  102. fill: var(--white);
  103. @media screen and (min-width: 1023px) {
  104. width: 18px;
  105. height: 18px;
  106. }
  107. }
  108. }