Skip to content

Commit

Permalink
update column container styles + form
Browse files Browse the repository at this point in the history
  • Loading branch information
Omnia committed Nov 25, 2024
1 parent 53befe5 commit d48e807
Show file tree
Hide file tree
Showing 9 changed files with 534 additions and 260 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:61669;http://localhost:61670"
"applicationUrl": "https://localhost:5001;http://localhost:5000"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<section class="column-container two-column-equal ">
<div class="container">
<div class="row inner ">
<div class="sc-power-gradient-bg">
<div class="row">
<div class="row col-12">
<sc-placeholder name="column-container"></sc-placeholder>
</div>
</div>
</div>
</div>
</div>
</section>
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,14 @@
}
}
.column-container {
.sc-power-gradient-bg {
padding-right: 1rem;
padding-left: 1rem;
.row {
.row {

.row:has(.feature-panel-card) {
@extend .sc-power-gradient-bg;
gap: 1rem;
padding-right: 1rem;
padding-left: 1rem;
width: 100%;
row-gap: 0;
}
}
Expand All @@ -50,6 +53,18 @@
transform: translateX(100%);
top: 0;
}

&:before{
position: absolute;
width: 1rem;
background-color: white;
content: "";
height: 100%;
left: -2rem;
transform: translateX(100%);
top: 0;
}

.feature-panel-text {
background: none;
padding: 3px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
}
.grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
width: 100%;
gap: 1rem;
.col {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

@mixin form() {
.btn {
@extend .cta;
border: none;
border-radius: 0;

Expand All @@ -11,11 +12,12 @@
}

.btn-primary {
background-color: $sitecore-teal;

@extend .primary;
}

.btn-secondary {
background-color: $unfocussed-bg;
@extend .secondary;
}

input,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
line-height: 45px;
display: block;
font-size: 1.2em;
color: $sitecore-teal;
color: var(--sc-violet-500);
border-radius: 50%;
margin: 0 auto 10px auto;
padding: 2px;
Expand All @@ -52,16 +52,16 @@
}

&.active {
color: $sitecore-teal;
color: var(--sc-violet-500);

&:before {
color: $contrast-text;
border: none;
background-color: $sitecore-teal;
background-color: var(--sc-violet-500);
}

&:after {
background-color: $sitecore-teal;
background-color: var(--sc-violet-500);
}
}
}
Expand Down
15 changes: 15 additions & 0 deletions headapps/MvpSite/MvpSite.Rendering/wwwroot/sass/layout/nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -117,3 +117,18 @@ $sc-font-color: #212529;
padding-left: 10px;
}
}
@media (max-width: 992px){
.main-nav{
.navbar-nav{
padding: 1rem;
}
.nav-item{
.sub-menu{
position: relative !important;
width: 100%;
top:0 !important;
box-shadow: none !important;
}
}
}
}
Loading

0 comments on commit d48e807

Please sign in to comment.