styles
unknown
css
5 months ago
8.6 kB
2
Indexable
body { font-family: 'Arial', sans-serif; margin: 0; padding: 0; background-color: #FAFAFA; color: #333; } h1, h2, h3 { margin: 0; } p { margin: 5px 0; } /* Header */ header { text-align: center; padding: 30px 0; background-color: #333; color: white; } header h1 { font-size: 36px; color: #FF77A9; } .priority-goal { display: flex; justify-content: space-between; align-items: center; background-color: #FFF3E4; padding: 30px; margin-bottom: 20px; border-radius: 10px; } .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: #666; } .priority-goal .deadline { margin-top: 15px; font-size: 14px; } .divider { height: 2px; background-color: #E0E0E0; margin: 30px 0; } .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: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .goal-item h3 { margin-bottom: 5px; } .goal-item p { color: #555; } .goal-item .time { color: #999; font-size: 12px; } .stats { margin-top: 20px; background-color: #FFE7F1; padding: 20px; border-radius: 10px; display: flex; justify-content: center; align-items: center; } .stats h2 { margin-right: 20px; } .stats-image img { width: 120px; } footer { position: fixed; bottom: 20px; right: 20px; } .add-button { background-color: #FF77A9; border: none; color: white; font-size: 30px; border-radius: 50%; width: 50px; height: 50px; cursor: pointer; } .add-button:hover { background-color: #FF5591; } .goal-info { flex: 2; margin-right: 20px; } .goal-image { flex: 1; display: flex; justify-content: center; align-items: center; } .goal-image img { width: 100%; height: auto; max-width: 150px; } body { opacity: 0; transition: opacity 1s ease; } body.fade-in { opacity: 1; } body { display: flex; justify-content: center; align-items: center; height: 100vh; margin: 0; font-family: Arial, sans-serif; background-color: #f5f5f5; opacity: 1; transition: opacity 1s ease; } .landing-container { text-align: center; } .landing-container img { display: block; margin: 0 auto; max-width: 100%; height: auto; } .start-button { background-color: #ffccde; border: none; border-radius: 10px; padding: 10px 20px; font-size: 16px; cursor: pointer; margin-top: 20px; } .start-button:hover { background-color: #ff99bb; } .fade-out { opacity: 0; } /* General Styles */ body { font-family: Arial, sans-serif; background-color: #F0F4FF; /* Light blue background to match the dashboard */ margin: 0; padding: 0; } /* Header Styles */ header { text-align: center; padding: 10px 0; border-bottom: 1px solid #ccc; } header h1 { font-size: 24px; color: #3C8DFF; /* Main blue color */ margin: 0; } /* Form Styles */ #addGoalForm { padding: 20px; } #addGoalForm h1 { font-size: 22px; color: #333; margin-bottom: 15px; } label { font-size: 14px; color: #555; 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 Buttons */ .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:last-child { margin-right: 0; } /* Priority Colors */ .priority-btn[data-priority="5"] { background-color: #FF5252; /* High priority - Red */ } .priority-btn[data-priority="4"] { background-color: #FF7F50; /* More priority - Coral */ } .priority-btn[data-priority="3"] { background-color: #FFC107; /* Medium priority - Yellow */ } .priority-btn[data-priority="2"] { background-color: #AED581; /* Less priority - Light Green */ } .priority-btn[data-priority="1"] { background-color: #8BC34A; /* Lowest priority - Green */ } /* Selected priority button */ .priority-btn.selected { border: 2px solid #3C8DFF; /* Add blue border when selected */ } /* Save Button */ #saveGoalBtn { width: 100%; background-color: #3C8DFF; /* Main blue 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; /* Darker blue on hover */ } /* Responsive adjustments */ @media (max-width: 768px) { .priority-options { flex-direction: column; } .priority-btn { margin-bottom: 10px; flex: unset; } } .container { max-width: 1200px; /* Increase the max width */ width: 90%; /* Set width to 90% of the screen, with some flexibility */ margin: 50px auto; /* Adjust margins for center alignment */ padding: 20px; background-color: white; box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1); border-radius: 8px; } /* Adjust other sections to fit within the new size */ .header h1 { font-size: 28px; /* Slightly larger font */ } .goal-info h1 { font-size: 24px; /* Larger goal title */ } .goal-info p { font-size: 16px; /* Increase the text size for better readability */ } /* Adjust the goals list */ .goals-list h2 { font-size: 22px; } .goal-item { font-size: 16px; /* Slightly larger text for goals */ padding: 15px; border-radius: 5px; margin-bottom: 10px; } /* Stats section adjustments */ .stats h2 { font-size: 22px; } .stats-image img { width: 100%; /* Make sure the stats image fits well */ height: auto; } /* Ensure the "+" button stays at a good size */ .add-button { font-size: 30px; width: 60px; height: 60px; background-color: #FF6B6B; border-radius: 50%; box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2); position: fixed; bottom: 30px; right: 30px; color: white; border: none; cursor: pointer; transition: background-color 0.3s; } .add-button:hover { background-color: #FF4C4C; } /* Style for the "Mark as Done" button */ .deleteGoalBtn { background-color: #FF5252; /* Red background */ color: white; /* White text */ border: none; /* No border */ padding: 10px 15px; /* Button padding */ border-radius: 5px; /* Rounded corners */ cursor: pointer; /* Pointer cursor on hover */ transition: background-color 0.3s ease; /* Smooth hover effect */ } .deleteGoalBtn:hover { background-color: #E53935; /* Darker red on hover */ } /* Style for the "Back to Dashboard" button */ #backBtn { margin-top: 20px; background-color: #3C8DFF; color: white; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; transition: background-color 0.3s ease; } #backBtn:hover { background-color: #005bb5; } .fade-in { opacity: 0; animation: fadeIn 0.7s forwards; } .fade-out { opacity: 1; animation: fadeOut 0.7s forwards; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } @keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } } body, .landing-container { transition: opacity 0.7s ease-in-out; }
Editor is loading...
Leave a Comment