style: format code with prettier

This commit is contained in:
github-actions[bot] committed 2023-12-10 13:25:17 +00:00
1 parent 2bc94005d6
commit c5b8b532a2
1 file changed
+151 -151
+151 -151
View File
@@ -151,31 +151,31 @@
fill: @accent-color;
}
//Share box
//Share box
.xzloghq {
background-color: @overlay0;
&:hover {
color: @accent-color;
background-color: @accent-color;
}
color: @accent-color;
background-color: @accent-color;
}
.xk5f4mz {
background-color: @mantle;
}
.xk5f4mz {
background-color: @mantle;
&:hover {
background-color: @accent-color;
}
&:hover {
background-color: @accent-color;
}
.x3nfvp2 {
color: @text;
&:hover {
color: @mantle;
}
}
.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")'],
// 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,
@@ -457,151 +457,151 @@
._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%
);
filter: @text_filter;
} // Custom icons
@instagram_gradient: radial-gradient(
circle at 30% 107%,
@yellow 0%,
@yellow 5%,
@peach 45%,
@mauve 60%,
@blue 90%
);
[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-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: @base;
fill: @base;
}
} // Secondary buttons
.x1gjpkn9,
._acat,
._acap {
&,
a& {
&[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) {
&,
&:visited {
color: @text;
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;
}
} // 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: @mantle;
}
._ab85,
._ab6i,
._ab85 .xvbhtw8,
._aav4 {
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)"],
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: @surface0 !important;
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)"] {
background-color: @surface0 !important;
}
} // That "border"
&[style*="background: rgb(38\, 38\, 38)"] {
display: none;
}
} // 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 {
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.*') {