Skip to content

Commit ab438c8

Browse files
authored
chore : ui 변경 (#150)
1 parent b22ad9a commit ab438c8

File tree

2 files changed

+49
-0
lines changed

2 files changed

+49
-0
lines changed

src/main/resources/templates/chat-page.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,26 @@
8888
margin: 0 auto;
8989
}
9090

91+
#messages::-webkit-scrollbar {
92+
width: 8px;
93+
}
94+
95+
#messages::-webkit-scrollbar-track {
96+
background: #12141f;
97+
}
98+
99+
#messages::-webkit-scrollbar-thumb {
100+
background-color: #00d084;
101+
border-radius: 4px;
102+
border: 2px solid #12141f;
103+
}
104+
105+
/* Firefox용 */
106+
#messages {
107+
scrollbar-width: thin;
108+
scrollbar-color: #00d084 #12141f;
109+
}
110+
91111
#sidebar {
92112
width: 200px;
93113
border-right: 1px solid #2a2d3d;

src/main/resources/templates/game-page.html

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,35 @@
117117
z-index: 5;
118118
}
119119

120+
/* WebKit 기반 브라우저 스크롤바 스타일 */
121+
.side-panel-right::-webkit-scrollbar,
122+
.side-panel-left::-webkit-scrollbar,
123+
.button-container::-webkit-scrollbar {
124+
width: 10px;
125+
}
126+
127+
.side-panel-right::-webkit-scrollbar-track,
128+
.side-panel-left::-webkit-scrollbar-track,
129+
.button-container::-webkit-scrollbar-track {
130+
background: #111; /* 배경색: 어두운 검정계열 */
131+
}
132+
133+
.side-panel-right::-webkit-scrollbar-thumb,
134+
.side-panel-left::-webkit-scrollbar-thumb,
135+
.button-container::-webkit-scrollbar-thumb {
136+
background-color: #0f0; /* 초록색 막대 */
137+
border-radius: 6px;
138+
border: 2px solid #111; /* 트랙과 구분 위한 테두리 */
139+
}
140+
141+
/* Firefox 스크롤바 스타일 */
142+
.side-panel-right,
143+
.side-panel-left,
144+
.button-container {
145+
scrollbar-width: thin;
146+
scrollbar-color: #0f0 #111;
147+
}
148+
120149
.side-panel-right.active {
121150
display: block;
122151
right: 40px;

0 commit comments

Comments
 (0)