Элементы по отдельности
This commit is contained in:
84
lab1/screen-forms/elements/navigation-bar.html
Normal file
84
lab1/screen-forms/elements/navigation-bar.html
Normal file
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="ru">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Навигационная панель</title>
|
||||
<link rel="stylesheet" href="../common.css">
|
||||
<style>
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-height: 100vh;
|
||||
background: var(--color-bg-light);
|
||||
padding: 40px;
|
||||
}
|
||||
|
||||
.element-container {
|
||||
width: 375px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.element-title {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: var(--color-text-dark);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.element-description {
|
||||
font-size: 14px;
|
||||
color: var(--color-text-medium);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.nav-container {
|
||||
position: relative;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="element-container">
|
||||
<h2 class="element-title">Навигационная панель</h2>
|
||||
|
||||
<div class="nav-container">
|
||||
<nav class="app-navigation" style="position: relative; bottom: 0;">
|
||||
<button class="nav-button">
|
||||
<span class="nav-icon">🗺️</span>
|
||||
<span class="nav-label">Маршрут</span>
|
||||
</button>
|
||||
<button class="nav-button">
|
||||
<span class="nav-icon">🧺</span>
|
||||
<span class="nav-label">Корзина</span>
|
||||
</button>
|
||||
<button class="nav-button nav-button-active">
|
||||
<span class="nav-icon">🏠</span>
|
||||
<span class="nav-label">Главная</span>
|
||||
</button>
|
||||
<button class="nav-button">
|
||||
<span class="nav-icon">💬</span>
|
||||
<span class="nav-label">Чат</span>
|
||||
</button>
|
||||
<button class="nav-button">
|
||||
<span class="nav-icon">📖</span>
|
||||
<span class="nav-label">Справочник</span>
|
||||
</button>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<p class="element-description">
|
||||
Высота: 72pt<br>
|
||||
5 кнопок: Маршрут, Корзина, Главная, Чат, Справочник<br>
|
||||
Активная вкладка: зелёный текст + подчёркивание<br>
|
||||
Иконки: 24pt, подписи: 11pt
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user