Skip to content

Commit

Permalink
Merge pull request #705 from wysh3/main
Browse files Browse the repository at this point in the history
Update theme : Nyan Catto Mod
  • Loading branch information
mauro-balades authored Nov 3, 2024
2 parents 0c126bd + 9712a16 commit fc713f1
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 41 deletions.
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"
}
}

0 comments on commit fc713f1

Please sign in to comment.