Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-samples",
"version": "14.1.12",
"version": "15.1.10",
"scripts": {
"test": "gulp test",
"postinstall": "gulp copy",
Expand All @@ -15,10 +15,10 @@
"@angular/forms": "22.0.5",
"@angular/platform-browser": "22.0.5",
"@angular/router": "22.0.5",
"@boldreports/angular-reporting-components": "14.1.12",
"@boldreports/javascript-reporting-controls": "14.1.12",
"@boldreports/javascript-reporting-extensions": "14.1.12",
"@boldreports/types": "14.1.12",
"@boldreports/angular-reporting-components": "15.1.10",
"@boldreports/javascript-reporting-controls": "15.1.10",
"@boldreports/javascript-reporting-extensions": "15.1.10",
"@boldreports/types": "15.1.10",
"@syncfusion/ej2-angular-buttons": "22.2.5",
"@syncfusion/ej2-angular-calendars": "22.2.5",
"@syncfusion/ej2-angular-dropdowns": "22.2.5",
Expand Down
37 changes: 19 additions & 18 deletions src/app/common/header/header.component.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
<!--Header portion-->
<div class="ej-sb-header">
<div class="ej-sb-left-side">
<div class="ej-sb-header br-navbar">
<div class="ej-sb-left-side br-nav-left">
<div class="ej-sb-hamburger-icon ej-sb-icons" (click)="onClick()"></div>
<div class="ej-sb-platform-name">Bold Reports<sup>®</sup> for Angular</div>
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item active">{{platformName}}</a>
<a *ngFor="let platform of platforms" class="dropdown-item"
(click)="platformSwitcher(platform)">{{platform}}</a>
<div class="ej-sb-logo-title-group">
<a href="https://www.boldreports.com/" target="_blank" class="ej-sb-logo-link">
<div class="ej-sb-logo"></div>
</a>
</div>
<span class="ej-sb-divider"></span>
<div class="ej-sb-framework-group">
<span class="ej-sb-framework-label">Frameworks</span>
<div class="ej-sb-framework-switcher">
<a class="br-header-nav-link" [href]="aspNetUrl" >ASP.NET Core</a>
<a class="br-header-nav-link" [href]="blazorUrl" >Blazor</a>
<a class="br-header-nav-link active" [href]="angularUrl" >Angular</a>
<a class="br-header-nav-link" [href]="reactUrl" >React</a>
<a class="br-header-nav-link" [href]="javascriptUrl" >JavaScript</a>
</div>
</div>

</div>
<div class="ej-sb-right-side">
<!-- We hided this element as per management instruction -->
<!-- <a class="ej-sb-button nav-link bold-schedule-demo" href="https://www.boldreports.com/schedule-free-demo" target="_blank" rel="noreferrer">Schedule
Free Demo</a> -->
<a class="ej-sb-button nav-link product-detail" href="https://www.boldreports.com/embedded-reporting/angular-report-viewer" target="_blank" rel="noreferrer">Product Detail</a>
<a class="ej-sb-button nav-link try-it-free" href="https://www.boldreports.com/register/reports?evaluation=v2" rel="noreferrer">Try it Free</a>
<div class="ej-sb-right-side br-nav-right">
<a class="ej-sb-button br-btn br-btn-xs br-btn-secondary product-detail" href="https://www.boldreports.com/embedded-reporting/angular-report-viewer" target="_blank">Product Details</a>
<a class="ej-sb-button br-btn br-btn-xs br-btn-primary try-it-free" href="https://www.boldreports.com/register/reports?evaluation=v2">Try it Free</a>
</div>
</div>
252 changes: 151 additions & 101 deletions src/app/common/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,84 +61,140 @@
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-family: 'ej-sb-header-icons';
src:
url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAAKAIAAAwAgT1MvMj0hSRsAAAEoAAAAVmNtYXC1MrWKAAABl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0hVcwUBPgJQPTxSAgIbQgwIHB8BR1UBAlw5OQFUQD9NAgE9AQZvVkdpGGB5AgJLAAAAABIA3gABAAAAAAAAAAEAAAABAAAAAAABABAAAQABAAAAAAACAAcAEQABAAAAAAADABAAGAABAAAAAAAEABAAKAABAAAAAAAFAAsAOAABAAAAAAAGABAAQwABAAAAAAAKACwAUwABAAAAAAALABIAfwADAAEECQAAAAIAkQADAAEECQABACAAkwADAAEECQACAA4AswADAAEECQADACAAwQADAAEECQAEACAA4QADAAEECQAFABYBAQADAAEECQAGACABFwADAAEECQAKAFgBNwADAAEECQALACQBjyByZXBvcnRzLXNiLWljb25zUmVndWxhcnJlcG9ydHMtc2ItaWNvbnNyZXBvcnRzLXNiLWljb25zVmVyc2lvbiAxLjByZXBvcnRzLXNiLWljb25zRm9udCBnZW5lcmF0ZWQgdXNpbmcgU3luY2Z1c2lvbiBNZXRybyBTdHVkaW93d3cuc3luY2Z1c2lvbi5jb20AIAByAGUAcABvAHIAdABzAC0AcwBiAC0AaQBjAG8AbgBzAFIAZQBnAHUAbABhAHIAcgBlAHAAbwByAHQAcwAtAHMAYgAtAGkAYwBvAG4AcwByAGUAcABvAHIAdABzAC0AcwBiAC0AaQBjAG8AbgBzAFYAZQByAHMAaQBvAG4AIAAxAC4AMAByAGUAcABvAHIAdABzAC0AcwBiAC0AaQBjAG8AbgBzAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAHUAcwBpAG4AZwAgAFMAeQBuAGMAZgB1AHMAaQBvAG4AIABNAGUAdAByAG8AIABTAHQAdQBkAGkAbwB3AHcAdwAuAHMAeQBuAGMAZgB1AHMAaQBvAG4ALgBjAG8AbQAAAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUBAgEDAQQBBQEGAAhkb3dubG9hZAlib29rLW9wZW4QY2lyY2xlLWluZm8tLS0wMg9jbG91ZC1wdWJsaWMtd2YAAAA=) format('truetype');
font-weight: normal;
font-style: normal;
}

.ej-sb-header {
background-color: #FFFFFF;
box-shadow: 0 8px 11px -6px rgba(0, 0, 0, 0.12);
height: 48px;
background-color: var(--neutral-0);
box-shadow: 0 1px 3px rgba(13,19,31,0.1), 0 1px 2px -1px rgba(13,19,31,0.1);
height: 64px;
width: 100%;
display: flex;
position: fixed;
z-index: 10000;
justify-content: space-between;
align-items: center;
padding: 0 22px;
border-bottom: 1px solid var(--neutral-200);

.ej-sb-left-side {
height: inherit;
display: flex;
align-items: center;
gap: 26px;

.ej-sb-hamburger-icon {
margin: 0 21px 0 25px;
font-size: 24px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
width: 34px;
height: 34px;
border-radius: var(--r-md, 8px);
transition: background var(--dur-fast, 120ms) var(--ease, cubic-bezier(.4,0,.2,1));

&:hover {
background-color: var(--blue-50);
}

&::before {
content: "\e914";
color: #333;
color: (--neutral-600);
}
}

.ej-sb-platform-name {
font-size: 15px;
opacity: 0.87;
font-weight: 600;
color: #2b3a5c;
.ej-sb-logo-title-group {
display: flex;
align-items: center;
gap: 12px;
}

.ej-sb-logo-link {
display: inline-block;

.ej-sb-logo {
display: inline-block;
width: 120px;
height: 36px;
background-image: url('https://cdn.boldreports.com/website/images/logo/bold-reports-logo.svg');
background-size: contain;
background-repeat: no-repeat;
background-position: bottom;
}
}

.dropdown {


button.btn-secondary {
background: transparent;
color: #2b3a5c;
opacity: .87;
border: none;
box-shadow: none;
margin-top: 4px;
padding-left: 5px;
.ej-sb-divider {
border-left: 1px solid var(--neutral-200);
height: 22px;
}

&:focus,
&:active,
&:active:focus {
background: transparent;
color: #2b3a5c;
border: none;
box-shadow: none;
.ej-sb-framework-group {
display: flex;
align-items: center;
gap: 9px;

}
.ej-sb-framework-label {
font-size: 12px;
font-weight: 600;
color: var(--neutral-500);
letter-spacing: 0.05em;
}

.dropdown-menu {
a {
.ej-sb-framework-switcher {
position: relative;
display: inline-flex;
gap: 2px;
padding: 4px;
border-radius: 999px;
background: var(--neutral-0);
border: 1px solid rgba(255,255,255,0.9);
box-shadow: 0 8px 20px -10px rgba(10,62,125,0.22), 0 3px 8px -3px rgba(16,100,199,0.18);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);

.br-header-nav-link {
position: relative;
cursor: pointer;
font-size: 14px;
font-size: 12.5px;
letter-spacing: -0.005em;
padding: 7px 14px;
border-radius: 999px;
border: none;
background: transparent;
color: var(--neutral-600);
box-shadow: none;
transform: translateZ(0);
transition: all var(--dur-fast, 120ms) var(--ease, cubic-bezier(.4,0,.2,1));
white-space: nowrap;
text-decoration: none;
font-weight: 500;

&.active {
background: transparent;
color: #ff5f23;
cursor: default;
pointer-events: none;
&:hover {
color: var(--blue-600);
background: var(--blue-50);
transform: translateY(-1px);
box-shadow: 0 1px 0 rgba(255,255,255,0.9) inset, 0 6px 14px -6px rgba(16,100,199,0.35);
}

&:active {
background: transparent;
color: #2b3a5c;
transform: translateY(0);
}

&.active {
background: var(--blue-600);
color: var(--neutral-0);
font-weight: 600;
box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -1px 0 rgba(0,0,0,0.08) inset, 0 5px 12px -4px rgba(16,100,199,0.55);
text-shadow: 0 1px 0 rgba(0,0,0,0.12);
pointer-events: none;

&:hover {
background: var(--blue-600);
color: var(--neutral-0);
transform: none;
box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 -1px 0 rgba(0,0,0,0.08) inset, 0 5px 12px -4px rgba(16,100,199,0.55);
}
}
}
}
Expand All @@ -149,71 +205,50 @@
height: inherit;
display: flex;
align-items: center;
gap: 12px;

.ej-sb-header-icons {
font-family: 'ej-sb-header-icons';
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.ej-sb-divider {
border-left: 1px solid rgb(196, 196, 196);
height: 32px;
}

a {
font-size: 20px;
cursor: pointer;
text-decoration: none;
margin: 0 10px 0px 10px;
color: #333;
opacity: .87;

&.ej-sb-button {
width: 125px;
border-radius: 5px;
height: 35px;
font-size: 14px;
font-weight: 500;
opacity: 1;
text-decoration: none;
display: inline-flex;
align-items: center;
justify-content: center;
font-weight: 600;
border-radius: 12px;
border: 1px solid transparent;
cursor: pointer;
text-align: center;
padding: 0.4rem 0.5rem 1rem 0.5rem;
}
&.bold-schedule-demo {
border-color: #ff4800;
border-style: solid;
border-width: 1px;
background-color: #ffffff;
color: #ff4800 !important;

&:hover {
background-color: #ff4800;
color: #ffffff !important;
line-height: 1;
text-decoration: none;
transition: all var(--dur, 180ms) var(--ease, cubic-bezier(.4,0,.2,1));
font-size: 14px;
padding: 10px 18px;
min-height: 40px;

&.product-detail {
color: var(--blue-600);
background: var(--neutral-0);
border: 1px solid var(--blue-200);

&:hover {
background: var(--blue-50);
border-color: var(--blue-300);
color: var(--blue-700);
transform: translateY(-1px);
}
}
}

&.try-it-free {
background-color: #ff4800;
color: #ffffff !important;
}
&.product-detail{
border-color: #ff4800;
border-style: solid;
border-width: 1px;
background: white;
color: #ff4801;
&:hover{
background: #ff4801;
color: white;
&.try-it-free {
color: var(--neutral-0);
background: var(--blue-600);
border: 1px solid var(--blue-600);

&:hover {
background: var(--blue-700);
border: 1px solid var(--blue-700);
transform: translateY(-1px);
}
}
}

}

.sb-icon-product:before {
Expand All @@ -229,7 +264,22 @@
}
}

@media only screen and (max-width: 850px) {
@media only screen and (max-width: 1064px) and (min-width: 769px) {
.ej-sb-right-side {
display: none;
}
}

@media only screen and (max-width: 768px) {
.ej-sb-left-side {
.ej-sb-divider,
.ej-sb-framework-group {
display: none;
}
}
}

@media only screen and (max-width: 500px) {
.ej-sb-right-side {
display: none;
}
Expand Down
Loading