mirror of
https://github.com/Ravinou/borgwarehouse
synced 2026-03-14 22:35:46 +01:00
309 lines
5.1 KiB
CSS
309 lines
5.1 KiB
CSS
/*Repo CLOSE*/
|
|
.RepoClose {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow:
|
|
0 1px 3px rgba(0, 0, 0, 0.12),
|
|
0 1px 2px rgba(0, 0, 0, 0.24);
|
|
width: auto;
|
|
max-height: 65px;
|
|
margin: 20px 0px 0px 0px;
|
|
border-radius: 5px;
|
|
overflow: visible;
|
|
/* Need to display comment on hover (which is position : absolute) */
|
|
position: relative;
|
|
background: #fff;
|
|
}
|
|
|
|
.closeFlex {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 15px;
|
|
gap: 10px;
|
|
}
|
|
|
|
.RepoClose .lastSave {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.RepoClose .leftGroup {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 10px;
|
|
}
|
|
|
|
.RepoClose .alias {
|
|
font-weight: bold;
|
|
color: #111827;
|
|
font-size: 1.05em;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* REPO OPEN */
|
|
.RepoOpen {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-shadow:
|
|
0 1px 3px rgba(0, 0, 0, 0.12),
|
|
0 1px 2px rgba(0, 0, 0, 0.24);
|
|
width: auto;
|
|
margin: 20px 0px 0px 0px;
|
|
padding: 15px;
|
|
border-radius: 5px;
|
|
transition: max-height 0.1s linear;
|
|
overflow: visible;
|
|
/* Need to display comment on hover (which is position : absolute) */
|
|
position: relative;
|
|
background: #fff;
|
|
}
|
|
|
|
.openFlex {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.aliasFlex {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
width: 100%;
|
|
}
|
|
.indicatorsFlex {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
width: 100%;
|
|
gap: 15px;
|
|
}
|
|
|
|
.tabInfo {
|
|
width: 100%;
|
|
overflow-wrap: break-word;
|
|
border-collapse: collapse;
|
|
background: #fff;
|
|
border-radius: 10px;
|
|
overflow: hidden;
|
|
margin: 15px auto;
|
|
table-layout: fixed;
|
|
}
|
|
|
|
.tabInfo thead tr {
|
|
height: 50px;
|
|
background: #111827;
|
|
color: #fff;
|
|
}
|
|
|
|
.tabInfo thead th {
|
|
font-size: 1em;
|
|
color: #fff;
|
|
line-height: 1.2;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tabInfo tbody tr {
|
|
background-color: #f3f4f6;
|
|
height: 50px;
|
|
}
|
|
|
|
.tabInfo tbody tr th {
|
|
color: #65748b;
|
|
font-size: 0.95rem;
|
|
font-weight: 400;
|
|
}
|
|
|
|
/*STATUS*/
|
|
.statusIndicatorGreen,
|
|
.statusIndicatorRed {
|
|
border-radius: 50%;
|
|
height: 16px;
|
|
width: 16px;
|
|
flex-shrink: 0;
|
|
animation: pulse 5s infinite;
|
|
}
|
|
|
|
.statusIndicatorGreen {
|
|
background: #00d26a;
|
|
box-shadow: 0 0 0 0 rgba(0, 210, 106, 0.7);
|
|
}
|
|
|
|
.statusIndicatorRed {
|
|
background: #ff3d3d;
|
|
box-shadow: 0 0 0 0 rgba(255, 61, 61, 0.7);
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0% {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
|
|
}
|
|
10% {
|
|
transform: scale(1);
|
|
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
|
|
}
|
|
90% {
|
|
transform: scale(0.95);
|
|
box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
|
|
}
|
|
}
|
|
|
|
/* Alert icon */
|
|
.alertIcon {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.appendOnlyModeIcon {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
/* GENERAL */
|
|
.alias {
|
|
font-weight: bold;
|
|
color: #111827;
|
|
font-size: 1.05em;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.RepoOpen .alias {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.lastSave {
|
|
color: #65748b;
|
|
}
|
|
|
|
.editButton {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* Comment */
|
|
.comment {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
|
|
.toolTip {
|
|
visibility: hidden;
|
|
width: auto;
|
|
height: auto;
|
|
max-width: 400px;
|
|
max-height: 250px;
|
|
background-color: #fff;
|
|
color: #637381;
|
|
text-align: center;
|
|
border-radius: 6px;
|
|
padding: 5px 5px;
|
|
position: absolute;
|
|
z-index: 1;
|
|
margin: 0px 0 0 20px;
|
|
opacity: 1;
|
|
transition: 0.5s opacity;
|
|
box-shadow:
|
|
0 3px 6px rgba(0, 0, 0, 0.16),
|
|
0 3px 6px rgba(0, 0, 0, 0.23);
|
|
overflow: auto;
|
|
}
|
|
|
|
.comment:hover .toolTip,
|
|
.comment:active .toolTip {
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
|
|
.chevron {
|
|
margin: auto;
|
|
}
|
|
|
|
.chevron :focus,
|
|
.chevron :hover {
|
|
cursor: pointer;
|
|
filter: invert(27%) sepia(82%) saturate(2209%) hue-rotate(240deg) brightness(99%) contrast(105%);
|
|
}
|
|
|
|
/* MOBILE */
|
|
@media all and (max-width: 1000px) {
|
|
.openFlex,
|
|
.tabInfo,
|
|
.toolTip,
|
|
.comment,
|
|
.chevron {
|
|
display: none !important;
|
|
}
|
|
|
|
.RepoOpen,
|
|
.RepoClose {
|
|
display: flex !important;
|
|
flex-direction: row !important;
|
|
align-items: center !important;
|
|
justify-content: space-between !important;
|
|
max-height: 65px !important;
|
|
padding: 15px !important;
|
|
margin: 20px 0 0 0 !important;
|
|
}
|
|
|
|
.closeFlex {
|
|
display: flex !important;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
padding: 0 !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
.alias {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.leftGroup {
|
|
display: flex;
|
|
align-items: center;
|
|
flex: 1;
|
|
min-width: 0;
|
|
gap: 10px;
|
|
}
|
|
|
|
.rightGroup {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.lastSave {
|
|
display: block !important;
|
|
color: #65748b;
|
|
white-space: nowrap;
|
|
font-size: 0.85em;
|
|
flex-shrink: 0;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.appendOnlyModeIcon,
|
|
.alertIcon {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
}
|