Skip to content

Commit

Permalink
Add parcel
Browse files Browse the repository at this point in the history
  • Loading branch information
VladBrok committed Jul 7, 2022
1 parent a6e568b commit efe9afd
Show file tree
Hide file tree
Showing 11 changed files with 17,921 additions and 25 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ bld/
msbuild.log
msbuild.err
msbuild.wrn
dist/
.cache/

# Visual Studio 2015
.vs/
1 change: 0 additions & 1 deletion Client/.surgeignore

This file was deleted.

2 changes: 1 addition & 1 deletion Client/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ body {
font-family: Arial, Helvetica, sans-serif;
display: flex;
position: relative;
align-items: flex-start;
}

a {
Expand All @@ -39,6 +38,7 @@ button {
min-width: 0;
min-height: 100vh;
flex-grow: 1;
align-self: flex-start;
display: flex;
flex-direction: column;
align-items: center;
Expand Down
12 changes: 6 additions & 6 deletions Client/css/index.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import url("common.css");
@import url("navigation.css");
@import url("controls.css");
@import url("table.css");
@import url("form.css");
@import url("modal.css");
@import url("./common.css");
@import url("./navigation.css");
@import url("./controls.css");
@import url("./table.css");
@import url("./form.css");
@import url("./modal.css");
6 changes: 3 additions & 3 deletions Client/css/login.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import url("common.css");
@import url("controls.css");
@import url("form.css");
@import url("./common.css");
@import url("./controls.css");
@import url("./form.css");

.form-container {
margin: 1rem auto;
Expand Down
4 changes: 2 additions & 2 deletions Client/css/navigation.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:root {
--nav-width: 22rem;
--nav-width: 16rem;
--delim: 12;
--sub-menu-margin: calc(var(--nav-width) / var(--delim));
}
Expand Down Expand Up @@ -93,7 +93,7 @@
color: #fdfdff;
}

@media (max-width: 800px) {
@media (max-width: 700px) {
.navigation {
position: absolute;
height: 100%;
Expand Down
13 changes: 6 additions & 7 deletions Client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Поиск работодателей и работников" />
<script async type="module" src="scripts/auth.js"></script>
<script type="module" src="scripts/index.js"></script>
<script defer src="scripts/index.js"></script>
<link rel="stylesheet" href="css/index.css" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
<title>Агентство По Трудоустройству</title>
Expand All @@ -15,13 +14,13 @@
<body>
<button class="menu-wrapper">
<img
src="images/close-menu.png"
alt="Закрыть меню"
class="menu close-menu"
title="Закрыть меню"
src="images/menu.png"
alt="Открыть меню"
class="menu"
title="Открыть меню"
/>
</button>
<nav class="navigation">
<nav class="navigation hidden">
<h1 class="title">Агентство по трудоустройству</h1>
<ul class="list">
<li class="item selected-item parent">
Expand Down
7 changes: 2 additions & 5 deletions Client/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="description" content="Поиск работодателей и работников" />
<script type="module" src="scripts/login-page.js"></script>
<script defer src="scripts/login-page.js"></script>
<link rel="stylesheet" href="css/login.css" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico" />
<title>Агентство По Трудоустройству</title>
</head>

<body>
<div class="loading">Загрузка...</div>
<div class="form-container">
Expand All @@ -20,12 +19,10 @@ <h1 class="title">Авторизация</h1>
<label for="login">Логин:</label>
<input type="text" id="login" class="input" required />
</div>

<div class="element">
<label for="password">Пароль:</label>
<input type="password" id="password" class="input" required />
</div>

<button type="submit" class="search-button button">Вход</button>
</form>
</div>
Expand Down
Loading

0 comments on commit efe9afd

Please sign in to comment.