chore: move client folders (#948)

This commit is contained in:
DarkSky
2023-02-10 20:41:01 +08:00
committed by GitHub
parent cb118149f3
commit 8a7393a961
235 changed files with 114 additions and 215 deletions

2
apps/web/public/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
*.js
*.map

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

BIN
apps/web/public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

195
apps/web/public/globals.css Normal file
View File

@@ -0,0 +1,195 @@
* {
-webkit-overflow-scrolling: touch;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
box-sizing: border-box;
/*transition: all 0.1s;*/
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
div,
dl,
dt,
dd,
ul,
ol,
li,
p,
blockquote,
pre,
hr,
figure,
table,
caption,
th,
td,
form,
fieldset,
legend,
input,
button,
textarea,
menu {
margin: 0;
padding: 0;
}
header,
footer,
section,
article,
aside,
nav,
hgroup,
address,
figure,
figcaption,
menu,
details {
display: block;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
caption,
th {
text-align: left;
font-weight: normal;
}
html,
body,
fieldset,
img,
iframe,
abbr {
border: 0;
}
i,
cite,
em,
var,
address,
dfn {
font-style: normal;
}
[hidefocus],
summary {
outline: 0;
}
li {
list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6,
small {
font-size: 100%;
}
sup,
sub {
font-size: 83%;
}
pre,
code,
kbd,
samp {
font-family: inherit;
}
q:before,
q:after {
content: none;
}
textarea {
overflow: auto;
resize: none;
}
label,
summary {
cursor: default;
}
a,
button {
cursor: pointer;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
font-weight: bold;
}
del,
ins,
u,
s,
a,
a:hover {
text-decoration: none;
}
body,
textarea,
input,
button,
select,
keygen,
legend {
background-color: unset;
outline: 0;
border: 0;
font-size: var(--affine-font-base);
line-height: var(--affine-line-height);
color: var(--affine-text-color);
font-family: var(--affine-font-family);
}
body {
background: #fff;
}
a,
a:hover {
color: var(--affine-link-color);
}
a:visited {
color: var(--affine-link-visited-color);
}
input {
border: none;
-moz-appearance: none;
-webkit-appearance: none; /*Solve the rounded corners of buttons on ios*/
border-radius: 0; /*Solve the problem of rounded corners of the input box on ios*/
outline: medium; /*Remove the default yellow border on mouse click*/
background-color: transparent;
}
input:-webkit-autofill {
-webkit-box-shadow: 0 0 0 1000px white inset;
}
input[type='number'] {
-moz-appearance: textfield;
}
input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
* {
scrollbar-width: none; /* Firefox */
-ms-overflow-style: none; /* IE 10+ */
}
::-webkit-scrollbar {
display: none; /* Chrome Safari */
}

View File

@@ -0,0 +1,17 @@
{
"name": "AFFiNE",
"short_name": "AFFiNE",
"icons": [
{
"src": "/chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"start_url": "/",
"display": "standalone",
"orientation": "portrait"
}

View File

@@ -0,0 +1,22 @@
/*:root {*/
/* --affine-primary-color: #3a4c5c;*/
/* --affine-muted-color: #a6abb7;*/
/* --affine-highlight-color: #6880ff;*/
/* --affine-placeholder-color: #c7c7c7;*/
/* --affine-selected-color: rgba(104, 128, 255, 0.1);*/
/* --affine-font-family: Avenir Next, apple-system, BlinkMacSystemFont,*/
/* Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,*/
/* Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,*/
/* Segoe UI Symbol, Noto Color Emoji;*/
/* --affine-font-family2: Roboto Mono, apple-system, BlinkMacSystemFont,*/
/* Helvetica Neue, Tahoma, PingFang SC, Microsoft Yahei, Arial,*/
/* Hiragino Sans GB, sans-serif, Apple Color Emoji, Segoe UI Emoji,*/
/* Segoe UI Symbol, Noto Color Emoji;*/
/*}*/
/*:root {*/
/* --page-background-color: #fff;*/
/* --page-text-color: #3a4c5c;*/
/*}*/