mirror of
https://github.com/Ravinou/borgwarehouse
synced 2026-03-14 14:25:46 +01:00
198 lines
3 KiB
CSS
198 lines
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;
|
|
}
|
|
|
|
.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);
|
|
}
|
|
|
|
@media all and (max-width: 1000px) {
|
|
.newRepoButton {
|
|
display: none;
|
|
}
|
|
.chevron {
|
|
display: none;
|
|
}
|
|
.containerAddRepo {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Toolbar */
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 90%;
|
|
margin: 20px auto 10px;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.searchInput {
|
|
padding: 10px 15px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 8px;
|
|
font-size: 14px;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.sortIcons {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
}
|
|
|
|
.icon {
|
|
cursor: pointer;
|
|
color: #a6a6b8;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.icon:hover {
|
|
transform: scale(1.1);
|
|
color: #6d4aff;
|
|
}
|
|
|
|
.iconActive {
|
|
color: #6d4aff;
|
|
transform: scale(1.2);
|
|
}
|
|
|
|
.searchContainer {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
width: 100%;
|
|
max-width: 300px;
|
|
}
|
|
|
|
.searchInput {
|
|
width: 100%;
|
|
padding: 8px 32px 8px 12px;
|
|
border-radius: 8px;
|
|
border: 1px solid #ccc;
|
|
font-size: 14px;
|
|
outline: none;
|
|
background-color: white;
|
|
}
|
|
|
|
.clearButton {
|
|
position: absolute;
|
|
right: 8px;
|
|
background: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
color: #999;
|
|
}
|
|
|
|
.clearButton:hover {
|
|
color: #333;
|
|
}
|