mirror of
https://github.com/zadam/trilium.git
synced 2025-12-11 13:15:58 +08:00
style(next): basic styling of ribbon as a floating toolbar
This commit is contained in:
parent
ef3cbcac6d
commit
d15b5f8cbc
1 changed files with 17 additions and 2 deletions
|
|
@ -164,7 +164,7 @@ ul.editability-dropdown li.dropdown-item > div {
|
|||
background: var(--cmd-button-hover-background-color);
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* Note info
|
||||
*/
|
||||
|
||||
|
|
@ -177,4 +177,19 @@ ul.editability-dropdown li.dropdown-item > div {
|
|||
/* Narrow width layout */
|
||||
.note-info-widget {
|
||||
container: info-section / inline-size;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Styling as a floating toolbar
|
||||
*/
|
||||
.ribbon-container {
|
||||
background: var(--card-background-color);
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
|
||||
margin: 10px;
|
||||
border-radius: 6px;
|
||||
padding: 5px 0;
|
||||
|
||||
.ribbon-body {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue