feat: 接入 UserHome 前端业务代码(含真实 src/依赖,保留 projman 标准 CI)
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
.app-container {
|
||||
width: 92px;
|
||||
height: 100px;
|
||||
border-radius: 2px;
|
||||
margin: 10px 15px;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
text-align: center;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
user-select: none;
|
||||
|
||||
transition: background-color 0.2s ease-in-out;
|
||||
&:hover,
|
||||
&__focus {
|
||||
background-color: rgba(255, 255, 255, 0.3);
|
||||
}
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
width: 90%;
|
||||
height: 85%;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
object-fit: cover;
|
||||
border-radius: 18%;
|
||||
display: inline-block;
|
||||
}
|
||||
.app-name {
|
||||
margin-top: 2px;
|
||||
color: #fff;
|
||||
font-weight: 500;
|
||||
max-width: 99%;
|
||||
overflow: hidden;
|
||||
-o-text-overflow: ellipsis;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&__mask {
|
||||
.app-name {
|
||||
color: #344449;
|
||||
}
|
||||
margin-right: 40px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
&__mask:hover,
|
||||
&__mask + &__focus {
|
||||
background-color: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
// border-radius: 2px;
|
||||
// background: rgba(255, 255, 255, 0.25);
|
||||
}
|
||||
Reference in New Issue
Block a user