Skip to content

Commit

Permalink
Merge pull request #132 from Beldex-Coin/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
codeman-crypto authored Dec 13, 2024
2 parents 2a02f3b + 22a41ae commit 8e96dd9
Show file tree
Hide file tree
Showing 80 changed files with 757 additions and 548 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Unlike other centralized messaging apps BChat never collect any user data like p
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.
Wtih BChat you own your data.
<br/><br/>
![BChatDesktop](https://bchat.beldex.io/blog/wp-content/uploads/2022/10/Your-Profile.png)
![BChatDesktop](https://bchat.beldex.io/img/Profile.png)

Contributing code
-----------------
Expand Down
2 changes: 1 addition & 1 deletion build/afterPackHook.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = async function(context) {
return;
}
// eslint-disable-next-line no-console
// console.log('afterPack hook triggered', context);


const executableName = context.packager.executableName;
const sourceExecutable = path.join(context.appOutDir, executableName);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "bchat-desktop",
"productName": "BChat",
"description": "Private messaging from your desktop",
"version": "2.5.0",
"version": "2.5.1",
"license": "GPL-3.0",
"author": {
"name": "Beldex team",
Expand Down
14 changes: 7 additions & 7 deletions stylesheets/_avatar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ $borderAvatarColor: unquote(
// border-radius: 50%;
flex-shrink: 0;
// border-radius: 7px;
overflow: hidden;
border-radius: 12px;
// overflow: hidden;
// border-radius: 12px;

img {
object-fit: cover;
Expand Down Expand Up @@ -97,11 +97,11 @@ $borderAvatarColor: unquote(
}

.module-avatar__icon-closed {
.module-avatar:first-child{
z-index: 1;
// box-shadow: 3px 3px 0px 0px rgba(0,0,0 ,75%);
box-shadow: 2px 2px 2px 0px var(--color-chatHeader);
}
// .module-avatar:first-child{
// z-index: 1;
// // box-shadow: 3px 3px 0px 0px rgba(0,0,0 ,75%);
// box-shadow: 2px 2px 2px 0px var(--color-chatHeader);
// }
.module-avatar:last-child {
position: absolute;
right: 0px;
Expand Down
74 changes: 47 additions & 27 deletions stylesheets/_bchat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ textarea {
opacity: 0.3;
}

.button-group>div {
.button-group > div {
display: inline-flex;
margin-inline-start: 5px;
margin-inline-end: 5px;
Expand Down Expand Up @@ -397,7 +397,6 @@ textarea {
&.brand,
&.medium {
&.secondary:hover:not(.disabled) {

background-color: var(--color-secondary-btn-hover-bg);
}

Expand Down Expand Up @@ -639,7 +638,6 @@ label {
}

.audio-message {

// height: 40px;
.timer {
width: 60px;
Expand Down Expand Up @@ -767,21 +765,21 @@ label {
padding: 25px;
padding-bottom: 0px;

font-family: $bchat-font-poppins-bold;
// font-family: $bchat-font-poppins-bold;
// text-align: center;
line-height: 18px;
font-size: $bchat-font-h3;
font-weight: 500;
font-size: $bchat-font-h2;
font-weight: 700;
margin-top: 10px;

&.reverse {
flex-direction: row-reverse;

.bchat-modal__header__close>div {
.bchat-modal__header__close > div {
float: right;
}

.bchat-modal__header__icons>div {
.bchat-modal__header__icons > div {
float: left;
padding-inline-start: 0px;
padding-inline-end: 10px;
Expand Down Expand Up @@ -816,13 +814,13 @@ label {
float: right;
}

&__close>div {
&__close > div {
float: left;
padding: $bchat-margin-xs;
margin: 0px;
}

&__icons>div {
&__icons > div {
float: right;
padding-inline-start: 10px;
}
Expand All @@ -841,7 +839,6 @@ label {
// }
.message {
text-align: center;

}

.bchat-id-editable {
Expand Down Expand Up @@ -1167,15 +1164,32 @@ label {
font-size: 16px;
text-align: left;
}
.currency-search {
height: 60px;
/* margin-inline-end: 1px; */
/* margin-bottom: 10px; */
display: inline-flex;
flex-shrink: 0;
padding: 0 21px;
border-radius: 16px;
border: 2px solid var(--color-search-border);
display: flex;
align-items: center;

width: 450px;
background-color: var(--color-confirm-modal-inner-bg);
input{
background-color: unset;
}
}
&__walletModel {
width: 390px;
margin: 10px 10px 25px;
width: 450px;
margin: 10px 4px 25px;
// font-family: 'Poppins';
background-color: var(--color-confirm-modal-inner-bg);
border-radius: 16px;
padding: 20px 20px 0px;
max-height: 300px;
max-height: 241px;
overflow-x: hidden;
}

Expand Down Expand Up @@ -1583,7 +1597,15 @@ label {
font-weight: 300;
}

.react-contexify__item:not(.react-contexify__item--disabled):hover>.react-contexify__item__content {
.react-contexify__item:not(.react-contexify__item--disabled):focus
> .react-contexify__item__content,
.react-contexify__item:not(.react-contexify__item--disabled):hover
> .react-contexify__item__content {
background-color: var(--color-context-menu-hover-bg) !important;
border-radius: 14px;
}
.react-contexify__item:not(.react-contexify__item--disabled):hover
> .react-contexify__item__content {
border-radius: 14px;
// background: #333842;
// color: var(--color-text-menu-highlighted);
Expand All @@ -1598,7 +1620,7 @@ label {

&.react-contexify__submenu {
top: 0px !important; // height of an item element

// right: 300px !important;
.react-contexify__item__content {
justify-content: start;
}
Expand Down Expand Up @@ -1801,7 +1823,7 @@ label {
left: 50%;
margin: -40px 0 0 -40px;

&>div {
& > div {
display: block;
}
}
Expand Down Expand Up @@ -2021,7 +2043,6 @@ label {
border-bottom: 0.5px solid var(--color-search-border);
border-radius: unset;
}

}

.bchat-settings {
Expand Down Expand Up @@ -3373,7 +3394,6 @@ label {
// }

&-syncStatus {

// position: relative;
// height: 30px;
// // width: 66.5%;
Expand Down Expand Up @@ -3449,7 +3469,8 @@ label {

&-filterInput {
// width: 315px;
width: 150px;
// width: 150px;
width: 220px;
border: none;
outline: none;
height: 40px;
Expand Down Expand Up @@ -3594,7 +3615,6 @@ label {
// width: 605px;
// width: 75%;
margin-left: 15px;


&-amount {
cursor: pointer;
Expand Down Expand Up @@ -3752,11 +3772,11 @@ label {
transition: $bchat-transition-duration;
}

input:hover+label:before {
input:hover + label:before {
background: var(--color-accent);
}

input:checked+label:before {
input:checked + label:before {
background: var(--color-accent);
}
}
Expand Down Expand Up @@ -3954,7 +3974,7 @@ input {
width: 100%;
// max-height: 400px;
overflow-y: auto;
height: 53%;
height: 100%;
// margin: auto 0 auto 0;
// border: var(--border-bchat);
// border-bottom: var(--border-bchat);
Expand Down Expand Up @@ -4023,7 +4043,7 @@ input {
}
}

.floated-downArrow-btn-wrapper+.downArrow-unreadCountBox {
.floated-downArrow-btn-wrapper + .downArrow-unreadCountBox {
background-color: #ffffff;
color: #000;
}
Expand Down Expand Up @@ -4155,7 +4175,7 @@ input {
opacity: 0.8;
}

&__avatar>div {
&__avatar > div {
margin-bottom: 0px !important;
}

Expand Down Expand Up @@ -4253,4 +4273,4 @@ input {
&:hover {
color: var(--color-context-menu-hover-bg);
}
}
}
3 changes: 2 additions & 1 deletion stylesheets/_bchat_constants.scss
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,8 @@ $bchat-subtle-factor: 0.6;
// Default Components
$bchat-search-input-height: 34px;
// $main-view-header-height: 63px;
$main-view-header-height: 70px;
// $main-view-header-height: 70px;
$main-view-header-height: 90px;

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

Expand Down
Loading

0 comments on commit 8e96dd9

Please sign in to comment.