Skip to content

Commit 19a049a

Browse files
Adjust chat button
1 parent 737c548 commit 19a049a

1 file changed

Lines changed: 10 additions & 5 deletions

File tree

EssentialCSharp.Web/wwwroot/css/chat-widget.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
}
5353

5454
/* Chat trigger button */
55-
.chat-button {
55+
.chat-widget .chat-button {
5656
background: linear-gradient(135deg, #1976d2 0%, #1565c0 50%, #0d47a1 100%);
5757
border: none;
5858
border-radius: 28px;
@@ -98,7 +98,7 @@
9898
height: 120%;
9999
}
100100

101-
.chat-button:hover {
101+
.chat-widget .chat-button:hover {
102102
background: linear-gradient(135deg, #1565c0 0%, #0d47a1 50%, #1a237e 100%);
103103
box-shadow:
104104
0 5px 5px -3px rgba(0,0,0,.2),
@@ -108,7 +108,7 @@
108108
transform: translateY(-2px) scale(1.02);
109109
}
110110

111-
.chat-button:focus {
111+
.chat-widget .chat-button:focus {
112112
outline: 3px solid rgba(25, 118, 210, 0.3);
113113
outline-offset: 2px;
114114
box-shadow:
@@ -118,7 +118,7 @@
118118
0 0 0 3px rgba(25, 118, 210, 0.3);
119119
}
120120

121-
.chat-button:active {
121+
.chat-widget .chat-button:active {
122122
box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.12), 0 1px 5px 0 rgba(0,0,0,.2);
123123
}
124124

@@ -144,7 +144,12 @@
144144
}
145145
}
146146

147-
.chat-button-text {
147+
.chat-widget .chat-button-text,
148+
.chat-widget .chat-button i {
149+
color: white;
150+
}
151+
152+
.chat-widget .chat-button-text {
148153
margin-left: 4px;
149154
white-space: nowrap;
150155
}

0 commit comments

Comments
 (0)