* feat(instagram): theme story ring around profile picture * chore(instagram): bump version * fix(instagram): smaller seen ring
786 lines
23 KiB
CSS
786 lines
23 KiB
CSS
/* ==UserStyle==
|
|
@name Instagram Catppuccin
|
|
@namespace github.com/catppuccin/userstyles/styles/instagram
|
|
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/instagram
|
|
@version 0.2.1
|
|
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/instagram/catppuccin.user.css
|
|
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ainstagram
|
|
@description Soothing pastel theme for Instagram
|
|
@author Catppuccin
|
|
@license MIT
|
|
|
|
@preprocessor less
|
|
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha"]
|
|
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frappé", "macchiato:Macchiato", "mocha:Mocha*"]
|
|
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire*", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
|
|
==/UserStyle== */
|
|
|
|
@-moz-document domain('instagram.com') {
|
|
#rgbify(@color) {
|
|
@rgb-raw: red(@color), green(@color), blue(@color);
|
|
}
|
|
._aa4d {
|
|
#catppuccin(@darkFlavor, @accentColor);
|
|
}
|
|
._aa4c {
|
|
#catppuccin(@lightFlavor, @accentColor);
|
|
}
|
|
#catppuccin(@lookup, @accent) {
|
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
|
@pink: @catppuccin[@@lookup][@pink];
|
|
@mauve: @catppuccin[@@lookup][@mauve];
|
|
@red: @catppuccin[@@lookup][@red];
|
|
@maroon: @catppuccin[@@lookup][@maroon];
|
|
@peach: @catppuccin[@@lookup][@peach];
|
|
@yellow: @catppuccin[@@lookup][@yellow];
|
|
@green: @catppuccin[@@lookup][@green];
|
|
@teal: @catppuccin[@@lookup][@teal];
|
|
@sky: @catppuccin[@@lookup][@sky];
|
|
@sapphire: @catppuccin[@@lookup][@sapphire];
|
|
@blue: @catppuccin[@@lookup][@blue];
|
|
@lavender: @catppuccin[@@lookup][@lavender];
|
|
@text: @catppuccin[@@lookup][@text];
|
|
@subtext1: @catppuccin[@@lookup][@subtext1];
|
|
@subtext0: @catppuccin[@@lookup][@subtext0];
|
|
@overlay2: @catppuccin[@@lookup][@overlay2];
|
|
@overlay1: @catppuccin[@@lookup][@overlay1];
|
|
@overlay0: @catppuccin[@@lookup][@overlay0];
|
|
@surface2: @catppuccin[@@lookup][@surface2];
|
|
@surface1: @catppuccin[@@lookup][@surface1];
|
|
@surface0: @catppuccin[@@lookup][@surface0];
|
|
@base: @catppuccin[@@lookup][@base];
|
|
@mantle: @catppuccin[@@lookup][@mantle];
|
|
@crust: @catppuccin[@@lookup][@crust];
|
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
|
@text-filter: @catppuccin[@@lookup][@text-filter];
|
|
@dark-color: if(@lookup = latte, @text, @crust);
|
|
@light-color: if(@lookup = latte, @crust, @text);
|
|
|
|
--web-always-black: #rgbify(@dark-color) [];
|
|
--web-always-white: #rgbify(@light-color) [];
|
|
--always-white: #rgbify(@light-color) [];
|
|
--overlay-alpha-80: fadeout(@dark-color, 50);
|
|
--always-dark-overlay: fadeout(@surface0, 50);
|
|
--grey-9: #rgbify(@text) [];
|
|
--ig-primary-background: #rgbify(@base) [];
|
|
--ig-secondary-background: #rgbify(@surface0) [];
|
|
--ig-banner-background: #rgbify(@crust) [];
|
|
--ig-highlight-background: #rgbify(@surface0) [];
|
|
--ig-elevated-background: #rgbify(@crust) [];
|
|
--ig-elevated-highlight-background: #rgbify(@surface0) [];
|
|
--ig-hover-overlay: #rgbify(@text) [], 0.1;
|
|
--hover-overlay: fadeout(@surface0, 80);
|
|
--ig-text-on-color: #rgbify(@crust) [];
|
|
--ig-badge: #rgbify(@accent-color) [];
|
|
--ig-primary-button: #rgbify(@accent-color) [];
|
|
--ig-primary-button-hover: fadeout(@accent-color, 20);
|
|
--ig-secondary-button-background: #rgbify(@surface0) [];
|
|
--ig-secondary-button-hover: #rgbify(@surface1) [];
|
|
--ig-secondary-button: #rgbify(@text) [];
|
|
--ig-primary-text: #rgbify(@text) [];
|
|
--ig-secondary-text: #rgbify(@subtext0) [];
|
|
--ig-tertiary-text: #rgbify(@subtext0) [];
|
|
--wbloks-primary-text: @text;
|
|
--ig-text-on-media: #rgbify(@text) [];
|
|
--ig-separator: #rgbify(@surface0) [];
|
|
--chat-admin-text-color: #rgbify (@subtext0) [];
|
|
--ig-elevated-separator: #rgbify(@surface0) [];
|
|
--post-separator: #rgbify(@overlay0) [];
|
|
--ig-stroke: #rgbify(@overlay0) [];
|
|
--grey-2: #rgbify(@overlay0) [];
|
|
--ig-link: #rgbify(@accent-color) [];
|
|
--ig-error-or-destructive: #rgbify(@maroon) [];
|
|
--ig-success: #rgbify(@green) [];
|
|
--blue-2: #rgbify(@blue) [];
|
|
--ig-close-friends-refreshed: #rgbify(@green) [];
|
|
--ig-text-input-border-hover-prism: #rgbify(@surface1) [];
|
|
scrollbar-color: @accent-color @crust;
|
|
|
|
//placehoder textcolor
|
|
.xh8yej3 {
|
|
color: @subtext0 !important;
|
|
}
|
|
// Text selection
|
|
*::selection {
|
|
color: @dark-color;
|
|
background-color: @accent-color;
|
|
}
|
|
/* Sidebar */
|
|
.x1xgvd2v {
|
|
background-color: @crust !important;
|
|
&[style="transform: translateX(0px);"] {
|
|
background-color: @mantle !important;
|
|
}
|
|
}
|
|
.x1zvrr1 {
|
|
background-color: @mantle;
|
|
}
|
|
svg[aria-label="Loading..."] {
|
|
stroke: @text;
|
|
}
|
|
|
|
/* story progress bar */
|
|
._ac3p {
|
|
background-color: @accent-color !important;
|
|
}
|
|
|
|
/* Story seen / not seen ring */
|
|
button:has(canvas + span > img[alt$="'s profile picture"]) {
|
|
canvas {
|
|
display: none;
|
|
}
|
|
|
|
span {
|
|
outline-style: solid;
|
|
outline-offset: 0.15rem;
|
|
}
|
|
|
|
|
|
&[aria-label^="Story by"][aria-label$="not seen"] span {
|
|
outline-color: @mauve;
|
|
outline-width: 0.2rem;
|
|
}
|
|
&[aria-label^="Story by"]:not([aria-label$="not seen"]) span {
|
|
outline-color: @surface2;
|
|
outline-width: 0.075rem;
|
|
}
|
|
}
|
|
|
|
/* Posts */
|
|
._aggc {
|
|
background-color: @mantle;
|
|
border-color: @overlay0 !important;
|
|
border-radius: var(--modal-border-radius);
|
|
box-shadow: 0 3px 5px -1px fadeout(@dark-color, 20);
|
|
box-sizing: border-box;
|
|
}
|
|
._aatc ._aasi,
|
|
._ae1i,
|
|
._aggc textarea.xvbhtw8 {
|
|
background-color: @mantle;
|
|
}
|
|
|
|
/* Icons */
|
|
svg {
|
|
color: @text;
|
|
fill: @text;
|
|
}
|
|
svg[aria-label="Unlike"] {
|
|
fill: @accent-color;
|
|
}
|
|
|
|
/* The close icon on the dark wrapper */
|
|
svg[aria-label="Close"] {
|
|
color: var(--web-always-white);
|
|
}
|
|
svg[aria-label="Verified"] {
|
|
fill: @accent-color;
|
|
}
|
|
|
|
/* Share box */
|
|
.xzloghq {
|
|
background-color: @blue;
|
|
&:hover {
|
|
color: @mantle;
|
|
background-color: @accent-color;
|
|
}
|
|
}
|
|
.xk5f4mz {
|
|
background-color: @mantle;
|
|
&:hover {
|
|
background-color: @accent-color;
|
|
}
|
|
}
|
|
.x3nfvp2 {
|
|
color: @text !important;
|
|
&:hover {
|
|
color: @crust;
|
|
}
|
|
}
|
|
|
|
/* Toggle sliders */
|
|
.x1r7x56h {
|
|
background-color: @accent-color;
|
|
}
|
|
.x100vrsf {
|
|
background-color: @surface0;
|
|
}
|
|
.xw4jnvo {
|
|
background-color: @overlay1;
|
|
}
|
|
.x1psfjxj {
|
|
background-color: @text;
|
|
}
|
|
span[data-bloks-name="bk.components.TextSpan"] {
|
|
color: @accent-color !important;
|
|
}
|
|
/* Log In With Facebook text */
|
|
._ab37 {
|
|
color: @blue;
|
|
}
|
|
/* Excluded: - _9ys7, _9_1f, _9ys8 (verified icon) */
|
|
[style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")'],
|
|
._9zkj,
|
|
._a3ds,
|
|
._a3dt,
|
|
._a3du,
|
|
._a3dv,
|
|
._a3dw,
|
|
._9-b3,
|
|
._9znl,
|
|
._9z-6,
|
|
._a3dx,
|
|
._a3dy,
|
|
._a3dz,
|
|
._a3d-,
|
|
._a3d_,
|
|
._a3e0,
|
|
._9zm4,
|
|
._a3e1,
|
|
._a3e2,
|
|
._a3e3,
|
|
._a3e4,
|
|
._a3e5,
|
|
._a3e6,
|
|
._a3e7,
|
|
._a3e8,
|
|
._a3e9,
|
|
._a3ea,
|
|
._9_57,
|
|
._9_n5,
|
|
._9-y3,
|
|
._a3eb,
|
|
._a3ec,
|
|
._a3ed,
|
|
._a3ee,
|
|
._9zlu,
|
|
._9-yp,
|
|
._a3ef,
|
|
._a3eg,
|
|
._9_wm,
|
|
._a3eh,
|
|
._a3ei,
|
|
._9-j_,
|
|
._a3ej,
|
|
._a3ek,
|
|
._9_ij,
|
|
._9_d_,
|
|
._9_e1,
|
|
._9-mm,
|
|
._9_cx,
|
|
._9zm0,
|
|
._9zfi,
|
|
._9-ub,
|
|
._a3el,
|
|
._9-7-,
|
|
._9-1a,
|
|
._a3em,
|
|
._9zrp,
|
|
._a3en,
|
|
._9zz9,
|
|
._a3eo,
|
|
._9zmr,
|
|
._9-8d,
|
|
._9zhi,
|
|
._a3ep,
|
|
._9zs0,
|
|
._9-j-,
|
|
._a3eq,
|
|
._9zli,
|
|
._9_4y,
|
|
._9zm2,
|
|
._9zfj,
|
|
._9zlg,
|
|
._a3er,
|
|
._9-lv,
|
|
._9_ug,
|
|
._9_sh,
|
|
._9_sj,
|
|
._9-k0,
|
|
._9z-c,
|
|
._9_35,
|
|
._9_hh,
|
|
._a3es,
|
|
._a3et,
|
|
._a3eu,
|
|
._9-v-,
|
|
._9_4d,
|
|
._9zlh,
|
|
._a3ev,
|
|
._a3ew,
|
|
._a3ex,
|
|
._a3ey,
|
|
._9_7m,
|
|
._9_fv,
|
|
._a3ez,
|
|
._9-zf,
|
|
._9-zg,
|
|
._9-ze,
|
|
._a9fa,
|
|
._9-zh,
|
|
._9-zi,
|
|
._9-zj,
|
|
._9-zk,
|
|
._9-zl,
|
|
._9-zm,
|
|
._9-zn,
|
|
._9-zo,
|
|
._9-zp,
|
|
._9-zq,
|
|
._9-zr,
|
|
._9-zs,
|
|
._9-zt,
|
|
._a3op,
|
|
._a3oq,
|
|
._9-zu,
|
|
._9-zv,
|
|
._9-zw,
|
|
._9-zx,
|
|
._9-zy,
|
|
._9-zz,
|
|
._9-z-,
|
|
._a3or,
|
|
._a3ot,
|
|
._a3os,
|
|
._9zs1,
|
|
._9zs2,
|
|
._9-z_,
|
|
._9--0,
|
|
._9--1,
|
|
._9--2,
|
|
._9--3,
|
|
._9--4,
|
|
._9--5,
|
|
._9--6,
|
|
._9--7,
|
|
._9--f,
|
|
._9--8,
|
|
._9--9,
|
|
._9--a,
|
|
._9--b,
|
|
._9--c,
|
|
._9--d,
|
|
._9--e,
|
|
._a3ou,
|
|
._9--g,
|
|
._9--h,
|
|
._9--i,
|
|
._9--j,
|
|
._9--l,
|
|
._9--k,
|
|
._9--m,
|
|
._9--n,
|
|
._9--o,
|
|
._9--p,
|
|
._9--q,
|
|
._a3ov,
|
|
._9--s,
|
|
._9--r,
|
|
._9--t,
|
|
._9--u,
|
|
._9--v,
|
|
._9--x,
|
|
._9--y,
|
|
._9--w,
|
|
._9--z,
|
|
._9--_,
|
|
._9-_0,
|
|
._9-_1,
|
|
._9-_2,
|
|
._9-_3,
|
|
._9---,
|
|
._9-_4,
|
|
._9-_5,
|
|
._9-_6,
|
|
._9-_7,
|
|
._a3wy,
|
|
._9-_8,
|
|
._9-_9,
|
|
._a3ow,
|
|
._9-_a,
|
|
._9-_b,
|
|
._9-_c,
|
|
._9-_d,
|
|
._9-_e,
|
|
._9-_f,
|
|
._9-_g,
|
|
._9-_h,
|
|
._9-_i,
|
|
._9-_j,
|
|
._9-_k,
|
|
._9-_l,
|
|
._9-_m,
|
|
._9-_n,
|
|
._9-_o,
|
|
._a3ox,
|
|
._9-_p,
|
|
._9-_q,
|
|
._a9fb,
|
|
._9-_t,
|
|
._9-_r,
|
|
._9-_s,
|
|
._a93g,
|
|
._9-_u,
|
|
._9-_v,
|
|
._a9fc,
|
|
._9-_w,
|
|
._9-_x,
|
|
._9-_y,
|
|
._9-_z,
|
|
._9-_-,
|
|
._9-__,
|
|
._9_00,
|
|
._a3oy,
|
|
._9_01,
|
|
._9_02,
|
|
._9_03,
|
|
._9_04,
|
|
._9_05,
|
|
._9_08,
|
|
._9_09,
|
|
._9_07,
|
|
._9_06,
|
|
._9_0a,
|
|
._9_0b,
|
|
._9_0c,
|
|
._9_0d,
|
|
._9_0e,
|
|
._9_0f,
|
|
._9_0g,
|
|
._a93h,
|
|
._9_0h,
|
|
._9_0i,
|
|
._9_0j,
|
|
._9_0k,
|
|
._aepo,
|
|
._9_0l,
|
|
._9_0m,
|
|
._9_0n,
|
|
._9_0o,
|
|
._9_0p,
|
|
._a3oz,
|
|
._a93l,
|
|
._9_0r,
|
|
._9_0s,
|
|
._a7tk,
|
|
._9_0q,
|
|
._a3o-,
|
|
._9_0t,
|
|
._9_0v,
|
|
._9_0u,
|
|
._a9ej,
|
|
._9_0w,
|
|
._9_0x,
|
|
._9_0y,
|
|
._9_0z,
|
|
._9_0_,
|
|
._9_0-,
|
|
._9_10,
|
|
._9_11,
|
|
._9_12,
|
|
._9_13,
|
|
._9_14,
|
|
._9_15,
|
|
._a3o_,
|
|
._9_18,
|
|
._9_19,
|
|
._9_1a,
|
|
._9_1e,
|
|
._9_1b,
|
|
._9_1c,
|
|
._9_1d,
|
|
._9_16,
|
|
._9_17,
|
|
._a3p0,
|
|
._9_1g,
|
|
._9_1i,
|
|
._9_1h,
|
|
._9_1j,
|
|
._9_1k,
|
|
._9_1l,
|
|
._9_1m,
|
|
._a9pw {
|
|
filter: @text-filter;
|
|
}
|
|
|
|
/* Custom icons */
|
|
@instagram_gradient: radial-gradient(
|
|
circle at 30% 107%,
|
|
@yellow 0%,
|
|
@yellow 5%,
|
|
@peach 45%,
|
|
@mauve 60%,
|
|
@blue 90%
|
|
);
|
|
/* "All caught up" icon */
|
|
img[src="/images/instagram/xig/web/illo-confirm-refresh-light.png"] {
|
|
@svg: escape(
|
|
'<svg width="96" height="95.986" viewBox="0 0 25.4 25.397" xmlns="http://www.w3.org/2000/svg" fill="@{accent-color}"><path d="M12.591.001c-1.934.008-2.265.045-3.353.374-.664.201-1.703.612-2.308.914s-1.582.931-2.172 1.396c-.589.466-1.436 1.287-1.883 1.825-.468.564-1.127 1.604-1.554 2.455C.913 7.777.45 8.923.292 9.514c-.234.872-.288 1.461-.292 3.152-.004 1.575.053 2.291.231 2.951.13.479.353 1.192.497 1.582.143.391.389.964.546 1.274s.581.994.943 1.519a14.4 14.4 0 0 0 1.558 1.82c.496.476 1.263 1.109 1.706 1.408s1.112.698 1.487.887 1.069.477 1.543.638c.473.161 1.282.371 1.799.466s1.513.178 2.214.184 1.667-.05 2.146-.125 1.355-.293 1.945-.485 1.375-.501 1.744-.687a17 17 0 0 0 1.475-.88c.443-.298 1.21-.932 1.706-1.408s1.197-1.295 1.559-1.82.81-1.257.995-1.626.494-1.154.685-1.744.41-1.465.485-1.945.136-1.385.136-2.012-.061-1.533-.136-2.012-.293-1.355-.485-1.945-.5-1.375-.685-1.744-.633-1.1-.994-1.626a14.4 14.4 0 0 0-1.559-1.82c-.496-.476-1.286-1.125-1.757-1.443-.471-.317-1.289-.778-1.82-1.023S16.49.466 15.868.297c-.969-.261-1.437-.304-3.277-.296m-.515.555.001.003h-.004q.002 0 .003-.003m.65.254c1.324.011 2.002.084 2.817.303.59.158 1.58.531 2.2.827s1.435.763 1.811 1.036.972.764 1.324 1.09.938.995 1.302 1.486.906 1.402 1.203 2.025c.297.622.671 1.614.831 2.205.23.851.29 1.448.29 2.884 0 1.426-.061 2.039-.287 2.884-.158.59-.586 1.677-.95 2.414s-1 1.748-1.412 2.245-1.155 1.241-1.652 1.652c-.497.412-1.507 1.047-2.245 1.412s-1.824.787-2.414.937c-.599.153-1.696.299-2.482.331-.874.035-1.772-.013-2.369-.127a17 17 0 0 1-1.677-.418 16 16 0 0 1-1.656-.7c-.517-.256-1.271-.709-1.677-1.006s-.999-.789-1.317-1.092c-.319-.303-.875-.948-1.235-1.432s-.899-1.39-1.197-2.012c-.297-.622-.667-1.615-.821-2.205s-.312-1.707-.35-2.482c-.055-1.1-.011-1.693.2-2.71.148-.716.474-1.772.723-2.348s.692-1.408.984-1.849.919-1.214 1.392-1.716S5.417 3.202 6.022 2.8s1.515-.903 2.024-1.112a18 18 0 0 1 1.931-.637c.76-.194 1.432-.253 2.75-.242m3.229.115v.002l.006.004-.012-.003zm3.312 6.912c-.129 0-2.197 1.962-4.596 4.36l-4.363 4.361-2.077-2.08c-1.456-1.459-2.167-2.08-2.38-2.08-.225 0-.304.078-.304.3 0 .21.679.98 2.245 2.549 1.413 1.415 2.345 2.248 2.514 2.248.174 0 1.838-1.568 4.73-4.459 3.7-3.699 4.461-4.523 4.461-4.829 0-.262-.068-.369-.234-.369m5.624 2.252.004.015q-.003-.004-.008-.007zm-.303.013.006.003-.004.005zM7.614 23.749l.019.009-.004.016q-.006-.013-.014-.024m8.544.584-.001.003-.004-.002zm.004.306.003.001-.005.001z"/></svg>'
|
|
);
|
|
height: 0 !important;
|
|
width: 0 !important;
|
|
padding-left: 96px !important;
|
|
padding-top: 96px !important;
|
|
background: url("data:image/svg+xml,@{svg}") no-repeat !important;
|
|
}
|
|
|
|
[style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")']
|
|
{
|
|
/* No photo icon */
|
|
&[style*="background-position: 0px -97px"] {
|
|
filter: none;
|
|
background: @mauve !important;
|
|
background: @instagram_gradient !important;
|
|
mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
|
|
mask-position: 0 -97px;
|
|
}
|
|
|
|
/* Private page icon */
|
|
&[style*="background-position: -49px -97px"] {
|
|
filter: none;
|
|
background: @mauve !important;
|
|
background: @instagram_gradient !important;
|
|
mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
|
|
mask-position: -49px -97px;
|
|
}
|
|
|
|
&[style*="background-position: -49px 0px"] {
|
|
filter: none;
|
|
background: @mauve !important;
|
|
background: @instagram_gradient !important;
|
|
mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
|
|
mask-position: -49px 0;
|
|
}
|
|
}
|
|
|
|
/* Post swipe icons */
|
|
._aaqh {
|
|
background-color: @surface0;
|
|
}
|
|
|
|
/* Inside primary buttons */
|
|
.xzloghq,
|
|
._acas:not(._acao) {
|
|
&,
|
|
svg {
|
|
color: @crust !important;
|
|
fill: @mantle;
|
|
}
|
|
}
|
|
._acas:not(._acao):hover {
|
|
background-color: @surface0 !important;
|
|
color: @accent-color !important;
|
|
}
|
|
|
|
/* Secondary buttons */
|
|
.x1gjpkn9,
|
|
._acat,
|
|
._acap {
|
|
&,
|
|
a& {
|
|
&,
|
|
&:visited {
|
|
color: @text;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* Profile banner */
|
|
div:has(> .x1mu97ne) {
|
|
background-color: @crust;
|
|
border-color: @overlay0;
|
|
box-shadow: 0 10px 35px 2px fadeout(@dark-color, 0.7);
|
|
}
|
|
|
|
/* Dialog overlay */
|
|
.x7r02ix[role="dialog"] {
|
|
box-shadow: 0 5px 10px 0 fadeout(@dark-color, 0.5);
|
|
}
|
|
|
|
/* Input placeholders */
|
|
._ac4d::placeholder,
|
|
._aauy::placeholder,
|
|
textarea::placeholder {
|
|
color: @subtext0;
|
|
}
|
|
|
|
/* Settings */
|
|
._ab81 {
|
|
background-color: @mantle;
|
|
}
|
|
._ab85,
|
|
._ab6i,
|
|
._ab85 .xvbhtw8,
|
|
._aav4 {
|
|
background-color: @crust;
|
|
}
|
|
|
|
/* Bloks */
|
|
.wbloks_1[data-bloks-name="bk.components.Collection"] {
|
|
background-color: @base !important;
|
|
}
|
|
div[data-bloks-name="bk.components.Flexbox"],
|
|
.wbloks_1[data-bloks-name="bk.components.Flexbox"] {
|
|
/* Radios have left padding */
|
|
padding-left: 0 !important;
|
|
|
|
/* The heading */
|
|
&[style*="background: rgb(0\, 0\, 0)"],
|
|
&[style*="background: rgb(255\, 255\, 255)"] {
|
|
background-color: @base !important;
|
|
}
|
|
|
|
/* Radios */
|
|
&[style*="border-radius: 10.5px"],
|
|
&[style*="border-radius: 12px"],
|
|
&[style*="border-radius: 4px"] {
|
|
/* Selected radio */
|
|
&[style*="background: rgb(0\, 149\, 246)"] {
|
|
background-color: @accent-color !important;
|
|
}
|
|
|
|
/* Not selected radio */
|
|
&[style*="background: rgb(219\, 219\, 219)"],
|
|
&[style*="background: rgb(38\, 38\, 38)"],
|
|
&[style*="background: rgb(54\, 54\, 54)"],
|
|
&[style*="background: rgb(255\, 255\, 255)"] {
|
|
background-color: @surface0 !important;
|
|
}
|
|
}
|
|
|
|
/* That "border" */
|
|
&[style*="background: rgb(38\, 38\, 38)"] {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
span[data-bloks-name="bk.components.TextSpan"],
|
|
span[data-bloks-name="bk.components.Text"] {
|
|
&[style*="color: rgb(250\, 250\, 250)"],
|
|
&[style*="color: rgb(224\, 241\, 255)"],
|
|
&[style*="color: rgb(0\, 55\, 107)"],
|
|
&[style*="color: rgb(38\, 38\, 38)"] {
|
|
color: @text !important;
|
|
}
|
|
|
|
&[style*="color: rgb(142\, 142\, 142)"] {
|
|
color: @subtext0 !important;
|
|
}
|
|
}
|
|
|
|
/* Map pop-ups */
|
|
.leaflet-popup-content-wrapper,
|
|
.leaflet-popup-tip {
|
|
background-color: @mantle;
|
|
box-shadow: 0 5px 15px fadeout(@dark-color, 0.4);
|
|
|
|
* {
|
|
color: @text !important;
|
|
}
|
|
}
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar {
|
|
background-color: @crust;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background-color: @accent-color;
|
|
border-radius: 10px;
|
|
}
|
|
}
|
|
}
|
|
|
|
@-moz-document regexp('^.*instagram.com/direct.*') {
|
|
:root {
|
|
#catppuccin(@darkFlavor,
|
|
@accentColor);
|
|
}
|
|
#catppuccin(@lookup,
|
|
@accent) {
|
|
@rosewater: @catppuccin[@@lookup][@rosewater];
|
|
@flamingo: @catppuccin[@@lookup][@flamingo];
|
|
@pink: @catppuccin[@@lookup][@pink];
|
|
@mauve: @catppuccin[@@lookup][@mauve];
|
|
@red: @catppuccin[@@lookup][@red];
|
|
@maroon: @catppuccin[@@lookup][@maroon];
|
|
@peach: @catppuccin[@@lookup][@peach];
|
|
@yellow: @catppuccin[@@lookup][@yellow];
|
|
@green: @catppuccin[@@lookup][@green];
|
|
@teal: @catppuccin[@@lookup][@teal];
|
|
@sky: @catppuccin[@@lookup][@sky];
|
|
@sapphire: @catppuccin[@@lookup][@sapphire];
|
|
@blue: @catppuccin[@@lookup][@blue];
|
|
@lavender: @catppuccin[@@lookup][@lavender];
|
|
@text: @catppuccin[@@lookup][@text];
|
|
@subtext1: @catppuccin[@@lookup][@subtext1];
|
|
@subtext0: @catppuccin[@@lookup][@subtext0];
|
|
@overlay2: @catppuccin[@@lookup][@overlay2];
|
|
@overlay1: @catppuccin[@@lookup][@overlay1];
|
|
@overlay0: @catppuccin[@@lookup][@overlay0];
|
|
@surface2: @catppuccin[@@lookup][@surface2];
|
|
@surface1: @catppuccin[@@lookup][@surface1];
|
|
@surface0: @catppuccin[@@lookup][@surface0];
|
|
@base: @catppuccin[@@lookup][@base];
|
|
@mantle: @catppuccin[@@lookup][@mantle];
|
|
@crust: @catppuccin[@@lookup][@crust];
|
|
@accent-color: @catppuccin[@@lookup][@@accent];
|
|
|
|
/* Chat background */
|
|
.xnz67gz {
|
|
background-color: @base;
|
|
}
|
|
[style*="background-color: rgb(55, 151, 240);"] {
|
|
background-color: @blue !important;
|
|
color: @mantle;
|
|
}
|
|
.xvbhtw8 {
|
|
background-color: @mantle;
|
|
}
|
|
.x186z157,
|
|
.xk50ysn,
|
|
.xi81zsa {
|
|
color: @subtext0 !important;
|
|
}
|
|
._aa5c,
|
|
._aa4j,
|
|
._abyk {
|
|
background-color: @crust;
|
|
}
|
|
|
|
/* New Chat Button */
|
|
.xk5f4mz {
|
|
background-color: @surface0;
|
|
}
|
|
|
|
/* Chat button */
|
|
.x1i10hfl:hover {
|
|
background-color: @surface0;
|
|
color: @text;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* prettier-ignore */
|
|
@catppuccin: {
|
|
@latte: {
|
|
@rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8;
|
|
@text-filter: brightness(0) saturate(100%) invert(28%) sepia(17%) saturate(835%) hue-rotate(196deg) brightness(97%) contrast(85%);
|
|
};
|
|
@frappe: {
|
|
@rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634;
|
|
@text-filter: brightness(0) saturate(100%) invert(84%) sepia(5%) saturate(1519%) hue-rotate(192deg) brightness(100%) contrast(93%);
|
|
};
|
|
@macchiato: {
|
|
@rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926;
|
|
@text-filter: brightness(0) saturate(100%) invert(80%) sepia(18%) saturate(377%) hue-rotate(192deg) brightness(103%) contrast(92%);
|
|
};
|
|
@mocha: {
|
|
@rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b;
|
|
@text-filter: brightness(0) saturate(100%) invert(85%) sepia(6%) saturate(1356%) hue-rotate(194deg) brightness(103%) contrast(91%);
|
|
};
|
|
}
|
|
|
|
// vim:ft=less
|