mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 05:29:45 +00:00
Изменил компонент контактной формы, теперь более гибкий в стилизации. Изменил стили под конкретные страницы для формы
This commit is contained in:
1 parent
9fa6b820fb
commit
439bfca774
5 files changed
+99
-59
No files matched your search
@@ -1,21 +1,41 @@
|
||||
.top-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 50%;
|
||||
#page-contact {
|
||||
.top-block {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
flex: 1 1 50%;
|
||||
|
||||
div:has(> ymaps) {
|
||||
div:has(> ymaps) {
|
||||
|
||||
ymaps[class*="inner-panes"] {
|
||||
border-radius: 8px;
|
||||
ymaps[class*="inner-panes"] {
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
// div:has(> ymaps)
|
||||
div:has(> ymaps)>* {
|
||||
width: auto !important;
|
||||
height: 100% !important;
|
||||
aspect-ratio: 1;
|
||||
}
|
||||
}
|
||||
|
||||
// div:has(> ymaps)
|
||||
div:has(> ymaps) > *
|
||||
{
|
||||
width: auto!important;
|
||||
height: 100%!important;
|
||||
aspect-ratio: 1;
|
||||
.contact-form {
|
||||
.row {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.row:not(:has(.submit))>* {
|
||||
flex: 1 1 calc(50% - 7px);
|
||||
}
|
||||
|
||||
.row:has(.submit)>* {
|
||||
margin: 0;
|
||||
flex: 1 1 calc(50% - 7px);
|
||||
max-width: 35%;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user