123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723 |
- :root {
- --dark-purple: #6d3154;
- --light-purple: #a94e83;
- --light-brown: #7c603f;
- --dark-brown: #433321;
- --tan: #efe4d6;
- }
- button {
- font-family: 'Alice', serif;
- }
- /****************
- * Main Menu UI *
- ****************/
- #main-menu-container {
- position: fixed;
- top: 0;
- left: 0;
- display: flex;
- width: 100%;
- height: 100vh;
- flex-direction: column;
- justify-content: center;
- cursor: default;
- }
- #main-menu-display {
- display: flex;
- width: 50%;
- min-width: 320px;
- height: 100vh;
- min-height: 560px;
- background-color: rgba(64, 64, 64, 0.6);
- background: linear-gradient(to right, rgba(64, 64, 64, 0.6), 60%, rgba(64, 64, 64, 0.6), 90%, rgba(0, 0, 0, 0));
- flex-direction: column;
- justify-content: space-around;
- align-items: center;
- }
- #main-menu-header-container {
- color: white;
- width: 100%;
- text-align: center;
- padding: 16px;
- }
- #main-menu-title {
- font-weight: normal;
- font-size: 72px;
- padding: 0;
- margin: 0;
- }
- #main-menu-subtitle {
- font-weight: normal;
- font-size: 36px;
- padding: 0;
- margin: 0;
- }
- #main-menu-button-list {
- display: flex;
- flex-direction: column;
- width: 100%;
- padding: 16px;
- }
- #main-menu-button-list .button-inner-container {
- margin: 8px;
- padding: 4px;
- border-radius: 32px;
- background-color: transparent;
- }
- #main-menu-button-list button {
- width: 100%;
- font-size: 24px;
- border: none;
- color: white;
- padding: 8px;
- background-color: transparent;
- }
- #main-menu-button-list button:hover {
- cursor: pointer;
- color: var(--light-purple);
- }
- #main-menu-button-list .button-inner-container.primary {
- width: 60%;
- margin: 8px;
- margin-left: auto;
- margin-right: auto;
- padding: 4px;
- border-radius: 32px;
- background-color: var(--light-purple);
- }
- #main-menu-button-list button.primary {
- font-size: 24px;
- border: 4px solid var(--dark-purple);
- color: white;
- padding: 8px;
- border-radius: 32px;
- background-color: var(--light-purple);
- }
- #main-menu-button-list button.primary:hover {
- cursor: pointer;
- border-color: white;
- }
- #main-menu-button-list .button-inner-container:first-child {
- height: 120px;
- border-radius: 60px;
- }
- #main-menu-button-list .button-inner-container:first-child button {
- border-radius: 60px;
- font-size: 48px;
- height: 100%;
- }
- /**************
- * Navigation *
- **************/
- #room-navigation {
- display: none;
- }
- #next {
- position: absolute;
- right: 20px;
- bottom: 20px;
- fill: #ffffff;
- text-shadow: 2px 2px 5px black;
- }
- #next:hover {
- fill: var(--light-purple);
- cursor: pointer;
- }
- #prev {
- position: absolute;
- left: 20px;
- bottom: 20px;
- fill: #ffffff;
- text-shadow: 2px 2px 5px black;
- }
- #prev:hover {
- fill: var(--light-purple);
- cursor: pointer;
- }
- /******************
- * Game Status UI *
- ******************/
- #game-status-container {
- position: fixed;
- top: 0;
- left: 0;
- display: none;
- color: #7E674F;
- font-family: 'Quicksand', sans-serif;
- font-weight: bold;
- transition: opacity 2s;
- }
- #game-status-container:hover {
- /* opacity: 0.3; */
- }
- #game-status-panel {
- width: 280px;
- height: 100px;
- background-color: var(--light-brown);
- border-radius: 16px;
- margin: 8px;
- padding: 8px;
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- #currency-meter-container {
- width: 100%;
- height: 46px;
- background-color: var(--tan);
- border-radius: 8px;
- display: flex;
- gap: 0;
- }
- #currency-meter-container span {
- padding: 12px 0 12px 0;
- color: #7E674F;
- }
- #currency-meter-icon {
- padding: 12px;
- }
- #currency-progress {
- width: 170px;
- height: 10px;
- border-radius: 8px;
- background-color: #dcd4ca;
- margin: 16px 2px 12px 2px;
- }
- #currency-progress[value]::-webkit-progress-bar {
- background-color: #dcd4ca;
- }
- #currency-progress[value]::-moz-progress-bar {
- background-color: #ebac51;
- }
- #currency-progress[value]::-webkit-progress-value {
- background-color: #ebac51;
- }
- #current-day-container {
- width: 100%;
- height: 46px;
- background-color: var(--tan);
- border-radius: 8px;
- display: flex;
- gap: 0;
- }
- #current-day-icon {
- padding: 12px 12px 12px 12px;
- }
- #current-day-icon img {
- width: 100%;
- }
- #current-day-text {
- flex-grow: 2;
- padding: 12px 12px 12px 0;
- }
- /***********
- * Brew UI *
- ***********/
- #brew-container {
- position: fixed;
- top: 0;
- right: 0;
- display: none;
- width: 100%;
- height: 100vh;
- }
- #brew-right-side {
- margin-top: auto;
- margin-bottom: auto;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- position: fixed;
- right: 0;
- width: 512px;
- translate: 1024px 0;
- min-width: 460px;
- background-color: var(--tan);
- margin: 30px;
- border-radius: 8px;
- border: 8px solid var(--light-brown);
- box-shadow: 0 8px var(--dark-brown);
- }
- #brew-header-container {
- background-color: var(--light-brown);
- box-shadow: 0 8px var(--dark-brown);
- }
- #brew-header-container h1 {
- color: white;
- text-align: center;
- margin: 16px;
- }
- #brew-ingredients-container {
- height: 110px;
- margin: 15px;
- display: flex;
- flex-direction: row;
- gap: 10px;
- flex-wrap: nowrap;
- }
- .ingredient-container {
- border: 4px dashed #dec8ad;
- flex-grow: 1;
- border-radius: 8px;
- padding: 4px;
- }
- .ingredient-container img {
- width: 100%;
- height: 100%;
- }
- .ingredient-container:hover {
- border: 4px dashed var(--light-brown);
- cursor: pointer;
- }
- #brew-selected-container {
- height: 220px;
- margin: 0 15px;
- display: flex;
- flex-direction: column;
- gap: 10px;
- }
- .ingredient-selected-container {
- border: 4px dashed #dec8ad;
- flex-grow: 1;
- border-radius: 8px;
- padding: 4px;
- max-height: 80px;
- }
- .ingredient-selected-container.disabled {
- border: 4px dashed #adadad;
- cursor: pointer;
- }
- .ingredient-selected-container .disabled-selected-ingredient {
- text-align: center;
- vertical-align: middle;
- color: gray;
- }
- .ingredient-selected-container .active-selected-ingredient {
- display: none;
- }
- .ingredient-selected-container .active-selected-ingredient .selected-ingredient-image {
- border: 4px dashed #dec8ad;
- border-radius: 40px;
- margin: 4px;
- width: 60px;
- height: 60px;
- padding: 4px;
- text-align: center;
- vertical-align: middle;
- }
- .ingredient-selected-container .active-selected-ingredient .selected-ingredient-image img {
- width: 100%;
- height: 100%;
- border-radius: 40px;
- }
- .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description {
- margin: 12px;
- }
- .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description h2 {
- margin: 0;
- padding: 0;
- }
- .ingredient-selected-container .active-selected-ingredient .selected-ingredient-description p {
- margin: 0;
- padding: 0;
- }
- .ingredient-selected-container:hover {
- border: 4px dashed var(--light-brown);
- cursor: pointer;
- }
- .ingredient-selected-container.disabled:hover {
- border: 4px dashed #adadad;
- cursor: auto;
- }
- #brew-potion-summary-container {
- height: 110px;
- margin: 15px;
- display: flex;
- flex-direction: row;
- }
- #potion-icon-container {
- border: 4px dashed #dec8ad;
- border-radius: 50px;
- margin: 15px;
- width: 80px;
- height: 80px;
- padding: 4px;
- text-align: center;
- vertical-align: middle;
- position: relative;
- }
- #potion-icon {
- display: block;
- width: 80px;
- height: 80px;
- border-radius: 40px;
- background-color: #15122f;
- }
- #potion-icon img {
- width: 100%;
- height: 100%;
- border-radius: 40px;
- }
- #potion-icon-container .potion-inventory-count {
- position: absolute;
- border-radius: 50%;
- color: white;
- text-align: right;
- line-height: 24px;
- right: 0;
- bottom: 0;
- width: 24px;
- height: 24px;
- font-size: 24px;
- padding: 8px 12px;
- }
- #potion-description {
- margin-left: 0;
- }
- #potion-description h2 {
- margin: 0px;
- }
- #potion-properties-list {
- margin: 16px;
- padding: 0;
- }
- ul#potion-properties-list li {
- list-style: none;
- }
- #brew-button-container {
- height: 50px;
- }
- #brew-button-inner-container {
- position: fixed;
- right: 70px;
- padding: 2px;
- margin-top: 25px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #brew-button-container button {
- font-size: 24px;
- border: 4px solid var(--dark-purple);
- color: white;
- padding: 8px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #brew-button-container button:hover {
- cursor: pointer;
- border-color: white;
- }
- /***********
- * Shop UI *
- ***********/
- #shop-container {
- position: fixed;
- top: 0;
- right: 0;
- display: none;
- width: 100%;
- height: 100vh;
- }
- #shop-panel {
- margin-top: auto;
- margin-bottom: auto;
- display: flex;
- flex-direction: column;
- flex-wrap: nowrap;
- position: fixed;
- right: 0;
- translate: 1024px 0;
- background-color: var(--tan);
- margin: 30px;
- border-radius: 8px;
- border: 8px solid var(--light-brown);
- box-shadow: 0 8px var(--dark-brown);
- }
- #shop-sides {
- display: flex;
- flex-direction: row;
- }
- #shop-header-container {
- background-color: var(--light-brown);
- box-shadow: 0 8px var(--dark-brown);
- }
- #shop-header-container h1 {
- color: white;
- text-align: center;
- margin: 16px;
- }
- #shop-left-side {
- width: 432px;
- padding: 16px;
- }
- #shop-potions-container {
- display: flex;
- flex-wrap: wrap;
- padding: 16px;
- gap: 16px;
- }
- .potion-container {
- position: relative;
- border: 4px dashed #dec8ad;
- border-radius: 16px;
- padding: 4px;
- width: 100px;
- }
- .potion-container:hover {
- border: 4px dashed var(--light-brown);
- cursor: pointer;
- }
- .potion-container img {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- }
- .potion-container .potion-inventory-count {
- position: absolute;
- border-radius: 50%;
- color: white;
- text-align: right;
- line-height: 24px;
- right: 0;
- bottom: 0;
- width: 24px;
- height: 24px;
- font-size: 24px;
- padding: 8px 12px;
- }
- #shop-right-side {
- padding: 16px;
- }
- #shop-shelves-container {
- display: flex;
- flex-direction: column;
- padding: 16px;
- gap: 34px;
- }
- .shop-shelf {
- display: flex;
- flex-direction: row;
- gap: 16px;
- border-bottom: 16px solid #8c5a4f;
- margin-bottom: 16px;
- padding-bottom: 8px;
- }
- .stocked-potion-container {
- border: 4px dashed #dec8ad;
- border-radius: 16px;
- padding: 4px;
- width: 100px;
- height: 100px;
- }
- .stocked-potion-container:hover {
- border: 4px dashed var(--light-brown);
- cursor: pointer;
- }
- .stocked-potion-container img {
- width: 100%;
- height: 100%;
- border-radius: 8px;
- }
- .disabled-stocked-potion {
- border: 4px dashed #adadad;
- cursor: auto;
- }
- .disabled-stocked-potion:hover {
- border: 4px dashed #adadad;
- cursor: auto;
- }
- #shop-button-container {
- height: 0;
- }
- #shop-button-inner-container {
- position: relative;
- padding: 2px;
- margin-top: -25px;
- margin-left: 580px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #shop-button-container button {
- font-size: 24px;
- border: 4px solid var(--dark-purple);
- color: white;
- padding: 8px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #shop-button-container button:hover {
- cursor: pointer;
- border-color: white;
- }
- /****************
- * Game Over UI *
- ****************/
- #game-over-container {
- position: fixed;
- top: 0;
- left: 0;
- display: none;
- width: 100%;
- height: 100vh;
- }
- #game-over-blackout {
- width: 100%;
- height: 100%;
- background-color: black;
- opacity: 0;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- #game-over-panel {
- width: 600px;
- height: 400px;
- text-align: center;
- padding: 32px;
- color: white;
- }
- #play-again-button-container {
- width: 184px;
- margin-left: auto;
- margin-right: auto;
- }
- #play-again-button-inner-container {
- padding: 2px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #play-again-button-container button {
- font-size: 24px;
- border: 4px solid var(--dark-purple);
- color: white;
- padding: 8px;
- border-radius: 32px;
- width: 180px;
- background-color: var(--light-purple);
- }
- #play-again-button-container button:hover {
- cursor: pointer;
- border-color: white;
- }
|