Szatuna/css/custom_panel.css
2026-02-26 20:53:38 +01:00

548 lines
9.0 KiB
CSS

/*--- Custom CSS ---*/
.menu .menubtn.exit:hover {
background: #c0392b;
}
.loadingBG img.svg {
width: 400px;
height: 400px;
animation: float 3s ease-in-out infinite;
}
.menubtn p {
font-size: 14px;
}
@keyframes float {
0% { transform: translateY(0); }
50% { transform: translateY(-10px); }
100% { transform: translateY(0); }
}
.redtext {
background: linear-gradient(90deg, #ff0000, #910101, #ff0000);
background-size: 200% 100%;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0px 0px 20px rgba(206, 0, 0, 0.4);
animation: wave 2s linear infinite;
}
@keyframes wave {
0% { background-position: 200% 50%; }
100% { background-position: 0% 50%; }
}
p.label {
margin: 5px 0px;
font-weight: bold;
}
.wapp input.nameInput {
width: calc(100% - 16px);
max-width: unset;
margin-top: 0px;
margin-bottom: 15px;
font-size: 16px;
font-weight: normal;
}
.window .wapp {
padding-left: 23px;
padding-right: 23px;
width: calc(100% - 46px);
}
div#qrcode {
-webkit-user-drag: none;
user-drag: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}
select {
max-width: 165px;
}
button {
color: var(--bgcolor);
background: var(--panelcolor);
border: 0px;
}
.boxpc button, .box2 button, .box3 button, .box4 button {
color: var(--panelcolor);
background: var(--bgcolor);
}
/* Products */
.productbox {
display: block;
padding: 3px 20px;
}
.productbox p:first-of-type {
display: inline-block;
font-weight: bold;
float: left;
margin: 0px;
}
.productbox p:first-of-type::after {
content: ":";
}
.productbox p:last-of-type {
color: var(--panelcolor);
display: inline-block;
min-width: 50px;
margin: 0px 0px 0px 6px;
}
.productbox p:last-of-type:focus {
outline: none;
transition: 0.2s;
box-shadow: 0px 1px 1px var(--panelcolor) !important;
background-color: color-mix(in srgb, var(--panelcolor) 8%, #ffffff 90%);
border-radius: 6px 6px 0px 0px;
}
.productbox p:last-of-type:empty {
opacity: 0.2;
outline: none;
box-shadow: 0px 1px 0px var(--panelcolor);
}
/* Helpcursor */
.helpcursor .helptext {
width: 350px;
text-align: left;
left: unset;
right: 0;
margin-right: 30px;
}
/* Version info */
.VersionData {
z-index: 9999;
position: fixed;
left: 5px;
bottom: 5px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.VersionData a {
opacity: 0.4;
margin: 0px;
font-size: 12px;
cursor: pointer;
color: #333333;
}
.VersionData a:hover {
opacity: 0.8;
}
/* Category TAB */
.category-tabs {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 15px;
margin-top: 30px;
margin-bottom: 30px;
}
.category-tab {
background: white;
border: 2px solid #ddd;
border-radius: 5px;
padding: 20px;
cursor: pointer;
transition: all 0.3s ease;
text-align: center;
}
.category-tab:hover {
border-color: var(--panelcolor);
}
.category-tab.active {
border-color: var(--panelcolor);
background-color: color-mix(in srgb, var(--panelcolor) 10%, #ffffff 90%);;
}
.category-tab-icon {
position: absolute;
}
.category-tab-icon img {
width: 44px;
height: 44px;
}
.category-tab-desc {
font-size: 12px;
opacity: 0.6;
margin-top: 5px;
}
.cat-tab.form-section {
background: white;
border-radius: 5px;
padding: 30px;
display: none;
border: 1px solid #dddddd;
}
.cat-tab.form-section.active {
display: block;
}
.cat-tab .form-title {
font-size: 18px;
font-weight: 600;
color: var(--panelcolor);
margin-bottom: 5px;
}
.cat-tab .form-desc {
font-size: 13px;
margin-bottom: 25px;
padding-bottom: 15px;
border-bottom: 1px solid #eee;
opacity: 0.6;
}
.cat-tab .form-row {
min-height: 80px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 20px;
margin-bottom: 20px;
}
.cat-tab .form-row.full {
grid-template-columns: 1fr;
}
.cat-tab .form-group {
display: flex;
flex-direction: column;
}
.cat-tab label {
font-weight: 600;
font-size: 13px;
margin-bottom: 8px;
color: #333;
}
.cat-tab .required::after {
content: "*";
color: #c0392b;
margin-left: 3px;
}
.cat-tab textarea {
resize: vertical;
min-height: 80px;
}
.cat-tab select {
max-width: 218px;
}
.cat-tab .form-hint {
font-size: 11px;
opacity: 0.5;
margin-top: 4px;
}
.cat-tab .form-actions {
display: flex;
gap: 10px;
margin-top: 25px;
justify-content: flex-end;
}
.cat-tab .info-banner {
background-color: color-mix(in srgb, var(--panelcolor) 10%, #ffffff 90%);;
border-left: 4px solid var(--panelcolor);
padding: 12px 15px;
border-radius: 4px;
margin-bottom: 20px;
font-size: 12px;
color: var(--panelcolor);
}
.cat-tab .info-banner strong {
display: block;
margin-bottom: 3px;
}
@media (max-width: 992px) {
.category-tabs {
grid-template-columns: 1fr;
}
.cat-tab .form-row {
grid-template-columns: 1fr 1fr;
}
}
/* Stat Style */
.statistics {
padding: 16px;
}
.statistics .container {
max-width: 1400px;
margin: 0 auto;
}
.statistics .header {
margin-bottom: 24px;
}
.statistics .header h1 {
margin: 0 0 5px 0;
font-size: 24px;
font-weight: 600;
}
.statistics .header p {
margin: 0;
opacity: 0.8;
font-size: 14px;
}
.statistics .sections {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
gap: 16px;
}
.statistics .section-group {
background: var(--toppanel);
border-radius: 5px;
overflow: hidden;
}
.statistics .section-group-title {
font-family: Arial, Helvetica, sans-serif;
background: var(--panelcolor);
color: var(--bgcolor);
padding: 12px 16px;
font-size: 16px;
font-weight: bold;
margin: 0;
}
.statistics .section {
padding: 12px 16px;
border-bottom: 1px solid rgb(211, 220, 228);
}
.statistics .section:last-child {
border-bottom: none;
}
.statistics .section-name {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
font-weight: bold;
margin: 0 0 12px 0;
}
.statistics .article-row {
display: grid;
grid-template-columns: 70px 1fr;
gap: 12px;
align-items: center;
margin-bottom: 5px;
font-size: 13px;
}
.statistics .article-row:last-child {
margin-bottom: 0;
}
.statistics .article-stats {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 5px;
}
.statistics .stat-block {
display: flex;
align-items: baseline;
gap: 4px;
}
.statistics .stat-label {
font-size: 11px;
opacity: 0.8;
min-width: 18px;
}
.statistics .stat-value {
font-weight: 600;
font-size: 14px;
}
.statistics .stat-value.right {
color: var(--panelcolor);
}
.statistics .stat-value.left {
color: var(--panelcolor);
}
.statistics .boxing-row {
display: flex;
flex-direction: column;
gap: 5px;
margin-bottom: 5px;
padding: 5px;
background: var(--bgcolor);
border-radius: 5px;
}
.statistics .boxing-row:last-child {
margin-bottom: 0;
}
.statistics .boxing-header {
display: grid;
grid-template-columns: 70px 1fr;
gap: 12px;
align-items: center;
}
.statistics .boxing-header .article-code {
font-weight: bold;
}
.statistics .boxing-progress {
display: flex;
align-items: center;
gap: 5px;
}
.statistics .progress-bar {
flex: 1;
height: 6px;
background-color: rgb(211, 220, 228);
border-radius: 3px;
overflow: hidden;
}
.statistics .progress-fill {
height: 100%;
background: var(--panelcolor);
transition: width 0.3s ease;
}
.statistics .progress-text {
font-size: 11px;
opacity: 0.8;
}
.statistics .boxing-label {
font-size: 11px;
opacity: 0.8;
}
.statistics .separator {
color: rgb(211, 220, 228);
font-weight: 300;
}
.statistics .section-articles {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 12px;
}
.statistics .article-card {
background: var(--bgcolor);
border: 1px solid rgb(211, 220, 228);
border-radius: 5px;
padding: 12px;
text-align: center;
display: flex;
flex-direction: column;
gap: 5px;
}
.statistics .article-card-code {
font-weight: bold;
}
.statistics .article-card-stats {
display: flex;
justify-content: center;
gap: 12px;
font-size: 12px;
}
.statistics .article-card-stat {
display: flex;
align-items: center;
gap: 3px;
}
.statistics .article-card-value {
font-size: 13px;
opacity: 0.8;
}
.statistics .article-card-value.right {
color: var(--panelcolor);
opacity: 1;
}
.statistics .article-card-value.left {
color: var(--panelcolor);
opacity: 1;
}
/* Production */
.kanban-card {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
}
.kanban-card .card-title {
grid-column: 1;
align-items: center;
justify-content: flex-start;
display: flex;
margin-bottom: 8px;
font-size: 16px;
}
.kanban-card .card-subtitle {
font-size: 14px;
grid-column: 1;
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0;
}
.kanban-card .card-button {
grid-column: 2;
grid-row: 1 / 3;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
margin-left: 12px;
}