Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add js build tool and demo page #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist/

# Compiled class file
*.class

Expand Down Expand Up @@ -64,3 +66,6 @@ node_modules/

# TernJS port file
.tern-port

# Build cache
.parcel-cache
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/fermium
3 changes: 3 additions & 0 deletions .swcrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"minify": true
}
67 changes: 67 additions & 0 deletions demo/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
body {
font-family: -apple-system, BlinkMacSystemFont, sans-serif;
margin: 2rem auto;
background-color: #ececef;
max-width: 100%;
width: 640px;
}

.MiniApp {
box-shadow: -2px 2px 4px #dadada;
border-radius: 8px;
border: 1px solid #cecece;
border-top-width: 28px;
padding: 2rem;
max-width: 100%;
position: relative;
}

.MiniApp::after {
content: "○ ○ ○";
position: absolute;
top: -24px;
left: 6px;
font-weight: bold;
color: #aaa;
font-size: 14px;
}

.MiniApp-button {
border-width: 2px;
border-style: solid;
border-radius: 100px;
border-color: #ccc;
background-color: #fff;
cursor: pointer;
padding: 0 1em;
height: 2.5rem;
display: inline-flex;
align-items: center;
}

.MiniApp-button + .MiniApp-button,
.MiniApp-input + .MiniApp-input,
.MiniApp-input + .MiniApp-button,
.MiniApp-button + .MiniApp-input {
margin-left: 10px;
}

.MiniApp-input {
border-radius: 4px;
border-width: 2px;
background-color: #fff;
border-color: #ccc;
border-style: solid;
height: 2.5rem;
display: inline-flex;
align-items: center;
position: relative;
padding: auto 0.5rem;
}

.MiniApp-flex-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
}
1 change: 1 addition & 0 deletions demo/reset.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 0 additions & 32 deletions dist/apca-w3-v.0.0.98g-4g.2.min.js

This file was deleted.

1 change: 0 additions & 1 deletion images/null.md

This file was deleted.

Loading