Files
cloudron-box/dashboard/src/style.css
2025-03-10 16:58:07 +01:00

202 lines
2.8 KiB
CSS

html, body {
--pankow-color-primary: #0073cf;
font-size: 14px; /* this also defines the overall widget size as all sizes are in rem */
font-family: "Noto Sans";
font-weight: 300;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
background-color: white;
color: var(--pankow-text-color);
}
@media (prefers-color-scheme: dark) {
body {
background-color: black;
}
}
@media (max-width: 576px) {
.hide-mobile {
display: none;
}
}
.shadow {
box-shadow: 0 2px 5px rgba(0,0,0,.1);
}
#app {
height: 100%;
}
h2 {
font-weight: 400;
font-size: 24px;
}
a {
text-decoration: none;
color: var(--pankow-color-primary);
}
footer {
display: block;
width: 100%;
font-size: 10px;
text-align: center;
position: fixed;
bottom: 0;
}
footer > .p {
margin: 4px;
}
.content {
max-width: 1280px;
width: 100%;
margin-right: 10px;
}
.header {
margin-top: 50px;
padding-left: 15px;
padding-right: 15px;
}
.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 {
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;
}
@media (hover: none) {
tr .table-actions {
visibility: visible;
}
}
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;
}
.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;
}
.button-bar {
display: flex;
gap: 6px;
/* flex-direction: row-reverse;*/
}
/* info table label:value in Sections */
.info-row {
display: flex;
margin-bottom: 10px;
}
.info-label {
font-weight: bold;
flex-basis: 50%;
}
.info-value {
flex-basis: 50%;
text-align: right;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: nowrap;
}
.actionable {
cursor: pointer;
color: var(--pankow-color-primary);
}
.actionable:hover {
color: var(--pankow-color-primary-hover);
}