-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsidebar.css
More file actions
167 lines (144 loc) · 3.67 KB
/
sidebar.css
File metadata and controls
167 lines (144 loc) · 3.67 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
157
158
159
160
161
162
163
164
165
166
167
.sidebar {
position: fixed;
top: 0;
bottom: 0;
right: 0;
z-index: 100;
transform: translateX(100%);
transition: 0.2s;
display: flex;
flex-direction: column;
padding-inline: 20px;
width: 260px;
background: linear-gradient(to bottom left, rgb(43, 43, 43), rgb(23, 23, 23)) no-repeat;
color: hsla(0, 0%, 95%, 0.9);
overflow-y: scroll;
}
.sidebar.sb-open {
transform: translateX(0%);
}
.sidebar-header {
display: flex;
justify-content: space-between;
align-items: center;
padding-block: 15px 8px;
}
.sidebar-title {
font-size: 20px;
line-height: 0;
font-size: bold;
color: hsla(0, 0%, 98%, 1);
}
.sidebar-ele {
border-bottom: 1px solid rgba(82, 82, 82, 0.35);
}
.sidebar-settings-section {
display: flex;
flex-direction: column;
align-items: start;
padding-bottom: 25px;
}
.sidebar-settings-section:last-of-type {
border: none;
}
.sidebar-section-title {
font-size: 15px;
color: hsla(0, 0%, 95%, 0.9);
font-weight: bold;
}
.sidebar-inp {
display: flex;
justify-content: space-between;
width: 100%;
padding-left: 5px;
margin-bottom: 10px;
}
.checkbox {
display: flex;
justify-content: start !important;
margin-bottom: 5px;
gap: 5px;
}
.checkbox>* {
cursor: pointer;
}
.checkbox label {
font-size: 13px;
color: rgba(255, 255, 255, 0.671);
}
/* General Input and Select Styles */
.sidebar-inp input,
.sidebar-inp select {
width: auto; /* Change to auto for better space management */
max-width: 130px; /* Set a maximum width */
height: 24px; /* Ensure consistent height */
background-color: rgb(41, 41, 41);
box-shadow: 0 0 1px white;
border: none;
color: #FFFFFF;
padding: 2px 5px; /* Set padding for aesthetics */
font-size: 12px; /* Consistent font size */
}
/* Checkbox Specific Styles */
.checkbox {
display: flex;
align-items: center; /* Center vertically within the checkbox container */
gap: 8px; /* A little more space between label and checkbox */
}
.checkbox input {
margin-right: 5px; /* Space between checkbox and label */
width: auto; /* Prevent stretching */
/* Added height for better alignment */
height: 18px;
}
/* Optionally limit the checkbox label width */
.checkbox label {
font-size: 13px; /* Keep legible font size */
color: rgba(255, 255, 255, 0.671);
white-space: nowrap; /* Prevent label text from wrapping */
}
.dropdown {
box-shadow: 0 0 1px white;
border: none;
color: #FFFFFF;
font-weight: 14px;
padding: 10px 15px;
font-size: 12px;
background-color: rgb(46, 46, 46);
margin-bottom: 10px;
}
.sidebar-inp label {
font-size: 12px;
color: hsla(0, 0%, 100%, 0.671);
}
.sidebar-btn {
width: 100%;
padding: 10px 0px;
color: rgb(241, 241, 241);
background-color: transparent;
background-color: rgba(var(--primary-color),1);
border: 1px solid rgba(var(--primary-color),0.9);
margin-block: 15px 0px;
cursor: pointer;
}
.sidebar-btn:hover{
background-color: rgba(var(--primary-color),0.85);
}
.sidebar-switch {
min-width: 35px;
min-height: 35px;
background-color: rgba(26, 26, 26, 0);
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
cursor: pointer;
transition: 0.15s;
font-size: 23px;
}
.sidebar-switch:hover {
background-color: rgba(26, 26, 26, 0.6);
}
.cross {
font-size: x-small;
}