-
Notifications
You must be signed in to change notification settings - Fork 45
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
Showing
11 changed files
with
128 additions
and
96 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,50 +1,39 @@ | ||
@import '~@/styles/parameters.less'; | ||
|
||
.wrapper { | ||
.cardItemWrapper { | ||
display: flex; | ||
gap: 12px; | ||
padding: 12px 12px; | ||
align-items: center; | ||
background-color: rgba(0, 0, 0, 0.03); | ||
border-radius: 8px; | ||
box-shadow: @panel-default-box-shadow; | ||
padding: 12px; | ||
border: 1px solid @border-light-color; | ||
flex-wrap: wrap; | ||
gap: 16px; | ||
border: 1px solid rgba(0, 0, 0, 0.1); | ||
|
||
.cardItemWrapper { | ||
display: flex; | ||
gap: 12px; | ||
padding: 6px 12px; | ||
align-items: center; | ||
background-color: @grey-2; | ||
border-radius: 8px; | ||
width: calc(50% - 8px); | ||
border: 1px solid @border-color-primary; | ||
|
||
.icon { | ||
width: 16px; | ||
height: 16px; | ||
border-radius: 50%; | ||
flex: 0 0 auto; | ||
} | ||
.icon { | ||
width: 16px; | ||
height: 16px; | ||
border-radius: 50%; | ||
flex: 0 0 auto; | ||
} | ||
|
||
.name { | ||
overflow: hidden; | ||
flex: 1 1 auto; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} | ||
.name { | ||
overflow: hidden; | ||
flex: 1 1 auto; | ||
white-space: nowrap; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
.deleteWrapper { | ||
padding: 4px; | ||
display: flex; | ||
align-items: center; | ||
cursor: pointer; | ||
flex: 0 0 auto; | ||
border-radius: 4px; | ||
.deleteWrapper { | ||
padding: 4px; | ||
display: flex; | ||
align-items: center; | ||
cursor: pointer; | ||
flex: 0 0 auto; | ||
border-radius: 4px; | ||
justify-content: center; | ||
|
||
&:hover { | ||
background-color: @bg-primary-hover; | ||
} | ||
&:hover { | ||
background-color: @bg-primary-hover; | ||
} | ||
} | ||
} |
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 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 |
---|---|---|
@@ -1,9 +1,17 @@ | ||
import React from 'react'; | ||
import { createRoot } from 'react-dom/client'; | ||
import AntdLayout from '@/components/AntdLayout'; | ||
import AccountLayout from '@/components/AccountLayout'; | ||
import App from './app'; | ||
|
||
const importAll = (r: any) => r.keys().forEach(r); | ||
importAll(require.context('@/assets/icons', false, /\.png$/)); | ||
|
||
const root = createRoot(document.getElementById('ReactApp') as Element); | ||
root.render(<App />); | ||
root.render( | ||
<AntdLayout> | ||
<AccountLayout> | ||
<App /> | ||
</AccountLayout> | ||
</AntdLayout>, | ||
); |
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,6 @@ | ||
@import '~@/styles/parameters.less'; | ||
@import '../common.module.less'; | ||
|
||
.disableUrlCard { | ||
margin-top: 18px; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,7 @@ | |
} | ||
} | ||
} | ||
|
||
.iconWrapper { | ||
font-size: @font-size-lg; | ||
} |
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