forked from Gitlink/forgeplus-react
192 lines
3.4 KiB
SCSS
192 lines
3.4 KiB
SCSS
.pt80 {
|
|
padding-top: 80px;
|
|
}
|
|
.pr {
|
|
position: relative;
|
|
}
|
|
.width120 {
|
|
width: 120px;
|
|
}
|
|
.ant-btn-success {
|
|
color: #fff;
|
|
background-color: #21b350;
|
|
border-color: #21b350 !important;
|
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
|
|
-webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
|
|
}
|
|
.ant-btn-success:hover {
|
|
color: #fff;
|
|
background-color: #21b350;
|
|
border-color: #21b350;
|
|
opacity: 0.8;
|
|
}
|
|
.ant-btn-success.ant-btn-background-ghost {
|
|
color: #21b350 !important;
|
|
}
|
|
.ant-btn-success:focus {
|
|
color: #fff;
|
|
background-color: #21b350;
|
|
border-color: #21b350 !important;
|
|
}
|
|
.fs12 {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.black-color {
|
|
color: rgba(51, 51, 51, 1);
|
|
}
|
|
.ant-btn-background-ghost.ant-btn-danger {
|
|
color: #fa4a4a;
|
|
border-color: #fa4a4a;
|
|
}
|
|
.ant-btn-danger {
|
|
border-color: #fa4a4a;
|
|
background-color: #fa4a4a;
|
|
}
|
|
.grid-item-left {
|
|
display: grid;
|
|
grid-template-columns: 1fr max-content;
|
|
align-items: center;
|
|
}
|
|
.user-project-size {
|
|
padding: 16px 25px;
|
|
}
|
|
.text-right {
|
|
text-align: right;
|
|
}
|
|
.color-grey {
|
|
color: #999 !important;
|
|
}
|
|
.color-black {
|
|
color: #333;
|
|
}
|
|
.color-green {
|
|
color: #21b351 !important;
|
|
}
|
|
.minH300 {
|
|
min-height: 300px;
|
|
}
|
|
.pd100 {
|
|
padding: 100px 20px;
|
|
}
|
|
.project-card-item {
|
|
margin-bottom: 20px;
|
|
position: relative;
|
|
.project-public-tip {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
.project-item-user {
|
|
text-align: center;
|
|
margin-top: 16px;
|
|
}
|
|
.ant-card-hoverable:hover {
|
|
bottom: 3px;
|
|
box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.3);
|
|
}
|
|
.project-user-school {
|
|
color: #999;
|
|
margin: 16px 0 10px 0;
|
|
font-size: 16px;
|
|
height: 32px;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.project-user-bottom {
|
|
color: #666 !important;
|
|
}
|
|
.ant-card {
|
|
padding: 16px 0;
|
|
}
|
|
.ant-card-head {
|
|
border-bottom: none;
|
|
text-align: center;
|
|
padding: 0 20px;
|
|
}
|
|
.ant-card-head-wrapper {
|
|
padding: 16px 0 0 0;
|
|
}
|
|
.ant-card-head-title {
|
|
display: -webkit-box;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 2;
|
|
overflow: hidden;
|
|
height: 45px;
|
|
white-space: initial;
|
|
padding: 0;
|
|
a {
|
|
font-size: 16px;
|
|
color: #1a0b00;
|
|
}
|
|
|
|
a:hover {
|
|
color: #21b351;
|
|
}
|
|
}
|
|
.publicpart {
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 80px solid #21b351;
|
|
border-bottom: 80px solid transparent;
|
|
z-index: 1;
|
|
}
|
|
.smalltrangle {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0px;
|
|
top: 0px;
|
|
border-left: 25px solid #fff;
|
|
border-bottom: 25px solid transparent;
|
|
z-index: 2;
|
|
}
|
|
.publicword {
|
|
transform: rotate(-45deg);
|
|
text-align: center;
|
|
color: #fff;
|
|
font-size: 14px;
|
|
display: block;
|
|
position: absolute;
|
|
width: 50px;
|
|
left: 0px;
|
|
z-index: 3;
|
|
top: 16px;
|
|
}
|
|
.ant-card-body {
|
|
padding: 0 24px;
|
|
}
|
|
.ant-card-actions {
|
|
background: #fff;
|
|
li {
|
|
margin: 16px 0 0 0;
|
|
}
|
|
}
|
|
}
|
|
.position-absolute {
|
|
position: absolute;
|
|
}
|
|
|
|
.forum-section-card{
|
|
.ant-card{border-radius: 8px;}
|
|
.intresting-forum-section{
|
|
text-align: center;
|
|
height: 166px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-flow: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.ant-card-body{margin-top: -16px; border-top-left-radius: 8px; border-top-right-radius: 8px;}
|
|
}
|
|
.block-item-user{
|
|
text-align: center;
|
|
padding: 50px 0 40px 0;
|
|
width: 100%;
|
|
display: inline-block;
|
|
} |