Skip to content

Commit

Permalink
feat: added styles for course unit page
Browse files Browse the repository at this point in the history
  • Loading branch information
PKulkoRaccoonGang committed Oct 13, 2024
1 parent c0f065d commit 4cd81f6
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion cms/static/sass/elements/_xblocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@

.xblock-display-name {
@extend %t-copy-lead1;

font-weight: font-weight(semi-bold);
}

Expand Down Expand Up @@ -1075,3 +1074,39 @@ div.wrapper-comp-editor.is-inactive ~ div.launch-latex-compiler {
padding: ($baseline / 2) 0 ($baseline * 0.4);
}
}


body .wrapper-xblock .xblock-header-primary .header-details .xblock-display-name {
font-size: 22px;
line-height: 28px;
font-weight: 700;
color: #000;
}

.wrapper-xblock {
background-color: transparent;
border-radius: 6px;
border: none;

&:hover {
border-color: none;
}
}

.wrapper-xblock.level-element {
box-shadow: 0 .125rem .25rem rgba(0,0,0,.15),0 .125rem .5rem rgba(0,0,0,.15);
}

.wrapper-xblock.level-element .xblock-header-primary {
background-color: #fff;
}

.view-container .content-primary {
background-color: transparent !important;
width: 100% !important;
}

.wrapper-xblock.level-element .xblock-render {
background: white;
margin: 0;
}

0 comments on commit 4cd81f6

Please sign in to comment.