bootstrap布局实现旅行计划后台仪表盘页面代码
代码语言:html
所属分类:布局界面
代码描述:bootstrap布局实现旅行计划后台仪表盘页面代码
代码标签: bootstrap 布局 旅行 计划 后台 仪表盘 页面 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Travelling to Milan</title>
<!-- Bootstrap CSS -->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap.5.3.0.css">
<!-- Bootstrap Icons -->
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/bootstrap-icons.1.8.1.css">
<style>
:root {
--primary-purple: #6366f1;
--light-purple: #a5b4fc;
--dark-purple: #4338ca;
--bg-light: #f8fafc;
--text-gray: #64748b;
--border-light: #e2e8f0;
}
body {
background: linear-gradient(135deg, var(--primary-purple) 0%, var(--light-purple) 100%);
min-height: 100vh;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.main-container {
background: white;
border-radius: 20px;
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
margin: 20px;
overflow: hidden;
min-height: calc(100vh - 40px);
}
.sidebar {
background: var(--primary-purple);
min-height: 100%;
padding: 20px 0;
}
.sidebar-icon {
width: 50px;
height: 50px;
background: rgba(255,255,255,0.2);
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin: 10px auto;
color: white;
font-size: 20px;
cursor: pointer;
transition: all 0.3s ease;
}
.sidebar-icon:hover {
background: rgba(255,255,255,0.3);
transform: translateY(-2px);
}
.sidebar-icon.active {
background: white;
color: var(--primary-purple);
}
.content-header {
padding: 30px;
border-bottom: 1px solid var(--border-light);
}
.travel-title {
font-size: 28px;
font-weight: 600;
color: #1e293b;
margin-bottom: 15px;
}
.date-range {
color: var(--text-gray);
font-size: 14px;
margin-bottom: 20px;
}
.action-icons {
display: flex;
gap: 15px;
}
.action-icon {
width: 40px;
height: 40px;
border: 1px solid var(--border-light);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
color: var(--text-gray);
cursor: pointer;
transition: all 0.3s ease;
}
.action-icon:hover {
background: var(--bg-light);
border-color: var(--primary-purple);
color: var(--primary-purple);
}
.itinerary-section {
padding: 30px;
}
.day-card {
background: white;
border: 1px solid var(--border-light);
border-radius: 12px;
padding: 20px;
margin-bottom: 20px;
transition: all 0.3s ease;
}
.day-card:hover {
box-shadow: 0 8px 25px rgba(0,0,0,0.1);
transform: translateY(-2px);
}
.day-header {
font-weight: 600;
color: #1e293b;
margin-bottom: 15px;
}
.activity {
display: flex;
align-items: center;
margin-bottom: 15px;
padding: 10px;
border-radius: 8px;
transition: all 0.3s ease;
}
.activity:hover {
background: var(--bg-light);
}
.activity-time {
font-weight: 600;
co.........完整代码请登录后点击上方下载按钮下载查看
网友评论0