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.
 
 
 
 

138 lines
2.5 KiB

  1. header {
  2. display: flex;
  3. align-items: center;
  4. justify-content: space-between;
  5. width: 100%;
  6. padding: 0 5%;
  7. margin: 0 auto 20px;
  8. background-color: white;
  9. h5 {
  10. font-weight: 500;
  11. letter-spacing: 1px;
  12. font-size: 18px;
  13. color: var(--ash-black);
  14. width: calc(100% - 90px);
  15. span {
  16. color: var(--dark-grey);
  17. font-size: 14px;
  18. }
  19. }
  20. button {
  21. width: 30px;
  22. height: 30px;
  23. border-radius: 50%;
  24. background-color: var(--light-grey);
  25. border: 0px;
  26. &.edit-button {
  27. background-color: var(--teal-green);
  28. .icon {
  29. fill: white;
  30. width: 15px;
  31. height: 15px;
  32. }
  33. }
  34. .icon {
  35. width: 12px;
  36. height: 12px;
  37. fill: white;
  38. }
  39. }
  40. }
  41. ul {
  42. width: 100%;
  43. margin: 0 auto;
  44. list-style: none;
  45. max-height: calc(100% - 175px);
  46. overflow: auto;
  47. position: absolute;
  48. left: 0px;
  49. bottom: 95px;
  50. padding: 0 5%;
  51. li {
  52. width: 55%;
  53. }
  54. .message {
  55. border-radius: 10px;
  56. padding: 10px;
  57. font-size: 14px;
  58. }
  59. .sent {
  60. margin-left: auto;
  61. .time-stamp {
  62. text-align: right;
  63. }
  64. .message {
  65. color: white;
  66. background-color: var(--teal);
  67. border-bottom-right-radius: 0px;
  68. }
  69. }
  70. .received {
  71. margin-right: auto;
  72. .message {
  73. color: var(--dark-grey);
  74. background-color: rgba(#cecece, 0.4);
  75. border-bottom-left-radius: 0px;
  76. }
  77. }
  78. .time-stamp {
  79. font-size: 12px;
  80. color: var(--dark-grey);
  81. margin: 5px;
  82. }
  83. }
  84. .input-holder {
  85. display: flex;
  86. align-items: stretch;
  87. width: 90%;
  88. margin: 0 auto;
  89. position: absolute;
  90. bottom: 20px;
  91. left: 5%;
  92. border-radius: 30px;
  93. background-color: rgba(#cecece, 0.4);
  94. overflow: hidden;
  95. padding: 5px;
  96. .icon {
  97. fill: white;
  98. width: 15px;
  99. height: 15px;
  100. }
  101. input {
  102. border: 0px;
  103. background-color: transparent;
  104. flex-grow: 1;
  105. padding-left: 10px;
  106. }
  107. button {
  108. width: 40px;
  109. border-radius: 50%;
  110. border: 0px;
  111. height: 40px;
  112. background-color: var(--teal-green);
  113. display: flex;
  114. align-items: center;
  115. justify-content: center;
  116. box-shadow: 0px 0px 5px var(--light-grey);
  117. }
  118. }