This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
7,354 additions
and
7,337 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
{ | ||
"presets": [ "@babel/preset-env"] | ||
} | ||
"presets": [ | ||
"@babel/preset-env" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_style = tab | ||
indent_size = 4 | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.yml] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,4 +18,4 @@ rules: | |
indentation: | ||
- 2 | ||
- | ||
size: 4 | ||
size: 'tab' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Login page might be partially broke, didn't check, but based on legacy_styles.css it might share code with newtrial page | ||
Manga page might share code with queue page | ||
|
||
Theme .tooltip-icon and the tooltip that pops up at some point, it's used at least on https://www.crunchyroll.com/en/premium_comparison, waiting to see if its used elsewhere | ||
Theme .tooltip-icon and the tooltip that pops up at some point, it's used at least on https://www.crunchyroll.com/en/premium_comparison, waiting to see if its used elsewhere |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
var postcss = require('postcss'); | ||
|
||
module.exports = postcss.plugin('postcss-add-important', function(options) { | ||
return function(css) { | ||
css.walkRules(function(rule) { | ||
rule.walkDecls(function(declaration, i) { | ||
if (declaration.important) { | ||
throw declaration.error( | ||
'Do not use `!important`. These are added automatically.', | ||
{plugin: 'postcss-add-important'} | ||
); | ||
} | ||
module.exports = postcss.plugin('postcss-add-important', function (options) { | ||
return function (css) { | ||
css.walkRules(function (rule) { | ||
rule.walkDecls(function (declaration, i) { | ||
if (declaration.important) { | ||
throw declaration.error( | ||
'Do not use `!important`. These are added automatically.', | ||
{ plugin: 'postcss-add-important' } | ||
); | ||
} | ||
|
||
if (declaration.prop.indexOf('unimportant-') >= 0) { | ||
declaration.prop = declaration.prop.replace(/^unimportant-/g, ''); | ||
} else { | ||
declaration.important = true; | ||
} | ||
}); | ||
}); | ||
}; | ||
if (declaration.prop.indexOf('unimportant-') >= 0) { | ||
declaration.prop = declaration.prop.replace(/^unimportant-/g, ''); | ||
} else { | ||
declaration.important = true; | ||
} | ||
}); | ||
}); | ||
}; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.