1/** 2 * DokuWiki XMPP Live Support Chat Plugin - Custom Layout Stylesheet 3 */ 4 5/* Custom floating popup box layout */ 6#xmppsupport-chat-box { 7 display: none; 8 position: fixed; 9 bottom: 80px; 10 right: 20px; 11 width: 320px; 12 height: 400px; 13 background-color: #1e1e1e; 14 border: 1px solid #333; 15 border-radius: 8px; 16 box-shadow: 0 4px 20px rgba(0,0,0,0.5); 17 z-index: 2147483647; 18 flex-direction: column; 19 font-family: Arial, sans-serif; 20 color: #fff; 21} 22 23#xmppsupport-chat-header { 24 background-color: #7d80bd; 25 padding: 12px; 26 font-weight: bold; 27 border-top-left-radius: 7px; 28 border-top-right-radius: 7px; 29} 30 31#xmppsupport-chat-messages { 32 flex: 1; 33 padding: 10px; 34 overflow-y: auto; 35 font-size: 13px; 36 display: flex; 37 flex-direction: column; 38 gap: 8px; 39} 40 41.xmpp-msg { 42 padding: 6px 10px; 43 border-radius: 4px; 44 max-width: 80%; 45 word-wrap: break-word; 46} 47 48.xmpp-msg.incoming { 49 background-color: #7d80bd; 50 align-self: flex-start; 51} 52 53.xmpp-msg.outgoing { 54 /* background-color: #007bff; */ 55 align-self: flex-end; 56} 57 58#xmppsupport-chat-footer { 59 padding: 10px; 60 border-top: 1px solid #333; 61 display: flex; 62 gap: 5px; 63} 64 65#xmppsupport-chat-input { 66 flex: 1; 67 background-color: #2a2a2a; 68 border: 1px solid #444; 69 color: #fff; 70 padding: 6px; 71 border-radius: 4px; 72 outline: none; 73} 74 75#xmppsupport-chat-trigger:hover { 76 transform: scale(1.08); 77 transition: transform 0.2s ease-in-out; 78} 79