| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- /* Importing Bootstrap SCSS file. */
- @import "bootstrap/scss/bootstrap";
- // @import url("./helpers.scss");
- // @import url("./button-styles.scss");
- // @import url("./colors.scss");
- @import "helpers";
- @import "button-styles";
- @import "colors";
- @import "responsive";
- @import "fonts";
- @import "info-row";
- // #region new styles
- // Wraps journal components that have a limited centered layout.
- .journal-content {
- position: relative;
- width: 1332px;
- margin: 0 auto;
- padding: 2rem 1rem;
- display: flex;
- }
- .header-row {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- h1 {
- font-size: 3.5rem;
- font-weight: 500;
- margin-bottom: 0;
- }
- }
- .button-container {
- display: flex;
- gap: 1rem;
- .top-button {
- font-size: 1.25rem;
- font-weight: 600;
- width: 16rem;
- display: flex;
- align-items: center;
- gap: 0.5rem;
- border-radius: 10px;
- padding: 0.5rem 1rem;
- background-image: url("/assets/images/texture-0.jpg");
- border: none;
- box-shadow: var(--shadow);
- }
- }
- .character-container {
- position: absolute;
- top: 8.5rem;
- left: 50%;
- transform: translateX(-50%);
- width: 800px;
- height: calc(100vh - 10.5rem);
- margin: auto;
- padding: 2rem 2rem;
- overflow: auto;
- border-radius: 10px;
- border: var(--gold-3);
- background-image: url("/assets/images/texture-0.jpg");
- box-shadow: var(--shadow);
- }
- // #endregion
- //////////////////
- ////// OLD ///////
- //////////////////
- // LISTS
- .item-list {
- width: 100%;
- overflow: auto;
- }
- .item {
- box-sizing: border-box;
- border-radius: 10px;
- box-shadow: var(--shadow);
- cursor: pointer;
- border: var(--gold-2);
- background-image: url("/assets/images/texture-5.jpg");
- &:hover {
- background-image: url("/assets/images/texture-15.jpg");
- }
- }
- .empty-list {
- text-align: center;
- margin-top: 2rem;
- font-size: 1.25rem;
- font-weight: 500;
- }
- .footer {
- height: 5rem;
- width: 100%;
- display: flex;
- justify-content: center;
- align-items: center;
- border-radius: 0 0 10px 10px;
- box-shadow: var(--shadow-top);
- }
- // DRAG AND DROP
- .cdk-drag-preview {
- box-sizing: border-box;
- border-radius: 10px;
- background-color: var(--items-hover);
- box-shadow:
- 0 5px 5px -3px rgba(0, 0, 0, 0.2),
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
- }
- .cdk-drag-placeholder {
- opacity: 0;
- }
- .cdk-drag-animating {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
- .item-list.cdk-drop-list-dragging .item:not(.cdk-drag-placeholder) {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
- // GENERAL STYLES
- // CHECKBOXES
- input[type="checkbox"] {
- appearance: none;
- -webkit-appearance: none;
- -moz-appearance: none;
- width: 20px !important;
- height: 20px;
- background: white;
- border: 1px solid #000;
- border-radius: 2px;
- position: relative;
- }
- input[type="checkbox"]:checked::after {
- content: "";
- position: absolute;
- top: 50%;
- left: 50%;
- width: 13px;
- height: 13px;
- background: var(--gold-dark);
- transform: translate(-50%, -50%);
- }
- // Scrollbar
- ::-webkit-scrollbar {
- width: 0.375rem;
- margin: 0.125rem 0;
- height: 0.5rem;
- }
- ::-webkit-scrollbar-track {
- background: #e6e6e6;
- border-radius: 10px;
- }
- ::-webkit-scrollbar-thumb {
- background: #888;
- border-radius: 10px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #555;
- border-radius: 10px;
- }
- .suffix {
- text-align: right;
- padding-right: 0.5rem;
- color: grey;
- font-size: 0.75rem;
- }
- // Line styles
- .centered-line {
- display: flex;
- align-items: center;
- }
- // DETAILS + MODAL
- .dimensions {
- width: 50rem;
- border-radius: 10px;
- border: var(--gold-3);
- padding: 0 2rem;
- box-shadow: var(--shadow);
- background-image: url("/assets/images/texture-0.jpg");
- }
- .title {
- font-size: 2rem;
- font-weight: bold;
- margin-top: 1.5rem;
- text-align: center;
- }
- .heading {
- font-size: 1.5rem;
- margin-top: 1.5rem;
- font-weight: bold;
- text-align: center;
- }
- .subheading {
- font-size: 1.25rem;
- margin-top: 1.5rem;
- font-weight: bold;
- text-align: center;
- }
- .content {
- margin-top: 1.5rem;
- margin-bottom: 1.5rem;
- }
- .input-label {
- font-weight: 600;
- padding-left: 0.25rem;
- }
- .value-row {
- display: flex;
- flex-direction: row;
- justify-content: space-evenly;
- }
- .mat-mdc-text-field-wrapper {
- background-color: white !important;
- border-radius: 5px !important;
- }
- .flex-form {
- display: flex;
- flex-direction: column;
- gap: 1.5rem;
- .row {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- gap: 2rem;
- }
- }
- .hint {
- font-size: 0.75rem;
- font-weight: 400;
- padding-left: 0.25rem;
- }
- .highlighted {
- font-weight: 800;
- }
- // RICH TEXT EDITOR
- .ProseMirror {
- padding-left: 1rem !important;
- height: 8rem;
- overflow: auto;
- }
- .NgxEditor__Wrapper {
- border: var(--gold-1) !important;
- }
- // Tooltip
- .my-custom-class .tooltip-inner {
- background-color: rgb(42, 42, 42);
- border: var(--gold-dark-3);
- }
- .my-custom-class.bs-tooltip-end .tooltip-arrow::before {
- border-right-color: var(--gold-dark);
- }
- .my-custom-class.bs-tooltip-start .tooltip-arrow::before {
- border-left-color: var(--gold-dark);
- }
- .my-custom-class.bs-tooltip-top .tooltip-arrow::before {
- border-top-color: var(--gold-dark);
- }
- .my-custom-class.bs-tooltip-bottom .tooltip-arrow::before {
- border-bottom-color: var(--gold-dark);
- }
- .tooltip-content {
- padding: 0.5rem;
- p {
- margin-bottom: 0;
- }
- }
- .tooltip.show {
- opacity: 1;
- }
- // Used to remove the empty space under form fields
- .mat-mdc-form-field-subscript-wrapper {
- display: none;
- }
- html,
- body {
- height: 100%;
- margin: 0;
- font-family: var(--bs-body-font-family) !important;
- }
- // Overriding the default styles of angular material
- .mat-mdc-option.mdc-list-item--selected:not(.mdc-list-item--disabled)
- .mdc-list-item__primary-text {
- color: var(--primary) !important;
- }
- .mat-primary .mat-pseudo-checkbox-checked.mat-pseudo-checkbox-minimal::after,
- .mat-primary
- .mat-pseudo-checkbox-indeterminate.mat-pseudo-checkbox-minimal::after {
- color: var(--primary) !important;
- }
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
- .mdc-notched-outline__leading,
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
- .mdc-notched-outline__notch,
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
- .mdc-notched-outline__trailing {
- border-color: var(--primary) !important;
- }
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field
- .mdc-notched-outline__leading,
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field
- .mdc-notched-outline__notch,
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field
- .mdc-notched-outline__trailing {
- border-color: var(--primary) !important;
- }
- .mdc-text-field--outlined:not(.mdc-text-field--disabled)
- .mdc-text-field__input {
- caret-color: var(--primary) !important;
- }
- .mat-mdc-form-field.mat-focused .mat-mdc-select-arrow {
- color: var(--primary) !important;
- }
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
- .mdc-floating-label,
- .mdc-text-field--outlined:not(.mdc-text-field--disabled).mdc-text-field--focused
- .mdc-floating-label--float-above {
- color: var(--primary) !important;
- }
- .mat-mdc-radio-button
- .mdc-radio
- .mdc-radio__native-control:enabled:checked
- + .mdc-radio__background
- .mdc-radio__outer-circle {
- border-color: var(--primary) !important;
- }
- .mat-mdc-radio-button
- .mdc-radio
- .mdc-radio__native-control:enabled
- + .mdc-radio__background
- .mdc-radio__inner-circle {
- border-color: var(--primary) !important;
- }
- .mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element {
- background-color: var(--primary) !important;
- }
- .mdc-switch.mdc-switch--unselected:enabled .mdc-switch__handle::after,
- .mdc-switch.mdc-switch--selected:enabled .mdc-switch__handle::after {
- background-color: var(--gold) !important;
- }
- .mdc-switch:enabled .mdc-switch__track::before {
- background-color: var(--grey-light) !important;
- }
- .mdc-switch:enabled .mdc-switch__track::after {
- background-color: var(--grey) !important;
- }
|