mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-11 02:43:50 +02:00
convert indention to spaces
This commit is contained in:
@@ -8,318 +8,318 @@ For a copy, see <https://opensource.org/licenses/MIT>.
|
||||
*/
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 16px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 16px;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.el-loading-mask {
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
background-color: rgba(0, 0, 0, 0.6);
|
||||
}
|
||||
|
||||
.el-input__inner {
|
||||
background-color: #444444;
|
||||
border: #333333;
|
||||
background-color: #444444;
|
||||
border: #333333;
|
||||
}
|
||||
|
||||
.el-table td, .el-table th.is-leaf {
|
||||
background-color: #292929;
|
||||
border-bottom: 1px solid #5f5f5f;
|
||||
background-color: #292929;
|
||||
border-bottom: 1px solid #5f5f5f;
|
||||
}
|
||||
|
||||
.el-table--border::after, .el-table--group::after, .el-table::before {
|
||||
background-color: #5f5f5f;
|
||||
background-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-table--striped .el-table__body tr.el-table__row--striped td {
|
||||
background-color: #202020;
|
||||
background-color: #202020;
|
||||
}
|
||||
|
||||
.el-table--enable-row-hover .el-table__body tr:hover>td {
|
||||
background-color: #323232;
|
||||
background-color: #323232;
|
||||
}
|
||||
|
||||
.el-pagination .btn-next, .el-pagination .btn-prev {
|
||||
background-color: #333333;
|
||||
color: #bbbbbb;
|
||||
background-color: #333333;
|
||||
color: #bbbbbb;
|
||||
}
|
||||
|
||||
.el-pagination button:disabled {
|
||||
background-color: #333333;
|
||||
color: #101010;
|
||||
background-color: #333333;
|
||||
color: #101010;
|
||||
}
|
||||
|
||||
.el-dialog, .el-pager li {
|
||||
background-color: #333333;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.el-pager li {
|
||||
color: #bbbbbb;
|
||||
color: #bbbbbb;
|
||||
}
|
||||
|
||||
.el-table {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.el-pagination__total {
|
||||
color: #bbbbbb;
|
||||
color: #bbbbbb;
|
||||
}
|
||||
|
||||
.el-tag--plain.el-tag--info {
|
||||
background-color: #333333;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.el-tag--plain.el-tag--success {
|
||||
background-color: #333333;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.el-tag--plain.el-tag--success {
|
||||
background-color: #333333;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.el-button {
|
||||
color: #c5cad6;
|
||||
color: #c5cad6;
|
||||
}
|
||||
|
||||
.el-button:not(.el-button--text) {
|
||||
background-color: #353535;
|
||||
border-color: #404040;
|
||||
background-color: #353535;
|
||||
border-color: #404040;
|
||||
}
|
||||
|
||||
.el-button:not(.el-button--text):focus, .el-button:not(.el-button--text):hover {
|
||||
color: #000000;
|
||||
border-color: #656565;
|
||||
background-color: #737373;
|
||||
color: #000000;
|
||||
border-color: #656565;
|
||||
background-color: #737373;
|
||||
}
|
||||
|
||||
.el-tabs__item {
|
||||
color: #c2c4ca;
|
||||
color: #c2c4ca;
|
||||
}
|
||||
|
||||
.el-tabs--card>.el-tabs__header {
|
||||
border-bottom-color: #5f5f5f;
|
||||
border-bottom-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-dropdown-menu {
|
||||
background-color: #353535;
|
||||
border-color: #404040;
|
||||
background-color: #353535;
|
||||
border-color: #404040;
|
||||
}
|
||||
|
||||
.el-dropdown-menu__item--divided:before {
|
||||
background-color: #404040;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
.el-dropdown-menu__item {
|
||||
color: #d4d4d4;
|
||||
color: #d4d4d4;
|
||||
}
|
||||
|
||||
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover {
|
||||
background-color: #444444;
|
||||
color: #66b1ff;
|
||||
background-color: #444444;
|
||||
color: #66b1ff;
|
||||
}
|
||||
|
||||
.el-popper[x-placement^=bottom] .popper__arrow::after {
|
||||
border-bottom-color: #333333;
|
||||
border-bottom-color: #333333;
|
||||
}
|
||||
|
||||
.el-popper[x-placement^=bottom] .popper__arrow {
|
||||
border-bottom-color: #404040;
|
||||
border-bottom-color: #404040;
|
||||
}
|
||||
|
||||
.el-message-box {
|
||||
background-color: #333333;
|
||||
border-color: #5f5f5f;
|
||||
background-color: #333333;
|
||||
border-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-tree {
|
||||
background: #202020;
|
||||
color: #bbbbbb;
|
||||
background: #202020;
|
||||
color: #bbbbbb;
|
||||
}
|
||||
|
||||
.el-menu-item:focus, .el-menu-item:hover {
|
||||
background-color: #505050;
|
||||
background-color: #505050;
|
||||
}
|
||||
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item {
|
||||
border-left-color: #5f5f5f;
|
||||
border-left-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
|
||||
border-left-color: #5f5f5f;
|
||||
border-left-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__nav {
|
||||
border-color: #5f5f5f;
|
||||
border-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-collapse-item__header {
|
||||
background-color: inherit;
|
||||
color: #d0d0d0;
|
||||
border-bottom-color: #5f5f5f;
|
||||
background-color: inherit;
|
||||
color: #d0d0d0;
|
||||
border-bottom-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-collapse-item__wrap {
|
||||
background-color: #333333;
|
||||
border-bottom-color: #5f5f5f;
|
||||
background-color: #333333;
|
||||
border-bottom-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-message-box__title {
|
||||
color: #909090;
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
.el-dialog__title {
|
||||
color: #909090;
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
.el-message-box__content {
|
||||
color: #a5a7ad;
|
||||
color: #a5a7ad;
|
||||
}
|
||||
|
||||
.el-input__inner {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.el-collapse-item__content {
|
||||
color: #848484;
|
||||
color: #848484;
|
||||
}
|
||||
|
||||
.el-switch__core {
|
||||
background-color: #212121;
|
||||
border-color: #5f5f5f;
|
||||
background-color: #212121;
|
||||
border-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-popover {
|
||||
background-color: #333333;
|
||||
border-color: #5f5f5f;
|
||||
background-color: #333333;
|
||||
border-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-popper[x-placement^=right] .popper__arrow::after {
|
||||
border-right-color: #5f5f5f;
|
||||
border-right-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-popper[x-placement^=right] .popper__arrow {
|
||||
border-right-color: #5f5f5f;
|
||||
border-right-color: #5f5f5f;
|
||||
}
|
||||
|
||||
.el-switch__label {
|
||||
color: #a0a0a0;
|
||||
color: #a0a0a0;
|
||||
}
|
||||
|
||||
.el-table, .el-table__expanded-cell {
|
||||
background-color: inherit;
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
.el-tree-node__content:hover {
|
||||
background-color: #272727;
|
||||
background-color: #272727;
|
||||
}
|
||||
|
||||
.el-tree-node:focus>.el-tree-node__content {
|
||||
background-color: #333333;
|
||||
background-color: #333333;
|
||||
}
|
||||
|
||||
.el-select-dropdown {
|
||||
background-color: #353535;
|
||||
background-color: #353535;
|
||||
}
|
||||
|
||||
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected {
|
||||
background-color: #404040;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
|
||||
background-color: #404040;
|
||||
background-color: #404040;
|
||||
}
|
||||
|
||||
.el-select-dropdown__item.hover, .el-select-dropdown__item:hover {
|
||||
background-color: #3e3e3e;
|
||||
background-color: #3e3e3e;
|
||||
}
|
||||
|
||||
.el-tag.el-tag--info {
|
||||
background-color: #404040;
|
||||
border-color: #252525;
|
||||
background-color: #404040;
|
||||
border-color: #252525;
|
||||
}
|
||||
|
||||
.el-table__expanded-cell:hover {
|
||||
background-color: #323232 !important;
|
||||
background-color: #323232 !important;
|
||||
}
|
||||
|
||||
.el-tabs--card>.el-tabs__header .el-tabs__item.is-active {
|
||||
border-bottom-color: #9c9c9c;
|
||||
border-bottom-color: #9c9c9c;
|
||||
}
|
||||
|
||||
.el-dialog__body {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.x-app {
|
||||
background-color: #101010;
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
.x-container {
|
||||
background: #222;
|
||||
background: #222;
|
||||
}
|
||||
|
||||
.x-login-container {
|
||||
background-color: #101010;
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
.x-aside-container {
|
||||
background-color: #171717;
|
||||
background-color: #171717;
|
||||
}
|
||||
|
||||
.x-friend-list>.x-friend-group {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.x-friend-item:hover {
|
||||
background: #3e3e3e;
|
||||
background: #3e3e3e;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.active::after, .x-friend-item>.avatar.joinme::after, .x-friend-item>.avatar.askme::after, .x-friend-item>.avatar.busy::after {
|
||||
border: 2px solid #000;
|
||||
border: 2px solid #000;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.extra {
|
||||
color: #c7c7c7;
|
||||
color: #c7c7c7;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-veteran {
|
||||
color: rgb(177, 143, 255);
|
||||
color: rgb(177, 143, 255);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-veteran {
|
||||
border-color: rgb(177, 143, 255);
|
||||
color: rgb(177, 143, 255);
|
||||
border-color: rgb(177, 143, 255);
|
||||
color: rgb(177, 143, 255);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-legendary {
|
||||
color: rgb(255, 255, 255);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-legendary {
|
||||
border-color: rgb(255, 255, 255);
|
||||
color: rgb(255, 255, 255);
|
||||
border-color: rgb(255, 255, 255);
|
||||
color: rgb(255, 255, 255);
|
||||
}
|
||||
|
||||
.x-user-dialog .el-textarea__inner {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
html, body {
|
||||
background-color: #101010;
|
||||
background-color: #101010;
|
||||
}
|
||||
|
||||
body, input, textarea, select, button {
|
||||
color: #ffffff;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.x-login-container p {
|
||||
color: #dddddd;
|
||||
color: #dddddd;
|
||||
}
|
||||
13756
html/src/app.js
13756
html/src/app.js
File diff suppressed because it is too large
Load Diff
@@ -15,491 +15,491 @@ For a copy, see <https://opensource.org/licenses/MIT>.
|
||||
@import '~famfamfam-flags/dist/sprite/famfamfam-flags.min.css';
|
||||
|
||||
.color-palettes {
|
||||
background: #409EFF;
|
||||
background: #67C23A;
|
||||
background: #E6A23C;
|
||||
background: #F56C6C;
|
||||
background: #909399;
|
||||
background: #FD9200;
|
||||
background: #E6E6E6;
|
||||
background: #C0C4CC;
|
||||
background: #409EFF;
|
||||
background: #67C23A;
|
||||
background: #E6A23C;
|
||||
background: #F56C6C;
|
||||
background: #909399;
|
||||
background: #FD9200;
|
||||
background: #E6E6E6;
|
||||
background: #C0C4CC;
|
||||
}
|
||||
|
||||
.noty_layout {
|
||||
word-break: break-all;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_bar {
|
||||
margin: 4px 0;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
margin: 4px 0;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_bar .noty_body {
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_bar .noty_buttons {
|
||||
padding: 10px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_type__alert, .noty_theme__mint.noty_type__notification {
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #D1D1D1;
|
||||
color: #2F2F2F;
|
||||
background-color: #fff;
|
||||
border-bottom: 1px solid #D1D1D1;
|
||||
color: #2F2F2F;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_type__warning {
|
||||
background-color: #FFAE42;
|
||||
border-bottom: 1px solid #E89F3C;
|
||||
color: #fff;
|
||||
background-color: #FFAE42;
|
||||
border-bottom: 1px solid #E89F3C;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_type__error {
|
||||
background-color: #DE636F;
|
||||
border-bottom: 1px solid #CA5A65;
|
||||
color: #fff;
|
||||
background-color: #DE636F;
|
||||
border-bottom: 1px solid #CA5A65;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_type__info, .noty_theme__mint.noty_type__information {
|
||||
background-color: #7F7EFF;
|
||||
border-bottom: 1px solid #7473E8;
|
||||
color: #fff;
|
||||
background-color: #7F7EFF;
|
||||
border-bottom: 1px solid #7473E8;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.noty_theme__mint.noty_type__success {
|
||||
background-color: #AFC765;
|
||||
border-bottom: 1px solid #A0B55C;
|
||||
color: #fff;
|
||||
background-color: #AFC765;
|
||||
border-bottom: 1px solid #A0B55C;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.el-table+.pagination-bar {
|
||||
margin-top: 15px;
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.el-dialog__body {
|
||||
padding: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.el-dialog__footer>.el-button+.el-button {
|
||||
margin-left: 5px;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 16px;
|
||||
background: rgba(0, 0, 0, 0.05);
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
border-radius: 16px;
|
||||
background: rgba(0, 0, 0, 0.2);
|
||||
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;
|
||||
font-family: 'Noto Sans JP', 'Noto Sans KR', 'Meiryo UI', 'Malgun Gothic', 'Segoe UI', sans-serif;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
a {
|
||||
color: #409eff;
|
||||
color: #409eff;
|
||||
}
|
||||
|
||||
.x-link {
|
||||
cursor: pointer;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.x-link:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.x-ellipsis {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.x-app {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden auto;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden auto;
|
||||
}
|
||||
|
||||
.x-container {
|
||||
flex: 1;
|
||||
padding: 10px;
|
||||
overflow: hidden auto;
|
||||
background: #fff;
|
||||
position: relative;
|
||||
flex: 1;
|
||||
padding: 10px;
|
||||
overflow: hidden auto;
|
||||
background: #fff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.x-login-container {
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
/* modal 시작이 2000이라서 */
|
||||
z-index: 1999;
|
||||
display: flex;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #fff;
|
||||
/* modal 시작이 2000이라서 */
|
||||
z-index: 1999;
|
||||
}
|
||||
|
||||
.x-menu-container {
|
||||
flex: none;
|
||||
overflow: hidden auto;
|
||||
background: #383838;
|
||||
flex: none;
|
||||
overflow: hidden auto;
|
||||
background: #383838;
|
||||
}
|
||||
|
||||
.x-menu-container>.el-menu {
|
||||
background: 0;
|
||||
border: 0;
|
||||
background: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.el-menu-item.is-active::before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 1px;
|
||||
top: 4px;
|
||||
width: 2px;
|
||||
height: 48px;
|
||||
background: #DCDFE6;
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: 1px;
|
||||
top: 4px;
|
||||
width: 2px;
|
||||
height: 48px;
|
||||
background: #DCDFE6;
|
||||
}
|
||||
|
||||
.el-menu-item.notify::after {
|
||||
position: absolute;
|
||||
content: '';
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #EBEEF5;
|
||||
border-radius: 50%
|
||||
position: absolute;
|
||||
content: '';
|
||||
right: 4px;
|
||||
top: 4px;
|
||||
width: 4px;
|
||||
height: 4px;
|
||||
background: #EBEEF5;
|
||||
border-radius: 50%
|
||||
}
|
||||
|
||||
.x-aside-container {
|
||||
flex: none;
|
||||
width: 236px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #f8f8f8;
|
||||
flex: none;
|
||||
width: 236px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: #f8f8f8;
|
||||
}
|
||||
|
||||
.el-popper.x-quick-search {
|
||||
min-width: 0 !important;
|
||||
width: 225px;
|
||||
min-width: 0 !important;
|
||||
width: 225px;
|
||||
}
|
||||
|
||||
.el-popper.x-quick-search .el-select-dropdown__item {
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
font-size: 12px;
|
||||
line-height: normal;
|
||||
padding: 0 10px;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
font-size: 12px;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.x-friend-list {
|
||||
overflow: hidden auto;
|
||||
padding: 0 10px;
|
||||
overflow: hidden auto;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.x-friend-group>.el-icon-arrow-right {
|
||||
transition: transform .3s;
|
||||
transition: transform .3s;
|
||||
}
|
||||
|
||||
.x-friend-group>.el-icon-arrow-right.rotate {
|
||||
transform: rotate(90deg);
|
||||
transform: rotate(90deg);
|
||||
}
|
||||
|
||||
.x-aside-container>.x-friend-list {
|
||||
flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.x-dialog .x-friend-list {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
max-height: 150px;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
max-height: 150px;
|
||||
}
|
||||
|
||||
.x-friend-list>.x-friend-group {
|
||||
padding: 20px 0 5px;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
padding: 20px 0 5px;
|
||||
font-weight: bold;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.x-friend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
font-size: 12px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.x-friend-item:hover {
|
||||
background: #f0f0f0;
|
||||
border-radius: 2px;
|
||||
background: #f0f0f0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.x-aside-container>.x-friend-list>.x-friend-item:hover {
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
background: #fff;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.el-select-dropdown__item .x-friend-item:hover {
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.x-dialog .x-friend-item {
|
||||
width: 175px;
|
||||
width: 175px;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar {
|
||||
flex: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.x-friend-item>img.avatar {
|
||||
width: 50px;
|
||||
height: 37.5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
border-radius: 2px;
|
||||
width: 50px;
|
||||
height: 37.5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar>img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 40%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 40%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.offline>img {
|
||||
filter: grayscale(1);
|
||||
filter: grayscale(1);
|
||||
}
|
||||
|
||||
.x-friend-item:hover>.avatar.offline>img {
|
||||
filter: none;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.active::after, .x-friend-item>.avatar.joinme::after, .x-friend-item>.avatar.askme::after, .x-friend-item>.avatar.busy::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #fff;
|
||||
background: #909399;
|
||||
content: '';
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
border: 2px solid #fff;
|
||||
background: #909399;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.active::after {
|
||||
background: #67C23A;
|
||||
background: #67C23A;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.joinme::after {
|
||||
background: #409EFF;
|
||||
background: #409EFF;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.askme::after {
|
||||
background: #FD9200;
|
||||
background: #FD9200;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar.busy::after {
|
||||
background: #F56C6C;
|
||||
background: #F56C6C;
|
||||
}
|
||||
|
||||
.x-friend-item.offline>.avatar::after {
|
||||
display: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name, .x-friend-item>.detail>.extra {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name {
|
||||
color: #303133;
|
||||
font-weight: bold;
|
||||
color: #303133;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.extra {
|
||||
color: #606266;
|
||||
font-weight: normal;
|
||||
color: #606266;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
.x-dialog>.el-dialog {
|
||||
margin-bottom: 10px;
|
||||
max-width: 100%;
|
||||
margin-bottom: 10px;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.x-user-dialog>.el-dialog>.el-dialog__header, .x-world-dialog>.el-dialog>.el-dialog__header, .x-avatar-dialog>.el-dialog>.el-dialog__header {
|
||||
padding: 0;
|
||||
display: none;
|
||||
padding: 0;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.x-user-dialog>.el-dialog>.el-dialog__body, .x-world-dialog>.el-dialog>.el-dialog__body, .x-avatar-dialog>.el-dialog>.el-dialog__body {
|
||||
padding: 20px;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.el-popper.hex {
|
||||
font-family: monospace;
|
||||
text-align: center;
|
||||
min-width: auto;
|
||||
padding: 10px;
|
||||
font-family: monospace;
|
||||
text-align: center;
|
||||
min-width: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
i.x-user-status {
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: gray;
|
||||
display: inline-block;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 50%;
|
||||
background: gray;
|
||||
}
|
||||
|
||||
i.x-user-status.active {
|
||||
background: #67C23A;
|
||||
background: #67C23A;
|
||||
}
|
||||
|
||||
i.x-user-status.joinme {
|
||||
background: #409EFF;
|
||||
background: #409EFF;
|
||||
}
|
||||
|
||||
i.x-user-status.askme {
|
||||
background: #FD9200;
|
||||
background: #FD9200;
|
||||
}
|
||||
|
||||
i.x-user-status.busy {
|
||||
background: #F56C6C;
|
||||
background: #F56C6C;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-untrusted {
|
||||
color: rgb(204, 204, 204);
|
||||
color: rgb(204, 204, 204);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-untrusted {
|
||||
border-color: rgb(204, 204, 204);
|
||||
color: rgb(204, 204, 204);
|
||||
border-color: rgb(204, 204, 204);
|
||||
color: rgb(204, 204, 204);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-basic {
|
||||
color: rgb(23, 120, 255);
|
||||
color: rgb(23, 120, 255);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-basic {
|
||||
border-color: rgb(23, 120, 255);
|
||||
color: rgb(23, 120, 255);
|
||||
border-color: rgb(23, 120, 255);
|
||||
color: rgb(23, 120, 255);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-known {
|
||||
color: rgb(43, 207, 92);
|
||||
color: rgb(43, 207, 92);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-known {
|
||||
border-color: rgb(43, 207, 92);
|
||||
color: rgb(43, 207, 92);
|
||||
border-color: rgb(43, 207, 92);
|
||||
color: rgb(43, 207, 92);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-trusted {
|
||||
color: rgb(255, 123, 66);
|
||||
color: rgb(255, 123, 66);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-trusted {
|
||||
border-color: rgb(255, 123, 66);
|
||||
color: rgb(255, 123, 66);
|
||||
border-color: rgb(255, 123, 66);
|
||||
color: rgb(255, 123, 66);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-veteran {
|
||||
color: rgb(129, 67, 230);
|
||||
color: rgb(129, 67, 230);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-veteran {
|
||||
border-color: rgb(129, 67, 230);
|
||||
color: rgb(129, 67, 230);
|
||||
border-color: rgb(129, 67, 230);
|
||||
color: rgb(129, 67, 230);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-legend {
|
||||
/*color: rgb(255, 255, 0);*/
|
||||
color: rgb(255, 208, 0);
|
||||
/*color: rgb(255, 255, 0);*/
|
||||
color: rgb(255, 208, 0);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-legend {
|
||||
/*border-color: rgb(255, 255, 0);
|
||||
color: rgb(255, 255, 0);*/
|
||||
border-color: rgb(255, 208, 0);
|
||||
color: rgb(255, 208, 0);
|
||||
/*border-color: rgb(255, 255, 0);
|
||||
color: rgb(255, 255, 0);*/
|
||||
border-color: rgb(255, 208, 0);
|
||||
color: rgb(255, 208, 0);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-legendary {
|
||||
color: rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-legendary {
|
||||
border-color: rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
border-color: rgb(0, 0, 0);
|
||||
color: rgb(0, 0, 0);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-vip {
|
||||
color: rgb(181, 38, 38);
|
||||
color: rgb(181, 38, 38);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-vip {
|
||||
border-color: rgb(181, 38, 38);
|
||||
color: rgb(181, 38, 38);
|
||||
border-color: rgb(181, 38, 38);
|
||||
color: rgb(181, 38, 38);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-troll {
|
||||
color: rgb(120, 47, 47);
|
||||
color: rgb(120, 47, 47);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-troll {
|
||||
border-color: rgb(120, 47, 47);
|
||||
color: rgb(120, 47, 47);
|
||||
border-color: rgb(120, 47, 47);
|
||||
color: rgb(120, 47, 47);
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name.x-tag-friend {
|
||||
/*color: rgb(255, 255, 0);*/
|
||||
color: rgb(255, 208, 0);
|
||||
/*color: rgb(255, 255, 0);*/
|
||||
color: rgb(255, 208, 0);
|
||||
}
|
||||
|
||||
.el-tag.x-tag-friend {
|
||||
/*border-color: rgb(255, 255, 0);
|
||||
color: rgb(255, 255, 0);*/
|
||||
border-color: rgb(255, 208, 0);
|
||||
color: rgb(255, 208, 0);
|
||||
/*border-color: rgb(255, 255, 0);
|
||||
color: rgb(255, 255, 0);*/
|
||||
border-color: rgb(255, 208, 0);
|
||||
color: rgb(255, 208, 0);
|
||||
}
|
||||
|
||||
.el-tree-node {
|
||||
white-space: normal;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.el-tree-node__content {
|
||||
height: auto;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.x-user-dialog .el-textarea__inner {
|
||||
background: none;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
padding: 0;
|
||||
background: none;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
padding: 0;
|
||||
}
|
||||
2586
html/src/index.pug
2586
html/src/index.pug
File diff suppressed because it is too large
Load Diff
1426
html/src/vr.js
1426
html/src/vr.js
File diff suppressed because it is too large
Load Diff
174
html/src/vr.pug
174
html/src/vr.pug
@@ -1,89 +1,89 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
meta(http-equiv="Content-Type" content="text/html;charset=utf-8")
|
||||
meta(http-equiv="Cache-Control" content="no-cache")
|
||||
meta(http-equiv="referrer" content="no-referrer")
|
||||
meta(http-equiv="viewport" content="width=device-width,initial-scale=1,user-scalable=no")
|
||||
title VRCXVR
|
||||
link(rel="dns-prefetch" href="https://fonts.gstatic.com")
|
||||
link(rel="preconnect" href="https://api.vrchat.cloud")
|
||||
link(rel="preconnect" href="https://d348imysud55la.cloudfront.net")
|
||||
link(rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Sans+KR&display=swap")
|
||||
link(rel="stylesheet" href="vr.css")
|
||||
body
|
||||
.x-app#x-app(style="display:none" :class="{ 'x-app-type': appType === '1' }")
|
||||
.x-container(style="flex:1")
|
||||
.x-friend-list(ref="list" style="color:#aaa")
|
||||
template(v-for="feed in feeds")
|
||||
.x-friend-item(v-if="feed.type === 'GPS'" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] is in #[location(:location="feed.location[0]")]
|
||||
div(v-else-if="feed.type === 'Offline'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] has logged out
|
||||
div(v-else-if="feed.type === 'Online'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] has logged in
|
||||
div(v-else-if="feed.type === 'Status'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] is #[i.x-user-status(:class="userStatusClass(feed.status[0])")] {{feed.status[0].statusDescription}}
|
||||
div(v-else-if="feed.type === 'OnPlayerJoined'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.data")] has joined
|
||||
div(v-else-if="feed.type === 'OnPlayerLeft'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.data")] has left
|
||||
div(v-else-if="feed.type === 'Location'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
location(:location="feed.data")
|
||||
.x-container
|
||||
div(style="display:flex;flex-direction:row")
|
||||
template(v-if="devices.length")
|
||||
div(v-for="device in devices" style="flex:none;text-align:center;width:64px")
|
||||
template(v-if="device[0] === 'tracker'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/tracker_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/tracker_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/tracker_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'leftController'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'rightController'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'controller'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'base'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/base_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/base_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/base_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else)
|
||||
img(v-if="device[1] !== 'connected'" src="images/other_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/other_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/other_status_ready.png" style="width:32px;height:32px")
|
||||
br
|
||||
span {{ device[2] }}%
|
||||
div(v-else)
|
||||
span No SteamVR Devices
|
||||
.x-container
|
||||
span(style="float:right") {{ currentTime | formatDate('YYYY-MM-DD HH:MI:SS AMPM') }}
|
||||
span CPU {{ cpuUsage }}%
|
||||
script(src="vr.js")
|
||||
head
|
||||
meta(http-equiv="Content-Type" content="text/html;charset=utf-8")
|
||||
meta(http-equiv="Cache-Control" content="no-cache")
|
||||
meta(http-equiv="referrer" content="no-referrer")
|
||||
meta(http-equiv="viewport" content="width=device-width,initial-scale=1,user-scalable=no")
|
||||
title VRCXVR
|
||||
link(rel="dns-prefetch" href="https://fonts.gstatic.com")
|
||||
link(rel="preconnect" href="https://api.vrchat.cloud")
|
||||
link(rel="preconnect" href="https://d348imysud55la.cloudfront.net")
|
||||
link(rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto+Sans+JP|Noto+Sans+KR&display=swap")
|
||||
link(rel="stylesheet" href="vr.css")
|
||||
body
|
||||
.x-app#x-app(style="display:none" :class="{ 'x-app-type': appType === '1' }")
|
||||
.x-container(style="flex:1")
|
||||
.x-friend-list(ref="list" style="color:#aaa")
|
||||
template(v-for="feed in feeds")
|
||||
.x-friend-item(v-if="feed.type === 'GPS'" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] is in #[location(:location="feed.location[0]")]
|
||||
div(v-else-if="feed.type === 'Offline'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] has logged out
|
||||
div(v-else-if="feed.type === 'Online'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] has logged in
|
||||
div(v-else-if="feed.type === 'Status'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.displayName")] is #[i.x-user-status(:class="userStatusClass(feed.status[0])")] {{feed.status[0].statusDescription}}
|
||||
div(v-else-if="feed.type === 'OnPlayerJoined'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.data")] has joined
|
||||
div(v-else-if="feed.type === 'OnPlayerLeft'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
| #[span.name(v-text="feed.data")] has left
|
||||
div(v-else-if="feed.type === 'Location'" class="x-friend-item" :class="{ friend: feed.isFriend, favorite: feed.isFavorite }")
|
||||
.detail
|
||||
span.extra
|
||||
span.time {{ feed.created_at | formatDate('HH:MI') }}
|
||||
location(:location="feed.data")
|
||||
.x-container
|
||||
div(style="display:flex;flex-direction:row")
|
||||
template(v-if="devices.length")
|
||||
div(v-for="device in devices" style="flex:none;text-align:center;width:64px")
|
||||
template(v-if="device[0] === 'tracker'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/tracker_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/tracker_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/tracker_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'leftController'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'rightController'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'controller'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/controller_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/controller_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/controller_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else-if="device[0] === 'base'")
|
||||
img(v-if="device[1] !== 'connected'" src="images/base_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/base_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/base_status_ready.png" style="width:32px;height:32px")
|
||||
template(v-else)
|
||||
img(v-if="device[1] !== 'connected'" src="images/other_status_off.png" style="width:32px;height:32px")
|
||||
img(v-else-if="device[2] < 20" src="images/other_status_ready_low.png" style="width:32px;height:32px")
|
||||
img(v-else src="images/other_status_ready.png" style="width:32px;height:32px")
|
||||
br
|
||||
span {{ device[2] }}%
|
||||
div(v-else)
|
||||
span No SteamVR Devices
|
||||
.x-container
|
||||
span(style="float:right") {{ currentTime | formatDate('YYYY-MM-DD HH:MI:SS AMPM') }}
|
||||
span CPU {{ cpuUsage }}%
|
||||
script(src="vr.js")
|
||||
|
||||
196
html/src/vr.scss
196
html/src/vr.scss
@@ -12,216 +12,216 @@ For a copy, see <https://opensource.org/licenses/MIT>.
|
||||
@import '~element-ui/lib/theme-chalk/index.css';
|
||||
|
||||
/*
|
||||
마지노선인듯
|
||||
화면 24px -> 나나 32
|
||||
손등 18px -> 나나 24
|
||||
마지노선인듯
|
||||
화면 24px -> 나나 32
|
||||
손등 18px -> 나나 24
|
||||
*/
|
||||
|
||||
.noty_body {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.noty_layout {
|
||||
max-width: none;
|
||||
width: 80% !important;
|
||||
max-width: none;
|
||||
width: 80% !important;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_bar {
|
||||
margin: 4px 0;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
margin: 4px 0;
|
||||
overflow: hidden;
|
||||
border-radius: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_bar .noty_body {
|
||||
padding: 5px 10px 10px;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
padding: 5px 10px 10px;
|
||||
font-size: 24px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_bar .noty_buttons {
|
||||
border-top: 1px solid #e7e7e7;
|
||||
padding: 5px 10px;
|
||||
border-top: 1px solid #e7e7e7;
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__alert, .noty_theme__relax.noty_type__notification {
|
||||
background-color: #fff;
|
||||
border: 1px solid #dedede;
|
||||
color: #444;
|
||||
background-color: #fff;
|
||||
border: 1px solid #dedede;
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__warning {
|
||||
background-color: #FFEAA8;
|
||||
border: 1px solid #FFC237;
|
||||
color: #826200;
|
||||
background-color: #FFEAA8;
|
||||
border: 1px solid #FFC237;
|
||||
color: #826200;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__warning .noty_buttons {
|
||||
border-color: #dfaa30;
|
||||
border-color: #dfaa30;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__error {
|
||||
background-color: #FF8181;
|
||||
border: 1px solid #e25353;
|
||||
color: #FFF;
|
||||
background-color: #FF8181;
|
||||
border: 1px solid #e25353;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__error .noty_buttons {
|
||||
border-color: darkred;
|
||||
border-color: darkred;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__info, .noty_theme__relax.noty_type__information {
|
||||
background-color: #78C5E7;
|
||||
border: 1px solid #3badd6;
|
||||
color: #FFF;
|
||||
background-color: #78C5E7;
|
||||
border: 1px solid #3badd6;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__info .noty_buttons, .noty_theme__relax.noty_type__information .noty_buttons {
|
||||
border-color: #0B90C4;
|
||||
border-color: #0B90C4;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__success {
|
||||
background-color: #BCF5BC;
|
||||
border: 1px solid #7cdd77;
|
||||
color: darkgreen;
|
||||
background-color: #BCF5BC;
|
||||
border: 1px solid #7cdd77;
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
.noty_theme__relax.noty_type__success .noty_buttons {
|
||||
border-color: #50C24E;
|
||||
border-color: #50C24E;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-track {
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 16px;
|
||||
background: rgba(0, 0, 0, 0.1);
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
::-webkit-scrollbar-thumb {
|
||||
background: rgba(0, 0, 0, 0.25);
|
||||
border-radius: 16px;
|
||||
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;
|
||||
font-family: 'Noto Sans JP', 'Noto Sans KR', 'Meiryo UI', 'Malgun Gothic', 'Segoe UI', sans-serif;
|
||||
line-height: normal;
|
||||
}
|
||||
|
||||
.x-app {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.x-app-type {
|
||||
background: #1f1f1f;
|
||||
color: #fff;
|
||||
background: #1f1f1f;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.x-container {
|
||||
flex: none;
|
||||
padding: 10px;
|
||||
overflow: hidden auto;
|
||||
position: relative;
|
||||
flex: none;
|
||||
padding: 10px;
|
||||
overflow: hidden auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.x-friend-list {
|
||||
overflow: hidden auto;
|
||||
padding: 0 10px;
|
||||
overflow: hidden auto;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
.x-friend-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 18px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-size: 18px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.x-friend-item .time {
|
||||
margin-right: 5px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.x-friend-item .name {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.x-friend-item.friend .name {
|
||||
color: #fff;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.x-friend-item.favorite .name {
|
||||
color: #ff0;
|
||||
color: #ff0;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar {
|
||||
flex: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
flex: none;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.x-friend-item>img.avatar {
|
||||
width: 50px;
|
||||
height: 37.5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
border-radius: 2px;
|
||||
width: 50px;
|
||||
height: 37.5px;
|
||||
margin-left: 5px;
|
||||
margin-right: 0;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.x-friend-item>.avatar>img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 40%;
|
||||
object-fit: cover;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 40%;
|
||||
object-fit: cover;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail {
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
flex: 1;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name, .x-friend-item>.detail>.extra {
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.name {
|
||||
font-weight: bold;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.x-friend-item>.detail>.extra {
|
||||
font-weight: normal;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
i.x-user-status {
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: gray;
|
||||
display: inline-block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border-radius: 50%;
|
||||
background: gray;
|
||||
}
|
||||
|
||||
i.x-user-status.active {
|
||||
background: #67C23A;
|
||||
background: #67C23A;
|
||||
}
|
||||
|
||||
i.x-user-status.joinme {
|
||||
background: #409EFF;
|
||||
background: #409EFF;
|
||||
}
|
||||
|
||||
i.x-user-status.busy {
|
||||
background: #F56C6C;
|
||||
background: #F56C6C;
|
||||
}
|
||||
Reference in New Issue
Block a user