CSC up similar cases pages
This commit is contained in:
parent
3bab306708
commit
97ab7a0920
6 changed files with 53 additions and 35 deletions
|
@ -1,6 +1,6 @@
|
||||||
@use "sae-lib/src/styles/shadows.scss";
|
@use "../../src/styles/shadows.scss";
|
||||||
@use "sae-lib/src/styles/states.scss";
|
@use "../../src/styles/states.scss";
|
||||||
@use "sae-lib/src/styles/variables.scss";
|
@use "../../src/styles/variables.scss";
|
||||||
@use "sass:color";
|
@use "sass:color";
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -26,25 +26,28 @@
|
||||||
filters:
|
filters:
|
||||||
{{ appState.filters }}
|
{{ appState.filters }}
|
||||||
</pre>
|
</pre>
|
||||||
<div class="chips-column">
|
@if (!hideChipsList) {
|
||||||
<!-- @for( elem in appState.filters.engineType.selectedChoices; track elem.label ){-->
|
<div class="chips-column">
|
||||||
<!-- <button class="button chips is-rounded is-small">-->
|
<!-- @for( elem in appState.filters.engineType.selectedChoices; track elem.label ){-->
|
||||||
|
<!-- <button class="button chips is-rounded is-small">-->
|
||||||
|
|
||||||
<!-- {{elem.label}}-->
|
<!-- {{elem.label}}-->
|
||||||
<!-- <span class="post-button">-->
|
<!-- <span class="post-button">-->
|
||||||
<!-- x-->
|
<!-- x-->
|
||||||
<!-- </span>-->
|
<!-- </span>-->
|
||||||
<!-- </button>-->
|
<!-- </button>-->
|
||||||
<!-- }-->
|
<!-- }-->
|
||||||
</div>
|
|
||||||
|
<button class="button chips is-rounded is-small">
|
||||||
|
filtre col 2
|
||||||
|
<span class="post-button">
|
||||||
|
x
|
||||||
|
</span>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
<!-- <div class="chips-column">-->
|
<!-- <div class="chips-column">-->
|
||||||
|
<!-- </div>-->
|
||||||
|
|
||||||
<!-- <button class="button chips is-rounded is-small">-->
|
|
||||||
<!-- filtre col 2-->
|
|
||||||
<!-- <span class="post-button">-->
|
|
||||||
<!-- x-->
|
|
||||||
<!-- </span>-->
|
|
||||||
<!-- </button>-->
|
|
||||||
<!-- </div>-->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -18,6 +18,7 @@ export class FiltersGroup {
|
||||||
@Input() store: any;
|
@Input() store: any;
|
||||||
@Input() actionTypes: any;
|
@Input() actionTypes: any;
|
||||||
@Input() disabled!: boolean;
|
@Input() disabled!: boolean;
|
||||||
|
@Input() hideChipsList: boolean = false;
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
console.log('constructor filters group', this.appState, this.store, this.actionTypes);
|
console.log('constructor filters group', this.appState, this.store, this.actionTypes);
|
||||||
|
|
|
@ -1,13 +1,16 @@
|
||||||
<div class="similar-cases">
|
<div class="similar-cases">
|
||||||
|
|
||||||
<header>
|
<header>
|
||||||
<div class="row">
|
<div class="simimlar-cases-header">
|
||||||
<div (click)="displayHeaderTabs = !displayHeaderTabs" class="title-box">
|
<div (click)="displayHeaderTabs = !displayHeaderTabs" class="title-box is-clickable">
|
||||||
{{ appState.resumeTitle }}
|
{{ appState.resumeTitle }}
|
||||||
|
|
||||||
|
<i class="ri-arrow-down-s-line"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="actions">
|
<div class="actions">
|
||||||
<button class="button">
|
<button class="button">
|
||||||
new question
|
New question
|
||||||
|
<i class="ri-chat-ai-line"></i>
|
||||||
</button>
|
</button>
|
||||||
<button class="button">
|
<button class="button">
|
||||||
Search solutions
|
Search solutions
|
||||||
|
@ -44,9 +47,9 @@
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
||||||
<div class="row filters-row">
|
<!-- <div class="row filters-row">-->
|
||||||
<sae-filters-group></sae-filters-group>
|
<!-- <sae-filters-group [hideChipsList]="true"></sae-filters-group>-->
|
||||||
</div>
|
<!-- </div>-->
|
||||||
</header>
|
</header>
|
||||||
<main>
|
<main>
|
||||||
|
|
||||||
|
|
|
@ -9,22 +9,30 @@
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 140%; /* 28px */
|
line-height: 140%;
|
||||||
|
|
||||||
margin-bottom: 24px;
|
margin-bottom: 24px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
|
.simimlar-cases-header {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
color: #255B8E;
|
color: #255B8E;
|
||||||
color: var(--Colors-Principal-Normal, #255B8E);
|
color: var(--Colors-Principal-Normal, #255B8E);
|
||||||
|
|
||||||
/* Body/Body 3/Sb */
|
|
||||||
font-family: Barlow;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 24px; /* 150% */
|
line-height: 24px;
|
||||||
|
|
||||||
display: inline-flex;
|
display: inline-flex;
|
||||||
height: 44px;
|
height: 44px;
|
||||||
|
@ -88,12 +96,12 @@
|
||||||
|
|
||||||
.body {
|
.body {
|
||||||
color: #1B1D27;
|
color: #1B1D27;
|
||||||
font-family: Barlow;
|
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 140%; /* 22.4px */
|
line-height: 140%; /* 22.4px */
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
|
padding-top: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -134,6 +142,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tab-button {
|
.tab-button {
|
||||||
|
cursor: pointer;
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
@ -141,16 +150,18 @@
|
||||||
font-family: Barlow;
|
font-family: Barlow;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: 140%;
|
|
||||||
|
|
||||||
&.is-active {
|
&.is-active {
|
||||||
background: #E3EAF1;
|
background: #E3EAF1;
|
||||||
color: #000;
|
color: #000;
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: normal;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background: #D8E7F1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.indicator {
|
.indicator {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import {CaseResult} from './case-result/case-result';
|
||||||
import {BottomNavigation} from '../../shared/navigation/bottom-navigation/bottom-navigation';
|
import {BottomNavigation} from '../../shared/navigation/bottom-navigation/bottom-navigation';
|
||||||
import {StateInterface} from '../../redux/reducers';
|
import {StateInterface} from '../../redux/reducers';
|
||||||
import {Store} from '@ngrx/store';
|
import {Store} from '@ngrx/store';
|
||||||
import {FiltersGroup} from 'sae-lib/filters/filters-group/filters-group';
|
|
||||||
import {NgClass} from '@angular/common';
|
import {NgClass} from '@angular/common';
|
||||||
|
import {MainButton} from 'sae-lib/buttons/main-button/main-button';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-similar-cases',
|
selector: 'app-similar-cases',
|
||||||
|
@ -13,8 +13,8 @@ import {NgClass} from '@angular/common';
|
||||||
BotTalks,
|
BotTalks,
|
||||||
CaseResult,
|
CaseResult,
|
||||||
BottomNavigation,
|
BottomNavigation,
|
||||||
FiltersGroup,
|
|
||||||
NgClass,
|
NgClass,
|
||||||
|
MainButton,
|
||||||
],
|
],
|
||||||
templateUrl: './similar-cases.html',
|
templateUrl: './similar-cases.html',
|
||||||
styleUrl: './similar-cases.scss'
|
styleUrl: './similar-cases.scss'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue