289 lines
4.3 KiB
CSS
289 lines
4.3 KiB
CSS
:root {
|
|
--font-family: "Noto Sans",Helvetica,Arial,sans-serif;
|
|
--font-family--header: "Noto Sans Light",Helvetica,Arial,sans-serif;
|
|
--card-background: #f7f7f8;
|
|
--navbar-background: #f3f4f6;
|
|
--pankow-text-color: black;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--card-background: #15181f;
|
|
--navbar-background: #11161f;
|
|
--pankow-dialog-background-color: var(--navbar-background);
|
|
--pankow-color-background: var(--navbar-background);
|
|
--pankow-text-color: white;
|
|
}
|
|
}
|
|
|
|
html, body {
|
|
font-size: 15px; /* this also defines the overall widget size as all sizes are in rem */
|
|
font-family: var(--font-family);
|
|
font-weight: 300;
|
|
height: 100%;
|
|
width: 100%;
|
|
padding: 0;
|
|
margin: 0;
|
|
color: var(--pankow-text-color);
|
|
background-color: white;
|
|
background-position: center;
|
|
background-size: cover;
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
body {
|
|
background-color: black;
|
|
}
|
|
}
|
|
|
|
b {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.shadow {
|
|
box-shadow: 0 2px 5px rgba(0,0,0,.1);
|
|
}
|
|
|
|
#app {
|
|
height: 100%;
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-family: var(--font-family--header);
|
|
font-weight: 400;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
a {
|
|
text-decoration: none;
|
|
color: var(--pankow-color-primary);
|
|
}
|
|
|
|
fieldset {
|
|
border: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
hr {
|
|
border: 0;
|
|
border-top: 1px solid rgb(238.425,238.425,238.425);
|
|
}
|
|
|
|
.content {
|
|
max-width: 1280px;
|
|
width: 100%;
|
|
position: absolute;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
a.pankow-breadcrumb-item {
|
|
color: var(--pankow-text-color);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.pankow-checkbox {
|
|
margin: 8px 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 text modifiers */
|
|
.text-success {
|
|
color: #5CB85C;
|
|
}
|
|
|
|
.text-warning {
|
|
color: #8a6d3b;
|
|
}
|
|
|
|
.text-danger {
|
|
color: var(--pankow-color-danger);
|
|
}
|
|
|
|
.text-bold {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.text-small {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.text-muted {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.warning-label {
|
|
margin-top: 6px;
|
|
color: #8a6d3b;
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.error-label {
|
|
margin-top: 6px;
|
|
color: var(--pankow-color-danger);
|
|
font-weight: bold;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.view-header {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 0;
|
|
margin-right: 10px;
|
|
margin-left: 10px;
|
|
margin-bottom: 10px;
|
|
gap: 5px;
|
|
}
|
|
|
|
.view-header > div {
|
|
display: flex;
|
|
gap: 6px;
|
|
}
|
|
|
|
.button-bar {
|
|
display: flex;
|
|
gap: 6px;
|
|
/* flex-direction: row-reverse;*/
|
|
margin-top: 6px;
|
|
}
|
|
|
|
/* 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);
|
|
}
|
|
|
|
.collapse {
|
|
transition: transform 200ms linear;
|
|
}
|
|
|
|
.collapse.expanded {
|
|
transform: rotate(90deg);
|
|
}
|
|
|
|
fieldset > * {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
/* Animations */
|
|
.slide-fade-enter-active {
|
|
transition: all 0.2s ease-out;
|
|
}
|
|
|
|
.slide-fade-leave-active {
|
|
transition: all 0.2s cubic-bezier(1, 0.5, 0.8, 1);
|
|
}
|
|
|
|
.slide-fade-enter-from,
|
|
.slide-fade-leave-to {
|
|
transform: translateX(20px);
|
|
opacity: 0;
|
|
}
|
|
|
|
.slide-up-enter-active,
|
|
.slide-up-leave-active {
|
|
transition: all 0.15s ease-in-out;
|
|
}
|
|
.slide-up-enter-from {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
}
|
|
.slide-up-leave-to {
|
|
opacity: 0;
|
|
transform: translateY(-30px);
|
|
}
|