discourse/app/assets/stylesheets/common/components/bookmark-menu.scss
Martin Brennan 67a8080e33
FEATURE: Redesigned bookmark modal and menu (#23071)
Adds the new quick menu for bookmarking. When you bookmark
a post (chat message behaviour will come later) we show this new quick
menu and bookmark the item straight away.

You can then choose a reminder quick option, or choose Custom... to open
the old modal. If you click on an existing bookmark, we show the same quick menu
but with Edit and Delete options.

A later PR will introduce a new bookmark modal, but for now we
are using the old modal for Edit and Custom... options.
2024-04-05 09:25:30 +10:00

92 lines
1.6 KiB
SCSS

.bookmark-menu-content {
.bookmark-menu__body {
background: var(--secondary);
list-style: none;
display: flex;
flex-direction: column;
color: var(--primary);
.bookmark-menu__actions {
margin: 0;
padding: 0;
list-style: none;
}
}
.bookmark-menu {
&__text {
display: flex;
align-items: left;
}
&__row {
border-bottom: 1px solid var(--primary-low);
width: 100%;
display: flex;
align-items: left;
&:hover,
&:focus {
background: var(--tertiary-very-low);
}
&-title {
font-size: var(--font-down-1);
padding: 0.75rem;
border-bottom: 1px solid var(--primary-low);
}
&-btn {
margin: 0;
padding: 0.75rem;
width: 100%;
text-align: left;
justify-content: left;
.d-icon {
color: var(--primary);
}
.d-button-label {
color: var(--primary);
font-size: var(--font-down-1);
}
&:hover,
&:focus {
background: var(--tertiary-very-low);
}
}
&.-edit {
.d-icon {
margin-right: 5px;
}
}
&.-remove {
.d-icon {
color: var(--danger);
}
&:hover,
&:focus {
background: var(--danger-low);
}
}
&:last-child {
border-bottom: none;
}
&.-no-reminder {
border-bottom: 2px solid var(--primary-low);
}
}
}
.bookmark-menu__row-title {
font-weight: 900;
padding: 0.75rem;
}
}