Commit daa26476 authored by Muhammadali's avatar Muhammadali

update version: 1.1.0

parent 29b4936a
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.0.9", "version": "1.1.0",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -5,11 +5,6 @@ import CallIcon from '@mui/icons-material/Dialpad'; ...@@ -5,11 +5,6 @@ import CallIcon from '@mui/icons-material/Dialpad';
import { boxDialerWidjetPosition } from '../../lib/boxDialerWidjetPosition'; import { boxDialerWidjetPosition } from '../../lib/boxDialerWidjetPosition';
const BxMiniWidjetUiStyle = styled.div` const BxMiniWidjetUiStyle = styled.div`
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
background-color: ${({ status = '' }) => background-color: ${({ status = '' }) =>
status === 'pending' status === 'pending'
...@@ -41,21 +36,31 @@ const BxMiniWidjetUiStyle = styled.div` ...@@ -41,21 +36,31 @@ const BxMiniWidjetUiStyle = styled.div`
display: flex; display: flex;
flex-direction: column; flex-direction: column;
align-items: center; align-items: center;
margin: 0;
padding: 0;
box-sizing: border-box;
} }
.right { .right {
} }
.title { .title {
font-size: 20px; font-size: 20px;
font-weight: 600; font-weight: 600;
margin: 0;
padding: 0;
box-sizing: border-box;
} }
.bottom { .bottom {
height: 100%; height: 100%;
grid-column: 1/3; grid-column: 1/3;
grid-row: 2/3; grid-row: 2/3;
margin: 0;
padding: 0;
box-sizing: border-box;
} }
`; `;
BxMiniWidjetUiStyle.ReasonTest = styled.div` BxMiniWidjetUiStyle.ReasonTest = styled.div`
box-sizing: border-box;
border-radius: 10px; border-radius: 10px;
padding: 0 1px; padding: 0 1px;
margin: 0 5px; margin: 0 5px;
...@@ -72,6 +77,8 @@ BxMiniWidjetUiStyle.ReasonTest = styled.div` ...@@ -72,6 +77,8 @@ BxMiniWidjetUiStyle.ReasonTest = styled.div`
}} }}
`; `;
BxMiniWidjetUiStyle.StatusLine = styled.div` BxMiniWidjetUiStyle.StatusLine = styled.div`
margin: 0;
box-sizing: border-box;
height: 100%; height: 100%;
border-bottom-left-radius: 30px; border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px; border-bottom-right-radius: 30px;
......
...@@ -5,11 +5,9 @@ import CallIcon from '@mui/icons-material/Dialpad'; ...@@ -5,11 +5,9 @@ import CallIcon from '@mui/icons-material/Dialpad';
import { boxDialerWidjetPosition } from '../../lib/boxDialerWidjetPosition'; import { boxDialerWidjetPosition } from '../../lib/boxDialerWidjetPosition';
const DefaultWidjetStyle = styled.div` const DefaultWidjetStyle = styled.div`
* {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
}
height: 70px; height: 70px;
min-width: 180px; min-width: 180px;
......
...@@ -5,11 +5,9 @@ import CallIcon from '@mui/icons-material/Dialpad'; ...@@ -5,11 +5,9 @@ import CallIcon from '@mui/icons-material/Dialpad';
import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace'; import KeyboardBackspaceIcon from '@mui/icons-material/KeyboardBackspace';
const WidjetBlock = styled.div` const WidjetBlock = styled.div`
* {
margin: 0; margin: 0;
padding: 0; padding: 0;
box-sizing: border-box; box-sizing: border-box;
}
position: fixed; position: fixed;
bottom: 30px; bottom: 30px;
left: 50px; left: 50px;
......
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