mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 04:59:45 +00:00
Исправления стилей для контактной формы (вынес gap в переменную, увеличил его значение)
This commit is contained in:
1 parent
ca6f97c59e
commit
b4fdabc853
2 files changed
+13
-5
No files matched your search
@@ -1,4 +1,5 @@
|
|||||||
@import "../../assets/styles/theme.scss";
|
@import "../../assets/styles/theme.scss";
|
||||||
|
$gap: 20px;
|
||||||
$icon-size: 24px;
|
$icon-size: 24px;
|
||||||
$color-file-button: rgb(7, 42, 200);
|
$color-file-button: rgb(7, 42, 200);
|
||||||
|
|
||||||
@@ -19,7 +20,7 @@ $color-file-button: rgb(7, 42, 200);
|
|||||||
.inputs {
|
.inputs {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
gap: 14px;
|
gap: $gap;
|
||||||
|
|
||||||
* {
|
* {
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@@ -27,7 +28,7 @@ $color-file-button: rgb(7, 42, 200);
|
|||||||
|
|
||||||
.row {
|
.row {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 14px;
|
gap: $gap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-input * {
|
.file-input * {
|
||||||
|
|||||||
@@ -1,9 +1,17 @@
|
|||||||
|
@import "../../components/ContactForm/ContactForm.styles.scss";
|
||||||
|
|
||||||
#page-contact {
|
#page-contact {
|
||||||
.top-block {
|
.top-block {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex: 1 1 50%;
|
flex: 1 1 50%;
|
||||||
|
|
||||||
|
margin-bottom: 2em;
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
margin-top: 0;
|
||||||
|
}
|
||||||
|
|
||||||
div:has(> ymaps) {
|
div:has(> ymaps) {
|
||||||
|
|
||||||
@@ -28,13 +36,12 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.row:not(:has(.submit))>* {
|
.row > * {
|
||||||
flex: 1 1 calc(50% - 7px);
|
flex: 1 1 calc(50% - ($gap / 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
.row:has(.submit)>* {
|
.row:has(.submit)>* {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
flex: 1 1 calc(50% - 7px);
|
|
||||||
max-width: 35%;
|
max-width: 35%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user