Простая темная тема, изменил иконку почты, отключил Алису, убрал назойливые баннеры, убрал в поиске выпадающую строку с предыдущими запросами, пофиксил рекламу куда смог добраться, доработал меню, перенес сервисы под поиск. Проверено на chrome и edge. Приятного использования.
Ya.ru Темная тема (TNSP) by tnsp
Details
Authortnsp
LicenseNo License
Categoryya.ru
Created
Updated
Size18 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link. /* ==UserStyle==
@name Ya.ru Темная тема (TNSP)
@version 3.3
@namespace USO Archive
@author Tony Soprano
@description Простая темная тема, изменил иконку почты, отключил Алису, убрал назойливые баннеры, убрал в поиске выпадающую строку с предыдущими запросами, пофиксил рекламу куда смог добраться, доработал меню, перенес сервисы под поиск. Проверено на chrome и edge. Приятного использования.
==/UserStyle== */
@-moz-document regexp(".*ya\\.ru/$") {
html {
background-color: #171c20 !important;
}
:root {
--color-g-bg-primary: #171c20;
--color-g-bg-primary-transparent: #f0f0f0;
--color-g-bg-secondary: #f9fafb;
--color-g-bg-tertiary: #f0f0f0;
--color-g-bg-fill-6: #e7e7e787;
--color-g-bg-fill-12: #f0f0f0;
--color-g-bg-fill-18: #f0f0f0;
--color-g-bg-red-primary: #282727;
--color-g-bg-yellow-primary: #fc0;
--color-g-bg-blue-primary: #07f;
--color-g-text-primary: #f0f0f0;
--color-g-text-secondary: #f0f0f0;
--color-g-text-tertiary: #d71010;
--color-g-text-quaternary: #f0f0f0;
--color-g-text-quinary: #f0f0f0;
--color-g-text-disabled: #f0f0f0;
--color-g-text-blue-primary: #0054b9;
}
element.style {
display: none;
}
.search3__input {
display: block;
box-sizing: border-box;
width: 100%;
height: 100%;
padding: 0 2rem 0 .8rem;
font-family: inherit;
font-size: .9rem;
border: none;
outline: none;
background: 0 0;
color: #282727;
}
.search3__svg_camera,
.search3__svg_clear,
.search3__svg_keyboard,
.search3__svg_voice {
color: #282727 var(--color-g-text-tertiary);
width: 1.6rem;
height: 1.6rem;
}
.headline__personal-icon svg {
width: 2rem;
height: 2rem;
border-radius: 50px;
background: #fc0;
background-position: center;
background-repeat: no-repeat;
transition: opacity 0.35s;
background-image: url(//yastatic.net/s3/home/services/pinned/mail_1.2.png);
opacity: .9;
}
.headline__personal-icon {
color: #f0f0f000;
transition: opacity .15s;
}
.usermenu-redesign__icon {
display: inline-block;
flex: 0 0 auto;
width: 24px;
height: 24px;
margin: -12px 16px -12px 0;
vertical-align: 5px;
background-color: #f0f0f0;
border-radius: 100px;
background-size: contain;
}
.usermenu-redesign__logo {
display: block;
margin: 0 auto;
width: 100px;
height: 20px;
background-image: url(https://yastatic.net/s3/home-static/_/c/R/ktXI6amjni_37rNwuYzQIyvr0.svg);
background-color: #f0f0f0;
}
.alice-promo__icon {
bottom: 32px;
right: 32px;
}
.alice-promo__icon {
position: fixed;
height: 44px;
width: 44px;
z-index: 25;
cursor: pointer;
outline: none;
-webkit-filter: drop-shadow(0 8.66667px 21.6667px rgba(143, 55, 255, .5));
filter: drop-shadow(0 8.66667px 21.6667px rgba(143, 55, 255, .5));
display: none !important;
}
.alice-fab__promo-message {
display: none !important
}
.link-bro {
position: absolute;
bottom: 100%;
right: .5rem;
}
.body__content > form > div.search3__inner > div.link-bro.i-bem.link-bro_js_inited > a > div.link-bro__text {
display: none !important
}
.body__content > form > div.search3__inner > div.link-bro.i-bem.link-bro_js_inited > a > div.link-bro__icon {
display: none !important
}
.alice-fab_js_inited.alice-fab_load-on-timeout_yes.i-mini-bem.alice-fab > svg > path {
display: none !important;
}
.alice-fab_shown_yes.alice-fab_js_inited.alice-fab_load-on-timeout_yes.i-mini-bem.alice-fab > svg {
display: none !important;
}
.alice-fab_shown_yes.alice-fab_js_inited.alice-fab_load-on-timeout_yes.i-mini-bem.alice-fab {
display: none !important;
}
.alice-fab_js_inited.alice-fab_load-on-timeout_yes.i-mini-bem.alice-fab > svg {
display: none !important;
}
.alice-fab_js_inited.alice-fab_load-on-timeout_yes.i-mini-bem.alice-fab {
display: none !important;
}
html:not(.document_dark_yes) .dist-stripe {
background-color: #343434;
display: none !important;
}
html:not(.document_dark_yes) .dist-overlay__content {
background-color: #ffffff;
display: none !important;
}
.services-pinned {
display: flex;
justify-content: center;
align-items: center;
width: 100%
}
.services-pinned__list {
display: flex;
flex-wrap: wrap;
}
.services-pinned__content {
display: flex;
flex-wrap: wrap;
flex-direction: column;
position: absolute;
top: 53%;
}
.services-suggest__icon,
.services-suggest__icons-more {
width: 2.0rem;
height: 2.0rem;
background-size: 2.0rem;
background-repeat: no-repeat;
background-position: center;
margin: 0 auto .2rem;
transition: transform ease-out .15s;
}
.services-suggest__item-title {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-align: center;
text-overflow: ellipsis;
font-size: .60rem;
line-height: 1rem;
}
.message-promo__message-link {
padding: .5rem .6rem;
font-size: .7rem;
line-height: .9rem;
border-radius: .7rem;
transition: transform .3s ease;
transform-origin: center left;
display: none !important;
}
.message-promo {
position: absolute;
display: none !important;
flex-direction: column;
align-items: flex-start;
z-index: 1;
}
.alert__content {
width: 100%;
display: none !important;
align-items: center;
box-sizing: border-box;
background-color: var(--color-g-bg-secondary);
padding: 0 .4rem 0 .8rem;
border-radius: 16px;
border: 1px solid var(--color-g-bg-fill-12);
}
.services-suggest {
box-sizing: border-box;
position: absolute;
top: 120%;
bottom: 100%;
left: -.5rem;
right: -.5rem;
padding: 1.1rem .5rem 1.2rem;
margin-bottom: 1.1rem;
opacity: 1;
pointer-events: auto;
background-color: var(--color-g-bg-primary);
border-radius: 1rem;
}
.mini-suggest__popup-content {
display: none !important;
margin: 0;
padding: 0;
list-style: none;
}
.mini-suggest__stateful {
box-sizing: border-box;
width: 100%;
padding-left: .9rem;
padding-right: .9rem;
padding-bottom: 22px;
margin-top: -12px;
display: none !important;
}
.search3__clear,
.search3__keyboard {
visibility: visible;
}
}
.document.d...