diskort/src/bd.less

82 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-04-24 08:34:07 +00:00
// BetterDiscord specific things
2022-08-07 14:20:53 +00:00
.bd-button, .bd-search-wrapper,
.bd-changlelog-button, .bd-select-options,
#bd-pub-button,
2022-04-24 08:34:07 +00:00
{ &:extend(.round); }
2022-08-07 14:20:53 +00:00
.bd-notice, .bd-toast,
{ &:extend(.rounder); }
.bd-toasts {
align-items: flex-end;
width: calc(100% - @roundest) !important;
left: 0 !important;
}
.bd-select-options {
max-width: max-content !important;
}
.bd-search-wrapper,
.bd-changelog-button {
2022-04-24 08:34:07 +00:00
align-self: center;
margin: 0;
margin-right: 8px;
}
2022-08-07 14:20:53 +00:00
div.bd-controls {
column-gap: (@round / 2);
}
.butn(@norm, @hov) {
svg { background: @norm; }
&:hover svg { background: @hov; }
}
.floating-window {
max-width: 100% !important;
max-height: 100% !important;
.floating-window-buttons {
.button {
&:hover {
background: none;
}
svg {
color: #000;
&:extend(.round);
}
&.maximize-button {
.butn(#aaaa00, #eeee00);
}
&.close-button {
.butn(#aa0000, #ee0000);
}
}
}
&:extend(.round);
}
div.standardSidebarView-E9Pc3j {
2022-04-24 08:34:07 +00:00
// PluginRepo and ThemeRepo
2022-08-07 14:20:53 +00:00
div.repoList-9JnAPs > div {
2022-04-24 14:43:12 +00:00
position: absolute;
width: 100%;
2022-08-07 14:20:53 +00:00
div.repoHeader-2KfNvH {
2022-04-24 08:34:07 +00:00
& > * {
max-width: unset;
}
2022-08-07 14:20:53 +00:00
div.tabBar-2hXqzU {
2022-04-24 14:43:12 +00:00
height: 48px;
}
2022-04-24 08:34:07 +00:00
}
#pluginrepo-tab,
#themerepo-tab {
max-width: unset;
}
}
}