diff --git a/.gitignore b/.gitignore index 68be2dd..176f78f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ crunchyroll-dark.css -crunchyroll-dark.css.map +node_modules/* diff --git a/Makefile b/Makefile deleted file mode 100644 index 33a039f..0000000 --- a/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -all: - sass crunchyroll-dark.scss crunchyroll-dark.css -clean: - rm crunchyroll-dark.css{,.map} diff --git a/crunchyroll-dark.scss b/crunchyroll-dark.less similarity index 64% rename from crunchyroll-dark.scss rename to crunchyroll-dark.less index c416ae0..798f6a8 100644 --- a/crunchyroll-dark.scss +++ b/crunchyroll-dark.less @@ -1,70 +1,83 @@ -@import "nord/src/nord.scss"; +@import "nord/src/nord.less"; -$orange: #f78c25; +@orange: #f78c25; + +/* buttons */ +#source_home .queue-to-top { + background: data-uri('img/queue_arrow_without-background.png') -3px 0 no-repeat; +} + +#source_home .dropdown-collection { + background: data-uri('img/queue_dropdown_arrow_without-background.png') 0 0 no-repeat; +} + +.collection-carousel-arrow { + background: data-uri('img/collection_arrow_noalpha_without-background.png') no-repeat -40px 42px; +} /* Queue, Random and Profile icon */ .header-userpanel .header-icon { - color: $nord4; - fill: $nord4; + color: @nord4; + fill: @nord4; } /* Shows, Manga, News, ... */ .header-menubar li a, .new-template-body a.block-link, .old-template-body a.block-link, a.block-link, .new-template-body { - color: $nord4; + color: @nord4; } /* Header */ .site-header { - background: $nord3; + background: @nord3; } /* main site */ #template_body.old-template-body { - background-color: $nord3; + background-color: @nord3; } /* Overall background */ body.main-page { - background: $nord0; + background: @nord0; } #template_container.template-container { - background: $nord0; + background: @nord0; } /* My Queue, History */ .main-tabs a.selected, .main-tabs a.selected:hover { - background: $nord3; + background: @nord3; } #tabs { - background: $nord3; + background: @nord3; } /* Footer */ #footer_menu { - background: $nord0; + background: @nord0; } /* History items */ /* background */ .portrait-element { - background: $nord3; + background: @nord3; } /* Queue items */ /* background */ #source_home #main_content .landscape-grid li .wrapper { - background: $nord3; + background: @nord3; } #main_content .landscape-element { - background: $nord3; + background: @nord3; } /* title */ .new-template-body .block-link:hover, .new-template-body .pagination a, .new-template-body .para-div a, .new-template-body .sub-tabs .selectors a.text-link, .new-template-body .text-link, .new-template-body .wrapper a:hover a, .new-template-body a:hover h4, .new-template-body li a, .new-template-body p a, .new-template-body span a { - color: $nord7; + color: @nord7; } /* more options */ #source_home .more-options { - border-top: 1px solid $nord1; + border-top: 1px solid @nord1; } /****************** @@ -73,7 +86,7 @@ body.main-page { /* submenu episodes */ #main_content_white, .white-wrapper { - background: $nord3; + background: @nord3; } /********************** @@ -87,5 +100,5 @@ body.main-page { * borders * ***********/ .welcome-block h1, .welcome-title-list h1 { - border-bottom: 1px solid $nord1; + border-bottom: 1px solid @nord1; } diff --git a/img/collection_arrow_noalpha_without-background.png b/img/collection_arrow_noalpha_without-background.png new file mode 100644 index 0000000..b211381 Binary files /dev/null and b/img/collection_arrow_noalpha_without-background.png differ diff --git a/nord b/nord index 27a78e8..7eae58e 160000 --- a/nord +++ b/nord @@ -1 +1 @@ -Subproject commit 27a78e87628b1c98a988b15a48ec22a8713de524 +Subproject commit 7eae58e58b2d076a6013ceae303446d172d08a90 diff --git a/package.json b/package.json new file mode 100644 index 0000000..4e9d159 --- /dev/null +++ b/package.json @@ -0,0 +1,17 @@ +{ + "name": "crunchyroll-dark", + "version": "1.0.0", + "description": "Dark Crunchyroll style", + "devDependencies": { + "less": "^3.0.4" + }, + "scripts": { + "clean": "rm -f crunchyroll-dark.css", + "build": "./node_modules/less/bin/lessc crunchyroll-dark.less crunchyroll-dark.css" + }, + "repository": { + "type": "git", + "url": "git@git.scriptfish.org:alex/Crunchyroll-Dark.git" + }, + "license": "GPL-3.0-or-later" +}