mirror of
https://github.com/Vendicated/Vencord.git
synced 2025-01-11 02:16:23 +00:00
Refactor styles
This commit is contained in:
parent
17bcf33139
commit
59f2d49f25
1 changed files with 33 additions and 20 deletions
|
@ -74,23 +74,19 @@ $modifier: var(--background-modifier-accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
.vc-notebook-tabbar {
|
.vc-notebook-tabbar {
|
||||||
|
border-bottom: 1px solid var(--background-tertiary);
|
||||||
|
background-color: var(--background-tertiary);
|
||||||
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
height: 36px;
|
||||||
|
flex-shrink: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* .vc-notebook-tabbar-bar {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 10px 20px 0;
|
padding: 10px 20px 0;
|
||||||
background-color: var(--background-tertiary);
|
} */
|
||||||
}
|
|
||||||
|
|
||||||
.vc-notebook-tabbar-item {
|
|
||||||
font-size: 14px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.vc-notebook-tabbar-bar {
|
|
||||||
overflow: hidden;
|
|
||||||
align-items: stretch;
|
|
||||||
display: flex;
|
|
||||||
gap: 40px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.vc-notebook-overflow-chevron {
|
.vc-notebook-overflow-chevron {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -115,14 +111,31 @@ $modifier: var(--background-modifier-accent);
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.vc-notebook-tabbar-bar-item {
|
.vc-notebook-tabbar-item {
|
||||||
display: inline;
|
display: inline-block;
|
||||||
border-bottom: 2px solid transparent;
|
padding: 6px 12px;
|
||||||
height: 39px;
|
white-space: nowrap;
|
||||||
font-size: 14px;
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
line-height: 22px;
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 500;
|
||||||
|
cursor: pointer;
|
||||||
|
color: var(--interactive-normal);
|
||||||
|
border-bottom-width: 2px;
|
||||||
|
border-bottom-style: solid;
|
||||||
|
border-bottom-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.vc-notebook-selected {
|
||||||
|
border-bottom-color: var(--control-brand-foreground);
|
||||||
|
}
|
||||||
|
|
||||||
|
.vc-notebook-tabbar-item:hover {
|
||||||
|
border-bottom-color: var(--brand-experiment);
|
||||||
}
|
}
|
||||||
|
|
||||||
.vc-notebook-top-section {
|
.vc-notebook-top-section {
|
||||||
margin-bottom: calc(-8px + .5*(var(--custom-user-profile-modal-header-avatar-size) + var(--custom-user-profile-modal-header-total-avatar-border-size)));
|
margin-bottom: calc(-8px + .15*(var(--custom-user-profile-modal-header-avatar-size) + var(--custom-user-profile-modal-header-total-avatar-border-size)));
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue