@@ -2,7 +2,7 @@ import { Template } from "./template";
22import { html } from 'lit' ;
33
44export default {
5- title : "Elements /Background layers" ,
5+ title : "UtilitityClasses /Background layers" ,
66 description : "The background layers is a series of classes used to style background layers." ,
77 component : "BackgroundLayers" ,
88 argTypes : { } ,
@@ -24,19 +24,19 @@ const EditingContext = ({
2424 return html `
2525 < div style ="display: flex; justify-content: flex-start; position: relative; block-size: 150px; ">
2626 ${ Template ( {
27- style : "z-index: 4;" ,
27+ style : "z-index: 4; inset-inline-start: 10px; inset-block-start: 10px; " ,
2828 layer : 'elevated' ,
2929 } ) }
3030 ${ 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 ;" ,
3232 layer : 'layer2' ,
3333 } ) }
3434 ${ 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 ;" ,
3636 layer : 'layer1' ,
3737 } ) }
3838 ${ 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 ;" ,
4040 layer : "pasteboard" ,
4141 } ) }
4242 </ div >
@@ -48,15 +48,15 @@ const BrowsingContext = ({
4848 return html `
4949 < div style ="display: flex; justify-content: flex-start; position: relative; block-size: 150px; ">
5050 ${ Template ( {
51- style : "z-index: 3;" ,
51+ style : "z-index: 3; inset-inline-start: 10px; inset-block-start: 10px; " ,
5252 layer : 'elevated' ,
5353 } ) }
5454 ${ 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 ;" ,
5656 layer : 'layer1' ,
5757 } ) }
5858 ${ 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 ;" ,
6060 layer : "base" ,
6161 } ) }
6262 </ div >
0 commit comments