mirror of
https://github.com/css-tweaks/anilist-css-tweaks.git
synced 2026-11-18 18:42:46 +01:00
added many things
This commit is contained in:
@@ -1,46 +1,64 @@
|
|||||||
@-moz-document domain("anilist.co") {
|
@-moz-document domain("anilist.co") {
|
||||||
|
|
||||||
/*Color Support for all default colors*/
|
/*Color Support for all default colors*/
|
||||||
body:has(.user.blue) .el-dropdown-menu__item--divided {
|
body:has(.user.blue) {
|
||||||
--accent-color-profile: 61,180,242;
|
--accent-color-profile: 61,180,242;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.purple) .el-dropdown-menu__item--divided {
|
body:has(.user.purple) {
|
||||||
--accent-color-profile: 179,104,230;
|
--accent-color-profile: 179,104,230;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.green) .el-dropdown-menu__item--divided {
|
body:has(.user.green) {
|
||||||
--accent-color-profile: 74,189,78;
|
--accent-color-profile: 74,189,78;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.orange) .el-dropdown-menu__item--divided {
|
body:has(.user.orange) {
|
||||||
--accent-color-profile: 218,123,21;
|
--accent-color-profile: 218,123,21;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.red) .el-dropdown-menu__item--divided {
|
body:has(.user.red) {
|
||||||
--accent-color-profile: 218,65,39;
|
--accent-color-profile: 218,65,39;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.pink) .el-dropdown-menu__item--divided {
|
body:has(.user.pink) {
|
||||||
--accent-color-profile: 216,120,203;
|
--accent-color-profile: 216,120,203;
|
||||||
}
|
}
|
||||||
|
|
||||||
body:has(.user.gray) .el-dropdown-menu__item--divided {
|
body:has(.user.gray) {
|
||||||
--accent-color-profile: 124,137,154;
|
--accent-color-profile: 124,137,154;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
--dropdown-menu-background: 250,250,250, .6;
|
||||||
|
--dropdown-menu-item-hover: 186, 186, 186, .5;
|
||||||
|
}
|
||||||
|
|
||||||
|
body.site-theme-dark {
|
||||||
|
--dropdown-menu-background: 21,31,46, .6;
|
||||||
|
--dropdown-menu-item-hover: 55,73,99, .5;
|
||||||
|
}
|
||||||
|
|
||||||
body::-webkit-scrollbar { /*hide "main" scrollbar (Chromium)*/
|
body::-webkit-scrollbar { /*hide "main" scrollbar (Chromium)*/
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.about .content-wrap::-webkit-scrollbar { /*hide profile "about" scrollbar (Chromium)*/
|
.about .content-wrap::-webkit-scrollbar { /*hide profile "about" scrollbar (Chromium)*/
|
||||||
display: none
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.content-wrap { /*hide profile "about" scrollbar (Firefox)*/
|
.markdown::-webkit-scrollbar {
|
||||||
scrollbar-width: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.markdown img {
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/*.content-wrap { hide profile "about" scrollbar (Firefox)
|
||||||
|
scrollbar-width: none;
|
||||||
|
}*/
|
||||||
|
|
||||||
.about .content-wrap[data-v-5c30286e] { /*border radius "about"*/
|
.about .content-wrap[data-v-5c30286e] { /*border radius "about"*/
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
}
|
}
|
||||||
@@ -77,9 +95,9 @@
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-textarea__inner { /*hide "status" scrollbar (Firefox)*/
|
/*.el-textarea__inner { hide "status" scrollbar (Firefox)
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.actions .button[data-v-c574a71c] { /*border radius "editor buttons"*/
|
.actions .button[data-v-c574a71c] { /*border radius "editor buttons"*/
|
||||||
border-radius: 20px;
|
border-radius: 20px;
|
||||||
@@ -106,7 +124,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-dropdown-menu[data-v-04d66030] {
|
.el-dropdown-menu[data-v-04d66030] {
|
||||||
background-color:rgba(11,22,34, .6);
|
background-color: rgba(var(--dropdown-menu-background));
|
||||||
backdrop-filter:blur(2px);
|
backdrop-filter:blur(2px);
|
||||||
border-style:solid;
|
border-style:solid;
|
||||||
border-width: 1px;
|
border-width: 1px;
|
||||||
@@ -121,24 +139,31 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.el-dropdown-menu__item[data-v-04d66030]:hover:not(.el-dropdown-menu__item--divided) {
|
.el-dropdown-menu__item[data-v-04d66030]:hover:not(.el-dropdown-menu__item--divided) {
|
||||||
background-color:rgba(55,73,99, .5);
|
background-color:rgba(var(--dropdown-menu-item-hover));
|
||||||
border-radius:20px;
|
border-radius:20px;
|
||||||
|
color: rgb(var(--accent-color-profile));
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-dropdown-menu__item--divided[data-v-04d66030]:hover {
|
.el-dropdown-menu__item--divided[data-v-04d66030]:hover {
|
||||||
/*background-color:rgba(55,73,99, .8);*/
|
background-color: rgb(var(--dropdown-menu-item-hover));
|
||||||
background-color: rgb(var(--accent-color-profile));
|
|
||||||
border-bottom-left-radius: 20px;
|
border-bottom-left-radius: 20px;
|
||||||
border-bottom-right-radius: 20px;
|
border-bottom-right-radius: 20px;
|
||||||
|
color: rgb(var(--accent-color-profile));
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-dropdown-menu__item--divided:before {
|
.el-dropdown-menu__item--divided:before {
|
||||||
background: inherit;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-dropdown-menu__item.el-dropdown-menu__item--divided[data-v-04d66030] {
|
.el-dropdown-menu__item.el-dropdown-menu__item--divided[data-v-04d66030] {
|
||||||
|
padding-top:5px;
|
||||||
padding-bottom:5px;
|
padding-bottom:5px;
|
||||||
margin-top:0px;
|
margin-top:0px;
|
||||||
|
border-color: rgb(var(--accent-color-profile));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*body.site-theme-dark .user.red {
|
||||||
|
background: linear-gradient(#2b1055, #7597de);
|
||||||
|
}*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user