-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
80a28be
commit 1381747
Showing
20 changed files
with
385 additions
and
257 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
packages/force-copy/src/popup/components/app/index.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
body { | ||
user-select: none; | ||
background-color: var(--color-bg-3); | ||
} | ||
|
||
.container { | ||
padding: 10px; | ||
width: 270px; | ||
color: var(--color-text-1); | ||
} | ||
|
||
.hr { | ||
margin: 5px 0; | ||
height: 1px; | ||
background-color: var(--color-border-3); | ||
width: 100%; | ||
} | ||
|
||
.console { | ||
position: relative; | ||
> div { | ||
margin: 10px 5px; | ||
display: flex; | ||
align-items: center; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import type { FC } from "react"; | ||
import styles from "./index.module.scss"; | ||
import { cs } from "laser-utils"; | ||
import { I18n } from "../../i18n"; | ||
import { cross } from "@/utils/global"; | ||
import { Console } from "../console"; | ||
import { Header } from "../header"; | ||
import { Footer } from "../footer"; | ||
|
||
const i18n = new I18n(cross.i18n.getUILanguage()); | ||
|
||
export const App: FC = () => { | ||
return ( | ||
<div className={cs(styles.container)}> | ||
<Header i18n={i18n}></Header> | ||
|
||
<div className={styles.hr}></div> | ||
|
||
<div className={styles.console}> | ||
<Console i18n={i18n}></Console> | ||
</div> | ||
|
||
<div className={styles.hr}></div> | ||
|
||
<Footer i18n={i18n}></Footer> | ||
</div> | ||
); | ||
}; |
4 changes: 4 additions & 0 deletions
4
packages/force-copy/src/popup/components/console/index.module.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.switch { | ||
display: flex; | ||
justify-content: center; | ||
} |
Oops, something went wrong.