Commit a77ca208 authored by Almouhannad's avatar Almouhannad

(F) Edit layout

parent c43d428a
...@@ -12,14 +12,16 @@ ...@@ -12,14 +12,16 @@
border-bottom: 1px solid var(--accent-color); border-bottom: 1px solid var(--accent-color);
} }
.custom-edit-button button { .custom-edit-button button:hover {
font-weight: 900; font-weight: 900;
background-color: inherit; background-color: inherit;
border-color: var(--heading-color); border-color: var(--heading-color);
color: var(--heading-color); color: var(--heading-color);
} }
.custom-edit-button button:hover { .custom-edit-button button {
font-weight: 900;
background-color: var(--heading-color); background-color: var(--heading-color);
color: white; color: white;
} }
...@@ -28,9 +30,9 @@ ...@@ -28,9 +30,9 @@
/* #region collection item */ /* #region collection item */
.collection-item { .collection-item {
background-color: #dff7ff; background-color: var(--background-color);
text-align: center; text-align: center;
border: 1px solid color-mix(in srgb, var(--accent-color), transparent 35%); border: 1px solid var(--accent-color);
border-radius: 3%; border-radius: 3%;
padding: 80px 20px; padding: 80px 20px;
transition: all ease-in-out 0.3s; transition: all ease-in-out 0.3s;
......
...@@ -23,7 +23,9 @@ ...@@ -23,7 +23,9 @@
<!-- #region buttons--> <!-- #region buttons-->
<div class="d-grid gap-3 custom-edit-button"> <div class="d-grid gap-3 custom-edit-button">
<button class="btn btn-outline-secondary">تعديل</button> <button class="btn btn-outline-secondary">
تعديل <i class="bi bi-pencil-fill"></i>
</button>
</div> </div>
<!-- #endregion --> <!-- #endregion -->
......
/* #region custom*/ /* #region custom*/
.custom-title { .custom-title {
width: 31%; width: 35%;
padding-bottom: 0.3em; padding-bottom: 0.3em;
border-bottom: 2px solid var(--accent-color); border-bottom: 1px solid var(--accent-color);
color: var(--heading-color); color: var(--heading-color);
} }
...@@ -10,4 +10,17 @@ ...@@ -10,4 +10,17 @@
font-weight: 700; font-weight: 700;
} }
.custom-create-button button:hover {
font-weight: 900;
background-color: inherit;
border-color: var(--heading-color);
color: var(--heading-color);
}
.custom-create-button button {
font-weight: 900;
background-color: var(--heading-color);
color: white;
}
/* #endregion */ /* #endregion */
\ No newline at end of file
...@@ -2,10 +2,19 @@ ...@@ -2,10 +2,19 @@
<section class="section"> <section class="section">
<!-- #region Title --> <!-- #region Title -->
<div class="container text-center mb-5 custom-title"> <div class="container text-center mb-3 custom-title">
<h2>الأطباء المسجلون في النظام:</h2> <h2>الأطباء المسجلون في النظام:</h2>
</div> </div>
<!-- #endregion -->
<!-- #region buttons-->
<div class="text-center custom-create-button">
<button class="btn btn-lg btn-outline-success mb-5" style="width: 35%;">إضافة طبيب +</button>
</div>
<!-- #endregion --> <!-- #endregion -->
<!-- #region container--> <!-- #region container-->
...@@ -14,6 +23,18 @@ ...@@ -14,6 +23,18 @@
<div class="col-lg-4 col-md-6"> <div class="col-lg-4 col-md-6">
<app-doctor-user></app-doctor-user> <app-doctor-user></app-doctor-user>
</div> </div>
<div class="col-lg-4 col-md-6">
<app-doctor-user></app-doctor-user>
</div>
<div class="col-lg-4 col-md-6">
<app-doctor-user></app-doctor-user>
</div>
<div class="col-lg-4 col-md-6">
<app-doctor-user></app-doctor-user>
</div>
<div class="col-lg-4 col-md-6">
<app-doctor-user></app-doctor-user>
</div>
</div> </div>
</div> </div>
<!-- #endregion --> <!-- #endregion -->
......
...@@ -7,6 +7,14 @@ ...@@ -7,6 +7,14 @@
.custom-buttons .btn-outline-primary { .custom-buttons .btn-outline-primary {
font-weight: 700; font-weight: 700;
color: var(--accent-color);
border-color: var(--accent-color);
}
.custom-buttons .btn-outline-primary:hover {
font-weight: 700;
color: white;
border-color: var(--accent-color);
} }
.custom-buttons .btn-outline-secondary { .custom-buttons .btn-outline-secondary {
...@@ -16,13 +24,14 @@ ...@@ -16,13 +24,14 @@
} }
.custom-buttons .btn-outline-secondary:hover { .custom-buttons .btn-outline-secondary:hover {
box-shadow: inset 0 0 0 2px gray; box-shadow: inset 0 0 0 2px var(--heading-color);
background-color: inherit; background-color: inherit;
} }
.navmenu .dropdown ul li a { .navmenu .dropdown ul li a {
cursor: pointer; cursor: pointer;
font-weight: 700; font-weight: 700;
color: var(--heading-color);
} }
.navmenu .dropdown ul li a { .navmenu .dropdown ul li a {
...@@ -194,7 +203,7 @@ ...@@ -194,7 +203,7 @@
.navmenu a, .navmenu a,
.navmenu a:focus { .navmenu a:focus {
color: var(--nav-color); color: var(--heading-color);
font-size: 15px; font-size: 15px;
padding: 0 2px; padding: 0 2px;
font-family: var(--nav-font); font-family: var(--nav-font);
...@@ -222,7 +231,7 @@ ...@@ -222,7 +231,7 @@
height: 2px; height: 2px;
bottom: -6px; bottom: -6px;
left: 0; left: 0;
background-color: var(--nav-hover-color); background-color: var(--accent-color);
visibility: hidden; visibility: hidden;
width: 0px; width: 0px;
transition: all 0.3s ease-in-out 0s; transition: all 0.3s ease-in-out 0s;
...@@ -238,7 +247,7 @@ ...@@ -238,7 +247,7 @@
.navmenu li:hover>a, .navmenu li:hover>a,
.navmenu .active, .navmenu .active,
.navmenu .active:focus { .navmenu .active:focus {
color: var(--nav-hover-color); color: var(--accent-color);
} }
.navmenu .dropdown ul { .navmenu .dropdown ul {
...@@ -265,7 +274,7 @@ ...@@ -265,7 +274,7 @@
padding: 10px 20px; padding: 10px 20px;
font-size: 15px; font-size: 15px;
text-transform: none; text-transform: none;
color: var(--nav-dropdown-color); color: var(--heading-color);
} }
.navmenu .dropdown ul a i { .navmenu .dropdown ul a i {
...@@ -275,7 +284,7 @@ ...@@ -275,7 +284,7 @@
.navmenu .dropdown ul a:hover, .navmenu .dropdown ul a:hover,
.navmenu .dropdown ul .active:hover, .navmenu .dropdown ul .active:hover,
.navmenu .dropdown ul li:hover>a { .navmenu .dropdown ul li:hover>a {
color: var(--nav-dropdown-hover-color); color: var(--accent-color);
} }
.navmenu .dropdown ul { .navmenu .dropdown ul {
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="container app-name-container m-auto"> <div class="container app-name-container m-auto">
<h1 class="h3 custom-app-name mb-4">المركز الطبي - برنامج الأطباء</h1> <h1 class="h3 custom-app-name mb-4">المركز الطبي - برنامج الأطباء</h1>
<h3 dir="rtl" *ngIf="userData!==null" class="h5 text-primary">أهلاَ <span *ngIf="userData.role===DOCTOR">د.</span> {{userData.fullName}}!</h3> <h3 dir="rtl" *ngIf="userData!==null" class="h5" style="color:var(--accent-color);">أهلاَ <span *ngIf="userData.role===DOCTOR">د.</span> {{userData.fullName}}!</h3>
</div> </div>
<!-- #region unregistered buttons --> <!-- #region unregistered buttons -->
......
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
app-footer { app-footer {
margin-top: auto; margin-top: auto;
} }
.custom-header {
border-bottom: 0.1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}
/* #endregion */ /* #endregion */
/* #region General */ /* #region General */
......
<div class="custom-parent"> <div class="custom-parent">
<app-header class="sticky-top" [userData]="userData"></app-header> <app-header class="sticky-top custom-header" [userData]="userData"></app-header>
<router-outlet></router-outlet> <router-outlet></router-outlet>
......
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