changes to protonmail style; semicolon to hide bar.

This commit is contained in:
NunoSempere 2023-06-20 08:30:36 -06:00
parent 3beef82ca6
commit 4784a0ad26
5 changed files with 6 additions and 3 deletions

View File

@ -68,7 +68,7 @@ static struct {
{ CTRL, KEY(w), close_tab }, { CTRL, KEY(w), close_tab },
{ 0x0, KEY(F11), toggle_fullscreen }, { 0x0, KEY(F11), toggle_fullscreen },
{ CTRL, KEY(l), show_searchbar }, { CTRL, KEY(l), show_searchbar },
{ CTRL, KEY(j), hide_bar }, { CTRL, KEY(semicolon), hide_bar },
{ CTRL, KEY(f), show_finder }, { CTRL, KEY(f), show_finder },
{ CTRL, KEY(n), finder_next }, { CTRL, KEY(n), finder_next },
{ CTRL | SFT, KEY(N), finder_prev }, { CTRL | SFT, KEY(N), finder_prev },

View File

@ -1,7 +1,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#define STYLE_N 3943 + 1 #define STYLE_N 3986 + 1
void read_style_js(char* string) void read_style_js(char* string)
{ {

View File

@ -1,7 +1,7 @@
#ifndef STYLE #ifndef STYLE
#define STYLE #define STYLE
#define STYLE_N 3943 + 1 #define STYLE_N 3986 + 1
void read_style_js(char* string); void read_style_js(char* string);

View File

@ -27,6 +27,7 @@ if (document.domain == "forum.effectivealtruism.org"){
if (document.domain == "mail.proton.me" ){ if (document.domain == "mail.proton.me" ){
styles = ` styles = `
/*
.item-container-row.read, .item-container.read { .item-container-row.read, .item-container.read {
background-color: white; background-color: white;
} }
@ -36,6 +37,8 @@ if (document.domain == "mail.proton.me" ){
.selection .item-container-row.item-is-selected, .item-container.item-is-selected { .selection .item-container-row.item-is-selected, .item-container.item-is-selected {
background-color: var(--selection-background-color) !important; background-color: var(--selection-background-color) !important;
} }
zoom: 0.625 !important;
*/
` `
} }
if (document.domain == "forum.nunosempere.com" ){ if (document.domain == "forum.nunosempere.com" ){

BIN
rose

Binary file not shown.