[refactor] move edge shadow to variable

This commit is contained in:
zombieFox 2019-11-13 17:26:32 +00:00
parent 7ec8de47f2
commit 5490da85bc
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,7 @@
left: 0;
opacity: 0;
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);
pointer-events: none;
transition: opacity var(--layout-timing-extra-fast);

View File

@ -166,6 +166,8 @@
--button-link-text-focus-hover: var(--theme-style-text);
--button-link-text-active: var(--theme-style-text);
--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-regular: "Open Sans Regular", sans-serif;
--font-bold: "Open Sans Bold", sans-serif;