Remove chevrons from RoomSummaryCard_Button (#7137)

Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
This commit is contained in:
Timo 2021-11-19 11:57:35 +01:00 committed by GitHub
parent fe4d834c72
commit bd09fc2231
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 21 deletions

View file

@ -99,7 +99,7 @@ limitations under the License.
}
.mx_BaseCard_Button {
padding: 10px 32px 10px 12px;
padding: 10px 10px 10px 12px;
margin: 0;
position: relative;
font-size: $font-13px;
@ -120,21 +120,6 @@ limitations under the License.
background-color: rgba(141, 151, 165, 0.1);
}
&::after {
content: '';
position: absolute;
top: 10px;
right: 6px;
height: 20px;
width: 20px;
mask-repeat: no-repeat;
mask-position: center;
background-color: $icon-button-color;
transform: rotate(270deg);
mask-size: 20px;
mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
}
&.mx_AccessibleButton_disabled {
padding-right: 12px;
&::after {

View file

@ -170,21 +170,22 @@ limitations under the License.
}
.mx_RoomSummaryCard_app_pinToggle {
right: 24px;
right: 8px;
&::before {
mask-image: url('$(res)/img/element-icons/room/pin-upright.svg');
}
}
.mx_RoomSummaryCard_app_maximise {
right: 48px;
right: 32px; //24 + 8
&::before {
mask-size: 14px;
mask-image: url("$(res)/img/element-icons/maximise-expand.svg");
}
}
.mx_RoomSummaryCard_app_minimise {
right: 48px;
right: 32px; //24 + 8
&::before {
mask-size: 14px;
mask-image: url("$(res)/img/element-icons/minimise-collapse.svg");
@ -193,14 +194,14 @@ limitations under the License.
}
.mx_RoomSummaryCard_app_options {
right: 48px;
right: 32px; //24 + 8
display: none;
&::before {
mask-image: url('$(res)/img/element-icons/room/ellipsis.svg');
}
&.mx_RoomSummaryCard_maximised_widget {
right: 72px;
right: 56px; //2*24 + 8
}
}