Skip to content
Snippets Groups Projects
Commit 1695569f authored by m26lebla's avatar m26lebla
Browse files

additional css flex for cta items at smaller widths - additional 4 wide at xxl width

parent 574f15b2
No related branches found
No related tags found
1 merge request!41feature ISTWCMS 4759 m26lebla cta narrow widths
This diff is collapsed.
...@@ -52,7 +52,7 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' ...@@ -52,7 +52,7 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env'
} }
.uw-cta__center-wrapper { .uw-cta__center-wrapper {
align-items: center; align-items: center;
display: flex; display: inline-flex;
-ms-flex-align: center; -ms-flex-align: center;
flex-direction: row; flex-direction: row;
flex-wrap: wrap; flex-wrap: wrap;
...@@ -64,7 +64,6 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' ...@@ -64,7 +64,6 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env'
.uw-cta { .uw-cta {
clear: both; clear: both;
height: 100%; height: 100%;
padding: rem(gesso-spacing(md));
width: 100%; width: 100%;
&.uw-contained-width { &.uw-contained-width {
...@@ -74,13 +73,17 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' ...@@ -74,13 +73,17 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env'
.uw-cta__aside { .uw-cta__aside {
background-color: $uw-black; background-color: $uw-black;
border: 1px solid #fff;
flex: 1 0 100%; flex: 1 0 100%;
@include small{ @include small{
flex: 1 0 50%; flex: 1 0 50%;
} }
@include small{ @include large{
flex: 1 0 30%; flex: 1 0 30%;
} }
@include xxl{
flex: 1 0 25%;
}
} }
.uw-cta__aside:last-child { .uw-cta__aside:last-child {
...@@ -138,7 +141,7 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env' ...@@ -138,7 +141,7 @@ $faculties: 'neutral', 'org-default', 'org-ahs', 'org-art', 'org-eng', 'org-env'
} }
@each $faculty in $faculties { @each $faculty in $faculties {
.call-to-action-theme-#{$faculty}{ .call-to-action-theme-#{$faculty}{
border: 1px solid #fff;
display: table-cell; display: table-cell;
margin: 1px; margin: 1px;
vertical-align: middle; vertical-align: middle;
......
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