aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/css/Sidebar.module.css
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/css/Sidebar.module.css')
-rw-r--r--frontend/src/css/Sidebar.module.css163
1 files changed, 163 insertions, 0 deletions
diff --git a/frontend/src/css/Sidebar.module.css b/frontend/src/css/Sidebar.module.css
new file mode 100644
index 0000000..9436a93
--- /dev/null
+++ b/frontend/src/css/Sidebar.module.css
@@ -0,0 +1,163 @@
1.sidebar {
2 display: flex;
3 width: 350px;
4 min-width: 350px;
5 height: 100vh;
6 color: var(--text-color);
7 font-family: BarlowSemiCondensed-Regular;
8 font-size: 18px;
9 background-color: var(--primary-dark);
10 flex-direction: column;
11}
12
13.logo, .logo>a {
14 height: fit-content;
15 display: flex;
16 width: calc(100% - 4px);
17 text-decoration: none;
18 padding-left: 4px;
19 background-color: var(--primary)
20}
21
22.logo>a>img {
23 padding: 12px 8px;
24 height: 80px;
25}
26
27.logo>a>div {
28 display: flex;
29 flex-direction: column;
30 width: 100%;
31}
32
33.logo>a>div>span {
34 font-size: 36px;
35 font-family: BarlowCondensed-Regular;
36 padding-left: 8px;
37}
38
39.logoTitle {
40 display: flex;
41 height: 60px;
42 font-size: 56px;
43}
44
45/* btns */
46.btns {
47 display: flex;
48 flex-direction: column;
49 padding: 0px 8px;
50 height: 100%;
51 width: calc(100% - 16px);
52 justify-content: space-between;
53 background-color: var(--primary);
54 transition: all 0.3s ease;
55}
56
57.topBtns>span {
58 height: 28px;
59 display: flex;
60}
61
62.btns.min {
63 width: 42px;
64}
65
66.topBtns, .bottomBtns {
67 display: flex;
68 flex-direction: column;
69 gap: 8px;
70}
71
72.topBtns {
73 padding-top: 8px;
74}
75
76.bottomBtns {
77 padding-bottom: 8px;
78}
79
80.topBtns a, .bottomBtns a {
81 width: 100%;
82}
83
84.btnsContainer {
85 display: flex;
86}
87
88/* Clusterfuck */
89.searchContainer {
90 width: 0%;
91 transition: all 0.3s ease, overflow-y 0.0s ease 0.1s;
92 opacity: 0;
93 overflow-y: hidden;
94}
95
96.searchContainer.min {
97 width: 100%;
98 transition: all 0.3s ease, opacity 0.1s ease 0.1s;
99 opacity: 1;
100 overflow-y: auto;
101}
102
103.inpContainer {
104 padding: 8px;
105}
106
107.searchResults {
108 overflow-y: auto;
109 height: calc(100% - 54px);
110}
111
112.result {
113 margin: 10px 6px 0 6px;
114 height: 80px;
115 width: 100%;
116 max-width: 285px;
117 animation: result_in 0.2s ease;
118 animation-fill-mode: backwards;
119 overflow: hidden;
120
121 border-radius: 20px;
122 text-align: center;
123
124 display: grid;
125
126 border: 0;
127 transition: background-color .1s;
128 background-color: #2b2e46;
129 grid-template-rows: 20% 20% 60%;
130 width: calc(100% - 15px);
131}
132.result>span{
133 color: #888;
134 font-size: 16px;
135 font-family: BarlowSemiCondensed-Regular;
136}
137.result>span:nth-child(3), .result.player span{
138 font-size: 30px;
139 color: #CDCFDF;
140}
141
142.result.player img {
143 height: 80px;
144}
145
146.result.player span {
147 display: flex;
148 text-align: left;
149 margin-left: 90px;
150 width: fit-content;
151}
152
153@keyframes result_in {
154 0% {
155 opacity: 0;
156 transform: translateY(20px);
157 }
158 100% {
159 opacity: 1;
160 transform: translateY(0px);
161 }
162}
163