mirror of
https://github.com/hubHarmony/servii-frontend.git
synced 2024-11-17 21:40:30 +00:00
fix styles
This commit is contained in:
parent
0eb0b0c2ff
commit
00f306045f
@ -64,7 +64,6 @@ const ServerCard = ({status, version, link, name, framework, onRunClick, onStopC
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.version}>Version: {version}</div>
|
<div className={styles.version}>Version: {version}</div>
|
||||||
<div className={styles.version}></div >
|
|
||||||
<button className={styles.runningButton} onClick={handleDelete}><img src={delete_button} className={styles.deleteButton}/></button>
|
<button className={styles.runningButton} onClick={handleDelete}><img src={delete_button} className={styles.deleteButton}/></button>
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
|
@ -31,6 +31,8 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
|
margin-top: 1rem;
|
||||||
|
|
||||||
}
|
}
|
||||||
.runningButton{
|
.runningButton{
|
||||||
background-color: #8d213e;
|
background-color: #8d213e;
|
||||||
@ -41,6 +43,7 @@
|
|||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: background-color 0.3s ease;
|
transition: background-color 0.3s ease;
|
||||||
|
margin-top: 1rem;
|
||||||
}
|
}
|
||||||
.deleteButton{
|
.deleteButton{
|
||||||
width: 20px;
|
width: 20px;
|
||||||
@ -61,6 +64,7 @@
|
|||||||
.version {
|
.version {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
|
margin-right: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leftCard {
|
.leftCard {
|
||||||
|
@ -11,8 +11,8 @@ html {
|
|||||||
--profile-pic-size: 3rem;
|
--profile-pic-size: 3rem;
|
||||||
--logout-button-bg: #ff4b4b;
|
--logout-button-bg: #ff4b4b;
|
||||||
--logout-button-bg-hover: #ff1a1a;
|
--logout-button-bg-hover: #ff1a1a;
|
||||||
--card-width: 90%;
|
--card-width: 100%;
|
||||||
--card-padding: 2.5rem;
|
--card-padding: 4rem;
|
||||||
--card-border-color: #343947;
|
--card-border-color: #343947;
|
||||||
--card-bg-color: #1D1836;
|
--card-bg-color: #1D1836;
|
||||||
--main-bg-color: #050816;
|
--main-bg-color: #050816;
|
||||||
|
@ -77,7 +77,7 @@ const DashboardPage = ({ user }) => {
|
|||||||
<Loading />
|
<Loading />
|
||||||
) :
|
) :
|
||||||
<div className={styles.cardsContainer}>
|
<div className={styles.cardsContainer}>
|
||||||
<div className={styles.iptitle}>Adresse de connexions à vos serveurs : <span>{subdomain}.servii.fr</span></div>
|
<div className={styles.iptitle}>Adresse de connexion à vos serveurs : <span>{subdomain}.servii.fr</span></div>
|
||||||
{servers.length === 0 ? (
|
{servers.length === 0 ? (
|
||||||
<NoServer user={user} onCreateServer={handleCreateServer} />
|
<NoServer user={user} onCreateServer={handleCreateServer} />
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user