Элементы по отдельности
This commit is contained in:
60
lab1/screen-forms/elements/button-primary.html
Normal file
60
lab1/screen-forms/elements/button-primary.html
Normal file
@@ -0,0 +1,60 @@
|
||||
<!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: 335px;
|
||||
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;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="element-container">
|
||||
<h2 class="element-title">Основная кнопка</h2>
|
||||
|
||||
<button class="btn btn-primary btn-full">Создать поход</button>
|
||||
|
||||
<button class="btn btn-secondary btn-full">Сохранить черновик</button>
|
||||
|
||||
<p class="element-description">
|
||||
Минимальная высота: 48pt<br>
|
||||
Радиус: 8pt<br>
|
||||
Шрифт: 16pt, полужирный<br>
|
||||
Основная: оранжевый #E67E22<br>
|
||||
Вторичная: светло-серый #ECF0F1
|
||||
</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user