Move gradients to variables file

This commit is contained in:
Ferit Yiğit BALABAN
2022-07-22 00:22:46 +03:00
parent 24ecffe49a
commit 8a2c5826bb
2 changed files with 4 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ html, body {
.dropdown {
position: fixed;
z-index: 2;
background: linear-gradient(to left bottom, variables.$clr_brand, #003e86);
background: variables.$cg_drawer;
width: 100%;
height: 90vh;
-webkit-animation: drawer-open 550ms;
@@ -79,7 +79,7 @@ html, body {
.dropdown-nav-item {
position: relative;
margin-top: math.div(variables.$px_horizontalPadding, 4);
background: linear-gradient(#FFFFFF, #adf0ff);
background: variables.$cg_drawer_navitem;
-webkit-background-clip: text;
//noinspection CssInvalidPropertyValue
background-clip: text;

View File

@@ -24,6 +24,8 @@ $sz_s_footer_p: 8px;
$clr_dark: #01003B;
$clr_brand: #1d60b5;
$clr_brand_gradient: linear-gradient(to left, $clr_brand, #3b8fff);
$cg_drawer: linear-gradient(to left bottom, $clr_brand, #003e86);
$cg_drawer_navitem: linear-gradient(#FFFFFF, #adf0ff);
$clr_logo: #FDFFFF;
$clr_header: #FDFFFF;