Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PassingGradeTooltip = ({ passingGrade, tooltipClassName }) => {
placement="bottom"
overlay={(
<Popover id="minimum-grade-tooltip" className={`bg-primary-500 ${tooltipClassName}`} aria-hidden="true">
<Popover.Content className="text-white">
<Popover.Content>
{passingGrade}{isLocaleRtl && '\u200f'}%
</Popover.Content>
</Popover>
Expand Down
11 changes: 8 additions & 3 deletions src/course-tabs/course-tabs-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,19 @@
.nav a,
.nav button {
&:hover {
background-color: var(--pgn-color-light-400);
font-weight: var(--pgn-typography-font-weight-normal);
color: var(--pgn-color-primary-600);
background-color: var(--pgn-color-primary-50);
font-weight: 700;
}
}

.nav a {
&:not(.active):hover {
background-color: var(--pgn-color-light-400);
border-bottom: none;
font-weight: var(--pgn-typography-font-weight-normal);
color: var(--pgn-color-primary-600);
background-color: var(--pgn-color-primary-50);
font-weight: 500;
}
}

Expand Down
15 changes: 7 additions & 8 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,23 @@
}

.nav-underline-tabs {
margin: 0 0 -1px;

margin-block: 0.875rem;

.nav-link {
border-bottom: 4px solid transparent;
border-top: 4px solid transparent;
color: var(--pgn-color-gray-700);

margin-right: 0.5rem;
// temporary until we can remove .btn class from dropdowns
border-left: 0;
border-right: 0;
border-radius: 0;

border-radius: 0.5rem;
&:hover,
&:focus,
&.active {
font-weight: var(--pgn-typography-font-weight-normal);
color: var(--pgn-color-primary-500);
border-bottom-color: var(--pgn-color-primary-500);
color: var(--pgn-color-primary-600);
background-color: var(--pgn-color-primary-50);
font-weight: 700;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const MasqueradeWidget: React.FC<Props> = ({ courseId, onError }) => {

const specificLearnerInputText = intl.formatMessage(messages.placeholder);
return (
<div className="flex-grow-1">
<div className="flex-grow-1 text-white">
<div className="row">
<span className="col-auto col-form-label pl-3"><FormattedMessage {...messages.titleViewAs} /></span>
<Dropdown className="flex-shrink-1 mx-1">
Expand Down