diff --git a/src/App.vue b/src/App.vue index f748df2..d4b73d6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -87,14 +87,16 @@ body { top: 0; width: 100%; /* Full width */ height: 100%; /* Full height */ - overflow: hidden; + overflow-y: auto; /* Scroll tall modals instead of cutting them off */ background-color: rgb(0, 0, 0); /* Fallback color */ - background-color: rgba(0, 0, 0, 0.5); /* Black w/ opacity */ + background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */ } .modalContainer { - background-color: #eeeeee; + background-color: #333; + color: white; margin: 10% auto; /* 15% from the top and centered */ - border: 1px solid #888; + border: 1px solid #ff9c00; + border-radius: 10px; width: 50%; /* Could be more or less, depending on screen size */ } .modalWrapper { @@ -114,16 +116,29 @@ body { top: 8px; cursor: pointer; opacity: 70%; + font-size: 2rem; + line-height: 1; + color: #ff9c00; +} +/* The close icon is a black svg, recolor it to the app's orange */ +img.closeModalImg { + filter: invert(66%) sepia(96%) saturate(2783%) hue-rotate(1deg) brightness(105%) contrast(103%); +} +.closeModalImg:hover { + opacity: 100%; } .modal h1 { - color: black; + color: white; margin-left: auto; margin-right: auto; padding-top: 10px; font-size: 1.9rem; } .modal p { - color: black; + color: white; +} +.modal a { + color: #ff9c00; } @media only screen and (max-width: 1000px) { diff --git a/src/components/items/SearchModal.vue b/src/components/items/SearchModal.vue index 468f4df..17e5521 100644 --- a/src/components/items/SearchModal.vue +++ b/src/components/items/SearchModal.vue @@ -1,6 +1,6 @@