Skip to content

Commit

Permalink
style: add resizer vertial hover (#7081)
Browse files Browse the repository at this point in the history
* style: align SidebarHeading with TopHeading

* style: bring to shorthand property

* style: fix guides

* style: update after testing

* style: align items in sidebar

* style: update after testing

* Update config.yml

* style: add resizer vertial hover

---------

Co-authored-by: Martin Jagodic <jagodicmartin1@gmail.com>
  • Loading branch information
olegfedak and martinjagodic authored Feb 7, 2024
1 parent e93c94f commit 352eb6d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions packages/decap-cms-core/src/components/Editor/EditorInterface.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,29 @@ function ReactSplitPaneGlobalStyles() {
<Global
styles={css`
.Resizer.vertical {
width: 21px;
width: 2px;
cursor: col-resize;
position: relative;
transition: background-color ${transitions.main};
background: none;
&:before {
content: '';
width: 2px;
height: 100%;
position: relative;
left: 10px;
background-color: ${colors.textFieldBorder};
display: block;
z-index: 10;
transition: background-color ${transitions.main};
}
&:hover,
&:active {
background-color: ${colorsRaw.GrayLight};
&:before {
width: 4px;
left: -1px;
background-color: ${colorsRaw.blue};
}
}
}
`}
Expand Down

0 comments on commit 352eb6d

Please sign in to comment.