pridany page pre Report, zobrazenie info o reporte s dynamickou editaciou nadpisu a popisu
371 lines
6.7 KiB
CSS
371 lines
6.7 KiB
CSS
/*
|
|
TPsoft.org 2000-2025
|
|
Cascade Style Document
|
|
|
|
posledna editacia:
|
|
2025-04-13 00:09 Igor
|
|
|
|
01 - GENERAL
|
|
02 - HEADER
|
|
03 - DASHBOARD
|
|
04 - BUG ADD
|
|
05 - ARCHIVE
|
|
06 - API
|
|
07 - ABOUT
|
|
08 - REPORT
|
|
80 - FORM
|
|
99 - LIGHT MODE
|
|
|
|
*/
|
|
|
|
/* ----------------------------------------------------
|
|
01 - GENERAL
|
|
*/
|
|
:root {
|
|
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
|
|
line-height: 1.5;
|
|
font-weight: 400;
|
|
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
|
--color-bg: #242424;
|
|
--color-bg0: #0d5eaf;
|
|
--color-bg1: #449ef8;
|
|
--color-bg2: #449ef820;
|
|
--color-text0: #fff;
|
|
--color-text1: rgb(11, 11, 104);
|
|
--color-text2: #449ef8;
|
|
--color-text3: #7bb8f5;
|
|
|
|
/* color-scheme: light dark; */
|
|
color: var(--color-text0);
|
|
background-color: var(--color-bg);
|
|
}
|
|
|
|
a {
|
|
font-weight: 500;
|
|
color: var(--color-text2);
|
|
text-decoration: inherit;
|
|
transition: all 0.3s;
|
|
}
|
|
a:hover {
|
|
color: var(--color-text3);
|
|
text-shadow: 1px 1px 5px var(--color-bg1);
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
/* place-items: center; */
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
font-size: 14px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 24px;
|
|
line-height: 1.1;
|
|
}
|
|
|
|
button,
|
|
.button {
|
|
border-radius: 8px;
|
|
border: 1px solid var(--color-bg0);
|
|
padding: 0.6em 1.2em;
|
|
font-size: 1em;
|
|
font-weight: 500;
|
|
font-family: inherit;
|
|
background-color: var(--color-bg2);
|
|
color: var(--color-text0);
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
}
|
|
button:hover,
|
|
.button:hover {
|
|
border-color: var(--color-bg1);
|
|
background-color: var(--color-bg0);
|
|
}
|
|
button:focus,
|
|
.button:focus,
|
|
button:focus-visible,
|
|
.button:focus-visible {
|
|
outline: 4px auto -webkit-focus-ring-color;
|
|
}
|
|
|
|
.card {
|
|
padding: 2em;
|
|
}
|
|
|
|
#app {
|
|
/* max-width: 1280px; */
|
|
/* margin: 0 auto; */
|
|
/* padding: 10px; */
|
|
/* text-align: center; */
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
02 - HEADER
|
|
*/
|
|
#header {
|
|
background-color: var(--color-bg0);
|
|
color: var(--color-text0);
|
|
padding: 20px;
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: end;
|
|
}
|
|
#header a,
|
|
#header a:visited {
|
|
color: var(--color-text0);
|
|
}
|
|
#header .logo {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
#header .menu a,
|
|
#header .menu a:visited {
|
|
border: 1px solid var(--color-text0);
|
|
padding: 5px 10px;
|
|
border-radius: 5px;
|
|
margin-left: 20px;
|
|
transition: all 0.3s;
|
|
}
|
|
#header .menu a:hover {
|
|
color: var(--color-text1);
|
|
background-color: var(--color-bg1);
|
|
}
|
|
#header h1 {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
03 - DASHBOARD
|
|
*/
|
|
#dashboard {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
/* border: 1px red solid; */
|
|
min-height: calc(100vh - 150px);
|
|
}
|
|
#dashboard > div {
|
|
width: 25%;
|
|
}
|
|
#dashboard > div:not(:first-child) {
|
|
border-left: 5px var(--color-bg0) dotted;
|
|
}
|
|
#dashboard > div h2 {
|
|
background-color: var(--color-bg1);
|
|
margin: 0px;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
#dashboard .report {
|
|
margin: 20px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: stretch;
|
|
border-left: 5px var(--color-bg1) solid;
|
|
border-radius: 5px;
|
|
transition: all 0.3s;
|
|
}
|
|
#dashboard .report .report-header {
|
|
background-color: var(--color-bg0);
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
border-top-right-radius: 5px;
|
|
cursor: grab;
|
|
}
|
|
#dashboard .report .report-header .report-title {
|
|
}
|
|
#dashboard .report .report-header h3 {
|
|
margin: 0px;
|
|
padding: 5px 10px;
|
|
}
|
|
#dashboard .report .report-description {
|
|
padding: 10px;
|
|
text-align: justify;
|
|
border-right: 5px var(--color-bg0) solid;
|
|
background-color: var(--color-bg2);
|
|
}
|
|
#dashboard .report .report-date {
|
|
background-color: var(--color-bg1);
|
|
text-align: right;
|
|
padding: 5px;
|
|
border-bottom-right-radius: 5px;
|
|
}
|
|
#dashboard .report:hover {
|
|
filter: brightness(1.2);
|
|
}
|
|
#dashboard .dragging .report {
|
|
/* border: 2px red solid; */
|
|
box-shadow: 0px 0px 10px var(--color-bg1);
|
|
}
|
|
#dashboard:has(.dragging) .draggable-item:not(.dragging) .report {
|
|
opacity: 0.4;
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
04 - BUG ADD
|
|
*/
|
|
#bug-add {
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
#bug-add .cols {
|
|
/* border: 1px red solid; */
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
05 - ARCHIVE
|
|
*/
|
|
|
|
|
|
/* ----------------------------------------------------
|
|
06 - API
|
|
*/
|
|
#api {
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
#api .action {
|
|
margin-top: 10px;
|
|
padding-bottom: 10px;
|
|
background-color: var(--color-bg2);
|
|
transition: all 0.3s;
|
|
min-width: 150px;
|
|
}
|
|
#api .action:hover {
|
|
filter: brightness(1.2);
|
|
}
|
|
#api .action h3 {
|
|
background-color: var(--color-bg0);
|
|
margin: 0px;
|
|
padding: 5px;
|
|
text-align: center;
|
|
}
|
|
#api .action h4 {
|
|
margin: 0px;
|
|
padding-left: 10px;
|
|
}
|
|
#api .action p {
|
|
padding: 10px;
|
|
text-align: justify;
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
07 - ABOUT
|
|
*/
|
|
#about {
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
text-align: center;
|
|
}
|
|
#about .cols {
|
|
/* border: 1px red solid; */
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
#about .cols div {
|
|
margin: 10px;
|
|
padding: 10px;
|
|
background-color: var(--color-bg0);
|
|
transition: all 0.3s;
|
|
min-width: 150px;
|
|
}
|
|
#about .cols div:hover {
|
|
filter: brightness(1.2);
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
08 - REPORT
|
|
*/
|
|
#report {
|
|
margin: 0 auto;
|
|
padding: 10px;
|
|
}
|
|
#report .report-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
/* justify-content: space-between; */
|
|
}
|
|
#report .report-header div {
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-right: 20px;
|
|
}
|
|
#report .report-header div span {
|
|
background-color: var(--color-bg0);
|
|
color: var(--color-text0);
|
|
padding: 2px 10px;
|
|
}
|
|
#report .report-header div strong {
|
|
background-color: var(--color-bg1);
|
|
color: var(--color-text0);
|
|
padding: 2px 10px;
|
|
}
|
|
#report .description {
|
|
background-color: var(--color-bg2);
|
|
padding: 10px;
|
|
text-align: justify;
|
|
white-space: pre-line
|
|
}
|
|
|
|
|
|
/* ----------------------------------------------------
|
|
80 - FORM
|
|
*/
|
|
.form-group {
|
|
margin-bottom: 10px;
|
|
}
|
|
.form-group label {
|
|
display: block;
|
|
font-weight: bold;
|
|
margin-bottom: 5px;
|
|
}
|
|
.form-group input,
|
|
.form-group textarea {
|
|
width: 99%;
|
|
padding: 5px;
|
|
border: 1px solid #ccc;
|
|
border-radius: 3px;
|
|
background-color: var(--color-bg2);
|
|
color: var(--color-text0);
|
|
}
|
|
.form-actions {
|
|
margin-top: 10px;
|
|
text-align: right;
|
|
}
|
|
.form-actions button {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
/* ----------------------------------------------------
|
|
99 - LIGHT MODE
|
|
*/
|
|
/* @media (prefers-color-scheme: light) {
|
|
:root {
|
|
color: #213547;
|
|
background-color: #ffffff;
|
|
}
|
|
a:hover {
|
|
color: #747bff;
|
|
}
|
|
button {
|
|
background-color: #f9f9f9;
|
|
}
|
|
} */
|