Skip to content

Commit 8e96dd9

Browse files
Merge pull request #132 from Beldex-Coin/dev
2 parents 2a02f3b + 22a41ae commit 8e96dd9

File tree

80 files changed

+757
-548
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+757
-548
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Unlike other centralized messaging apps BChat never collect any user data like p
55
The message you sent using BChat will be highly secure and anonymous. No one (even us) can have control of your data that has been shared in BChat.
66
Wtih BChat you own your data.
77
<br/><br/>
8-
![BChatDesktop](https://bchat.beldex.io/blog/wp-content/uploads/2022/10/Your-Profile.png)
8+
![BChatDesktop](https://bchat.beldex.io/img/Profile.png)
99

1010
Contributing code
1111
-----------------

build/afterPackHook.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = async function(context) {
2424
return;
2525
}
2626
// eslint-disable-next-line no-console
27-
// console.log('afterPack hook triggered', context);
27+
2828

2929
const executableName = context.packager.executableName;
3030
const sourceExecutable = path.join(context.appOutDir, executableName);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "bchat-desktop",
33
"productName": "BChat",
44
"description": "Private messaging from your desktop",
5-
"version": "2.5.0",
5+
"version": "2.5.1",
66
"license": "GPL-3.0",
77
"author": {
88
"name": "Beldex team",

stylesheets/_avatar.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ $borderAvatarColor: unquote(
1010
// border-radius: 50%;
1111
flex-shrink: 0;
1212
// border-radius: 7px;
13-
overflow: hidden;
14-
border-radius: 12px;
13+
// overflow: hidden;
14+
// border-radius: 12px;
1515

1616
img {
1717
object-fit: cover;
@@ -97,11 +97,11 @@ $borderAvatarColor: unquote(
9797
}
9898

9999
.module-avatar__icon-closed {
100-
.module-avatar:first-child{
101-
z-index: 1;
102-
// box-shadow: 3px 3px 0px 0px rgba(0,0,0 ,75%);
103-
box-shadow: 2px 2px 2px 0px var(--color-chatHeader);
104-
}
100+
// .module-avatar:first-child{
101+
// z-index: 1;
102+
// // box-shadow: 3px 3px 0px 0px rgba(0,0,0 ,75%);
103+
// box-shadow: 2px 2px 2px 0px var(--color-chatHeader);
104+
// }
105105
.module-avatar:last-child {
106106
position: absolute;
107107
right: 0px;

stylesheets/_bchat.scss

Lines changed: 47 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ textarea {
8080
opacity: 0.3;
8181
}
8282

83-
.button-group>div {
83+
.button-group > div {
8484
display: inline-flex;
8585
margin-inline-start: 5px;
8686
margin-inline-end: 5px;
@@ -397,7 +397,6 @@ textarea {
397397
&.brand,
398398
&.medium {
399399
&.secondary:hover:not(.disabled) {
400-
401400
background-color: var(--color-secondary-btn-hover-bg);
402401
}
403402

@@ -639,7 +638,6 @@ label {
639638
}
640639

641640
.audio-message {
642-
643641
// height: 40px;
644642
.timer {
645643
width: 60px;
@@ -767,21 +765,21 @@ label {
767765
padding: 25px;
768766
padding-bottom: 0px;
769767

770-
font-family: $bchat-font-poppins-bold;
768+
// font-family: $bchat-font-poppins-bold;
771769
// text-align: center;
772770
line-height: 18px;
773-
font-size: $bchat-font-h3;
774-
font-weight: 500;
771+
font-size: $bchat-font-h2;
772+
font-weight: 700;
775773
margin-top: 10px;
776774

777775
&.reverse {
778776
flex-direction: row-reverse;
779777

780-
.bchat-modal__header__close>div {
778+
.bchat-modal__header__close > div {
781779
float: right;
782780
}
783781

784-
.bchat-modal__header__icons>div {
782+
.bchat-modal__header__icons > div {
785783
float: left;
786784
padding-inline-start: 0px;
787785
padding-inline-end: 10px;
@@ -816,13 +814,13 @@ label {
816814
float: right;
817815
}
818816

819-
&__close>div {
817+
&__close > div {
820818
float: left;
821819
padding: $bchat-margin-xs;
822820
margin: 0px;
823821
}
824822

825-
&__icons>div {
823+
&__icons > div {
826824
float: right;
827825
padding-inline-start: 10px;
828826
}
@@ -841,7 +839,6 @@ label {
841839
// }
842840
.message {
843841
text-align: center;
844-
845842
}
846843

847844
.bchat-id-editable {
@@ -1167,15 +1164,32 @@ label {
11671164
font-size: 16px;
11681165
text-align: left;
11691166
}
1167+
.currency-search {
1168+
height: 60px;
1169+
/* margin-inline-end: 1px; */
1170+
/* margin-bottom: 10px; */
1171+
display: inline-flex;
1172+
flex-shrink: 0;
1173+
padding: 0 21px;
1174+
border-radius: 16px;
1175+
border: 2px solid var(--color-search-border);
1176+
display: flex;
1177+
align-items: center;
11701178

1179+
width: 450px;
1180+
background-color: var(--color-confirm-modal-inner-bg);
1181+
input{
1182+
background-color: unset;
1183+
}
1184+
}
11711185
&__walletModel {
1172-
width: 390px;
1173-
margin: 10px 10px 25px;
1186+
width: 450px;
1187+
margin: 10px 4px 25px;
11741188
// font-family: 'Poppins';
11751189
background-color: var(--color-confirm-modal-inner-bg);
11761190
border-radius: 16px;
11771191
padding: 20px 20px 0px;
1178-
max-height: 300px;
1192+
max-height: 241px;
11791193
overflow-x: hidden;
11801194
}
11811195

@@ -1583,7 +1597,15 @@ label {
15831597
font-weight: 300;
15841598
}
15851599

1586-
.react-contexify__item:not(.react-contexify__item--disabled):hover>.react-contexify__item__content {
1600+
.react-contexify__item:not(.react-contexify__item--disabled):focus
1601+
> .react-contexify__item__content,
1602+
.react-contexify__item:not(.react-contexify__item--disabled):hover
1603+
> .react-contexify__item__content {
1604+
background-color: var(--color-context-menu-hover-bg) !important;
1605+
border-radius: 14px;
1606+
}
1607+
.react-contexify__item:not(.react-contexify__item--disabled):hover
1608+
> .react-contexify__item__content {
15871609
border-radius: 14px;
15881610
// background: #333842;
15891611
// color: var(--color-text-menu-highlighted);
@@ -1598,7 +1620,7 @@ label {
15981620

15991621
&.react-contexify__submenu {
16001622
top: 0px !important; // height of an item element
1601-
1623+
// right: 300px !important;
16021624
.react-contexify__item__content {
16031625
justify-content: start;
16041626
}
@@ -1801,7 +1823,7 @@ label {
18011823
left: 50%;
18021824
margin: -40px 0 0 -40px;
18031825

1804-
&>div {
1826+
& > div {
18051827
display: block;
18061828
}
18071829
}
@@ -2021,7 +2043,6 @@ label {
20212043
border-bottom: 0.5px solid var(--color-search-border);
20222044
border-radius: unset;
20232045
}
2024-
20252046
}
20262047

20272048
.bchat-settings {
@@ -3373,7 +3394,6 @@ label {
33733394
// }
33743395

33753396
&-syncStatus {
3376-
33773397
// position: relative;
33783398
// height: 30px;
33793399
// // width: 66.5%;
@@ -3449,7 +3469,8 @@ label {
34493469

34503470
&-filterInput {
34513471
// width: 315px;
3452-
width: 150px;
3472+
// width: 150px;
3473+
width: 220px;
34533474
border: none;
34543475
outline: none;
34553476
height: 40px;
@@ -3594,7 +3615,6 @@ label {
35943615
// width: 605px;
35953616
// width: 75%;
35963617
margin-left: 15px;
3597-
35983618

35993619
&-amount {
36003620
cursor: pointer;
@@ -3752,11 +3772,11 @@ label {
37523772
transition: $bchat-transition-duration;
37533773
}
37543774

3755-
input:hover+label:before {
3775+
input:hover + label:before {
37563776
background: var(--color-accent);
37573777
}
37583778

3759-
input:checked+label:before {
3779+
input:checked + label:before {
37603780
background: var(--color-accent);
37613781
}
37623782
}
@@ -3954,7 +3974,7 @@ input {
39543974
width: 100%;
39553975
// max-height: 400px;
39563976
overflow-y: auto;
3957-
height: 53%;
3977+
height: 100%;
39583978
// margin: auto 0 auto 0;
39593979
// border: var(--border-bchat);
39603980
// border-bottom: var(--border-bchat);
@@ -4023,7 +4043,7 @@ input {
40234043
}
40244044
}
40254045

4026-
.floated-downArrow-btn-wrapper+.downArrow-unreadCountBox {
4046+
.floated-downArrow-btn-wrapper + .downArrow-unreadCountBox {
40274047
background-color: #ffffff;
40284048
color: #000;
40294049
}
@@ -4155,7 +4175,7 @@ input {
41554175
opacity: 0.8;
41564176
}
41574177

4158-
&__avatar>div {
4178+
&__avatar > div {
41594179
margin-bottom: 0px !important;
41604180
}
41614181

@@ -4253,4 +4273,4 @@ input {
42534273
&:hover {
42544274
color: var(--color-context-menu-hover-bg);
42554275
}
4256-
}
4276+
}

stylesheets/_bchat_constants.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ $bchat-subtle-factor: 0.6;
228228
// Default Components
229229
$bchat-search-input-height: 34px;
230230
// $main-view-header-height: 63px;
231-
$main-view-header-height: 70px;
231+
// $main-view-header-height: 70px;
232+
$main-view-header-height: 90px;
232233

233234
$bchat-left-pane-width: 300px;
234235

0 commit comments

Comments
 (0)