1
0
mirror of https://github.com/AllanWang/Frost-for-Facebook.git synced 2024-11-09 20:42:34 +01:00

Update theme

This commit is contained in:
Allan Wang 2021-01-13 00:29:41 -08:00
parent 31dc27d568
commit a99ce27219
No known key found for this signature in database
GPG Key ID: 69D90B885D405BDB
4 changed files with 37 additions and 4 deletions

View File

@ -16,6 +16,13 @@
}
}
@mixin fill-available {
width: 100%;
max-width: -webkit-fill-available;
max-width: -moz-available;
max-width: fill-available;
}
@mixin keyframes($name) {
@-webkit-keyframes #{$name} {
@content;
@ -38,7 +45,12 @@
@function str-replace($string, $search, $replace: "") {
$index: str-index($string, $search);
@return if($index, str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace), $string);
@return if(
$index,
str-slice($string, 1, $index - 1) + $replace +
str-replace(str-slice($string, $index + str-length($search)), $search, $replace),
$string
);
}
// https://css-tricks.com/probably-dont-base64-svg/

View File

@ -0,0 +1,3 @@
[role="navigation"] {
border-right: 2px solid $bg_opaque2 !important;
}

View File

@ -2,7 +2,7 @@
--attachment-footer-background: #{$bg_opaque} !important;
--card-background-flat: #{$bg_opaque} !important;
--card-background: #{$bg_opaque} !important;
--comment-background: #{$bg_opaque} !important;
--comment-background: #{$bg_opaque2} !important;
--comment-footer-background: #{$bg_opaque} !important;
--disabled-button-background: #{$bg_opaque} !important;
--disabled-icon: #{$text_disabled} !important;
@ -25,6 +25,10 @@
--secondary-text: #{$text} !important;
--surface-background: #{$bg_opaque2} !important; // Emoji background
--toggle-active-background: #{$bg_opaque2} !important;
--wash: #{$bg_opaque2} !important;
--web-wash: #{$bg_opaque2} !important;
--web-wash: #{$bg_opaque2} !important;
[role="navigation"] {
--surface-background: #{$bg_opaque} !important; // Nav background
}
}

View File

@ -3,4 +3,18 @@
@import "core_vars";
@import "core_text";
@import "core_bg";
@import "core_border";
@import "core_border";
// Sizing adjustments
[role="navigation"] {
.rq0escxv.l9j0dhe7.du4w35lb.j83agx80.g5gj957u.rj1gh0hx.buofh1pr.hpfvmrgz.i1fnvgqd.bp9cbjyn.owycx6da.btwxx1t3.dflh9lhu.scb9dxdr.sj5x9vvc.cxgpxx05.sn0e7ne5.f6rbj1fe.l3ldwz01 /* New! Messenger app for windows */,
.rq0escxv.l9j0dhe7.du4w35lb.n851cfcs.aahdfvyu /* Search messenger */,
.wkznzc2l /* Top left chat + menu entry */ {
display: none !important;
}
}
.rq0escxv.l9j0dhe7.du4w35lb.j83agx80.cbu4d94t.pfnyh3mw.d2edcug0.hpfvmrgz.p8fzw8mz.pcp91wgn.iuny7tx3.ipjc6fyt /* Top bar call video info icons */,
.kuivcneq /* Right sidebar */ {
display: none !important;
}