Compare commits

...

2 Commits

Author SHA1 Message Date
d34713c085 Credentials 2022-08-27 14:51:26 +03:00
0cf693ae3b Changed default window size, transferring html, creating components 2022-08-27 14:26:01 +03:00
49 changed files with 755 additions and 126 deletions

View File

@ -11,8 +11,8 @@ function createWindow() {
win = new electron_1.BrowserWindow({ win = new electron_1.BrowserWindow({
x: 0, x: 0,
y: 0, y: 0,
width: size.width, width: 1215,
height: size.height, height: 750,
webPreferences: { webPreferences: {
nodeIntegration: true, nodeIntegration: true,
allowRunningInsecureContent: (serve), allowRunningInsecureContent: (serve),

View File

@ -0,0 +1,6 @@
<div class="button">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 48 48">
<path d="M0 0h48v48h-48z" fill="none"/>
<path d="M38.86 25.95c.08-.64.14-1.29.14-1.95s-.06-1.31-.14-1.95l4.23-3.31c.38-.3.49-.84.24-1.28l-4-6.93c-.25-.43-.77-.61-1.22-.43l-4.98 2.01c-1.03-.79-2.16-1.46-3.38-1.97l-.75-5.3c-.09-.47-.5-.84-1-.84h-8c-.5 0-.91.37-.99.84l-.75 5.3c-1.22.51-2.35 1.17-3.38 1.97l-4.98-2.01c-.45-.17-.97 0-1.22.43l-4 6.93c-.25.43-.14.97.24 1.28l4.22 3.31c-.08.64-.14 1.29-.14 1.95s.06 1.31.14 1.95l-4.22 3.31c-.38.3-.49.84-.24 1.28l4 6.93c.25.43.77.61 1.22.43l4.98-2.01c1.03.79 2.16 1.46 3.38 1.97l.75 5.3c.08.47.49.84.99.84h8c.5 0 .91-.37.99-.84l.75-5.3c1.22-.51 2.35-1.17 3.38-1.97l4.98 2.01c.45.17.97 0 1.22-.43l4-6.93c.25-.43.14-.97-.24-1.28l-4.22-3.31zm-14.86 5.05c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z"/>
</svg>
</div>

View File

@ -0,0 +1,21 @@
.button {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 5px;
height: min-content;
margin-left: 10px;
height: 100%;
}
.button:hover {
transition: all 0.2s;
background-color: rgba(255, 255, 255, 0.2);
-webkit-backdrop-filter: drop-shadow(5px 5px 0px #ffffff);
backdrop-filter: drop-shadow(5px 5px 4px #ffffff);
}
.button > .text {
font-size: 25px;
padding: 5px 40px;
}
.button > svg {
padding: 5px 7px 0px 7px;
filter: invert(1) opacity(0.4);
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ButtonSvgComponent } from './button-svg.component';
describe('ButtonSvgComponent', () => {
let component: ButtonSvgComponent;
let fixture: ComponentFixture<ButtonSvgComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ButtonSvgComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(ButtonSvgComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-button-svg',
templateUrl: './button-svg.component.html',
styleUrls: ['./button-svg.component.scss']
})
export class ButtonSvgComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,3 @@
<div class="button">
<div class="text">Play</div>
</div>

View File

@ -0,0 +1,17 @@
.button {
background-color: rgba(255, 255, 255, 0.05);
border-radius: 5px;
height: min-content;
margin-left: 10px;
height: 100%;
}
.button:hover {
transition: all 0.2s;
background-color: rgba(255, 255, 255, 0.2);
-webkit-backdrop-filter: drop-shadow(5px 5px 0px #ffffff);
backdrop-filter: drop-shadow(5px 5px 4px #ffffff);
}
.button > .text {
font-size: 25px;
padding: 5px 40px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ButtonComponent } from './button.component';
describe('ButtonComponent', () => {
let component: ButtonComponent;
let fixture: ComponentFixture<ButtonComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ButtonComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(ButtonComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-button',
templateUrl: './button.component.html',
styleUrls: ['./button.component.scss']
})
export class ButtonComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,17 @@
<div class="GameBar">
<div class="img cornering">
<img src="https://ar.toneden.io/32268493/tracks/temp9217?cache=1581399956399" height="60px" width="60px">
</div>
<div class="two-lines-centered">
<div class="first-line">
<div class="text header">
<span>Minecraft</span>
</div>
<app-label></app-label>
<app-label></app-label>
</div>
<div class="text light darken">
<span>12 days left</span>
</div>
</div>
</div>

View File

@ -0,0 +1,16 @@
.GameBar {
display: flex;
margin-top: 13px;
padding: 10px 0 2px 10px;
margin-right: 15px;
}
.GameBar:hover {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 10px;
-webkit-backdrop-filter: drop-shadow(5px 5px 0px #ffffff);
backdrop-filter: drop-shadow(5px 5px 4px #ffffff);
}
.GameBar > .two-lines-centered {
margin-top: 5px;
margin-left: 15px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GameBarComponent } from './game-bar.component';
describe('GameBarComponent', () => {
let component: GameBarComponent;
let fixture: ComponentFixture<GameBarComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ GameBarComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(GameBarComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-game-bar',
templateUrl: './game-bar.component.html',
styleUrls: ['./game-bar.component.scss']
})
export class GameBarComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,3 @@
<div class="GameBody">
</div>

View File

@ -0,0 +1,3 @@
.GameBody {
height: calc(100% - 225px);
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GameBodyComponent } from './game-body.component';
describe('GameBodyComponent', () => {
let component: GameBodyComponent;
let fixture: ComponentFixture<GameBodyComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ GameBodyComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(GameBodyComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-game-body',
templateUrl: './game-body.component.html',
styleUrls: ['./game-body.component.scss']
})
export class GameBodyComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,9 @@
<div class="GameFooter">
<div>
<app-players-bar></app-players-bar>
</div>
<div class="ButtonsBar">
<app-button-svg></app-button-svg>
<app-button></app-button>
</div>
</div>

View File

@ -0,0 +1,3 @@
.GameFooter {
display: flex;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GameFooterComponent } from './game-footer.component';
describe('GameFooterComponent', () => {
let component: GameFooterComponent;
let fixture: ComponentFixture<GameFooterComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ GameFooterComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(GameFooterComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-game-footer',
templateUrl: './game-footer.component.html',
styleUrls: ['./game-footer.component.scss']
})
export class GameFooterComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,18 @@
<div class="GameHeader">
<div class="two-lines-centered">
<div class="first-line">
<div class="text header">
<span>Minecraft</span>
</div>
<div class="label">
Survival
</div>
<div class="label">
1.12.2
</div>
</div>
<div class="text light darken">
<span>Survival world with mods such as Industrial Craft, RailCraft, etc.</span>
</div>
</div>
</div>

View File

@ -0,0 +1,15 @@
.GameHeader {
margin: 25px 0px 0px 0;
}
.GameHeader > .two-lines-centered > .first-line > .header {
font-size: 40px;
font-family: "Poppins-Bold";
margin: 0 10px -11px 0;
}
.GameHeader > .two-lines-centered > .light {
font-size: 16px;
}
.GameHeader > .two-lines-centered > .first-line > .label {
font-size: 15px;
margin: 18px 0 0 5px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GameHeaderComponent } from './game-header.component';
describe('GameHeaderComponent', () => {
let component: GameHeaderComponent;
let fixture: ComponentFixture<GameHeaderComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ GameHeaderComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(GameHeaderComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-game-header',
templateUrl: './game-header.component.html',
styleUrls: ['./game-header.component.scss']
})
export class GameHeaderComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,8 @@
<!-- Game header and description -->
<app-game-header></app-game-header>
<!-- Game body (currently blank) -->
<app-game-body></app-game-body>
<!-- Online\voted players, buttons (game settings) -->
<app-game-footer></app-game-footer>

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { GenericGameComponent } from './generic-game.component';
describe('GenericGameComponent', () => {
let component: GenericGameComponent;
let fixture: ComponentFixture<GenericGameComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ GenericGameComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(GenericGameComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-generic-game',
templateUrl: './generic-game.component.html',
styleUrls: ['./generic-game.component.scss']
})
export class GenericGameComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -1,66 +1,41 @@
<div class="container"> <div class="container">
<div id="LeftBar"> <div id="LeftBar">
<div class="ProfileBar"> <!-- Profile bar -->
<div class="img rounded" id="ProfilePicture"> <app-profile-bar></app-profile-bar>
<img src="./assets/avatar.jpeg" height="45px" width="45px">
</div> <hr><!-- Divider -->
<div class="two-lines-centered">
<div class="first-line"> <div id="GamesBar">
<div class="text header big"> <!-- Active sessions -->
<span>MrSandyMoon</span> <app-session-count></app-session-count>
</div> <app-game-bar></app-game-bar>
<div class="label"> <app-game-bar></app-game-bar>
Booster
</div> <!-- Announced sessions -->
</div> <app-session-count></app-session-count>
<div class="text light darken"> <app-game-bar></app-game-bar>
<span>Administrator</span>
</div> <!-- To be voted sessions -->
</div> <app-session-count></app-session-count>
<app-game-bar></app-game-bar>
<app-game-bar></app-game-bar>
</div> </div>
<hr> <div class="Credentials">
<center>
<div #page id="GamesBar"> <span id="credentials-name">Created by Skirda Team</span>
<GameSideButtonComponent></GameSideButtonComponent> </center>
<div class="SessionCount"> <center>
<span class="semi-bold">2 </span> <span id="credentials-version" class="light darken">Version 0.0 Beta</span>
<span class="light">sessions active</span> </center>
</div>
<div class="SessionCount">
<span class="semi-bold">1 </span>
<span class="light">session announced</span>
</div>
<div class="SessionCount">
<span class="semi-bold">2 </span>
<span class="light">sessions to be voted</span>
</div>
</div> </div>
</div> </div>
<div id="RightBar"> <div id="RightBar">
<div class="two-lines-centered"> <app-generic-game></app-generic-game>
<div class="first-line">
<div class="text header">
<span>Minecraft</span>
</div>
<div class="label">
Survival
</div>
<div class="label">
1.12.2
</div>
</div>
<div class="text light darken">
<span>Survival world with mods such as Industrial Craft, RailCraft, etc.</span>
</div>
</div>
</div> </div>
</div> </div>

View File

@ -2,6 +2,29 @@
} }
/*********************************************/
/************** Main Frame *******************/
/*********************************************/
.container {
display: flex;
height: 100%;
}
#LeftBar {
width: 30%;
display: inline-block;
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
min-width: 350px;
}
#RightBar {
width: 70%;
display: inline-block;
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
padding-left: 60px;
}
.games-icons-panel{ .games-icons-panel{
position: fixed; position: fixed;
background-color: #454545; background-color: #454545;
@ -9,3 +32,30 @@
margin-left: auto; margin-left: auto;
float: left float: left
} }
#GamesBar {
margin-left: 15px;
height: calc(100% - 150px);
}
.ButtonsBar {
margin-left: auto;
margin-right: 70px;
display: flex;
}
/*********************************************/
/************** Credentials ******************/
/*********************************************/
.Credentials {
}
.Credentials > center {
margin-bottom: -8px;
}
#credentials-name {
font-size: 12px;
}
#credentials-version {
font-size: 10px;
}

View File

@ -5,9 +5,20 @@ import { HomeRoutingModule } from './home-routing.module';
import { HomeComponent } from './home.component'; import { HomeComponent } from './home.component';
import { SharedModule } from '../shared/shared.module'; import { SharedModule } from '../shared/shared.module';
import { GameBarComponent } from './game-bar/game-bar.component';
import { SessionCountComponent } from './session-count/session-count.component';
import { ProfileBarComponent } from './profile-bar/profile-bar.component';
import { LabelComponent } from './label/label.component';
import { GenericGameComponent } from './generic-game/generic-game.component';
import { GameHeaderComponent } from './game-header/game-header.component';
import { GameBodyComponent } from './game-body/game-body.component';
import { GameFooterComponent } from './game-footer/game-footer.component';
import { ButtonComponent } from './button/button.component';
import { ButtonSvgComponent } from './button-svg/button-svg.component';
import { PlayersBarComponent } from './players-bar/players-bar.component';
@NgModule({ @NgModule({
declarations: [HomeComponent], declarations: [HomeComponent, GameBarComponent, SessionCountComponent, ProfileBarComponent, LabelComponent, GenericGameComponent, GameHeaderComponent, GameBodyComponent, GameFooterComponent, ButtonComponent, ButtonSvgComponent, PlayersBarComponent],
imports: [CommonModule, SharedModule, HomeRoutingModule] imports: [CommonModule, SharedModule, HomeRoutingModule]
}) })
export class HomeModule {} export class HomeModule {}

View File

@ -0,0 +1,3 @@
<div class="label">
Booster
</div>

View File

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { LabelComponent } from './label.component';
describe('LabelComponent', () => {
let component: LabelComponent;
let fixture: ComponentFixture<LabelComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ LabelComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(LabelComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-label',
templateUrl: './label.component.html',
styleUrls: ['./label.component.scss']
})
export class LabelComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,17 @@
<div class="PlayersBar">
<div class="PlayersCount">
<span>Players online: </span>
<span>3</span>
</div>
<div class="PlayersIcons">
<div class="rounded">
<img src="./assets/avatar.jpeg" width="30px" height="30px">
</div>
<div class="rounded">
<img src="./assets/avatar.jpeg" width="30px" height="30px">
</div>
<div class="rounded">
<img src="./assets/avatar.jpeg" width="30px" height="30px">
</div>
</div>
</div>

View File

@ -0,0 +1,13 @@
.PlayersBar {
display: flex;
margin-top: 12px;
}
.PlayersIcons {
display: flex;
margin-left: 20px;
backdrop-filter: drop-shadow(1px 0px 4px #000000);
-webkit-backdrop-filter: drop-shadow(1px 0px 4px #000000);
}
.PlayersIcons > .rounded {
margin-left: -15px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PlayersBarComponent } from './players-bar.component';
describe('PlayersBarComponent', () => {
let component: PlayersBarComponent;
let fixture: ComponentFixture<PlayersBarComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ PlayersBarComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(PlayersBarComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-players-bar',
templateUrl: './players-bar.component.html',
styleUrls: ['./players-bar.component.scss']
})
export class PlayersBarComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,16 @@
<div class="ProfileBar">
<div class="img rounded" id="ProfilePicture">
<img src="./assets/avatar.jpeg" height="45px" width="45px">
</div>
<div class="two-lines-centered">
<div class="first-line">
<div class="text header big">
<span>MrSandyMoon</span>
</div>
<app-label></app-label>
</div>
<div class="text light darken">
<span>Administrator</span>
</div>
</div>
</div>

View File

@ -0,0 +1,22 @@
/*********************************************/
/************** Profile Bar ******************/
/*********************************************/
.ProfileBar {
display: flex;
padding: 5px 0 0 10px;
margin-bottom: -10px;
height: 60px;
}
.ProfileBar > .two-lines-centered {
margin-top: 4px;
margin-left: 15px;
}
#ProfilePicture {
padding-top: 3px;
}
.first-line > .header {
font-size: 19px;
margin-bottom: -5px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProfileBarComponent } from './profile-bar.component';
describe('ProfileBarComponent', () => {
let component: ProfileBarComponent;
let fixture: ComponentFixture<ProfileBarComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ ProfileBarComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(ProfileBarComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-profile-bar',
templateUrl: './profile-bar.component.html',
styleUrls: ['./profile-bar.component.scss']
})
export class ProfileBarComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -0,0 +1,4 @@
<div class="SessionCount">
<span class="semi-bold">2 </span>
<span class="light">sessions active</span>
</div>

View File

@ -0,0 +1,4 @@
.SessionCount {
font-size: 13px;
margin: 20px 0 20px 10px;
}

View File

@ -0,0 +1,23 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionCountComponent } from './session-count.component';
describe('SessionCountComponent', () => {
let component: SessionCountComponent;
let fixture: ComponentFixture<SessionCountComponent>;
beforeEach(async () => {
await TestBed.configureTestingModule({
declarations: [ SessionCountComponent ]
})
.compileComponents();
fixture = TestBed.createComponent(SessionCountComponent);
component = fixture.componentInstance;
fixture.detectChanges();
});
it('should create', () => {
expect(component).toBeTruthy();
});
});

View File

@ -0,0 +1,15 @@
import { Component, OnInit } from '@angular/core';
@Component({
selector: 'app-session-count',
templateUrl: './session-count.component.html',
styleUrls: ['./session-count.component.scss']
})
export class SessionCountComponent implements OnInit {
constructor() { }
ngOnInit(): void {
}
}

View File

@ -8,6 +8,7 @@ html, body {
background-size: cover; background-size: cover;
font-family: "Poppins-Regular"; font-family: "Poppins-Regular";
color: white; color: white;
backdrop-filter: brightness(0.7);
height: 100%; height: 100%;
} }
@ -27,6 +28,14 @@ html, body {
font-family: "Poppins-SemiBold"; font-family: "Poppins-SemiBold";
src: url("./assets/Poppins/Poppins-SemiBold.ttf"); src: url("./assets/Poppins/Poppins-SemiBold.ttf");
} }
@font-face {
font-family: "Poppins-Bold";
src: url("./assets/Poppins/Poppins-Bold.ttf");
}
@font-face {
font-family: "Poppins-ExtraBold";
src: url("./assets/Poppins/Poppins-ExtraBold.ttf");
}
.SemiBold { .SemiBold {
font-family: "Poppins-SemiBold" font-family: "Poppins-SemiBold"
@ -35,28 +44,6 @@ html, body {
font-family: "Poppins-Light" font-family: "Poppins-Light"
} }
/*********************************************/
/************** Main Frame *******************/
/*********************************************/
.container {
display: flex;
height: 100%;
}
#LeftBar {
width: 30%;
display: inline-block;
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
min-width: 350px;
}
#RightBar {
width: 70%;
display: inline-block;
-webkit-backdrop-filter: blur(2px);
backdrop-filter: blur(2px);
padding-left: 20px;
}
/*********************************************/ /*********************************************/
/************** Default Set ******************/ /************** Default Set ******************/
@ -95,57 +82,27 @@ hr {
border: 1px solid rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.1);
} }
/*********************************************/
/************** Profile Bar ******************/
/*********************************************/
.ProfileBar {
display: flex;
padding: 5px 0 0 10px;
margin-bottom: -10px;
height: 60px;
}
.ProfileBar > .two-lines-centered {
margin-top: 4px;
margin-left: 15px;
}
#ProfilePicture {
padding-top: 3px;
}
.first-line > .header {
font-size: 19px;
margin-bottom: -5px;
}
/*********************************************/ /*********************************************/
/************** Games Bar *******************/ /************** Games Bar *******************/
/*********************************************/ /*********************************************/
#GamesBar {
margin-left: 15px;
} /*********************************************/
.GameBar { /************** Generic Game *****************/
/*********************************************/
.ButtonsBar {
margin-left: auto;
margin-right: 70px;
display: flex; display: flex;
margin-top: 13px;
padding: 10px 0 2px 10px;
margin-right: 15px;
}
.GameBar:hover {
background-color: rgba(255, 255, 255, 0.2);
border-radius: 10px;
-webkit-backdrop-filter: drop-shadow(5px 5px 0px #ffffff);
backdrop-filter: drop-shadow(5px 5px 4px #ffffff);
}
.GameBar > .two-lines-centered {
margin-top: 5px;
margin-left: 15px;
}
.SessionCount {
font-size: 13px;
margin: 20px 0 20px 10px;
} }
.big {
font-size: calc(+20%);
}