-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
125 lines (105 loc) · 2.5 KB
/
style.css
File metadata and controls
125 lines (105 loc) · 2.5 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
body {
background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
color: white;
font-family: "Poppins", sans-serif;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
min-height: 100vh;
margin: 0;
padding: 20px;
}
h1 {
font-size: 2rem;
margin-bottom: 10px;
letter-spacing: 1px;
color: #00e5ff;
text-shadow: 0 0 10px #00e5ff88;
}
.controls {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
margin: 20px 0;
background: rgba(255, 255, 255, 0.1);
border-radius: 12px;
padding: 15px 25px;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.label {
font-size: 1rem;
color: #fff;
}
input[type="range"] {
appearance: none;
width: 150px;
height: 6px;
border-radius: 5px;
background: linear-gradient(90deg, #00e5ff, #0077ff);
outline: none;
cursor: pointer;
transition: all 0.2s ease;
}
input[type="range"]::-webkit-slider-thumb {
appearance: none;
width: 16px;
height: 16px;
background: #fff;
border-radius: 50%;
border: 2px solid #00e5ff;
transition: 0.3s;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.2);
}
button {
background: linear-gradient(135deg, #00e5ff, #0077ff);
border: none;
border-radius: 8px;
color: white;
padding: 10px 20px;
cursor: pointer;
font-size: 0.95rem;
transition: all 0.3s ease;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(0, 229, 255, 0.4);
}
button:disabled {
background: #555;
cursor: not-allowed;
box-shadow: none;
}
.bars-container {
display: flex;
align-items: flex-end;
justify-content: center;
width: 80%;
height: 420px;
background: rgba(255, 255, 255, 0.05);
border-radius: 15px;
box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.05);
padding: 15px;
margin-top: 25px;
overflow: hidden;
}
.bar {
background: #0047AB;
margin: 0 3px;
width: 15px;
border-radius: 5px 5px 0 0;
transition: all 0.3s ease;
}
.bar.compare {
background: linear-gradient(180deg, #ff5f6d, #ffc371);
box-shadow: 0 0 10px #ff5f6d;
}
.bar.sorted {
background: linear-gradient(180deg, #43e97b, #38f9d7);
box-shadow: 0 0 10px #43e97b;
}