Skip to content

Commit

Permalink
Update 1.5.2
Browse files Browse the repository at this point in the history
Added a fix for a missing upload icon on photos page
Moved some styles to both themes
  • Loading branch information
Alextimka committed Nov 15, 2024
1 parent 962a997 commit 47e1863
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
4 changes: 3 additions & 1 deletion css/fixes.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
.conversation-body > .msg-content .bb_tag_code,
.content_list.featured .ft_image a,
.carousel-inner,
.carousel-control-prev,
.carousel-control-next,
.value.text-muted > a > img {
border-radius: 0.5rem !important;
}
Expand Down Expand Up @@ -66,7 +68,7 @@ html,
.icms-users-profile__view .fieldset_title h3 {
padding-left: 15px !important;
}

/* fix for the photo upload icon */
.widget_image_multi .qq-upload-button, .widget_image_single .qq-upload-button {
background-image: url("data:image/svg+xml,%3csvg width='32' height='26' viewBox='0 0 32 26' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M30.9354 4.33069C30.2966 3.66149 29.4145 3.26605 28.4106 3.26605H23.3612V3.20522C23.3612 2.44476 23.057 1.71472 22.5399 1.22803C22.0228 0.710921 21.3232 0.406738 20.5627 0.406738H11.4373C10.6464 0.406738 9.94677 0.710921 9.42966 1.22803C8.91255 1.74514 8.60837 2.44476 8.60837 3.20522V3.26605H3.58935C2.58555 3.26605 1.70342 3.66149 1.06464 4.33069C0.425856 4.96948 0 5.88202 0 6.85541V22.0037C0 23.0075 0.395437 23.8896 1.06464 24.5284C1.70342 25.1672 2.61597 25.5931 3.58935 25.5931H28.4106C29.4145 25.5931 30.2966 25.1976 30.9354 24.5284C31.5741 23.8896 32 22.9771 32 22.0037V6.85541C32 5.85161 31.6046 4.96948 30.9354 4.33069ZM30.4183 22.0037H30.3878C30.3878 22.5512 30.1749 23.0379 29.8099 23.4029C29.4449 23.768 28.9582 23.9809 28.4106 23.9809H3.58935C3.04183 23.9809 2.55513 23.768 2.19011 23.4029C1.8251 23.0379 1.61217 22.5512 1.61217 22.0037V6.85541C1.61217 6.30788 1.8251 5.82119 2.19011 5.45617C2.55513 5.09115 3.04183 4.87822 3.58935 4.87822H9.46008C9.91635 4.87822 10.2814 4.5132 10.2814 4.05693V3.1748C10.2814 2.8402 10.403 2.53602 10.616 2.32309C10.8289 2.11016 11.1331 1.98849 11.4677 1.98849H20.5627C20.8973 1.98849 21.2015 2.11016 21.4144 2.32309C21.6274 2.53602 21.7491 2.8402 21.7491 3.1748V4.05693C21.7491 4.5132 22.1141 4.87822 22.5703 4.87822H28.4411C28.9886 4.87822 29.4753 5.09115 29.8403 5.45617C30.2053 5.82119 30.4183 6.30788 30.4183 6.85541V22.0037Z' fill='%23FFF'/%3e%3cpath d='M15.9985 6.94678C13.9301 6.94678 12.0441 7.79849 10.7057 9.1369C9.33692 10.5057 8.51562 12.3612 8.51562 14.4297C8.51562 16.4981 9.36734 18.3841 10.7057 19.7225C12.0746 21.0913 13.9301 21.9126 15.9985 21.9126C18.067 21.9126 19.9529 21.0609 21.2913 19.7225C22.6601 18.3536 23.4814 16.4981 23.4814 14.4297C23.4814 12.3612 22.6297 10.4753 21.2913 9.1369C19.9529 7.79849 18.067 6.94678 15.9985 6.94678ZM20.1354 18.597C19.0708 19.6312 17.6107 20.3004 15.9985 20.3004C14.3864 20.3004 12.9263 19.6312 11.8616 18.597C10.797 17.5323 10.1582 16.0723 10.1582 14.4601C10.1582 12.8479 10.8274 11.3878 11.8616 10.3232C12.9263 9.25857 14.3864 8.61978 15.9985 8.61978C17.6107 8.61978 19.0708 9.28899 20.1354 10.3232C21.2 11.3878 21.8388 12.8479 21.8388 14.4601C21.8692 16.0723 21.2 17.5323 20.1354 18.597Z' fill='%23FFF'/%3e%3cpath d='M26.8303 9.89701C27.6535 9.89701 28.3208 9.22969 28.3208 8.40651C28.3208 7.58333 27.6535 6.91602 26.8303 6.91602C26.0072 6.91602 25.3398 7.58333 25.3398 8.40651C25.3398 9.22969 26.0072 9.89701 26.8303 9.89701Z' fill='%23FFF'/%3e%3c/svg%3e") !important;
background-repeat: no-repeat !important;
Expand Down
35 changes: 35 additions & 0 deletions firefox/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"manifest_version": 3,
"name": "Spectrum",
"version": "1.5.2",
"description": "__MSG_extDesc__",
"default_locale": "en",
"icons": {
"16": "icons/icon16.png",
"32": "icons/icon32.png",
"48": "icons/icon48.png",
"128": "icons/icon128.png"
},
"content_scripts": [
{
"matches": ["https://spectr39s.ru/*"],
"js": ["js/main.js"],
"css": ["css/fixes.css"],
"run_at": "document_start"
}
],
"web_accessible_resources": [
{
"resources": ["css/*.css", "icons/*.svg"],
"matches": ["https://spectr39s.ru/*"]
}
],
"browser_specific_settings": {
"gecko": {
"id": "[email protected]"
},
"gecko_android": {
"id": "[email protected]"
}
}
}
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 3,
"name": "Spectrum",
"version": "1.5.1",
"version": "1.5.2",
"description": "__MSG_extDesc__",
"default_locale": "en",
"icons": {
Expand Down

0 comments on commit 47e1863

Please sign in to comment.