| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- .entries-list {
- width: 18rem;
- height: 100%;
- overflow-y: auto;
- position: fixed;
- top: 0;
- left: 0;
- display: flex;
- flex-direction: column;
- gap: 1rem;
- background-image: url("../../../assets/images/texture-10.jpg");
- border-right: var(--gold-3);
- box-shadow: var(--shadow);
- padding-top: 3rem;
- .entry {
- width: 15rem;
- margin-left: 1rem;
- padding: 1rem;
- border: var(--gold-2);
- border-radius: 10px;
- box-shadow: var(--shadow);
- cursor: pointer;
- background-image: url("../../../assets/images/texture-0.jpg");
- &:hover {
- background-image: url("../../../assets/images/texture-5.jpg");
- }
- &.active {
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- .entry-title {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- font-weight: 500;
- }
- .entry-date {
- }
- .unsaved {
- margin-top: 0.375rem;
- text-align: center;
- color: rgb(52, 33, 33);
- font-size: 0.75rem;
- font-weight: 600;
- }
- }
- .control-button-wrapper {
- display: flex;
- flex-direction: column;
- gap: 0.75rem;
- }
- .entry-wrapper {
- display: flex;
- gap: 0.5rem;
- align-items: center;
- .control-button-wrapper {
- display: none;
- }
- &.active:not(.edit-mode) {
- .entry {
- width: 13rem;
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- .control-button-wrapper {
- display: flex;
- }
- }
- &.active {
- .entry {
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- }
- }
- .add-button {
- height: 5rem;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- }
- .entry-container {
- width: 800px;
- margin-left: calc(50vw - 400px + 9rem);
- margin-top: 3rem;
- // WRITE VIEW
- .title-write {
- border: var(--gold-2);
- border-radius: 6px;
- box-shadow: var(--shadow);
- ::ng-deep .mat-mdc-text-field-wrapper {
- width: 26rem !important;
- background-image: url("../../../assets/images/texture-0.jpg") !important;
- }
- }
- .date-write {
- border: var(--gold-2);
- margin-left: 13.5rem;
- border-radius: 6px;
- box-shadow: var(--shadow);
- ::ng-deep .mat-mdc-text-field-wrapper {
- width: 10rem !important;
- background-image: url("../../../assets/images/texture-0.jpg") !important;
- }
- }
- ::ng-deep .mat-calendar-body-selected {
- background-color: var(--primary) !important;
- }
- .NgxEditor__Wrapper {
- margin-top: 1.5rem;
- border: var(--gold-3) !important;
- border-radius: 6px;
- box-shadow: var(--shadow);
- }
- ::ng-deep .NgxEditor__MenuBar {
- background-image: url("../../../assets/images/texture-10.jpg");
- }
- ::ng-deep .ProseMirror {
- height: calc(100vh - 17rem);
- background-image: url("../../../assets/images/texture-0.jpg");
- border-radius: 0 0 4px 4px;
- }
- // READ VIEW
- .read-container {
- margin-top: 1.5rem;
- height: calc(100vh - 6rem);
- padding: 1rem 2rem 2rem;
- overflow: auto;
- border-radius: 6px;
- border: var(--gold-3);
- background-image: url("/assets/images/texture-0.jpg");
- box-shadow: var(--shadow);
- }
- .title-row {
- display: flex;
- justify-content: space-between;
- }
- .title-read {
- display: inline-block;
- width: 26rem;
- height: 3.75rem;
- display: flex;
- align-items: center;
- font-size: 1.75rem;
- font-weight: 500;
- }
- .date-read {
- display: inline-block;
- text-align: center;
- display: flex;
- align-items: center;
- font-size: 1.25rem;
- font-weight: 500;
- height: 3.75rem;
- }
- .content-read {
- margin-top: 1rem;
- }
- .button-row {
- display: flex;
- justify-content: space-around;
- margin-top: 1rem;
- }
- }
|