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>加密货币仪表盘</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.11.3.css"> <!-- ECharts --> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.js"></script> <style> :root { --primary-bg: #f0f2f5; /* Light grey background */ --sidebar-bg: #ffffff; /* White sidebar */ --card-bg: #ffffff; /* White cards */ --text-color: #333333; --text-muted: #777777; --accent-blue: #007bff; /* Bootstrap primary blue for accents */ --accent-purple: #6f42c1; /* A purple accent */ --border-color: #e0e0e0; } body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: var(--primary-bg); color: var(--text-color); margin: 0; display: flex; min-height: 100vh; } .sidebar { width: 250px; background-color: var(--sidebar-bg); padding: 20px; display: flex; flex-direction: column; box-shadow: 2px 0 5px rgba(0,0,0,0.05); } .sidebar .logo { display: flex; align-items: center; margin-bottom: 30px; } .sidebar .logo img { height: 40px; margin-right: 10px; } .sidebar .logo span { font-size: 1.5rem; font-weight: bold; color: var(--text-color); } .sidebar .nav-link { color: var(--text-muted); padding: 10px 15px; margin-bottom: 5px; border-radius: 5px; display: flex; align-items: center; } .sidebar .nav-link i { margin-right: 10px; font-size: 1.2rem; } .sidebar .nav-link.active, .sidebar .nav-link:hover { background-color: var(--accent-blue); color: #ffffff; } .main-content { flex: 1; padding: 30px; overflow-y: auto; } .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; } .header h1 { font-size: 1.8rem; font-weight: 600; margin: 0; } .header p { color: var(--text-muted); font-size: 0.9rem; margin:0; } .header-actions .btn-icon { font-size: 1.5rem; color: var(--text-muted); margin-left: 15px; } .header-actions .profile-img { width: 40px; height: 40px; border-radius: 50%; margin-left: 15px; } .coin-selector { margin-bottom: 30px; display: flex; gap: 10px; align-items: center; } .coin-selector .coin-btn { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 10px; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; cursor: pointer; transition: transform 0.2s; } .coin-selector .coin-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,0.1); } .coin-selector .coin-btn img { height: 24px; } .coin-selector .add-btn { background-color: #e9ecef; } .coin-card { background-color: var(--card-bg); border-radius: 10px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); } .coin-card .coin-info { display: flex; align-items: center; margin-bottom: 15px; } .coin-card .coin-icon { width: 40px; height: 40px; border-radius: 50%; margin-right: 15px; display: flex; align-items: center; justify-content: center; } .coin-card .coin-icon img { height: 24px; } .coin-card .coin-name { font-size: 1.1rem; font-weight: 600;.........完整代码请登录后点击上方下载按钮下载查看
网友评论0