Skip to content

Commit

Permalink
fix(styling): modernize meeting page styles a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
elpoelma committed Dec 3, 2024
1 parent 45d8beb commit 3a90ef5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 27 deletions.
5 changes: 5 additions & 0 deletions .changeset/shy-dancers-joke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'frontend-gelinkt-notuleren': patch
---

Slightly modernize the meeting page styling by moving to a flex-based layout
5 changes: 0 additions & 5 deletions app/styles/_shame.scss
Original file line number Diff line number Diff line change
Expand Up @@ -583,11 +583,6 @@ body {
.au-c-main-container {
height: calc(100vh - 92px);
}

// Fix sidebar offset
.au-c-meeting-sidebar {
top: 14.8rem;
}
}

// TOC temp styling
Expand Down
37 changes: 15 additions & 22 deletions app/styles/project/_c-meeting-chrome.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,36 +10,22 @@

.au-c-meeting {
background-color: $au-gray-100;
display: flex;
flex-direction: row;
}

.au-c-meeting-chrome {
padding: $au-unit $au-unit * 0.5;
width: 100%;
position: relative;
overflow: visible;
z-index: 2;

@include mq(small) {
padding: $au-unit;
}
overflow: scroll;

@include mq(1160px) {
left: $au-unit-huge * 3;
width: calc(100% - #{$au-unit-huge * 3});
}

@include mq(large) {
left: $au-unit-huge * 3.5;
width: calc(100% - #{$au-unit-huge * 3.5});
padding-right: $au-unit-huge * 4;
}
z-index: 2;
}

.au-c-meeting-chrome__paper {
@include au-font-size($au-h6);
position: relative;
width: 100%;
min-height: calc(100vh + #{$au-unit});
background-color: $au-white;
padding: $au-unit-large;
box-shadow:
Expand All @@ -51,6 +37,14 @@
&:focus {
outline: none;
}

@include mq(small) {
width: 100%;
}

@include mq(large) {
width: 75%;
}
}

.au-c-meeting-section {
Expand Down Expand Up @@ -346,17 +340,16 @@

.au-c-meeting-sidebar {
@include au-font-size($au-h6);
flex-shrink: 0;
opacity: 0.7;
position: fixed;
top: $au-unit-huge;
left: 0;
bottom: 0;
padding-top: $au-unit;
padding-left: $au-unit-small;
padding-right: $au-unit-small;
padding-right: $au-unit;
transition: opacity $au-transition;
display: none;
overflow: auto;
overflow: scroll;

@include mq(1160px) {
display: block;
Expand Down

0 comments on commit 3a90ef5

Please sign in to comment.