Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start dev #1

Open
wants to merge 60 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
0809050
start dev
restby Jul 3, 2024
f4c7f17
start dev header
restby Jul 3, 2024
8ba8249
header,add img,fonts,some settings files
restby Jul 3, 2024
5adbfa6
about,section-title,video,add some img
restby Jul 3, 2024
d83a922
start dev price
restby Jul 3, 2024
6322ee7
some edits,price-card,some fix
restby Jul 3, 2024
34ef29a
end dev price
restby Jul 4, 2024
ed7401c
some fix price
restby Jul 4, 2024
bf6b7b3
start PP edits
restby Jul 4, 2024
6aba389
many fixes
restby Jul 4, 2024
39b71cc
fix hero,games
restby Jul 4, 2024
a21c40a
fix PP, end games
restby Jul 4, 2024
615b192
start dev juri
restby Jul 4, 2024
827da94
end juri,some fixes
restby Jul 5, 2024
2589ec1
start dev features
restby Jul 5, 2024
899f3f2
dev features
restby Jul 5, 2024
b503a8f
end features
restby Jul 6, 2024
025dd5f
start dev offers
restby Jul 6, 2024
f1d6887
end offers, some fix btn,feature-card,feature,price-card-hero-juri
restby Jul 8, 2024
1878665
start dev faq
restby Jul 8, 2024
0b5aadc
faq,many PP fixes,colors edits
restby Jul 9, 2024
bceeabc
some fixes
restby Jul 10, 2024
1b0297d
end faq, PP fixes
restby Jul 10, 2024
5369d53
start reviews
restby Jul 10, 2024
0e1f680
end reviews,some fixes
restby Jul 10, 2024
7f3d481
start form
restby Jul 10, 2024
a884cb4
sove fixes
restby Jul 10, 2024
6de6e5f
test fixes
restby Jul 10, 2024
d2bbb2d
many fixes
restby Jul 11, 2024
b6d9416
fa-ing PP
restby Jul 13, 2024
e3489d3
near end
restby Jul 13, 2024
7cbf83b
page-footer, many fixes
restby Jul 15, 2024
9bd8ecc
some fix
restby Jul 15, 2024
c27638f
many fixes js
restby Jul 15, 2024
8390fb6
end fixes
restby Jul 16, 2024
f84f01a
test-fixes
restby Jul 16, 2024
28ce6e0
end form-validate
restby Jul 16, 2024
7f070e7
end
restby Jul 16, 2024
7133bb2
editorconfig fix
restby Jul 16, 2024
7a27d04
fix images,favicons
restby Jul 16, 2024
906b710
fonts preload
restby Jul 16, 2024
b8cce3d
snow
restby Jul 17, 2024
541bba7
editorconfig
restby Jul 17, 2024
18e27d9
good after all tests
restby Jul 17, 2024
e7c4e00
many fixes
restby Jul 17, 2024
e9d8520
all test fix
restby Jul 17, 2024
b34d981
fix bg-sizes
restby Jul 17, 2024
f6d06a6
fix images
restby Jul 17, 2024
30e9daa
fix image bg
restby Jul 17, 2024
ff6debd
interactive
restby Jul 17, 2024
eb48731
fix some criteria
restby Jul 17, 2024
217df11
end criterias
restby Jul 17, 2024
b490eac
lazy
restby Jul 17, 2024
0011aa9
all test, some fixes
restby Jul 18, 2024
914b17a
part 1
restby Jul 19, 2024
94ecee6
feature fix
restby Jul 19, 2024
4ac0e34
end all of test, end criteria
restby Jul 19, 2024
e8044ef
end all
restby Jul 20, 2024
4e5296a
fix favicon
restby Jul 24, 2024
be7129c
last
restby Aug 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
many fixes
  • Loading branch information
restby committed Jul 11, 2024
commit d2bbb2d933648015c3a88422b37228e3f13b9f77
35 changes: 34 additions & 1 deletion source/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1206,14 +1206,47 @@ <h2 class="reviews__title section-title section-title--dark">
<h2 class="form__title section-title section-title--light">
Бесплатное занятие
</h2>
<form action="https://echo.htmlacademy.ru" method="GET">
<p class="form__input">
<label class="visually-hidden">
Имя
</label>
<input type="text" name="user" placeholder="Имя" required>
</p>
<p class="form__input">
<label class="visually-hidden">
Телефон
</label>
<input type="tel" pattern="[0-9]{1}-[0-9]{3}-[0-9]{3}-[0-9]{2}-[0-9]{2}" name="phone"
placeholder="Телефон" required>
</p>
<button type="submit">Отправить</button>
</form>
</div>
</section>
<section class="info__col info__col--contacts contacts">
<div class="contacts__container">
<h2 class="contacts__title section-title section-title--dark">
Контакты
</h2>
<div class="contacts__content"></div>
<div class="contacts__content">
<div class="contacts__item">
<h3 class="contacts__item-title">Адрес:</h3>
<p class="contacts__item-descr">г. Омск, ул. 60 лет Октября, 7</p>
</div>
<div class="contacts__item">
<h3 class="contacts__item-title">График работы:</h3>
<p class="contacts__item-descr">Пн-Вс: с 8:00 до 22:00</p>
</div>
<div class="contacts__item">
<h3 class="contacts__item-title">Телефон:</h3>
<a href="tel:88005555555" class="contacts__item-descr">8 800 555-55-55</a>
</div>
<div class="contacts__item">
<h3 class="contacts__item-title">Email:</h3>
<a href="tel:88005555555" class="contacts__item-descr">oмск@supergym.ru</a>
</div>
</div>
</div>
</section>
</div>
Expand Down
5 changes: 4 additions & 1 deletion source/sass/blocks/about.scss
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,16 @@

&:focus {
outline: none;
}

&:focus-visible {
outline: none;
&::before {
background-image: url("../../img/svg/video-btn-focus.svg");
}
}

&:hover {
&:hover:not(:disabled):not(:focus-visible) {
&::before {
background-image: url("../../img/svg/video-btn-hover.svg");
}
Expand Down
28 changes: 20 additions & 8 deletions source/sass/blocks/accordion-tabs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
cursor: pointer;
background-color: $color-transparent;
border: 1px solid rgba($color-dark, 0.2);
transition:
opacity $trans-default,
background-color $trans-default,
transition: opacity $trans-default, background-color $trans-default,
color $trans-default;

@include vp-1365 {
Expand All @@ -23,25 +21,39 @@

&:focus {
outline: none;
}

&:focus-visible {
outline: none;
border: 1px solid $color-dark;
background-color: $color-white;
}

&:hover {
&:hover:not(:disabled):not(:focus-visible) {
border: 1px solid $color-dark;
}

&:active,
&.is-active {
&:active {
background: linear-gradient(97.05deg, #ed0233 17.6%, #003eb7 95.31%);
border: 1px solid $color-transparent;
color: $color-white;
}

&:disabled,
&.disabled {
&:disabled {
color: #c8c9cc;
border: 1px solid rgba($color-dark, 0.2);
pointer-events: none;
}
}

.accordion-tabs.is-active {
background: linear-gradient(97.05deg, #ed0233 17.6%, #003eb7 95.31%);
border: 1px solid $color-transparent;
color: $color-white;
}

.accordion-tabs.disabled {
color: #c8c9cc;
border: 1px solid rgba($color-dark, 0.2);
pointer-events: none;
}
14 changes: 11 additions & 3 deletions source/sass/blocks/accordion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,31 @@

&:focus {
outline: none;
}

&:focus-visible {
outline: none;
border: 1px solid $color-dark-alternative;
background-color: #74819c;
color: $color-white;
}

&:hover {
&:hover:not(:disabled):not(:focus-visible) {
background-color: $color-dark-alternative;
color: $color-white;
}

&:disabled,
&.disabled {
&:disabled {
opacity: 0.3;
pointer-events: none;
}
}

.accordion__item-btn.disabled {
opacity: 0.3;
pointer-events: none;
}

.accordion__item-btn svg {
@include vp-767 {
width: 14px;
Expand Down
27 changes: 16 additions & 11 deletions source/sass/blocks/btn.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
text-transform: uppercase;
text-align: center;
cursor: pointer;
transition:
opacity $trans-default,
background-color $trans-default,
transition: opacity $trans-default, background-color $trans-default,
color $trans-default;

&--on-dark {
Expand All @@ -23,12 +21,16 @@

&:focus {
outline: none;
}

&:focus-visible {
outline: none;
border-color: $color-black;
background-color: rgba($color-transparent, 0.8);
color: $color-action;
}

&:hover {
&:hover:not(:disabled):not(:focus-visible) {
background-color: $color-white;
color: $color-action;
}
Expand All @@ -52,17 +54,20 @@

&:focus {
outline: none;
}

&:focus-visible {
outline: none;
border-color: $color-black;
background:
linear-gradient(
151deg,
rgba(237, 2, 51, 0.8) 0%,
rgba(0, 62, 183, 0.8) 100%
);
background: linear-gradient(
151deg,
rgba(237, 2, 51, 0.8) 0%,
rgba(0, 62, 183, 0.8) 100%
);
color: $color-white;
}

&:hover {
&:hover:not(:disabled):not(:focus-visible) {
border: none;
background: $fill-gradient;
color: $color-white;
Expand Down
156 changes: 156 additions & 0 deletions source/sass/blocks/contacts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
.contacts {
// display: flex;
width: 50%;
// min-height: 338px;
position: relative;
border-top: 1px solid #74819c;

@include vp-1365 {
width: 100%;
// min-height: 327px;
justify-content: center;
}

@include vp-767 {
// min-height: 438px;
// border-top: none;
}

// &::before {
// position: absolute;
// content: "";
// width: 100%;
// height: 1px;
// top: 0;
// left: 0;
// right: 0;
// background-color: #74819c;

// @include vp-767 {
// display: none;
// }
// }
}

.contacts__container {
margin-right: 103px;
margin-left: 103px;
width: 477px;
padding-top: 60px;
padding-bottom: 60px;

@include vp-1365 {
margin: 0;
width: 440px;
// padding-bottom: 59px;
}

@include vp-767 {
width: 290px;
margin: 0 auto;
padding-top: 36px;
// padding-bottom: 36px;
}
}

.contacts__title {
margin: 0;
margin-bottom: 36px;

@include vp-1365 {
text-align: center;
font-size: 54px;
line-height: 54px;
}

@include vp-767 {
margin-bottom: 38px;
text-align: left;
font-size: 32px;
line-height: 32px;
}
}

.contacts__content {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(2, minmax(51px, auto));
grid-column-gap: 120px;
grid-row-gap: 15px;
align-items: start;
position: relative;

@include vp-1365 {
grid-column-gap: 60px;
}

&::after {
position: absolute;
content: "";
width: 1px;
height: 100%;
top: 0;
left: 50%;
transform: translateX(-50%);
background-color: #74819c;

@include vp-767 {
display: none;
}
}

@include vp-767 {
display: flex;
flex-direction: column;
grid-column-gap: 0;
grid-row-gap: 0;
row-gap: 28px;
}
}

.contacts__item {
display: flex;
flex-direction: column;
justify-self: flex-start;
align-items: flex-start;
}

.contacts__item:nth-child(1) {
grid-area: 1 / 1 / 2 / 2;
}

.contacts__item:nth-child(2) {
grid-area: 2 / 1 / 3 / 2;
}

.contacts__item:nth-child(3) {
grid-area: 1 / 2 / 2 / 3;
}

.contacts__item:nth-child(4) {
grid-area: 2 / 2 / 3 / 3;
}

.contacts__item-title {
margin: 0;
margin-bottom: 5px;
font-size: 24px;
line-height: 24px;
font-weight: 400;

@include vp-767 {
margin-bottom: 12px;
font-size: 20px;
line-height: 20px;
}
}

.contacts__item-descr {
margin: 0;
font-size: 14px;
line-height: 22px;

@include vp-767 {
line-height: 20px;
}
}
Loading