csc multiple selectors
This commit is contained in:
parent
9307e1852f
commit
05d8ba8117
13 changed files with 96 additions and 69 deletions
|
@ -1,8 +1,11 @@
|
||||||
<div class="filter-group">
|
<div class="filter-group">
|
||||||
<div class="selectors">
|
<div class="selectors">
|
||||||
|
<sae-multi-selector [label]="'Engine type'"></sae-multi-selector>
|
||||||
|
<sae-multi-selector [label]="'Findings'"></sae-multi-selector>
|
||||||
<sae-multi-selector></sae-multi-selector>
|
<sae-multi-selector [label]="'ATA'"></sae-multi-selector>
|
||||||
|
<sae-multi-selector [label]="'Part number'"></sae-multi-selector>
|
||||||
|
<sae-multi-selector [label]="'Technical Manual'"></sae-multi-selector>
|
||||||
|
<sae-multi-selector [label]="'On-wing/off-wing'"></sae-multi-selector>
|
||||||
</div>
|
</div>
|
||||||
<div class="chips-listing">
|
<div class="chips-listing">
|
||||||
<!-- liste de chips-->
|
<!-- liste de chips-->
|
||||||
|
|
|
@ -1,5 +1,11 @@
|
||||||
@use '../../src/styles/variables';
|
@use '../../src/styles/variables';
|
||||||
|
|
||||||
|
.selectors {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
gap: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
.dropdown {
|
.dropdown {
|
||||||
.dropdown-button {
|
.dropdown-button {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<!-- sélecteurs-->
|
<!-- sélecteurs-->
|
||||||
<div class="input-box">
|
<div class="input-box">
|
||||||
<i class="ri-search-line"></i>
|
<i class="ri-search-line"></i>
|
||||||
<!-- <div class="label">Engine type</div>-->
|
<div class="label">{{ label }}</div>
|
||||||
<input class="is-hidden" placeholder="Engine type" type="text">
|
<input class="is-hidden" placeholder="{{label}}" type="text">
|
||||||
<div class="dropdown">
|
<div class="dropdown">
|
||||||
<div class="dropdown-button">
|
<div class="dropdown-button">
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component, Input} from '@angular/core';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'sae-multi-selector',
|
selector: 'sae-multi-selector',
|
||||||
|
@ -7,5 +7,6 @@ import {Component} from '@angular/core';
|
||||||
styleUrl: './multi-selector.scss'
|
styleUrl: './multi-selector.scss'
|
||||||
})
|
})
|
||||||
export class MultiSelector {
|
export class MultiSelector {
|
||||||
|
@Input() label!: string;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,13 +8,25 @@ export const routes: Routes = [{
|
||||||
path: '',
|
path: '',
|
||||||
component: Main
|
component: Main
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'login',
|
||||||
|
component: Login
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'admin',
|
path: 'admin',
|
||||||
component: Admin
|
component: Admin
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'login',
|
path: 'home',
|
||||||
component: Login
|
component: Main
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'main',
|
||||||
|
component: Main
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'login/home',
|
||||||
|
component: Main
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: 'similar-cases',
|
path: 'similar-cases',
|
||||||
|
|
|
@ -26,12 +26,15 @@
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<button class="button has-gradient">
|
<a class="button has-gradient" routerLink="/home">
|
||||||
<span class="label">
|
<span class="label">
|
||||||
Login to start |
|
Login to start
|
||||||
|
</span>
|
||||||
|
<span class="pipe">
|
||||||
|
|
|
||||||
</span>
|
</span>
|
||||||
<i class="ri-arrow-right-line"></i>
|
<i class="ri-arrow-right-line"></i>
|
||||||
</button>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: var(--Dark-brand-primary-400, #337DC3);
|
|
||||||
|
|
||||||
/* Body/Body 4/Sb */
|
/* Body/Body 4/Sb */
|
||||||
font-family: Barlow;
|
font-family: Barlow;
|
||||||
|
@ -36,6 +35,8 @@
|
||||||
&:hover {
|
&:hover {
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {Component} from '@angular/core';
|
import {Component} from '@angular/core';
|
||||||
import {LoginForm} from 'sae-lib/forms/login-form/login-form';
|
import {RouterLink} from '@angular/router';
|
||||||
|
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'app-login',
|
selector: 'app-login',
|
||||||
imports: [
|
imports: [
|
||||||
LoginForm
|
RouterLink
|
||||||
],
|
],
|
||||||
templateUrl: './login.html',
|
templateUrl: './login.html',
|
||||||
styleUrl: './login.scss'
|
styleUrl: './login.scss'
|
||||||
|
|
|
@ -32,8 +32,11 @@
|
||||||
</h2>
|
</h2>
|
||||||
<!--filters-->
|
<!--filters-->
|
||||||
<!-- advanced filters-->
|
<!-- advanced filters-->
|
||||||
|
<div class="filters-container">
|
||||||
|
|
||||||
<sae-filters-group></sae-filters-group>
|
<sae-filters-group></sae-filters-group>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
|
|
||||||
#translation_request {
|
#translation_request {
|
||||||
.helper {
|
.helper {
|
||||||
padding-left: 4.5%;
|
padding-left: 5.3vw;
|
||||||
|
padding-bottom: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,14 @@
|
||||||
</nav>
|
</nav>
|
||||||
<div class="fixed-navigation">
|
<div class="fixed-navigation">
|
||||||
<button class="next-step" routerLink="similar-cases">
|
<button class="next-step" routerLink="similar-cases">
|
||||||
|
<span class="label">
|
||||||
|
|
||||||
Search similar cases
|
Search similar cases
|
||||||
|
</span>
|
||||||
|
<span class="pipe">
|
||||||
|
|
|
||||||
|
</span>
|
||||||
|
<i class="ri-arrow-right-line"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
.next-step{
|
.bottom-navigation {
|
||||||
color: var(--color-text-invert, #FFF);
|
padding: 0 60px 16px;
|
||||||
text-align: center;
|
|
||||||
|
.nav-item {
|
||||||
|
display: inline-flex;
|
||||||
|
padding: 12px 16px;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 10px;
|
||||||
|
color: var(--color-text-title, #255B8E);
|
||||||
leading-trim: both;
|
leading-trim: both;
|
||||||
text-edge: cap;
|
text-edge: cap;
|
||||||
|
|
||||||
|
@ -11,4 +18,31 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: 100%; /* 14px */
|
line-height: 100%; /* 14px */
|
||||||
letter-spacing: 1.12px;
|
letter-spacing: 1.12px;
|
||||||
|
text-transform: uppercase;
|
||||||
|
margin-left: -12px;
|
||||||
|
cursor: pointer;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: white;
|
||||||
|
background: var(--color-primary, #073A7C);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.next-step {
|
||||||
|
text-align: center;
|
||||||
|
leading-trim: both;
|
||||||
|
text-edge: cap;
|
||||||
|
min-width: 230px;
|
||||||
|
padding: 14px 16px;
|
||||||
|
border-radius: 10px;
|
||||||
|
|
||||||
|
color: var(--Light-base-solid-white, #FFF);
|
||||||
|
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
line-height: 24px;
|
||||||
|
|
||||||
|
background: var(--Gradient, linear-gradient(77deg, #073A7C -4.23%, #1767AD 51.8%, #255B8E 87.72%));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -58,30 +58,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
.bottom-navigation {
|
|
||||||
.nav-item {
|
|
||||||
|
|
||||||
display: inline-flex;
|
|
||||||
padding: 12px 16px;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
gap: 10px;
|
|
||||||
|
|
||||||
color: var(--color-text-title, #255B8E);
|
|
||||||
leading-trim: both;
|
|
||||||
text-edge: cap;
|
|
||||||
|
|
||||||
/* Text/text-button */
|
|
||||||
font-family: var(--Fonts-Font-text, Barlow);
|
|
||||||
font-size: var(--Font-Base, 14px);
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
line-height: 100%; /* 14px */
|
|
||||||
letter-spacing: 1.12px;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.fixed-navigation {
|
.fixed-navigation {
|
||||||
display: flex;
|
display: flex;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
@ -97,24 +73,4 @@
|
||||||
box-shadow: 0 -10px 20px 0 rgba(30, 31, 34, 0.05);
|
box-shadow: 0 -10px 20px 0 rgba(30, 31, 34, 0.05);
|
||||||
|
|
||||||
|
|
||||||
.next-step {
|
|
||||||
display: flex;
|
|
||||||
padding: 12px;
|
|
||||||
align-items: center;
|
|
||||||
gap: 5px;
|
|
||||||
border: 1px solid white;
|
|
||||||
border-radius: 8px;
|
|
||||||
background: linear-gradient(145deg, #55BCEC -21.82%, #005AA2 82.35%), #FFF;
|
|
||||||
min-width: 200px;
|
|
||||||
|
|
||||||
|
|
||||||
color: var(--color-text-invert, #FFF);
|
|
||||||
text-align: center;
|
|
||||||
font-size: var(--Font-Base, 14px);
|
|
||||||
font-style: normal;
|
|
||||||
font-weight: 600;
|
|
||||||
|
|
||||||
letter-spacing: 1.12px;
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue