Commit 9b33eccc authored by achinta's avatar achinta

fix: some design and dynamic dashboard icon

parent 5a41bd79
.content-container{
height: 100%;
}
\ No newline at end of file
<div class="container">
<div class="top_yellow_line"></div>
<!-- <div class="top_yellow_line"></div> -->
<!-- <div class="header_box">
<div class="menu_icon">menu</div>
......
......@@ -6,7 +6,7 @@
display: flex;
height: 100%;
flex-direction: column;
background: #FFBF00;
.header_box {
background-color: white;
// color: white;
......@@ -56,21 +56,21 @@
}
.headerLastBottom_yellow_line {
background-color: #FFBF00;
height: 40px;
width: 100%;
// background-color: #FFBF00;
height: var(--divider-height);
// width: 100%;
}
.chooseSchoolSection {
background: linear-gradient(to right, #EFEFEF, #E5D7E4);
margin: -20px 0;
// margin: -20px 0;
border-radius: 20px 20px 0 0;
height: 100%;
padding: 0 30px;
padding: 0 20px;
.select_school {
margin-bottom: 10px;
margin-top: 50px;
margin-top: 30px;
span {
......
......@@ -4,11 +4,13 @@
<img class="login_logo" [ngSrc]="loggedSchoolLogo" alt="Logo" width="80" height="80" />
<p> {{schoolHeader}} </p>
</div>
<div class="top_blue_line"></div>
<!-- <div class="top_blue_line"></div> -->
<div class="NumberOtp">
<div class="login_outer">
<div class="phone_section">
<div class="login-wrapper">
<div class="custom_gap">
</div>
<div class="phone_section login_outer">
<form class="login_form" [formGroup]="loginForm">
<h5>Welcome</h5>
......@@ -65,5 +67,6 @@
</div> -->
</div>
</div>
</div>
<!-- <div class="NumberOtp">
</div> -->
</div>
\ No newline at end of file
......@@ -8,7 +8,8 @@
align-items: center;
gap: 10px;
padding: 0 20px;
p{
p {
font-size: 20px;
font-weight: 500;
color: #37393A;
......@@ -19,6 +20,9 @@
width: 100%;
height: 100%;
background: linear-gradient(to right, #EFEFEF, #E5D7E4);
padding: 10px 30px;
border-radius: 20px 20px 0 0;
// padding: 0 20px;
// display: flex;
// justify-content: center;
......@@ -28,7 +32,7 @@
.phone_section {
// padding: 20px;
margin: unset;
// margin: unset;
h5 {
font-size: 22px;
......@@ -49,21 +53,21 @@
}
.top_blue_line {
width: 100%;
height: 37px;
background-color: #2C5EC5;
}
// .top_blue_line {
// width: 100%;
// height: 37px;
// background-color: #2C5EC5;
// }
.NumberOtp {
background: linear-gradient(to right, #EFEFEF, #E5D7E4);
margin-top: -20px;
border-radius: 20px 20px 0 0;
padding: 0 30px;
padding-top: 30px;
height: 100%;
// .NumberOtp {
// background: linear-gradient(to right, #EFEFEF, #E5D7E4);
// margin-top: -20px;
// border-radius: 20px 20px 0 0;
// padding: 0 30px;
// padding-top: 30px;
// height: 100%;
}
// }
.login_wrapper {
display: flex;
......@@ -91,7 +95,14 @@
}
}
.login-wrapper {
height: 100%;
background-color: #2C5EC5;
}
.custom_gap {
height: var(--divider-height);
}
.login_wrapper::ng-deep {
......@@ -148,6 +159,6 @@
}
}
.d-none{
.d-none {
display: none;
}
\ No newline at end of file
<a [routerLink]="cardLink">
<div class="colored_card">
<span class="material-symbols-outlined iconDashboardLeft">assignment_add</span>
<span class="material-symbols-outlined iconDashboardLeft">{{CardIcon}}</span>
<p class="cardTextOneHeading">{{cardTextOneHeading}}</p>
<p class="cardTextOne">{{cardTextOne}}</p>
<!-- <p class="cardTextTwoHeading">{{cardTextTwoHeading}}</p>
......
......@@ -18,5 +18,6 @@ export class ColoredCardComponent {
@Input() cardTextTwo: string = '';
@Input() cardLink: string = '';
@Input() CardImage: string = '';
@Input() CardIcon: string = 'assignment_add';
}
.topbar_logo {
width: 10%;
padding: 10px 0px;
padding-left: 22px;
padding-left: 18px;
img {
width: 100%;
......
......@@ -23,7 +23,7 @@
[cardLink]="assignmentUrl"
[cardTextTwoHeading]="'Assignment'"
[cardTextTwo]="''"
[CardIcon]="'assignment_add'"
class="portal_card_colored_card"
/>
<app-colored-card
......@@ -36,6 +36,7 @@
'./assets/image/Mobile_banking_app_with_secure_payment.svg'
"
class="portal_card_colored_card"
[CardIcon]="'nest_clock_farsight_analog'"
/>
<app-colored-card
[cardTextOneHeading]="'Exam Schedule'"
......@@ -45,6 +46,7 @@
[cardTextTwo]="''"
[CardImage]="'./assets/image/Digital_receipts_for_online_payments.svg'"
class="portal_card_colored_card"
[CardIcon]="'calendar_month'"
/>
</div>
......
......@@ -2,19 +2,20 @@
<div class="portal_viewer">
<div class="top_bar">
<div class="top_yellow_line"></div>
<!-- <div class="top_yellow_line"></div> -->
<app-top-bar />
<div class="top_blue_line"></div>
<!-- <div class="top_blue_line"></div> -->
</div>
<div class="sidebar {{isSidebarOpen?'active':''}}">
<app-sidebar />
</div>
<div *ngIf="isSidebarOpen" class="sidebar_wrapper_inner_overlay" (click)="closeSidebar()"></div>
<div class="portal_wrapper">
<div class="common_divider"></div>
<div class="portal_renderer">
<div class="portal_renderer_inner">
<router-outlet />
</div>
</div>
</div>
\ No newline at end of file
......@@ -10,6 +10,14 @@
padding-left: 20px;
height: 100%;
}
.portal_wrapper{
background-color: #2C5EC5;
width: 100%;
}
.common_divider{
height: var(--divider-height);
}
.portal_renderer {
width: calc(100% - 250px);
......@@ -17,18 +25,21 @@
background: linear-gradient(to right, #EFEFEF, #E5D7E4);
border-radius: 20px 20px 0 0;
// background: var(--secondary-bg-color);
// padding: 20px 20px;
min-height: 84dvh;
padding-bottom: 20px;
margin-top: -40px;
padding: 20px 10px;
// margin-top: -40px;
// .portal_renderer_inner {
// background: linear-gradient(to right, #EFEFEF, #E5D7E4);
// width: 100%;
// border-radius: 20px 20px 0 0;
.portal_renderer_inner {
width: 100%;
background: linear-gradient(to right, #EFEFEF, #E5D7E4);
// background-color: var(--primary-bg-color);
border-radius: 20px 20px 0 0;
padding: 20px 35px;
margin: unset;
}
// border-radius: 20px 20px 0 0;
// padding: 20px 35px;
// margin: unset;
// }
}
.top_bar {
......@@ -66,7 +77,9 @@
.portal_renderer .portal_renderer_inner {
width: 94%;
border-radius: 10px;
// border-radius: 10px;
// border-radius: 20px 20px 0 0;
padding: 20px 0px;
margin: 0 auto;
}
......
......@@ -28,6 +28,7 @@
--border-radius-small: 5px;
--border-radius-mid: 10px;
--border-radius-large: 20px;
--divider-height:25px;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment