journal-notes.component.scss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. .entries-list {
  2. width: 18rem;
  3. height: 100%;
  4. overflow-y: auto;
  5. position: fixed;
  6. top: 0;
  7. left: 0;
  8. display: flex;
  9. flex-direction: column;
  10. gap: 1rem;
  11. background-image: url("../../../assets/images/texture-10.jpg");
  12. border-right: var(--gold-3);
  13. box-shadow: var(--shadow);
  14. padding-top: 3rem;
  15. .entry {
  16. width: 15rem;
  17. margin-left: 1rem;
  18. padding: 1rem;
  19. border: var(--gold-2);
  20. border-radius: 10px;
  21. box-shadow: var(--shadow);
  22. cursor: pointer;
  23. background-image: url("../../../assets/images/texture-0.jpg");
  24. &:hover {
  25. background-image: url("../../../assets/images/texture-5.jpg");
  26. }
  27. &.active {
  28. background-image: url("../../../assets/images/texture-30.jpg") !important;
  29. }
  30. .entry-title {
  31. overflow: hidden;
  32. white-space: nowrap;
  33. text-overflow: ellipsis;
  34. font-weight: 500;
  35. }
  36. .entry-date {
  37. }
  38. .unsaved {
  39. margin-top: 0.375rem;
  40. text-align: center;
  41. color: rgb(52, 33, 33);
  42. font-size: 0.75rem;
  43. font-weight: 600;
  44. }
  45. }
  46. .control-button-wrapper {
  47. display: flex;
  48. flex-direction: column;
  49. gap: 0.75rem;
  50. }
  51. .entry-wrapper {
  52. display: flex;
  53. gap: 0.5rem;
  54. align-items: center;
  55. .control-button-wrapper {
  56. display: none;
  57. }
  58. &.active:not(.edit-mode) {
  59. .entry {
  60. width: 13rem;
  61. background-image: url("../../../assets/images/texture-30.jpg") !important;
  62. }
  63. .control-button-wrapper {
  64. display: flex;
  65. }
  66. }
  67. &.active {
  68. .entry {
  69. background-image: url("../../../assets/images/texture-30.jpg") !important;
  70. }
  71. }
  72. }
  73. .add-button {
  74. height: 5rem;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. }
  79. }
  80. .entry-container {
  81. width: 800px;
  82. margin-left: calc(50vw - 400px + 9rem);
  83. margin-top: 3rem;
  84. // WRITE VIEW
  85. .title-write {
  86. border: var(--gold-2);
  87. border-radius: 6px;
  88. box-shadow: var(--shadow);
  89. ::ng-deep .mat-mdc-text-field-wrapper {
  90. width: 26rem !important;
  91. background-image: url("../../../assets/images/texture-0.jpg") !important;
  92. }
  93. }
  94. .date-write {
  95. border: var(--gold-2);
  96. margin-left: 13.5rem;
  97. border-radius: 6px;
  98. box-shadow: var(--shadow);
  99. ::ng-deep .mat-mdc-text-field-wrapper {
  100. width: 10rem !important;
  101. background-image: url("../../../assets/images/texture-0.jpg") !important;
  102. }
  103. }
  104. ::ng-deep .mat-calendar-body-selected {
  105. background-color: var(--primary) !important;
  106. }
  107. .NgxEditor__Wrapper {
  108. margin-top: 1.5rem;
  109. border: var(--gold-3) !important;
  110. border-radius: 6px;
  111. box-shadow: var(--shadow);
  112. }
  113. ::ng-deep .NgxEditor__MenuBar {
  114. background-image: url("../../../assets/images/texture-10.jpg");
  115. }
  116. ::ng-deep .ProseMirror {
  117. height: calc(100vh - 17rem);
  118. background-image: url("../../../assets/images/texture-0.jpg");
  119. border-radius: 0 0 4px 4px;
  120. }
  121. // READ VIEW
  122. .read-container {
  123. margin-top: 1.5rem;
  124. height: calc(100vh - 6rem);
  125. padding: 1rem 2rem 2rem;
  126. overflow: auto;
  127. border-radius: 6px;
  128. border: var(--gold-3);
  129. background-image: url("/assets/images/texture-0.jpg");
  130. box-shadow: var(--shadow);
  131. }
  132. .title-row {
  133. display: flex;
  134. justify-content: space-between;
  135. }
  136. .title-read {
  137. display: inline-block;
  138. width: 26rem;
  139. height: 3.75rem;
  140. display: flex;
  141. align-items: center;
  142. font-size: 1.75rem;
  143. font-weight: 500;
  144. }
  145. .date-read {
  146. display: inline-block;
  147. text-align: center;
  148. display: flex;
  149. align-items: center;
  150. font-size: 1.25rem;
  151. font-weight: 500;
  152. height: 3.75rem;
  153. }
  154. .content-read {
  155. margin-top: 1rem;
  156. }
  157. .button-row {
  158. display: flex;
  159. justify-content: space-around;
  160. margin-top: 1rem;
  161. }
  162. }