Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
156 lines (140 loc) · 3.44 KB
/
Copy pathstyle.css
File metadata and controls
156 lines (140 loc) · 3.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
/* Import a premium modern font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
}
/* Sleek Dark Mode Background */
body {
background-color: #0d1117;
background-image: radial-gradient(circle at top right, #1f2937, #0d1117);
color: #c9d1d9;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
/* The Main Dashboard Card */
.container {
background: #161b22;
border: 1px solid #30363d;
border-radius: 16px;
padding: 40px;
width: 100%;
max-width: 500px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
text-align: center;
position: relative;
overflow: hidden;
}
/* Subtle glowing accent line at the top */
.container::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: linear-gradient(90deg, #58a6ff, #a371f7);
}
h1, h2 {
color: #ffffff;
margin-bottom: 25px;
font-weight: 600;
letter-spacing: 0.5px;
}
/* Beautiful Inputs */
input[type="text"],
input[type="email"],
input[type="password"] {
width: 100%;
padding: 15px;
margin-bottom: 20px;
background-color: #0d1117;
border: 1px solid #30363d;
border-radius: 8px;
color: #ffffff;
font-size: 15px;
transition: border-color 0.3s, box-shadow 0.3s;
}
input:focus {
outline: none;
border-color: #58a6ff;
box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.2);
}
/* Turns the ugly file input into a modern Dropzone */
input[type="file"] {
width: 100%;
padding: 20px;
border: 2px dashed #30363d;
border-radius: 12px;
background-color: rgba(13, 17, 23, 0.5);
color: #8b949e;
cursor: pointer;
transition: all 0.3s;
margin-bottom: 25px;
}
input[type="file"]:hover {
border-color: #58a6ff;
background-color: rgba(88, 166, 255, 0.05);
}
/* Magically styles the gray "Choose File" button */
input[type="file"]::file-selector-button {
background: linear-gradient(135deg, #238636, #2ea043);
color: white;
border: none;
padding: 10px 20px;
border-radius: 6px;
cursor: pointer;
font-weight: 600;
margin-right: 20px;
transition: transform 0.2s, box-shadow 0.2s;
}
input[type="file"]::file-selector-button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(46, 160, 67, 0.4);
}
/* Primary Action Buttons */
button {
width: 100%;
background: linear-gradient(135deg, #58a6ff, #3182ce);
color: white;
padding: 16px;
border: none;
border-radius: 10px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(88, 166, 255, 0.25);
}
button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(88, 166, 255, 0.4);
}
/* Uploaded Files Links (Makes them look like premium clickable cards) */
a, .uploaded-file-item {
display: block;
background: #1f2937;
border: 1px solid #30363d;
padding: 16px;
border-radius: 10px;
margin-top: 15px;
color: #58a6ff;
text-decoration: none;
font-weight: 600;
transition: all 0.3s ease;
}
a:hover, .uploaded-file-item:hover {
border-color: #58a6ff;
background: rgba(88, 166, 255, 0.1);
transform: translateX(8px); /* Cool slide-in animation on hover */
}
/* Status Messages */
p {
color: #8b949e;
margin-top: 15px;
font-size: 14px;
}