Files
VRCX/src/assets/scss/themes/theme.material3.scss
2025-11-27 02:34:16 +11:00

2462 lines
70 KiB
SCSS

/*
* VRCX Material-You-like theme by Kamiya
* https://github.com/kamiya10/VRCX-theme
*/
body {
--md-sys-color-primary: 208, 188, 255;
--md-sys-color-on-primary: 55, 30, 115;
--md-sys-color-primary-container: 79, 55, 139;
--md-sys-color-on-primary-container: 234, 221, 255;
--md-sys-color-secondary: 204, 194, 220;
--md-sys-color-secondary-container: 74, 68, 88;
--md-sys-color-on-secondary-container: 232, 222, 248;
--md-sys-color-error: 242, 184, 181;
--md-sys-color-surface: 28, 27, 31;
--md-sys-color-on-surface: 230, 225, 229;
--md-sys-color-surface-variant: 73, 69, 79;
--md-sys-color-on-surface-variant: 220, 213, 227;
--md-sys-color-background: 28, 27, 31;
--md-sys-color-on-background: 230, 225, 229;
--md-sys-color-outline: 147, 143, 153;
--md-sys-color-outline-variant: 68, 71, 70;
--md-sys-color-inverse-surface: 230, 225, 229;
--md-sys-color-inverse-on-surface: 49, 48, 51;
--md-sys-color-inverse-primary: 103, 80, 164;
--md-sys-color-inverse-surface: 236, 223, 224;
--md-sys-color-inverse-on-surface: 54, 47, 48;
--md-sys-color-inverse-primary: 154, 64, 88;
--md-sys-color-surface-1:
linear-gradient(
0deg,
rgba(var(--md-sys-color-primary), 0.05),
rgba(var(--md-sys-color-primary), 0.05)
),
rgb(var(--md-sys-color-surface));
--md-sys-color-surface-2:
linear-gradient(
0deg,
rgba(var(--md-sys-color-primary), 0.08),
rgba(var(--md-sys-color-primary), 0.08)
),
rgb(var(--md-sys-color-surface));
--md-sys-color-surface-3:
linear-gradient(
0deg,
rgba(var(--md-sys-color-primary), 0.11),
rgba(var(--md-sys-color-primary), 0.11)
),
rgb(var(--md-sys-color-surface));
--md-sys-color-surface-4:
linear-gradient(
0deg,
rgba(var(--md-sys-color-primary), 0.14),
rgba(var(--md-sys-color-primary), 0.14)
),
rgb(var(--md-sys-color-surface));
--md-sys-typescale-headline-medium-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-headline-medium-line-height: 36px;
--md-sys-typescale-headline-medium-size: 28px;
--md-sys-typescale-headline-medium-weight: 500;
--md-sys-typescale-headline-medium-tracking: 0;
--md-sys-typescale-headline-small-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-headline-small-line-height: 32px;
--md-sys-typescale-headline-small-size: 24px;
--md-sys-typescale-headline-small-weight: 500;
--md-sys-typescale-headline-small-tracking: 0;
--md-sys-typescale-title-medium-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-title-medium-line-height: 24px;
--md-sys-typescale-title-medium-size: 16px;
--md-sys-typescale-title-medium-weight: 600;
--md-sys-typescale-title-medium-tracking: 0.15px;
--md-sys-typescale-label-large-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-label-large-line-height: 20px;
--md-sys-typescale-label-large-size: 14px;
--md-sys-typescale-label-large-weight: 600;
--md-sys-typescale-label-large-tracking: 0.1px;
--md-sys-typescale-label-medium-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-label-medium-line-height: 16px;
--md-sys-typescale-label-medium-size: 12px;
--md-sys-typescale-label-medium-weight: 600;
--md-sys-typescale-label-medium-tracking: 0.5px;
--md-sys-typescale-body-large-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-body-large-line-height: 24px;
--md-sys-typescale-body-large-size: 16px;
--md-sys-typescale-body-large-weight: 400;
--md-sys-typescale-body-large-tracking: 0.5px;
--md-sys-typescale-body-medium-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-body-medium-line-height: 20px;
--md-sys-typescale-body-medium-size: 14px;
--md-sys-typescale-body-medium-weight: 400;
--md-sys-typescale-body-medium-tracking: 0.25px;
--md-sys-typescale-body-small-font:
'Google Sans', 'Noto Sans', 'Noto Sans TC', 'Noto Sans JP',
'Noto Sans SC', 'Roboto', sans-serif;
--md-sys-typescale-body-small-line-height: 16px;
--md-sys-typescale-body-small-size: 12px;
--md-sys-typescale-body-small-weight: 400;
--md-sys-typescale-body-small-tracking: 0.4px;
user-select: none;
font-family: var(--md-sys-typescale-body-small-font);
font-variant-numeric: tabular-nums;
--group-calendar-event-bg: rgba(var(--md-sys-color-primary), 0.05);
--group-calendar-badge-following: rgb(
var(--md-sys-color-primary-container)
);
--group-calendar-badge-normal: rgb(var(--md-sys-color-secondary));
}
::selection {
background-color: rgb(var(--md-sys-color-primary-container));
mix-blend-mode: hard-light;
}
::-webkit-scrollbar {
width: 6px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: rgba(var(--md-sys-color-outline-variant), 0);
transition: background-color 0.2s ease-in-out;
}
*:hover::-webkit-scrollbar-track,
*:focus::-webkit-scrollbar-track,
*.is-active::-webkit-scrollbar-track {
background-color: rgba(var(--md-sys-color-outline-variant), 0.2);
}
::-webkit-scrollbar-thumb {
background-color: rgba(var(--md-sys-color-surface-variant), 0);
transition: background-color 0.2s ease-in-out;
}
*:hover::-webkit-scrollbar-thumb,
*:focus::-webkit-scrollbar-thumb,
*.is-active::-webkit-scrollbar-thumb {
background-color: rgb(var(--md-sys-color-surface-variant));
}
::-webkit-scrollbar-thumb:hover {
background-color: rgb(var(--md-sys-color-secondary-container));
}
a {
color: rgb(var(--md-sys-color-primary));
}
div[style*='margin: 0px 0px 10px;'] {
margin-bottom: 16px !important;
}
.el-tabs--card > .el-tabs__header .el-tabs__item,
.el-tabs--card > .el-tabs__header .el-tabs__nav,
.el-tabs--card > .el-tabs__header {
border: none;
}
.x-app,
.x-container,
.el-collapse-item__wrap,
.x-login-container {
background-color: rgba(var(--md-sys-color-background));
}
.x-aside-container {
background: var(--md-sys-color-surface-1);
}
.x-aside-container .el-select {
padding: 3px !important;
}
.x-login-container p {
color: rgb(var(--md-sys-color-on-background));
}
.el-tabs--card > .el-tabs__header .el-tabs__item {
height: 40px;
border-radius: 20px;
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-label-large-font);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
padding: 0 24px;
transition:
background-color 0.2s ease-in-out,
color 0.2s ease-in-out;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
background-color: rgba(var(--md-sys-color-secondary-container));
color: rgb(var(--md-sys-color-on-surface));
}
.el-tab-pane .options-container {
flex-direction: column;
justify-content: center;
}
.options-container-item {
margin: 6px 0;
display: flex;
flex-wrap: wrap;
}
.options-container-item br + span {
flex-basis: 100%;
}
.options-container-item .name:first-child {
flex: 1;
}
.options-container-item > :not(.el-color-picker__color-inner):last-child {
margin-right: 4px;
}
.options-container[style='margin-top: 45px; border-top: 1px solid rgb(238, 238, 238); padding-top: 30px;'] {
border-top: 1px solid rgb(var(--md-sys-color-outline-variant)) !important;
}
#x-app .x-container {
padding: 20px;
}
#x-app .x-aside-container {
padding: 10px;
}
/* Input filter */
.el-input-number--small,
.el-input--small,
.el-input__inner {
line-height: 45px !important;
}
.el-input__inner {
height: 48px;
}
.el-input__inner,
.el-textarea__inner {
position: relative;
background-color: transparent;
border: 1px solid rgb(var(--md-sys-color-outline));
border-radius: 8px;
padding: 12px;
width: 100%;
}
.el-select__tags {
margin: 0 12px;
}
.el-select .el-input__inner:focus,
.el-textarea__inner:hover,
.el-select:hover .el-input__inner,
.el-pagination__sizes .el-input .el-input__inner:hover {
border: 1px solid rgb(var(--md-sys-color-on-surface)) !important;
}
.el-input__wrapper.is-focus {
box-shadow: none !important;
}
.el-range-editor.is-active,
.el-range-editor.is-active:hover,
.el-select .el-input.is-focus .el-input__inner,
.el-input.is-active .el-input__inner,
.el-textarea__inner:focus {
border: 2px solid rgb(var(--md-sys-color-primary)) !important;
box-shadow: none !important;
}
input[type='text']::placeholder,
input[type='number']::placeholder,
.el-textarea__inner::placeholder {
color: rgb(var(--md-sys-color-on-surface-variant));
}
input[type='text'],
input[type='number'],
.el-textarea__inner {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-body-large-font);
line-height: var(--md-sys-typescale-body-large-line-height);
font-size: var(--md-sys-typescale-body-large-size);
font-weight: var(--md-sys-typescale-body-large-weight);
letter-spacing: var(--md-sys-typescale-body-large-tracking);
}
.el-input--small .el-input__inner {
height: 36px;
}
.el-pagination--small button,
.el-pagination--small span:not([class*='suffix']),
.el-pagination .el-select .el-input .el-input__inner,
.el-input--small .el-input__icon,
.el-pagination--small .btn-next,
.el-pagination--small .btn-prev,
.el-pagination--small .el-pager li,
.el-pagination--small .el-pager li.btn-quicknext,
.el-pagination--small .el-pager li.btn-quickprev,
.el-pagination--small .el-pager li:last-child {
height: 32px !important;
line-height: 32px !important;
}
.el-pagination .el-select .el-input .el-input__inner,
.el-input--small .el-input__icon {
border-radius: 8px;
}
.el-pagination button.btn-prev,
.el-pagination button.btn-next {
position: relative;
background-color: rgb(var(--md-sys-color-secondary-container));
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out;
}
.el-pagination button:not(:disabled):hover.btn-prev::after,
.el-pagination button:not(:disabled):hover.btn-next::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.08);
}
.el-pagination button:not(:disabled):focus.btn-prev::after,
.el-pagination button:not(:disabled):focus.btn-next::after,
.el-pagination button:not(:disabled).is-active.btn-prev::after,
.el-pagination button:not(:disabled).is-active.btn-next::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.12);
}
.el-pagination button:disabled.btn-prev,
.el-pagination button:disabled.btn-next {
background-color: rgba(var(--md-sys-color-on-surface), 0.12);
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-pagination button.btn-prev {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
padding-left: 12px;
padding-right: 8px;
}
.el-pagination button.btn-prev::after {
border-top-left-radius: 16px;
border-bottom-left-radius: 16px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
.el-pagination button.btn-next {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
padding-left: 8px;
padding-right: 8px;
}
.el-pagination button.btn-next::after {
border-top-right-radius: 16px;
border-bottom-right-radius: 16px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
.el-pager li,
.el-pager li.btn-quicknext,
.el-pager li.btn-quickprev {
position: relative;
padding: 0 8px;
font-weight: 500;
border-radius: 0px;
background-color: rgb(var(--md-sys-color-secondary-container));
color: rgb(var(--md-sys-color-on-secondary-container));
}
.el-pager li::after,
.el-pagination button.btn-prev::after,
.el-pagination button.btn-next::after,
.el-tabs__item::after {
position: absolute;
content: '';
height: 100%;
width: 100%;
background-color: transparent;
border: none;
left: 0;
top: 0;
transition: background-color 0.1s ease-in-out;
}
.el-pager li:hover::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.08);
}
.el-pager li:focus::after,
.el-pager li.is-active:after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.12);
}
.el-pager li.is-active {
font-weight: 600;
color: rgb(var(--md-sys-color-primary));
}
.el-pager li:hover,
.el-pagination button:not(:disabled):hover {
color: rgb(var(--md-sys-color-on-primary-container));
}
.el-form-item.is-error .el-input__inner,
.el-form-item.is-error .el-input__inner:focus,
.el-form-item.is-error .el-textarea__inner,
.el-form-item.is-error .el-textarea__inner:focus,
.el-message-box__input input.invalid,
.el-message-box__input input.invalid:focus {
border-color: rgb(var(--md-sys-color-error));
}
.el-message-box__errormsg {
height: 18px;
opacity: 1;
color: rgb(var(--md-sys-color-error));
margin: 2px 12px;
font-family: var(--md-sys-typescale-body-small-font);
line-height: var(--md-sys-typescale-body-small-line-height);
font-size: var(--md-sys-typescale-body-small-size);
font-weight: var(--md-sys-typescale-body-small-weight);
letter-spacing: var(--md-sys-typescale-body-small-tracking);
transition:
height 0.1s ease-out,
min-height 0.1s ease-out,
opacity 0.1s ease-out;
}
.el-message-box__errormsg[style='visibility: hidden;'] {
height: 0;
min-height: 0;
opacity: 0;
}
.vrc-instance-queue-message {
padding: 10px !important;
background: #f0f9eb !important;
}
.el-message.is-closable .el-message__content {
padding-right: 16px;
}
/* Typography */
.x-container > .options-container:first-child .header {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-headline-medium-font);
line-height: var(--md-sys-typescale-headline-medium-line-height);
font-size: var(--md-sys-typescale-headline-medium-size);
font-weight: var(--md-sys-typescale-headline-medium-weight);
letter-spacing: var(--md-sys-typescale-headline-medium-tracking);
}
.options-container .header {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-headline-small-font);
line-height: var(--md-sys-typescale-headline-small-line-height);
font-size: var(--md-sys-typescale-headline-small-size);
font-weight: var(--md-sys-typescale-headline-small-weight);
letter-spacing: var(--md-sys-typescale-headline-small-tracking);
}
.options-container-item .name {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-body-medium-font);
line-height: var(--md-sys-typescale-body-medium-line-height);
font-size: var(--md-sys-typescale-body-medium-size);
font-weight: var(--md-sys-typescale-body-medium-weight);
letter-spacing: var(--md-sys-typescale-body-medium-tracking);
min-width: auto;
margin: auto;
}
.options-container .sub-header {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-title-medium-font);
line-height: var(--md-sys-typescale-title-medium-line-height);
font-size: var(--md-sys-typescale-title-medium-size);
font-weight: var(--md-sys-typescale-title-medium-weight);
letter-spacing: var(--md-sys-typescale-title-medium-tracking);
}
[style='color: rgb(245, 108, 108);'],
[style='color: rgb(245, 108, 108);'] i[class^='el-icon']::before {
color: rgb(var(--md-sys-color-error)) !important;
}
[style*='color: rgb(144, 147, 153);'] {
color: rgb(var(--md-sys-color-outline)) !important;
}
/* ---------- Navigation rail ----------*/
.x-menu-container {
background: var(--md-sys-color-surface-2);
/* display: flex; */
vertical-align: middle;
}
.x-menu-container,
.el-menu--collapse {
width: 70px;
}
.x-menu-container > div > .el-menu {
margin: auto 0;
display: grid;
}
.x-menu-container > div > .el-menu > .el-menu-item {
height: 56px;
}
.x-menu-container > div > .el-menu > .el-menu-item > div,
.x-menu-container > div > .el-menu > .el-menu-item {
position: relative !important;
padding: 0 !important;
}
.x-menu-container > div > .el-menu > .el-menu-item > div > i,
.x-menu-container > div > .el-menu > .el-menu-item > i {
position: absolute;
left: 50%;
top: 14px;
font-size: 24px;
transform: translate(-50%);
color: rgb(var(--md-sys-color-on-surface-variant));
}
.el-menu-item::before {
display: none;
}
.el-menu-item:focus,
.el-menu-item:hover,
.bottom-button:hover {
background-color: rgba(
var(--md-sys-color-on-surface-variant),
0.08
) !important;
}
.bottom-button {
width: 70px !important;
}
.el-menu-item.is-active::before {
width: 56px;
height: 56px;
border-radius: 28px;
left: 50%;
transform: translateX(-50%);
background-color: rgb(var(--md-sys-color-secondary-container));
}
.el-menu-item {
color: rgb(var(--md-sys-color-on-surface-variant)) !important;
}
.el-menu-item i {
color: rgv(var(--md-sys-color-on-surface-variant)) !important;
}
.x-menu-container > div > .el-menu > .el-menu-item.is-active > div > i,
.x-menu-container > div > .el-menu > .el-menu-item.is-active > i {
color: rgb(var(--md-sys-color-primary)) !important;
}
.el-menu-item.notify::after {
background: rgb(var(--md-sys-color-error));
height: 6px;
width: 6px;
border-radius: 3px;
right: 25%;
top: 25%;
}
/* ---------- Table ---------- */
.el-table {
max-width: calc(100vw - 2 * 40px);
margin: 8px 0;
border: 1px solid rgb(var(--md-sys-color-surface-variant));
border-radius: 24px;
overflow-x: auto;
white-space: normal;
user-select: text;
}
.el-table .el-table__body-wrapper table {
width: 100%;
border-collapse: collapse;
border-spacing: 0;
}
.el-table tr,
.el-table td.el-table__cell,
.el-table th.el-table__cell,
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
background-color: transparent;
transition: background-color 0.1s ease-in-out;
}
.el-table td.el-table__cell,
.el-table th.el-table__cell.is-leaf {
border-bottom: 1px solid rgb(var(--md-sys-color-surface-variant));
}
.el-table .el-table__header-wrapper table tr th {
color: rgb(var(--md-sys-color-on-surface-variant));
background: rgba(var(--md-sys-color-primary), 0.05);
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
}
.el-table .el-table__body-wrapper table tr td .cell,
.el-table__expanded-cell {
color: rgb(var(--md-sys-color-on-background));
font-family: var(--md-sys-typescale-body-small-font);
line-height: var(--md-sys-typescale-body-small-line-height);
font-size: var(--md-sys-typescale-body-small-size);
font-weight: var(--md-sys-typescale-body-small-weight);
letter-spacing: var(--md-sys-typescale-body-small-tracking);
}
// unset table word break, breaks words such as the "note export" menus last cell.
.el-table .cell {
word-break: unset;
}
.el-table .el-table__body-wrapper table tr:first-child th,
.el-table table tr:first-child td {
border-top: none;
}
.el-table .el-table__body-wrapper table tr th:first-child,
.el-table table tr td:first-child {
border-left: none;
}
.feed .el-table .el-table_1_column_5.el-table__cell > div {
display: flex;
align-items: center;
}
.el-table .el-table__body-wrapper table tr:last-child th,
.el-table table tr:last-child td,
.el-table tr,
.el-table td.el-table__cell,
.el-table th.el-table__cell {
border-bottom: none;
}
.el-table .el-table__body-wrapper table tr:last-child th:first-child,
.el-table table tr:last-child td:first-child {
border-bottom-left-radius: 16px;
}
.el-table .el-table__body-wrapper table tr:last-child th:last-child,
.el-table table tr:last-child td:last-child {
border-bottom-right-radius: 16px;
}
.el-table--enable-row-hover .el-table__body tr:hover > td.el-table__cell {
background-color: rgba(var(--md-sys-color-on-surface), 0.08);
}
.el-table .ascending .sort-caret.ascending {
border-bottom-color: rgb(var(--md-sys-color-primary));
}
.el-table .sort-caret.ascending {
border-bottom-color: rgb(var(--md-sys-color-outline-variant));
}
.el-table .descending .sort-caret.descending {
border-top-color: rgb(var(--md-sys-color-primary));
}
.el-table .sort-caret.descending {
border-top-color: rgb(var(--md-sys-color-outline-variant));
}
.el-popover__reference-wrapper > img.friends-list-avatar {
height: 48px;
width: 48px;
margin: auto;
object-fit: cover;
border-radius: 8px;
margin-left: 0;
}
.el-table::before {
display: none;
}
.el-table__expand-icon {
display: flex;
height: 100%;
}
.el-table__expand-icon--expanded,
.x-friend-group > .el-icon-arrow-right.rotate {
transform: rotate(270deg);
}
.el-table__expand-icon--expanded,
.x-friend-group > .el-icon-arrow-right {
transform: rotate(90deg);
}
.el-table .el-table__body-wrapper table tr th,
.el-table .el-table__body-wrapper table tr > td:not(.is-right) > .cell {
/* it's too ugly
border-top: 1px solid rgb(var(--md-sys-color-surface-variant));
border-left: 1px solid rgb(var(--md-sys-color-surface-variant));
*/
padding: 8px 10px;
display: flex;
align-items: center;
}
/* ---------- Switch ---------- */
.el-switch {
height: 28px;
}
/* track */
.el-switch__core {
position: relative;
width: 48px !important;
height: 28px;
border-radius: 28px;
background-color: rgb(var(--md-sys-color-surface-variant)) !important;
border: 2px solid rgb(var(--md-sys-color-outline)) !important;
transition:
background-color 0.1s ease-in-out,
border-color 0.1s ease-in-out;
}
/* active track */
.el-switch.is-checked .el-switch__core {
background-color: rgb(var(--md-sys-color-primary)) !important;
border-color: transparent !important;
}
/* thumb */
.el-switch__core::before {
position: absolute;
content: '';
height: 16px;
width: 16px;
left: 0px;
margin: 4px;
background-color: rgb(var(--md-sys-color-outline));
border-radius: 28px;
transition:
left 200ms cubic-bezier(0, 0.5, 0.5, 1.5),
background-color 0.1s ease-in-out,
height 50ms ease-out,
width 50ms ease-out,
padding 50ms ease-out,
margin 50ms ease-out;
}
/* active thumb */
.el-switch.is-checked .el-switch__core::before {
content: 'Done';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
text-align: center;
line-height: 24px;
background-color: rgb(var(--md-sys-color-on-primary));
height: 24px;
width: 24px;
left: 20px;
margin: 0;
}
/* hover thumb */
.el-switch:hover input:not(:disabled) + .el-switch__core::before {
background-color: rgb(var(--md-sys-color-on-surface-variant));
}
/* active hover thumb */
.el-switch.is-checked:hover input:not(:disabled) + .el-switch__core::before {
background-color: rgb(var(--md-sys-color-primary-container));
}
/* click thumb */
.el-switch.is-active input:not(:disabled) + .el-switch__core::before {
padding: 5px;
margin: 0px;
top: -1px;
left: -1px;
}
.el-switch.is-checked.is-active
input:not(:disabled)
+ .el-switch__core::before {
padding: 1px;
margin: 0px;
top: -1px;
left: 19px;
}
/* active click thumb */
.el-switch.is-checked.is-active
input:not(:disabled)
+ .el-switch__core::before {
background-color: rgb(var(--md-sys-color-primary-container));
}
/* disabled track */
.el-switch.is-disabled .el-switch__core {
background-color: rgba(
var(--md-sys-color-surface-variant),
0.12
) !important;
border-color: rgba(var(--md-sys-color-on-surface), 0.12) !important;
}
.el-switch.is-checked.is-disabled .el-switch__core {
background-color: rgba(var(--md-sys-color-on-surface), 0.12);
border-color: rgba(var(--md-sys-color-on-surface), 0);
}
/* disabled thumb */
.el-switch.is-disabled .el-switch__core::before {
background-color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-switch.is-disabled.is-checked .el-switch__core::before {
background-color: rgba(var(--md-sys-color-surface), 1);
}
/* disabled icon */
.el-switch.is-disabled.is-disabled.is-checked .el-switch__core::before {
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
/* active label */
.el-switch__label {
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
transition: color 0.1s ease-in-out;
}
.el-switch__label.is-active {
color: rgb(var(--md-sys-color-primary));
}
.el-switch.is-disabled .el-switch__label {
color: rgba(var(--md-sys-color-on-surface), 0.12);
}
.el-switch.is-disabled .el-switch__label.is-active {
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-switch__core:after {
display: none;
transition: left 200ms cubic-bezier(0, 0.5, 0.5, 1.5);
}
// Fix the white toggle
.el-switch__action {
background: transparent !important;
box-shadow: none !important;
display: none !important;
}
/* ---------- Segmented buttons ---------- */
.el-radio-button__inner,
.el-radio-group {
height: 32px;
}
.el-radio-group {
display: inline-grid;
grid-auto-flow: column;
grid-auto-columns: 1fr;
}
.el-radio-button--small .el-radio-button__inner {
width: 100%;
padding: 6px;
border: none;
border-top: 1px solid rgb(var(--md-sys-color-outline));
border-bottom: 1px solid rgb(var(--md-sys-color-outline));
border-left: 1px solid rgb(var(--md-sys-color-outline)) !important;
background: transparent;
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out;
}
.el-radio-group > *:first-child > .el-radio-button__inner {
border-top-left-radius: 18px;
border-bottom-left-radius: 18px;
}
.el-radio-group > *:last-child > .el-radio-button__inner {
border-top-right-radius: 18px;
border-bottom-right-radius: 18px;
border-right: 1px solid rgb(var(--md-sys-color-outline));
}
.el-radio-button--small
.el-radio-button__orig-radio:not(:disabled):checked
+ .el-radio-button__inner {
background-color: rgb(var(--md-sys-color-secondary-container));
color: rgb(var(--md-sys-color-on-secondary-container));
border-color: rgb(var(--md-sys-color-outline));
box-shadow: none;
}
.el-radio-button--small
.el-radio-button__orig-radio:not(:checked)
+ .el-radio-button__inner {
padding: 6px 16px;
}
/* icon */
.el-radio-button--small
.el-radio-button__orig-radio:not(:disabled):checked
+ .el-radio-button__inner:before {
content: 'done';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
font-size: 18px;
margin-right: 2px;
}
/* hover */
.el-radio-button--small:hover .el-radio-button__inner {
background: rgba(var(--md-sys-color-on-surface), 0.08);
}
.el-radio-button--small:hover
.el-radio-button__orig-radio:not(:disabled):checked
+ .el-radio-button__inner {
background: rgb(87, 80, 101);
}
/* focus */
.el-radio-button:focus:not(.is-focus):not(.is-active):not(.is-disabled) {
box-shadow: none;
}
/* press */
.el-radio-button--small.is-active
.el-radio-button__orig-radio:not(:disabled)
+ .el-radio-button__inner {
background: rgba(var(--md-sys-color-on-surface), 0.12);
}
.el-radio-button--small.is-active
.el-radio-button__orig-radio:not(:disabled):checked
+ .el-radio-button__inner {
background: rgb(93, 86, 107);
}
// Override all element-plus theme coloring
.el-radio-button__inner {
--el-radio-button-checked-bg-color: rgb(
var(--md-sys-color-secondary-container)
);
--el-radio-button-checked-text-color: rgb(
var(--md-sys-color-on-secondary-container)
);
--el-radio-button-checked-border-color: rgb(var(--md-sys-color-outline));
}
/* ---------- Filled button ---------- */
.el-button {
position: relative;
}
.el-button--small.is-circle,
.el-button.is-circle {
width: 40px !important;
}
.el-button::after {
position: absolute;
content: '';
height: 100%;
width: 100%;
background-color: transparent;
border: none;
left: 0;
top: 0;
border-radius: 20px;
transition: background-color 0.1s ease-in-out;
}
.el-button.el-button--primary:not(.el-button--text) {
height: 40px;
padding: 0;
margin: 0 4px;
border-radius: 20px;
background-color: rgb(var(--md-sys-color-primary));
color: rgb(var(--md-sys-color-on-primary));
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
border: none;
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out;
}
.el-button.el-button--primary:not(.el-button--text).is-disabled {
cursor: not-allowed;
background-color: rgba(var(--md-sys-color-on-surface), 0.12);
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-button.el-button--primary:not(.el-button--text) > i {
font-size: 18px;
}
.el-button.el-button--primary:not(.el-button--text) > i:first-child:last-child {
padding: 0 11px;
}
.el-button.el-button--primary:not(.el-button--text) > i:first-child {
padding-left: 16px;
padding-right: 8px;
}
.el-button.el-button--primary:not(.el-button--text) > *:not(i):first-child {
padding-left: 24px;
}
.el-button.el-button--primary:not(.el-button--text) > span:last-child {
padding-right: 24px;
}
.el-button.el-button--primary:not(.el-button--text, .is-disabled):hover::after {
background-color: rgba(var(--md-sys-color-on-primary), 0.08);
}
.el-button.el-button--primary:not(.el-button--text, .is-disabled):focus::after,
.el-button.el-button--primary:not(
.el-button--text,
.is-disabled
).is-active::after {
background-color: rgba(var(--md-sys-color-on-primary), 0.12);
}
/* ---------- Filled tonal button ---------- */
.el-button:not(.el-button--text, .el-button--primary),
.el-button-group > .el-button:first-child:last-child {
height: 40px;
padding: 0;
margin: 2px 4px;
border-radius: 20px;
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
border: none;
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out;
}
.pending-update button {
border-radius: 10px !important;
height: 44px !important;
margin: 14px !important;
}
.pending-update button::after {
border-radius: 10px !important;
}
.pending-update {
height: 70px;
}
.el-button:not(.el-button--text, .el-button--primary, .is-disabled),
.el-button:not(.el-button--text, .el-button--primary, .is-disabled):hover,
.el-button:not(.el-button--text, .el-button--primary, .is-disabled):focus,
.el-button:not(.el-button--text, .el-button--primary, .is-disabled).is-active {
background-color: rgb(var(--md-sys-color-secondary-container));
color: rgb(var(--md-sys-color-on-secondary-container));
}
.el-button:not(.el-button--text, .el-button--primary).is-disabled {
cursor: not-allowed;
background-color: rgba(var(--md-sys-color-on-surface), 0.12);
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-button:not(.el-button--text, .el-button--primary) > i {
font-size: 18px;
}
.el-button:not(.el-button--text, .el-button--primary)
> i:first-child:last-child {
padding: 5px 10px;
}
.el-button:not(.el-button--text, .el-button--primary) > i:first-child {
padding-left: 16px;
padding-right: 8px;
}
.el-button:not(.el-button--text, .el-button--primary) > *:not(i):first-child {
padding-left: 24px;
}
:not(.el-dropdown)
> .el-button:not(.el-button--text, .el-button--primary)
> span:last-child {
padding-right: 24px;
}
.el-dropdown
> .el-button:not(.el-button--text, .el-button--primary)
i:last-child {
padding-right: 12px;
}
.el-button:not(
.el-button--text,
.el-button--primary,
.is-disabled
):hover::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.08);
}
.el-button:not(
.el-button--text,
.el-button--primary,
.is-disabled
):focus::after,
.el-button:not(
.el-button--text,
.el-button--primary,
.is-disabled
).is-active::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.12);
}
/* ---------- Text button ---------- */
.el-button.el-button--text:not(.el-button--primary) {
height: 40px;
padding: 0;
margin: 0 4px;
border-radius: 20px;
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
border: none;
transition:
background-color 0.1s ease-in-out,
color 0.1s ease-in-out;
}
.el-button.el-button--text:not(.el-button--primary) > i {
font-size: 15px;
}
.el-button.el-button--text:not(.el-button--primary, .is-disabled),
.el-button.el-button--text:not(.el-button--primary, .is-disabled):hover,
.el-button.el-button--text:not(.el-button--primary, .is-disabled):focus,
.el-button.el-button--text:not(.el-button--primary, .is-disabled).is-active {
background-color: transparent;
color: rgb(var(--md-sys-color-on-secondary-container));
}
.el-button.el-button--text:not(.el-button--primary).is-disabled {
cursor: not-allowed;
background-color: rgba(var(--md-sys-color-on-surface), 0.12);
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-button.el-button--text:not(.el-button--primary, .is-disabled):hover::after {
background-color: rgba(var(--md-sys-color-primary), 0.08);
}
.el-button.el-button--text:not(.el-button--primary, .is-disabled):focus::after,
.el-button.el-button--text:not(
.el-button--primary,
.is-disabled
).is-active::after {
background-color: rgba(var(--md-sys-color-primary), 0.12);
}
/* ---------- Chip ---------- */
.el-select .el-tag,
.el-tag {
border: 1px solid rgb(var(--md-sys-color-outline));
background-color: transparent;
border-radius: 8px;
height: 28px;
padding: 0 12px;
// margin-top: 8px !important;
// margin-right: 8px !important;
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-label-large-font);
line-height: 28px;
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
}
.el-tag.el-tag--info .el-tag__close {
font-size: 18px;
color: rgb(var(--md-sys-color-on-surface-variant));
}
.el-select .el-tag__close.el-icon-close,
.el-select .el-tag__close.el-icon-close:hover,
.el-select .el-tag__close.el-icon-close:focus,
.el-select .el-tag__close.el-icon-close.is-active,
.el-tag.el-tag--info,
.el-tag--plain.el-tag--danger {
background-color: transparent;
}
.el-tag--plain.el-tag--danger {
color: rgb(var(--md-sys-color-error));
border-color: rgb(var(--md-sys-color-error));
}
.el-tag,
.el-tag.el-tag--success,
.el-tag.el-tag--info,
.el-tag.el-tag--warning,
.el-tag.el-tag--danger {
border-color: rgb(var(--md-sys-color-outline));
background-color: transparent;
}
/* Friend */
.el-tab-pane .x-friend-list {
padding: 0;
}
.x-friend-item {
padding: 8px;
border-radius: 25px;
transition: background-color 0.1s ease-in-out;
}
.x-friend-item:hover {
background-color: rgba(var(--md-sys-color-on-surface-variant), 0.08);
border-radius: 25px;
}
.x-friend-item .el-input__count {
background-color: transparent;
}
// User dialog memo: input count background color
.x-friend-item:hover .el-input__count {
background-color: transparent;
}
.x-friend-item .detail {
margin: 0 -2px;
}
.x-friend-item > .detail > .name {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
}
.x-friend-item > .detail > .extra {
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-body-small-font);
line-height: var(--md-sys-typescale-body-small-line-height);
font-size: var(--md-sys-typescale-body-small-size);
font-weight: var(--md-sys-typescale-body-small-weight);
letter-spacing: var(--md-sys-typescale-body-small-tracking);
user-select: text;
}
/* friend dialog bar */
.dialog-title {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-title-medium-font);
line-height: var(--md-sys-typescale-title-medium-line-height);
font-size: var(--md-sys-typescale-title-medium-size);
font-weight: var(--md-sys-typescale-title-medium-weight);
letter-spacing: var(--md-sys-typescale-title-medium-tracking);
user-select: text;
}
.el-tabs__active-bar,
.el-tabs__nav-wrap::after {
display: none;
}
.el-tabs__header {
padding: 5px;
border-bottom: 1px solid rgb(var(--md-sys-color-outline-variant));
}
.el-tabs--bottom .el-tabs__item.is-bottom:nth-child(2),
.el-tabs--bottom .el-tabs__item.is-top:nth-child(2),
.el-tabs--top .el-tabs__item.is-bottom:nth-child(2),
.el-tabs--top .el-tabs__item.is-top:nth-child(2),
.el-tabs--bottom .el-tabs__item.is-bottom:last-child,
.el-tabs--bottom .el-tabs__item.is-top:last-child,
.el-tabs--top .el-tabs__item.is-bottom:last-child,
.el-tabs--top .el-tabs__item.is-top:last-child {
padding: 0 24px;
}
img.x-link.el-popover__reference {
border-radius: 24px !important;
}
.el-popover,
.nav-menu-popover {
background: var(--md-sys-color-surface-4);
border: none;
border-radius: 12px;
box-shadow:
0 3px 6px rgba(0, 0, 0, 0.16),
0 3px 6px rgba(0, 0, 0, 0.23);
}
.el-popover img,
.nav-menu-popover img {
border-radius: 12px;
}
.el-tabs__item,
.nav-menu-settings__item,
.nav-menu-theme__item {
position: relative;
height: 40px;
border-radius: 20px;
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-label-large-font);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
padding: 0 24px;
transition:
background-color 0.2s ease-in-out,
color 0.2s ease-in-out;
}
.el-tabs__item:not(:last-child) {
margin-right: 4px;
}
.el-tabs__item::after {
border-radius: 20px;
}
.el-tabs__item:hover,
.el-tabs__item:focus,
.el-tabs__item.is-active {
color: rgb(var(--md-sys-color-on-surface));
}
.el-tabs__item:hover::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.08);
}
.el-tabs__item:focus::after,
.el-tabs__item.is-active::after {
background-color: rgba(var(--md-sys-color-on-secondary-container), 0.12);
}
.el-tabs__item.is-active {
background-color: rgba(var(--md-sys-color-secondary-container));
color: rgb(var(--md-sys-color-on-surface));
}
.el-tree {
background: var(--md-sys-color-surface-1);
border-radius: 24px;
user-select: text;
}
.el-tree span {
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-body-small-font);
line-height: var(--md-sys-typescale-body-small-line-height);
font-size: var(--md-sys-typescale-body-small-size);
font-weight: var(--md-sys-typescale-body-small-weight);
letter-spacing: var(--md-sys-typescale-body-small-tracking);
}
.el-tree span[style*='font-weight: bold;'] {
color: rgb(var(--md-sys-color-secondary));
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
margin-right: 8px !important;
}
.el-tree .el-tree-node__content:hover {
background: var(--md-sys-color-surface-2);
}
.el-tree-node:focus > .el-tree-node__content {
background: var(--md-sys-color-surface-3);
}
/* ---------- Friend Locations -------- */
.friend-card__name {
color: rgb(var(--md-sys-color-on-primary-container)) !important;
}
.friend-card__avatar {
border: 1px solid rgb(var(--md-sys-color-outline-variant)) !important;
}
.friend-card__signature {
color: rgb(var(--md-sys-color-on-surface-variant)) !important;
}
.friend-card__world {
background: rgb(var(--md-sys-color-secondary-container)) !important;
}
.friend-card__location {
color: rgb(var(--md-sys-color-on-secondary-container));
}
.x-friend-item > .detail > .extra,
.extra,
.friend-view__divider-text {
color: rgb(var(--md-sys-color-on-background));
}
.friend-card__status-dot {
border: calc(2px * var(--card-scale)) solid
rgb(var(--md-sys-color-outline-variant)) !important;
}
.friend-view__divider:before,
.friend-view__divider:after {
background: rgb(var(--md-sys-color-outline-variant)) !important;
}
/* ---------- Segmented Item -------- */
.el-segmented {
background: rgb(var(--md-sys-color-secondary-container)) !important;
border-radius: 16px !important;
overflow: hidden;
padding: unset;
}
.el-segmented__item {
color: rgb(var(--md-sys-color-on-surface-variant));
border-radius: 0px;
}
.el-segmented__item-selected {
background: rgba(var(--md-sys-color-on-secondary-container), 0.12);
border-radius: 0px;
}
.el-segmented__item.is-selected {
color: rgb(var(--md-sys-color-primary));
border-radius: 0px;
}
.el-segmented__item.is-selected:hover {
color: rgb(var(--md-sys-color-on-primary-container));
}
.el-segmented__item:not(.is-selected):hover {
background-color: rgba(
var(--md-sys-color-on-secondary-container),
0.08
) !important;
color: rgb(var(--md-sys-color-on-primary-container)) !important;
}
.el-segmented__item:first-child,
/* Select second child because for some reason first child of el-segmented is the "-selected" with a translate that moves it, I guess that's so it can be animated well */
.el-segmented__item:nth-child(2):hover,
.el-segmented__item-selected[style*='translateX(0px)'] {
border-top-left-radius: 16px !important;
border-bottom-left-radius: 16px !important;
}
.el-segmented__item:last-child,
.el-segmented__item-selected[style*='translateX(197px)'] {
border-top-right-radius: 16px !important;
border-bottom-right-radius: 16px !important;
}
/* ---------- Radio Button -------- */
.el-radio__inner,
.el-radio__input.is-checked .el-radio__inner,
.el-radio__input.is-disabled .el-radio__inner,
.el-radio__input.is-disabled .el-radio__inner::after,
.el-radio__input.is-disabled.is-checked .el-radio__inner,
.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
all: initial;
background-color: transparent;
}
.el-radio__inner::after {
all: unset;
height: 20px;
width: 20px;
content: 'radio_button_unchecked';
font-family: 'Material Symbols Rounded';
font-size: 20px;
line-height: 20px;
vertical-align: bottom;
background-color: transparent !important;
color: rgb(var(--md-sys-color-on-surface-variant));
transition: color 0.1s ease-in-out;
font-variation-settings: 'FILL' 0;
}
.el-radio__input.is-checked .el-radio__inner::after {
content: 'radio_button_checked';
color: rgb(var(--md-sys-color-primary));
font-variation-settings: 'FILL' 0;
}
.el-radio__input.is-disabled.is-checked .el-radio__inner::after {
height: 20px;
width: 20px;
content: 'radio_button_checked';
font-family: 'Material Symbols Rounded';
font-size: 20px;
line-height: 20px;
vertical-align: bottom;
color: rgba(var(--md-sys-color-on-surface), 0.38);
font-variation-settings: 'FILL' 0;
}
.el-radio__input.is-disabled .el-radio__inner::after {
height: 20px;
width: 20px;
content: 'radio_button_unchecked';
font-family: 'Material Symbols Rounded';
font-size: 20px;
line-height: 20px;
vertical-align: bottom;
color: rgba(var(--md-sys-color-on-surface), 0.38);
font-variation-settings: 'FILL' 0;
}
.el-radio__label {
color: rgb(var(--md-sys-color-on-surface-variant));
transition: color 0.1s ease-in-out;
}
.el-radio__input.is-checked + .el-radio__label {
color: rgb(var(--md-sys-color-primary));
}
.el-radio__input.is-disabled + span.el-radio__label {
color: rgba(var(--md-sys-color-on-surface), 0.38);
}
.el-radio-group {
align-items: center;
}
/* popup */
.el-tooltip__popper.is-dark {
background-color: rgb(var(--md-sys-color-inverse-surface));
border-radius: 8px;
color: rgb(var(--md-sys-color-inverse-on-surface));
font-family: var(--md-sys-typescale-label-medium-font);
line-height: var(--md-sys-typescale-label-medium-line-height);
font-size: var(--md-sys-typescale-label-medium-size);
font-weight: var(--md-sys-typescale-label-medium-weight);
letter-spacing: var(--md-sys-typescale-label-medium-tracking);
}
/* Dialog / Message box */
.el-dialog__wrapper::-webkit-scrollbar,
.x-menu-container::-webkit-scrollbar {
display: none;
}
.el-dialog__wrapper {
display: grid;
}
/* Notification position box (for some reason?!) */
// this is awful never do this
*:not(.x-user-dialog, .x-world-dialog, .x-avatar-dialog, .x-group-dialog)
> .el-dialog:not([aria-label*='Notification Position']):not(
[aria-label*='Launch']
):not([aria-label*='VRCX Updater']):not([aria-label*='Social Status']) {
max-width: 1125px !important;
width: 1125px !important;
}
*:not(.x-user-dialog, .x-world-dialog, .x-avatar-dialog, .x-group-dialog)
> .el-dialog
> .el-dialog__body {
overflow-y: auto;
max-height: 825px;
}
.el-dialog {
border-radius: 28px;
padding: 24px;
background: var(--md-sys-color-surface-3);
margin-top: 3%;
}
.el-dialog__body {
padding: 0 !important;
}
.el-message-box {
background: var(--md-sys-color-surface-3);
border: none;
border-radius: 28px;
padding: 24px;
width: 500px;
word-break: break-all;
}
.el-message-box > *,
.el-dialog > * {
padding: 0;
}
.el-message-box__status.el-icon-info {
color: rgb(var(--md-sys-color-secondary));
}
.el-message-box__headerbtn,
.el-dialog__headerbtn {
display: none;
}
.el-message-box > .el-message-box__header,
.el-dialog__header {
text-align: center;
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-headline-small-font);
line-height: var(--md-sys-typescale-headline-small-line-height);
font-size: var(--md-sys-typescale-headline-small-size);
font-weight: var(--md-sys-typescale-headline-small-weight);
letter-spacing: var(--md-sys-typescale-headline-small-tracking);
margin-bottom: 16px;
}
.x-user-dialog > .el-dialog > .el-dialog__body,
.x-world-dialog > .el-dialog > .el-dialog__body,
.x-avatar-dialog > .el-dialog > .el-dialog__body,
.x-group-dialog > .el-dialog > .el-dialog__body {
margin-bottom: 0;
max-height: unset;
}
.el-message-box__content,
.el-dialog__body {
color: rgb(var(--md-sys-color-on-surface-variant));
font-family: var(--md-sys-typescale-body-medium-font);
line-height: var(--md-sys-typescale-body-medium-line-height);
font-size: var(--md-sys-typescale-body-medium-size);
font-weight: var(--md-sys-typescale-body-medium-weight);
letter-spacing: var(--md-sys-typescale-body-medium-tracking);
margin-bottom: 24px;
max-height: 500px;
scroll-margin-left: 8px;
word-break: break-word;
}
.el-message-box__content > *,
.el-dialog__body > * {
height: 0% !important;
}
.el-message-box__btns .el-button,
.el-dialog__footer .el-button {
background-color: transparent;
}
.x-user-dialog
[style='flex: 1 1 0%; display: flex; align-items: center; margin-left: 15px;']
> :last-child,
.x-world-dialog
[style='flex: 1 1 0%; display: flex; align-items: center; margin-left: 15px;']
> :last-child,
.x-avatar-dialog
[style='flex: 1 1 0%; display: flex; align-items: center; margin-left: 15px;']
> :last-child,
.x-group-dialog
[style='flex: 1 1 0%; display: flex; align-items: center; margin-left: 15px;']
> :last-child {
width: 40px;
display: flex;
flex-direction: column;
align-items: center;
}
[style='flex: 0 0 auto; margin-left: 10px;'] > .el-dropdown {
margin: 0 !important;
}
/* ---------- Slider ---------- */
.el-slider__runway {
background-color: rgb(var(--md-sys-color-surface-variant));
height: 4px;
border-radius: 2px;
}
.el-slider__bar {
background-color: rgb(var(--md-sys-color-primary));
height: 4px;
}
.el-slider__stop {
background-color: rgba(var(--md-sys-color-on-primary), 0.38);
height: 4px;
width: 4px;
}
.el-slider__button {
position: relative;
height: 20px;
width: 20px;
border: none;
background-color: rgb(var(--md-sys-color-primary));
}
.el-slider__button.dragging,
.el-slider__button.hover,
.el-slider__button:hover {
transform: none;
}
.el-slider__button::after {
position: absolute;
content: '';
height: 0;
width: 0;
border-radius: 20px;
top: -10px;
transform: translate(-50%);
transition:
height 0.1s ease-in-out,
width 0.1s ease-in-out;
}
.el-slider__button:hover::after,
.el-slider__button:focus::after {
height: 40px;
width: 40px;
background-color: rgba(var(--md-sys-color-primary), 0.08);
}
.el-slider__button.is-active:after {
height: 40px;
width: 40px;
background-color: rgba(var(--md-sys-color-primary), 0.12);
}
/* ---------- Color picker---------- */
.color-picker {
line-height: 32px;
margin-right: 16px !important;
margin-left: 10px !important;
}
.el-color-picker {
padding: 5px;
}
.el-color-picker__trigger {
border: none;
}
.el-color-picker--small .el-color-picker__trigger {
height: 32px;
width: 32px;
}
.el-color-picker__color {
border: 1px solid rgb(var(--md-sys-color-outline));
border-radius: 5px;
}
.el-color-picker__color-inner {
border-radius: 4px;
}
.el-color-picker__panel {
background: var(--md-sys-color-surface-3);
border: none;
border-radius: 12px;
padding: 12px;
}
.el-color-dropdown__value {
width: 120px;
}
/* ---------- Menu ---------- */
.el-popper.is-light {
border: 12px !important;
background: rgb(var(--md-sys-color-surface)) !important;
border-radius: 12px !important;
}
.el-popper[x-placement^='top'],
.el-popper[x-placement^='bottom'] {
margin: 0;
}
.el-dropdown-menu,
.el-select-dropdown {
padding: 8px 0;
border: none;
border-radius: 8px;
background: var(--md-sys-color-surface-2);
overflow: auto;
max-height: 90%;
}
.el-dropdown-menu__item {
height: 42px;
padding: 0 12px;
display: flex;
align-items: center;
color: rgb(var(--md-sys-color-on-surface)) !important;
font-family: var(--md-sys-typescale-label-large-font);
line-height: var(--md-sys-typescale-label-large-line-height);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
}
.el-dropdown-menu__item > i {
color: rgb(var(--md-sys-color-on-surface-variant));
margin-right: 12px;
font-size: 24px;
}
.el-dropdown-menu--small
.el-dropdown-menu__item.el-dropdown-menu__item--divided:before {
margin: 0;
}
.el-dropdown-menu__item:not(.is-disabled):hover,
.el-select-dropdown__item.hover,
.el-dropdown-menu__item:focus {
background-color: rgba(var(--md-sys-color-on-surface), 0.08) !important;
color: rgb(var(--md-sys-color-on-surface)) !important;
}
.el-dropdown-menu__item.is-active,
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected,
.el-select-dropdown__item.selected {
background-color: rgba(var(--md-sys-color-on-surface), 0.12) !important;
color: rgb(var(--md-sys-color-on-surface)) !important;
}
.el-select-dropdown.is-multiple .el-select-dropdown__item.selected.hover {
background-color: rgba(var(--md-sys-color-on-surface), 0.16) !important;
}
.el-dropdown-menu--small
.el-dropdown-menu__item.el-dropdown-menu__item--divided {
border-top: 1px solid rgb(var(--md-sys-color-outline-variant));
margin-top: 8px;
}
.el-popover {
background: var(--md-sys-color-surface-3) !important;
border-color: rgb(var(--md-sys-color-outline-variant)) !important;
}
.el-popper[data-popper-placement^='top'] .el-popper__arrow {
border-top-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='top'] .el-popper__arrow::after {
border-top-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='bottom'] .el-popper__arrow {
border-bottom-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='bottom'] .el-popper__arrow::after {
border-bottom-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='left'] .el-popper__arrow {
border-left-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='left'] .el-popper__arrow::after {
border-left-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='right'] .el-popper__arrow {
border-right-color: var(--md-sys-color-surface-3) !important;
}
.el-popper[data-popper-placement^='right'] .el-popper__arrow::after {
border-right-color: var(--md-sys-color-surface-3) !important;
}
/* Status icon */
i.x-user-status {
height: 12px;
width: 12px;
}
/* ---------- Flags ---------- */
/* Navigation rail */
.el-icon-news::before {
content: 'feed';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-data::before {
content: 'leaderboard';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-search::before {
content: 'search';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-notebook-2::before {
content: 'group';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-finished::before {
content: 'security';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-bell::before {
content: 'notifications';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-management::before {
content: 'bookmark';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-user::before {
content: 'account_circle';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-tools::before {
content: 'settings';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* star */
.el-icon-star-off::before {
content: 'star';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 0;
}
.el-icon-star-on::before {
content: 'star';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* right arrow */
.el-icon-right::before {
content: 'arrow_right_alt';
font-family: 'Material Symbols Rounded';
vertical-align: -7px;
margin: 0 4px;
font-size: 24px;
font-variation-settings: 'FILL' 1;
color: rgb(var(--md-sys-color-primary));
}
/* close */
.el-icon-close::before {
content: 'close';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* more */
.el-icon-more::before {
content: 'more_horiz';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* direct access */
.el-icon-discover::before {
content: 'explore';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* refresh */
.el-icon-refresh::before {
content: 'refresh';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* User Menu */
.el-icon-s-order::before {
content: 'content_copy';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-custom::before {
content: 'person';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-edit::before {
content: 'edit';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-switch-button::before {
content: 'logout';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* World Menu */
.el-icon-s-flag::before {
content: 'flag';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-home::before {
content: 'home';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-tickets::before {
content: 'library_books';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 0;
}
.el-icon-picture-outline::before {
content: 'photo_library';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 0;
}
/* info */
.el-icon-warning::before,
.el-icon-info::before {
content: 'info';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* delete */
.el-icon-delete::before,
.el-icon-delete-solid::before {
content: 'delete';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* Profile panel */
.el-icon-printer::before {
content: 'print';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-chat-dot-round::before {
content: 'badge';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-postcard::before {
content: 'contact_mail';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-circle-close::before {
content: 'block';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-turn-off-microphone::before {
content: 'mic_off';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* Setting */
.el-icon-notebook-1::before {
content: 'table';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-rank::before {
content: 'open_with';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-time::before {
content: 'schedule';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-chat-square::before {
content: 'filter_alt';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-s-operation::before {
content: 'tune';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-caret-right::before {
content: 'play_arrow';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
.el-icon-download::before {
content: 'download';
font-family: 'Material Symbols Rounded';
vertical-align: bottom;
margin: 0;
font-variation-settings: 'FILL' 1;
}
/* Checkbox */
.el-checkbox__inner,
.el-checkbox__inner::after,
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
color: unset;
background-color: unset;
border: unset;
}
.el-checkbox__inner::after {
all: unset;
height: 20px;
width: 20px;
content: 'check_box_outline_blank';
font-family: 'Material Symbols Rounded';
font-size: 20px;
line-height: 20px;
color: rgb(var(--md-sys-color-on-surface-variant));
transition: color 0.1s ease-in-out;
font-variation-settings: 'FILL' 0;
}
.el-checkbox__input.is-checked .el-checkbox__inner::after {
content: 'check_box';
color: rgb(var(--md-sys-color-primary));
}
.el-checkbox__input.is-checked + .el-checkbox__label {
color: rgb(var(--md-sys-color-primary));
}
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
content: 'indeterminate_check_box';
color: rgb(var(--md-sys-color-on-surface));
}
.el-checkbox__label {
font-family: var(--md-sys-typescale-label-large-font);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
}
.x-friend-list > .x-friend-group:first-child {
color: rgb(var(--md-sys-color-on-surface));
font-family: var(--md-sys-typescale-label-large-font);
font-size: var(--md-sys-typescale-label-large-size);
font-weight: var(--md-sys-typescale-label-large-weight);
letter-spacing: var(--md-sys-typescale-label-large-tracking);
margin-bottom: 6px;
}
.x-friend-list > .x-friend-group > .x-link {
color: rgb(var(--md-sys-color-outline));
font-family: var(--md-sys-typescale-label-medium-font);
font-size: var(--md-sys-typescale-label-medium-size);
font-weight: var(--md-sys-typescale-label-medium-weight);
letter-spacing: var(--md-sys-typescale-label-medium-tracking);
}
.el-table_2_column_10,
.el-table_2_column_11,
.el-table_2_column_12,
.el-table_2_column_13,
.el-table_3_column_15,
.el-table_3_column_16,
.el-table_3_column_17,
.el-table_29_column_204,
.el-table_30_column_208,
.el-table_31_column_212,
.el-table_32_column_216,
.el-table_39_column_259,
.el-table_39_column_267,
.el-table_40_column_274,
.el-table_40_column_275,
.el-table_41_column_283,
.el-table_41_column_285,
.el-table_41_column_286,
.el-table_41_column_287,
.el-table_41_column_291 {
text-align: center !important;
}
.el-collapse-item .el-tag--small {
background-color: transparent;
border: transparent;
padding-top: 6px;
}
.simple-switch {
justify-content: space-between;
}
.el-dialog__body .el-tag--small {
line-height: 28px;
}
.el-divider {
border-top: 1px rgb(var(--md-sys-color-outline-variant))
var(--el-border-style);
}
.el-divider__text {
background: rgba(var(--md-sys-color-background));
color: #efefef;
}
.el-backtop {
background: var(--md-sys-color-surface-1);
color: rgb(var(--md-sys-color-primary));
}
// Date picker
.el-date-table td.available:hover span {
color: #fff;
}
.el-date-table td.available:hover {
color: #fff;
}
.el-date-table td.disabled div {
background-color: rgb(48, 46, 53);
}
.el-date-table td.current:not(.disabled) span {
background: var(--md-sys-color-surface-2);
color: #fff;
}
.el-date-table td.today span {
color: rgb(var(--md-sys-color-primary-container));
}
.el-year-table td .cell:hover,
.el-year-table td.current:not(.disabled) .cell {
color: rgb(48, 46, 53);
}
.el-month-table td.current:not(.disabled) .cell {
color: rgb(48, 46, 53);
}
.el-date-picker__header-label.active,
.el-date-picker__header-label:hover {
color: rgb(48, 46, 53);
}
.el-picker-panel__icon-btn:hover {
color: rgb(48, 46, 53);
}
.el-month-table td .cell:hover {
color: rgb(48, 46, 53);
}
.el-skeleton.is-animated .el-skeleton__item {
background: linear-gradient(90deg, #302e34 25%, #423f46 37%, #302e34 63%);
background-size: 400% 100%;
animation: el-skeleton-loading 1.4s ease infinite;
}
.el-table .el-table__body-wrapper .el-table__row .cell > span {
display: block;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.el-dialog[aria-label='Launch'] .el-form .el-form-item__content {
display: flex;
align-items: center;
}
.el-dialog[aria-label='Launch']
.el-form
> .el-form-item:nth-child(2)
.el-form-item__label {
display: flex;
align-items: center;
}
div.x-friend-list
> div:nth-child(1)
> div
> div.el-textarea.el-input--small
> span.el-input__count {
background-color: var(--md-sys-color-surface-3) !important;
}
.el-calendar {
background: var(--md-sys-color-surface-3) !important;
--el-calendar-selected-bg-color: rgb(
var(--md-sys-color-secondary-container)
) !important;
}
.el-calendar__title {
color: rgb(var(--md-sys-color-on-surface)) !important;
}
.el-calendar-table td.is-selected {
background-color: rgb(var(--md-sys-color-secondary-container));
}
.el-calendar-table td.is-today {
color: rgb(var(--md-sys-color-primary));
}
.el-card {
background: var(--md-sys-color-surface-2) !important;
border-color: rgb(var(--md-sys-color-outline-variant)) !important;
}
.el-descriptions__body {
background: var(--md-sys-color-surface-3) !important;
color: rgb(var(--md-sys-color-on-surface)) !important;
}
.el-timeline-item__tail {
border-left-color: rgb(var(--md-sys-color-outline-variant)) !important;
}
.el-timeline-item__node {
background-color: rgb(var(--md-sys-color-outline)) !important;
}
.x-dialog .top-content {
height: 640px !important ;
}
// Group Calendar Dialog borders
.search-container {
border-bottom: 1px solid rgba(var(--md-sys-color-outline), 0.5) !important;
}
.group-header {
border-bottom: 2px solid rgba(var(--md-sys-color-outline), 0.5) !important;
}
.el-select__wrapper {
background-color: rgb(var(--md-sys-color-surface-variant)) !important;
border: 1px solid rgb(var(--md-sys-color-outline-variant)) !important;
}
.el-select__wrapper.is-focused {
border-color: rgb(var(--md-sys-color-primary)) !important;
box-shadow: none !important;
}
.el-select__wrapper.is-disabled {
background-color: rgba(var(--md-sys-color-on-surface), 0.12) !important;
color: rgba(var(--md-sys-color-on-surface), 0.38) !important;
}
.el-input__wrapper {
background-color: rgb(var(--md-sys-color-surface-variant)) !important;
border: 1px solid rgb(var(--md-sys-color-outline-variant)) !important;
}
.el-input__wrapper.is-focus {
border-color: rgb(var(--md-sys-color-primary)) !important;
}
// Fix the height difference of search bar
.el-select__wrapper,
.el-input__wrapper {
height: 32px !important;
box-sizing: border-box !important;
padding: 0 8px !important;
}
.el-select__wrapper .el-input__inner,
.el-input__wrapper .el-input__inner {
height: 100% !important;
line-height: 32px !important;
}
.el-input__inner {
border: none !important;
background: transparent !important;
box-shadow: none !important;
}
.el-table {
background-color: rgb(var(--md-sys-color-surface)) !important;
}
.el-table tr,
.el-table td.el-table__cell,
.el-table th.el-table__cell {
background-color: transparent !important;
}
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell {
background-color: rgba(var(--md-sys-color-primary), 0.05) !important;
}
.el-table__body-wrapper .el-table__row:hover > .el-table__cell {
background-color: rgba(var(--md-sys-color-primary), 0.08) !important;
}
.category-header {
background-color: rgba(var(--md-sys-color-primary), 0.05) !important;
}
.category-title,
.tool-name {
color: rgv(var(--md-sys-color-on-surface-variant)) !important;
}
.tool-icon {
background-color: rgba(var(--md-sys-color-primary), 0.05) !important;
}
.tool-icon > * {
color: rgv(var(--md-sys-color-on-surface-variant)) !important;
}
/* Settings Menu Button */
.nav-menu-settings__item,
.nav-menu-theme__item,
.nav-menu-popover__menu-item {
border-radius: 12px !important;
color: rgb(var(--md-sys-color-on-secondary-container)) !important;
}
.nav-menu-theme__check {
color: rgb(var(--md-sys-color-primary)) !important;
}
.nav-menu-settings__item--danger {
color: rgb(var(--md-sys-color-error)) !important;
}
.nav-menu-settings__item:hover:not(.nav-menu-settings__item--danger),
.nav-menu-theme__item:hover,
.nav-menu-popover__menu-item:hover {
background-color: rgb(var(--md-sys-color-secondary-container)) !important;
}
.nav-menu-theme__item.is-active {
background-color: rgb(var(--md-sys-color-surface-variant)) !important;
}
/* New Social Menu */
.nav-menu-popover {
background: var(--md-sys-color-surface-2);
}
.nav-menu-popover__header i {
color: rgb(var(--md-sys-color-secondary)) !important;
}