Merge remote-tracking branch 'cavallium-website/master'
This commit is contained in:
commit
b408c9e087
@ -47,6 +47,9 @@ export function markedOptionsFactory(): MarkedOptions {
|
|||||||
renderer.blockquote = (text: string) => {
|
renderer.blockquote = (text: string) => {
|
||||||
return "<blockquote class=\"blockquote\"><p>" + text + "</p></blockquote>";
|
return "<blockquote class=\"blockquote\"><p>" + text + "</p></blockquote>";
|
||||||
};
|
};
|
||||||
|
renderer.link = (href: string, title: string, text: string) => {
|
||||||
|
return "<a class=\"article-link\" href=\"" + href + "\" title=\"" + title + "\">" + text + "</a>";
|
||||||
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
renderer,
|
renderer,
|
||||||
|
@ -20,5 +20,5 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
<div class="header-logo-space" [class.overflow]="overflowLogo"></div>
|
<div class="header-logo-space" [class.overflow]="overflowLogo"></div>
|
||||||
<div class="overflow-max-indicator" [class.visible]="overflowMax">></div>
|
<div class="overflow-max-indicator" [class.visible]="overflowMax"><div class="overflow-max-icon"></div></div>
|
||||||
</div>
|
</div>
|
@ -121,3 +121,12 @@
|
|||||||
.overflow-max-indicator.visible {
|
.overflow-max-indicator.visible {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
|
.overflow-max-icon {
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
background: white;
|
||||||
|
mask-image: url("/assets/arrow-forward.svg");
|
||||||
|
mask-repeat: no-repeat;
|
||||||
|
mask-position: right;
|
||||||
|
mask-size: contain;
|
||||||
|
}
|
@ -37,7 +37,6 @@ export class NavbarComponent implements OnInit, AfterViewInit {
|
|||||||
constructor(private elRef: ElementRef<HTMLElement>, public currentDocument: CurrentDocumentService) { }
|
constructor(private elRef: ElementRef<HTMLElement>, public currentDocument: CurrentDocumentService) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
// TODO: fare la parte dei percorsi preselezionati
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngAfterViewInit() {
|
ngAfterViewInit() {
|
||||||
|
1
src/assets/arrow-forward.svg
Normal file
1
src/assets/arrow-forward.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" ?><svg data-name="Livello 1" id="Livello_1" viewBox="0 0 20.57 38" xmlns="http://www.w3.org/2000/svg"><defs><style>.cls-1{fill:none;stroke:#231f20;stroke-linecap:round;stroke-linejoin:round;stroke-width:4px;}</style></defs><title/><polyline class="cls-1" points="2.03 36 18.57 19.14 2 2"/></svg>
|
After Width: | Height: | Size: 315 B |
@ -20,3 +20,10 @@ strong, b, h1, h2, h3, h4, h5, h6, th {
|
|||||||
.document-style-warning{
|
.document-style-warning{
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen, (any-pointer: fine) {
|
||||||
|
.article-link {
|
||||||
|
min-height: 48px;
|
||||||
|
display: inline-block;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user