Skip to content

Commit d2e861d

Browse files
committed
update:修改右键菜单样式为暗黑主题
1 parent 9b114ef commit d2e861d

File tree

1 file changed

+57
-0
lines changed
  • remote-web/src/main/resources/static/css

1 file changed

+57
-0
lines changed

remote-web/src/main/resources/static/css/darkly.css

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,63 @@ a:hover {
213213
margin-left: 0.3rem;
214214
}
215215

216+
.vakata-context li>a {
217+
display: block;
218+
padding: 0 1rem 0 1rem;
219+
text-decoration: none;
220+
width: auto;
221+
color: rgb(205, 205, 205);
222+
white-space: nowrap;
223+
line-height: 2em;
224+
text-shadow: 0 0 black;
225+
border-radius: 1px;
226+
background-color: rgb(32, 33, 36);
227+
}
228+
229+
.vakata-context li>a .vakata-contextmenu-sep {
230+
display: inline-block;
231+
width: 1px;
232+
height: 0em;
233+
background: white;
234+
margin: 0 0.5em 0 0;
235+
border-left: 1px solid #e2e3e3;
236+
}
237+
238+
.vakata-context, .vakata-context ul {
239+
padding: 2px;
240+
position: absolute;
241+
background: rgb(32, 33, 36);
242+
border: 1px solid rgb(32, 33, 36);
243+
box-shadow: 0px 0px 0px rgb(32, 33, 36);
244+
z-index: 9999;
245+
}
246+
247+
.vakata-context .vakata-context-hover > a {
248+
background-color: rgb(66, 66, 66);
249+
box-shadow: 0 0 2px rgb(66, 66, 66);
250+
}
251+
252+
.vakata-context li > a:hover {
253+
position: relative;
254+
background-color: rgb(66, 66, 66);
255+
box-shadow: 0 0 2px rgb(66, 66, 66);
256+
}
257+
258+
.vakata-context .vakata-context-separator>a, .vakata-context .vakata-context-separator>a:hover {
259+
background: #df9d9d;
260+
border: 0;
261+
border-top: 1px solid #ffffff;
262+
height: 1px;
263+
min-height: 1px;
264+
max-height: 1px;
265+
padding: 0;
266+
margin: 0em;
267+
border-left: 0px solid #e0e0e0;
268+
text-shadow: 0 0 0 transparent;
269+
box-shadow: 0 0 0 transparent;
270+
border-radius: 0;
271+
}
272+
216273
/*定义滚动条高宽及背景
217274
高宽分别对应横竖滚动条的尺寸*/
218275

0 commit comments

Comments
 (0)