borgwarehouse/Containers/RepoList/RepoList.module.css
2022-12-01 13:25:10 +01:00

137 lines
2.3 KiB
CSS

.container {
display: flex;
justify-content: center;
flex-direction: column;
width: 100%;
}
.containerBlur {
display: flex;
justify-content: center;
flex-direction: column;
width: 100%;
filter: blur(3px);
}
.containerRepoList {
display: flex;
flex-direction: row;
}
.containerAddRepo {
display: flex;
flex-direction: row;
margin: 20px auto;
width: 90%;
}
.newRepoButton {
position: relative;
margin: auto;
padding: 19px 22px;
transition: all 0.2s ease;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
text-decoration: none;
}
.newRepoButton:before {
content: '';
position: absolute;
top: 6px;
left: 3px;
display: block;
border-radius: 28px;
background: #6d4aff;
width: 50px;
height: 50px;
transition: all 0.3s ease;
}
.newRepoButton span {
position: relative;
font-size: 16px;
line-height: 18px;
font-weight: 600;
vertical-align: middle;
padding-left: 15px;
color: #494b7a;
}
.newRepoButton .plusIcon {
position: relative;
top: 0;
fill: none;
stroke-linecap: round;
stroke-linejoin: round;
stroke: #fff;
transform: translateX(-5px);
transition: all 0.3s ease;
}
.newRepoButton:hover:before {
width: 100%;
background: #6d4aff;
}
.newRepoButton:hover span {
color: #fff;
}
.newRepoButton:hover .plusIcon {
transform: translateX(0);
}
.newRepoButton:active {
transform: scale(0.96);
}
.RepoList {
display: flex;
flex-direction: column;
width: 90%;
margin: 5px auto;
padding: 15px;
}
.unfoldButton {
cursor: pointer;
position: sticky;
color: #a6a6b8;
padding-top: 49px;
align-self: flex-start;
top: 0;
}
.foldButton {
cursor: pointer;
position: sticky;
color: #a6a6b8;
padding-top: 49px;
align-self: flex-start;
top: 0;
}
.unfoldButton:active,
.foldButton:active {
transform: scale(0.96);
}
.chevron {
margin: auto;
}
.chevron :focus,
.chevron :hover {
cursor: pointer;
filter: invert(27%) sepia(82%) saturate(2209%) hue-rotate(240deg)
brightness(99%) contrast(105%);
}
@media all and (max-width: 1000px) {
.newRepoButton {
display: none;
}
.chevron {
display: none;
}
.containerAddRepo {
display: none;
}
}