mirror of
https://git.rdcenter.ru/RDCenter/skb-kit.git
synced 2026-12-05 03:39:45 +00:00
Вынес шимер в общий компонент, добавил компонент WithLoading
This commit is contained in:
1 parent
f2f6e453a1
commit
b466ddfc81
10 files changed
+215
-111
No files matched your search
@@ -0,0 +1,52 @@
|
||||
// shared/styles/cardGrid.module.scss
|
||||
:export {
|
||||
--desktop-columns: 3;
|
||||
--tablet-columns: 2;
|
||||
--mobile-columns: 1;
|
||||
}
|
||||
|
||||
.mainContainer {
|
||||
margin: 0 10%;
|
||||
|
||||
@include mediaMax($mobile-xs-width) {
|
||||
margin: 0 5%;
|
||||
}
|
||||
}
|
||||
|
||||
.gridСontainer {
|
||||
display: grid;
|
||||
gap: 2rem;
|
||||
margin: 0 auto;
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
grid-template-columns: repeat(var(--tablet-columns), 1fr);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
grid-template-columns: repeat(var(--mobile-columns), 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
.cardSizes {
|
||||
&--lab {
|
||||
height: 300px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 215px;
|
||||
}
|
||||
}
|
||||
|
||||
&--news,
|
||||
&--project {
|
||||
height: 250px;
|
||||
|
||||
@media (max-width: 768px) {
|
||||
height: 215px;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user