Skip to content
Snippets Groups Projects
Commit 36c37bf8 authored by Martin Leblanc's avatar Martin Leblanc
Browse files

ISTWCMS-5712: css for the breakdown of the view-content grids, now phone has...

ISTWCMS-5712: css for the breakdown of the view-content grids, now phone has single column and small break and up have the 2 column grid with full width top then grid split then bottom full
parent 0a12df55
No related branches found
No related tags found
1 merge request!41ISTWCMS-5712: test views teasers
...@@ -211,38 +211,50 @@ $sidebar-width: 18.75rem; ...@@ -211,38 +211,50 @@ $sidebar-width: 18.75rem;
.path-profiles, .path-profiles,
.path-opportunities { .path-opportunities {
.view-content { .view-content {
display: grid; display: block;
gap: var(--grid-gap);
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(4, min-content);
padding: 0; padding: 0;
@media(min-width: $screen-sm){
display: grid;
gap: var(--grid-gap);
grid-template-columns: repeat(2, 1fr);
grid-template-rows: repeat(4, min-content);
}
.views-row{
margin-bottom: var(--grid-gap);
@media(min-width: $screen-sm){
margin-bottom: 0;
}
}
} }
} }
.path-news, .path-news,
.path-blog, .path-blog,
.path-events{ .path-events{
.view-content { .view-content {
.views-row{ @media(min-width: $screen-sm){
&:first-of-type, .views-row{
&:nth-of-type(10n){ &:first-of-type,
grid-column: 1 / 3; &:nth-of-type(10n){
grid-column: 1 / 3;
}
} }
} }
} }
// Moving the rss button up for the blog news and events // Moving the rss button up for the blog news and events
.block-page-title-block{ .block-page-title-block{
padding-right: 12rem; padding-right: 12rem;
@media(min-width: $screen-md) { @media(min-width: $screen-sm) {
padding-right: inherit; padding-right: inherit;
} }
} }
.view-interact{ .view-interact{
margin-top: -3.25rem; margin-top: -3.25rem;
@media(min-width: $screen-md) { @media(min-width: $screen-sm) {
margin-top: -4rem; margin-top: -4rem;
} }
} }
} }
.view-uw-view-news-items, .view-uw-view-news-items,
.view-uw-view-blogs, .view-uw-view-blogs,
.view-uw-view-events, .view-uw-view-events,
...@@ -305,6 +317,7 @@ $sidebar-width: 18.75rem; ...@@ -305,6 +317,7 @@ $sidebar-width: 18.75rem;
} }
} }
} }
.path-taxonomy { .path-taxonomy {
.view-content { .view-content {
padding: var(--size-2); padding: var(--size-2);
......
...@@ -4,9 +4,6 @@ ...@@ -4,9 +4,6 @@
// With Filters // With Filters
&.with-filters { &.with-filters {
.view-content { .view-content {
//@include uw-flex-grid();
//grid-column:1/2;
//grid-row:2/3;
margin-top: var(--size-2); margin-top: var(--size-2);
width: 100%; width: 100%;
&--message { &--message {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment