From ed5da924e64bb38640eb66191ea1911a2818d463 Mon Sep 17 00:00:00 2001
From: Josh Perez <60019601+josh-signal@users.noreply.github.com>
Date: Wed, 9 Mar 2022 14:33:43 -0500
Subject: [PATCH] Adjust calling pip z-index
---
images/icons/v2/stories-outline-24.svg | 2 +-
stylesheets/_modules.scss | 18 +++++++-----------
stylesheets/_variables.scss | 2 +-
stylesheets/components/Stories.scss | 1 +
4 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/images/icons/v2/stories-outline-24.svg b/images/icons/v2/stories-outline-24.svg
index c1d0bd0623aa..b0dd37e63cb4 100644
--- a/images/icons/v2/stories-outline-24.svg
+++ b/images/icons/v2/stories-outline-24.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/stylesheets/_modules.scss b/stylesheets/_modules.scss
index e22d647c948a..83f069a65036 100644
--- a/stylesheets/_modules.scss
+++ b/stylesheets/_modules.scss
@@ -2658,11 +2658,7 @@ button.ConversationDetails__action-button {
@include keyboard-mode {
&:focus {
border-color: $color-ultramarine;
- }
- }
- @include dark-keyboard-mode {
- &:focus {
- border-color: $color-ultramarine-light;
+ outline: none;
}
}
@@ -2702,7 +2698,11 @@ button.ConversationDetails__action-button {
justify-content: center;
padding: 2px;
width: 32px;
- margin-right: 8px;
+ margin-right: 20px;
+
+ .module-left-pane--width-narrow & {
+ display: none;
+ }
@include light-theme {
&:hover,
@@ -2726,11 +2726,7 @@ button.ConversationDetails__action-button {
@include keyboard-mode {
&:focus {
border-color: $color-ultramarine;
- }
- }
- @include dark-keyboard-mode {
- &:focus {
- border-color: $color-ultramarine-light;
+ outline: none;
}
}
diff --git a/stylesheets/_variables.scss b/stylesheets/_variables.scss
index 1eb20b7de3cf..08409f10f227 100644
--- a/stylesheets/_variables.scss
+++ b/stylesheets/_variables.scss
@@ -258,7 +258,7 @@ $z-index-on-top-of-everything: 9000;
// The scroll down button should be above everything in the timeline but
// popups, tooltips, toasts, and other items should stack above it.
$z-index-scroll-down-button: 10;
-$z-index-calling-pip: 15;
$z-index-below-popup-overlay: 98;
$z-index-above-popup: 101;
+$z-index-calling-pip: 102;
$z-index-above-context-menu: 126;
diff --git a/stylesheets/components/Stories.scss b/stylesheets/components/Stories.scss
index e82bd0fcc67c..1bc15542df27 100644
--- a/stylesheets/components/Stories.scss
+++ b/stylesheets/components/Stories.scss
@@ -33,6 +33,7 @@
&--title {
@include font-body-1-bold;
+ color: $color-gray-05;
display: flex;
flex: 1;
justify-content: center;