style: format code with prettier

This commit is contained in:
github-actions[bot] committed 2023-12-09 18:06:27 +00:00
1 parent aed073d698
commit b800f7bfd0
1 file changed
+160 -159
+160 -159
View File
@@ -151,30 +151,31 @@
fill: @accent-color; fill: @accent-color;
} }
//Share box //Share box
.xzloghq { .xzloghq {
background-color: @overlay0; background-color: @overlay0;
&:hover { &:hover {
color: @accent-color; color: @accent-color;
} }
} }
background-color: @accent-color} background-color: @accent-color;
.xk5f4mz {
background-color: @mantle;
&:hover {
background-color: @accent-color;
}
}
.x3nfvp2 {
color: @text;
&:hover {color: @mantle;
}
} }
.xk5f4mz {
background-color: @mantle;
// Excluded: &:hover {
// - _9ys7, _9_1f, _9ys8 (verified icon) background-color: @accent-color;
[style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")'], }
}
.x3nfvp2 {
color: @text;
&:hover {
color: @mantle;
}
}
// Excluded:
// - _9ys7, _9_1f, _9ys8 (verified icon)
[style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")'],
._9zkj, ._9zkj,
._a3ds, ._a3ds,
._a3dt, ._a3dt,
@@ -456,152 +457,152 @@
._9_1l, ._9_1l,
._9_1m, ._9_1m,
._a9pw { ._a9pw {
filter: @text_filter; filter: @text_filter;
} // Custom icons } // Custom icons
@instagram_gradient: radial-gradient( @instagram_gradient: radial-gradient(
circle at 30% 107%, circle at 30% 107%,
@yellow 0%, @yellow 0%,
@yellow 5%, @yellow 5%,
@peach 45%, @peach 45%,
@mauve 60%, @mauve 60%,
@blue 90% @blue 90%
); );
[style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")'] [style*='background-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png")']
{ {
// No photo icon // No photo icon
&[style*="background-position: 0px -97px"] { &[style*="background-position: 0px -97px"] {
filter: none; filter: none;
background: @mauve !important; background: @mauve !important;
background: @instagram_gradient !important; background: @instagram_gradient !important;
mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png"); mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
mask-position: 0 -97px; mask-position: 0 -97px;
} // Private page icon } // Private page icon
&[style*="background-position: -49px -97px"] { &[style*="background-position: -49px -97px"] {
filter: none; filter: none;
background: @mauve !important; background: @mauve !important;
background: @instagram_gradient !important; background: @instagram_gradient !important;
mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png"); mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
mask-position: -49px -97px; 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: @base;
fill: @base;
}
} // 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, &[style*="background-position: -49px 0px"] {
._ab6i, filter: none;
._ab85 .xvbhtw8, background: @mauve !important;
._aav4 { background: @instagram_gradient !important;
background-color: @crust; mask-image: url("https://static.cdninstagram.com/rsrc.php/v3/y4/r/ewSyA8IItw_.png");
} // Bloks mask-position: -49px 0;
.wbloks_1[data-bloks-name="bk.components.Collection"] {
background-color: @mantle;
} }
} // Post swipe icons
._aaqh {
background-color: @surface0;
} // Inside primary buttons
.xzloghq,
._acas:not(._acao) {
&,
svg {
color: @base;
fill: @base;
}
} // 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;
}
div[data-bloks-name="bk.components.Flexbox"], ._ab85,
.wbloks_1[data-bloks-name="bk.components.Flexbox"] { ._ab6i,
// Radios have left padding ._ab85 .xvbhtw8,
padding-left: 0 !important; // The heading ._aav4 {
&[style*="background: rgb(0\, 0\, 0)"], background-color: @crust;
} // Bloks
.wbloks_1[data-bloks-name="bk.components.Collection"] {
background-color: @mantle;
}
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: @mantle !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)"] { &[style*="background: rgb(255\, 255\, 255)"] {
background-color: @mantle !important; background-color: @surface0 !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;
} }
} } // That "border"
&[style*="background: rgb(38\, 38\, 38)"] {
span[data-bloks-name="bk.components.TextSpan"], display: none;
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 {
width: @scrollbar_width;
background-color: @crust;
}
::-webkit-scrollbar-thumb {
background-color: @accent-color;
border-radius: 10px;
} }
} }
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 {
width: @scrollbar_width;
background-color: @crust;
}
::-webkit-scrollbar-thumb {
background-color: @accent-color;
border-radius: 10px;
}
}
@-moz-document regexp('^.*instagram.com/direct.*') { @-moz-document regexp('^.*instagram.com/direct.*') {
:root { :root {
#catppuccin(@darkFlavor, #catppuccin(@darkFlavor,