Skip to content
This repository was archived by the owner on Sep 29, 2024. It is now read-only.

Commit 986802f

Browse files
authored
bug fixes
1 parent cf1a171 commit 986802f

3 files changed

Lines changed: 106 additions & 51 deletions

File tree

dsn-general.css

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@
5252
--text-inverted-primary: #eee;
5353
--text-blue: #153290;
5454

55+
--context-menu-background: white;
56+
--context-menu-border: #a9a9a9;
57+
5558
--picture-border: #485e85;
5659
--border-color: #98a7d2;
5760
--profile-box-shadow: inset 0px 0px 1.5px 2px #fff;
@@ -157,6 +160,9 @@
157160
--people-column-background: rgba(255, 255, 255, 0.75);
158161
--people-column-border: #ebf1fa;
159162

163+
--friends-button-background: white;
164+
--friends-button-background-border: rgb(221, 221, 221);
165+
160166
--tooltip-background: #ffffe1;
161167
--tooltip-border: #000;
162168

@@ -247,6 +253,9 @@
247253

248254
--background: #202025;
249255

256+
--context-menu-background: rgb(22, 22, 22);
257+
--context-menu-border: #5f5f5f;
258+
250259
--text-primary: #eee;
251260
--text-inverted-primary: #222;
252261
--text-blue: #2054ff;
@@ -350,7 +359,11 @@
350359
);
351360

352361
--people-column-background: rgba(0, 0, 0, 0.75);
353-
--people-column-border: linear-gradient(0deg, #535353 60%, #444444 100%);
362+
--people-column-border: linear-gradient(0deg, #3d3d3d 60%, #2c2c2c 100%);
363+
364+
--friends-button-background: rgb(46, 46, 46);
365+
--friends-button-background-border: rgb(131, 131, 131);
366+
354367

355368
--tooltip-background: #272727;
356369
--tooltip-border: #8d8d8d;
@@ -535,6 +548,7 @@ textarea::selection {
535548
background: transparent !important;
536549
}
537550

551+
538552
h3.header__6a14d {
539553
word-spacing: normal;
540554
}
@@ -1195,6 +1209,10 @@ button:has(
11951209
padding-bottom: 16px;
11961210
}
11971211

1212+
.wrapper__3ed10.avatar_f8541f svg .avatarDecoration_cf681a{
1213+
1214+
}
1215+
11981216
.avatarSpeaking__747a1 {
11991217
box-shadow: inset 0 0 0 2px var(--status-speaking),
12001218
inset 0 0 0 3px var(--background-secondary);
@@ -1208,13 +1226,19 @@ button:has(
12081226
z-index: 4;
12091227
}
12101228

1211-
.panels__58331 foreignObject {
1229+
.panels__58331 foreignObject:not([mask="url(#svg-mask-avatar-decoration-status-round-32)"]) {
12121230
border: 1px solid var(--picture-border);
12131231
border-radius: 4px;
12141232
-webkit-box-reflect: below 0px
12151233
linear-gradient(to bottom, rgba(0, 0, 0, 0) 85%, rgba(0, 0, 0, 0.4) 100%);
12161234
}
12171235

1236+
.panels__58331 foreignObject[mask="url(#svg-mask-avatar-decoration-status-round-32)"] .avatarStack__789b4 {
1237+
position: relative !important;
1238+
left: 3px;
1239+
}
1240+
1241+
12181242
/* profile buttons */
12191243
.container_debb33 .flex_f18b02 {
12201244
justify-content: flex-end;
@@ -1296,18 +1320,18 @@ button:has(
12961320

12971321
.attachedBars_c1606a {
12981322
background: var(--people-column-border) !important;
1299-
margin-left: -2px;
1300-
margin-right: -2px;
13011323
height: 24px;
13021324
border: 1px solid var(--text-area-border);
13031325
height: 24px;
13041326
border-radius: 0 0 8px 8px;
13051327
}
13061328

13071329
/* reply */
1308-
.replyBar_ed6afc > div {
1330+
.replyBar_ed6afc div{
1331+
max-height: 24px;
13091332
}
13101333

1334+
13111335
.messagesWrapper_add28b {
13121336
box-shadow: none;
13131337
border: 1px solid var(--text-area-border);
@@ -1379,10 +1403,6 @@ button:has(
13791403
height: 15px;
13801404
}
13811405

1382-
.peopleColumn__0c784 .sectionTitle_b622ce {
1383-
margin: 12px 6px 6px 6px;
1384-
}
1385-
13861406
.sectionTitle_b622ce .title_c42cad:before {
13871407
content: url(https://numoder.github.io/dsn10-theme/assets/misc/minus.png);
13881408
padding-right: 4px;
@@ -1406,27 +1426,10 @@ button:has(
14061426
z-index: 3;
14071427
}
14081428

1409-
.tabBody_a90ea8:before {
1410-
height: 7px;
1411-
width: 125px;
1412-
box-shadow: none;
1413-
padding: 10px 10px 10px 40px;
1414-
margin: 0px;
1415-
z-index: 3;
1416-
left: 10px;
1417-
top: 7px;
1418-
}
1419-
1420-
.tabBody_a90ea8:before {
1421-
background: var(--add-friend-background);
1422-
border: var(--add-friend-border) solid 1px;
1423-
}
1424-
14251429
/* sort friends list by status */
14261430
.topPill__63ad4 .themed_b957e8.item_e4ca95 {
1427-
margin: 0px 0px;
1428-
left: 0.25px;
1429-
min-height: 20px;
1431+
max-height: 24px;
1432+
margin: 4px 0;
14301433
}
14311434

14321435
.tabBar__73938.topPill__63ad4 .themed_b957e8.selected_a523ff.item_e4ca95,
@@ -1455,13 +1458,11 @@ button:has(
14551458
overflow: visible;
14561459
}
14571460

1461+
.addFriend__4c0a2 span{
1462+
font-size: 0px !important;
1463+
}
1464+
14581465
.addFriend__4c0a2.addFriend__4c0a2.addFriend__4c0a2 {
1459-
overflow: visible;
1460-
position: relative;
1461-
top: 47px;
1462-
left: -291.75px !important;
1463-
width: 200px;
1464-
z-index: 4;
14651466
border-radius: 0px !important;
14661467
color: transparent !important;
14671468
}
@@ -1472,16 +1473,15 @@ button:has(
14721473
}
14731474

14741475
.tabBar__73938 .addFriend__4c0a2:before {
1475-
background-image: url(https://numoder.github.io/dsn10-theme/assets/actions/addacontact.png);
1476-
background-size: 24px;
1476+
background: url(https://numoder.github.io/dsn10-theme/assets/actions/addacontact.png), var(--add-friend-background);
1477+
background-size: 24px, cover;
1478+
border: var(--add-friend-border) solid 1px;
14771479
content: "Add a Contact";
1478-
background-repeat: no-repeat;
1480+
background-repeat: no-repeat, repeat;
1481+
background-position: 2px 2px, center;
14791482
color: var(--text-primary);
1480-
top: 7px;
1481-
left: 31px;
14821483
height: 24px;
1483-
line-height: 24px;
1484-
padding-left: 28px;
1484+
padding: 2px 8px 0px 28px;
14851485
position: relative;
14861486
z-index: 4;
14871487
}

dsn-icons.css

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
21
/* icons.css */
32

43
.toolbar__62fb5 .clickable_ce0925 .icon_ae0b42,
54
.sendIcon_f67abd {
65
color: transparent;
76
}
87

8+
.icon_ae0b42 path[fill="var(--interactive-normal)"] {
9+
fill: none !important;
10+
}
11+
912
/* pin */
1013
[aria-label="Pinned Messages"] > svg,
1114
svg:has(
@@ -212,6 +215,14 @@ div:not(:has(.membersWrap__5ca6b)) .children_cde9af {
212215
margin-right: 16px !important;
213216
}
214217

218+
.children_cde9af .tabBar__73938 {
219+
background-color: var(--friends-button-background);
220+
border: var(--friends-button-background-border) 1px solid;
221+
border-radius: 6px;
222+
margin: 6px;
223+
padding: 0px 6px;
224+
}
225+
215226
.children_cde9af:has(.item_e4ca95) {
216227
overflow: visible !important;
217228
margin-right: none !important;
@@ -349,6 +360,16 @@ div.children_cde9af > .divider_bdb894 {
349360
border-radius: 0 0 0 10px;
350361
}
351362

363+
.animatedContainer__0e828{
364+
z-index: 2;
365+
margin-top: 69px;
366+
margin-left: 2px;
367+
}
368+
369+
.bannerImg_fe5c1b {
370+
margin: -6px;
371+
}
372+
352373
.container_f41675:hover {
353374
box-shadow: var(--sidebar-header-hover);
354375
transition: 0.2s;
@@ -591,4 +612,4 @@ html .root__3eef0 .topControls_e834ab {
591612
height: 260px;
592613
background-size: cover;
593614
image-rendering: pixelated;
594-
}
615+
}

dsn-server.css

Lines changed: 42 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@
306306
padding: 0px 6px;
307307
}
308308

309+
.channelTextArea_c2094b{
310+
background-color: transparent;
311+
}
312+
309313
.channelTextArea_c2094b .inner__9fd0b {
310314
flex-direction: column !important;
311315
}
@@ -336,14 +340,23 @@
336340
max-height: 19px;
337341
}
338342

339-
.inner__9fd0b {
340-
background: var(--message-background);
341-
padding-left: 16px;
343+
.form_d8a4a1 .inner__9fd0b {
344+
background: var(--message-background) !important;
342345
border-top: 1px solid var(--text-area-border);
343346
border-bottom: 1px solid var(--text-area-border);
347+
padding-left: 8px;
348+
}
349+
350+
.channelTextArea__626ee > div > .inner__9fd0b {
351+
padding-left: 16px;
352+
}
353+
354+
.scrollableContainer_ff917f{
355+
border-radius: 0px;
356+
border: 1px solid var(--text-area-border);
344357
}
345358

346-
.scrollableContainer_ff917f {
359+
.channelTextArea_c2094b > .scrollableContainer_ff917f {
347360
border-radius: 7px;
348361
backface-visibility: hidden;
349362
scrollbar-width: none;
@@ -407,14 +420,35 @@
407420
border-radius: 0 0 6px 6px;
408421
}
409422

410-
/* context-menu */
411-
.menu__088f7 {
423+
/* context menus */
424+
.menu__088f7, .buttonsInner_a9dfff.wrapper__4e6b6 {
425+
background: var(--context-menu-background);
426+
border: 1px solid var(--context-menu-border);
412427
border-radius: 0px;
428+
box-shadow: 2px 3px 1px 0px rgba(0,0,0,0.25);
429+
}
430+
431+
432+
.menu__088f7 [role="separator"] {
433+
border-bottom: 1px solid var(--context-menu-border);
434+
}
435+
436+
437+
.menu__088f7 .colorDefault_e361cf.focused_dcafb9{
438+
background-color: var(--selected-color);
439+
border-radius: 0px;
440+
}
441+
442+
.menu__088f7 > div > div .submenuPaddingContainer__5a97c {
443+
position: relative !important;
444+
left: -8px;
445+
top: -3px;
413446
}
414447

415448
.menu__088f7 .scroller__8f066 {
416-
padding: 0px;
417449
overflow-y: visible;
450+
padding: 0px !important;
451+
border: 1px solid var(--);
418452
}
419453

420454
.menu__088f7 .scroller__8f066::-webkit-scrollbar {
@@ -572,4 +606,4 @@ div.bd-select {
572606
/* checkbox */
573607
[id="oneko"] {
574608
z-index: 9999 !important;
575-
}
609+
}

0 commit comments

Comments
 (0)