@@ -2,7 +2,7 @@ import { Template } from "./template";
2
2
import { html } from 'lit' ;
3
3
4
4
export default {
5
- title : "Elements /Background layers" ,
5
+ title : "UtilitityClasses /Background layers" ,
6
6
description : "The background layers is a series of classes used to style background layers." ,
7
7
component : "BackgroundLayers" ,
8
8
argTypes : { } ,
@@ -24,19 +24,19 @@ const EditingContext = ({
24
24
return html `
25
25
< div style ="display: flex; justify-content: flex-start; position: relative; block-size: 150px; ">
26
26
${ Template ( {
27
- style : "z-index: 4;" ,
27
+ style : "z-index: 4; inset-inline-start: 10px; inset-block-start: 10px; " ,
28
28
layer : 'elevated' ,
29
29
} ) }
30
30
${ Template ( {
31
- style : "z-index: 3; inset-inline-start: 15px ; inset-block-start: 15px ;" ,
31
+ style : "z-index: 3; inset-inline-start: 20px ; inset-block-start: 20px ;" ,
32
32
layer : 'layer2' ,
33
33
} ) }
34
34
${ Template ( {
35
- style : "z-index: 2; inset-inline-start: 25px ; inset-block-start: 25px ;" ,
35
+ style : "z-index: 2; inset-inline-start: 30px ; inset-block-start: 30px ;" ,
36
36
layer : 'layer1' ,
37
37
} ) }
38
38
${ Template ( {
39
- style : "z-index: 1; inset-inline-start: 35px ; inset-block-start: 35px ;" ,
39
+ style : "z-index: 1; inset-inline-start: 40px ; inset-block-start: 40px ;" ,
40
40
layer : "pasteboard" ,
41
41
} ) }
42
42
</ div >
@@ -48,15 +48,15 @@ const BrowsingContext = ({
48
48
return html `
49
49
< div style ="display: flex; justify-content: flex-start; position: relative; block-size: 150px; ">
50
50
${ Template ( {
51
- style : "z-index: 3;" ,
51
+ style : "z-index: 3; inset-inline-start: 10px; inset-block-start: 10px; " ,
52
52
layer : 'elevated' ,
53
53
} ) }
54
54
${ Template ( {
55
- style : "z-index: 2; inset-inline-start: 15px ; inset-block-start: 15px ;" ,
55
+ style : "z-index: 2; inset-inline-start: 20px ; inset-block-start: 20px ;" ,
56
56
layer : 'layer1' ,
57
57
} ) }
58
58
${ Template ( {
59
- style : "z-index: 1; inset-inline-start: 25px ; inset-block-start: 25px ;" ,
59
+ style : "z-index: 1; inset-inline-start: 30px ; inset-block-start: 30px ;" ,
60
60
layer : "base" ,
61
61
} ) }
62
62
</ div >
0 commit comments