Files
VRCX/html/src/vr.scss
2020-11-01 13:17:05 +09:00

277 lines
5.1 KiB
SCSS

@charset "utf-8";
//
// Copyright(c) 2019-2020 pypy and individual contributors.
// All rights reserved.
//
// This work is licensed under the terms of the MIT license.
// For a copy, see <https://opensource.org/licenses/MIT>.
//
@import "~normalize.css/normalize.css";
@import "~animate.css/animate.min.css";
@import "~noty/lib/noty.css";
@import "~element-ui/lib/theme-chalk/index.css";
/*
마지노선인듯
화면 24px -> 나나 32
손등 18px -> 나나 24
*/
.noty_body {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.noty_layout {
width: 80% !important;
max-width: none;
}
.noty_theme__relax.noty_bar,
.noty_theme__sunset.noty_bar {
position: relative;
margin: 4px 0;
overflow: hidden;
border-radius: 2px;
}
.noty_theme__relax.noty_bar .noty_body,
.noty_theme__sunset.noty_bar .noty_body {
padding: 5px 10px 10px;
font-size: 15px;
text-align: center;
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}
.noty_theme__relax.noty_bar .noty_buttons,
.noty_theme__sunset.noty_bar .noty_buttons {
padding: 5px 10px;
}
.noty_theme__relax.noty_type__alert,
.noty_theme__relax.noty_type__notification {
color: #444;
background-color: #fff;
border: 1px solid #dedede;
}
.noty_theme__relax.noty_type__warning {
color: #826200;
background-color: #ffeaa8;
border: 1px solid #ffc237;
}
.noty_theme__relax.noty_type__warning .noty_buttons {
border-color: #dfaa30;
}
.noty_theme__relax.noty_type__error {
color: #fff;
background-color: #ff8181;
border: 1px solid #e25353;
}
.noty_theme__relax.noty_type__error .noty_buttons {
border-color: #8b0000;
}
.noty_theme__relax.noty_type__info,
.noty_theme__relax.noty_type__information {
color: #fff;
background-color: #78c5e7;
border: 1px solid #3badd6;
}
.noty_theme__relax.noty_type__info .noty_buttons,
.noty_theme__relax.noty_type__information .noty_buttons {
border-color: #0b90c4;
}
.noty_theme__relax.noty_type__success {
color: #006400;
background-color: #bcf5bc;
border: 1px solid #7cdd77;
}
.noty_theme__relax.noty_type__success .noty_buttons {
border-color: #50c24e;
}
.noty_theme__sunset.noty_type__alert,
.noty_theme__sunset.noty_type__notification {
color: #fff;
background-color: #073b4c;
}
.noty_theme__sunset.noty_type__alert .noty_progressbar,
.noty_theme__sunset.noty_type__notification .noty_progressbar {
background-color: #fff;
}
.noty_theme__sunset.noty_type__warning {
color: #fff;
background-color: #ffd166;
}
.noty_theme__sunset.noty_type__error {
color: #fff;
background-color: #ef476f;
}
.noty_theme__sunset.noty_type__info,
.noty_theme__sunset.noty_type__information {
color: #fff;
background-color: #118ab2;
}
.noty_theme__sunset.noty_type__success {
color: #fff;
background-color: #06d6a0;
}
.noty_theme__sunset.noty_type__error .noty_progressbar {
opacity: 0.4;
}
.noty_theme__sunset.noty_type__info .noty_progressbar,
.noty_theme__sunset.noty_type__information .noty_progressbar {
opacity: 0.6;
}
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background: rgba(0, 0, 0, 0.1);
border-radius: 16px;
}
::-webkit-scrollbar-thumb {
background: rgba(0, 0, 0, 0.25);
border-radius: 16px;
}
body,
input,
textarea,
select,
button {
font-family: "Noto Sans JP", "Noto Sans KR", "Meiryo UI", "Malgun Gothic", "Segoe UI", sans-serif;
line-height: normal;
}
.x-app {
position: absolute;
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
overflow: hidden;
}
.x-app-type {
color: #fff;
background: #1f1f1f;
}
.x-container {
position: relative;
flex: none;
padding: 10px;
overflow: hidden auto;
}
.x-friend-item {
box-sizing: border-box;
display: flex;
align-items: center;
font-size: 18px;
}
.x-friend-item .time {
margin-right: 5px;
}
.x-friend-item .name {
font-weight: bold;
}
.x-friend-item.friend .name {
color: #fff;
}
.x-friend-item.favorite .name {
color: #ff0;
}
.x-friend-item > .avatar {
position: relative;
display: inline-block;
flex: none;
width: 40px;
height: 40px;
margin-right: 8px;
}
.x-friend-item > img.avatar {
width: 50px;
height: 37.5px;
margin-right: 0;
margin-left: 5px;
border-radius: 2px;
}
.x-friend-item > .avatar > img {
width: 100%;
height: 100%;
border-radius: 40%;
object-fit: cover;
}
.x-friend-item > .detail {
flex: 1;
overflow: hidden;
}
.x-friend-item > .detail > .name,
.x-friend-item > .detail > .extra {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.x-friend-item > .detail > .name {
font-weight: bold;
}
.x-friend-item > .detail > .extra {
font-weight: normal;
}
i.x-user-status {
display: inline-block;
width: 14px;
height: 14px;
background: #808080;
border-radius: 50%;
}
i.x-user-status.active {
background: #67c23a;
}
i.x-user-status.joinme {
background: #409eff;
}
i.x-user-status.busy {
background: #f56c6c;
}