Лагерь: Секция программы
This commit is contained in:
parent
97c25af060
commit
bb1ef7220f
@ -939,6 +939,53 @@ p {
|
||||
}
|
||||
|
||||
/* programs END */
|
||||
|
||||
/* modal */
|
||||
.modal-programs,
|
||||
.modal-mentors {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #000000ce;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.modal-programs.open,
|
||||
.modal-mentors.open {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.modal-programs-wrapper {
|
||||
position: relative;
|
||||
display: flex;
|
||||
gap: 30px;
|
||||
border-radius: 30px;
|
||||
background-color: #fff;
|
||||
padding: 40px;
|
||||
max-width: 90%;
|
||||
max-height: 90%;
|
||||
}
|
||||
|
||||
.modal-programs__img {
|
||||
min-width: 260px;
|
||||
height: 260px;
|
||||
border-radius: 30px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.modal-programs__img img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: contain;
|
||||
}
|
||||
.btn-close-modal { position: absolute; top: 16px; right: 16px; z-index: 10; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: .2s;}.btn-close-modal:hover { background: rgba(0,0,0,0.65);}.btn-close-modal svg { width: 18px; height: 18px;}.btn-close-modal svg g { stroke: #fff; fill: #fff;}.btn-close-mentors { position: absolute; bottom: 100%; left: 100%; border: none; background: none; cursor: pointer;}
|
||||
|
||||
/* modal END */
|
||||
/* bring-child */
|
||||
.bring-child p {
|
||||
margin-bottom: 0;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user