forked from Nandika-A/Graph-Analyzer
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
201 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ python-dotenv==1.0.1 | |
requests==2.32.3 | ||
sqlparse==0.5.1 | ||
urllib3==2.2.3 | ||
scipy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |