Skip to content

Commit

Permalink
style(next): restyle the help cards
Browse files Browse the repository at this point in the history
  • Loading branch information
adoriandoran committed Jan 8, 2025
1 parent bacba7d commit caf9b92
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/public/stylesheets/theme-next/shell.css
Original file line number Diff line number Diff line change
Expand Up @@ -1559,4 +1559,50 @@ body .calendar-dropdown-widget .calendar-body a:hover {
.search-result-widget-content .note-path {
opacity: .75;
font-weight: normal;
}

/* Help */

.help-dialog .card {
margin: 0;
border: none;
padding: 8px;
background: unset;
}

.help-dialog .card-body {
box-shadow: 2px 2px 2px rgba(0, 0, 0, .10);
border-radius: 6px;
background: var(--card-background-color);
}

.help-dialog .card-body h5 {
color: #797979;
font-size: 20px;
font-weight: 600;
}

.help-dialog .help-cards ul {
list-style-type: none;
padding: 0;
}

.help-dialog .help-cards li + li {
margin-top: .4em;
}

.help-dialog .help-cards kbd {
box-shadow: 1px 1px 2px rgba(0, 0, 0, .3);
margin: 0 4px;
border: none;
border-radius: 4px;
padding: 2px 10px;
background: white;
color: #3f3f3f;
font-weight: 500;
letter-spacing: .5pt;
}

.help-dialog .help-cards kbd:first-child {
margin-left: 0;
}

0 comments on commit caf9b92

Please sign in to comment.