feat: Add "Pin selected notes" button to editor title bar (#760)

This commit is contained in:
Aman Harwara
2021-12-06 14:47:35 +05:30
committed by GitHub
parent 82ee0974c1
commit 31c48af01c
8 changed files with 90 additions and 11 deletions

View File

@@ -33,7 +33,7 @@ $heading-height: 75px;
padding-top: 14px;
padding-left: 14px;
padding-bottom: 10px;
padding-right: 10px;
padding-right: 14px;
border-bottom: none;
z-index: $z-index-editor-title-bar;

View File

@@ -748,6 +748,36 @@
}
}
.border-info-contrast {
border-color: var(--sn-stylekit-info-contrast-color);
}
.sn-icon-button {
&:focus {
border-color: transparent;
}
&.toggled {
border-color: transparent;
@extend .bg-info;
@extend .color-info-contrast;
&:focus {
background-color: var(--sn-stylekit-info-color) !important;
border: none;
}
&:hover {
@extend .color-info;
@extend .border-info;
}
&:focus:hover {
background-color: var(--sn-stylekit-contrast-background-color) !important;
}
}
}
@media screen and (max-width: $screen-md-min) {
.sn-component {
.md\:hidden {