From eb0cb5c279b1ad5f31fff87cc43440adc7b7c4b3 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Wed, 15 Jul 2020 00:13:32 +0000 Subject: [PATCH] Revert "Revert "Merge branch 'joriks/horizontal-resize-bars' into 'element'"" This reverts commit 8cde611653514d89d495e35f53f9f5a89fc976ce. --- res/css/structures/_MainSplit.scss | 20 ++++++++++++++++++++ res/css/structures/_MatrixChat.scss | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/res/css/structures/_MainSplit.scss b/res/css/structures/_MainSplit.scss index 25e1153fce..387879ea7b 100644 --- a/res/css/structures/_MainSplit.scss +++ b/res/css/structures/_MainSplit.scss @@ -26,3 +26,23 @@ limitations under the License. margin: 0 -10px 0 0; padding: 0 10px 0 0; } + +.mx_MainSplit > .mx_ResizeHandle_horizontal:hover { + position: relative; + + &::before { + position: absolute; + left: 4px; + top: 50%; + transform: translate(0, -50%); + + height: 30%; + width: 4px; + border-radius: 4px; + + content: ' '; + + background-color: $primary-fg-color; + opacity: 0.8; + } +} diff --git a/res/css/structures/_MatrixChat.scss b/res/css/structures/_MatrixChat.scss index 08ed9e5559..926d10ee04 100644 --- a/res/css/structures/_MatrixChat.scss +++ b/res/css/structures/_MatrixChat.scss @@ -78,3 +78,23 @@ limitations under the License. */ height: 100%; } + +.mx_MatrixChat > .mx_ResizeHandle_horizontal:hover { + position: relative; + + &::before { + position: absolute; + left: -2px; + top: 50%; + transform: translate(0, -50%); + + height: 30%; + width: 4px; + border-radius: 4px; + + content: ' '; + + background-color: $primary-fg-color; + opacity: 0.8; + } +}