Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update theme : Nyan Catto Mod #705

Merged
merged 3 commits into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 29 additions & 32 deletions themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/chrome.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,36 +36,33 @@

/*Nyan Cat and Friends*/

/*Bongo Cat Start*/
@media (-moz-bool-pref: "z0.catto.bongocat") {
#navigator-toolbox:before {
position: absolute;
top: 100px;
right: 50%;
transform: translateX(50%);
width: 200px;
height: 40px;
z-index: 1;
content: "";
font-size: 20px;
text-align: center;
background-image: url("https://media.tenor.com/ZZu2QC-efdUAAAAi/cute-cat-white.gif");
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
overflow: visible;
pointer-events: none;
}
}

/*Bongo Cat End*/

/*Reduce the Size*/
@media (-moz-bool-pref: "z0.catto.reduce_size") {

#navigator-toolbox {
--zen-navigation-toolbar-min-width: 100px !important;
padding-top: 12.5vh !important;
height: 85vh !important;
}
/* Bongo Cat Start */
@media (-moz-bool-pref: "zen.view.compact") {
@media (-moz-bool-pref: "z0.catto.bongocat") {
#navigator-toolbox:before {
position: relative;
top: 8px;
right: 50%;
transform: translateX(50%);
width: 200px;
height: 40px;
z-index: 1;
content: "";
font-size: 20px;
text-align: center;
background-image: url("https://media.tenor.com/ZZu2QC-efdUAAAAi/cute-cat-white.gif");
background-size: contain;
background-repeat: no-repeat;
background-position-x: center;
overflow: visible;
pointer-events: none;
}
}
/* Bongo Cat End */
/* Reduce the Size */
#navigator-toolbox {
--zen-navigation-toolbar-min-width: 100px !important;
padding-top: 12.5vh !important;
height: 85vh !important;
}
}
8 changes: 1 addition & 7 deletions themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/preferences.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,5 @@
"label": "Enable Bongocat at the top.",
"type": "checkbox",
"defaultValue": false
},
{
"property": "z0.catto.reduce_size",
"label": "Reduce the size of compact mode sidebar to fit in the bongocat properly.",
"type": "checkbox",
"defaultValue": false
}
]
]
4 changes: 2 additions & 2 deletions themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
"version": "1.0.0",
"tags": [],
"createdAt": "2024-10-29",
"updatedAt": "2024-10-31",
"updatedAt": "2024-11-03",
"preferences": "https://raw.githubusercontent.com/zen-browser/theme-store/main/themes/00aeb359-cce5-4eb5-8c5c-5f928a715664/preferences.json"
}
}
Loading