remove old css

This commit is contained in:
Tobias Merkle 2024-04-08 12:05:59 -04:00
parent 2a08f14a64
commit 6ef6f4b036
3 changed files with 0 additions and 587 deletions

View File

@ -1,363 +0,0 @@
/* #root {
max-width: 700px;
margin: 0 auto;
padding: 2rem 0;
text-align: center;
width: 75%;
max-height: calc(100vh - 64px);
min-height: calc(100vh - 64px);
}
.row {
display: flex;
flex-direction: row;
align-items: center;
}
.row.center {
justify-content: center;
}
.row.between {
justify-content: space-between;
}
.row.around {
justify-content: space-around;
}
.col {
display: flex;
flex-direction: column;
align-items: flex-start;
}
.col.center {
align-items: center;
}
.card {
background-color: var(--input-background);
border-radius: 0.75em;
border: 1px solid var(--orange-medium);
padding: 1em;
}
button.action-btn {
min-width: 100px;
}
button.small {
padding: 0.25em 0.5em;
height: auto;
}
.searchbar {
height: 2.25em;
padding: .5em 1em;
border-radius: 16px;
flex: 1;
background-color: var(--input-background);
text-align: left;
}
.searchbar>input {
border: none;
height: 1.5em;
margin-left: 0.5em;
flex: 1;
}
button.connect-wallet {
margin: 1em auto 0;
}
.my-pkg-btn {
margin-left: 1em;
}
.my-pkg-btn.selected {
background-color: var(--bg-gray-medium);
}
.app-header {
cursor: pointer;
width: calc(100% - 10.3em);
justify-content: flex-start;
}
.app-header:hover {
text-decoration: underline;
}
.app-header.large:hover {
text-decoration: none;
cursor: default;
}
.app-header.small>img {
height: 3em;
margin-right: 1em;
border-radius: 0.375em;
}
.app-header>img {
height: 3em;
margin-right: 1em;
border-radius: 0.375em;
}
.app-header.large>img {
height: 5em;
margin-right: 1em;
border-radius: 0.5em;
}
.app-header.large .app-name {
font-size: 1.5em;
}
.app-entry {
width: 100%;
}
.app-actions {
margin-right: 0.5em;
}
.dropdown {
cursor: pointer;
position: relative;
}
.dropdown>ul {
background-color: var(--orange-medium);
padding: 0.5em 1em;
border-radius: 0.5em;
align-items: flex-start;
text-align: left;
border: 1px solid var(--orange-medium);
display: flex;
flex-direction: column;
}
.dropdown .dropdown-header {
align-self: flex-end;
}
.dropdown .dropdown-list {
position: absolute;
top: 1em;
right: -0.5em;
}
.page-selector {
margin: 0.25em 0.5em;
}
.page-selector.selected {
font-weight: 900;
}
.back-btn {
margin-right: 1em;
justify-content: center;
width: 2.5em;
}
.app-details {
margin-top: 0.5em;
align-items: flex-start;
}
.app-details .title {
width: 8em;
text-align: left;
}
.app-details .value {
margin-bottom: 0.5em;
text-align: left;
max-width: calc(100% - 8em);
}
.app-details .value.underline {
text-decoration: underline;
}
.app-details .value.permission {
background-color: var(--bg-gray-medium);
border-radius: 2em;
padding: 0.25em 0.5em;
margin-bottom: 0.5em;
}
.app-screenshots {
margin-top: 0.5em;
overflow-x: scroll;
max-width: 100%;
}
.app-screenshots>img {
margin-right: 1em;
max-height: 10em;
max-width: 100%;
border-radius: 0.5em;
border: 1px solid var(--bg-gray-medium);
}
.search-icon {
cursor: pointer;
color: var(--bg-gray-solid);
font-size: 1.25em;
}
.f-width {
width: 100%;
}
#loading h3 {
text-align: center;
}
#loader {
display: inline-block;
position: relative;
width: 48px;
height: 48px;
margin-top: 16px;
}
#loader div {
box-sizing: border-box;
display: block;
position: absolute;
width: 36px;
height: 36px;
margin: 6px;
border: 6px solid #fff;
border-radius: 50%;
animation: loader 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
border-color: #fff transparent transparent transparent;
}
#loader div:nth-child(1) {
animation-delay: -0.45s;
}
#loader div:nth-child(2) {
animation-delay: -0.3s;
}
#loader div:nth-child(3) {
animation-delay: -0.15s;
}
@keyframes loader {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.my-apps-list {
flex: 1;
height: 100%;
overflow-y: scroll;
max-height: calc(100vh - 10em);
border-radius: 0.5em;
}
.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.title {
width: calc(100% - 6em);
}
.title>div {
max-width: 100%;
}
.modal-backdrop {
background-color: rgba(0, 0, 0, 0.3);
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 3;
min-height: 10em;
min-width: 20em;
}
.modal-backdrop .close {
position: absolute;
top: 0.5em;
right: 0.5em;
font-size: 18px;
font-weight: 200;
cursor: pointer;
transform: rotate(45deg);
}
.modal {
position: relative;
background-color: var(--dark-background);
color: black;
border-radius: 8px;
padding: 24px;
line-height: 24px;
max-width: 500px;
min-width: 300px;
color: var(--text-light);
}
.modal .modal-title {
margin-top: 0;
margin-bottom: 0.5em;
}
.modal .modal-content {
align-items: center;
width: 100%;
gap: 1em;
}
form.new {
gap: 1em;
}
form.metadata {
gap: 0.5em;
align-items: center;
}
form.metadata input {
width: 100%;
}
form.metadata .row {
margin-top: 1em;
}
form.metadata .col.label {
width: 80%;
}
.page-title {
align-items: center;
margin: 1em 0;
} */

View File

@ -12,7 +12,6 @@ import { MY_APPS_PATH } from "./constants/path";
import { ChainId, PACKAGE_STORE_ADDRESSES } from "./constants/chain"; import { ChainId, PACKAGE_STORE_ADDRESSES } from "./constants/chain";
import PublishPage from "./pages/PublishPage"; import PublishPage from "./pages/PublishPage";
import { hooks as metaMaskHooks, metaMask } from './utils/metamask' import { hooks as metaMaskHooks, metaMask } from './utils/metamask'
import "./App.css";
const connectors: [MetaMask, Web3ReactHooks][] = [ const connectors: [MetaMask, Web3ReactHooks][] = [
[metaMask, metaMaskHooks], [metaMask, metaMaskHooks],

View File

@ -1,223 +0,0 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
:root {
--text-light: #FFF5D9;
--text-dark: #22211F;
--text-orange: #FF7533;
--orange-light: #F36822;
--orange-medium: #F35422;
--orange-burnt: #E25F35;
--medium-gray: #7E7E7E;
--gray-button: rgba(253, 245, 220, 0.25);
--dark-background: rgb(130, 59, 28);
--input-background: rgba(243, 84, 34, 0.25);
/* orange-medium */
}
body {
margin: 0;
font-size: 16px;
color: var(--text-light);
font-weight: 400;
background: url('./assets/background.jpg') no-repeat center center fixed;
background-size: cover;
background-color: var(--dark-background);
height: 100vh;
width: 100vw;
}
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
button,
input {
font-family: 'Barlow Condensed', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
line-height: 1.5em;
font-weight: 500;
margin: 0;
}
h1 {
font-size: 64px;
}
h2 {
font-size: 48px;
}
h3 {
font-size: 36px;
}
h4 {
font-size: 24px;
}
h5 {
font-size: 20px;
}
h6 {
font-size: 16px;
}
.col {
display: flex;
flex-direction: column;
}
.row {
display: flex;
flex-direction: row;
align-items: center;
}
input,
button {
all: unset;
}
input[type="text"],
input[type="password"],
input[type="checkbox"] {
padding: 1em;
border: 1px solid var(--orange-medium);
border-radius: 8px;
box-sizing: border-box;
font-size: 1em;
background-color: var(--input-background);
color: var(--text-light);
text-align: left;
}
input[type="text"],
input[type="password"] {
width: 100%;
}
input[type="checkbox"] {
padding: 0.25em 0.8em;
cursor: pointer;
}
input[type="checkbox"]:checked {
background-color: var(--orange-medium);
}
.checkmark {
position: absolute;
left: 4px;
font-size: 24px;
top: -5px;
cursor: pointer;
}
::placeholder {
color: var(--text-light);
}
::-webkit-input-placeholder::placeholder {
color: var(--text-light);
}
::-moz-placeholder::placeholder {
color: var(--text-light);
}
::-ms-input-placeholder {
color: var(--text-light);
}
label {
font-size: 20px;
}
button,
[type='button'],
[type='reset'],
[type='submit'] {
padding: 0.75em 1em;
margin: 0;
font-weight: 500;
border-width: 1px;
border-style: solid;
border-color: var(--orange-medium);
/* border-image: linear-gradient(to right, var(--orange-medium), var(--orange-light)); */
border-radius: 8px;
background: var(--orange-medium);
box-sizing: border-box;
cursor: pointer;
font-size: 1.125em;
transition: all 0.1s;
box-shadow: 0 1px 2px var(--orange-light);
color: var(--text-light);
}
button.alt {
background-color: var(--text-light);
color: var(--text-dark);
border-color: var(--text-light);
box-shadow: 0 1px 2px var(--text-light);
}
button:hover {
opacity: 0.9;
box-shadow: none;
}
button:disabled {
background-color: var(--medium-gray);
border: 1px solid var(--medium-gray);
box-shadow: 0 1px 2px var(--medium-gray);
opacity: 0.7;
cursor: not-allowed;
}
ul,
li {
all: unset;
}
select {
padding: 0.25em 0.5em;
font-size: 0.9rem;
border: 1px solid var(--orange-medium);
background-color: var(--input-background);
color: var(--text-light);
border-radius: 8px;
/* Use a custom chevron image */
background-image: url('./assets/select-chevron.svg');
background-repeat: no-repeat;
background-position: right 8px center;
/* Adjust the horizontal position to control padding */
background-size: 16px;
/* Adjust size of the chevron */
padding-right: 2em;
/* Adjust the padding to make room for the chevron */
-webkit-appearance: none;
/* Removes default styling on WebKit browsers like Safari */
-moz-appearance: none;
/* Removes default styling on Firefox */
appearance: none;
/* Standard property, currently not fully supported */
}