styling doc page
This commit is contained in:
parent
23c598034c
commit
c189ce1650
3 changed files with 9 additions and 5 deletions
|
@ -1,9 +1,11 @@
|
||||||
<section class="docs">
|
<section class="docs">
|
||||||
<aside class="sidebar">
|
<aside class="sidebar">
|
||||||
<h2>Types d'événements (1000 prochains)</h2>
|
<h2>Types d'événements </h2>
|
||||||
|
<p>(1000 prochains pour les 30 prochains jours)</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li *ngFor="let c of counts">
|
<li *ngFor="let c of counts">
|
||||||
<button (click)="filterByWhat(c.what)">{{ c.what }} <span class="badge">{{ c.count }}</span></button>
|
<button (click)="filterByWhat(c.what)"> {{ c.what }} <span class="badge">{{ c.count }}</span></button>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
.docs {
|
.docs {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 280px 1fr;
|
grid-template-columns: 350px 1fr;
|
||||||
gap: 12px;
|
gap: 12px;
|
||||||
}
|
}
|
||||||
.sidebar {
|
.sidebar {
|
||||||
max-height: calc(100vh - 160px);
|
max-height: calc(100vh - 160px);
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
|
||||||
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
.badge {
|
.badge {
|
||||||
background: #1976d2;
|
background: #1976d2;
|
||||||
|
@ -13,6 +15,7 @@
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
margin-left: 6px;
|
margin-left: 6px;
|
||||||
|
float:right;
|
||||||
}
|
}
|
||||||
.map-panel {
|
.map-panel {
|
||||||
min-height: 60vh;
|
min-height: 60vh;
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import { Component, inject, signal } from '@angular/core';
|
import { Component, inject, signal , OnDestroy, OnInit } from '@angular/core';
|
||||||
import { Component, inject, OnDestroy, OnInit } from '@angular/core';
|
|
||||||
import { Router } from '@angular/router';
|
import { Router } from '@angular/router';
|
||||||
import { FormsModule } from '@angular/forms';
|
import { FormsModule } from '@angular/forms';
|
||||||
import {Menu} from './menu/menu';
|
import {Menu} from './menu/menu';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue