remove gradient mask on user card

This commit is contained in:
emma 2022-12-08 19:23:05 +00:00
parent ae2d72131b
commit 2382696698

View file

@ -11,7 +11,7 @@
} }
.panel-heading { .panel-heading {
padding: .5em 0; padding: 0.5em 0;
text-align: center; text-align: center;
box-shadow: none; box-shadow: none;
background: transparent; background: transparent;
@ -35,11 +35,11 @@
left: 0; left: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
mask: linear-gradient(to top, white, transparent) bottom no-repeat, // mask: linear-gradient(to top, white, transparent) bottom no-repeat,
linear-gradient(to top, white, white); // linear-gradient(to top, white, white);
// Autoprefixer seem to ignore this one, and also syntax is different // Autoprefixer seem to ignore this one, and also syntax is different
-webkit-mask-composite: xor; // -webkit-mask-composite: xor;
mask-composite: exclude; // mask-composite: exclude;
background-size: cover; background-size: cover;
mask-size: 100% 60%; mask-size: 100% 60%;
border-top-left-radius: calc(var(--panelRadius) - 1px); border-top-left-radius: calc(var(--panelRadius) - 1px);
@ -139,10 +139,10 @@
border-radius: $fallback--avatarRadius; border-radius: $fallback--avatarRadius;
border-radius: var(--avatarRadius, $fallback--avatarRadius); border-radius: var(--avatarRadius, $fallback--avatarRadius);
opacity: 0; opacity: 0;
transition: opacity .2s ease; transition: opacity 0.2s ease;
svg { svg {
color: #FFF; color: #fff;
} }
} }
@ -151,7 +151,8 @@
} }
} }
.external-link-button, .edit-profile-button { .external-link-button,
.edit-profile-button {
cursor: pointer; cursor: pointer;
width: 2.5em; width: 2.5em;
text-align: center; text-align: center;
@ -229,16 +230,17 @@
} }
.user-meta { .user-meta {
margin-bottom: .15em; margin-bottom: 0.15em;
display: flex; display: flex;
align-items: baseline; align-items: baseline;
line-height: 22px; line-height: 22px;
flex-wrap: wrap; flex-wrap: wrap;
.following, .requested_by { .following,
.requested_by {
flex: 1 0 auto; flex: 1 0 auto;
margin: 0; margin: 0;
margin-bottom: .25em; margin-bottom: 0.25em;
text-align: left; text-align: left;
} }
@ -246,7 +248,7 @@
flex: 0 1 auto; flex: 0 1 auto;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
margin-right: -.5em; margin-right: -0.5em;
align-self: start; align-self: start;
.userHighlightCl { .userHighlightCl {
@ -269,8 +271,8 @@
.userHighlightText, .userHighlightText,
.userHighlightSel { .userHighlightSel {
vertical-align: top; vertical-align: top;
margin-right: .5em; margin-right: 0.5em;
margin-bottom: .25em; margin-bottom: 0.25em;
} }
} }
} }
@ -278,10 +280,10 @@
position: relative; position: relative;
display: flex; display: flex;
flex-flow: row wrap; flex-flow: row wrap;
margin-right: -.75em; margin-right: -0.75em;
> * { > * {
margin: 0 .75em .6em 0; margin: 0 0.75em 0.6em 0;
white-space: nowrap; white-space: nowrap;
min-width: 95px; min-width: 95px;
} }
@ -298,8 +300,8 @@
.user-counts { .user-counts {
display: flex; display: flex;
line-height:16px; line-height: 16px;
padding: .5em 1.5em 0em 1.5em; padding: 0.5em 1.5em 0em 1.5em;
text-align: center; text-align: center;
justify-content: space-between; justify-content: space-between;
color: $fallback--lightText; color: $fallback--lightText;
@ -309,11 +311,11 @@
.user-count { .user-count {
flex: 1 0 auto; flex: 1 0 auto;
padding: .5em 0 .5em 0; padding: 0.5em 0 0.5em 0;
margin: 0 .5em; margin: 0 0.5em;
h5 { h5 {
font-size:1em; font-size: 1em;
font-weight: bolder; font-weight: bolder;
margin: 0 0 0.25em; margin: 0 0 0.25em;
} }