bugfix css

master
Boris Voropaev 2023-12-20 12:06:09 +03:00
commit 33bdb5fe43
7 changed files with 57 additions and 22 deletions

View File

@ -33,10 +33,10 @@
<div class="line"></div>
<div class="copyright">
<div>
© 19982023 ЧУ СЦ ВНИИГАЗ-Сертификат
© 1998{{year}} ЧУ СЦ ВНИИГАЗ-Сертификат
</div>
<div class="op-63">
Разработка сайта — ООО НИР
Работает на платформе НИР
</div>
</div>
</div>

View File

@ -7,6 +7,9 @@ import {AuthenticationService} from "@app/_services";
styleUrls: ['footer.component.scss']
})
export class FooterComponent {
public year = new Date().getFullYear();
constructor(public authService: AuthenticationService) {
}
@ -21,4 +24,6 @@ export class FooterComponent {
this.authService.popup('login');
}
}

View File

@ -12,7 +12,7 @@
<div class="inline center header-right">
<locale></locale>
<a class="btn vnii" href="https://ais.vniigaz-cert.ru/" target="_blank">АИС СЦ ВНИИГАЗ</a>
<a class="btn vnii" href="https://ais.vniigaz-cert.ru/" target="_blank">Личный кабинет (АИС СЦ)</a>
</div>
</div>

View File

@ -2,8 +2,13 @@
<div class="jumbotron-content layout-corral">
<header-user-bar></header-user-bar>
<div class="jumbotron-content-center">
<h1 [ngStyle]="h1Style">{{name}}</h1>
<h4 *ngIf="isRootPage"> Учреждено в 1998 </h4>
<h1 *ngIf="!isRootPage" [ngStyle]="h1Style">{{name}}</h1>
<h1 *ngIf="isRootPage" [ngStyle]="h1Style">
Сертификация<br>
продукции, работ и услуг</h1>
<h4 *ngIf="isRootPage">
<a href="https://vniigaz.gazprom.ru/" target="_blank">Учреждено в 1998</a>
</h4>
</div>
</div>

View File

@ -41,30 +41,44 @@ jumbotron{
position: absolute;
}
.jumbotron-content-center{
align-self: center;
display: flex;
flex-direction: column;
align-items: center;
max-width: 100%;
h1{
margin: 0;
padding: $ps 0;
max-width: 100%;
}
h4{
text-decoration: underline;
font-size: 24px;
font-weight: 400;
color: #fff;
font-family: PT Sans;
}
}
&.rootpage-jumbotron{
.jumbotron-content{
header-user-bar{
top: 100px !important;
}
.jumbotron-content-center{
align-self: center;
align-items: center;
h1{
font-size: 80px;
line-height: 95px;
}
h4{
text-decoration: underline;
font-size: 25px;
font-weight: 400;
font-family: PT Sans;
margin-top: 16px;
a{
color: #fff;
text-decoration: underline;
}
}
}
}
}
&.rootpage-jumbotron{
header-user-bar{
top: 100px !important
}
}
}
.jumbotron-edit-field{
@ -85,6 +99,15 @@ jumbotron{
@media screen and (max-width: 480px) {
jumbotron .jumbotron-bg.rootpage-jumbotron .jumbotron-content .jumbotron-content-center h1{
font-size: 50px;
line-height: 60px;
}
}
.content-sapce{
flex-grow: 1;
.content-grid{

View File

@ -251,7 +251,7 @@ right-content{
width: 400px;
margin-left: 40px;
border-radius: 8px;
background: var(#FFF);
background: #FFF;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.27);
padding: 20px;
pages-menu{
@ -287,7 +287,7 @@ right-content{
width: 360px;
margin-left: 40px;
border-radius: 8px;
background: var(#FFF);
background: #FFF;
box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.27);
padding: 20px;
pages-menu{
@ -335,6 +335,9 @@ right-content{
max-width: 100%;
width: 1360px;
z-index: 1;
.locale img{
border: none;
}
pages-menu{
a{
color: #FFF;

View File

@ -29,8 +29,7 @@
white-space: nowrap;
}
&:last-child {
span {
}
}
&.active {
color: #ffffff;