Skip to content

Commit

Permalink
Updated Minor files
Browse files Browse the repository at this point in the history
  • Loading branch information
aachintya committed Oct 21, 2024
1 parent efa8c1c commit 76457b2
Show file tree
Hide file tree
Showing 3 changed files with 201 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,9 @@ __pycache__/
# Virtual environment
venv/

# Database
db.sqlite3

# Local settings
local_settings.py

# Media and static files
/media/
/static/

# Log files
*.log

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ python-dotenv==1.0.1
requests==2.32.3
sqlparse==0.5.1
urllib3==2.2.3
scipy
200 changes: 200 additions & 0 deletions static/css/graph_analyzer_styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
/* global Styles */
body {
font-family: 'Roboto', 'Arial', sans-serif;
line-height: 1.6;
color: #333;
margin: 0;
padding: 0;
background-color: #f0f4f8;
}

.container {
width: 90%;
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}

/* Header Styles */
header {
background-color: #2c3e50;
color: white;
padding: 20px 0;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h1 {
margin: 0;
font-size: 2.5em;
font-weight: 300;
text-align: center;
}

/* Main Content Styles */
main {
padding: 40px 0;
}

.form-section {
background: white;
border: none;
padding: 40px;
border-radius: 8px;
margin-bottom: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: box-shadow 0.3s ease;
}

.form-section:hover {
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.form-section label {
display: block;
margin-bottom: 15px;
font-size: 18px;
color: #2c3e50;
font-weight: 500;
}

/* File Input Styles */
.file-input-wrapper {
position: relative;
overflow: hidden;
display: inline-block;
cursor: pointer;
}

.file-input-wrapper input[type="file"] {
font-size: 100px;
position: absolute;
left: 0;
top: 0;
opacity: 0;
cursor: pointer;
}

.file-input-wrapper .btn {
display: inline-block;
padding: 12px 24px;
background-color: #3498db;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
transition: background-color 0.3s ease;
}

.file-input-wrapper:hover .btn {
background-color: #2980b9;
}

.file-name {
margin-left: 10px;
font-style: italic;
}

/* submit button styles */
.submit-btn {
display: block;
width: 100%;
padding: 15px 30px;
font-size: 18px;
font-weight: 500;
border: none;
border-radius: 4px;
background-color: #2ecc71;
color: white;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.1s ease;
margin-top: 20px;
}

.submit-btn:hover {
background-color: #27ae60;
}

.submit-btn:active {
transform: scale(0.98);
}

/* Results Section Styles */
.results {
background-color: white;
border: none;
padding: 30px;
border-radius: 8px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
transition: box-shadow 0.3s ease;
}

.results:hover {
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.results h2 {
color: #2c3e50;
margin-top: 0;
font-size: 24px;
font-weight: 500;
border-bottom: 2px solid #ecf0f1;
padding-bottom: 10px;
margin-bottom: 20px;
}

.result-detail {
margin-bottom: 15px;
}

.result-label {
font-weight: 600;
color: #34495e;
}

.predicted-points {
list-style-type: none;
padding: 0;
}

.predicted-points li {
padding: 10px 0;
border-bottom: 1px solid #ecf0f1;
transition: background-color 0.2s ease;
}

.predicted-points li:last-child {
border-bottom: none;
}

.predicted-points li:hover {
background-color: #f8f9fa;
}

/* footer styles */
footer {
text-align: center;
padding: 20px 0;
background-color: #2c3e50;
color: #ecf0f1;
}

footer p {
margin: 0;
font-size: 14px;
}

/* responsive design */
@media (max-width: 768px) {
.container {
width: 95%;
}

.form-section, .results {
padding: 20px;
}

header h1 {
font-size: 2em;
}
}

0 comments on commit 76457b2

Please sign in to comment.