-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathOptionsPanel.css
More file actions
106 lines (94 loc) · 1.95 KB
/
OptionsPanel.css
File metadata and controls
106 lines (94 loc) · 1.95 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
.options-panel-container {
padding-bottom: 20px; /* Add more padding below the toggle */
margin-top: 2px;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.options-panel-container.sticky {
position: sticky;
top: -65px;
z-index: 2;
margin: 0px;
padding: 0px;
background-color: rgba(225, 223, 221, 1);
border-radius: 0px;
padding-bottom: 16px;
}
.title {
font-size: 1.8rem;
font-weight: 600;
color: #333;
margin-bottom: 20px;
}
.slider-container {
position: relative;
background-color: #ffffff;
border-radius: 9999px;
width: 100%;
max-width: 320px;
height: 40px;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 auto;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.slider {
position: absolute;
height: 100%;
width: 50%;
background-color: #333333;
transition: transform 0.3s ease;
z-index: 1; /* Increased z-index */
}
.slider.Indexed\documents {
transform: translateX(0);
}
.slider.Selected {
transform: translateX(100%);
}
.slider-button {
z-index: 2; /* Increased z-index */
position: relative;
background: none;
border: none;
font-size: 14px;
font-weight: 500;
cursor: pointer;
width: 50%;
height: 100%;
padding: 0 10px;
text-align: center;
transition: color 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
white-space: nowrap;
}
/* Divider line */
.slider-container::after {
content: '';
position: absolute;
left: 50%;
top: 10%;
height: 80%;
width: 1px;
background-color: #e0e0e0;
z-index: 0; /* Behind the slider and buttons */
}
.slider-button.active {
color: white;
}
.slider-button:not(.active) {
color: #333333;
}
.slider-button:disabled {
color: #b0b0b0;
cursor: not-allowed;
}
.slider-button:focus {
outline: none;
}