| 1 |
.spoki-button-relative * { |
| 2 |
box-sizing: border-box; |
| 3 |
} |
| 4 |
|
| 5 |
.spoki-button-relative { |
| 6 |
display: flex; |
| 7 |
flex-direction: column; |
| 8 |
width: auto; |
| 9 |
margin: 4px 0; |
| 10 |
overflow: hidden; |
| 11 |
} |
| 12 |
|
| 13 |
.spoki-button-relative > .spoki-button { |
| 14 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; |
| 15 |
-webkit-font-smoothing: antialiased; |
| 16 |
background-color: #23D366; |
| 17 |
color: white; |
| 18 |
display: flex; |
| 19 |
align-items: center; |
| 20 |
justify-content: center; |
| 21 |
width: max-content; |
| 22 |
max-width: 100%; |
| 23 |
line-height: 100%; |
| 24 |
text-decoration: none; |
| 25 |
margin-bottom: 0; |
| 26 |
} |
| 27 |
|
| 28 |
.spoki-button-relative > .spoki-button .spoki-wa-icon { |
| 29 |
margin: 0 2px 0 0; |
| 30 |
} |
| 31 |
|
| 32 |
.spoki-button-relative > .spoki-button:hover { |
| 33 |
opacity: 0.9; |
| 34 |
background-color: #23D366; |
| 35 |
} |
| 36 |
|
| 37 |
.spoki-button-relative > .spoki-button img { |
| 38 |
position: relative; |
| 39 |
min-height: unset; |
| 40 |
height: 12px; |
| 41 |
} |
| 42 |
|
| 43 |
.spoki-button-relative > .spoki-button img + span { |
| 44 |
margin-left: 6px; |
| 45 |
} |
| 46 |
|
| 47 |
.spoki-button-relative > .spoki-button span { |
| 48 |
color: white; |
| 49 |
overflow: hidden; |
| 50 |
text-overflow: ellipsis; |
| 51 |
white-space: nowrap; |
| 52 |
line-height: 100%; |
| 53 |
} |
| 54 |
|
| 55 |
.spoki-button-relative > .spoki-button.size-1 { |
| 56 |
padding: 6px 12px; |
| 57 |
font-size: 14px; |
| 58 |
border-radius: 12px; |
| 59 |
} |
| 60 |
|
| 61 |
.spoki-button-relative > .spoki-button.size-1 img { |
| 62 |
height: 12px; |
| 63 |
} |
| 64 |
|
| 65 |
.spoki-button-relative > .spoki-button.size-2, .spoki-button-relative > .spoki-button.size-4 { |
| 66 |
padding: 8px 14px; |
| 67 |
font-size: 12px; |
| 68 |
border-radius: 16px; |
| 69 |
} |
| 70 |
|
| 71 |
.spoki-button-relative > .spoki-button.size-2 img, .spoki-button-relative > .spoki-button.size-4 img { |
| 72 |
height: 16px; |
| 73 |
width: auto; |
| 74 |
} |
| 75 |
|
| 76 |
.spoki-button-relative > .spoki-button.size-3 { |
| 77 |
padding: 12px 24px; |
| 78 |
font-size: 18px; |
| 79 |
border-radius: 24px; |
| 80 |
} |
| 81 |
|
| 82 |
.spoki-button-relative > .spoki-button.size-3 img { |
| 83 |
height: 18px; |
| 84 |
} |
| 85 |
|
| 86 |
.spoki-button-relative > .spoki-button.size-4 { |
| 87 |
width: 100%; |
| 88 |
} |
| 89 |
|
| 90 |
#spoki-fixed-btn { |
| 91 |
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; |
| 92 |
-webkit-font-smoothing: antialiased; |
| 93 |
display: flex; |
| 94 |
flex-direction: column; |
| 95 |
align-items: center; |
| 96 |
justify-content: center; |
| 97 |
position: fixed; |
| 98 |
bottom: 24px; |
| 99 |
z-index: 9999; |
| 100 |
} |
| 101 |
|
| 102 |
#spoki-fixed-btn #spoki-chat-link { |
| 103 |
display: flex; |
| 104 |
background-color: #23D366; |
| 105 |
width: 50px; |
| 106 |
height: 50px; |
| 107 |
border-radius: 50%; |
| 108 |
cursor: pointer; |
| 109 |
align-items: center; |
| 110 |
justify-content: center; |
| 111 |
box-shadow: 0 3px 5px -1px rgba(0, 0, 0, 0.2); |
| 112 |
} |
| 113 |
|
| 114 |
#spoki-fixed-btn #spoki-chat-link:hover { |
| 115 |
opacity: 0.9; |
| 116 |
} |
| 117 |
|
| 118 |
#spoki-fixed-btn img { |
| 119 |
width: auto; |
| 120 |
height: auto; |
| 121 |
max-width: 32px; |
| 122 |
max-height: 32px; |
| 123 |
} |
| 124 |
|