iterate styling

pull/21833/head
Michael Telatynski 2020-09-08 15:04:03 +01:00
parent 73dcba1425
commit 3a99343433
1 changed files with 12 additions and 11 deletions

View File

@ -35,7 +35,7 @@ limitations under the License.
.mx_BaseCard_back, .mx_BaseCard_close { .mx_BaseCard_back, .mx_BaseCard_close {
position: absolute; position: absolute;
background-color: rgba(141, 151, 165, 0.2); // TODO background-color: rgba(141, 151, 165, 0.2);
height: 20px; height: 20px;
width: 20px; width: 20px;
margin: 12px; margin: 12px;
@ -44,10 +44,10 @@ limitations under the License.
&::before { &::before {
content: ""; content: "";
position: absolute; position: absolute;
height: 16px; height: 20px;
width: 16px; width: 20px;
top: 2px; top: 0;
left: 2px; left: 0;
mask-repeat: no-repeat; mask-repeat: no-repeat;
mask-position: center; mask-position: center;
background-color: $rightpanel-button-color; background-color: $rightpanel-button-color;
@ -60,8 +60,8 @@ limitations under the License.
&::before { &::before {
transform: rotate(90deg); transform: rotate(90deg);
mask-size: 20px; mask-size: 22px;
mask-image: url('$(res)/img/feather-customised/chevron-down.svg'); // TODO mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
} }
} }
@ -70,7 +70,8 @@ limitations under the License.
right: 0; right: 0;
&::before { &::before {
mask-image: url('$(res)/img/icons-close.svg'); // TODO mask-image: url('$(res)/img/icons-close.svg');
mask-size: 8px;
} }
} }
} }
@ -126,7 +127,7 @@ limitations under the License.
background-color: $icon-button-color; background-color: $icon-button-color;
transform: rotate(270deg); transform: rotate(270deg);
mask-size: 20px; mask-size: 20px;
mask-image: url('$(res)/img/feather-customised/chevron-down.svg'); // TODO mask-image: url('$(res)/img/feather-customised/chevron-down.svg');
} }
} }
} }
@ -139,7 +140,7 @@ limitations under the License.
.mx_AccessibleButton_kind_secondary { .mx_AccessibleButton_kind_secondary {
color: $secondary-fg-color; color: $secondary-fg-color;
background-color: rgba(141, 151, 165, 0.2); // TODO background-color: rgba(141, 151, 165, 0.2);
font-weight: $font-semi-bold; font-weight: $font-semi-bold;
font-size: $font-14px; font-size: $font-14px;
} }