Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
N
Neos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
love_飞影
Neos
Commits
344b0a98
Commit
344b0a98
authored
Feb 11, 2023
by
Chunchi Che
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update css
parent
eaae7951
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
20 deletions
+11
-20
src/styles/_join-room.css
src/styles/_join-room.css
+0
-13
src/styles/_mora.scss
src/styles/_mora.scss
+1
-1
src/styles/_wait-room.scss
src/styles/_wait-room.scss
+1
-1
src/styles/core.scss
src/styles/core.scss
+5
-3
src/ui/Mora.tsx
src/ui/Mora.tsx
+2
-1
src/ui/WaitRoom.tsx
src/ui/WaitRoom.tsx
+2
-1
No files found.
src/styles/_join-room.css
deleted
100644 → 0
View file @
eaae7951
body
{
margin
:
0
;
justify-content
:
center
;
}
.login_div
{
margin
:
auto
;
padding
:
10%
;
}
.login_p
{
text-align
:
center
;
}
src/styles/_mora.css
→
src/styles/_mora.
s
css
View file @
344b0a98
.container
{
.
mora_
container
{
display
:
flex
;
margin
:
auto
;
padding
:
0
;
...
...
src/styles/_wait-room.css
→
src/styles/_wait-room.
s
css
View file @
344b0a98
.container
{
.
wait_
container
{
display
:
flex
;
margin
:
auto
;
padding
:
0
;
...
...
src/styles/core.scss
View file @
344b0a98
// ref: https://github.com/jvcjunior/login-react-redux
// thanks!
@charset
"utf-8"
;
html
,
body
,
div
,
span
,
applet
,
object
,
iframe
,
...
...
@@ -46,13 +48,13 @@ table {
@import
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css")
,
"commom"
,
//
"alerts"
,
"header"
,
"login-form"
,
"sign-in"
,
url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css")
;
// "loading
";
"wait-room"
,
"mora
"
;
*
{
...
...
src/ui/Mora.tsx
View file @
344b0a98
...
...
@@ -18,6 +18,7 @@ import { store } from "../store";
import
{
useEffect
}
from
"
react
"
;
import
{
useNavigate
}
from
"
react-router-dom
"
;
import
{
Button
}
from
"
antd
"
;
import
"
../styles/core.scss
"
;
// TODO: 应该展示聊天信息
export
default
function
Mora
()
{
...
...
@@ -59,7 +60,7 @@ export default function Mora() {
};
return
(
<
div
className=
"container"
>
<
div
className=
"
mora_
container"
>
<
div
className=
"item"
>
<
Button
disabled=
{
!
selectHandAble
}
onClick=
{
handleSelectScissors
}
>
scissors
...
...
src/ui/WaitRoom.tsx
View file @
344b0a98
...
...
@@ -24,6 +24,7 @@ import sqliteMiddleWare, { sqliteCmd } from "../middleware/sqlite";
import
{
Button
}
from
"
antd
"
;
import
{
store
}
from
"
../store
"
;
import
{
initMeExtraDeckMeta
}
from
"
../reducers/duel/extraDeckSlice
"
;
import
"
../styles/core.scss
"
;
const
READY_STATE
=
"
ready
"
;
...
...
@@ -87,7 +88,7 @@ export default function WaitRoom() {
};
return
(
<
div
className=
"container"
>
<
div
className=
"
wait_
container"
>
<
div
className=
"playerRegion"
>
<
h2
>
{
joined
?
"
Room Joined!
"
:
"
Room Not Joined.
"
}
</
h2
>
<
p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment