Skip to content

Commit

Permalink
2.0.5 - SockKeeper
Browse files Browse the repository at this point in the history
Check the changelog.
  • Loading branch information
ALewdDev committed Jul 26, 2021
1 parent 8392e81 commit 525b68a
Show file tree
Hide file tree
Showing 26 changed files with 805 additions and 132 deletions.
24 changes: 21 additions & 3 deletions source/manifest.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "Neko",
"short_name": "",
"version": "2.0.4",
"version_name": "CrackJack",
"version": "2.0.5",
"version_name": "SockKeeper",
"author": "LewdTechnologies",

"description": "Neko redesigns E621's interface.",
"homepage_url": "https://github.com/LewdTechnologies/Neko",

"permissions": [

"background",
"activeTab",
"storage",
Expand All @@ -20,11 +21,13 @@
"https://e621.net/*",
"https://ads.dragonfru.it/*",
"https://mc.yandex.ru/*"

],

"background": {
"persistent": true,
"scripts": [

"source/library/Functions.js",
"source/library/Debug.js",
"source/library/Logger.js",
Expand All @@ -43,6 +46,7 @@
"source/background/extractors/Tag.js",

"source/Background.js"

]
},

Expand All @@ -60,18 +64,28 @@
"run_at": "document_start",
"matches": [ "https://e621.net/posts" , "https://e621.net/posts?*" ],
"js": [

"source/content/templates/Posts.js",
"source/content/utils/Settings.js",
"source/content/elements/Search.js",
"source/content/elements/SearchSuggestion.js",
"source/content/elements/SearchOptions.js",
"source/content/elements/SearchRating.js",
"source/content/mechanics/TagManager.js",
"source/content/mechanics/Advanced.js",
"source/library/TagName.js"

]
},{
"run_at": "document_start",
"matches": [ "https://e621.net/posts" , "https://e621.net/posts?*" ],
"js": [

"source/library/overrides/Node.js",
"source/library/overrides/Element.js",
"source/library/overrides/String.js",
"source/library/overrides/EventTarget.js",
"source/library/Readify.js",
"source/library/Functions.js",
"source/content/Template.js",
"source/library/Debug.js",
Expand All @@ -80,6 +94,7 @@
"source/content/Page.js",
"source/content/User.js",
"source/library/Manifest.js"

],
"css": [
"resource/css/Hexagons.css",
Expand All @@ -88,6 +103,9 @@
},{
"run_at": "document_end",
"matches": [ "https://e621.net/posts" , "https://e621.net/posts?*" ],
"js": [ "source/content/PageFiller.js" ]
"js": [
"source/content/PageFiller.js"

]
}]
}
130 changes: 123 additions & 7 deletions source/resource/css/Dynamic.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,101 @@
*/


middle > .hasTags {
/*
SEARCH PRESETS
*/

border-top-right-radius: 24px;
border-bottom-right-radius: 24px;
search > presets {

width: 100%;

display: flex;
flex-direction: row;
flex-wrap: nowrap;
align-content: center;
justify-content: flex-start;
align-items: center;

gap: 5px;

padding-left: 38px;

}

middle > .hasSuggestions {
search > presets > rating {

border-bottom-left-radius: 0;
display: flex;
flex-wrap: nowrap;
flex-direction: row;
align-content: center;
justify-content: center;
align-items: center;

gap: 4px;

}

search > presets > rating > * {

border: 1px dashed transparent;
border-radius: 16px;
cursor: pointer;
background-color: #00000029;

}

search > presets > rating img {

width: 42px;
height: auto;
pointer-events: none;

}


/*
TEMPORARY RATING SELECTED
*/

presets > rating.safe > safe,
presets > rating.explicit > explicit,
presets > rating.questionable > questionable {

background-color: white;

}

presets > rating.safe > safe > img,
presets > rating.explicit > explicit > img,
presets > rating.questionable > questionable > img {

filter: invert(1);

}


/*
DEFAULT RATING SELECTED
*/

presets > rating.default_safe > safe,
presets > rating.default_explicit > explicit,
presets > rating.default_questionable > questionable {

border-color: white;

}


/*
DEFAULT & TEMPORARY DEFAULT RATING SELECTED
*/

presets > rating.safe.default_safe > safe,
presets > rating.explicit.default_explicit > explicit,
presets > rating.questionable.default_questionable > questionable {

border-color: var(--font-blue);

}

Expand All @@ -25,7 +110,7 @@ middle > .hasSuggestions {
SEARCH QUICK SETTINGS
*/

middle > search > options {
search > primary > bar > options {

position: absolute;
height: 39px;
Expand All @@ -46,10 +131,41 @@ middle > search > options {

}

middle > search > options > setting {
search > primary > bar > options > setting {

font-weight: bold;
color: var(--font-white);
cursor: pointer;

}

search.hasSuggestions:not(.hasAdvanced) {

border-bottom-left-radius: 0;

}

search.hasSuggestions > primary > bar {

border-bottom-left-radius: 0;

}

search.hasTags:not(.hasAdvanced) {

border-top-right-radius: 24px;

}

search.hasTags {

border-bottom-right-radius: 24px;

}

search.hasTags > primary > bar {

border-top-right-radius: 24px;
border-bottom-right-radius: 24px;

}
1 change: 1 addition & 0 deletions source/resource/css/Hexagons.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 525b68a

Please sign in to comment.