Sidebar: Fix border for NB, set it properly for RTL
No need to have border when using Notebookbar mode - Now the nb tabs are buttons and the goal is to make NB mode with less decorative elements (since it has more buttons) - Except for Calc where formula bar is there and a border increases helps with the difference between cells and sidebar - It also looks beter when the tabs are collapsed - Border was being wrongly set twice - Fix that and use CSS logical properties instead Signed-off-by: Pedro Pinto Silva <pedro.silva@collabora.com> Change-Id: I1e81007c9075f384d8be47d3ad2947d936a8f6b7
This commit is contained in:
parent
30e6538453
commit
7e248d89db
1 changed files with 5 additions and 2 deletions
|
@ -13,12 +13,15 @@
|
|||
#document-container:not(.mobile) + #sidebar-dock-wrapper {
|
||||
width: 330px;
|
||||
padding: 0;
|
||||
border-left: 1px solid var(--color-border) !important;
|
||||
border-right: 1px solid var(--color-border) !important; /* for RTL mode */
|
||||
margin-top: 0 !important;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
[data-userinterfacemode='classic'] #document-container:not(.mobile) + #sidebar-dock-wrapper,
|
||||
#document-container.spreadsheet-doctype:not(.mobile) + #sidebar-dock-wrapper {
|
||||
border-inline-start: 1px solid var(--color-border) !important;
|
||||
}
|
||||
|
||||
.sidebar .spinfieldcontainer input {
|
||||
width: 121px;
|
||||
border: 1px solid var(--color-border-dark);
|
||||
|
|
Loading…
Reference in a new issue