make the ui a revramp a whole revramp make it look like notion ui: body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
color: #333;
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 100vh;
padding-top: 20px;
box-sizing: border-box;
}
#app-container {
background-color: #ffffff;
padding: 20px 30px;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 700px;
margin: 20px;
box-sizing: border-box;
}
header {
text-align: center;
margin-bottom: 30px;
border-bottom: 1px solid #e0e0e0;
padding-bottom: 20px;
}
header h1 {
color: #2c3e50;
margin: 0 0 10px 0;
font-size: 2em;
}
header p {
color: #555;
font-size: 1.1em;
}
.input-section {
margin-bottom: 30px;
display: flex;
flex-direction: column;
}
.input-section label {
margin-bottom: 8px;
font-weight: bold;
color: #333;
}
#shortcut-request {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 8px;
box-sizing: border-box;
font-size: 1em;
margin-bottom: 15px;
resize: vertical;
min-height: 80px;
}
#shortcut-request:focus {
border-color: #007aff;
box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.25);
outline: none;
}
#generate-button {
background-color: #007aff;
color: white;
border: none;
padding: 12px 20px;
border-radius: 8px;
font-size: 1.1em;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease-in-out, transform 0.1s ease;
align-self: center;
}
#generate-button:hover {
background-color: #005bb5;
}
#generate-button:active {
transform: scale(0.98);
}
#generate-button:disabled {
background-color: #cccccc;
cursor: not-allowed;
transform: none;
}
.loading-indicator {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
margin-bottom: 20px;
color: #555;
}
.spinner {
border: 4px solid #f3f3f3;
border-top: 4px solid #007aff;
border-radius: 50%;
width: 40px;
height: 40px;
animation: spin 1s linear infinite;
margin-bottom: 10px;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.error-message {
background-color: #ffebee;
color: #c62828;
padding: 15px;
border-radius: 8px;
margin-bottom: 20px;
border: 1px solid #ef9a9a;
text-align: center;
}
.result-container {
background-color: #f9f9f9;
border: 1px solid #e0e0e0;
border-radius: 8px;
padding: 20px;
margin-top: 20px;
}
.result-container h2 {
margin-top: 0;
margin-bottom: 20px;
color: #2c3e50;
font-size: 1.6em;
border-bottom: 1px solid #e7e7e7;
padding-bottom: 10px;
}
/* Enhanced styles for structured steps /
#shortcut-steps-list {
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
font-size: 0.95em;
line-height: 1.7; / Increased line height for better readability */
}
.steps-preamble {
font-style: italic;
color: #4a5568; /* Slightly darker for better contrast */
margin-bottom: 20px;
padding: 10px;
background-color: #e9ecef;
border-radius: 6px;
border-left: 4px solid #007aff;
}
.steps-list {
list-style: none;
padding-left: 0;
margin: 0;
}
.step-item {
background-color: #fff;
margin-bottom: 18px; /* Increased margin /
padding: 18px; / Increased padding /
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.08); / Softer shadow /
display: flex;
align-items: flex-start;
border-left: 5px solid #007aff; / Emphasized left border /
position: relative; / For potential pseudo-elements if needed later */
}
.step-item:last-child {
margin-bottom: 0;
}
.step-number {
background-color: #007aff;
color: white;
min-width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 1em; /* Slightly larger font for number /
margin-right: 18px; / Increased margin */
flex-shrink: 0;
line-height: 30px;
box-shadow: 0 2px 4px rgba(0, 122, 255, 0.3);
}
.step-content {
flex-grow: 1;
color: #343a40;
}
.step-content strong {
color: #0056b3;
font-weight: 600;
background-color: #e7f3ff; /* Light blue background for emphasis /
padding: 2px 5px; / Padding around the strong text /
border-radius: 4px; / Rounded corners for the background */
}
.step-details {
list-style-type: none;
padding-left: 5px; /* Reduced padding, rely on item's padding /
margin-top: 12px; / Increased margin-top /
font-size: 0.92em; / Slightly adjusted font size /
color: #495057;
border-left: 2px solid #ced4da; / Subtle line to group details /
margin-left: 5px; / Align with content, not number */
}
.step-detail-item {
margin-bottom: 8px; /* Increased margin */
padding-left: 20px;
position: relative;
}
.step-detail-item::before {
content: "▹"; /* Changed bullet for a slightly different look /
color: #007aff;
position: absolute;
left: 0;
top: 1px; / Fine-tune vertical alignment /
font-size: 1.1em; / Slightly larger bullet */
}
footer {
text-align: center;
margin-top: 30px;
padding-top: 15px;
border-top: 1px solid #e0e0e0;
font-size: 0.9em;
color: #777;
}
/* Responsive adjustments */
@media (max-width: 600px) {
#app-container {
margin: 10px;
padding: 15px 20px;
}
code Copy code
header h1 {
font-size: 1.8em;
}
header p {
font-size: 1em;
}
#generate-button {
width: 100%;
padding: 14px 20px; /* Slightly larger tap target */
}
.result-container h2 {
font-size: 1.4em;
}
.step-item {
padding: 15px;
border-left-width: 4px;
}
.step-number {
min-width: 26px;
height: 26px;
font-size: 0.9em;
margin-right: 12px;
line-height: 26px;
}
.step-content strong {
padding: 2px 4px;
}
.step-details {
margin-left: 2px;
}
.step-detail-item {
padding-left: 18px;
}
.step-detail-item::before {
font-size: 1em;
}
}