mirror of https://github.com/PiyushXCoder/lupt.git
215 lines
3.5 KiB
CSS
215 lines
3.5 KiB
CSS
|
|
@import url(chota.min.css);
|
|
|
|
@font-face {
|
|
font-family: "Itim";
|
|
src: url("../img/Itim-Regular.ttf");
|
|
}
|
|
|
|
:root {
|
|
--bg-color: #ffffff;
|
|
--bg-secondary-color: #f3f3f6;
|
|
--color-primary: #14854F;
|
|
--color-lightGrey: #d2d6dd;
|
|
--color-grey: #747681;
|
|
--color-darkGrey: #3f4144;
|
|
--color-error: #d43939;
|
|
--color-success: #28bd14;
|
|
--grid-maxWidth: 120rem;
|
|
--grid-gutter: 2rem;
|
|
--font-size: 1.8rem;
|
|
--font-color: #333333;
|
|
--font-family-sans: "Itim";
|
|
--font-family-mono: monaco, "Consolas", "Lucida Console", monospace;
|
|
}
|
|
|
|
body > .container {
|
|
max-width: 720px;
|
|
}
|
|
|
|
form > div {
|
|
padding: 5px;
|
|
}
|
|
|
|
pre {
|
|
font-family: Itim;
|
|
font-size: 0.9em;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
white-space: pre-wrap;
|
|
background: none;
|
|
padding: 0.1rem;
|
|
}
|
|
|
|
textarea {
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 0.9em;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.bg-white {
|
|
background-color: white;
|
|
}
|
|
|
|
.cover-screen {
|
|
position: fixed;
|
|
top: 0; bottom: 0; left: 0; right: 0;
|
|
z-index: 999;
|
|
}
|
|
|
|
.chatpanel {
|
|
background-image: url(../img/pattern.svg);
|
|
background-size: 30px;
|
|
}
|
|
|
|
.chatpanel-top {
|
|
width: 100%;
|
|
height: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.chatpanel-mid {
|
|
height: calc(100% - 2*50px);
|
|
padding: 5px;
|
|
overflow-y: scroll;
|
|
}
|
|
|
|
.chatpanel-bot {
|
|
width: 100%;
|
|
height: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.chatpanel-top-l {
|
|
height: 50px;
|
|
position: fixed;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.chatpanel-top-m {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.chatpanel-top-r {
|
|
height: 50px;
|
|
float: right;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
}
|
|
|
|
.chatpanel-bot-l {
|
|
height: 50px;
|
|
width: 50px;
|
|
float: left;
|
|
padding: 1rem;
|
|
margin: 0px;
|
|
}
|
|
|
|
.chatpanel-bot-m {
|
|
width: calc(100% - 100px);
|
|
position: fixed;
|
|
bottom: 5px;
|
|
left: 50px;
|
|
}
|
|
|
|
.chatpanel-bot-r {
|
|
height: 50px;
|
|
width: 50px;
|
|
float: right;
|
|
padding: 0.2rem;
|
|
margin: 0px;
|
|
}
|
|
|
|
#send_box {
|
|
width: 100%;
|
|
height: 40px;
|
|
min-height: 40px;
|
|
word-wrap: break-word;
|
|
resize: none;
|
|
}
|
|
|
|
.status {
|
|
width: calc(100% - 6);
|
|
padding: 3px;
|
|
text-align: center;
|
|
}
|
|
|
|
.message {
|
|
padding: 0px 8px 3px 8px;
|
|
margin: 2px;
|
|
word-wrap: break-word;;
|
|
}
|
|
|
|
.message-other {
|
|
border-left: 5px solid #1E86D7;
|
|
background-color: #95C1E2;
|
|
}
|
|
|
|
.message-me {
|
|
border-left: 5px solid #2F848D;
|
|
background-color: #99C5C9;
|
|
}
|
|
|
|
.message-reply {
|
|
border-left: 5px solid #383C4A;
|
|
background-color: #DEDEDE;
|
|
}
|
|
|
|
.message .message-by {
|
|
font-size: 1.3rem;
|
|
font-style: italic;
|
|
text-decoration: underline;
|
|
padding-bottom: 1px;
|
|
}
|
|
|
|
.message-me.active {
|
|
border: 2px dashed #11603F;
|
|
border-left: 5px solid #11603F;
|
|
}
|
|
|
|
.message-other.active {
|
|
border: 2px dashed #104975;
|
|
border-left: 5px solid #104975;
|
|
}
|
|
|
|
.clip-win {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
padding: 6px;
|
|
margin: 5px;
|
|
bottom: 50px;
|
|
border: 1px dashed #1E86D7;
|
|
}
|
|
|
|
.clip-win.reply-clip {
|
|
width: calc(100% - 2*8px - 3*5px);
|
|
max-width: 720px;
|
|
height: 2em;
|
|
padding: 2px;
|
|
border-left: 5px solid #1E86D7;
|
|
border-radius: 0px 30px 30px 0px;
|
|
}
|
|
|
|
.clip-win.selected-clip {
|
|
width: fit-content;
|
|
min-width: 250px;
|
|
height: fit-content;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
border-radius: 15px;
|
|
}
|
|
|
|
.clip-win.action-clip {
|
|
border-radius: 10px;
|
|
width: calc(100% - 2*8px - 3*5px);
|
|
max-width: 720px;
|
|
}
|
|
|
|
@media screen and (max-width: 600px) {
|
|
div[name="error_msg"] {
|
|
width: 100%;
|
|
}
|
|
} |