-
-
- #{event.id}
-
+
+
+
+
+ #{event.id}
+
+
+
+ {event.name}
+
+ {formatDate(event.start_date)}
-
- {event.name}
-
- {formatDate(event.start_date)}
+ {event.city && event.country && (
+
+ {event.city}, {event.country}
- {event.city && event.country && (
-
- {event.city}, {event.country}
-
- )}
-
+ )}
|
-
+ |
{(status === STATUS_INITIAL || (event.id in loading && loading[event.id] === LOADING_OWNERS)) && !(event.id in owners) && (
)}
{event.id in owners && (
{formatStat(owners[event.id].length)}
- {event.id in metrics && metrics[event.id] && typeof metrics[event.id].emailReservations === 'number' && metrics[event.id].emailReservations > 0 && ` + ${formatStat(metrics[event.id].emailReservations)}`}
+ {(
+ event.id in metrics &&
+ metrics[event.id] &&
+ metrics[event.id].emailReservations > 0
+ ) && ` + ${formatStat(metrics[event.id].emailReservations)}`}
)}
|
-
-
-
- {event.id in errors && (
- <>
-
- {errors[event.id].message}
-
- {' '}
- retryLoadOwners(event.id)}
- >
- retry
-
- >
- )}
-
+ |
+
+ {event.id in errors && (
+ <>
+
+ {errors[event.id].message}
+
+ {' '}
+ retryLoadOwners(event.id)}
+ >
+ retry
+
+ >
+ )}
|
-
+ |
{event.id in loadedProgress && (
|
-
+ |
delEvent(event.id)}
diff --git a/src/pages/Home.js b/src/pages/Home.js
index e8d4c56..b56249d 100644
--- a/src/pages/Home.js
+++ b/src/pages/Home.js
@@ -25,20 +25,20 @@ function Home() {
return (
- {settings && !settings.welcomeShown && }
+ {settings && !settings.welcomeShown && (
+
+ )}
-
- {settings && settings.showLastEvents && (
-
- )}
-
+ {settings && settings.showLastEvents && (
+
+ )}
last
·
diff --git a/src/styles/address-profile.css b/src/styles/address-profile.css
index ce508a9..0925b11 100644
--- a/src/styles/address-profile.css
+++ b/src/styles/address-profile.css
@@ -20,12 +20,12 @@
left: 48px;
}
-.profile-ens {
- font-size: 160%;
+.profile-address {
+ word-break: break-all;
}
-.profile-address svg {
- margin-left: .25rem;
+.profile-ens {
+ font-size: 160%;
}
.profile-since {
diff --git a/src/styles/app.css b/src/styles/app.css
index 9929273..39c3e31 100644
--- a/src/styles/app.css
+++ b/src/styles/app.css
@@ -17,7 +17,6 @@ html, body, #root, .app {
height: 100vh;
width: 100vw;
cursor: default;
- overflow: hidden;
}
body {
@@ -55,10 +54,6 @@ input[type="search"]::-webkit-search-results-decoration {
display: none;
}
-.icon.warning::before {
- content: "⚠";
-}
-
::-webkit-scrollbar {
-webkit-appearance: none;
width: .5rem;
diff --git a/src/styles/button-address-profile.css b/src/styles/button-address-profile.css
index fee34fb..752c6ee 100644
--- a/src/styles/button-address-profile.css
+++ b/src/styles/button-address-profile.css
@@ -2,18 +2,7 @@
font-size: 100%;
}
-.button-address-profile-modal {
- height: 100%;
-}
-
-.button-address-profile-container {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
-}
-
-.button-address-profile-container .button-close {
+.button-address-profile-modal .button-close {
position: absolute;
top: 12px;
right: 24px;
diff --git a/src/styles/cached-drops.css b/src/styles/cached-drops.css
deleted file mode 100644
index 451d316..0000000
--- a/src/styles/cached-drops.css
+++ /dev/null
@@ -1,59 +0,0 @@
-.cached-drops {
- list-style-type: none;
- overflow: auto;
-}
-
-.cached-drops li {
- margin: .5rem 0;
-}
-
-.cached-drop {
- border: 1px dotted #B5AEFF;
- padding: 1rem;
- display: flex;
- gap: 1rem;
-}
-
-.cached-drop .info {
- width: 100%;
- position: relative;
-}
-
-.cached-drop .name {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
- margin-bottom: .4rem;
-}
-
-.cached-drop h4 {
- display: inline-block;
- max-width: 330px;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.cached-drop .sub-info {
- display: flex;
- align-items: baseline;
- justify-content: space-between;
-}
-
-.cached-drop .in-common-count {
- font-weight: 700;
- font-size: 120%;
-}
-
-.cached-drop p {
- overflow: hidden;
- text-overflow: ellipsis;
-}
-
-.cached-drop .cached {
- font-size: 11px;
-}
-
-.cached-drop .right {
- text-align: right;
-}
diff --git a/src/styles/cached-event-list.css b/src/styles/cached-event-list.css
new file mode 100644
index 0000000..cd74743
--- /dev/null
+++ b/src/styles/cached-event-list.css
@@ -0,0 +1,59 @@
+.cached-event-list {
+ list-style-type: none;
+ overflow: auto;
+}
+
+.cached-event-list li {
+ margin: .5rem 0;
+}
+
+.cached-event-list li:hover {
+ cursor: pointer;
+ background-color: #B5AEFF;
+}
+
+.cached-event {
+ border: 1px dotted #B5AEFF;
+ padding: 1rem;
+ display: flex;
+ gap: 1rem;
+}
+
+.cached-event .cached-event-info {
+ flex-grow: 1;
+ display: flex;
+ flex-direction: column;
+ justify-content: space-between;
+}
+
+.cached-event .cached-event-card .event-id {
+ text-align: center;
+ display: block;
+ cursor: pointer;
+ font-size: 80%;
+ margin: 1px;
+}
+
+.cached-event .cached-event-info h4 {
+ display: inline-block;
+ max-width: 330px;
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.cached-event .cached-event-info .cached-event-data {
+ display: flex;
+ align-items: baseline;
+ justify-content: space-between;
+ gap: .5rem;
+}
+
+.cached-event .cached-event-info .cached-event-data .in-common-count {
+ font-weight: 700;
+ font-size: 120%;
+}
+
+.cached-event .cached-event-info .cached-event-data .cached-ts {
+ font-size: 11px;
+}
diff --git a/src/styles/center-page.css b/src/styles/center-page.css
index 168f5e8..9fede75 100644
--- a/src/styles/center-page.css
+++ b/src/styles/center-page.css
@@ -2,9 +2,12 @@
width: 100%;
max-width: 100%;
min-height: 100vh;
- overflow: scroll;
display: flex;
flex-direction: column;
align-items: center;
- justify-content: center;
+}
+
+.center-page > * {
+ margin-left: auto !important;
+ margin-right: auto !important;
}
diff --git a/src/styles/event.css b/src/styles/event.css
index 12259b0..2711acb 100644
--- a/src/styles/event.css
+++ b/src/styles/event.css
@@ -20,7 +20,7 @@
margin-top: 3px;
}
-.event .caching-error span.caching-error-label {
+.event .caching-error .caching-error-label {
font-size: 7px;
border-radius: 7px;
padding: 2px 6px;
@@ -32,9 +32,3 @@
border: 1px dashed #e76e90;
margin-right: .5rem;
}
-
-@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
- .event .in-common .active-events {
- top: 100%;
- }
-}
diff --git a/src/styles/events.css b/src/styles/events.css
index 7cc90eb..2881923 100644
--- a/src/styles/events.css
+++ b/src/styles/events.css
@@ -9,11 +9,11 @@
border-spacing: 0 .5rem;
}
-.events table thead .event-head {
+.events table thead tr th.event-head {
text-align: left;
}
-.events table thead .event-head-actions {
+.events table thead tr th.event-head-actions {
display: flex;
align-items: center;
justify-content: flex-end;
@@ -26,66 +26,67 @@
border: 1px dotted #B5AEFF;
}
-.events table tbody td {
+.events table tbody tr td {
padding: .5rem;
}
-.event-cell-info {
+.events table tbody tr td.event-cell-info {
display: flex;
}
-.event-cell-info .event-image {
+.events table tbody tr td.event-cell-info .event-image {
text-align: center;
overflow-wrap: break-word;
max-width: 72px;
}
-.event-cell-info .event-id {
+.events table tbody tr td.event-cell-info .event-id {
display: block;
cursor: pointer;
font-size: 80%;
margin: 4px;
}
-.event-cell-info .event-data {
+.events table tbody tr td.event-cell-info .event-data {
margin-left: 1rem;
}
-.events span.status-error-message {
+.events table tbody tr td.event-cell-metrics {
+ text-align: center;
+}
+
+.events .status-error-message {
margin-left: .5rem;
}
-.events p.status-error-message {
+.events .address-error-message {
margin-top: .2rem;
margin-bottom: .2rem;
color: #e6698c;
}
-.events p.status-cached-ts {
+.events .status-cached-ts {
white-space: nowrap;
}
-.event-cell-owners {
- text-align: center;
-}
-
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
- .events table, .events thead, .events tbody, .events th, .events td, .events tr {
+ .events table,
+ .events table thead,
+ .events table tbody,
+ .events table tbody tr,
+ .events table tbody tr td {
display: block;
}
- .events thead tr {
+
+ .events table thead tr {
display: none;
}
- .events tr {
+
+ .events table tbody tr {
margin: 0 0 1rem 0;
}
- .events td {
- padding-left: 50%;
- }
-}
-@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
- .events .in-common .active-events {
- top: 100%;
+ .events table tbody tr td.event-cell-progress {
+ text-align: center;
}
}
diff --git a/src/styles/home.css b/src/styles/home.css
index 705d60e..41d2c18 100644
--- a/src/styles/home.css
+++ b/src/styles/home.css
@@ -1,22 +1,3 @@
-.drop-lists {
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- position: relative;
- left: 0;
- right: 0;
- width: 100%;
- overflow-x: auto;
-}
-
-@media only screen and (max-width: 500px) {
- .drop-lists {
- align-items: start;
- justify-content: start;
- }
-}
-
.footer {
display: flex;
gap: .5rem;
diff --git a/src/styles/logo-menu.css b/src/styles/logo-menu.css
index 9c46686..7a2c770 100644
--- a/src/styles/logo-menu.css
+++ b/src/styles/logo-menu.css
@@ -3,21 +3,21 @@
top: 1rem;
}
-.logo-menu-card {
+.logo-menu .logo-menu-card {
border: 1px solid transparent;
border-radius: 3.25rem;
}
+.logo-menu .logo-menu-card:hover {
+ background-color: white;
+ border-color: #5e58a5;
+}
+
.logo-menu .logo-menu-content {
display: none;
padding: 0 .7rem .7rem .7rem;
}
-.logo-menu-card:hover {
- background-color: white;
- border-color: #5e58a5;
-}
-
-.logo-menu-card:hover .logo-menu-content {
+.logo-menu .logo-menu-card:hover .logo-menu-content {
display: block;
}
diff --git a/src/styles/modal.css b/src/styles/modal.css
new file mode 100644
index 0000000..717feac
--- /dev/null
+++ b/src/styles/modal.css
@@ -0,0 +1,17 @@
+.overlay {
+ position: fixed;
+ inset: 0;
+ background-color: rgba(255, 255, 255, .75);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ height: 100vh;
+ width: 100vw;
+ z-index: 99;
+}
+
+.modal {
+ max-height: 100%;
+ max-width: 100%;
+ outline: none;
+}
diff --git a/src/styles/page.css b/src/styles/page.css
index 86899d0..7ee18f5 100644
--- a/src/styles/page.css
+++ b/src/styles/page.css
@@ -6,7 +6,7 @@
overflow: hidden;
}
-.page-aside {
+.page .page-aside {
height: calc(100% - .5rem);
width: 4.2rem;
z-index: 99;
@@ -15,13 +15,13 @@
right: 1rem;
}
-.page-content {
+.page .page-content {
flex-grow: 1;
width: 100%;
- overflow: scroll;
+ overflow: auto;
}
-.corner-bg {
+.page .page-content .corner-bg {
position: absolute;
right: 0;
bottom: 0;
@@ -29,24 +29,29 @@
}
@media only screen and (min-width: 1024px) {
- .page-aside {
+ .page .page-aside {
position: inherit;
margin: .5rem 1rem 0 0;
}
- .page-content {
+
+ .page .page-content {
width: calc(100% - 5.2rem);
}
- .logo-menu-card {
+
+ .logo-menu .logo-menu-card {
background-color: transparent !important;
border-color: transparent !important;
}
- .logo-menu-content {
+
+ .logo-menu .logo-menu-card .logo-menu-content {
display: block !important;
}
+
.logo {
border: 1px solid transparent;
border-radius: 3.25rem;
}
+
.logo:hover {
background-color: white;
border-color: #5e58a5;
diff --git a/src/styles/search.css b/src/styles/search.css
index 44941d9..7ef688c 100644
--- a/src/styles/search.css
+++ b/src/styles/search.css
@@ -1,8 +1,12 @@
.search {
+ min-width: 23rem;
+}
+
+.search-form {
position: relative;
}
-input.query {
+.search-form input.query {
background-color: #B5AEFF;
border: 0;
border-radius: 3.2rem;
@@ -12,15 +16,15 @@ input.query {
padding-right: 100px;
}
-input.query:focus {
+.search-form input.query:focus {
outline: none;
}
-input.query::placeholder {
+.search-form input.query::placeholder {
color: white;
}
-input.go {
+.search-form input.go {
-webkit-appearance: none;
appearance: none;
background-color: #6692A4;
@@ -35,13 +39,13 @@ input.go {
cursor: pointer;
}
-input.go:hover {
+.search-form input.go:hover {
background-color: #C2E6F5;
color: black;
cursor: pointer;
}
-input.go[disabled] {
+.search-form input.go[disabled] {
background-color: lightgrey !important;
color: white !important;
cursor: default;
@@ -68,31 +72,57 @@ input.go[disabled] {
}
}
-.drop-error {
+.search-error {
margin-top: .5rem;
border: 1px dotted #F8D1D2;
border-radius: 3px;
}
-.drop-error p {
+
+.search-error p {
padding: .5rem;
color: #E9A1B6;
}
-.drop-header {
+.search-header {
margin-top: .5rem;
text-align: right;
}
-.drop-header h3 {
+.search-header h3 {
display: inline-block;
margin-left: .5rem;
}
-.drop-header h3.soft {
+.search-header h3.soft {
font-weight: normal;
font-size: 90%;
}
+.search-separator {
+ border: 1px solid #6692A4;
+ margin: .5rem 0;
+}
+
+.search-pagination {
+ margin-top: .5rem;
+}
+
+.search-options {
+ text-align: center;
+}
+
+.search-options .link, .search-options .text {
+ font-size: 12px;
+}
+
+.search-options .link, .search-options .link:active {
+ color: blue;
+}
+
+.search-options .link:hover {
+ text-decoration: underline;
+}
+
.drop-preview, .collection-preview {
border: 1px dotted #B5AEFF;
margin-top: .5rem;
@@ -239,28 +269,3 @@ input.go[disabled] {
.collection-preview .collection-info .collection-select input:focus {
box-shadow: 0 0 .5rem #007a7e;
}
-
-.drop-separator {
- border: 1px solid #6692A4;
- margin: .5rem 0;
-}
-
-.drop-pagination {
- margin-top: .5rem;
-}
-
-.search-options {
- text-align: center;
-}
-
-.search-options .link, .search-options .text {
- font-size: 12px;
-}
-
-.search-options .link, .search-options .link:active {
- color: blue;
-}
-
-.search-options .link:hover {
- text-decoration: underline;
-}
diff --git a/src/styles/token-image-zoom.css b/src/styles/token-image-zoom.css
index b0764a7..73f723a 100644
--- a/src/styles/token-image-zoom.css
+++ b/src/styles/token-image-zoom.css
@@ -1,4 +1,4 @@
-.token-image-zoom-in-button {
+.token-image-zoom .token-image-zoom-in-button {
appearance: none;
outline: none;
border-width: 0;
@@ -6,7 +6,7 @@
cursor: zoom-in;
}
-.token-image-zoom-out-button {
+.token-image-zoom-modal .token-image-zoom-out-button {
appearance: none;
outline: none;
border-width: 0;
@@ -14,18 +14,7 @@
cursor: zoom-out;
}
-.token-image-zoom-modal {
- height: 100%;
-}
-
-.token-image-zoom-container {
- display: flex;
- align-items: center;
- justify-content: center;
- height: 100%;
-}
-
-.token-image-zoom-container .button-close {
+.token-image-zoom-modal .button-close {
position: absolute;
top: 12px;
right: 24px;
diff --git a/src/styles/poap.css b/src/styles/token-image.css
similarity index 61%
rename from src/styles/poap.css
rename to src/styles/token-image.css
index b1e948c..8dad50c 100644
--- a/src/styles/poap.css
+++ b/src/styles/token-image.css
@@ -1,4 +1,5 @@
-.poap {
+.token-image {
+ display: inline-block;
border-radius: 50%;
overflow: hidden;
object-fit: cover;
diff --git a/src/styles/warning-icon.css b/src/styles/warning-icon.css
index 0c06fd4..b1b1c83 100644
--- a/src/styles/warning-icon.css
+++ b/src/styles/warning-icon.css
@@ -4,3 +4,7 @@
border-bottom: 1px dotted #D4BE74;
cursor: help;
}
+
+.warning-icon .icon::before {
+ content: "⚠";
+}
diff --git a/src/styles/welcome.css b/src/styles/welcome.css
index 91040dd..a061645 100644
--- a/src/styles/welcome.css
+++ b/src/styles/welcome.css
@@ -1,6 +1,8 @@
.welcome {
position: relative;
- margin: 1rem;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
+ min-width: 23rem;
}
.welcome::before {
@@ -15,7 +17,7 @@
opacity: .25;
}
-.welcome-content {
+.welcome .welcome-content {
position: relative;
background-color: #C2E6F5;
border: 1px solid #6692A4;
@@ -23,13 +25,13 @@
border-radius: 3.2rem;
}
-.welcome-content .link {
+.welcome .welcome-content .link {
background-color: transparent;
border-width: 0;
color: blue;
cursor: pointer;
}
-.welcome-content .link:hover {
+.welcome .welcome-content .link:hover {
text-decoration: underline;
}
|