36557-vm/assets/css/dashboard.css
Flatlogic Bot 08fcb2dae0 0.2
2025-12-01 21:25:15 +00:00

250 lines
4.8 KiB
CSS

:root {
--primary-color: #6f42c1;
--secondary-color: #f8f9fa;
--text-color: #343a40;
--heading-font: 'Poppins', sans-serif;
--body-font: 'Poppins', sans-serif;
--sidebar-bg: #1e1e2d;
--sidebar-text: #a5a5a9;
--sidebar-active: #ffffff;
--content-bg: #f4f7f6;
}
body {
font-family: var(--body-font);
color: var(--text-color);
background-color: var(--content-bg);
}
.sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 260px;
background-color: var(--sidebar-bg);
padding-top: 20px;
transition: all 0.3s;
z-index: 1000;
}
.sidebar .logo {
font-family: var(--heading-font);
font-weight: 700;
color: var(--sidebar-active) !important;
font-size: 1.5rem;
text-align: center;
display: block;
margin-bottom: 30px;
}
.sidebar .nav-link {
color: var(--sidebar-text);
font-weight: 500;
padding: 12px 25px;
display: flex;
align-items: center;
transition: all 0.3s;
}
.sidebar .nav-link i {
margin-right: 15px;
font-size: 1.1rem;
width: 20px;
text-align: center;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
color: var(--sidebar-active);
background-color: rgba(255, 255, 255, 0.05);
}
.sidebar .nav-item-header {
text-transform: uppercase;
font-size: 0.8rem;
font-weight: 600;
color: #4a4a5a;
padding: 10px 25px;
margin-top: 15px;
}
.main-content {
margin-left: 260px;
padding: 0;
transition: all 0.3s;
}
.header {
background-color: #fff;
padding: 20px 30px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #e5e9f2;
}
.wallet-card {
background: linear-gradient(135deg, var(--primary-color), #2575fc);
color: white;
border-radius: 15px;
}
.wallet-balance {
font-weight: 700;
}
.income-card {
background: #fff;
border: none;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.income-card .card-body {
display: flex;
align-items: center;
}
.income-card .icon {
font-size: 2.5rem;
margin-right: 20px;
padding: 20px;
border-radius: 50%;
background-color: rgba(0,0,0,0.05);
}
.table-striped > tbody > tr:nth-of-type(odd) > * {
background-color: rgba(0,0,0,0.02);
}
.feature-card {
background: white;
border-radius: 10px;
padding: 40px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
transition: transform 0.3s;
}
.feature-card:hover {
transform: translateY(-10px);
}
.feature-icon {
font-size: 3rem;
color: var(--primary-color);
margin-bottom: 20px;
}
.chat-open-button {
position: fixed;
bottom: 20px;
right: 20px;
background-color: var(--primary-color);
color: white;
padding: 15px 20px;
border-radius: 50%;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
border: none;
font-size: 24px;
}
.chat-popup {
display: none;
position: fixed;
bottom: 20px;
right: 20px;
width: 350px;
height: 500px;
background-color: white;
flex-direction: column;
border-radius: 10px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
z-index: 1001;
}
.chat-header {
background-color: var(--primary-color);
color: white;
padding: 15px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}
.chat-messages {
flex-grow: 1;
padding: 15px;
overflow-y: auto;
background-color: #f9f9f9;
}
.chat-input {
display: flex;
padding: 10px;
border-top: 1px solid #ddd;
}
.chat-message {
margin-bottom: 10px;
padding: 8px 12px;
border-radius: 18px;
max-width: 80%;
}
.user-message {
background-color: var(--primary-color);
color: white;
align-self: flex-end;
margin-left: auto;
}
.bot-message {
background-color: #e9e9eb;
color: var(--text-color);
align-self: flex-start;
}
.nav-link-custom {
font-weight: 500;
color: var(--text-color);
transition: color 0.3s;
position: relative;
padding-bottom: 0.5rem;
}
.nav-link-custom::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background-color: var(--primary-color);
transition: width 0.3s ease-in-out;
}
.nav-link-custom:hover::after, .nav-link-custom.active::after {
width: 100%;
}
.nav-link-custom:hover {
color: var(--primary-color);
}
.navbar-nav .btn {
margin-left: 0.5rem;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
}
.btn-primary:hover {
background-color: #5a3e9a;
border-color: #5a3e9a;
}
.btn-outline-secondary:hover {
background-color: var(--primary-color);
color: white;
}