integarting admin dashboard

This commit is contained in:
UronShrestha
2024-07-12 12:51:02 +05:45
parent 2510de390a
commit 1550ab5d30
1758 changed files with 313760 additions and 10 deletions

View File

@ -0,0 +1,86 @@
/* Mail List Container */
.email-wrapper {
.mail-list-container {
border-left: 1px solid $border-color;
height: 100%;
padding-left: 0;
padding-right: 0;
a {
text-decoration: none;
}
.mail-list {
border-bottom: 1px solid $border-color;
display: flex;
flex-direction: row;
padding: 10px 15px;
width: 100%;
&:last-child {
border-bottom: none;
}
.form-check {
margin-top: 12px;
width: 11%;
min-width: 20px;
}
.content {
width: 83%;
padding-left: 0;
padding-right: 0;
.sender-name {
font-size: $default-font-size;
font-weight: 400;
@extend %ellipsor;
max-width: 95%;
}
.message_text {
margin: 0;
max-width: 93%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@extend .text-muted;
}
}
.details {
@extend .d-flex;
@extend .justify-content-end;
width: 5.5%;
.date {
text-align: right;
margin: auto 15px auto 0;
white-space: nowrap;
@extend .text-muted;
}
i {
margin: auto 0;
color: #ddd;
&.favorite {
color: theme-color(warning);
}
}
}
&.new_mail {
background: color(gray-lightest);
.details {
.date {
color: color(black);
}
}
}
}
}
}

View File

@ -0,0 +1,183 @@
/* Mail Sidebar */
.email-wrapper {
.mail-sidebar {
@media (max-width:769px) {
position: relative;
}
@include media-breakpoint-down(sm) {
position: fixed;
z-index: 99;
background: color(white);
width: 45%;
min-width: 300px;
left: -100%;
display: block;
transition: 0.4s ease;
-webkit-transition: 0.4s ease;
-moz-transition: 0.4s ease;
}
.menu-bar {
width: 100%;
float: right;
height: 100%;
min-height: 100%;
@include media-breakpoint-down(sm) {
min-height: 100vh;
max-height: 100%;
height: auto;
overflow-y: auto;
overflow-x: hidden;
}
.menu-items {
padding: 0;
margin-bottom: 0;
height: auto;
list-style-type: none;
li {
padding: 10px 15px;
transition: 0.4s;
position: relative;
@include display-flex;
@include align-items(center);
@include justify-content(space-between);
&:hover {
background: rgba(240, 244, 249, 0.8);
}
a {
color: lighten($darkslategray, .73);
font-size: $default-font-size;
text-decoration: none;
i {
margin-right: 8px;
font-size: $default-font-size;
line-height: 1.5;
}
}
&.active {
background: color(gray-lightest);
@include border-radius(4px);
a {
color: theme-color(primary);
}
}
&.compose {
&:hover {
background: transparent;
}
}
}
}
.online-status {
margin-top: 1rem;
.chat {
font-size: $default-font-size;
color: theme-color(primary);
margin-bottom: 0;
font-weight: 600;
}
.status {
height: 10px;
width: 10px;
@include border-radius(100%);
display: inline-flex;
justify-content: flex-start;
transform: translateX(-43px) translateY(2px);
&:after {
font-size: 12px;
color: $darkslategray;
margin: -5px 0 0 18px;
}
}
.status.offline {
background: theme-color(danger);
&:after {
content: "Offline";
}
}
.status.online {
background: theme-color(success);
&:after {
content: "Online";
}
}
}
.profile-list {
padding: 10px 0;
}
.profile-list-item {
border-bottom: 1px solid $border-color;
padding: 6px 0;
display: block;
&:last-child {
border-bottom: 0;
}
a {
text-decoration: none;
@extend .d-flex;
.pro-pic {
@include display-flex;
@include align-items(center);
padding: 0;
width: 20%;
max-width: 40px;
img {
max-width: 100%;
width: 100%;
@include border-radius(100%);
}
}
.user {
width: 100%;
@extend .d-flex;
@extend .flex-column;
padding: 5px 10px 0 15px;
.u-name {
font-weight: 400;
font-size: $default-font-size;
line-height: 1;
@extend %ellipsor;
color: color(black);
}
.u-designation {
font-size: calc(#{$default-font-size} - 0.1rem);
@extend %ellipsor;
@extend .text-muted;
margin-bottom: 0;
}
}
}
}
}
}
.sidebar.open {
left: 0;
}
}

View File

@ -0,0 +1,94 @@
/* Message Content */
.email-wrapper {
.message-body {
.sender-details {
padding: 20px 15px 0;
border-bottom: $border-property;
@include display-flex;
.details {
padding-bottom: 0;
.msg-subject {
font-weight: 600;
}
.sender-email {
margin-bottom: 20px;
font-weight: 400;
i {
font-size: 1rem;
font-weight: 600;
margin: 0 1px 0 7px;
}
}
}
}
.message-content {
padding: 50px 15px;
}
.attachments-sections {
ul {
list-style: none;
border-top: $border-property;
padding: 30px 15px 20px;
li {
padding: 10px;
margin-right: 20px;
border: $border-property;
@include border-radius(5px);
@extend .d-inline-flex;
@extend .flex-row;
@extend .align-items-stretch;
.thumb {
display: inline-block;
margin-right: 10px;
@extend .d-flex;
@extend .justify-content-center;
@extend .align-items-center;
i {
font-size: 30px;
margin: 0;
color: $darkslategray;
}
}
.details {
p.file-name {
display: block;
@extend %ellipsor;
margin-bottom: 0;
color: $darkslategray;
}
.buttons {
@extend .d-flex;
@extend .align-items-center;
.file-size {
margin-right: 10px;
margin-bottom: 0;
font-size: 13px;
}
a {
font-size: 13px;
margin-right: 10px;
&:last-child {
margin-right: 0;
}
}
}
}
}
}
}
}
}