Commit 73cdee9b authored by Muhammadali's avatar Muhammadali

update-

parent 5f58606d
...@@ -38,8 +38,14 @@ DropDownStyle.Window = styled.div` ...@@ -38,8 +38,14 @@ DropDownStyle.Window = styled.div`
z-index: 99999999; z-index: 99999999;
`; `;
DropDownStyle.DropDown = styled.div` 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; z-index: 99999999999;
border-radius: 10px; /* border-radius: 10px; */
background-color: #fff; background-color: #fff;
position: absolute; position: absolute;
bottom: 25px; bottom: 25px;
...@@ -49,14 +55,19 @@ DropDownStyle.DropDown = styled.div` ...@@ -49,14 +55,19 @@ DropDownStyle.DropDown = styled.div`
gap: 5px; gap: 5px;
width: 150px; width: 150px;
transition: 0.1s; transition: 0.1s;
padding: 10px 0; /* padding: 10px 0; */
.select { .select {
padding: 5px 10px; padding: 5px 10px;
white-space: nowrap; white-space: nowrap;
color: #111827; color: #111827;
font-size: 20px; font-size: 20px;
margin: 2px 0;
border-radius: 10px;
:hover { :hover {
background-color: #e9e9e9; background-color: #e9e9e9;
margin: 2px 0;
border-radius: 10px;
padding: 5px 10px;
} }
} }
${({ visiblevalue }) => ${({ visiblevalue }) =>
......
...@@ -186,15 +186,17 @@ NumberButton.CallButtonModal = styled.div` ...@@ -186,15 +186,17 @@ NumberButton.CallButtonModal = styled.div`
position: absolute; position: absolute;
z-index: 99999999999; z-index: 99999999999;
width: 130px; width: 130px;
height: 160px;
bottom: 40px; bottom: 40px;
transform: translate(-50%, 0); transform: translate(-50%, 0);
left: 50%; left: 50%;
background-color: #fff; background-color: #fff;
border-radius: 10px; border-bottom-left-radius: 30px;
padding: 3px; border-bottom-right-radius: 30px;
padding: 3px 3px 15px 3px;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
transition: 0.1s; transition: 0.1s;
clip-path: polygon(100% 0, 100% 93%, 57% 93%, 50% 100%, 43% 93%, 0 93%, 0 0);
${({ visiblevalue }) => ${({ visiblevalue }) =>
visiblevalue visiblevalue
? { ? {
...@@ -219,13 +221,14 @@ NumberButton.CallButtonModalInset = styled.div` ...@@ -219,13 +221,14 @@ NumberButton.CallButtonModalInset = styled.div`
.num_item { .num_item {
color: #000; color: #000;
transition: 0.2s; transition: 0.2s;
padding: 7px 4px; /* padding: 7px 4px; */
padding: 5px 10px;
font-size: 20px; font-size: 20px;
margin: 2px 0; margin: 2px 0;
border-radius: 10px; border-radius: 10px;
:hover { :hover {
background-color: #0000001a; background-color: #0000001a;
padding: 7px 4px; padding: 5px 10px;
margin: 2px 0; margin: 2px 0;
border-radius: 10px; border-radius: 10px;
} }
......
html, html,
body { body {
background-color: blue;
margin: 0; margin: 0;
padding: 0; padding: 0;
height: 100%; height: 100%;
...@@ -13,4 +14,4 @@ body { ...@@ -13,4 +14,4 @@ body {
-moz-user-select: none; -moz-user-select: none;
-ms-user-select: none; -ms-user-select: none;
user-select: none; user-select: none;
} }
\ No newline at end of file
...@@ -64,16 +64,16 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => { ...@@ -64,16 +64,16 @@ const Root = ({ wsphonedata, onSetDnd, setWsphonedata, callMethod }) => {
setInnerCallerModal, setInnerCallerModal,
'innerCallerModal', 'innerCallerModal',
); );
console.log( // console.log(
'isUaRunning: ==========---------------', // 'isUaRunning: ==========---------------',
typeof window.BX !== 'undefined', // typeof window.BX !== 'undefined',
window.localStorage.getItem(BX.bitrix_sessid() + '_mycall'), // window.localStorage.getItem(BX.bitrix_sessid() + '_mycall'),
window.localStorage.getItem('mycall'), // window.localStorage.getItem('mycall'),
'============================', // '============================',
Boolean(typeof window.BX !== 'undefined'), // Boolean(typeof window.BX !== 'undefined'),
Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')), // Boolean(window.localStorage.getItem(BX.bitrix_sessid() + '_mycall')),
Boolean(window.localStorage.getItem('mycall')), // Boolean(window.localStorage.getItem('mycall')),
); // );
if (boxDialer.isUaRunning()) { if (boxDialer.isUaRunning()) {
console.log('UA is running! in other tab'); console.log('UA is running! in other tab');
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment