Releases: IainAmosMelchizedek/acupuncture-tracker
Releases · IainAmosMelchizedek/acupuncture-tracker
Initial code
<title>Acupuncture Session Tracker</title>
<style>
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=Cinzel:wght@400;500;600&display=swap');
Read more
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Crimson Text', serif;
background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #1a252f 100%);
min-height: 100vh;
padding: 20px;
color: #2c3e50;
}
.container {
max-width: 900px;
margin: 0 auto;
background: linear-gradient(145deg, #f8f9fa, #ffffff);
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(52, 73, 94, 0.1);
overflow: hidden;
border: 1px solid #d4af37;
}
.header {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: #d4af37;
padding: 40px 30px;
text-align: center;
position: relative;
overflow: hidden;
}
.header::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background-image:
radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
animation: rotate 20s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.header h1 {
font-family: 'Cinzel', serif;
font-size: 2.5rem;
font-weight: 600;
margin-bottom: 10px;
position: relative;
z-index: 1;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.header p {
font-size: 1.1rem;
opacity: 0.9;
position: relative;
z-index: 1;
font-style: italic;
}
.main-content {
padding: 40px;
background: #fefefe;
}
.workflow-container {
margin-bottom: 40px;
}
.workflow-steps {
display: flex;
justify-content: center;
margin-bottom: 30px;
flex-wrap: wrap;
gap: 15px;
}
.step-indicator {
padding: 15px 25px;
border-radius: 8px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
border: 2px solid #bdc3c7;
background: linear-gradient(145deg, #ecf0f1, #ffffff);
color: #34495e;
font-family: 'Cinzel', serif;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.step-indicator.active {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: #d4af37;
border-color: #d4af37;
box-shadow: 0 8px 25px rgba(52, 73, 94, 0.3);
transform: translateY(-2px);
}
.step-indicator.completed {
background: linear-gradient(145deg, #f8f9fa, #ffffff);
border-color: #27ae60;
color: #27ae60;
}
.step-content {
display: none;
background: linear-gradient(145deg, #f8f9fa, #ffffff);
border-radius: 12px;
padding: 30px;
border: 1px solid #d4af37;
box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.step-content.active {
display: block;
animation: fadeIn 0.4s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.step-content h3 {
color: #2c3e50;
margin-bottom: 25px;
font-size: 1.4rem;
font-family: 'Cinzel', serif;
font-weight: 500;
border-bottom: 2px solid #d4af37;
padding-bottom: 10px;
display: flex;
align-items: center;
gap: 12px;
}
.step-content h4 {
color: #34495e;
margin: 25px 0 15px 0;
font-family: 'Cinzel', serif;
font-weight: 500;
border-bottom: 1px solid #bdc3c7;
padding-bottom: 8px;
}
.form-row {
display: flex;
gap: 20px;
margin-bottom: 25px;
flex-wrap: wrap;
}
.form-group {
flex: 1;
min-width: 200px;
}
.form-group.full-width {
flex: 1 1 100%;
}
label {
display: block;
margin-bottom: 8px;
font-weight: 600;
color: #2c3e50;
font-size: 0.95rem;
}
input, textarea, select {
width: 100%;
padding: 12px 15px;
border: 2px solid #bdc3c7;
border-radius: 8px;
font-size: 16px;
font-family: 'Crimson Text', serif;
transition: all 0.3s ease;
background: #ffffff;
}
input:focus, textarea:focus, select:focus {
outline: none;
border-color: #d4af37;
box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
background: #fefefe;
}
textarea {
resize: vertical;
min-height: 100px;
line-height: 1.6;
}
.btn {
background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
color: #d4af37;
border: 2px solid #d4af37;
padding: 15px 30px;
border-radius: 8px;
cursor: pointer;
font-size: 16px;
font-weight: 600;
font-family: 'Cinzel', serif;
transition: all 0.3s ease;
margin: 10px 5px 10px 0;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(52, 73, 94, 0.3);
background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
}
.btn-secondary {
background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
border-color: #8e44ad;
color: #ffffff;
}
.btn-secondary:hover {
background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}
.btn-warning {
background: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
border-color: #e67e22;
color: #ffffff;
}
.btn-warning:hover {
background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}
.btn-success {
background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
border-color: #27ae60;
color: #ffffff;
}
.btn-success:hover {
background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
}
.status-indicator {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
margin-right: 10px;
}
.status-pending { background: #bdc3c7; }
.status-current { background: #d4af37; }
.status-complete { background: #27ae60; }
.save-session-container {
margin-top: 30px;
padding: 25px;
background: linear-gradient(145deg, #f8f9fa, #ffffff);
border-radius: 12px;
border: 2px solid #27ae60;
}
.saved-sessions {
margin-top: 40px;
padding: 30px;
background: linear-gradient(145deg, #f0f8ff, #ffffff);
border-radius: 12px;
border: 2px solid #3498db;
}
.session-card {
background: #ffffff;
border: 1px solid #ddd;
border-radius: 8px;
padding: 20px;
margin-bottom: 15px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.session-card h5 {
color: #2c3e50;
margin-bottom: 10px;
font-family: 'Cinzel', serif;
}
.session-data {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 15px;
font-size: 0.9rem;
}
.data-group {
background: #f8f9fa;
padding: 10px;
border-radius: 6px;
}
.data-group strong {
color: #34495e;
}
</style>
Five Element Acupuncture Practice
Traditional Chinese Medicine Session Management System
<div class="main-content">
<!-- Session Date/Time -->
<div class="workflow-container">
<div class="form-row">
<div class="form-group">
<label for="sessionDate">Session Date:</label>
<input type="date" id="sessionDate" required>
</div>
<div class="form-group">
...