feat: Replace deprecated sass things
- Global built-in functions - Color functions
This commit is contained in:
parent
225c1dd55c
commit
b739ddefda
13 changed files with 96 additions and 81 deletions
|
|
@ -1,3 +1,5 @@
|
|||
@use "sass:color";
|
||||
|
||||
// Grouping content
|
||||
// -----------------------------------------------------------------------------
|
||||
// p
|
||||
|
|
@ -101,12 +103,12 @@ pre {
|
|||
|
||||
.pre_code {
|
||||
overflow-x: auto;
|
||||
border-color: darken($color_back_basic, $color_diff_tiny);
|
||||
border-color: color.scale($color_back_basic, $lightness: -$color_diff_tiny);
|
||||
border-style: dotted;
|
||||
border-width: 0 0 0 $width_border_4;
|
||||
border-radius: $radius_basic;
|
||||
padding: $space_basic;
|
||||
background-color: lighten($color_back_basic, $color_diff_tiny);
|
||||
background-color: color.scale($color_back_basic, $lightness: $color_diff_tiny);
|
||||
|
||||
code {
|
||||
background-color: transparent;
|
||||
|
|
@ -274,20 +276,20 @@ div {}
|
|||
.box_placeholder {
|
||||
width: 100%;
|
||||
height: $space_medium;
|
||||
border: $width_border_4 solid transparentize($alpha_color, 0.1);
|
||||
border: $width_border_4 solid color.adjust($alpha_color, $alpha: -0.1);
|
||||
border-radius: $radius_basic;
|
||||
background-color: transparentize($alpha_color, 0.2);
|
||||
background-color: color.adjust($alpha_color, $alpha: -0.2);
|
||||
}
|
||||
|
||||
.box_placeholder_bkg {
|
||||
width: 100%;
|
||||
height: $space_medium * 2;
|
||||
border: $width_border_4 solid transparentize($color_front_basic, 0.1);
|
||||
border: $width_border_4 solid color.adjust($color_front_basic, $alpha: -0.1);
|
||||
border-radius: $radius_basic;
|
||||
padding: $space_basic;
|
||||
/*data:[<mime type>][;charset=<charset>][;base64],<encoded data>*/
|
||||
background: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='100%' height='100%'><line x1='0' y1='0' x2='100%' y2='100%' stroke='%23FFF' stroke-width='.5'/><line x1='0' y1='100%' x2='100%' y2='0' stroke='%23FFF' stroke-width='.5'/></svg>") no-repeat;
|
||||
background-color: transparentize($color_front_basic, 0.1);
|
||||
background-color: color.adjust($color_front_basic, $alpha: -0.1);
|
||||
}
|
||||
|
||||
.box_file_tile {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue