Css files reorganised
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
d739d256f5
commit
daed3b4ce2
@ -1,13 +0,0 @@
|
||||
:root {
|
||||
--main-color: #ffffff;
|
||||
--second-color: #ccde54;
|
||||
|
||||
--background-color: #d2cdd3;
|
||||
|
||||
--selected-team-primarycolor: #ffffff;
|
||||
--selected-team-secondarycolor: #000000;
|
||||
|
||||
--selection-color: #3f7fc4;
|
||||
|
||||
--arrows-color: #676767;
|
||||
}
|
@ -1,83 +0,0 @@
|
||||
#main {
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
border: solid 2px purple;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
font-family: Helvetica;
|
||||
}
|
||||
|
||||
.new {
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
#header {
|
||||
text-align: center;
|
||||
background-color: green;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#body {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
border: solid 10px violet;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
#personal-space {
|
||||
background-color: orange;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#sideMenu {
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
#titlePersonalSpace h2 {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#sideMenu h2 {
|
||||
display: inline-block;
|
||||
margin-right: 5%;
|
||||
}
|
||||
|
||||
.titreSideMenu {
|
||||
border-bottom: black solid 2px;
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
#sideMenu .title {
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: #ffffff;
|
||||
letter-spacing: 1px;
|
||||
text-transform: uppercase;
|
||||
background-color: black;
|
||||
padding: 1.5%;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
#bodyPersonalSpace {
|
||||
width: 95%;
|
||||
border: 1px red solid;
|
||||
align-self: center;
|
||||
}
|
||||
#bodyPersonalSpace table {
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
border-spacing: 1em;
|
||||
}
|
||||
|
||||
td {
|
||||
border: 3px solid black;
|
||||
padding-bottom: 1%;
|
||||
padding-top: 1%;
|
||||
margin: 80px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
td:hover {
|
||||
background-color: red;
|
||||
}
|
@ -0,0 +1,2 @@
|
||||
@import url(../template/header.css);
|
||||
@import url(../theme/dark.css);
|
@ -0,0 +1,65 @@
|
||||
#header {
|
||||
text-align: center;
|
||||
background-color: var(--main-color);
|
||||
margin: 0px;
|
||||
/* border : var(--accent-color) 1px solid; */
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
font-family: var(--font-title);
|
||||
/* border-radius: 0.75cap; */
|
||||
}
|
||||
|
||||
#img-account {
|
||||
width: 100%;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#header-right,
|
||||
#header-left {
|
||||
width: 10%;
|
||||
/* border: yellow 2px solid; */
|
||||
}
|
||||
|
||||
#header-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
#username {
|
||||
color: var(--main-contrast-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
#clickable-header-right:hover #username {
|
||||
color: var(--accent-color);
|
||||
}
|
||||
|
||||
#header-center {
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
#clickable-header-right {
|
||||
width: 40%;
|
||||
border-radius: 1cap;
|
||||
padding: 2%;
|
||||
}
|
||||
|
||||
#clickable-header-right:hover {
|
||||
border: orange 1px solid;
|
||||
}
|
||||
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
#img-account {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#IQBall {
|
||||
color: var(--accent-color);
|
||||
font-weight: bold;
|
||||
font-size: 45px;
|
||||
}
|
@ -0,0 +1,36 @@
|
||||
/**
|
||||
*
|
||||
* @param param0 username
|
||||
* @returns Header
|
||||
*/
|
||||
export function Header({ username }: { username: string }) {
|
||||
return (
|
||||
<div id="header">
|
||||
<div id="header-left"></div>
|
||||
<div id="header-center">
|
||||
<h1
|
||||
id="IQBall"
|
||||
className="clickable"
|
||||
onClick={() => {
|
||||
location.pathname = "/"
|
||||
}}>
|
||||
<span id="IQ">IQ</span>
|
||||
<span id="Ball">Ball</span>
|
||||
</h1>
|
||||
</div>
|
||||
<div id="header-right">
|
||||
<div className="clickable" id="clickable-header-right">
|
||||
{/* <AccountSvg id="img-account" /> */}
|
||||
<img
|
||||
id="img-account"
|
||||
src="account.svg"
|
||||
onClick={() => {
|
||||
location.pathname = "/settings"
|
||||
}}
|
||||
/>
|
||||
<p id="username">{username}</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
}
|
Loading…
Reference in new issue