-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: modified css and gasfee component
- Loading branch information
1 parent
b184d96
commit 4bff2a5
Showing
6 changed files
with
98 additions
and
116 deletions.
There are no files selected for viewing
11 changes: 6 additions & 5 deletions
11
frontend/src/components/StakeCard/GasFee.jsx → frontend/src/components/GasFee/GasFee.jsx
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,17 +1,18 @@ | ||
import React from 'react'; | ||
import { ReactComponent as SettingIcon } from 'assets/icons/settings.svg'; | ||
import './gasfee.css'; | ||
|
||
|
||
export default function GasFee() { | ||
return ( | ||
<div className="main-card-footer"> | ||
<div className="divider"></div> | ||
<div className="settings-fee-container"> | ||
<div className="setting-circle"> | ||
<SettingIcon className="setting-icon" /> | ||
<div className="gas-fee-container"> | ||
<div className="gas-fee-circle"> | ||
<SettingIcon className="gas-fee-icon" /> | ||
</div> | ||
<div className="fee-title">Gas fee: 0.00 STRK</div> | ||
<div className="gas-fee-title">Gas fee: 0.00 STRK</div> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} |
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,31 @@ | ||
.gas-fee-container { | ||
width: 100%; | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
} | ||
|
||
.gas-fee-circle { | ||
width: 32px; | ||
height: 32px; | ||
background-color: var(--footer-divider-bg); | ||
border-radius: 50%; | ||
display: inline-block; | ||
position: relative; | ||
cursor: pointer; | ||
} | ||
|
||
.gas-fee-icon { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
width: 16px; | ||
height: 16px; | ||
} | ||
|
||
.gas-fee-title { | ||
color: var(--stormy-gray); | ||
font-size: 12px; | ||
font-weight: 400; | ||
} |
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,14 +1,14 @@ | ||
.stake-card { | ||
width: 309px; | ||
background: var(--header-button-bg); | ||
border: var(--midnight-purple-border); | ||
border-radius: 900px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
width: 309px; | ||
background: var(--header-button-bg); | ||
border: var(--midnight-purple-border); | ||
border-radius: 900px; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
.stake-card .img { | ||
margin-right: 100px; | ||
} | ||
.stake-card .img { | ||
margin-right: 100px; | ||
} |
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