style: deno fmt
This commit is contained in:
1 parent
dcb6fe731f
commit
534e5c49ef
3 files changed
+88
-52
No files matched your search
@@ -124,19 +124,22 @@
|
||||
--color-background-tabs-default-hover: @surface0;
|
||||
--color-background-button-semitransparentwhite-default: fade(@base, 80%);
|
||||
--color-background-button-semitransparentwhite-hover: @surface0;
|
||||
--color-background-button-semitransparentdefault-default: fade(@surface1, 80%);
|
||||
--color-background-button-semitransparentdefault-default: fade(
|
||||
@surface1,
|
||||
80%
|
||||
);
|
||||
--color-background-button-semitransparentdefault-hover: @surface2;
|
||||
--color-background-switch-default-selected: @accent;
|
||||
--color-background-switch-default-unselected: @base;
|
||||
--color-background-switch-hover-selected: @accent;
|
||||
--color-background-switch-hover-unselected: @surface0;
|
||||
--color-background-switch-pressed-selected: fade(@accent, 50%);
|
||||
--color-background-switch-pressed-unselected: fade(@accent, 50%);
|
||||
--color-background-switch-pressed-unselected: fade(@accent, 50%);
|
||||
--color-background-checkbox-disabled: darken(@mantle, 2%);
|
||||
--color-background-checkbox-checked-default: @accent;
|
||||
--color-background-checkbox-checked-: @red;
|
||||
--color-background-checkbox-unchecked-default: @base;
|
||||
--color-background-checkbox-unchecked-: @red;
|
||||
--color-background-checkbox-unchecked-: @red;
|
||||
--color-border-container: @surface1;
|
||||
--color-border-default: @mantle;
|
||||
--color-border-popover-primary: @surface0;
|
||||
@@ -147,14 +150,14 @@
|
||||
--color-border-switch-focus-inner: @surface2;
|
||||
--color-border-switch-focus-outer: @surface2;
|
||||
--color-border-switch-hover-unselected: @surface2;
|
||||
--color-border-switch-pressed-unselected: @surface2;
|
||||
--color-border-switch-pressed-unselected: @surface2;
|
||||
--color-border-checkbox-checked-default: @accent;
|
||||
--color-border-checkbox-checked-: @red;
|
||||
--color-border-checkbox-disabled: darken(@mantle, 2%);
|
||||
--color-border-checkbox-unchecked-default: @surface1;
|
||||
--color-border-checkbox-unchecked-: @red;
|
||||
--color-border-checkbox-unchecked-hover: @surface2;
|
||||
--color-border-checkbox-unchecked-pressed: fade(@accent, 50%);
|
||||
--color-border-checkbox-unchecked-pressed: fade(@accent, 50%);
|
||||
--color-text-success: @green;
|
||||
--color-text-warning: @yellow;
|
||||
--color-icon-default: @subtext1;
|
||||
@@ -210,7 +213,7 @@
|
||||
--color-background-success-base: @green;
|
||||
|
||||
// Currently unsupported syntax by the Less parser the Deno formatter uses, see https://github.com/g-plane/raffia/issues/9.
|
||||
|
||||
|
||||
// @colors: {
|
||||
// 01: @blue;
|
||||
// 02: @teal;
|
||||
@@ -356,14 +359,17 @@
|
||||
--color-text-dark: var(--color-text-inverse);
|
||||
}
|
||||
|
||||
div[data-test-id="product-price-filter-one-bar-pill"] button[data-test-id="one-bar-pill"] svg {
|
||||
div[data-test-id="product-price-filter-one-bar-pill"]
|
||||
button[data-test-id="one-bar-pill"]
|
||||
svg {
|
||||
color: @base !important;
|
||||
}
|
||||
div[data-test-id="one-bar-navigation-arrows"] {
|
||||
background: linear-gradient(to left, @base, transparent 40px), linear-gradient(to right, @base, transparent 40px) !important;
|
||||
background:
|
||||
linear-gradient(to left, @base, transparent 40px),
|
||||
linear-gradient(to right, @base, transparent 40px) !important;
|
||||
}
|
||||
|
||||
|
||||
div#searchBoxContainer {
|
||||
// search bar
|
||||
> div {
|
||||
@@ -406,66 +412,90 @@
|
||||
nav#VerticalNavContent {
|
||||
a[data-test-id="home-tab"] div {
|
||||
&[style*="M11.3217 0.307444C11.7345 0.0407477"] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.322.307a1.25 1.25 0 0 1 1.356 0l9.684 6.256c.356.23.571.625.571 1.05V23.25H1.067V7.613c0-.425.215-.82.571-1.05zM3.567 8.293V20.75h16.866V8.293L12 2.846z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 16.047V20.5h-.016V23h2.516v-6.953a4.75 4.75 0 1 0-9.5 0V23h2.5v-6.953a2.25 2.25 0 1 1 4.5 0" fill="@{subtext1}"/></svg>');
|
||||
background-image: url(~'data:image/svg+xml,@{svg}') !important;
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.322.307a1.25 1.25 0 0 1 1.356 0l9.684 6.256c.356.23.571.625.571 1.05V23.25H1.067V7.613c0-.425.215-.82.571-1.05zM3.567 8.293V20.75h16.866V8.293L12 2.846z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M14.25 16.047V20.5h-.016V23h2.516v-6.953a4.75 4.75 0 1 0-9.5 0V23h2.5v-6.953a2.25 2.25 0 1 1 4.5 0" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background-image: url(~"data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
&[style*="M21.6834 22H2.31659V7.61275"] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M21.683 22H2.317V7.613L12 1.357l9.683 6.256z" fill="@{subtext1}"/><path d="M2.317 22h-1v1h1zm19.366 0v1h1v-1zm0-14.387h1a1 1 0 0 0-.457-.84zm-19.366 0-.543-.84a1 1 0 0 0-.457.84zM12 1.357l.543-.84a1 1 0 0 0-1.086 0zM2.317 23h19.366v-2H2.317zm20.366-1V7.613h-2V22zM1.317 7.613V22h2V7.613zm20.909-.84L12.543.517l-1.086 1.68 9.684 6.256zM11.457.517 1.774 6.773l1.085 1.68 9.684-6.256z" fill="@{subtext1}"/><path d="M9.25 17.047a2.75 2.75 0 1 1 5.5 0v6.482h-5.5z" fill="@{base}"/></svg>');
|
||||
background-image: url(~'data:image/svg+xml,@{svg}') !important;
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M21.683 22H2.317V7.613L12 1.357l9.683 6.256z" fill="@{subtext1}"/><path d="M2.317 22h-1v1h1zm19.366 0v1h1v-1zm0-14.387h1a1 1 0 0 0-.457-.84zm-19.366 0-.543-.84a1 1 0 0 0-.457.84zM12 1.357l.543-.84a1 1 0 0 0-1.086 0zM2.317 23h19.366v-2H2.317zm20.366-1V7.613h-2V22zM1.317 7.613V22h2V7.613zm20.909-.84L12.543.517l-1.086 1.68 9.684 6.256zM11.457.517 1.774 6.773l1.085 1.68 9.684-6.256z" fill="@{subtext1}"/><path d="M9.25 17.047a2.75 2.75 0 1 1 5.5 0v6.482h-5.5z" fill="@{base}"/></svg>'
|
||||
);
|
||||
background-image: url(~"data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
|
||||
a[data-test-id="create-tab"] div {
|
||||
&[style*="M19 3.5H5C4.17157 3.5"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 3.5H5A1.5 1.5 0 0 0 3.5 5v14A1.5 1.5 0 0 0 5 20.5h14a1.5 1.5 0 0 0 1.5-1.5V5A1.5 1.5 0 0 0 19 3.5M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4z" fill="@{subtext1}"/><path d="M13.25 7a1.25 1.25 0 1 0-2.5 0v3.75H7a1.25 1.25 0 1 0 0 2.5h3.75V17a1.25 1.25 0 1 0 2.5 0v-3.75H17a1.25 1.25 0 1 0 0-2.5h-3.75z" fill="@{subtext1}"/></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M19 3.5H5A1.5 1.5 0 0 0 3.5 5v14A1.5 1.5 0 0 0 5 20.5h14a1.5 1.5 0 0 0 1.5-1.5V5A1.5 1.5 0 0 0 19 3.5M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4z" fill="@{subtext1}"/><path d="M13.25 7a1.25 1.25 0 1 0-2.5 0v3.75H7a1.25 1.25 0 1 0 0 2.5h3.75V17a1.25 1.25 0 1 0 2.5 0v-3.75H17a1.25 1.25 0 1 0 0-2.5h-3.75z" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
&[style*="M12 4.75C12.6904 4.75"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4zm7 3.75c.69 0 1.25.56 1.25 1.25v4.75H18a1.25 1.25 0 1 1 0 2.5h-4.75V18a1.25 1.25 0 1 1-2.5 0v-4.75H6a1.25 1.25 0 1 1 0-2.5h4.75V6c0-.69.56-1.25 1.25-1.25" fill="@{subtext1}"/></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M5 1a4 4 0 0 0-4 4v14a4 4 0 0 0 4 4h14a4 4 0 0 0 4-4V5a4 4 0 0 0-4-4zm7 3.75c.69 0 1.25.56 1.25 1.25v4.75H18a1.25 1.25 0 1 1 0 2.5h-4.75V18a1.25 1.25 0 1 1-2.5 0v-4.75H6a1.25 1.25 0 1 1 0-2.5h4.75V6c0-.69.56-1.25 1.25-1.25" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[aria-label*="Updates"] div {
|
||||
&[style*="M16.5 14.227"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.5 14.227V7a4.5 4.5 0 1 0-9 0v7.227l-.764.737c-.475.458-.89.974-1.233 1.536h12.994a7.7 7.7 0 0 0-1.233-1.536zm4.801 2.273A10 10 0 0 1 22 19H2a10 10 0 0 1 .699-2.5A10.2 10.2 0 0 1 5 13.165V7a7 7 0 1 1 14 0v6.165a10.2 10.2 0 0 1 2.301 3.335M15 21H9q0 .255.041.5A3 3 0 0 0 15 21" fill="@{subtext1}"/></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M16.5 14.227V7a4.5 4.5 0 1 0-9 0v7.227l-.764.737c-.475.458-.89.974-1.233 1.536h12.994a7.7 7.7 0 0 0-1.233-1.536zm4.801 2.273A10 10 0 0 1 22 19H2a10 10 0 0 1 .699-2.5A10.2 10.2 0 0 1 5 13.165V7a7 7 0 1 1 14 0v6.165a10.2 10.2 0 0 1 2.301 3.335M15 21H9q0 .255.041.5A3 3 0 0 0 15 21" fill="@{subtext1}"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
&[style*="clip0_449_32470"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M19 7v6.165A10.1 10.1 0 0 1 22 19H2a10.1 10.1 0 0 1 3-5.835V7a7 7 0 1 1 14 0m-4 14a3 3 0 1 1-6 0z" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M19 7v6.165A10.1 10.1 0 0 1 22 19H2a10.1 10.1 0 0 1 3-5.835V7a7 7 0 1 1 14 0m-4 14a3 3 0 1 1-6 0z" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url(~"data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
|
||||
div[data-test-id="notifications-button"] div[style*="background-image"] {
|
||||
&[style*="clip0_800_18532"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><rect width="24" height="24" fill="none"/><path d="m4.683 18.274.166-.619-.404-.496A9.7 9.7 0 0 1 2.25 11c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75a9.7 9.7 0 0 1-3.696-.73l-.549-.224-.521.282-3.555 1.928z" stroke="@{subtext1}" stroke-width="2.5"/><circle cx="6.99219" cy="11.0078" r="1.5" fill="@{subtext1}"/><path d="M13.496 11.008a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" fill="@{subtext1}"/><circle cx="17" cy="11.0078" r="1.5" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><rect width="24" height="24" fill="none"/><path d="m4.683 18.274.166-.619-.404-.496A9.7 9.7 0 0 1 2.25 11c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75a9.7 9.7 0 0 1-3.696-.73l-.549-.224-.521.282-3.555 1.928z" stroke="@{subtext1}" stroke-width="2.5"/><circle cx="6.99219" cy="11.0078" r="1.5" fill="@{subtext1}"/><path d="M13.496 11.008a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" fill="@{subtext1}"/><circle cx="17" cy="11.0078" r="1.5" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
&[style*="clip0_449_32468"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 12.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-6 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-6-3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M12 0C5.925 0 1 4.925 1 11c0 2.636.93 5.054 2.476 6.949l-1.46 5.428a.5.5 0 0 0 .733.556l5.081-2.756c1.287.527 2.693.823 4.17.823 6.075 0 11-4.925 11-11S18.075 0 12 0" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M18 12.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-6 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m-6-3a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M12 0C5.925 0 1 4.925 1 11c0 2.636.93 5.054 2.476 6.949l-1.46 5.428a.5.5 0 0 0 .733.556l5.081-2.756c1.287.527 2.693.823 4.17.823 6.075 0 11-4.925 11-11S18.075 0 12 0" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
div[data-test-id="vertical-nav-more-options-button"] div {
|
||||
&[style*="clip0_449_32461"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 7.45v9.1l8 4.57 8-4.57v-9.1l-8-4.57zM12 0 1.5 6v12L12 24l10.5-6V6z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5.5 3a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M4 7.45v9.1l8 4.57 8-4.57v-9.1l-8-4.57zM12 0 1.5 6v12L12 24l10.5-6V6z" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M12 9a3 3 0 1 0 0 6 3 3 0 0 0 0-6m-5.5 3a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
&[style*="clip0_449_32472"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 16.25a4.25 4.25 0 1 1 0-8.5 4.25 4.25 0 0 1 0 8.5M12 0 1.5 6v12L12 24l10.5-6V6z" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 16.25a4.25 4.25 0 1 1 0-8.5 4.25 4.25 0 0 1 0 8.5M12 0 1.5 6v12L12 24l10.5-6V6z" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
|
||||
a[data-test-id="today-tab"] div {
|
||||
&[style*="clip0_449_32453"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0 2.5c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.384 5.616c.354.354.462.884.277 1.348l-2.917 7.292-.008.019a2.95 2.95 0 0 1-1.677 1.656l-7.11 2.736a1.25 1.25 0 0 1-1.616-1.616l2.735-7.108a2.95 2.95 0 0 1 1.657-1.679l7.31-2.925a1.25 1.25 0 0 1 1.349.277m-4.972 7.74.003-.008 1.841-4.604-4.605 1.842a.45.45 0 0 0-.25.254l-1.724 4.483 4.483-1.725a.45.45 0 0 0 .252-.242" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19m0 2.5c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12" fill="@{subtext1}"/><path fill-rule="evenodd" clip-rule="evenodd" d="M18.384 5.616c.354.354.462.884.277 1.348l-2.917 7.292-.008.019a2.95 2.95 0 0 1-1.677 1.656l-7.11 2.736a1.25 1.25 0 0 1-1.616-1.616l2.735-7.108a2.95 2.95 0 0 1 1.657-1.679l7.31-2.925a1.25 1.25 0 0 1 1.349.277m-4.972 7.74.003-.008 1.841-4.604-4.605 1.842a.45.45 0 0 0-.25.254l-1.724 4.483 4.483-1.725a.45.45 0 0 0 .252-.242" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
&[style*="clip0_449_32464"] {
|
||||
@svg: escape('<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M12.867 12.902a1.25 1.25 0 0 0 .001-1.77 1.251 1.251 0 1 0 .001 1.768zm2.27 1.132c-.207.516-.62.923-1.139 1.124L5.62 18.38l3.223-8.376c.2-.52.607-.934 1.124-1.14l8.617-3.447zm5.348-10.52C15.8-1.17 8.201-1.17 3.515 3.515c-4.687 4.688-4.687 12.286 0 16.971 4.686 4.687 12.284 4.687 16.97 0 4.686-4.685 4.686-12.284 0-16.97" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>');
|
||||
@svg: escape(
|
||||
'<svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(#a)"><path d="M12.867 12.902a1.25 1.25 0 0 0 .001-1.77 1.251 1.251 0 1 0 .001 1.768zm2.27 1.132c-.207.516-.62.923-1.139 1.124L5.62 18.38l3.223-8.376c.2-.52.607-.934 1.124-1.14l8.617-3.447zm5.348-10.52C15.8-1.17 8.201-1.17 3.515 3.515c-4.687 4.688-4.687 12.286 0 16.971 4.686 4.687 12.284 4.687 16.97 0 4.686-4.685 4.686-12.284 0-16.97" fill="@{subtext1}"/></g><defs><clipPath id="a"><rect width="24" height="24" fill="@{base}"/></clipPath></defs></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
}
|
||||
@@ -474,12 +504,12 @@
|
||||
div[data-test-id="homefeed-feed"] {
|
||||
div[style*="background-color:#ffffff"],
|
||||
div[style*="background-color: rgb(255, 255, 255)"] {
|
||||
background-color: @base !important;
|
||||
background-color: @base !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Pins */
|
||||
|
||||
|
||||
// image container
|
||||
[data-test-id="closeup-image-main"] div div {
|
||||
background-color: @mantle !important;
|
||||
@@ -493,21 +523,21 @@
|
||||
color: var(--color-text-inverse) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// pin icons
|
||||
button[data-test-id="feedback-button"],
|
||||
div[data-test-id="share-icon-button"] {
|
||||
div div {
|
||||
background-color: @base;
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
}
|
||||
&:hover {
|
||||
background-color: @surface0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// board name to save to
|
||||
// preview / dropdown
|
||||
[data-test-id="PinBetterSaveDropdown"],
|
||||
[data-test-id="PinBetterSaveDropdown"],
|
||||
div[data-test-id="boardSelectionDropdown"] {
|
||||
.B1n {
|
||||
color: var(--color-text-light);
|
||||
@@ -637,7 +667,7 @@
|
||||
}
|
||||
|
||||
// comment bar
|
||||
div[data-test-id='comment-editor-container'] {
|
||||
div[data-test-id="comment-editor-container"] {
|
||||
color: @text !important;
|
||||
}
|
||||
div[data-test-id="inline-comment-composer-container"] {
|
||||
@@ -655,9 +685,10 @@
|
||||
div[data-test-id="more-description-container"],
|
||||
div[data-test-id="less-description-container"] {
|
||||
background-color: @base !important;
|
||||
div:first-child {
|
||||
background: linear-gradient(90deg, transparent 0%, @base 100%) !important;
|
||||
}
|
||||
div:first-child {
|
||||
background: linear-gradient(90deg, transparent 0%, @base 100%)
|
||||
!important;
|
||||
}
|
||||
}
|
||||
|
||||
div[data-test-id="truncated-text"] {
|
||||
@@ -711,8 +742,10 @@
|
||||
}
|
||||
div div {
|
||||
div[style*='background-image: url("https://s.pinimg.com/webapp/reactionHeartOutline-24ab75a6.svg")'] {
|
||||
@svg: escape('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="@{text}" d="M5.94 6c.92 0 1.83.37 2.49 1.02L12 10.5l3.57-3.48C16.23 6.37 17.13 6 18.06 6c.49 0 1.2.11 1.85.63.66.53 1.05 1.27 1.09 2.08s-.27 1.57-.86 2.15c-2.51 2.53-8 8.75-8 8.75s-5.49-6.22-8-8.75c-.59-.58-.89-1.34-.86-2.15.04-.81.43-1.55 1.09-2.08C4.73 6.11 5.45 6 5.94 6m12.12-3c-1.66 0-3.33.65-4.58 1.87L12 6.31l-1.48-1.44A6.6 6.6 0 0 0 5.94 3c-1.33 0-2.65.42-3.73 1.29-2.79 2.25-2.94 6.28-.44 8.72 0 0 6.29 7.01 8.48 9.26.47.49 1.11.73 1.75.73s1.28-.24 1.75-.73c2.19-2.25 8.48-9.26 8.48-9.26 2.5-2.43 2.35-6.47-.44-8.72C20.71 3.42 19.39 3 18.06 3"/></svg>');
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
@svg: escape(
|
||||
'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="@{text}" d="M5.94 6c.92 0 1.83.37 2.49 1.02L12 10.5l3.57-3.48C16.23 6.37 17.13 6 18.06 6c.49 0 1.2.11 1.85.63.66.53 1.05 1.27 1.09 2.08s-.27 1.57-.86 2.15c-2.51 2.53-8 8.75-8 8.75s-5.49-6.22-8-8.75c-.59-.58-.89-1.34-.86-2.15.04-.81.43-1.55 1.09-2.08C4.73 6.11 5.45 6 5.94 6m12.12-3c-1.66 0-3.33.65-4.58 1.87L12 6.31l-1.48-1.44A6.6 6.6 0 0 0 5.94 3c-1.33 0-2.65.42-3.73 1.29-2.79 2.25-2.94 6.28-.44 8.72 0 0 6.29 7.01 8.48 9.26.47.49 1.11.73 1.75.73s1.28-.24 1.75-.73c2.19-2.25 8.48-9.26 8.48-9.26 2.5-2.43 2.35-6.47-.44-8.72C20.71 3.42 19.39 3 18.06 3"/></svg>'
|
||||
);
|
||||
background-image: url("data:image/svg+xml,@{svg}") !important;
|
||||
}
|
||||
div[style*='background-image: url("https://s.pinimg.com/webapp/loveStatic-31fc2a99.svg")'] {
|
||||
@darkened-red: darken(@red, 50%);
|
||||
@@ -836,7 +869,7 @@
|
||||
color: @subtext1;
|
||||
caret-color: @text !important;
|
||||
}
|
||||
|
||||
|
||||
textarea[data-gestalt-valid-html="TextArea"] {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
@@ -887,7 +920,7 @@
|
||||
div[data-test-id="drag-behavior-container"] {
|
||||
background-color: @surface1 !important;
|
||||
}
|
||||
|
||||
|
||||
div[data-test-id="drag-behavior-container"] div div {
|
||||
border-color: @surface2 !important;
|
||||
}
|
||||
@@ -957,7 +990,7 @@
|
||||
div[data-test-id="hero-module-title"] h3 {
|
||||
color: if(@flavor = latte, @base, @text) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// today article header
|
||||
div[data-test-id="today-article-header"] {
|
||||
@@ -1081,17 +1114,20 @@
|
||||
// pin peek variant
|
||||
div[data-test-id="peek-variant-shopping-module-container"] {
|
||||
div[data-test-id="peek-variant-top-gradient"] {
|
||||
background: linear-gradient(0deg, transparent 0%, @base 100%) !important;
|
||||
background: linear-gradient(0deg, transparent 0%, @base 100%)
|
||||
!important;
|
||||
}
|
||||
|
||||
div[style*="background: linear-gradient"]:not([data-test-id="peek-variant-top-gradient"]) {
|
||||
|
||||
div[style*="background: linear-gradient"]:not(
|
||||
[data-test-id="peek-variant-top-gradient"]
|
||||
) {
|
||||
background: linear-gradient(transparent 0%, @base 100%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
// pin shopping
|
||||
div[data-testid="product-metadata-details-flex"] {
|
||||
div[style*='border-top'] {
|
||||
div[style*="border-top"] {
|
||||
border-color: @surface0 !important;
|
||||
}
|
||||
}
|
||||
@@ -1102,10 +1138,10 @@
|
||||
background: linear-gradient(@base 0%, transparent 90%) !important;
|
||||
}
|
||||
&[style*="linear-gradient(rgba(255, 255, 255, 0)"] {
|
||||
background: linear-gradient(transparent 0%, @base 90%) !important;
|
||||
background: linear-gradient(transparent 0%, @base 90%) !important;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
div[data-test-id="outline-box"] {
|
||||
box-shadow: @subtext1 0 0 0 2px inset, @base 0 0 0 4px inset !important;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user