Files
cloudron-box/dashboard/src/style.css

184 lines
2.6 KiB
CSS
Raw Normal View History

2024-12-14 20:28:34 +01:00
2023-02-22 16:20:07 +01:00
html, body {
2025-01-17 12:24:48 +01:00
--pankow-color-primary: #0073cf;
font-size: 14px; /* this also defines the overall widget size as all sizes are in rem */
font-family: "Noto Sans";
2024-12-14 20:28:34 +01:00
font-weight: 300;
2023-02-19 17:13:33 +01:00
height: 100%;
width: 100%;
padding: 0;
2023-02-22 16:20:07 +01:00
margin: 0;
2024-12-14 12:52:39 +01:00
background-color: white;
2024-06-13 12:19:03 +02:00
color: var(--pankow-text-color);
2023-02-19 17:13:33 +01:00
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
}
}
2023-02-23 13:16:21 +01:00
.shadow {
box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
#app {
height: 100%;
2023-02-27 00:33:07 +01:00
}
2024-12-14 20:28:34 +01:00
h2 {
font-weight: 400;
2025-01-14 15:52:12 +01:00
font-size: 24px;
2024-12-14 20:28:34 +01:00
}
a {
text-decoration: none;
color: var(--pankow-color-primary);
}
2024-12-14 21:17:51 +01:00
footer {
display: block;
width: 100%;
font-size: 10px;
text-align: center;
position: fixed;
bottom: 0;
}
footer > .p {
margin: 4px;
}
2025-01-15 12:31:35 +01:00
2025-01-16 17:31:36 +01:00
.content {
max-width: 1280px;
width: 100%;
margin-right: 10px;
}
2025-01-16 12:24:15 +01:00
.header {
margin-top: 50px;
padding-left: 15px;
padding-right: 15px;
2025-01-16 12:24:15 +01:00
}
2025-01-15 12:31:35 +01:00
.header-with-button {
display: flex;
justify-content: space-between;
align-items: center;
}
.slide-left-enter-active,
.slide-left-leave-active {
transition: all 0.25s ease-out;
}
.slide-left-enter-from {
opacity: 0;
transform: translateY(30px);
}
.slide-left-leave-to {
opacity: 0;
}
.pankow-table-header-column {
border-bottom-color: transparent;
}
.table-actions {
2025-02-16 15:56:33 +01:00
display: flex;
justify-content: end;
gap: 6px;
/* those margins will give table rows in Pankow TableViews some more space */
margin-top: 4px;
margin-bottom: 4px;
text-align: right;
visibility: hidden;
}
tr:hover .table-actions {
visibility: visible;
}
/* status classes for circle indicators */
.status-active {
color: #27CE65;
}
.status-inactive {
color: #7c7c7c;
}
.status-starting {
color: #f0ad4e;
}
.status-error {
color: #ec534f;
}
/* generic test modifiers */
.text-success {
color: #5CB85C;
}
.text-warning {
color: #8a6d3b;
}
.text-bold {
font-weight: bold;
}
.text-small {
font-size: 12px;
}
2025-01-19 19:53:29 +01:00
2025-02-16 15:56:33 +01:00
.section-header {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
margin-top: 50px;
gap: 5px;
padding-right: 15px;
}
.section-header > div {
display: flex;
gap: 6px;
}
h1.section-header {
margin-top: 20px;
}
2025-01-19 19:53:29 +01:00
/* info table label:value in Sections */
.info-row {
display: flex;
margin-bottom: 10px;
2025-01-20 16:53:31 +01:00
}
2025-01-19 19:53:29 +01:00
.info-label {
font-weight: bold;
flex-basis: 50%;
}
.info-value {
flex-basis: 50%;
text-align: right;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: nowrap;
2025-01-23 16:19:23 +01:00
}
.actionable {
cursor: pointer;
2025-01-29 12:15:53 +01:00
color: var(--pankow-color-primary);
2025-01-23 16:19:23 +01:00
}
.actionable:hover {
2025-01-29 12:15:53 +01:00
color: var(--pankow-color-primary-hover);
2025-01-23 16:19:23 +01:00
}