first commit

This commit is contained in:
编码猿
2024-09-27 02:06:13 +08:00
commit 852d94fbb9
36760 changed files with 3274413 additions and 0 deletions

View File

@@ -0,0 +1,268 @@
body {
display: flex;
flex-direction: column;
height: 100vh;
}
.header {
-webkit-app-region: drag;
}
.header {
height: 55px;
background: #e7e6e6;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 15px;
}
.header .room_name {
font-size: 18px;
font-weight: bold;
}
.header .user {
display: flex;
align-items: center;
font-size: 18px;
}
.header .user .name{
font-size: 16px;
}
.header .user img{
margin-right: 10px;
width: 30px;
height: 30px;
border-radius: 100%;
margin-left: 10px;
}
.content {
height: calc(100% - 155px);
display: flex;
}
.content .c_left{
width: 80%;
padding: 10px 15px 0 10px;
overflow-y: scroll;
background: rgb(245 246 247);
height: 100%;
}
.c_left li {
margin-bottom: 25px;
}
.c_left li .time {
text-align: center;
color: #c4c1c1;
font-size: 12px;
line-height: 1;
}
.c_left li .item{
display: flex;
}
.c_left li .item > img{
width: 35px;
height: 35px;
border-radius: 100%;
margin-right: 9px;
}
.m_r {}
.m_r .text{
order: -1;
}
.m_r .name{
text-align: right;
}
.m_r .item {
justify-content: flex-end;
}
.m_r .item > img{
margin-right: 0px !important;
margin-left: 9px;
}
.m_r .message{
background: rgb(30 100 255) !important;
color: #fff !important;
}
.c_left li .text{
max-width: calc(100% - 87px);
}
.c_left li .text .name{
color: #898888;
margin-bottom: 8px;
}
.c_left li .text .name span{
padding: 2px 5px;
color: #fff;
border-radius: 4px;
font-size: 11px;
line-height: 1;
}
.tips_qz {
background: #fdd509;
}
.tips_gly {
background: #25ed7a;
}
.c_left li .text .message{
padding: 7px 12px;
background: #fff;
color: #000;
border-radius: 9px;
word-break: break-all;
word-wrap: break-word;
}
.c_left li .text .message .emote_img {
width: 25px !important;
height: 25px !important;
}
.c_left li .text .message .gif_img {
height: 50%;
}
.system_message {
text-align: center;
}
.system_message span {
padding: 4px 8px;
background: #d8d8d8;
border-radius: 5px;
color: #a49e9e;
}
.content .c_right{
width: 20%;
background: #f6f7f9;
display: flex;
flex-direction: column;
padding: 10px;
padding-bottom: 0;
border-left: 1px solid #f3eded;
}
.c_right .title {
margin-bottom: 10px;
font-size: 14px;
font-weight: 500;
}
.c_right ul {
flex: 1;
overflow-y: scroll;
}
.c_right ul li {
height: 40px;
display: flex;
justify-content: space-between;
align-items: center;
}
.c_right ul li .qz{
color: #f7ca2f;
}
.c_right ul li .gly{
color: #6eb5f4;
}
.c_right ul li .use img{
width: 25px;
height: 25px;
border-radius: 100%;
}
.c_right ul li .use span{}
.footer {
height: 100px;
display: flex;
flex-direction: column;
}
.gif img {
width: 80px;
height: 80px;
cursor: pointer;
}
.footer .f_action{
height: 30px;
display: flex;
align-items: center;
border-top: 1px solid #f3eded;
padding: 0 15px;
position: relative;
}
.f_action i {
margin-right: 14px;
font-size: 18px;
cursor: pointer;
}
.f_action .menu {
position: absolute;
width: 460px;
height: 300px;
background: #fff;
border-radius: 4px;
bottom: 33px;
box-shadow: 1px 1px 9px #e2e2e2;
left: 6px;
border: 1px solid #e2e2e2;
box-sizing: border-box;
}
.f_action .menu .menu_title{
font-size: 14px;
height: 35px;
display: flex;
align-items: center;
border-bottom: 1px solid #f1f1f1;
padding: 0 10px;
}
.f_action .menu .menu_list{
padding: 10px 10px;
height: calc(100% - 75px);
box-sizing: border-box;
}
.f_action .menu .menu_list .menu_item{
display: none;
height: 100%;
overflow-y: scroll;
}
.f_action .menu .menu_list .active{
display: block !important;
}
.menu_list .emote {
font-size: 0;
}
.menu_list .emote img {
width: 25px;
height: 25px;
cursor: pointer;
}
.f_action .menu .menu_footer{
display: flex;
height: 40px;
align-items: center;
background: #f1f1f1;
}
.f_action .menu .menu_footer li{
width: 16%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
.f_action .menu .menu_footer .active {
background: #fff;
}
.footer .input{
padding: 0 9px;
line-height: 1.2;
flex: 1;
overflow-y: scroll;
outline: none;
font-size: 16px;
}
.footer .input img {
width: 25px;
height: 25px;
}
.m_r .noback {
background: transparent !important;
}

View File

@@ -0,0 +1,34 @@
.login {
width: 251px;
height: 320px;
background: #fff;
border-radius: 10px;
box-shadow: 0px 0px 17px #e7e5e5;
text-align: center;
}
.login .user_img{
width: 100px;
height: 100px;
border-radius: 100%;
margin-bottom: 50px;
margin-top: 30px;
}
.login input{
width: 185px;
border: none;
border-bottom: 1px solid #f1f1f1;
padding-bottom: 8px;
font-size: 12px;
color: #929090;
margin-bottom: 10px;
}
.login i{
font-size: 21px;
margin-top: 9px;
color: #b7b1b1;
display: inline-block;
}
.modal-body img {
width: 50px;
height: 50px;
}

View File

@@ -0,0 +1,401 @@
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
body {
/* font-size: 0; */
}
html {
line-height: 1;
-webkit-text-size-adjust: 100%;
/* 2 */
}
/* Sections
========================================================================== */
/**
* Remove the margin in all browsers.
*/
body,
ul,
li,
p,
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0;
padding: 0;
list-style: none;
}
::-webkit-scrollbar {
width: 0;
height: 0;
}
/**
* Render the `main` element consistently in IE.
*/
main {
display: block;
}
/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
hr {
box-sizing: content-box;
/* 1 */
height: 0;
/* 1 */
overflow: visible;
/* 2 */
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
pre {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
/* Text-level semantics
========================================================================== */
/**
* Remove the gray background on active links in IE 10.
*/
a {
background-color: transparent;
text-decoration: none;
color: #000;
}
/**
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
border-bottom: none;
/* 1 */
text-decoration: underline;
/* 2 */
text-decoration: underline dotted;
/* 2 */
}
/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/
b,
strong {
font-weight: bolder;
}
/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
code,
kbd,
samp {
font-family: monospace, monospace;
/* 1 */
font-size: 1em;
/* 2 */
}
/**
* Add the correct font size in all browsers.
*/
small {
font-size: 80%;
}
/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
/* Embedded content
========================================================================== */
/**
* Remove the border on images inside links in IE 10.
*/
img {
border-style: none;
}
/* Forms
========================================================================== */
/**
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
/* 1 */
font-size: 100%;
/* 1 */
line-height: 1.15;
/* 1 */
margin: 0;
/* 2 */
}
/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
button,
input {
/* 1 */
overflow: visible;
outline: none;
}
/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
button,
select {
/* 1 */
text-transform: none;
}
/**
* Correct the inability to style clickable types in iOS and Safari.
*/
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
}
/**
* Remove the inner border and padding in Firefox.
*/
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
* Restore the focus styles unset by the previous rule.
*/
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
* Correct the padding in Firefox.
*/
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
legend {
box-sizing: border-box;
/* 1 */
color: inherit;
/* 2 */
display: table;
/* 1 */
max-width: 100%;
/* 1 */
padding: 0;
/* 3 */
white-space: normal;
/* 1 */
}
/**
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
vertical-align: baseline;
}
/**
* Remove the default vertical scrollbar in IE 10+.
*/
textarea {
overflow: auto;
}
/**
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
/* 1 */
padding: 0;
/* 2 */
}
/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
[type="search"] {
-webkit-appearance: textfield;
/* 1 */
outline-offset: -2px;
/* 2 */
}
/**
* Remove the inner padding in Chrome and Safari on macOS.
*/
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
::-webkit-file-upload-button {
-webkit-appearance: button;
/* 1 */
font: inherit;
/* 2 */
}
/* Interactive
========================================================================== */
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
* Add the correct display in IE 10+.
*/
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}