| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- .npcs-container {
- width: 18rem;
- height: 100%;
- overflow-y: auto;
- position: fixed;
- top: 0;
- left: 0;
- display: flex;
- flex-direction: column;
- align-items: center;
- background-image: url("../../../assets/images/texture-10.jpg");
- border-right: var(--gold-3);
- box-shadow: var(--shadow);
- padding-top: 1.5rem;
- }
- .npc-list-title {
- font-size: 1.5rem;
- font-weight: 500;
- }
- .npc {
- width: 15rem;
- 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");
- }
- .npc-title {
- overflow: hidden;
- white-space: nowrap;
- text-overflow: ellipsis;
- font-weight: 500;
- }
- .unsaved {
- margin-top: 0.375rem;
- text-align: center;
- color: rgb(52, 33, 33);
- font-size: 0.75rem;
- font-weight: 600;
- }
- &.active {
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- width: 14rem;
- }
- }
- .npc-wrapper {
- display: flex;
- gap: 0.5rem;
- align-items: center;
- .control-button-wrapper {
- display: none;
- flex-direction: column;
- gap: 0.5rem;
- }
- &.active:not(.edit-mode) {
- .npc {
- width: 11rem;
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- .control-button-wrapper {
- display: flex;
- }
- }
- &.active {
- .npc {
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- }
- .add-button {
- height: 3.5rem;
- display: flex;
- justify-content: center;
- align-items: center;
- &.active {
- background-image: url("../../../assets/images/texture-30.jpg") !important;
- }
- }
- }
- .read-container {
- width: 800px;
- height: calc(100vh - 6rem);
- margin-top: 1.5rem;
- margin-left: calc(50vw - 400px + 9rem);
- 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;
- icon-button {
- width: 2rem;
- height: 2rem;
- }
- }
- .name-read {
- font-size: 1.5rem;
- font-weight: 600;
- }
- .section-name {
- font-size: 1.25rem;
- font-weight: 500;
- }
- }
- // Write view
- .write-container {
- width: 800px;
- height: calc(100vh - 2rem);
- margin-top: 1.5rem;
- margin-left: calc(50vw - 400px + 9rem);
- padding: 1rem 2rem 2rem;
- overflow: auto;
- .name-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;
- }
- }
- .button-row {
- display: flex;
- justify-content: space-around;
- margin-top: 2.5rem;
- }
- }
- .write-label {
- margin: 0 0 0.25rem 0.25rem;
- font-weight: 600;
- }
- .empty-container {
- width: 800px;
- margin-top: 45vh;
- margin-left: calc(50vw - 5rem);
- font-weight: 600;
- font-size: 1.5rem;
- }
- // MATERIAL
- .mat-expansion-panel {
- border: var(--gold-2);
- }
- ::ng-deep .mat-expansion-panel-body {
- padding: 0 1rem 1rem !important;
- }
- .mat-accordion {
- width: 16rem;
- }
- // Editor
- .NgxEditor__Wrapper {
- border: var(--gold-3) !important;
- border-radius: 6px;
- box-shadow: var(--shadow);
- }
- ::ng-deep .NgxEditor__MenuBar {
- background-image: url("../../../assets/images/texture-10.jpg");
- }
- ngx-editor {
- &.short-editor {
- ::ng-deep .ProseMirror {
- height: calc((100vh - 40rem) / 2);
- background-image: url("../../../assets/images/texture-0.jpg");
- border-radius: 0 0 4px 4px;
- }
- }
- &.long-editor {
- ::ng-deep .ProseMirror {
- height: calc((100vh - 18rem) / 2);
- background-image: url("../../../assets/images/texture-0.jpg");
- border-radius: 0 0 4px 4px;
- }
- }
- }
- .mat-button-toggle-appearance-standard.mat-button-toggle-checked {
- background-color: rgb(169, 169, 169);
- }
- .mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not(
- [class*="mat-elevation-z"]
- ),
- .mat-button-toggle-group-appearance-standard:not([class*="mat-elevation-z"]) {
- border: var(--gold-2);
- }
|