123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578 |
- /* You can add global styles to this file, and also import other style files */
- /* Importing Bootstrap SCSS file. */
- // TODO: remove bootstrap styles
- @import "bootstrap/scss/bootstrap";
- @import url("./helpers.scss");
- :root {
- // COLORS to use but not official
- --primary-color: #d8ac96;
- --primary-color-light: #e8c7b5;
- --primary-color-dark: #d89777;
- --secondary-color: #efc8af;
- --secondary-color-light: #f8e1d7;
- --secondary-color-dark: #cfaa8c;
- --tertiary-color: #b9835d;
- --tertiary-color-light: #cfaa8c;
- --tertiary-color-dark: #8f5f3b;
- --quaternary-color: #84a36f;
- --quaternary-color-light: #7a9e65;
- --quaternary-color-dark: #6eae52;
- --field-background-color: #efc8af;
- --border-color: #8d8c8c;
- --border-color-active: #b76840;
- --modal-background: antiquewhite;
- --button-color: #efc8af;
- --header: #ffdec6;
- --text: #000000;
- // shadows
- --shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
- --shadow-hover: 0px 5px 10px 0px rgba(0, 0, 0, 0.7);
- --shadow: 4px 4px 10px 4px rgba(0, 0, 0, 0.2);
- --shadow-medium: 4px 4px 10px 6px rgba(0, 0, 0, 0.2);
- --shadow-large: 4px 4px 10px 8px rgba(0, 0, 0, 0.2);
- // OFFICIAL COLORS
- // Buttons
- --accept: #84a36f;
- --accept-hover: #6f9158;
- --delete: #a45a52;
- --delete-hover: #8f4a42;
- --edit: #86a5b7;
- --edit-hover: #6f8e9f;
- --neutral: #b9835d;
- --neutral-hover: #a76b43;
- --tab: #c79980;
- --tab-active: #bc8567;
- // c28c6f
- // Spellcards
- --abjuration-background: #cab8de;
- --abjuration-border: 0 0 0 2px #171314, 0 0 0 5px #9586a5;
- --conjuration-background: #714c81;
- --conjuration-border: 0 0 0 2px #171314, 0 0 0 5px #744987;
- --divination-background: #f0e3ce;
- --divination-border: 0 0 0 2px #171314, 0 0 0 5px #ffffff;
- --enchantment-background: #629179;
- --enchantment-border: 0 0 0 2px #171314, 0 0 0 5px #26714a;
- --evocation-background: #a46a7d;
- --evocation-border: 0 0 0 2px #171314, 0 0 0 5px #863f57;
- --illusion-background: #69a;
- --illusion-border: 0 0 0 2px #171314, 0 0 0 5px #2d6475;
- --necromancy-background: #000000;
- --necromancy-border: 0 0 0 2px #171314, 0 0 0 5px #36353a;
- --transmutation-background: rgb(51, 52, 138);
- --transmutation-border: 0 0 0 2px #171314, 0 0 3px #8f088f, 0 0 6px #7f088f, 0 0 9px #69088f, 0 0 12px #3a088f,
- 0 0 15px #080a8f;
- // General
- --primary-color: #d8ac96;
- --shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
- --shadow-inverted: 0px -5px 10px 0px rgba(0, 0, 0, 0.5);
- --shadow-bottom: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
- --shadow-top: 0px -5px 10px 0px rgba(0, 0, 0, 0.5);
- --background-color: #fff2e9;
- --field-background-color: #efc8af;
- --border-color: #8d8c8c;
- --modal-background: antiquewhite;
- --header: #ffdec6;
- --text: #000000;
- --items: #fff2e9;
- --items-hover: #f7e3d7;
- --border: 1px solid var(--border-color);
- .standard-button {
- border: var(--border);
- border-radius: 10px;
- font-size: 1.25rem;
- height: 3rem;
- font-weight: 600;
- box-shadow: var(--shadow);
- transition: background-color 0.25s ease-in-out;
- }
- // Responsiveness
- .responsive-small {
- display: none;
- }
- .responsive-large {
- display: block;
- }
- @media (width < 1640px) {
- .responsive-large {
- display: none;
- }
- .responsive-small {
- display: block;
- }
- }
- // LISTS
- .item-list {
- width: 100%;
- overflow: auto;
- }
- .item {
- background-color: var(--items);
- box-sizing: border-box;
- border: var(--border);
- border-radius: 10px;
- box-shadow: var(--shadow);
- cursor: move;
- transition: background-color 0.2s ease-in-out;
- &:hover {
- background-color: var(--items-hover);
- }
- }
- .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);
- button {
- height: 3rem;
- width: 80%;
- font-size: 1.25rem;
- font-weight: 600;
- border-radius: 10px;
- background: var(--accept);
- transition: background-color 0.2s ease-in-out;
- box-shadow: var(--shadow);
- &:hover {
- background-color: var(--accept-hover);
- }
- }
- }
- // 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
- // Checkbox
- input[type="checkbox"] {
- accent-color: var(--accept) !important;
- }
- // Scrollbar
- ::-webkit-scrollbar {
- width: 0.5rem;
- margin: 0.125rem 0;
- height: 0.5rem;
- }
- ::-webkit-scrollbar-track {
- background: #f1f1f1;
- border-radius: 10px;
- }
- ::-webkit-scrollbar-thumb {
- background: #888;
- border-radius: 10px;
- }
- ::-webkit-scrollbar-thumb:hover {
- background: #555;
- border-radius: 10px;
- }
- }
- // Line styles
- .centered-line {
- display: flex;
- align-items: center;
- }
- // TODO: Check which of the below are still used
- // Info Row
- .info-container {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: center;
- border: solid 1px var(--border-color);
- background-color: var(--field-background-color);
- box-shadow: var(--shadow);
- border-radius: 10px;
- height: 6rem;
- @media (width > 1699px) {
- width: 10rem;
- }
- @media (width < 1640px) {
- width: 7rem;
- }
- }
- .info-input {
- border: none;
- outline: none;
- text-align: center;
- background-color: transparent;
- width: 5rem;
- margin-top: 0.375rem;
- font-size: 2rem;
- font-weight: 600;
- }
- .info-input::-webkit-outer-spin-button,
- .info-input::-webkit-inner-spin-button {
- -webkit-appearance: none;
- appearance: none;
- margin: 0;
- }
- .info-label {
- font-size: 1.25rem;
- font-weight: 600;
- text-align: center;
- padding: 0.25rem 0.5rem;
- }
- input[type="checkbox"] {
- height: 1.25rem;
- width: 1.25rem;
- }
- // DETAILS PANEL
- .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;
- }
- .value-row {
- display: flex;
- flex-direction: row;
- justify-content: space-evenly;
- }
- // .details-title {
- // text-align: center;
- // font-size: 2rem;
- // font-weight: bold;
- // margin-top: 1.5rem;
- // }
- // .details-content {
- // margin-top: 1.5rem;
- // margin-bottom: 1.5rem;
- // }
- // //
- // .details-heading {
- // font-size: 1.5rem;
- // font-weight: bold;
- // margin-top: 1.5rem;
- // }
- // .details-subheading {
- // font-size: 1.25rem;
- // font-weight: bold;
- // margin-top: 1.5rem;
- // }
- // .details-content-small {
- // margin-top: 0.5rem;
- // }
- // .details-bold {
- // font-weight: 500;
- // }
- // .centered {
- // text-align: center;
- // }
- // .top-1 {
- // margin-top: 1rem;
- // }
- // .top-2 {
- // margin-top: 2rem;
- // }
- // .top-3 {
- // margin-top: 3rem;
- // }
- // .details-value-container {
- // margin-top: 2rem;
- // }
- // .details-flex-row {
- // display: flex;
- // justify-content: space-between;
- // align-items: center;
- // }
- // .details-value {
- // width: 3.5rem;
- // height: 3rem;
- // font-size: 1.5rem;
- // display: flex;
- // justify-content: center;
- // align-items: center;
- // margin: auto;
- // border-radius: 10px;
- // background-color: white;
- // box-shadow: var(--shadow);
- // }
- // .details-label {
- // margin-top: 0.5rem;
- // font-weight: 500;
- // text-align: center;
- // }
- // .details-name {
- // font-size: 1.5rem;
- // font-weight: bold;
- // margin-top: 1.5rem;
- // text-align: center;
- // }
- // .details-long-description {
- // margin: 2rem 1rem;
- // font-size: 1rem;
- // }
- // Drag and Drop Table
- html,
- body {
- height: 100%;
- }
- body {
- margin: 0;
- // font-family: Roboto, "Helvetica Neue", sans-serif;
- }
- // TO DELETE
- // .vertical-button-wrapper-3 {
- // width: 100%;
- // position: absolute;
- // bottom: 2rem;
- // display: grid;
- // grid-template-rows: 1fr 1fr 1fr;
- // grid-template-columns: 1fr;
- // gap: 10px;
- // margin-top: 2rem;
- // align-items: center;
- // justify-content: center;
- // }
- // .vertical-button-wrapper-2 {
- // width: 100%;
- // position: absolute;
- // bottom: 2rem;
- // display: grid;
- // grid-template-rows: 1fr 1fr;
- // grid-template-columns: 1fr;
- // gap: 10px;
- // margin-top: 2rem;
- // align-items: center;
- // justify-content: center;
- // }
- // .button-wrapper-3-block {
- // display: grid;
- // grid-template-rows: 1fr 1fr 1fr;
- // grid-template-columns: 1fr;
- // gap: 10px;
- // align-items: center;
- // justify-content: center;
- // margin-top: 2rem;
- // padding-bottom: 2rem;
- // }
- // .button-wrapper-2-block {
- // display: grid;
- // grid-template-rows: 1fr 1fr;
- // grid-template-columns: 1fr;
- // gap: 10px;
- // align-items: center;
- // justify-content: center;
- // margin-top: 2rem;
- // padding-bottom: 2rem;
- // }
- .flex-row {
- display: flex;
- flex-direction: row;
- }
- .flex-column {
- display: flex;
- flex-direction: column;
- }
- .flex-centered {
- align-items: center;
- justify-content: center;
- }
- .flex-left {
- justify-content: start;
- }
- .flex-right {
- justify-content: end;
- }
- .gap-01 {
- gap: 0.1rem;
- }
- .gap-02 {
- gap: 0.2rem;
- }
- .gap-03 {
- gap: 0.3rem;
- }
- .gap-04 {
- gap: 0.4rem;
- }
- .gap-05 {
- gap: 0.5rem;
- }
- .gap-06 {
- gap: 0.6rem;
- }
- .gap-07 {
- gap: 0.7rem;
- }
- .gap-08 {
- gap: 0.8rem;
- }
- .gap-09 {
- gap: 0.9rem;
- }
- .gap-10 {
- gap: 1rem;
- }
- .gap-11 {
- gap: 1.1rem;
- }
- .gap-12 {
- gap: 1.2rem;
- }
- .gap-13 {
- gap: 1.3rem;
- }
- .gap-14 {
- gap: 1.4rem;
- }
- .gap-15 {
- gap: 1.5rem;
- }
- .gap-16 {
- gap: 1.6rem;
- }
- .gap-17 {
- gap: 1.7rem;
- }
- .gap-18 {
- gap: 1.8rem;
- }
- .gap-19 {
- gap: 1.9rem;
- }
- .gap-20 {
- gap: 2rem;
- }
|