mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 04:19:19 -08:00
Redo overlays setup. Move to "final: prev:". Provide TST as overlay
This commit is contained in:
parent
5a35ac3c3e
commit
dc5d6552a1
9 changed files with 51 additions and 44 deletions
|
|
@ -1,19 +0,0 @@
|
|||
{ stdenv, sass, base16 }:
|
||||
|
||||
stdenv.mkDerivation ({
|
||||
pname = "firefox-tst-css";
|
||||
version = "0.0.1";
|
||||
|
||||
phases = [ "buildPhase" ];
|
||||
|
||||
src = ./tst.sass;
|
||||
|
||||
buildInputs = [
|
||||
sass
|
||||
];
|
||||
|
||||
buildPhase = ''
|
||||
substituteAll $src firefox-tst-substituted.sass
|
||||
sass firefox-tst-substituted.sass $out --sourcemap=none
|
||||
'';
|
||||
} // base16)
|
||||
|
|
@ -1,115 +0,0 @@
|
|||
// Colours
|
||||
$base00: @base00@
|
||||
$base01: @base01@
|
||||
$base02: @base02@
|
||||
$base03: @base03@
|
||||
$base04: @base04@
|
||||
$base05: @base05@
|
||||
$base06: @base06@
|
||||
$base07: @base07@
|
||||
$base08: @base08@
|
||||
$base09: @base09@
|
||||
$base0A: @base0A@
|
||||
$base0B: @base0B@
|
||||
$base0C: @base0C@
|
||||
$base0D: @base0D@
|
||||
$base0E: @base0E@
|
||||
$base0F: @base0F@
|
||||
// Fonts
|
||||
$font_0: "Cozette"
|
||||
$font_1: "monospace !important"
|
||||
|
||||
*
|
||||
font-family: $font_0, $font_1
|
||||
|
||||
#tabbar
|
||||
margin-top: calc(var(--pinned-tabs-area-size) - .15em)
|
||||
position: absolute
|
||||
border: none !important
|
||||
overflow-y: scroll !important
|
||||
margin-left: -.5em
|
||||
background-color: $base00 !important
|
||||
border-right: 1px solid $base01
|
||||
box-shadow: none !important
|
||||
|
||||
#tabbar-container
|
||||
background-color: $base00 !important
|
||||
border-right: 1px solid $base01
|
||||
box-shadow: none !important
|
||||
|
||||
.tab
|
||||
background-color: $base01
|
||||
color: $base05 !important
|
||||
box-shadow: none !important
|
||||
margin: 0.125em
|
||||
border-radius: 0.125em
|
||||
.twisty
|
||||
margin-left: -16px
|
||||
.highlighter::before
|
||||
display: none
|
||||
|
||||
&.pinned
|
||||
background-color: $base0D
|
||||
color: $base07 !important
|
||||
.twisty
|
||||
margin-left: -16px
|
||||
|
||||
.label
|
||||
margin-left: 7px
|
||||
|
||||
|
||||
.label
|
||||
margin-left: 7px
|
||||
margin: 0.25em
|
||||
|
||||
.closebox
|
||||
visibility: collapse
|
||||
|
||||
.favicon
|
||||
margin-left: 0.25em
|
||||
|
||||
&:hover
|
||||
background-color: $base0C !important
|
||||
color: $base07 !important
|
||||
|
||||
&.discarded
|
||||
background-color: $base00
|
||||
color: $base02 !important
|
||||
&:hover
|
||||
background-color: $base01 !important
|
||||
color: $base03 !important
|
||||
|
||||
|
||||
&.active
|
||||
background-color: $base0D
|
||||
color: $base07 !important
|
||||
&:hover
|
||||
background-color: $base0D !important
|
||||
|
||||
|
||||
&.muted
|
||||
opacity: 0.5
|
||||
|
||||
&.sound-playing .label
|
||||
background: linear-gradient(to right, #6666ff, #0099ff , #00ff00, #ff3399, #6666ff)
|
||||
background-clip: text
|
||||
color: transparent
|
||||
animation: rainbow_animation 3s linear infinite
|
||||
animation-direction: alternate-reverse
|
||||
background-size: 400% 100%
|
||||
|
||||
.sound-button::before
|
||||
display: none !important
|
||||
|
||||
.newtab-button
|
||||
display: none
|
||||
|
||||
|
||||
@keyframes rainbow_animation
|
||||
0%
|
||||
background-position: 0 0
|
||||
|
||||
100%
|
||||
background-position: 100% 0
|
||||
|
||||
|
||||
|
|
@ -10,11 +10,9 @@ let
|
|||
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||
"svg.context-properties.content.enabled" = true;
|
||||
};
|
||||
firefox-tst = pkgs.callPackage ./firefox-tst { base16 = config.kw.hexColors; };
|
||||
in
|
||||
{
|
||||
|
||||
home.file.".mozilla/tst.css".source = firefox-tst;
|
||||
home.file.".mozilla/tst.css".source = pkgs.firefox-tst { base16 = config.kw.hexColors; };
|
||||
|
||||
programs.zsh.shellAliases = {
|
||||
ff-pm = "firefox --ProfileManager";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue