fix(instagram): assorted fixes that uncenter pointed out (#617)

* fix(instagram): assorted fixes that uncenter pointed out
This commit is contained in:
Gen authored and GitHub committed 2024-03-04 20:13:20 -08:00
1 parent 173e6187c1
commit 896aff82eb
1 file changed
+32 -19
+32 -19
View File
@@ -2,7 +2,7 @@
@name Instagram Catppuccin
@namespace github.com/catppuccin/userstyles/styles/instagram
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/instagram
@version 0.1.7
@version 0.1.8
@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
@@ -107,6 +107,8 @@
--ig-success: #rgbify(@green) [];
--blue-2: #rgbify(@blue) [];
--ig-text-input-border-hover-prism: #rgbify(@surface1) [];
scrollbar-width: none;
scrollbar-color: @accent-color @crust;
} // Text selection
@@ -160,9 +162,9 @@
//Share box
.xzloghq {
background-color: @overlay0;
background-color: @blue;
&:hover {
color: @accent-color;
color: @mantle;
background-color: @accent-color;
}
}
@@ -183,7 +185,7 @@
//all toggle sliders
.x1r7x56h {
background-color: @green;
background-color: @accent-color;
}
.x100vrsf {
background-color: @surface0;
@@ -191,6 +193,9 @@
.xw4jnvo {
background-color: @overlay1;
}
.x1psfjxj {
background-color: @text;
}
span[data-bloks-name="bk.components.TextSpan"] {
color: @accent-color !important;
@@ -543,56 +548,63 @@
color: @text;
}
}
} // Profile banner
}
// Profile banner
div:has(> .x1mu97ne) {
background-color: @crust;
border-color: @overlay0;
box-shadow: 0 10px 35px 2px fadeout(@dark_color, 0.7);
} // Dialog overlay
}
// Dialog overlay
.x7r02ix[role="dialog"] {
box-shadow: 0 5px 10px 0 fadeout(@dark_color, 0.5);
} // Input placeholders
}
// Input placeholders
._ac4d::placeholder,
._aauy::placeholder,
textarea::placeholder {
color: @subtext0;
} // Settings
}
// 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;
}
// 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
padding-left: 0 !important;
// The heading
&[style*="background: rgb(0\, 0\, 0)"],
&[style*="background: rgb(255\, 255\, 255)"] {
background-color: @mantle !important;
} // Radios
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
}
// 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"
}
// That "border"
&[style*="background: rgb(38\, 38\, 38)"] {
display: none;
}
@@ -619,7 +631,8 @@
* {
color: @text !important;
}
} // Scrollbar
}
// Scrollbar
::-webkit-scrollbar {
width: @scrollbar_width;
background-color: @crust;