mirror of
https://github.com/zombieFox/nightTab.git
synced 2025-01-04 13:09:17 +01:00
[refactor] move edge shadow to variable
This commit is contained in:
parent
7ec8de47f2
commit
5490da85bc
@ -7,7 +7,7 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
border-radius: var(--theme-radius);
|
border-radius: var(--theme-radius);
|
||||||
box-shadow: inset 0 0 0 var(--layout-line-width) rgb(var(--theme-accent)), inset 0 0 0 calc(var(--layout-line-width) * 4) rgba(var(--theme-accent), 0.1), inset 0 0 0 calc(var(--layout-line-width) * 8) rgba(var(--theme-accent), 0.1);
|
box-shadow: var(--edge-shadow);
|
||||||
z-index: var(--z-index-edge);
|
z-index: var(--z-index-edge);
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
transition: opacity var(--layout-timing-extra-fast);
|
transition: opacity var(--layout-timing-extra-fast);
|
||||||
|
@ -166,6 +166,8 @@
|
|||||||
--button-link-text-focus-hover: var(--theme-style-text);
|
--button-link-text-focus-hover: var(--theme-style-text);
|
||||||
--button-link-text-active: var(--theme-style-text);
|
--button-link-text-active: var(--theme-style-text);
|
||||||
--button-link-text-disabled: var(--theme-gray-04);
|
--button-link-text-disabled: var(--theme-gray-04);
|
||||||
|
/* edge */
|
||||||
|
--edge-shadow: inset 0 0 0 var(--layout-line-width) rgb(var(--theme-accent)), inset 0 0 0 calc(var(--layout-line-width) * 4) rgba(var(--theme-accent), 0.1), inset 0 0 0 calc(var(--layout-line-width) * 8) rgba(var(--theme-accent), 0.1);
|
||||||
/* font */
|
/* font */
|
||||||
--font-regular: "Open Sans Regular", sans-serif;
|
--font-regular: "Open Sans Regular", sans-serif;
|
||||||
--font-bold: "Open Sans Bold", sans-serif;
|
--font-bold: "Open Sans Bold", sans-serif;
|
||||||
|
Loading…
Reference in New Issue
Block a user