mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
Betterchat v1
This commit is contained in:
105
resources/[system]/chat/html/index.css
Normal file
105
resources/[system]/chat/html/index.css
Normal file
@@ -0,0 +1,105 @@
|
||||
* {
|
||||
font-family: 'Lato', sans-serif;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.no-grow {
|
||||
flex-grow: 0;
|
||||
}
|
||||
|
||||
|
||||
#app {
|
||||
font-family: 'Lato', Helvetica, Arial, sans-serif;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.chat-window {
|
||||
position: absolute;
|
||||
top: 15px;
|
||||
left: 15px;
|
||||
width: 38%;
|
||||
height: 240px;
|
||||
|
||||
background-color: rgba(52, 73, 94, 0.7);
|
||||
-webkit-animation-duration: 2s;
|
||||
}
|
||||
|
||||
|
||||
.chat-messages {
|
||||
position: relative;
|
||||
height: 95%;
|
||||
font-size: 1.2rem;
|
||||
margin: 5px;
|
||||
|
||||
overflow-x: hidden;
|
||||
overflow-y: hidden;
|
||||
}
|
||||
|
||||
|
||||
.chat-input {
|
||||
font-size: 1.2rem;
|
||||
position: absolute;
|
||||
|
||||
top: 257px;
|
||||
left: 15px;
|
||||
width: 38%;
|
||||
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.prefix {
|
||||
position: absolute;
|
||||
margin-top: 2px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-size: 1.1rem;
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
padding: 5px;
|
||||
padding-left: 27px;
|
||||
color: white;
|
||||
background-color: rgba(44, 62, 80, 1.0);
|
||||
width: 100%;
|
||||
border-width: 0;
|
||||
height: 34px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.msg {
|
||||
margin-bottom: 3px;
|
||||
}
|
||||
|
||||
.multiline {
|
||||
margin-left: 1.5rem;
|
||||
text-indent: -1.5rem;
|
||||
white-space: pre-line;
|
||||
}
|
||||
|
||||
.suggestions {
|
||||
list-style-type: none;
|
||||
padding: 5px;
|
||||
padding-left: 27px;
|
||||
font-size: 1.1rem;
|
||||
box-sizing: border-box;
|
||||
color: white;
|
||||
background-color: rgba(44, 62, 80, 1.0);
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.help {
|
||||
color: #b0bbbd;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
color: #b0bbbd;
|
||||
}
|
||||
|
||||
.suggestion {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
Reference in New Issue
Block a user