master
Boris Voropaev 2024-03-11 16:07:08 +03:00
parent 9757ed9a59
commit ba4cffd1b0
9 changed files with 16 additions and 5 deletions

View File

@ -1 +1 @@
<a class="btn" [href]="url" [target]="targetSelf ? '_self' : '_blank'" [innerText]="title"></a>
<a class="btn" [href]="url" [target]="targetBlank ? '_self' : '_blank'" [innerText]="title"></a>

View File

@ -21,8 +21,8 @@ export class ButtonSectionComponent {
get title() {
return this.objectsService.getValue(this.section, 'button-title');
}
get targetSelf() {
return this.objectsService.getValue(this.section, 'target-self');
get targetBlank() {
return this.objectsService.getValue(this.section, 'target-blank');
}
ngOnInit() {

View File

@ -1,4 +1,4 @@
<div [class]="style" (click)="navigate()">
<div [class]="style" (click)="navigate()" [class.cards-item-default-link]="link">
<div *ngIf="header" class="card-header">{{header}}</div>
<div *ngIf="subheader" class="card-subheader">{{subheader}}</div>
<div *ngIf="text" class="card-text">{{text}}</div>

View File

@ -461,6 +461,7 @@ modal{
overflow: hidden;
text-overflow: ellipsis;
width: 100%;
color: var(--dark);
background-color: #ffffff;
p {
padding: 0;

View File

@ -9,6 +9,7 @@
display: inline-block;
width: 24px;
height: 24px;
flex-shrink: 0;
img{
object-fit: contain;
width: 100%;

View File

@ -262,6 +262,7 @@ form-field-document{
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.6);
z-index:10;
}
.form {
@ -270,6 +271,7 @@ form-field-document{
z-index: 100;
border-radius: 12px;
padding: $p;
margin-top: -100px;
}
}

View File

@ -349,6 +349,13 @@ cards-section-items{
.card-text{
}
}
.cards-item-default-link{
cursor: pointer;
.card-subheader{
color: var(--prime);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -4,7 +4,7 @@
<base href="/" />
<title>TK 023</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no" />
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.png" />
<link rel="icon" type="image/x-icon" href="/assets/images/favicon.ico" />
</head>
<body>
<app></app>