cactuzhead_Advanced-Progres.../styles.css

436 lines
8.9 KiB
CSS
Raw Permalink Normal View History

2025-03-14 14:57:49 +00:00
:root {
color-scheme: light dark;
}
2025-03-25 13:07:13 +00:00
.kofi-button {
flex: 1 0;
height: 22px;
2025-04-15 12:06:02 +00:00
height: auto;
2025-03-25 13:07:13 +00:00
margin: 0 10px;
width: 140px;
2025-03-14 14:57:49 +00:00
}
2025-03-25 13:07:13 +00:00
.header-highlight {
2025-03-14 14:57:49 +00:00
color: #689DED;
2025-03-25 13:07:13 +00:00
font-size: large;
font-weight: bold;
2025-03-14 14:57:49 +00:00
}
.highlight-text {
color: light-dark(#ec7e83, #71d1c4);
}
.custom-textbox {
width: 60px;
}
.custom-container {
align-Items: center;
2025-06-22 12:30:49 +00:00
border-radius: 7px;
2025-03-14 14:57:49 +00:00
border: 1px solid #689ded;
display: flex;
justify-Content: space-between;
margin: 0px;
}
.custom-container img {
padding-right: 1em;
}
.custom-container p {
color: #8fa0ba;
flex: 1 1 auto;
min-width: 10px;
overflow: hidden;
padding-left: 1em;
white-space: wrap;
}
.progressBar-container {
border-radius: 7px;
display: flex;
2025-05-18 18:27:11 +00:00
flex-flow: row wrap;
2025-06-22 12:30:49 +00:00
flex-direction: column;
2025-04-15 12:06:02 +00:00
justify-content: center;
2025-03-14 14:57:49 +00:00
margin-top: 7px;
overflow: hidden;
padding: 5px;
position: relative;
width: 100%;
2025-09-21 18:21:56 +00:00
min-height: 20px;
2025-06-22 12:30:49 +00:00
overflow: visible; /* Prevent clipping */
2025-09-21 18:21:56 +00:00
display: block;
2025-03-14 14:57:49 +00:00
}
.progressBar-text-container {
align-items: center;
box-sizing: border-box;
display: flex;
flex-flow: row nowrap;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.75rem;
justify-content: space-between;
overflow: hidden;
padding: 0 0 0.3em 0;
width: 100%;
}
.progressBar-title {
color: #8fa0ba;
flex: 1 1 0;
min-width: 10px;
overflow: hidden;
padding: 0 0.3em;
text-overflow: ellipsis;
white-space: nowrap;
width: 10px;
}
.progressBar-percentage {
color: #c1d7f9;
flex: 0 0 auto;
padding: 0 0 0 0.3em;
text-align: right;
}
.progressBar-value {
color: #8fa0ba;
flex: 0 0 auto;
padding: 0 0.3em;
text-align: right;
}
.progressBar-completed {
color: #c1d7f9;
font-size: 0.75em;
font-weight: 500;
padding: 0 0 0 0.3em;
text-align: center;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
2025-05-18 18:27:11 +00:00
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
line-height: normal; /* Prevent line-height from affecting centering */
z-index: 1; /* Ensure text is below the mask but above the background */
2025-03-14 14:57:49 +00:00
}
2025-04-15 12:06:02 +00:00
.progressBar-subtask {
align-items: center;
flex: 0 1 auto;
font-size: 0.6em;
font-weight: 500;
justify-content: center;
margin: 0.3em 0.3em 0 0;
text-align: center;
text-transform: uppercase;
}
.progressBar-subtask-completed {
align-items: center;
flex: 0 1 auto;
font-size: 0.6em;
font-weight: 700;
justify-content: center;
margin: 0.3em 0.3em 0 0;
text-align: center;
text-transform: uppercase;
}
2025-03-14 14:57:49 +00:00
.progressBar-background {
position: relative;
2025-05-18 18:27:11 +00:00
width: 100%;
overflow: visible;
display: flex;
2025-03-14 14:57:49 +00:00
}
.progressBar {
display: flex;
justify-Content: space-between;
margin: 0px;
align-Items: center;
2025-05-18 18:27:11 +00:00
position: relative;
margin-left: auto;
}
2025-03-14 14:57:49 +00:00
.marks {
height: 100%;
left: 0;
pointer-events: none;
position: absolute;
top: 0;
width: 100%;
}
.mark {
height: 100%;
position: absolute;
top: 0;
z-index: 1;
}
.error-container {
background:#912f3c;
border-radius: 7px;
display: flex;
flex-flow: row wrap;
overflow: hidden;
padding: 5px;
position: relative;
}
.error-text-container {
align-items: center;
color:#ffffff;
display: flex;
flex-flow: row nowrap;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.75rem;
justify-content: space-between;
padding: 0.3em;
width: 100%;
2025-04-15 12:06:02 +00:00
}
#APB_tag {
border-radius: 3px;
margin-right: 5px;
overflow: hidden;
padding: 0 5px;
font-size: 0.7rem;
}
#APB_notag {
border-radius: 3px;
border: 1px solid #912f3c;
color: #ffffff;
margin-right: 5px;
overflow: hidden;
padding: 0 5px;
font-size: 0.7rem;
background: #912f3c;
}
#APB_tasksDisabled {
border-radius: 3px;
border: 1px solid #912f3c;
color: #ffffff;
margin-right: 5px;
overflow: hidden;
padding: 0 5px;
font-size: 0.7rem;
background: #912f3c;
}
li.apb-list-item .list-bullet {
display: none !important;
2025-05-18 18:27:11 +00:00
}
.template-setting-row .setting-item-info {
display: flex;
flex: 0 1 auto !important;
}
.template-setting-row .setting-item-info .setting-item-name {
color:#666666;
}
.settings-row-container {
display: flex;
flex-direction: column;
margin: 10px 0;
}
.settings-row-headers {
display: flex;
justify-content: space-between;
align-items: center;
color:#666666;
}
.settings-row-header {
flex: 0 0 auto;
text-align: center;
font-size: 12px;
font-weight: bold;
padding: 0 5px;
line-height: 1.2;
display: flex;
align-items: flex-end;
}
.settings-row-header.gradient-header {
white-space: normal;
max-width: 80px;
}
.APB {
position: relative;
overflow: visible; /* Allow mask to render outside bounds */
}
.progressBar-filled {
position: relative;
}
.progressBar-mask, .progressBar-mask * {
background-color: transparent !important;
}
.template-setting-row .subtle-button {
width: 20px;
height: 20px;
padding: 2px;
opacity: 0.5; /* Lower opacity to make less noticeable */
filter: grayscale(50%); /* Muted color effect */
2025-09-21 18:21:56 +00:00
background-color: transparent;
border: none;
2025-05-18 18:27:11 +00:00
display: flex;
align-items: center;
justify-content: center;
}
2025-06-22 12:30:49 +00:00
.template-setting-row .subtle-button svg {
width: 20px;
2025-05-18 18:27:11 +00:00
height: 20px;
2025-06-22 12:30:49 +00:00
}
2025-05-18 18:27:11 +00:00
2025-06-22 12:30:49 +00:00
.template-setting-row .subtle-button:hover {
2025-05-18 18:27:11 +00:00
opacity: 1; /* Full opacity on hover for usability */
filter: none; /* Remove grayscale on hover */
2025-06-22 12:30:49 +00:00
}
2025-05-18 18:27:11 +00:00
2025-06-22 12:30:49 +00:00
.template-setting-row .subtle-button:disabled {
2025-05-18 18:27:11 +00:00
opacity: 0.3; /* Even fainter when disabled */
cursor: not-allowed;
2025-06-22 12:30:49 +00:00
}
2025-05-18 18:27:11 +00:00
2025-06-22 12:30:49 +00:00
.default-setting-row .spacer-button {
2025-05-18 18:27:11 +00:00
width: 84px;
height: 10px;
2025-06-22 12:30:49 +00:00
opacity: 0;
2025-05-18 18:27:11 +00:00
background-color: transparent;
border: none;
pointer-events: none; /* Prevent interaction */
display: flex;
align-items: center;
justify-content: center;
2025-06-22 12:30:49 +00:00
}
2025-05-18 18:27:11 +00:00
2025-06-22 12:30:49 +00:00
.default-setting-row .spacer-button svg {
width: 20px;
2025-05-18 18:27:11 +00:00
height: 20px;
2025-06-22 12:30:49 +00:00
}
.progressBar-settings-button {
background-color: transparent;
border-radius: 4px;
padding: 3px;
font-size: 1.1em;
cursor: pointer;
transition: background-color 0.2s;
width: fit-content;
}
.progressBar-settings-button:hover {
fill: #b4b4b4;
}
.progressBar-settings-panel {
display: none;
position: absolute;
z-index: 10000;
right: 0;
top: 0;
border-radius: 7px;
padding: 5px 10px;
box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.8);
min-width: 100px;
max-width: 300px;
box-sizing: border-box;
}
.progressBar-settings-panel input {
width: 60px;
padding: 5px;
border-radius: 4px;
margin-right: 5px;
flex: 0 0 auto;
}
.progressBar-settings-panel button {
padding: 5px 10px;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
flex: 0 0 auto;
}
.progressBar-settings-panel button:hover {
filter: brightness(90%);
}
.progressBar-settings-panel button:active {
filter: brightness(90%);
2025-08-17 13:23:27 +00:00
}
.container-color-picker-panel {
padding: 10px;
border: 2px solid light-dark(#4b52be, #5e67ed);
background-color: var(--background-secondary);
margin-top: 10px;
margin-left: 20px;
border-radius: 7px;
}
.default-container-color-picker-panel {
padding: 10px;
2025-09-21 18:21:56 +00:00
border: 2px solid light-dark(#45ba69, #5eed89);
2025-08-17 13:23:27 +00:00
background-color: var(--background-secondary);
margin-top: 10px;
margin-left: 20px;
border-radius: 7px;
}
.active-default-gear {
border: 2px solid light-dark(#45ba69, #5eed89);
}
.active-template-gear {
border: 2px solid light-dark(#4b52be, #5e67ed);
}
.inactive-gear {
border: 2px solid var(--background-modifier-border);
}
2025-09-21 18:21:56 +00:00
.progressBar-dates-container {
align-items: center;
box-sizing: border-box;
display: flex;
flex-flow: row nowrap;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.65em;
font-weight: 500;
/* justify-content: space-between; */
overflow: hidden;
padding: 0.3em 5px 0.3em 5px;
width: 100%;
}
.grouped-progress-bar {
display: flex;
flex-flow: row wrap;
flex-direction: column;
justify-content: center;
overflow: hidden;
padding: 5px !important;
position: relative;
width: 100%;
}
.setting-item input[type="color"] {
border: 1px solid #363636;
border-radius: 50%;
}