-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
129 lines (111 loc) · 2.07 KB
/
styles.css
File metadata and controls
129 lines (111 loc) · 2.07 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
/* General styles */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
margin: 0;
padding: 1rem;
background: #f5f5f7;
color: #333;
width: 170px;
border-radius: 12px;
font-size: 14px;
}
/* Main container */
.main-container {
display: flex;
flex-direction: column;
gap: 12px;
}
/* Mode filter */
#mode-filter {
display: flex;
justify-content: space-between;
background: #e5e5ea;
padding: 4px;
border-radius: 8px;
}
#mode-filter button {
flex: 1;
padding: 8px 0;
border: none;
background: transparent;
font-size: 14px;
font-weight: 500;
cursor: pointer;
border-radius: 6px;
transition: background 0.2s ease;
color: grey;
}
#mode-filter button:hover {
color: rgb(73, 73, 73);
}
#mode-filter button.active {
background: #ffffff;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
color: #868686;
}
/* App container */
#app-container {
background: white;
padding: 16px;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
/* Color selection */
.color-container {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 8px;
}
.color-container label {
font-size: 14px;
font-weight: 500;
color: #444;
}
input[type="color"] {
width: 36px;
height: 28px;
border: none;
background: transparent;
cursor: pointer;
}
img {
max-width: 10px;
}
button img {
max-width: 10px;
padding: 0px;
width: auto;
}
/* Buttons */
button {
width: 100%;
padding: 10px;
border: none;
background: #50a4ff;
color: white;
font-size: 14px;
font-weight: 500;
cursor: pointer;
border-radius: 8px;
transition: background 0.2s ease;
}
button:hover {
background: #2784ee;
}
/* Result section */
#result {
text-align: center;
font-size: 14px;
margin-top: 10px;
}
#contrastRatio {
font-weight: bold;
color: #007aff;
}
.hidden{
display: none;
}
#auto p {
text-align: center;
}