Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
BoxDialer
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
BoxDialer
Commits
73cdee9b
Commit
73cdee9b
authored
Oct 16, 2023
by
Muhammadali
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update-
parent
5f58606d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
19 deletions
+34
-19
style.js
src/components/DropDown/style.js
+13
-2
style.js
src/components/ModalPhoneNumpad/style.js
+9
-6
index.css
src/index.css
+2
-1
index.jsx
src/root/index.jsx
+10
-10
No files found.
src/components/DropDown/style.js
View file @
73cdee9b
...
...
@@ -38,8 +38,14 @@ DropDownStyle.Window = styled.div`
z-index: 99999999;
`
;
DropDownStyle
.
DropDown
=
styled
.
div
`
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
padding: 3px 3px 30px 3px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
clip-path: polygon(100% 0, 100% 93%, 57% 93%, 50% 100%, 43% 93%, 0 93%, 0 0);
z-index: 99999999999;
border-radius: 10px;
/* border-radius: 10px; */
background-color: #fff;
position: absolute;
bottom: 25px;
...
...
@@ -49,14 +55,19 @@ DropDownStyle.DropDown = styled.div`
gap: 5px;
width: 150px;
transition: 0.1s;
padding: 10px 0;
/* padding: 10px 0; */
.select {
padding: 5px 10px;
white-space: nowrap;
color: #111827;
font-size: 20px;
margin: 2px 0;
border-radius: 10px;
:hover {
background-color: #e9e9e9;
margin: 2px 0;
border-radius: 10px;
padding: 5px 10px;
}
}
${({
visiblevalue
})
=>
...
...
src/components/ModalPhoneNumpad/style.js
View file @
73cdee9b
...
...
@@ -186,15 +186,17 @@ NumberButton.CallButtonModal = styled.div`
position: absolute;
z-index: 99999999999;
width: 130px;
height: 160px;
bottom: 40px;
transform: translate(-50%, 0);
left: 50%;
background-color: #fff;
border-radius: 10px;
padding: 3px;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
padding: 3px 3px 15px 3px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
transition: 0.1s;
clip-path: polygon(100% 0, 100% 93%, 57% 93%, 50% 100%, 43% 93%, 0 93%, 0 0);
${({
visiblevalue
})
=>
visiblevalue
?
{
...
...
@@ -219,13 +221,14 @@ NumberButton.CallButtonModalInset = styled.div`
.
num_item
{
color
:
#
000
;
transition
:
0.2
s
;
padding
:
7
px
4
px
;
/* padding: 7px 4px; */
padding
:
5
px
10
px
;
font
-
size
:
20
px
;
margin
:
2
px
0
;
border
-
radius
:
10
px
;
:
hover
{
background
-
color
:
#
0000001
a
;
padding
:
7
px
4
px
;
padding
:
5
px
10
px
;
margin
:
2
px
0
;
border
-
radius
:
10
px
;
}
...
...
src/index.css
View file @
73cdee9b
html
,
body
{
background-color
:
blue
;
margin
:
0
;
padding
:
0
;
height
:
100%
;
...
...
@@ -13,4 +14,4 @@ body {
-moz-user-select
:
none
;
-ms-user-select
:
none
;
user-select
:
none
;
}
}
\ No newline at end of file
src/root/index.jsx
View file @
73cdee9b
...
...
@@ -64,16 +64,16 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
setInnerCallerModal
,
'
innerCallerModal
'
,
);
console
.
log
(
'
isUaRunning: ==========---------------
'
,
typeof
window
.
BX
!==
'
undefined
'
,
window
.
localStorage
.
getItem
(
BX
.
bitrix_sessid
()
+
'
_mycall
'
),
window
.
localStorage
.
getItem
(
'
mycall
'
),
'
============================
'
,
Boolean
(
typeof
window
.
BX
!==
'
undefined
'
),
Boolean
(
window
.
localStorage
.
getItem
(
BX
.
bitrix_sessid
()
+
'
_mycall
'
)),
Boolean
(
window
.
localStorage
.
getItem
(
'
mycall
'
)),
);
//
console.log(
//
'isUaRunning: ==========---------------',
//
typeof window.BX !== 'undefined',
//
window.localStorage.getItem(BX.bitrix_sessid() + '_mycall'),
//
window.localStorage.getItem('mycall'),
//
'============================',
//
Boolean(typeof window.BX !== 'undefined'),
//
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')),
//
Boolean(window.localStorage.getItem('mycall')),
//
);
if
(
boxDialer
.
isUaRunning
())
{
console
.
log
(
'
UA is running! in other tab
'
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment