Prelim: Notebook page background styles

This commit is contained in:
Rory Fewell
2022-11-23 00:45:23 +00:00
parent 7581f3e482
commit 2d9aabd283
4 changed files with 31 additions and 7 deletions

View File

@@ -361,6 +361,13 @@ notebook
}
}
// Notebook page background (taken from Adwaita)
//
> stack:not(:only-child)
{
@include __wintc_apply_props($notebook_page_styles);
}
// Some default Adwaita stuff
//
> header
@@ -468,11 +475,4 @@ notebook
}
}
}
// The :not(:only-child) is for "hidden" notebooks
//
> stack:not(:only-child)
{
background-color: $base_color;
}
}

View File

@@ -52,6 +52,8 @@ $notebook_tab_top_selected_hover_styles: ();
//
$notebook_styles: ();
$notebook_page_styles: ();
$notebook_frame_header_styles: ();
$notebook_frame_header_bottom_styles: ();

View File

@@ -177,3 +177,14 @@ $notebook_styles:
undefined,
default
);
$notebook_page_styles:
wintc_define_props_bg(
$notebook_page_styles,
false,
undefined,
undefined,
undefined,
undefined,
linear-gradient(180deg, rgba(252,252,254,1) 0%, rgba(244,243,238,1) 100%)
);

View File

@@ -223,3 +223,14 @@ $notebook_styles:
undefined,
default
);
$notebook_page_styles:
wintc_define_props_bg(
$notebook_page_styles,
false,
#F3F3EF,
undefined,
undefined,
undefined,
undefined
);