Remove feedback buttons from onboarding, search, and spaces (#10506)

This commit is contained in:
Michael Telatynski 2023-04-05 12:17:25 +01:00 committed by GitHub
parent df89d2ce28
commit 09eefe14ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 4 additions and 305 deletions

View file

@ -365,7 +365,6 @@
@import "./views/toasts/_NonUrgentEchoFailureToast.pcss";
@import "./views/typography/_Heading.pcss";
@import "./views/user-onboarding/_UserOnboardingButton.pcss";
@import "./views/user-onboarding/_UserOnboardingFeedback.pcss";
@import "./views/user-onboarding/_UserOnboardingHeader.pcss";
@import "./views/user-onboarding/_UserOnboardingList.pcss";
@import "./views/user-onboarding/_UserOnboardingPage.pcss";

View file

@ -96,10 +96,6 @@ $SpaceRoomViewInnerWidth: 428px;
}
}
&:not(.mx_SpaceRoomView_landing) .mx_SpaceFeedbackPrompt {
width: $SpaceRoomViewInnerWidth;
}
.mx_SpaceRoomView_buttons {
display: block;
margin-top: 44px;
@ -153,16 +149,6 @@ $SpaceRoomViewInnerWidth: 428px;
border-radius: 12px;
}
}
/* XXX: Temporary for the Spaces release only */
.mx_SpaceFeedbackPrompt {
padding: 7px; /* 8px - 1px border */
border: 1px solid rgba($primary-content, 0.1);
border-radius: 8px;
width: max-content;
height: fit-content;
margin-left: 24px;
}
}
.mx_SpaceRoomView_landing_name {

View file

@ -511,24 +511,4 @@ limitations under the License.
}
}
}
.mx_SpotlightDialog_footer {
font-size: $font-12px;
line-height: $font-15px;
color: $secondary-content;
padding: $spacing-12 $spacing-16 $spacing-16;
display: flex;
border-top: 1px solid $quinary-content;
> span {
align-self: center;
}
.mx_AccessibleButton_kind_primary_outline {
padding: $spacing-4 $spacing-8;
border-color: $secondary-content;
color: $secondary-content;
margin-left: auto;
}
}
}

View file

@ -42,13 +42,6 @@ $spacePanelWidth: 68px;
font-size: $font-15px;
color: $secondary-content;
}
/* XXX: Temporary for the Spaces release only */
.mx_SpaceFeedbackPrompt {
border-top: 1px solid $input-border-color;
padding-top: 12px;
margin-top: 16px;
}
}
.mx_SpaceCreateMenuType {
@ -100,21 +93,3 @@ $spacePanelWidth: 68px;
}
}
}
.mx_SpaceFeedbackPrompt {
font-size: $font-15px;
line-height: $font-24px;
> span {
color: $secondary-content;
position: relative;
font-size: inherit;
line-height: inherit;
margin-right: 8px;
}
.mx_AccessibleButton_kind_link {
color: $accent;
position: relative;
}
}

View file

@ -1,41 +0,0 @@
/*
Copyright 2022 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_UserOnboardingFeedback {
display: flex;
flex-direction: row;
padding: $spacing-32;
border-radius: 8px;
background: $system;
gap: $spacing-64;
.mx_UserOnboardingFeedback_content {
display: flex;
flex-direction: column;
margin-right: auto;
gap: 6px;
.mx_UserOnboardingFeedback_text {
color: $secondary-content;
}
}
.mx_UserOnboardingFeedback_action.mx_AccessibleButton {
background: transparent;
min-width: 180px;
align-self: center;
}
}

View file

@ -48,10 +48,6 @@ limitations under the License.
@mixin ProgressBarBorderRadius 16px;
}
.mx_UserOnboardingFeedback {
margin-top: $spacing-16;
}
}
.mx_UserOnboardingList_list {