Untitled
unknown
plain_text
a year ago
9.1 kB
6
Indexable
:root {
--primary-color: #3c8dff8c;
--secondary-color:#FF69B4;
--danger-color: #FF5252;
--warning-color: #FFC107;
--success-color: #8BC34A;
--background-light: #FAFAFA;
--text-color: #333;
--text-muted: #666;
--white-color: #FFF;
--shadow-color: rgba(0, 0, 0, 0.1);
}
.container {
max-width: 1200px;
margin: 40px auto;
padding: 20px;
background-color: var(--white-color);
box-shadow: 0 4px 12px var(--shadow-color);
border-radius: 10px;
}
body {
font-family: 'Arial', sans-serif;
background-color: var(--background-light);
color: var(--text-color);
margin: 0;
padding: 0;
opacity: 0;
animation: fadeIn 1s ease-in forwards;
}
h1, h2, h3 {
margin: 0;
}
p {
margin: 5px 0;
}
header {
text-align: center;
padding: 30px 0;
background-color: var(--primary-color);
color: var(--white-color);
}
header h1 {
font-size: 36px;
color: var(--secondary-color);
}
.landing-page {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
text-align: center;
}
.landing-image {
width: 100%;
height: auto;
max-width: 600px;
margin-bottom: 20px;
}
.landing-title {
font-size: 48px;
margin-bottom: 20px;
font-family: Arial, Helvetica, sans-serif;
background: linear-gradient(90deg, rgba(173, 216, 230, 1), rgba(240, 128, 128, 1), rgba(255, 215, 0, 1));
-webkit-text-fill-color: transparent;
}
.start-button {
font-size: 24px;
padding: 10px 20px;
background-color: #FFB6C1;
border: none;
border-radius: 20px;
cursor: pointer;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease, background-color 0.3s ease;
}
.start-button:hover {
background-color: #FF69B4;
transform: scale(1.1);
}
.priority-goal {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #FFF3E4;
padding: 30px;
margin-bottom: 20px;
border-radius: 10px;
flex-wrap: wrap;
}
.goal-info {
flex: 1;
margin-right: 20px;
}
.goal-image {
flex: 0 0 150px;
display: flex;
justify-content: center;
align-items: center;
}
.priority-goal .goal-info h2 {
color: #FF9051;
font-size: 24px;
margin-bottom: 10px;
}
.priority-goal h1 {
font-size: 32px;
margin: 10px 0;
}
.priority-goal .goal-info p {
color: var(--text-muted);
}
.priority-goal .deadline {
margin-top: 15px;
font-size: 14px;
}
.priority-goal:hover {
transform: translateY(-4px);
box-shadow: 0 12px 24px var(--shadow-color);
transition: all 0.3s ease;
}
.clock-img {
width: 100%;
max-width: 250px;
height: auto;
display: flex;
}
.goal-image {
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
/* Divider */
.divider {
height: 2px;
background-color: #E0E0E0;
margin: 30px 0;
}
/* Goals List Section */
.goals-list h2 {
color: #B89BD6;
font-size: 28px;
margin-bottom: 20px;
}
.goal-items-container {
display: flex;
flex-direction: column;
gap: 15px;
}
.goal-item {
background-color: #E2F1FF;
padding: 20px;
border-radius: 5px;
box-shadow: 0 2px 4px var(--shadow-color);
font-size: 16px;
}
.goal-item h3 {
margin-bottom: 5px;
}
.goal-item p {
color: var(--text-color);
}
.goal-item .time {
color: #999;
font-size: 12px;
}
.goal-item:hover {
transform: translateY(-2px);
box-shadow: 0 6px 12px var(--shadow-color);
transition: all 0.3s ease;
}
/* Stats Section */
.stats {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #f9e8ef;
padding: 20px;
border-radius: 10px;
margin-top: 20px;
position: relative;
transition: all 0.3s ease;
}
.stats-left {
flex: 1;
text-align: center;
}
.stats-left h2 {
font-size: 28px;
color: var(--text-color);
}
#completedStats {
font-size: 20px;
color: var(--text-muted);
}
.stats-right {
flex: 1;
display: flex;
justify-content: center;
}
.stats-image {
max-width: 100%;
width: 350px;
height: auto;
}
.stats:hover {
transform: translateY(-5px);
box-shadow: 0 12px 24px var(--shadow-color);
transition: all 0.3s ease;
}
/* Add Button */
.add-button {
font-size: 30px;
width: 60px;
height: 60px;
background-color: var(--secondary-color);
border-radius: 50%;
box-shadow: 0px 4px 12px var(--shadow-color);
position: fixed;
bottom: 30px;
right: 30px;
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s;
}
.add-button:hover {
background-color: #FF4C4C;
}
.add-button:active {
transform: scale(0.95);
transition: transform 0.1s ease-in-out;
}
/* Form Section */
#addGoalForm {
padding: 20px;
}
#addGoalForm h1 {
font-size: 22px;
color: var(--text-color);
margin-bottom: 15px;
}
label {
font-size: 14px;
color: var(--text-muted);
margin-bottom: 5px;
display: block;
}
input[type="text"],
input[type="date"],
textarea {
width: 100%;
padding: 10px;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 16px;
}
textarea {
height: 80px;
}
.priority-options {
display: flex;
justify-content: space-between;
margin-bottom: 20px;
}
.priority-btn {
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
color: white;
font-size: 14px;
flex: 1;
margin-right: 5px;
transition: background-color 0.3s;
}
.priority-btn[data-priority="5"] {
background-color: var(--danger-color);
}
.priority-btn[data-priority="5"]:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px var(--shadow-color);
transition: all 0.3s ease;
}
.priority-btn[data-priority="4"] {
background-color: #FF7F50;
}
.priority-btn[data-priority="4"]:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px var(--shadow-color);
transition: all 0.3s ease;
}
.priority-btn[data-priority="3"] {
background-color: var(--warning-color);
}
.priority-btn[data-priority="3"]:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px var(--shadow-color);
transition: all 0.3s ease;
}
.priority-btn[data-priority="2"] {
background-color: #AED581;
}
.priority-btn[data-priority="2"]:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px var(--shadow-color);
transition: all 0.3s ease;
}
.priority-btn[data-priority="1"] {
background-color: var(--success-color);
}
.priority-btn[data-priority="1"]:hover {
transform: translateY(-5px);
box-shadow: 0 12px 40px var(--shadow-color);
transition: all 0.3s ease;
}
.priority-btn.selected {
border: 2px solid var(--primary-color);
}
.priority-btn:last-child {
margin-right: 0;
}
/* Save Button */
#saveGoalBtn {
width: 100%;
background-color: var(--primary-color);
color: white;
border: none;
padding: 12px;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
#saveGoalBtn:hover {
background-color: #005bb5;
}
/* Delete Button */
.deleteGoalBtn {
background-color: var(--danger-color);
color: white;
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.deleteGoalBtn:hover {
background-color: #E53935;
}
#backBtn {
margin-top: 20px;
background-color: var(--primary-color);
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
font-size: 16px;
transition: background-color 0.3s;
}
#backBtn:hover {
background-color: #005bb5;
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fade-out {
opacity: 1;
animation: fadeOut 0.7s ease-out forwards;
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@media (max-width: 768px) {
.priority-options {
flex-direction: column;
}
.priority-btn {
margin-bottom: 10px;
}
.stats {
flex-direction: column;
}
.stats-right {
justify-content: center;
margin-top: 10px;
}
.landing-title {
font-size: 36px;
}
.start-button {
font-size: 20px;
padding: 8px 16px;
}
}Editor is loading...
Leave a Comment